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

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 (283) hide show
  1. package/CHANGELOG.md +42 -4
  2. package/dist/client.d.ts +4 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +4 -0
  5. package/dist/client.js.map +1 -1
  6. package/dist/gen/ai/v1/assistant_pb.d.ts +82 -4
  7. package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
  8. package/dist/gen/ai/v1/assistant_pb.js +66 -10
  9. package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
  10. package/dist/gen/auth/v1/api_keys_pb.d.ts +4 -4
  11. package/dist/gen/auth/v1/api_keys_pb.js +4 -4
  12. package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
  13. package/dist/gen/auth/v1/auth_pb.d.ts +26 -1
  14. package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
  15. package/dist/gen/auth/v1/auth_pb.js +18 -1
  16. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  17. package/dist/gen/auth/v1/policies_pb.d.ts +18 -1
  18. package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
  19. package/dist/gen/auth/v1/policies_pb.js +18 -1
  20. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  21. package/dist/gen/auth/v1/profile_pb.d.ts +7 -11
  22. package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -1
  23. package/dist/gen/auth/v1/profile_pb.js +1 -1
  24. package/dist/gen/auth/v1/profile_pb.js.map +1 -1
  25. package/dist/gen/auth/v1/social_verification_pb.d.ts +44 -10
  26. package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
  27. package/dist/gen/auth/v1/social_verification_pb.js +1 -1
  28. package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
  29. package/dist/gen/auth/v1/subaccounts_pb.d.ts +17 -1
  30. package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
  31. package/dist/gen/auth/v1/subaccounts_pb.js +15 -1
  32. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  33. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +228 -38
  34. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
  35. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +34 -10
  36. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
  37. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +12 -0
  38. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
  39. package/dist/gen/chain/lifecycle/v1/types_pb.js +13 -1
  40. package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
  41. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +6 -3
  42. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
  43. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
  44. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +10 -1
  45. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  46. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +10 -1
  47. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  48. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +10 -6
  49. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts.map +1 -1
  50. package/dist/gen/chain/zipper/v1/zipper_pb.js +2 -2
  51. package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
  52. package/dist/gen/index.d.ts +3 -1
  53. package/dist/gen/index.js +4 -2
  54. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +57 -16
  55. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
  56. package/dist/gen/ledger/read/v1/ledger_read_pb.js +32 -1
  57. package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
  58. package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +424 -0
  59. package/dist/gen/ledger/read/v1/statement_export_pb.d.ts.map +1 -0
  60. package/dist/gen/ledger/read/v1/statement_export_pb.js +154 -0
  61. package/dist/gen/ledger/read/v1/statement_export_pb.js.map +1 -0
  62. package/dist/gen/orders/v1/orders_pb.d.ts +28 -4
  63. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  64. package/dist/gen/orders/v1/orders_pb.js +1 -1
  65. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  66. package/dist/gen/orders/v1/orders_read_pb.d.ts +2 -1
  67. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  68. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  69. package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +12 -7
  70. package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -1
  71. package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
  72. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +22 -10
  73. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  74. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +4 -2
  75. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  76. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +47 -11
  77. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  78. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +35 -6
  79. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  80. package/dist/gen/transfer/v1/dust_conversion_pb.d.ts +741 -0
  81. package/dist/gen/transfer/v1/dust_conversion_pb.d.ts.map +1 -0
  82. package/dist/gen/transfer/v1/dust_conversion_pb.js +235 -0
  83. package/dist/gen/transfer/v1/dust_conversion_pb.js.map +1 -0
  84. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +367 -3
  85. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
  86. package/dist/gen/transfer/v1/internal_transfer_pb.js +166 -4
  87. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  88. package/dist/gen/triggers/v1/triggers_pb.d.ts +10 -5
  89. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  90. package/dist/gen/triggers/v1/triggers_pb.js +4 -2
  91. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  92. package/dist/index.d.ts +13 -7
  93. package/dist/services/address-book/address-book.schemas.d.ts +2 -2
  94. package/dist/services/assistant/assistant-events.schemas.d.ts +66 -66
  95. package/dist/services/assistant/assistant.codecs.d.ts +7 -1
  96. package/dist/services/assistant/assistant.codecs.d.ts.map +1 -1
  97. package/dist/services/assistant/assistant.codecs.js +5 -1
  98. package/dist/services/assistant/assistant.codecs.js.map +1 -1
  99. package/dist/services/assistant/assistant.d.ts +4 -3
  100. package/dist/services/assistant/assistant.d.ts.map +1 -1
  101. package/dist/services/assistant/assistant.js +6 -4
  102. package/dist/services/assistant/assistant.js.map +1 -1
  103. package/dist/services/assistant/assistant.schemas.d.ts +40 -3
  104. package/dist/services/assistant/assistant.schemas.d.ts.map +1 -1
  105. package/dist/services/assistant/assistant.schemas.js +18 -4
  106. package/dist/services/assistant/assistant.schemas.js.map +1 -1
  107. package/dist/services/assistant/assistant.types.d.ts +3 -3
  108. package/dist/services/auth/profile/profile.d.ts +1 -1
  109. package/dist/services/auth/profile/profile.js +1 -1
  110. package/dist/services/auth/profile/profile.js.map +1 -1
  111. package/dist/services/auth/profile/profile.schemas.d.ts +0 -1
  112. package/dist/services/auth/profile/profile.schemas.d.ts.map +1 -1
  113. package/dist/services/auth/profile/profile.schemas.js +0 -1
  114. package/dist/services/auth/profile/profile.schemas.js.map +1 -1
  115. package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +3 -1
  116. package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
  117. package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
  118. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
  119. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
  120. package/dist/services/balances/balances.d.ts +4 -3
  121. package/dist/services/balances/balances.d.ts.map +1 -1
  122. package/dist/services/balances/balances.js +12 -4
  123. package/dist/services/balances/balances.js.map +1 -1
  124. package/dist/services/balances/balances.schemas.d.ts +30 -5
  125. package/dist/services/balances/balances.schemas.d.ts.map +1 -1
  126. package/dist/services/balances/balances.schemas.js +6 -10
  127. package/dist/services/balances/balances.schemas.js.map +1 -1
  128. package/dist/services/balances/balances.types.d.ts +2 -2
  129. package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
  130. package/dist/services/claims/claims.schemas.js +1 -1
  131. package/dist/services/dust-conversion/dust-conversion.codecs.d.ts +22 -0
  132. package/dist/services/dust-conversion/dust-conversion.codecs.d.ts.map +1 -0
  133. package/dist/services/dust-conversion/dust-conversion.codecs.js +22 -0
  134. package/dist/services/dust-conversion/dust-conversion.codecs.js.map +1 -0
  135. package/dist/services/dust-conversion/dust-conversion.d.ts +59 -0
  136. package/dist/services/dust-conversion/dust-conversion.d.ts.map +1 -0
  137. package/dist/services/dust-conversion/dust-conversion.js +87 -0
  138. package/dist/services/dust-conversion/dust-conversion.js.map +1 -0
  139. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +561 -0
  140. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts.map +1 -0
  141. package/dist/services/dust-conversion/dust-conversion.schemas.js +190 -0
  142. package/dist/services/dust-conversion/dust-conversion.schemas.js.map +1 -0
  143. package/dist/services/dust-conversion/dust-conversion.types.d.ts +3 -0
  144. package/dist/services/dust-conversion/service.d.ts +8 -0
  145. package/dist/services/dust-conversion/service.d.ts.map +1 -0
  146. package/dist/services/dust-conversion/service.js +9 -0
  147. package/dist/services/dust-conversion/service.js.map +1 -0
  148. package/dist/services/heatmap/heatmap.schemas.d.ts +3 -3
  149. package/dist/services/internal-transfers/internal-transfers.codecs.d.ts +13 -1
  150. package/dist/services/internal-transfers/internal-transfers.codecs.d.ts.map +1 -1
  151. package/dist/services/internal-transfers/internal-transfers.codecs.js +22 -2
  152. package/dist/services/internal-transfers/internal-transfers.codecs.js.map +1 -1
  153. package/dist/services/internal-transfers/internal-transfers.d.ts +14 -2
  154. package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
  155. package/dist/services/internal-transfers/internal-transfers.js +29 -3
  156. package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
  157. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +265 -5
  158. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
  159. package/dist/services/internal-transfers/internal-transfers.schemas.js +63 -5
  160. package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
  161. package/dist/services/internal-transfers/internal-transfers.types.d.ts +3 -3
  162. package/dist/services/lifecycle/lifecycle.codecs.d.ts +1 -1
  163. package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
  164. package/dist/services/lifecycle/lifecycle.codecs.js +1 -0
  165. package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
  166. package/dist/services/lifecycle/lifecycle.d.ts +26 -8
  167. package/dist/services/lifecycle/lifecycle.d.ts.map +1 -1
  168. package/dist/services/lifecycle/lifecycle.js +39 -7
  169. package/dist/services/lifecycle/lifecycle.js.map +1 -1
  170. package/dist/services/lifecycle/lifecycle.schemas.d.ts +160 -136
  171. package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
  172. package/dist/services/lifecycle/lifecycle.schemas.js +44 -45
  173. package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
  174. package/dist/services/lifecycle/lifecycle.types.d.ts +2 -2
  175. package/dist/services/lifecycle/service.js +1 -1
  176. package/dist/services/lifecycle/service.js.map +1 -1
  177. package/dist/services/orderbook/orderbook.d.ts.map +1 -1
  178. package/dist/services/orderbook/orderbook.js +2 -1
  179. package/dist/services/orderbook/orderbook.js.map +1 -1
  180. package/dist/services/orderbook/orderbook.schemas.d.ts +10 -0
  181. package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
  182. package/dist/services/orderbook/orderbook.schemas.js +4 -1
  183. package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
  184. package/dist/services/orders/order-errors.schemas.d.ts +11 -1
  185. package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
  186. package/dist/services/orders/order-errors.schemas.js +11 -1
  187. package/dist/services/orders/order-errors.schemas.js.map +1 -1
  188. package/dist/services/orders/orders-batch.schemas.d.ts +67 -27
  189. package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
  190. package/dist/services/orders/orders-identifiers.schemas.js +2 -1
  191. package/dist/services/orders/orders-identifiers.schemas.js.map +1 -1
  192. package/dist/services/orders/orders-input.schemas.d.ts +11 -4
  193. package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
  194. package/dist/services/orders/orders-input.schemas.js +1 -0
  195. package/dist/services/orders/orders-input.schemas.js.map +1 -1
  196. package/dist/services/orders/orders-output.schemas.d.ts +17 -17
  197. package/dist/services/orders/orders-output.schemas.js +1 -1
  198. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
  199. package/dist/services/policies/shared.codecs.js +9 -3
  200. package/dist/services/policies/shared.codecs.js.map +1 -1
  201. package/dist/services/policies/shared.d.ts +1 -1
  202. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +5 -5
  203. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
  204. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +2 -3
  205. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
  206. package/dist/services/price-alerts/price-alerts.schemas.d.ts +10 -10
  207. package/dist/services/rate-limits/rate-limits.d.ts +4 -1
  208. package/dist/services/rate-limits/rate-limits.d.ts.map +1 -1
  209. package/dist/services/rate-limits/rate-limits.js +4 -1
  210. package/dist/services/rate-limits/rate-limits.js.map +1 -1
  211. package/dist/services/rate-limits/rate-limits.schemas.d.ts +1 -0
  212. package/dist/services/rate-limits/rate-limits.schemas.d.ts.map +1 -1
  213. package/dist/services/rate-limits/rate-limits.schemas.js +1 -0
  214. package/dist/services/rate-limits/rate-limits.schemas.js.map +1 -1
  215. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  216. package/dist/services/social-verification/social-verification.codecs.js +6 -2
  217. package/dist/services/social-verification/social-verification.codecs.js.map +1 -1
  218. package/dist/services/social-verification/social-verification.d.ts +14 -3
  219. package/dist/services/social-verification/social-verification.d.ts.map +1 -1
  220. package/dist/services/social-verification/social-verification.js +14 -3
  221. package/dist/services/social-verification/social-verification.js.map +1 -1
  222. package/dist/services/social-verification/social-verification.schemas.d.ts +13 -3
  223. package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
  224. package/dist/services/social-verification/social-verification.schemas.js +12 -4
  225. package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
  226. package/dist/services/statement-exports/service.d.ts +8 -0
  227. package/dist/services/statement-exports/service.d.ts.map +1 -0
  228. package/dist/services/statement-exports/service.js +9 -0
  229. package/dist/services/statement-exports/service.js.map +1 -0
  230. package/dist/services/statement-exports/statement-exports.codecs.d.ts +17 -0
  231. package/dist/services/statement-exports/statement-exports.codecs.d.ts.map +1 -0
  232. package/dist/services/statement-exports/statement-exports.codecs.js +19 -0
  233. package/dist/services/statement-exports/statement-exports.codecs.js.map +1 -0
  234. package/dist/services/statement-exports/statement-exports.d.ts +34 -0
  235. package/dist/services/statement-exports/statement-exports.d.ts.map +1 -0
  236. package/dist/services/statement-exports/statement-exports.js +53 -0
  237. package/dist/services/statement-exports/statement-exports.js.map +1 -0
  238. package/dist/services/statement-exports/statement-exports.schemas.d.ts +269 -0
  239. package/dist/services/statement-exports/statement-exports.schemas.d.ts.map +1 -0
  240. package/dist/services/statement-exports/statement-exports.schemas.js +98 -0
  241. package/dist/services/statement-exports/statement-exports.schemas.js.map +1 -0
  242. package/dist/services/statement-exports/statement-exports.types.d.ts +3 -0
  243. package/dist/services/subaccounts/subaccounts.codecs.js +3 -1
  244. package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
  245. package/dist/services/subaccounts/subaccounts.schemas.d.ts +22 -22
  246. package/dist/services/system/system.schemas.d.ts +7 -7
  247. package/dist/services/trades/trades.schemas.d.ts +2 -2
  248. package/dist/services/trades/trades.schemas.js +1 -1
  249. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
  250. package/dist/services/transfers/transfers.schemas.js +1 -1
  251. package/dist/services/triggers/trigger-input.schemas.d.ts +5 -4
  252. package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
  253. package/dist/services/triggers/trigger-input.schemas.js +2 -2
  254. package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
  255. package/dist/services/triggers/triggers-output.schemas.d.ts +45 -35
  256. package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
  257. package/dist/services/zipper/zipper.schemas.d.ts.map +1 -1
  258. package/dist/services/zipper/zipper.schemas.js +10 -0
  259. package/dist/services/zipper/zipper.schemas.js.map +1 -1
  260. package/dist/shared/account-scope.js +4 -1
  261. package/dist/shared/account-scope.js.map +1 -1
  262. package/dist/shared/connect-error-mapping.d.ts.map +1 -1
  263. package/dist/shared/connect-error-mapping.js +3 -0
  264. package/dist/shared/connect-error-mapping.js.map +1 -1
  265. package/dist/shared/decimal-surface.d.ts.map +1 -1
  266. package/dist/shared/decimal-surface.js +4 -1
  267. package/dist/shared/decimal-surface.js.map +1 -1
  268. package/dist/shared/error-detail.d.ts +5 -0
  269. package/dist/shared/error-detail.d.ts.map +1 -1
  270. package/dist/shared/error-detail.js.map +1 -1
  271. package/dist/shared/error-details/auth.js +7 -2
  272. package/dist/shared/error-details/auth.js.map +1 -1
  273. package/dist/shared/error-details/withdraw.js +1 -1
  274. package/dist/shared/schemas.js +2 -2
  275. package/dist/shared/schemas.js.map +1 -1
  276. package/dist/utils/numbers.js +1 -10
  277. package/dist/utils/numbers.js.map +1 -1
  278. package/dist/utils/u128.js +1 -1
  279. package/dist/utils/u128.js.map +1 -1
  280. package/dist/wired-services.d.ts.map +1 -1
  281. package/dist/wired-services.js +5 -1
  282. package/dist/wired-services.js.map +1 -1
  283. package/package.json +1 -1
@@ -657,10 +657,10 @@ declare enum AssistantKeyPreset {
657
657
  /**
658
658
  * Read actions only: READ_BALANCES, READ_SPOT, READ_INTERNAL_TRANSFERS,
659
659
  * READ_AUTO_WITHDRAW, READ_API_KEYS, READ_SUBACCOUNTS,
660
- * READ_DEPOSIT_ADDRESSES and READ_STATEMENTS. On the main account, also
661
- * READ_PRICE_ALERTS, a main-account permission. Policy name "Polyester AI -
662
- * Read only (main account)" on the main account, "Polyester AI - Read only
663
- * (sub-account)" on a sub-account.
660
+ * READ_DEPOSIT_ADDRESSES, READ_STATEMENTS and READ_FUNDING_FLOWS. On the
661
+ * main account, also READ_PRICE_ALERTS, a main-account permission. Policy
662
+ * name "Polyester AI - Read only (main account)" on the main account,
663
+ * "Polyester AI - Read only (sub-account)" on a sub-account.
664
664
  *
665
665
  * @generated from enum value: READ_ONLY = 1;
666
666
  */
@@ -226,10 +226,10 @@ let AssistantKeyPreset = /* @__PURE__ */ function(AssistantKeyPreset) {
226
226
  /**
227
227
  * Read actions only: READ_BALANCES, READ_SPOT, READ_INTERNAL_TRANSFERS,
228
228
  * READ_AUTO_WITHDRAW, READ_API_KEYS, READ_SUBACCOUNTS,
229
- * READ_DEPOSIT_ADDRESSES and READ_STATEMENTS. On the main account, also
230
- * READ_PRICE_ALERTS, a main-account permission. Policy name "Polyester AI -
231
- * Read only (main account)" on the main account, "Polyester AI - Read only
232
- * (sub-account)" on a sub-account.
229
+ * READ_DEPOSIT_ADDRESSES, READ_STATEMENTS and READ_FUNDING_FLOWS. On the
230
+ * main account, also READ_PRICE_ALERTS, a main-account permission. Policy
231
+ * name "Polyester AI - Read only (main account)" on the main account,
232
+ * "Polyester AI - Read only (sub-account)" on a sub-account.
233
233
  *
234
234
  * @generated from enum value: READ_ONLY = 1;
235
235
  */
@@ -1 +1 @@
1
- {"version":3,"file":"api_keys_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/api_keys_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/api_keys.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/api_keys.proto.\n */\nexport const file_auth_v1_api_keys: GenFile = /*@__PURE__*/\n fileDesc(\"ChZhdXRoL3YxL2FwaV9rZXlzLnByb3RvEgdhdXRoLnYxIpAECgZBcGlLZXkSEAoGa2V5X2lkGAIgASgJQgASDQoFbGFiZWwYAyABKAkSDgoEaWNvbhgJIAEoCUIAEg8KBWNvbG9yGAogASgJQgASFgoMaXBfd2hpdGVsaXN0GAQgAygJQgASJQoGc3RhdHVzGAYgASgOMhUuYXV0aC52MS5BcGlLZXlTdGF0dXMSGgoNc3ViYWNjb3VudF9pZBgHIAEoBkgAiAEBEhYKCXBvbGljeV9pZBgIIAEoBkgBiAEBEi4KCmNyZWF0ZWRfYXQYFCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjAKDGxhc3RfdXNlZF9hdBgVIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi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lNldEFzc2lzdGFudEtleXNSZXF1ZXN0GiEuYXV0aC52MS5TZXRBc3Npc3RhbnRLZXlzUmVzcG9uc2UiABJcChFMaXN0QXNzaXN0YW50S2V5cxIhLmF1dGgudjEuTGlzdEFzc2lzdGFudEtleXNSZXF1ZXN0GiIuYXV0aC52MS5MaXN0QXNzaXN0YW50S2V5c1Jlc3BvbnNlIgASYgoTRGVsZXRlQXNzaXN0YW50S2V5cxIjLmF1dGgudjEuRGVsZXRlQXNzaXN0YW50S2V5c1JlcXVlc3QaJC5hdXRoLnYxLkRlbGV0ZUFzc2lzdGFudEtleXNSZXNwb25zZSIAGgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z\", [file_google_protobuf_field_mask, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * ApiKey is public API key metadata. It never includes the private key or seed.\n *\n * @generated from message auth.v1.ApiKey\n */\nexport type ApiKey = Message<\"auth.v1.ApiKey\"> & {\n /**\n * Stable opaque identifier used to refer to this key, formatted as \"ak_\"\n * followed by 32 lowercase hex characters.\n *\n * @generated from field: string key_id = 2;\n */\n keyId: string;\n\n /**\n * Human-readable label for the key. Maximum length is 64 characters.\n *\n * @generated from field: string label = 3;\n */\n label: string;\n\n /**\n * Optional user-chosen icon/emoji for UI display.\n *\n * @generated from field: string icon = 9;\n */\n icon: string;\n\n /**\n * Optional user-chosen color token for UI display.\n *\n * @generated from field: string color = 10;\n */\n color: string;\n\n /**\n * Optional CIDR whitelist. Empty means no IP restriction. Maximum 32 unique\n * entries.\n *\n * @generated from field: repeated string ip_whitelist = 4;\n */\n ipWhitelist: string[];\n\n /**\n * Current key status.\n *\n * @generated from field: auth.v1.ApiKeyStatus status = 6;\n */\n status: ApiKeyStatus;\n\n /**\n * Optional sub-account this key is scoped to (opaque ID; empty = root-level).\n *\n * @generated from field: optional fixed64 subaccount_id = 7;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional API policy attached to this key (opaque ID).\n * Empty means no policy is attached and the key has no permissions.\n *\n * @generated from field: optional fixed64 policy_id = 8;\n */\n policyId?: bigint | undefined;\n\n /**\n * Time in UTC when this key was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 20;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Approximate last time in UTC when this key authenticated a request,\n * recorded at most about once a minute; it may lag recent use by a few\n * minutes. Omitted when no use has been recorded.\n *\n * @generated from field: google.protobuf.Timestamp last_used_at = 21;\n */\n lastUsedAt?: Timestamp | undefined;\n\n /**\n * Ed25519 public key bytes associated with this API key. The private key or\n * seed is never returned by the API.\n *\n * @generated from field: bytes public_key_ed25519 = 22;\n */\n publicKeyEd25519: Uint8Array;\n\n /**\n * Optional expiry time in UTC. When set, the key cannot authenticate requests\n * after this time, regardless of status.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 23;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Read-only actor label describing who created this key, such as a username\n * or account label.\n *\n * @generated from field: string created_by_actor = 24;\n */\n createdByActor: string;\n\n /**\n * Time in UTC when this key's configuration was last changed. For the same\n * key, later is fresher, equal is an idempotent replay, and earlier is stale.\n * Equal timestamps with different configuration indicate an invariant failure.\n * This is independent of last_used_at, which tracks authentication activity.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 25;\n */\n updatedAt?: Timestamp | undefined;\n\n /**\n * Monotonic resource revision used for conditional updates.\n *\n * @generated from field: uint64 revision = 26;\n */\n revision: bigint;\n\n /**\n * What the key is for. ASSISTANT keys are managed with SetAssistantKeys and\n * are otherwise listed, updated and revoked like any key.\n *\n * @generated from field: auth.v1.ApiKeyPurpose purpose = 27;\n */\n purpose: ApiKeyPurpose;\n};\n\n/**\n * Describes the message auth.v1.ApiKey.\n * Use `create(ApiKeySchema)` to create a new message.\n */\nexport const ApiKeySchema: GenMessage<ApiKey> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 0);\n\n/**\n * CreateApiKeyRequest creates a new API key. Clients generate the Ed25519 key\n * pair locally and submit only the public key.\n *\n * @generated from message auth.v1.CreateApiKeyRequest\n */\nexport type CreateApiKeyRequest = Message<\"auth.v1.CreateApiKeyRequest\"> & {\n /**\n * Human-readable label for the key. Required; 1 to 64 characters, and must\n * not contain '<' or '>'.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n\n /**\n * Optional sub-account to scope this key to (opaque ID). If unset, the key is\n * root-level.\n *\n * @generated from field: optional fixed64 subaccount_id = 3;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional user-chosen icon/emoji for UI display.\n *\n * @generated from field: string icon = 6;\n */\n icon: string;\n\n /**\n * Optional user-chosen color token for UI display.\n *\n * @generated from field: string color = 7;\n */\n color: string;\n\n /**\n * Optional CIDR whitelist. Empty means no IP restriction. Maximum 32 unique\n * entries.\n *\n * @generated from field: repeated string ip_whitelist = 4;\n */\n ipWhitelist: string[];\n\n /**\n * Ed25519 public key bytes. Must be exactly 32 bytes. The private key or seed\n * must never be sent to the API.\n *\n * @generated from field: bytes public_key_ed25519 = 5;\n */\n publicKeyEd25519: Uint8Array;\n};\n\n/**\n * Describes the message auth.v1.CreateApiKeyRequest.\n * Use `create(CreateApiKeyRequestSchema)` to create a new message.\n */\nexport const CreateApiKeyRequestSchema: GenMessage<CreateApiKeyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 1);\n\n/**\n * CreateApiKeyResponse returns the created API key metadata.\n *\n * @generated from message auth.v1.CreateApiKeyResponse\n */\nexport type CreateApiKeyResponse = Message<\"auth.v1.CreateApiKeyResponse\"> & {\n /**\n * Created API key metadata. The private key or seed is never returned.\n *\n * @generated from field: auth.v1.ApiKey api_key = 1;\n */\n apiKey?: ApiKey | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateApiKeyResponse.\n * Use `create(CreateApiKeyResponseSchema)` to create a new message.\n */\nexport const CreateApiKeyResponseSchema: GenMessage<CreateApiKeyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 2);\n\n/**\n * ListApiKeysRequest lists non-revoked API keys visible to the caller.\n *\n * @generated from message auth.v1.ListApiKeysRequest\n */\nexport type ListApiKeysRequest = Message<\"auth.v1.ListApiKeysRequest\"> & {\n /**\n * Optional filter: only keys scoped to this sub-account (opaque ID). The\n * caller must own or administer the sub-account. If unset, only non-revoked\n * keys owned by the caller 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.ListApiKeysRequest.\n * Use `create(ListApiKeysRequestSchema)` to create a new message.\n */\nexport const ListApiKeysRequestSchema: GenMessage<ListApiKeysRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 3);\n\n/**\n * ListApiKeysResponse contains matching API keys, newest first by creation time.\n *\n * @generated from message auth.v1.ListApiKeysResponse\n */\nexport type ListApiKeysResponse = Message<\"auth.v1.ListApiKeysResponse\"> & {\n /**\n * Matching API keys, newest first. Revoked keys are excluded.\n *\n * @generated from field: repeated auth.v1.ApiKey api_keys = 1;\n */\n apiKeys: ApiKey[];\n};\n\n/**\n * Describes the message auth.v1.ListApiKeysResponse.\n * Use `create(ListApiKeysResponseSchema)` to create a new message.\n */\nexport const ListApiKeysResponseSchema: GenMessage<ListApiKeysResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 4);\n\n/**\n * DeleteApiKeyRequest permanently revokes an API key.\n *\n * @generated from message auth.v1.DeleteApiKeyRequest\n */\nexport type DeleteApiKeyRequest = Message<\"auth.v1.DeleteApiKeyRequest\"> & {\n /**\n * Opaque API key identifier (e.g. \"ak_<hex>\"). This is the stable public\n * handle for a key.\n *\n * @generated from field: string key_id = 1;\n */\n keyId: string;\n};\n\n/**\n * Describes the message auth.v1.DeleteApiKeyRequest.\n * Use `create(DeleteApiKeyRequestSchema)` to create a new message.\n */\nexport const DeleteApiKeyRequestSchema: GenMessage<DeleteApiKeyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 5);\n\n/**\n * DeleteApiKeyResponse is empty when revocation succeeds.\n *\n * @generated from message auth.v1.DeleteApiKeyResponse\n */\nexport type DeleteApiKeyResponse = Message<\"auth.v1.DeleteApiKeyResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.DeleteApiKeyResponse.\n * Use `create(DeleteApiKeyResponseSchema)` to create a new message.\n */\nexport const DeleteApiKeyResponseSchema: GenMessage<DeleteApiKeyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 6);\n\n/**\n * GetApiKeyRequest returns one API key visible to its owner or a sub-account admin.\n *\n * @generated from message auth.v1.GetApiKeyRequest\n */\nexport type GetApiKeyRequest = Message<\"auth.v1.GetApiKeyRequest\"> & {\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/**\n * Describes the message auth.v1.GetApiKeyRequest.\n * Use `create(GetApiKeyRequestSchema)` to create a new message.\n */\nexport const GetApiKeyRequestSchema: GenMessage<GetApiKeyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 7);\n\n/**\n * GetApiKeyResponse returns one API key visible to the caller.\n *\n * @generated from message auth.v1.GetApiKeyResponse\n */\nexport type GetApiKeyResponse = Message<\"auth.v1.GetApiKeyResponse\"> & {\n /**\n * Matching API key metadata.\n *\n * @generated from field: auth.v1.ApiKey api_key = 1;\n */\n apiKey?: ApiKey | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetApiKeyResponse.\n * Use `create(GetApiKeyResponseSchema)` to create a new message.\n */\nexport const GetApiKeyResponseSchema: GenMessage<GetApiKeyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 8);\n\n/**\n * ApiKeyUpdateSpec contains mutable API key configuration.\n *\n * @generated from message auth.v1.ApiKeyUpdateSpec\n */\nexport type ApiKeyUpdateSpec = Message<\"auth.v1.ApiKeyUpdateSpec\"> & {\n /**\n * Human-friendly label for the key. Empty clears the label when selected.\n * Must not contain '<' or '>'.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n\n /**\n * User-chosen icon/emoji for UI display. Empty clears the icon when selected.\n *\n * @generated from field: string icon = 2;\n */\n icon: string;\n\n /**\n * User-chosen color token for UI display. Empty clears the color when selected.\n *\n * @generated from field: string color = 3;\n */\n color: string;\n\n /**\n * New status. ACTIVE and DISABLED are allowed; revocation uses DeleteApiKey.\n *\n * @generated from field: auth.v1.ApiKeyStatus status = 4;\n */\n status: ApiKeyStatus;\n\n /**\n * Complete replacement IP whitelist. Empty clears the restriction when selected.\n *\n * @generated from field: repeated string ip_whitelist = 5;\n */\n ipWhitelist: string[];\n\n /**\n * Expiry time in UTC. When selected, omission or the epoch clears expiry.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 6;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.ApiKeyUpdateSpec.\n * Use `create(ApiKeyUpdateSpecSchema)` to create a new message.\n */\nexport const ApiKeyUpdateSpecSchema: GenMessage<ApiKeyUpdateSpec> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 9);\n\n/**\n * UpdateApiKeyRequest changes selected mutable fields on an existing API key.\n *\n * @generated from message auth.v1.UpdateApiKeyRequest\n */\nexport type UpdateApiKeyRequest = Message<\"auth.v1.UpdateApiKeyRequest\"> & {\n /**\n * Opaque API key identifier to update.\n *\n * @generated from field: string key_id = 1;\n */\n keyId: string;\n\n /**\n * Candidate values for fields selected by update_mask.\n *\n * @generated from field: auth.v1.ApiKeyUpdateSpec api_key = 2;\n */\n apiKey?: ApiKeyUpdateSpec | undefined;\n\n /**\n * Mutable fields to apply. Paths are relative to api_key. 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.\n *\n * @generated from field: uint64 expected_revision = 4;\n */\n expectedRevision: bigint;\n};\n\n/**\n * Describes the message auth.v1.UpdateApiKeyRequest.\n * Use `create(UpdateApiKeyRequestSchema)` to create a new message.\n */\nexport const UpdateApiKeyRequestSchema: GenMessage<UpdateApiKeyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 10);\n\n/**\n * UpdateApiKeyResponse returns the API key after applying the update.\n *\n * @generated from message auth.v1.UpdateApiKeyResponse\n */\nexport type UpdateApiKeyResponse = Message<\"auth.v1.UpdateApiKeyResponse\"> & {\n /**\n * Updated API key metadata.\n *\n * @generated from field: auth.v1.ApiKey api_key = 1;\n */\n apiKey?: ApiKey | undefined;\n};\n\n/**\n * Describes the message auth.v1.UpdateApiKeyResponse.\n * Use `create(UpdateApiKeyResponseSchema)` to create a new message.\n */\nexport const UpdateApiKeyResponseSchema: GenMessage<UpdateApiKeyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 11);\n\n/**\n * AssistantKeySpec is one account's key in the caller's assistant key set.\n *\n * @generated from message auth.v1.AssistantKeySpec\n */\nexport type AssistantKeySpec = Message<\"auth.v1.AssistantKeySpec\"> & {\n /**\n * Sub-account the key acts for (opaque ID). Unset means the caller's main\n * account. A key acts for exactly one account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Ed25519 public key bytes the Polyester AI assistant signs with. Must be\n * exactly 32 bytes, and distinct within the set.\n *\n * @generated from field: bytes public_key_ed25519 = 2;\n */\n publicKeyEd25519: Uint8Array;\n\n /**\n * API policy that bounds the key (opaque ID). It must belong to the same\n * main account as the key, and must not allow EXTERNAL_WITHDRAW,\n * INTERNAL_TRANSFER, MANAGE_ADDRESS_BOOK or MANAGE_AUTO_WITHDRAW. Set\n * exactly one of policy_id and preset.\n *\n * @generated from field: fixed64 policy_id = 3;\n */\n policyId: bigint;\n\n /**\n * Time until which the key may be registered, as the Polyester AI assistant\n * issued it with the key (PrepareAssistantKeys), in whole milliseconds.\n * Required for a new key: it must still be ahead, and at most 15 minutes\n * ahead. Not needed when the account's current assistant key already has\n * this public key.\n *\n * @generated from field: google.protobuf.Timestamp registration_deadline = 4;\n */\n registrationDeadline?: Timestamp | undefined;\n\n /**\n * The key's own Ed25519 signature over the caller's account, the key's\n * account, its public key and registration_deadline, as the assistant\n * issued it with the key (64 bytes). Required for a new key; not needed\n * when the account's current assistant key already has this public key.\n *\n * @generated from field: bytes registration_proof = 5;\n */\n registrationProof: Uint8Array;\n\n /**\n * Permission preset that bounds the key, instead of policy_id. The key is\n * bound to the preset's policy in the key's main account: the existing one\n * with the preset's name and exactly its actions over all markets, else one\n * created in the same change. The response's policy_id names it. Set\n * exactly one of policy_id and preset.\n *\n * @generated from field: auth.v1.AssistantKeyPreset preset = 6;\n */\n preset: AssistantKeyPreset;\n};\n\n/**\n * Describes the message auth.v1.AssistantKeySpec.\n * Use `create(AssistantKeySpecSchema)` to create a new message.\n */\nexport const AssistantKeySpecSchema: GenMessage<AssistantKeySpec> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 12);\n\n/**\n * SetAssistantKeysRequest replaces the caller's assistant key set.\n *\n * @generated from message auth.v1.SetAssistantKeysRequest\n */\nexport type SetAssistantKeysRequest = Message<\"auth.v1.SetAssistantKeysRequest\"> & {\n /**\n * The complete set, at most one key per account and at most 64 keys. An\n * account left out loses its assistant key.\n *\n * @generated from field: repeated auth.v1.AssistantKeySpec keys = 1;\n */\n keys: AssistantKeySpec[];\n};\n\n/**\n * Describes the message auth.v1.SetAssistantKeysRequest.\n * Use `create(SetAssistantKeysRequestSchema)` to create a new message.\n */\nexport const SetAssistantKeysRequestSchema: GenMessage<SetAssistantKeysRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 13);\n\n/**\n * SetAssistantKeysResponse returns the caller's assistant key set.\n *\n * @generated from message auth.v1.SetAssistantKeysResponse\n */\nexport type SetAssistantKeysResponse = Message<\"auth.v1.SetAssistantKeysResponse\"> & {\n /**\n * The assistant keys now in the set, in request order.\n *\n * @generated from field: repeated auth.v1.ApiKey api_keys = 1;\n */\n apiKeys: ApiKey[];\n};\n\n/**\n * Describes the message auth.v1.SetAssistantKeysResponse.\n * Use `create(SetAssistantKeysResponseSchema)` to create a new message.\n */\nexport const SetAssistantKeysResponseSchema: GenMessage<SetAssistantKeysResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 14);\n\n/**\n * ListAssistantKeysRequest lists the caller's assistant key set.\n *\n * @generated from message auth.v1.ListAssistantKeysRequest\n */\nexport type ListAssistantKeysRequest = Message<\"auth.v1.ListAssistantKeysRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.ListAssistantKeysRequest.\n * Use `create(ListAssistantKeysRequestSchema)` to create a new message.\n */\nexport const ListAssistantKeysRequestSchema: GenMessage<ListAssistantKeysRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 15);\n\n/**\n * ListAssistantKeysResponse contains the caller's assistant keys.\n *\n * @generated from message auth.v1.ListAssistantKeysResponse\n */\nexport type ListAssistantKeysResponse = Message<\"auth.v1.ListAssistantKeysResponse\"> & {\n /**\n * Non-revoked assistant keys the caller set up, newest first.\n *\n * @generated from field: repeated auth.v1.ApiKey api_keys = 1;\n */\n apiKeys: ApiKey[];\n};\n\n/**\n * Describes the message auth.v1.ListAssistantKeysResponse.\n * Use `create(ListAssistantKeysResponseSchema)` to create a new message.\n */\nexport const ListAssistantKeysResponseSchema: GenMessage<ListAssistantKeysResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 16);\n\n/**\n * DeleteAssistantKeysRequest revokes the caller's whole assistant key set.\n *\n * @generated from message auth.v1.DeleteAssistantKeysRequest\n */\nexport type DeleteAssistantKeysRequest = Message<\"auth.v1.DeleteAssistantKeysRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.DeleteAssistantKeysRequest.\n * Use `create(DeleteAssistantKeysRequestSchema)` to create a new message.\n */\nexport const DeleteAssistantKeysRequestSchema: GenMessage<DeleteAssistantKeysRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 17);\n\n/**\n * DeleteAssistantKeysResponse lists the keys that were revoked.\n *\n * @generated from message auth.v1.DeleteAssistantKeysResponse\n */\nexport type DeleteAssistantKeysResponse = Message<\"auth.v1.DeleteAssistantKeysResponse\"> & {\n /**\n * Opaque identifiers of the keys revoked by this request. Empty when the set\n * was already empty.\n *\n * @generated from field: repeated string revoked_key_ids = 1;\n */\n revokedKeyIds: string[];\n};\n\n/**\n * Describes the message auth.v1.DeleteAssistantKeysResponse.\n * Use `create(DeleteAssistantKeysResponseSchema)` to create a new message.\n */\nexport const DeleteAssistantKeysResponseSchema: GenMessage<DeleteAssistantKeysResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 18);\n\n/**\n * Status of an API key.\n *\n * @generated from enum auth.v1.ApiKeyStatus\n */\nexport enum ApiKeyStatus {\n /**\n * No API key status specified.\n *\n * @generated from enum value: API_KEY_STATUS_UNSPECIFIED = 0;\n */\n API_KEY_STATUS_UNSPECIFIED = 0,\n\n /**\n * Key can authenticate requests.\n *\n * @generated from enum value: ACTIVE = 1;\n */\n ACTIVE = 1,\n\n /**\n * Key has been permanently revoked and cannot be used again.\n *\n * @generated from enum value: REVOKED = 2;\n */\n REVOKED = 2,\n\n /**\n * Key is temporarily disabled and cannot authenticate requests until re-enabled.\n *\n * @generated from enum value: DISABLED = 3;\n */\n DISABLED = 3,\n}\n\n/**\n * Describes the enum auth.v1.ApiKeyStatus.\n */\nexport const ApiKeyStatusSchema: GenEnum<ApiKeyStatus> = /*@__PURE__*/\n enumDesc(file_auth_v1_api_keys, 0);\n\n/**\n * Purpose of an API key.\n *\n * @generated from enum auth.v1.ApiKeyPurpose\n */\nexport enum ApiKeyPurpose {\n /**\n * No purpose specified.\n *\n * @generated from enum value: PURPOSE_UNSPECIFIED = 0;\n */\n PURPOSE_UNSPECIFIED = 0,\n\n /**\n * A key the account holder created for their own programs.\n *\n * @generated from enum value: STANDARD = 1;\n */\n STANDARD = 1,\n\n /**\n * A key the account holder created for the Polyester AI assistant through\n * SetAssistantKeys. Its policy can never allow actions that move value out\n * of the account or manage where it goes, such as external withdrawals or\n * internal transfers. Only its creator's assistant uses it, so a sub-account\n * assistant key is revoked when its creator loses the role that manages the\n * sub-account's API keys or leaves the sub-account.\n *\n * @generated from enum value: ASSISTANT = 2;\n */\n ASSISTANT = 2,\n}\n\n/**\n * Describes the enum auth.v1.ApiKeyPurpose.\n */\nexport const ApiKeyPurposeSchema: GenEnum<ApiKeyPurpose> = /*@__PURE__*/\n enumDesc(file_auth_v1_api_keys, 1);\n\n/**\n * AssistantKeyPreset is a fixed permission set for a Polyester AI assistant\n * key. SetAssistantKeys turns it into an API policy of the key's main account,\n * named after the preset, so the policy and the key need only the set's one\n * step-up proof. No preset ever allows a money-out action (EXTERNAL_WITHDRAW,\n * INTERNAL_TRANSFER, MANAGE_ADDRESS_BOOK, MANAGE_AUTO_WITHDRAW), API-key or\n * policy management, or any action that weakens account security.\n *\n * @generated from enum auth.v1.AssistantKeyPreset\n */\nexport enum AssistantKeyPreset {\n /**\n * No preset selected.\n *\n * @generated from enum value: PRESET_UNSPECIFIED = 0;\n */\n PRESET_UNSPECIFIED = 0,\n\n /**\n * Read actions only: READ_BALANCES, READ_SPOT, READ_INTERNAL_TRANSFERS,\n * READ_AUTO_WITHDRAW, READ_API_KEYS, READ_SUBACCOUNTS,\n * READ_DEPOSIT_ADDRESSES and READ_STATEMENTS. On the main account, also\n * READ_PRICE_ALERTS, a main-account permission. Policy name \"Polyester AI -\n * Read only (main account)\" on the main account, \"Polyester AI - Read only\n * (sub-account)\" on a sub-account.\n *\n * @generated from enum value: READ_ONLY = 1;\n */\n READ_ONLY = 1,\n\n /**\n * READ_ONLY plus TRADE_SPOT, SWAP and CREATE_DEPOSIT_ADDRESS: the assistant\n * also places, changes and cancels orders and triggers, and swaps, each only\n * after the user approves that change, and creates deposit addresses, which\n * move no funds out. On the main account, also MANAGE_PRICE_ALERTS: price\n * alerts move no funds. Policy name \"Polyester AI - Trade with\n * approval (main account)\" on the main account, \"Polyester AI - Trade with\n * approval (sub-account)\" on a sub-account.\n *\n * @generated from enum value: TRADE_WITH_APPROVAL = 2;\n */\n TRADE_WITH_APPROVAL = 2,\n}\n\n/**\n * Describes the enum auth.v1.AssistantKeyPreset.\n */\nexport const AssistantKeyPresetSchema: GenEnum<AssistantKeyPreset> = /*@__PURE__*/\n enumDesc(file_auth_v1_api_keys, 2);\n\n/**\n * ApiKeyService manages API keys for authenticated callers.\n *\n * @generated from service auth.v1.ApiKeyService\n */\nexport const ApiKeyService: GenService<{\n /**\n * Create a new API key for the caller. Account security settings may require\n * MFA enrollment or a fresh step-up proof. The acting caller's root account\n * must have accepted the current terms, including when targeting a shared\n * subaccount; otherwise FailedPrecondition with AUTH_TERMS_NOT_ACCEPTED is returned.\n *\n * @generated from rpc auth.v1.ApiKeyService.CreateApiKey\n */\n createApiKey: {\n methodKind: \"unary\";\n input: typeof CreateApiKeyRequestSchema;\n output: typeof CreateApiKeyResponseSchema;\n },\n /**\n * List non-revoked API keys visible to the caller, newest first. An API key\n * needs READ_API_KEYS; a key scoped to a sub-account sees only that\n * sub-account's keys.\n *\n * @generated from rpc auth.v1.ApiKeyService.ListApiKeys\n */\n listApiKeys: {\n methodKind: \"unary\";\n input: typeof ListApiKeysRequestSchema;\n output: typeof ListApiKeysResponseSchema;\n },\n /**\n * Get a single API key owned by the caller or scoped to a sub-account the caller administers.\n * An API key needs READ_API_KEYS; a key scoped to a sub-account reads only\n * that sub-account's keys.\n *\n * @generated from rpc auth.v1.ApiKeyService.GetApiKey\n */\n getApiKey: {\n methodKind: \"unary\";\n input: typeof GetApiKeyRequestSchema;\n output: typeof GetApiKeyResponseSchema;\n },\n /**\n * Revoke an API key permanently.\n *\n * @generated from rpc auth.v1.ApiKeyService.DeleteApiKey\n */\n deleteApiKey: {\n methodKind: \"unary\";\n input: typeof DeleteApiKeyRequestSchema;\n output: typeof DeleteApiKeyResponseSchema;\n },\n /**\n * Update API key metadata and allowed status transitions. Revocation must use\n * DeleteApiKey.\n *\n * @generated from rpc auth.v1.ApiKeyService.UpdateApiKey\n */\n updateApiKey: {\n methodKind: \"unary\";\n input: typeof UpdateApiKeyRequestSchema;\n output: typeof UpdateApiKeyResponseSchema;\n },\n /**\n * Create or replace the caller's Polyester AI assistant key set: one\n * ASSISTANT key per enabled account, each bounded by its API policy or by a\n * permission preset. One fresh step-up proof covers the whole set,\n * including the policies its presets create, and the change is all or\n * nothing. An entry whose account already has an assistant key with the same\n * public key keeps that key, with its status, and takes the requested\n * policy; any other entry replaces the account's key. Accounts left out of\n * the set have their assistant key revoked. A sub-account entry needs the\n * same access as CreateApiKey: owner, or a role that manages its API keys.\n * The acting caller's root account must have accepted the current terms;\n * otherwise FailedPrecondition with AUTH_TERMS_NOT_ACCEPTED is returned. A\n * policy that allows a money-out action returns FailedPrecondition with\n * AUTH_ASSISTANT_KEY_ACTION_NOT_ALLOWED. A new key is registered only with\n * the registration proof and deadline the assistant issued with it\n * (PrepareAssistantKeys), before that deadline: a missing or failing proof\n * returns InvalidArgument with AUTH_ASSISTANT_KEY_PROOF_INVALID, a passed\n * deadline FailedPrecondition with AUTH_ASSISTANT_KEY_REGISTRATION_EXPIRED,\n * and one more than 15 minutes ahead InvalidArgument with\n * AUTH_ASSISTANT_KEY_DEADLINE_TOO_FAR.\n *\n * @generated from rpc auth.v1.ApiKeyService.SetAssistantKeys\n */\n setAssistantKeys: {\n methodKind: \"unary\";\n input: typeof SetAssistantKeysRequestSchema;\n output: typeof SetAssistantKeysResponseSchema;\n },\n /**\n * List the caller's non-revoked Polyester AI assistant keys, newest first.\n *\n * @generated from rpc auth.v1.ApiKeyService.ListAssistantKeys\n */\n listAssistantKeys: {\n methodKind: \"unary\";\n input: typeof ListAssistantKeysRequestSchema;\n output: typeof ListAssistantKeysResponseSchema;\n },\n /**\n * Revoke the caller's whole Polyester AI assistant key set. Revocation only\n * removes access, so it needs no step-up proof. Revocation is permanent. As\n * for DeleteApiKey, key management sees it at once, and requests signed with\n * a revoked key are refused within a few seconds of the response.\n *\n * @generated from rpc auth.v1.ApiKeyService.DeleteAssistantKeys\n */\n deleteAssistantKeys: {\n methodKind: \"unary\";\n input: typeof DeleteAssistantKeysRequestSchema;\n output: typeof DeleteAssistantKeysResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_api_keys, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,wBACX,uBAAS,g/HAAg/H;CAAC;CAAiC;CAAgC;AAA0B,CAAC;;;;;AAyIxlI,MAAa,eACX,0BAAY,uBAAuB,CAAC;;;;;AA4DtC,MAAa,4BACX,0BAAY,uBAAuB,CAAC;;;;;AAoBtC,MAAa,6BACX,0BAAY,uBAAuB,CAAC;;;;;AAsBtC,MAAa,2BACX,0BAAY,uBAAuB,CAAC;;;;;AAoBtC,MAAa,4BACX,0BAAY,uBAAuB,CAAC;;;;;AAqBtC,MAAa,4BACX,0BAAY,uBAAuB,CAAC;;;;;AActC,MAAa,6BACX,0BAAY,uBAAuB,CAAC;;;;;AAqBtC,MAAa,yBACX,0BAAY,uBAAuB,CAAC;;;;;AAoBtC,MAAa,0BACX,0BAAY,uBAAuB,CAAC;;;;;AAwDtC,MAAa,yBACX,0BAAY,uBAAuB,CAAC;;;;;AA0CtC,MAAa,4BACX,0BAAY,uBAAuB,EAAE;;;;;AAoBvC,MAAa,6BACX,0BAAY,uBAAuB,EAAE;;;;;AAuEvC,MAAa,yBACX,0BAAY,uBAAuB,EAAE;;;;;AAqBvC,MAAa,gCACX,0BAAY,uBAAuB,EAAE;;;;;AAoBvC,MAAa,iCACX,0BAAY,uBAAuB,EAAE;;;;;AAcvC,MAAa,iCACX,0BAAY,uBAAuB,EAAE;;;;;AAoBvC,MAAa,kCACX,0BAAY,uBAAuB,EAAE;;;;;AAcvC,MAAa,mCACX,0BAAY,uBAAuB,EAAE;;;;;AAqBvC,MAAa,oCACX,0BAAY,uBAAuB,EAAE;;;;;;AAOvC,IAAY,eAAL,yBAAA,cAAA;;;;;;CAML,aAAA,aAAA,gCAAA,KAAA;;;;;;CAOA,aAAA,aAAA,YAAA,KAAA;;;;;;CAOA,aAAA,aAAA,aAAA,KAAA;;;;;;CAOA,aAAA,aAAA,cAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,qBACX,uBAAS,uBAAuB,CAAC;;;;;;AAOnC,IAAY,gBAAL,yBAAA,eAAA;;;;;;CAML,cAAA,cAAA,yBAAA,KAAA;;;;;;CAOA,cAAA,cAAA,cAAA,KAAA;;;;;;;;;;;CAYA,cAAA,cAAA,eAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,sBACX,uBAAS,uBAAuB,CAAC;;;;;;;;;;;AAYnC,IAAY,qBAAL,yBAAA,oBAAA;;;;;;CAML,mBAAA,mBAAA,wBAAA,KAAA;;;;;;;;;;;CAYA,mBAAA,mBAAA,eAAA,KAAA;;;;;;;;;;;;CAaA,mBAAA,mBAAA,yBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,2BACX,uBAAS,uBAAuB,CAAC;;;;;;AAOnC,MAAa,gBA+GX,0BAAY,uBAAuB,CAAC"}
1
+ {"version":3,"file":"api_keys_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/api_keys_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/api_keys.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/api_keys.proto.\n */\nexport const file_auth_v1_api_keys: GenFile = /*@__PURE__*/\n fileDesc(\"ChZhdXRoL3YxL2FwaV9rZXlzLnByb3RvEgdhdXRoLnYxIpAECgZBcGlLZXkSEAoGa2V5X2lkGAIgASgJQgASDQoFbGFiZWwYAyABKAkSDgoEaWNvbhgJIAEoCUIAEg8KBWNvbG9yGAogASgJQgASFgoMaXBfd2hpdGVsaXN0GAQgAygJQgASJQoGc3RhdHVzGAYgASgOMhUuYXV0aC52MS5BcGlLZXlTdGF0dXMSGgoNc3ViYWNjb3VudF9pZBgHIAEoBkgAiAEBEhYKCXBvbGljeV9pZBgIIAEoBkgBiAEBEi4KCmNyZWF0ZWRfYXQYFCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjAKDGxhc3RfdXNlZF9hdBgVIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASGgoScHVibGljX2tleV9lZDI1NTE5GBYgASgMEi4KCmV4cGlyZXNfYXQYFyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhgKEGNyZWF0ZWRfYnlfYWN0b3IYGCABKAkSLgoKdXBkYXRlZF9hdBgZIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEAoIcmV2aXNpb24YGiABKAQSJwoHcHVycG9zZRgbIAEoDjIWLmF1dGgudjEuQXBpS2V5UHVycG9zZUIQCg5fc3ViYWNjb3VudF9pZEIMCgpfcG9saWN5X2lkIqsBChNDcmVhdGVBcGlLZXlSZXF1ZXN0Eg8KBWxhYmVsGAEgASgJQgASGgoNc3ViYWNjb3VudF9pZBgDIAEoBkgAiAEBEg4KBGljb24YBiABKAlCABIPCgVjb2xvchgHIAEoCUIAEhYKDGlw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_polyester_api_options]);\n\n/**\n * ApiKey is public API key metadata. It never includes the private key or seed.\n *\n * @generated from message auth.v1.ApiKey\n */\nexport type ApiKey = Message<\"auth.v1.ApiKey\"> & {\n /**\n * Stable opaque identifier used to refer to this key, formatted as \"ak_\"\n * followed by 32 lowercase hex characters.\n *\n * @generated from field: string key_id = 2;\n */\n keyId: string;\n\n /**\n * Human-readable label for the key. Maximum length is 64 characters.\n *\n * @generated from field: string label = 3;\n */\n label: string;\n\n /**\n * Optional user-chosen icon/emoji for UI display.\n *\n * @generated from field: string icon = 9;\n */\n icon: string;\n\n /**\n * Optional user-chosen color token for UI display.\n *\n * @generated from field: string color = 10;\n */\n color: string;\n\n /**\n * Optional CIDR whitelist. Empty means no IP restriction. Maximum 32 unique\n * entries.\n *\n * @generated from field: repeated string ip_whitelist = 4;\n */\n ipWhitelist: string[];\n\n /**\n * Current key status.\n *\n * @generated from field: auth.v1.ApiKeyStatus status = 6;\n */\n status: ApiKeyStatus;\n\n /**\n * Optional sub-account this key is scoped to (opaque ID; empty = root-level).\n *\n * @generated from field: optional fixed64 subaccount_id = 7;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional API policy attached to this key (opaque ID).\n * Empty means no policy is attached and the key has no permissions.\n *\n * @generated from field: optional fixed64 policy_id = 8;\n */\n policyId?: bigint | undefined;\n\n /**\n * Time in UTC when this key was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 20;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Approximate last time in UTC when this key authenticated a request,\n * recorded at most about once a minute; it may lag recent use by a few\n * minutes. Omitted when no use has been recorded.\n *\n * @generated from field: google.protobuf.Timestamp last_used_at = 21;\n */\n lastUsedAt?: Timestamp | undefined;\n\n /**\n * Ed25519 public key bytes associated with this API key. The private key or\n * seed is never returned by the API.\n *\n * @generated from field: bytes public_key_ed25519 = 22;\n */\n publicKeyEd25519: Uint8Array;\n\n /**\n * Optional expiry time in UTC. When set, the key cannot authenticate requests\n * after this time, regardless of status.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 23;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Read-only actor label describing who created this key, such as a username\n * or account label.\n *\n * @generated from field: string created_by_actor = 24;\n */\n createdByActor: string;\n\n /**\n * Time in UTC when this key's configuration was last changed. For the same\n * key, later is fresher, equal is an idempotent replay, and earlier is stale.\n * Equal timestamps with different configuration indicate an invariant failure.\n * This is independent of last_used_at, which tracks authentication activity.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 25;\n */\n updatedAt?: Timestamp | undefined;\n\n /**\n * Monotonic resource revision used for conditional updates.\n *\n * @generated from field: uint64 revision = 26;\n */\n revision: bigint;\n\n /**\n * What the key is for. ASSISTANT keys are managed with SetAssistantKeys and\n * are otherwise listed, updated and revoked like any key.\n *\n * @generated from field: auth.v1.ApiKeyPurpose purpose = 27;\n */\n purpose: ApiKeyPurpose;\n};\n\n/**\n * Describes the message auth.v1.ApiKey.\n * Use `create(ApiKeySchema)` to create a new message.\n */\nexport const ApiKeySchema: GenMessage<ApiKey> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 0);\n\n/**\n * CreateApiKeyRequest creates a new API key. Clients generate the Ed25519 key\n * pair locally and submit only the public key.\n *\n * @generated from message auth.v1.CreateApiKeyRequest\n */\nexport type CreateApiKeyRequest = Message<\"auth.v1.CreateApiKeyRequest\"> & {\n /**\n * Human-readable label for the key. Required; 1 to 64 characters, and must\n * not contain '<' or '>'.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n\n /**\n * Optional sub-account to scope this key to (opaque ID). If unset, the key is\n * root-level.\n *\n * @generated from field: optional fixed64 subaccount_id = 3;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional user-chosen icon/emoji for UI display.\n *\n * @generated from field: string icon = 6;\n */\n icon: string;\n\n /**\n * Optional user-chosen color token for UI display.\n *\n * @generated from field: string color = 7;\n */\n color: string;\n\n /**\n * Optional CIDR whitelist. Empty means no IP restriction. Maximum 32 unique\n * entries.\n *\n * @generated from field: repeated string ip_whitelist = 4;\n */\n ipWhitelist: string[];\n\n /**\n * Ed25519 public key bytes. Must be exactly 32 bytes. The private key or seed\n * must never be sent to the API.\n *\n * @generated from field: bytes public_key_ed25519 = 5;\n */\n publicKeyEd25519: Uint8Array;\n};\n\n/**\n * Describes the message auth.v1.CreateApiKeyRequest.\n * Use `create(CreateApiKeyRequestSchema)` to create a new message.\n */\nexport const CreateApiKeyRequestSchema: GenMessage<CreateApiKeyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 1);\n\n/**\n * CreateApiKeyResponse returns the created API key metadata.\n *\n * @generated from message auth.v1.CreateApiKeyResponse\n */\nexport type CreateApiKeyResponse = Message<\"auth.v1.CreateApiKeyResponse\"> & {\n /**\n * Created API key metadata. The private key or seed is never returned.\n *\n * @generated from field: auth.v1.ApiKey api_key = 1;\n */\n apiKey?: ApiKey | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateApiKeyResponse.\n * Use `create(CreateApiKeyResponseSchema)` to create a new message.\n */\nexport const CreateApiKeyResponseSchema: GenMessage<CreateApiKeyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 2);\n\n/**\n * ListApiKeysRequest lists non-revoked API keys visible to the caller.\n *\n * @generated from message auth.v1.ListApiKeysRequest\n */\nexport type ListApiKeysRequest = Message<\"auth.v1.ListApiKeysRequest\"> & {\n /**\n * Optional filter: only keys scoped to this sub-account (opaque ID). The\n * caller must own or administer the sub-account. If unset, only non-revoked\n * keys owned by the caller 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.ListApiKeysRequest.\n * Use `create(ListApiKeysRequestSchema)` to create a new message.\n */\nexport const ListApiKeysRequestSchema: GenMessage<ListApiKeysRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 3);\n\n/**\n * ListApiKeysResponse contains matching API keys, newest first by creation time.\n *\n * @generated from message auth.v1.ListApiKeysResponse\n */\nexport type ListApiKeysResponse = Message<\"auth.v1.ListApiKeysResponse\"> & {\n /**\n * Matching API keys, newest first. Revoked keys are excluded.\n *\n * @generated from field: repeated auth.v1.ApiKey api_keys = 1;\n */\n apiKeys: ApiKey[];\n};\n\n/**\n * Describes the message auth.v1.ListApiKeysResponse.\n * Use `create(ListApiKeysResponseSchema)` to create a new message.\n */\nexport const ListApiKeysResponseSchema: GenMessage<ListApiKeysResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 4);\n\n/**\n * DeleteApiKeyRequest permanently revokes an API key.\n *\n * @generated from message auth.v1.DeleteApiKeyRequest\n */\nexport type DeleteApiKeyRequest = Message<\"auth.v1.DeleteApiKeyRequest\"> & {\n /**\n * Opaque API key identifier (e.g. \"ak_<hex>\"). This is the stable public\n * handle for a key.\n *\n * @generated from field: string key_id = 1;\n */\n keyId: string;\n};\n\n/**\n * Describes the message auth.v1.DeleteApiKeyRequest.\n * Use `create(DeleteApiKeyRequestSchema)` to create a new message.\n */\nexport const DeleteApiKeyRequestSchema: GenMessage<DeleteApiKeyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 5);\n\n/**\n * DeleteApiKeyResponse is empty when revocation succeeds.\n *\n * @generated from message auth.v1.DeleteApiKeyResponse\n */\nexport type DeleteApiKeyResponse = Message<\"auth.v1.DeleteApiKeyResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.DeleteApiKeyResponse.\n * Use `create(DeleteApiKeyResponseSchema)` to create a new message.\n */\nexport const DeleteApiKeyResponseSchema: GenMessage<DeleteApiKeyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 6);\n\n/**\n * GetApiKeyRequest returns one API key visible to its owner or a sub-account admin.\n *\n * @generated from message auth.v1.GetApiKeyRequest\n */\nexport type GetApiKeyRequest = Message<\"auth.v1.GetApiKeyRequest\"> & {\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/**\n * Describes the message auth.v1.GetApiKeyRequest.\n * Use `create(GetApiKeyRequestSchema)` to create a new message.\n */\nexport const GetApiKeyRequestSchema: GenMessage<GetApiKeyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 7);\n\n/**\n * GetApiKeyResponse returns one API key visible to the caller.\n *\n * @generated from message auth.v1.GetApiKeyResponse\n */\nexport type GetApiKeyResponse = Message<\"auth.v1.GetApiKeyResponse\"> & {\n /**\n * Matching API key metadata.\n *\n * @generated from field: auth.v1.ApiKey api_key = 1;\n */\n apiKey?: ApiKey | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetApiKeyResponse.\n * Use `create(GetApiKeyResponseSchema)` to create a new message.\n */\nexport const GetApiKeyResponseSchema: GenMessage<GetApiKeyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 8);\n\n/**\n * ApiKeyUpdateSpec contains mutable API key configuration.\n *\n * @generated from message auth.v1.ApiKeyUpdateSpec\n */\nexport type ApiKeyUpdateSpec = Message<\"auth.v1.ApiKeyUpdateSpec\"> & {\n /**\n * Human-friendly label for the key. Empty clears the label when selected.\n * Must not contain '<' or '>'.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n\n /**\n * User-chosen icon/emoji for UI display. Empty clears the icon when selected.\n *\n * @generated from field: string icon = 2;\n */\n icon: string;\n\n /**\n * User-chosen color token for UI display. Empty clears the color when selected.\n *\n * @generated from field: string color = 3;\n */\n color: string;\n\n /**\n * New status. ACTIVE and DISABLED are allowed; revocation uses DeleteApiKey.\n *\n * @generated from field: auth.v1.ApiKeyStatus status = 4;\n */\n status: ApiKeyStatus;\n\n /**\n * Complete replacement IP whitelist. Empty clears the restriction when selected.\n *\n * @generated from field: repeated string ip_whitelist = 5;\n */\n ipWhitelist: string[];\n\n /**\n * Expiry time in UTC. When selected, omission or the epoch clears expiry.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 6;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.ApiKeyUpdateSpec.\n * Use `create(ApiKeyUpdateSpecSchema)` to create a new message.\n */\nexport const ApiKeyUpdateSpecSchema: GenMessage<ApiKeyUpdateSpec> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 9);\n\n/**\n * UpdateApiKeyRequest changes selected mutable fields on an existing API key.\n *\n * @generated from message auth.v1.UpdateApiKeyRequest\n */\nexport type UpdateApiKeyRequest = Message<\"auth.v1.UpdateApiKeyRequest\"> & {\n /**\n * Opaque API key identifier to update.\n *\n * @generated from field: string key_id = 1;\n */\n keyId: string;\n\n /**\n * Candidate values for fields selected by update_mask.\n *\n * @generated from field: auth.v1.ApiKeyUpdateSpec api_key = 2;\n */\n apiKey?: ApiKeyUpdateSpec | undefined;\n\n /**\n * Mutable fields to apply. Paths are relative to api_key. 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.\n *\n * @generated from field: uint64 expected_revision = 4;\n */\n expectedRevision: bigint;\n};\n\n/**\n * Describes the message auth.v1.UpdateApiKeyRequest.\n * Use `create(UpdateApiKeyRequestSchema)` to create a new message.\n */\nexport const UpdateApiKeyRequestSchema: GenMessage<UpdateApiKeyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 10);\n\n/**\n * UpdateApiKeyResponse returns the API key after applying the update.\n *\n * @generated from message auth.v1.UpdateApiKeyResponse\n */\nexport type UpdateApiKeyResponse = Message<\"auth.v1.UpdateApiKeyResponse\"> & {\n /**\n * Updated API key metadata.\n *\n * @generated from field: auth.v1.ApiKey api_key = 1;\n */\n apiKey?: ApiKey | undefined;\n};\n\n/**\n * Describes the message auth.v1.UpdateApiKeyResponse.\n * Use `create(UpdateApiKeyResponseSchema)` to create a new message.\n */\nexport const UpdateApiKeyResponseSchema: GenMessage<UpdateApiKeyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 11);\n\n/**\n * AssistantKeySpec is one account's key in the caller's assistant key set.\n *\n * @generated from message auth.v1.AssistantKeySpec\n */\nexport type AssistantKeySpec = Message<\"auth.v1.AssistantKeySpec\"> & {\n /**\n * Sub-account the key acts for (opaque ID). Unset means the caller's main\n * account. A key acts for exactly one account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Ed25519 public key bytes the Polyester AI assistant signs with. Must be\n * exactly 32 bytes, and distinct within the set.\n *\n * @generated from field: bytes public_key_ed25519 = 2;\n */\n publicKeyEd25519: Uint8Array;\n\n /**\n * API policy that bounds the key (opaque ID). It must belong to the same\n * main account as the key, and must not allow EXTERNAL_WITHDRAW,\n * INTERNAL_TRANSFER, MANAGE_ADDRESS_BOOK or MANAGE_AUTO_WITHDRAW. Set\n * exactly one of policy_id and preset.\n *\n * @generated from field: fixed64 policy_id = 3;\n */\n policyId: bigint;\n\n /**\n * Time until which the key may be registered, as the Polyester AI assistant\n * issued it with the key (PrepareAssistantKeys), in whole milliseconds.\n * Required for a new key: it must still be ahead, and at most 15 minutes\n * ahead. Not needed when the account's current assistant key already has\n * this public key.\n *\n * @generated from field: google.protobuf.Timestamp registration_deadline = 4;\n */\n registrationDeadline?: Timestamp | undefined;\n\n /**\n * The key's own Ed25519 signature over the caller's account, the key's\n * account, its public key and registration_deadline, as the assistant\n * issued it with the key (64 bytes). Required for a new key; not needed\n * when the account's current assistant key already has this public key.\n *\n * @generated from field: bytes registration_proof = 5;\n */\n registrationProof: Uint8Array;\n\n /**\n * Permission preset that bounds the key, instead of policy_id. The key is\n * bound to the preset's policy in the key's main account: the existing one\n * with the preset's name and exactly its actions over all markets, else one\n * created in the same change. The response's policy_id names it. Set\n * exactly one of policy_id and preset.\n *\n * @generated from field: auth.v1.AssistantKeyPreset preset = 6;\n */\n preset: AssistantKeyPreset;\n};\n\n/**\n * Describes the message auth.v1.AssistantKeySpec.\n * Use `create(AssistantKeySpecSchema)` to create a new message.\n */\nexport const AssistantKeySpecSchema: GenMessage<AssistantKeySpec> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 12);\n\n/**\n * SetAssistantKeysRequest replaces the caller's assistant key set.\n *\n * @generated from message auth.v1.SetAssistantKeysRequest\n */\nexport type SetAssistantKeysRequest = Message<\"auth.v1.SetAssistantKeysRequest\"> & {\n /**\n * The complete set, at most one key per account and at most 64 keys. An\n * account left out loses its assistant key.\n *\n * @generated from field: repeated auth.v1.AssistantKeySpec keys = 1;\n */\n keys: AssistantKeySpec[];\n};\n\n/**\n * Describes the message auth.v1.SetAssistantKeysRequest.\n * Use `create(SetAssistantKeysRequestSchema)` to create a new message.\n */\nexport const SetAssistantKeysRequestSchema: GenMessage<SetAssistantKeysRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 13);\n\n/**\n * SetAssistantKeysResponse returns the caller's assistant key set.\n *\n * @generated from message auth.v1.SetAssistantKeysResponse\n */\nexport type SetAssistantKeysResponse = Message<\"auth.v1.SetAssistantKeysResponse\"> & {\n /**\n * The assistant keys now in the set, in request order.\n *\n * @generated from field: repeated auth.v1.ApiKey api_keys = 1;\n */\n apiKeys: ApiKey[];\n};\n\n/**\n * Describes the message auth.v1.SetAssistantKeysResponse.\n * Use `create(SetAssistantKeysResponseSchema)` to create a new message.\n */\nexport const SetAssistantKeysResponseSchema: GenMessage<SetAssistantKeysResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 14);\n\n/**\n * ListAssistantKeysRequest lists the caller's assistant key set.\n *\n * @generated from message auth.v1.ListAssistantKeysRequest\n */\nexport type ListAssistantKeysRequest = Message<\"auth.v1.ListAssistantKeysRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.ListAssistantKeysRequest.\n * Use `create(ListAssistantKeysRequestSchema)` to create a new message.\n */\nexport const ListAssistantKeysRequestSchema: GenMessage<ListAssistantKeysRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 15);\n\n/**\n * ListAssistantKeysResponse contains the caller's assistant keys.\n *\n * @generated from message auth.v1.ListAssistantKeysResponse\n */\nexport type ListAssistantKeysResponse = Message<\"auth.v1.ListAssistantKeysResponse\"> & {\n /**\n * Non-revoked assistant keys the caller set up, newest first.\n *\n * @generated from field: repeated auth.v1.ApiKey api_keys = 1;\n */\n apiKeys: ApiKey[];\n};\n\n/**\n * Describes the message auth.v1.ListAssistantKeysResponse.\n * Use `create(ListAssistantKeysResponseSchema)` to create a new message.\n */\nexport const ListAssistantKeysResponseSchema: GenMessage<ListAssistantKeysResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 16);\n\n/**\n * DeleteAssistantKeysRequest revokes the caller's whole assistant key set.\n *\n * @generated from message auth.v1.DeleteAssistantKeysRequest\n */\nexport type DeleteAssistantKeysRequest = Message<\"auth.v1.DeleteAssistantKeysRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.DeleteAssistantKeysRequest.\n * Use `create(DeleteAssistantKeysRequestSchema)` to create a new message.\n */\nexport const DeleteAssistantKeysRequestSchema: GenMessage<DeleteAssistantKeysRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 17);\n\n/**\n * DeleteAssistantKeysResponse lists the keys that were revoked.\n *\n * @generated from message auth.v1.DeleteAssistantKeysResponse\n */\nexport type DeleteAssistantKeysResponse = Message<\"auth.v1.DeleteAssistantKeysResponse\"> & {\n /**\n * Opaque identifiers of the keys revoked by this request. Empty when the set\n * was already empty.\n *\n * @generated from field: repeated string revoked_key_ids = 1;\n */\n revokedKeyIds: string[];\n};\n\n/**\n * Describes the message auth.v1.DeleteAssistantKeysResponse.\n * Use `create(DeleteAssistantKeysResponseSchema)` to create a new message.\n */\nexport const DeleteAssistantKeysResponseSchema: GenMessage<DeleteAssistantKeysResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_api_keys, 18);\n\n/**\n * Status of an API key.\n *\n * @generated from enum auth.v1.ApiKeyStatus\n */\nexport enum ApiKeyStatus {\n /**\n * No API key status specified.\n *\n * @generated from enum value: API_KEY_STATUS_UNSPECIFIED = 0;\n */\n API_KEY_STATUS_UNSPECIFIED = 0,\n\n /**\n * Key can authenticate requests.\n *\n * @generated from enum value: ACTIVE = 1;\n */\n ACTIVE = 1,\n\n /**\n * Key has been permanently revoked and cannot be used again.\n *\n * @generated from enum value: REVOKED = 2;\n */\n REVOKED = 2,\n\n /**\n * Key is temporarily disabled and cannot authenticate requests until re-enabled.\n *\n * @generated from enum value: DISABLED = 3;\n */\n DISABLED = 3,\n}\n\n/**\n * Describes the enum auth.v1.ApiKeyStatus.\n */\nexport const ApiKeyStatusSchema: GenEnum<ApiKeyStatus> = /*@__PURE__*/\n enumDesc(file_auth_v1_api_keys, 0);\n\n/**\n * Purpose of an API key.\n *\n * @generated from enum auth.v1.ApiKeyPurpose\n */\nexport enum ApiKeyPurpose {\n /**\n * No purpose specified.\n *\n * @generated from enum value: PURPOSE_UNSPECIFIED = 0;\n */\n PURPOSE_UNSPECIFIED = 0,\n\n /**\n * A key the account holder created for their own programs.\n *\n * @generated from enum value: STANDARD = 1;\n */\n STANDARD = 1,\n\n /**\n * A key the account holder created for the Polyester AI assistant through\n * SetAssistantKeys. Its policy can never allow actions that move value out\n * of the account or manage where it goes, such as external withdrawals or\n * internal transfers. Only its creator's assistant uses it, so a sub-account\n * assistant key is revoked when its creator loses the role that manages the\n * sub-account's API keys or leaves the sub-account.\n *\n * @generated from enum value: ASSISTANT = 2;\n */\n ASSISTANT = 2,\n}\n\n/**\n * Describes the enum auth.v1.ApiKeyPurpose.\n */\nexport const ApiKeyPurposeSchema: GenEnum<ApiKeyPurpose> = /*@__PURE__*/\n enumDesc(file_auth_v1_api_keys, 1);\n\n/**\n * AssistantKeyPreset is a fixed permission set for a Polyester AI assistant\n * key. SetAssistantKeys turns it into an API policy of the key's main account,\n * named after the preset, so the policy and the key need only the set's one\n * step-up proof. No preset ever allows a money-out action (EXTERNAL_WITHDRAW,\n * INTERNAL_TRANSFER, MANAGE_ADDRESS_BOOK, MANAGE_AUTO_WITHDRAW), API-key or\n * policy management, or any action that weakens account security.\n *\n * @generated from enum auth.v1.AssistantKeyPreset\n */\nexport enum AssistantKeyPreset {\n /**\n * No preset selected.\n *\n * @generated from enum value: PRESET_UNSPECIFIED = 0;\n */\n PRESET_UNSPECIFIED = 0,\n\n /**\n * Read actions only: READ_BALANCES, READ_SPOT, READ_INTERNAL_TRANSFERS,\n * READ_AUTO_WITHDRAW, READ_API_KEYS, READ_SUBACCOUNTS,\n * READ_DEPOSIT_ADDRESSES, READ_STATEMENTS and READ_FUNDING_FLOWS. On the\n * main account, also READ_PRICE_ALERTS, a main-account permission. Policy\n * name \"Polyester AI - Read only (main account)\" on the main account,\n * \"Polyester AI - Read only (sub-account)\" on a sub-account.\n *\n * @generated from enum value: READ_ONLY = 1;\n */\n READ_ONLY = 1,\n\n /**\n * READ_ONLY plus TRADE_SPOT, SWAP and CREATE_DEPOSIT_ADDRESS: the assistant\n * also places, changes and cancels orders and triggers, and swaps, each only\n * after the user approves that change, and creates deposit addresses, which\n * move no funds out. On the main account, also MANAGE_PRICE_ALERTS: price\n * alerts move no funds. Policy name \"Polyester AI - Trade with\n * approval (main account)\" on the main account, \"Polyester AI - Trade with\n * approval (sub-account)\" on a sub-account.\n *\n * @generated from enum value: TRADE_WITH_APPROVAL = 2;\n */\n TRADE_WITH_APPROVAL = 2,\n}\n\n/**\n * Describes the enum auth.v1.AssistantKeyPreset.\n */\nexport const AssistantKeyPresetSchema: GenEnum<AssistantKeyPreset> = /*@__PURE__*/\n enumDesc(file_auth_v1_api_keys, 2);\n\n/**\n * ApiKeyService manages API keys for authenticated callers.\n *\n * @generated from service auth.v1.ApiKeyService\n */\nexport const ApiKeyService: GenService<{\n /**\n * Create a new API key for the caller. Account security settings may require\n * MFA enrollment or a fresh step-up proof. The acting caller's root account\n * must have accepted the current terms, including when targeting a shared\n * subaccount; otherwise FailedPrecondition with AUTH_TERMS_NOT_ACCEPTED is returned.\n *\n * @generated from rpc auth.v1.ApiKeyService.CreateApiKey\n */\n createApiKey: {\n methodKind: \"unary\";\n input: typeof CreateApiKeyRequestSchema;\n output: typeof CreateApiKeyResponseSchema;\n },\n /**\n * List non-revoked API keys visible to the caller, newest first. An API key\n * needs READ_API_KEYS; a key scoped to a sub-account sees only that\n * sub-account's keys.\n *\n * @generated from rpc auth.v1.ApiKeyService.ListApiKeys\n */\n listApiKeys: {\n methodKind: \"unary\";\n input: typeof ListApiKeysRequestSchema;\n output: typeof ListApiKeysResponseSchema;\n },\n /**\n * Get a single API key owned by the caller or scoped to a sub-account the caller administers.\n * An API key needs READ_API_KEYS; a key scoped to a sub-account reads only\n * that sub-account's keys.\n *\n * @generated from rpc auth.v1.ApiKeyService.GetApiKey\n */\n getApiKey: {\n methodKind: \"unary\";\n input: typeof GetApiKeyRequestSchema;\n output: typeof GetApiKeyResponseSchema;\n },\n /**\n * Revoke an API key permanently.\n *\n * @generated from rpc auth.v1.ApiKeyService.DeleteApiKey\n */\n deleteApiKey: {\n methodKind: \"unary\";\n input: typeof DeleteApiKeyRequestSchema;\n output: typeof DeleteApiKeyResponseSchema;\n },\n /**\n * Update API key metadata and allowed status transitions. Revocation must use\n * DeleteApiKey.\n *\n * @generated from rpc auth.v1.ApiKeyService.UpdateApiKey\n */\n updateApiKey: {\n methodKind: \"unary\";\n input: typeof UpdateApiKeyRequestSchema;\n output: typeof UpdateApiKeyResponseSchema;\n },\n /**\n * Create or replace the caller's Polyester AI assistant key set: one\n * ASSISTANT key per enabled account, each bounded by its API policy or by a\n * permission preset. One fresh step-up proof covers the whole set,\n * including the policies its presets create, and the change is all or\n * nothing. An entry whose account already has an assistant key with the same\n * public key keeps that key, with its status, and takes the requested\n * policy; any other entry replaces the account's key. Accounts left out of\n * the set have their assistant key revoked. A sub-account entry needs the\n * same access as CreateApiKey: owner, or a role that manages its API keys.\n * The acting caller's root account must have accepted the current terms;\n * otherwise FailedPrecondition with AUTH_TERMS_NOT_ACCEPTED is returned. A\n * policy that allows a money-out action returns FailedPrecondition with\n * AUTH_ASSISTANT_KEY_ACTION_NOT_ALLOWED. A new key is registered only with\n * the registration proof and deadline the assistant issued with it\n * (PrepareAssistantKeys), before that deadline: a missing or failing proof\n * returns InvalidArgument with AUTH_ASSISTANT_KEY_PROOF_INVALID, a passed\n * deadline FailedPrecondition with AUTH_ASSISTANT_KEY_REGISTRATION_EXPIRED,\n * and one more than 15 minutes ahead InvalidArgument with\n * AUTH_ASSISTANT_KEY_DEADLINE_TOO_FAR.\n *\n * @generated from rpc auth.v1.ApiKeyService.SetAssistantKeys\n */\n setAssistantKeys: {\n methodKind: \"unary\";\n input: typeof SetAssistantKeysRequestSchema;\n output: typeof SetAssistantKeysResponseSchema;\n },\n /**\n * List the caller's non-revoked Polyester AI assistant keys, newest first.\n *\n * @generated from rpc auth.v1.ApiKeyService.ListAssistantKeys\n */\n listAssistantKeys: {\n methodKind: \"unary\";\n input: typeof ListAssistantKeysRequestSchema;\n output: typeof ListAssistantKeysResponseSchema;\n },\n /**\n * Revoke the caller's whole Polyester AI assistant key set. Revocation only\n * removes access, so it needs no step-up proof. Revocation is permanent. As\n * for DeleteApiKey, key management sees it at once, and requests signed with\n * a revoked key are refused within a few seconds of the response.\n *\n * @generated from rpc auth.v1.ApiKeyService.DeleteAssistantKeys\n */\n deleteAssistantKeys: {\n methodKind: \"unary\";\n input: typeof DeleteAssistantKeysRequestSchema;\n output: typeof DeleteAssistantKeysResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_api_keys, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,wBACX,uBAAS,g/HAAg/H;CAAC;CAAiC;CAAgC;AAA0B,CAAC;;;;;AAyIxlI,MAAa,eACX,0BAAY,uBAAuB,CAAC;;;;;AA4DtC,MAAa,4BACX,0BAAY,uBAAuB,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KA,MAAa,sBACX,uBAAS,uBAAuB,CAAC;;;;;;;;;;;AAYnC,IAAY,qBAAL,yBAAA,oBAAA;;;;;;CAML,mBAAA,mBAAA,wBAAA,KAAA;;;;;;;;;;;CAYA,mBAAA,mBAAA,eAAA,KAAA;;;;;;;;;;;;CAaA,mBAAA,mBAAA,yBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,2BACX,uBAAS,uBAAuB,CAAC;;;;;;AAOnC,MAAa,gBA+GX,0BAAY,uBAAuB,CAAC"}
@@ -246,6 +246,14 @@ type AuthErrorDetail = Message<"auth.v1.AuthErrorDetail"> & {
246
246
  * @generated from field: string message = 2;
247
247
  */
248
248
  message: string;
249
+ /**
250
+ * Time in UTC from which the same request may succeed. Set for
251
+ * AUTH_SOCIAL_ACCOUNT_COOLDOWN and AUTH_SOCIAL_CHANGE_LIMIT_REACHED; empty
252
+ * otherwise.
253
+ *
254
+ * @generated from field: google.protobuf.Timestamp retry_after = 3;
255
+ */
256
+ retryAfter?: Timestamp | undefined;
249
257
  };
250
258
  /**
251
259
  * Describes the message auth.v1.AuthErrorDetail.
@@ -711,7 +719,24 @@ declare enum AuthErrorCode {
711
719
  *
712
720
  * @generated from enum value: AUTH_REPLAY_DETECTED = 63;
713
721
  */
714
- AUTH_REPLAY_DETECTED = 63
722
+ AUTH_REPLAY_DETECTED = 63,
723
+ /**
724
+ * The X/Twitter or Discord account was unlinked from another Polyester
725
+ * account less than 30 days ago, and can be linked to a different account
726
+ * only after that. The account that unlinked it may link it again at once.
727
+ * retry_after says when. HTTP 412, SOCIAL_ACCOUNT_COOLDOWN.
728
+ *
729
+ * @generated from enum value: AUTH_SOCIAL_ACCOUNT_COOLDOWN = 64;
730
+ */
731
+ AUTH_SOCIAL_ACCOUNT_COOLDOWN = 64,
732
+ /**
733
+ * The account already changed or unlinked its X/Twitter or Discord account
734
+ * less than 30 days ago: one change per provider every 30 days. retry_after
735
+ * says when the next one is allowed. HTTP 412, SOCIAL_CHANGE_LIMIT_REACHED.
736
+ *
737
+ * @generated from enum value: AUTH_SOCIAL_CHANGE_LIMIT_REACHED = 65;
738
+ */
739
+ AUTH_SOCIAL_CHANGE_LIMIT_REACHED = 65
715
740
  }
716
741
  /**
717
742
  * Describes the enum auth.v1.AuthErrorCode.
@@ -1 +1 @@
1
- {"version":3,"file":"auth_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/auth_pb.ts"],"mappings":";;;;;;;;;;cAgBa,mBAAmB;;;;;;;KASpB,+BAA+B;;;;;;EAMzC;;;;;;;EAQA;;;;;;;EAQA;;;;;;EAOA,SAAS;;;;;;cAOE,oCAAoC,WAAW;;;;;;KAQhD,gCAAgC;;;;;;;EAO1C;;;;;;EAOA,YAAY;;;;;;cAOD,qCAAqC,WAAW;;;;;;;KASjD,yBAAyB;;;;;;;EAOnC;;;;;;;;EASA;;;;;;;EAQA;;;;;;;EAQA;;;;;;EAOA;;;;;;;EAQA;;;;;;cAOW,8BAA8B,WAAW;;;;;;;KAS1C,0BAA0B;;;;;;EAMpC;;;;;;EAOA,YAAY;;;;;;EAOZ;;;;;;EAOA;;;;;;EAOA,UAAU;;;;;;cAOC,+BAA+B,WAAW;;;;;;;KAS3C,YAAY;;;;;cAOX,iBAAiB,WAAW;;;;;;KAQ7B,aAAa;;;;;;EAMvB;;;;;;;;EASA;;;;;;EAOA;;;;;;;EAQA;;;;;;EAOA,UAAU;;;;;;cAOC,kBAAkB,WAAW;;;;;;KAQ9B,kBAAkB;;;;;;EAM5B,MAAM;;;;;;EAON;;;;;;cAOW,uBAAuB,WAAW;;;;;;KAQnC,qBAAqB;;;;;cAOpB,0BAA0B,WAAW;;;;;;;KAStC,sBAAsB;;;;;cAOrB,2BAA2B,WAAW;;;;;;aAQvC;;;;;;EAMV;;;;;;EAOA;;;;;cAMW,8BAA8B,QAAQ;;;;;;aAQvC;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;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A;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;;EAUA;;;;;;;;EASA;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;;;EAWA;;;;;;;EAQA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;;EAUA;;;;;;;;EASA;;;;;cAMW,qBAAqB,QAAQ;;;;;;cAQ7B,aAAa;;;;;;EAMxB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;EAQjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;EAUjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe"}
@@ -24,7 +24,7 @@ var auth_pb_exports = /* @__PURE__ */ __exportAll({
24
24
  /**
25
25
  * Describes the file auth/v1/auth.proto.
26
26
  */
27
- const file_auth_v1_auth = /*@__PURE__*/ fileDesc("ChJhdXRoL3YxL2F1dGgucHJvdG8SB2F1dGgudjEinAEKHENyZWF0ZVdhbGxldENoYWxsZW5nZVJlcXVlc3QSHwoVc21hcnRfYWNjb3VudF9hZGRyZXNzGAEgASgJQgASGAoOc2lnbmVyX2FkZHJlc3MYAiABKAlCABINCgN1cmkYAyABKAlCABIyCgdwdXJwb3NlGAQgASgOMh8uYXV0aC52MS5XYWxsZXRDaGFsbGVuZ2VQdXJwb3NlQgAiYAodQ3JlYXRlV2FsbGV0Q2hhbGxlbmdlUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKgAQoWTG9naW5XaXRoV2FsbGV0UmVxdWVzdBIfChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAlCABITCglzaWduYXR1cmUYAyABKAlCABIUCgp1c2VyX2FnZW50GAQgASgJQgASDAoCaXAYBSABKAlCABIZCg93YWxsZ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0UmVzcG9uc2UiABJNCgtBY2NlcHRUZXJtcxIbLmF1dGgudjEuQWNjZXB0VGVybXNSZXF1ZXN0GhwuYXV0aC52MS5BY2NlcHRUZXJtc1Jlc3BvbnNlIgOQAgISLwoCTWUSEi5hdXRoLnYxLk1lUmVxdWVzdBoTLmF1dGgudjEuTWVSZXNwb25zZSIAGgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z", [
28
28
  file_auth_v1_mfa,
29
29
  file_google_protobuf_timestamp,
30
30
  file_polyester_api_options
@@ -512,6 +512,23 @@ let AuthErrorCode = /* @__PURE__ */ function(AuthErrorCode) {
512
512
  * @generated from enum value: AUTH_REPLAY_DETECTED = 63;
513
513
  */
514
514
  AuthErrorCode[AuthErrorCode["AUTH_REPLAY_DETECTED"] = 63] = "AUTH_REPLAY_DETECTED";
515
+ /**
516
+ * The X/Twitter or Discord account was unlinked from another Polyester
517
+ * account less than 30 days ago, and can be linked to a different account
518
+ * only after that. The account that unlinked it may link it again at once.
519
+ * retry_after says when. HTTP 412, SOCIAL_ACCOUNT_COOLDOWN.
520
+ *
521
+ * @generated from enum value: AUTH_SOCIAL_ACCOUNT_COOLDOWN = 64;
522
+ */
523
+ AuthErrorCode[AuthErrorCode["AUTH_SOCIAL_ACCOUNT_COOLDOWN"] = 64] = "AUTH_SOCIAL_ACCOUNT_COOLDOWN";
524
+ /**
525
+ * The account already changed or unlinked its X/Twitter or Discord account
526
+ * less than 30 days ago: one change per provider every 30 days. retry_after
527
+ * says when the next one is allowed. HTTP 412, SOCIAL_CHANGE_LIMIT_REACHED.
528
+ *
529
+ * @generated from enum value: AUTH_SOCIAL_CHANGE_LIMIT_REACHED = 65;
530
+ */
531
+ AuthErrorCode[AuthErrorCode["AUTH_SOCIAL_CHANGE_LIMIT_REACHED"] = 65] = "AUTH_SOCIAL_CHANGE_LIMIT_REACHED";
515
532
  return AuthErrorCode;
516
533
  }({});
517
534
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"auth_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/auth_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/auth.proto (package auth.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { SessionInfo } from \"./mfa_pb.js\";\nimport { file_auth_v1_mfa } from \"./mfa_pb.js\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/auth.proto.\n */\nexport const file_auth_v1_auth: GenFile = /*@__PURE__*/\n fileDesc(\"ChJhdXRoL3YxL2F1dGgucHJvdG8SB2F1dGgudjEinAEKHENyZWF0ZVdhbGxldENoYWxsZW5nZVJlcXVlc3QSHwoVc21hcnRfYWNjb3VudF9hZGRyZXNzGAEgASgJQgASGAoOc2lnbmVyX2FkZHJlc3MYAiABKAlCABINCgN1cmkYAyABKAlCABIyCgdwdXJwb3NlGAQgASgOMh8uYXV0aC52MS5XYWxsZXRDaGFsbGVuZ2VQdXJwb3NlQgAiYAodQ3JlYXRlV2FsbGV0Q2hhbGxlbmdlUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKgAQoWTG9naW5XaXRoV2FsbGV0UmVxdWVzdBIfChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAlCABITCglzaWduYXR1cmUYAyABKAlCABIUCgp1c2VyX2FnZ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NBUEFDSVRZX0VYSEFVU1RFRBA5Eh4KGkFVVEhfUEFUSF9CT0RZX0lEX01JU01BVENIEDoSKQolQVVUSF9BU1NJU1RBTlRfS0VZX0FDVElPTl9OT1RfQUxMT1dFRBA7EiQKIEFVVEhfQVNTSVNUQU5UX0tFWV9QUk9PRl9JTlZBTElEEDwSKwonQVVUSF9BU1NJU1RBTlRfS0VZX1JFR0lTVFJBVElPTl9FWFBJUkVEED0SJwojQVVUSF9BU1NJU1RBTlRfS0VZX0RFQURMSU5FX1RPT19GQVIQPhIYChRBVVRIX1JFUExBWV9ERVRFQ1RFRBA/MtECCgtBdXRoU2VydmljZRJoChVDcmVhdGVXYWxsZXRDaGFsbGVuZ2USJS5hdXRoLnYxLkNyZWF0ZVdhbGxldENoYWxsZW5nZVJlcXVlc3QaJi5hdXRoLnYxLkNyZWF0ZVdhbGxldENoYWxsZW5nZVJlc3BvbnNlIgASVgoPTG9naW5XaXRoV2FsbGV0Eh8uYXV0aC52MS5Mb2dpbldpdGhXYWxsZXRSZXF1ZXN0GiAuYXV0aC52MS5Mb2dpbldpdGhXYWxsZXRSZXNwb25zZSIAEk0KC0FjY2VwdFRlcm1zEhsuYXV0aC52MS5BY2NlcHRUZXJtc1JlcXVlc3QaHC5hdXRoLnYxLkFjY2VwdFRlcm1zUmVzcG9uc2UiA5ACAhIvCgJNZRISLmF1dGgudjEuTWVSZXF1ZXN0GhMuYXV0aC52MS5NZVJlc3BvbnNlIgAaAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=\", [file_auth_v1_mfa, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * CreateWalletChallengeRequest requests a short-lived EIP-4361 message whose\n * exact UTF-8 bytes must be signed by the wallet.\n *\n * @generated from message auth.v1.CreateWalletChallengeRequest\n */\nexport type CreateWalletChallengeRequest = Message<\"auth.v1.CreateWalletChallengeRequest\"> & {\n /**\n * Smart-account EVM address being authenticated, formatted as 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Address whose signature authorizes the challenge and that is written into\n * the EIP-4361 message. This must be an EOA that controls the target smart account.\n *\n * @generated from field: string signer_address = 2;\n */\n signerAddress: string;\n\n /**\n * Browser origin URI requesting the signature, including scheme and optional\n * port but no path, query, fragment, or user information.\n *\n * @generated from field: string uri = 3;\n */\n uri: string;\n\n /**\n * Operation for which the challenge may be consumed. Must be LOGIN.\n *\n * @generated from field: auth.v1.WalletChallengePurpose purpose = 4;\n */\n purpose: WalletChallengePurpose;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeRequest.\n * Use `create(CreateWalletChallengeRequestSchema)` to create a new message.\n */\nexport const CreateWalletChallengeRequestSchema: GenMessage<CreateWalletChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 0);\n\n/**\n * CreateWalletChallengeResponse contains the canonical EIP-4361 message.\n *\n * @generated from message auth.v1.CreateWalletChallengeResponse\n */\nexport type CreateWalletChallengeResponse = Message<\"auth.v1.CreateWalletChallengeResponse\"> & {\n /**\n * Canonical EIP-4361 message. Sign these UTF-8 bytes exactly once with\n * personal_sign; do not hash, alter, or reconstruct the message.\n *\n * @generated from field: string message = 1;\n */\n message: string;\n\n /**\n * Time in UTC when the challenge expires. Wallet challenges expire after 5 minutes.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeResponse.\n * Use `create(CreateWalletChallengeResponseSchema)` to create a new message.\n */\nexport const CreateWalletChallengeResponseSchema: GenMessage<CreateWalletChallengeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 1);\n\n/**\n * LoginWithWalletRequest completes smart-account wallet login using the exact\n * server-issued EIP-4361 message and its signature.\n *\n * @generated from message auth.v1.LoginWithWalletRequest\n */\nexport type LoginWithWalletRequest = Message<\"auth.v1.LoginWithWalletRequest\"> & {\n /**\n * Smart-account EVM address bound into the challenge resource, formatted as\n * 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * EOA signature over message using EIP-191 personal_sign semantics. A valid\n * value is 65 bytes of hexadecimal with an optional 0x prefix. Requests are\n * limited to 8192 characters.\n *\n * @generated from field: string signature = 3;\n */\n signature: string;\n\n /**\n * Optional user-agent string for account security and audit displays. Maximum\n * length is 512 characters.\n *\n * @generated from field: string user_agent = 4;\n */\n userAgent: string;\n\n /**\n * Optional caller IP address for account security and audit displays. Maximum\n * length is 64 characters.\n *\n * @generated from field: string ip = 5;\n */\n ip: string;\n\n /**\n * Optional provider hint for the signing wallet. Maximum length is 32 characters.\n *\n * @generated from field: string wallet_provider = 7;\n */\n walletProvider: string;\n\n /**\n * Exact EIP-4361 message returned by CreateWalletChallenge. Maximum length is\n * 4096 UTF-8 bytes.\n *\n * @generated from field: string message = 8;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletRequest.\n * Use `create(LoginWithWalletRequestSchema)` to create a new message.\n */\nexport const LoginWithWalletRequestSchema: GenMessage<LoginWithWalletRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 2);\n\n/**\n * LoginWithWalletResponse returns a session token for the authenticated root\n * account.\n *\n * @generated from message auth.v1.LoginWithWalletResponse\n */\nexport type LoginWithWalletResponse = Message<\"auth.v1.LoginWithWalletResponse\"> & {\n /**\n * Bearer access token for authenticated API calls.\n *\n * @generated from field: string access_token = 1;\n */\n accessToken: string;\n\n /**\n * Time in UTC when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Root account the token is bound to (opaque ID).\n *\n * @generated from field: fixed64 account_id = 10;\n */\n accountId: bigint;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 13;\n */\n username: string;\n\n /**\n * Session assurance details for the issued access token.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletResponse.\n * Use `create(LoginWithWalletResponseSchema)` to create a new message.\n */\nexport const LoginWithWalletResponseSchema: GenMessage<LoginWithWalletResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 3);\n\n/**\n * MeRequest introspects the authenticated caller from the presented access\n * token or API key.\n *\n * @generated from message auth.v1.MeRequest\n */\nexport type MeRequest = Message<\"auth.v1.MeRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.MeRequest.\n * Use `create(MeRequestSchema)` to create a new message.\n */\nexport const MeRequestSchema: GenMessage<MeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 4);\n\n/**\n * MeResponse describes the authenticated caller and current session context.\n *\n * @generated from message auth.v1.MeResponse\n */\nexport type MeResponse = Message<\"auth.v1.MeResponse\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Stable public identifier of the API key that authenticated this request,\n * formatted as \"ak_\" followed by 32 lowercase hexadecimal characters.\n * Absent when the request was not authenticated with an API key.\n *\n * @generated from field: optional string api_key_id = 10;\n */\n apiKeyId?: string | undefined;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 11;\n */\n username: string;\n\n /**\n * Root smart-account EVM address, formatted as 0x plus 40 hex characters.\n * Empty if not set.\n *\n * @generated from field: string root_smart_account_address = 12;\n */\n rootSmartAccountAddress: string;\n\n /**\n * Session assurance details for the presented access token, if any.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.MeResponse.\n * Use `create(MeResponseSchema)` to create a new message.\n */\nexport const MeResponseSchema: GenMessage<MeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 5);\n\n/**\n * AuthErrorDetail describes an authentication or account-domain failure.\n *\n * @generated from message auth.v1.AuthErrorDetail\n */\nexport type AuthErrorDetail = Message<\"auth.v1.AuthErrorDetail\"> & {\n /**\n * Stable machine-readable auth error code.\n *\n * @generated from field: auth.v1.AuthErrorCode code = 1;\n */\n code: AuthErrorCode;\n\n /**\n * Human-readable error message.\n *\n * @generated from field: string message = 2;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.AuthErrorDetail.\n * Use `create(AuthErrorDetailSchema)` to create a new message.\n */\nexport const AuthErrorDetailSchema: GenMessage<AuthErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 6);\n\n/**\n * AcceptTermsRequest records explicit consent to the terms that apply to the caller's root account.\n *\n * @generated from message auth.v1.AcceptTermsRequest\n */\nexport type AcceptTermsRequest = Message<\"auth.v1.AcceptTermsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsRequest.\n * Use `create(AcceptTermsRequestSchema)` to create a new message.\n */\nexport const AcceptTermsRequestSchema: GenMessage<AcceptTermsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 7);\n\n/**\n * AcceptTermsResponse confirms acceptance. Repeated requests succeed and\n * preserve the first acceptance time.\n *\n * @generated from message auth.v1.AcceptTermsResponse\n */\nexport type AcceptTermsResponse = Message<\"auth.v1.AcceptTermsResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsResponse.\n * Use `create(AcceptTermsResponseSchema)` to create a new message.\n */\nexport const AcceptTermsResponseSchema: GenMessage<AcceptTermsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 8);\n\n/**\n * Purpose for a server-issued wallet challenge.\n *\n * @generated from enum auth.v1.WalletChallengePurpose\n */\nexport enum WalletChallengePurpose {\n /**\n * No wallet challenge purpose was specified.\n *\n * @generated from enum value: WALLET_PROOF_UNSPECIFIED = 0;\n */\n WALLET_PROOF_UNSPECIFIED = 0,\n\n /**\n * Authenticate the wallet and create a Polyester session.\n *\n * @generated from enum value: LOGIN = 1;\n */\n LOGIN = 1,\n}\n\n/**\n * Describes the enum auth.v1.WalletChallengePurpose.\n */\nexport const WalletChallengePurposeSchema: GenEnum<WalletChallengePurpose> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 0);\n\n/**\n * High-level error codes for authentication and account-domain failures.\n *\n * @generated from enum auth.v1.AuthErrorCode\n */\nexport enum AuthErrorCode {\n /**\n * No auth error code specified.\n *\n * @generated from enum value: AUTH_UNSPECIFIED = 0;\n */\n AUTH_UNSPECIFIED = 0,\n\n /**\n * Username format or characters are invalid.\n *\n * @generated from enum value: AUTH_USERNAME_INVALID = 1;\n */\n AUTH_USERNAME_INVALID = 1,\n\n /**\n * Username is already used by another account.\n *\n * @generated from enum value: AUTH_USERNAME_TAKEN = 2;\n */\n AUTH_USERNAME_TAKEN = 2,\n\n /**\n * Username was changed too recently.\n *\n * @generated from enum value: AUTH_USERNAME_COOLDOWN = 3;\n */\n AUTH_USERNAME_COOLDOWN = 3,\n\n /**\n * Account is not currently eligible to claim or change a username.\n *\n * @generated from enum value: AUTH_USERNAME_FEATURE_LOCKED = 4;\n */\n AUTH_USERNAME_FEATURE_LOCKED = 4,\n\n /**\n * Username is reserved and cannot be claimed by this account.\n *\n * @generated from enum value: AUTH_USERNAME_RESERVED = 5;\n */\n AUTH_USERNAME_RESERVED = 5,\n\n /**\n * Request is malformed or missing required input.\n *\n * @generated from enum value: AUTH_INVALID_REQUEST = 6;\n */\n AUTH_INVALID_REQUEST = 6,\n\n /**\n * Authentication is required for this operation.\n *\n * @generated from enum value: AUTH_AUTHENTICATION_REQUIRED = 7;\n */\n AUTH_AUTHENTICATION_REQUIRED = 7,\n\n /**\n * Presented session type is not allowed for this operation.\n *\n * @generated from enum value: AUTH_SESSION_KIND_NOT_ALLOWED = 8;\n */\n AUTH_SESSION_KIND_NOT_ALLOWED = 8,\n\n /**\n * Wallet login failed because the nonce or signature could not be verified.\n *\n * @generated from enum value: AUTH_WALLET_LOGIN_FAILED = 9;\n */\n AUTH_WALLET_LOGIN_FAILED = 9,\n\n /**\n * Requested resource was not found.\n *\n * @generated from enum value: AUTH_RESOURCE_NOT_FOUND = 10;\n */\n AUTH_RESOURCE_NOT_FOUND = 10,\n\n /**\n * Caller does not have access to the requested sub-account.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_ACCESS_DENIED = 11;\n */\n AUTH_SUBACCOUNT_ACCESS_DENIED = 11,\n\n /**\n * Caller does not have access to the requested API key, or the calling API\n * key's policy lacks the account permission the call needs, or the call needs\n * a key scoped to the main account. Those two permission refusals name the\n * permission in the message; an ownership refusal names none.\n *\n * @generated from enum value: AUTH_API_KEY_ACCESS_DENIED = 12;\n */\n AUTH_API_KEY_ACCESS_DENIED = 12,\n\n /**\n * Requested API key status transition is not allowed.\n *\n * @generated from enum value: AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14;\n */\n AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14,\n\n /**\n * Policy definition or binding is invalid.\n *\n * @generated from enum value: AUTH_POLICY_INVALID = 15;\n */\n AUTH_POLICY_INVALID = 15,\n\n /**\n * Smart-account address is already linked to another account.\n *\n * @generated from enum value: AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16;\n */\n AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16,\n\n /**\n * Caller does not have access to the requested invite.\n *\n * @generated from enum value: AUTH_INVITE_ACCESS_DENIED = 17;\n */\n AUTH_INVITE_ACCESS_DENIED = 17,\n\n /**\n * Invite cannot be used in its current state.\n *\n * @generated from enum value: AUTH_INVITE_INVALID_STATE = 18;\n */\n AUTH_INVITE_INVALID_STATE = 18,\n\n /**\n * MFA is not available for this account.\n *\n * @generated from enum value: AUTH_MFA_DISABLED = 19;\n */\n AUTH_MFA_DISABLED = 19,\n\n /**\n * Required MFA factor is not enrolled.\n *\n * @generated from enum value: AUTH_MFA_NOT_ENROLLED = 20;\n */\n AUTH_MFA_NOT_ENROLLED = 20,\n\n /**\n * MFA session is missing, expired, or invalid.\n *\n * @generated from enum value: AUTH_MFA_SESSION_INVALID = 21;\n */\n AUTH_MFA_SESSION_INVALID = 21,\n\n /**\n * MFA challenge was not found.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_NOT_FOUND = 22;\n */\n AUTH_MFA_CHALLENGE_NOT_FOUND = 22,\n\n /**\n * MFA challenge payload is invalid.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_INVALID = 23;\n */\n AUTH_MFA_CHALLENGE_INVALID = 23,\n\n /**\n * MFA challenge is locked after too many failed attempts.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_LOCKED = 24;\n */\n AUTH_MFA_CHALLENGE_LOCKED = 24,\n\n /**\n * One-time password is invalid.\n *\n * @generated from enum value: AUTH_MFA_OTP_INVALID = 25;\n */\n AUTH_MFA_OTP_INVALID = 25,\n\n /**\n * Recovery code is invalid.\n *\n * @generated from enum value: AUTH_MFA_RECOVERY_INVALID = 26;\n */\n AUTH_MFA_RECOVERY_INVALID = 26,\n\n /**\n * Passkey verification is not available for this challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27;\n */\n AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27,\n\n /**\n * Passkey credential is invalid for this account or challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28;\n */\n AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28,\n\n /**\n * Passkey verification failed.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_VERIFY_FAILED = 29;\n */\n AUTH_MFA_PASSKEY_VERIFY_FAILED = 29,\n\n /**\n * MFA enrollment binding is invalid or expired.\n *\n * @generated from enum value: AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30;\n */\n AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30,\n\n /**\n * A fresh step-up proof is required for this protected operation.\n *\n * @generated from enum value: AUTH_STEP_UP_REQUIRED = 31;\n */\n AUTH_STEP_UP_REQUIRED = 31,\n\n /**\n * A requested step-up proof is unavailable.\n *\n * @generated from enum value: AUTH_STEP_UP_PROOF_UNAVAILABLE = 32;\n */\n AUTH_STEP_UP_PROOF_UNAVAILABLE = 32,\n\n /**\n * The step-up proof has already been claimed.\n *\n * @generated from enum value: AUTH_STEP_UP_ALREADY_CLAIMED = 33;\n */\n AUTH_STEP_UP_ALREADY_CLAIMED = 33,\n\n /**\n * The requested policy cannot be removed because it is still in use.\n *\n * @generated from enum value: AUTH_POLICY_IN_USE = 34;\n */\n AUTH_POLICY_IN_USE = 34,\n\n /**\n * The requested policy is locked against this mutation.\n *\n * @generated from enum value: AUTH_POLICY_LOCKED = 35;\n */\n AUTH_POLICY_LOCKED = 35,\n\n /**\n * The requested policy does not belong to the target account scope.\n *\n * @generated from enum value: AUTH_POLICY_SCOPE_MISMATCH = 36;\n */\n AUTH_POLICY_SCOPE_MISMATCH = 36,\n\n /**\n * The resource changed after the caller read it.\n *\n * @generated from enum value: AUTH_REVISION_CONFLICT = 37;\n */\n AUTH_REVISION_CONFLICT = 37,\n\n /**\n * A recently MFA-elevated interactive session is required.\n *\n * @generated from enum value: AUTH_MFA_ELEVATION_REQUIRED = 38;\n */\n AUTH_MFA_ELEVATION_REQUIRED = 38,\n\n /**\n * At least one active MFA factor must remain enrolled.\n *\n * @generated from enum value: AUTH_MFA_LAST_FACTOR_REQUIRED = 39;\n */\n AUTH_MFA_LAST_FACTOR_REQUIRED = 39,\n\n /**\n * An unexpected internal failure prevented the auth mutation from completing.\n *\n * @generated from enum value: AUTH_INTERNAL_ERROR = 40;\n */\n AUTH_INTERNAL_ERROR = 40,\n\n /**\n * The caller has not accepted the terms required for this action.\n *\n * @generated from enum value: AUTH_TERMS_NOT_ACCEPTED = 41;\n */\n AUTH_TERMS_NOT_ACCEPTED = 41,\n\n /**\n * Social verification challenge expired. Start a new verification, then mark it ready again.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_EXPIRED = 42;\n */\n AUTH_SOCIAL_VERIFICATION_EXPIRED = 42,\n\n /**\n * Social verification cannot accept this request in its current state.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43;\n */\n AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43,\n\n /**\n * Sub-account authorization is expired, replaced, consumed, or has an invalid signature.\n * Temporary verification failures return Unavailable; retry the same signed challenge.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44;\n */\n AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44,\n\n /**\n * Social account is already linked to another Polyester account.\n *\n * @generated from enum value: AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45;\n */\n AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45,\n\n /**\n * The request could not be completed right now and changed nothing. Retry the same request.\n * A refused WebSocket login needs a new signed login with a fresh nonce.\n *\n * @generated from enum value: AUTH_TEMPORARILY_UNAVAILABLE = 46;\n */\n AUTH_TEMPORARILY_UNAVAILABLE = 46,\n\n /**\n * The account owns this sub-account. An owner cannot be invited to it, and member role\n * changes and member removal do not apply to the owner.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47;\n */\n AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47,\n\n /**\n * The API key request signature does not verify against the request, or the key is unknown.\n * The REST problem code is SIGNATURE_INVALID.\n *\n * @generated from enum value: AUTH_SIGNATURE_INVALID = 48;\n */\n AUTH_SIGNATURE_INVALID = 48,\n\n /**\n * The API key request timestamp is malformed, more than 1 second ahead of the server\n * clock, or older than the request's receive window (X-API-RECV-WINDOW, 5 seconds when\n * omitted) when the request arrived. The request was not processed. Sync the clock, then\n * sign the request again with a fresh timestamp. The REST problem code is TIMESTAMP_SKEW.\n *\n * @generated from enum value: AUTH_TIMESTAMP_SKEW = 49;\n */\n AUTH_TIMESTAMP_SKEW = 49,\n\n /**\n * The API key request lacks its timestamp or signature header, or a signed\n * WebSocket login lacks a valid X-API-NONCE. The REST problem code is\n * MISSING_HEADERS.\n *\n * @generated from enum value: AUTH_MISSING_HEADERS = 50;\n */\n AUTH_MISSING_HEADERS = 50,\n\n /**\n * The API key has expired. The REST problem code is KEY_EXPIRED.\n *\n * @generated from enum value: AUTH_KEY_EXPIRED = 51;\n */\n AUTH_KEY_EXPIRED = 51,\n\n /**\n * The API key is disabled or revoked. The REST problem code is KEY_DISABLED.\n *\n * @generated from enum value: AUTH_KEY_DISABLED = 52;\n */\n AUTH_KEY_DISABLED = 52,\n\n /**\n * The API key's IP allowlist does not include the request's source address. The REST\n * problem code is IP_NOT_ALLOWED.\n *\n * @generated from enum value: AUTH_IP_NOT_ALLOWED = 53;\n */\n AUTH_IP_NOT_ALLOWED = 53,\n\n /**\n * This API does not accept API keys; authenticate with a session token. The REST problem\n * code is API_KEY_NOT_ACCEPTED.\n *\n * @generated from enum value: AUTH_API_KEY_NOT_ACCEPTED = 54;\n */\n AUTH_API_KEY_NOT_ACCEPTED = 54,\n\n /**\n * The wallet that signed this login is already linked to another account, so the\n * submitted account address cannot be registered with it. Wallets are not moved between\n * accounts. Log in with the account address this wallet already uses.\n *\n * @generated from enum value: AUTH_WALLET_ALREADY_LINKED = 55;\n */\n AUTH_WALLET_ALREADY_LINKED = 55,\n\n /**\n * The API key request's X-API-RECV-WINDOW header is not a single whole number of\n * milliseconds from 1 to 60000. The request was not processed. The REST problem code is\n * RECV_WINDOW_INVALID.\n *\n * @generated from enum value: AUTH_RECV_WINDOW_INVALID = 56;\n */\n AUTH_RECV_WINDOW_INVALID = 56,\n\n /**\n * Too many of this API key's signed requests are still within their receive windows,\n * or too many of every key's, for another to be accepted. The request was not\n * processed. Retry shortly; a shorter receive window lets requests make room sooner.\n * ConnectRPC answers resource_exhausted. The REST problem code is\n * REPLAY_CAPACITY_EXHAUSTED, with HTTP 429.\n *\n * @generated from enum value: AUTH_REPLAY_CAPACITY_EXHAUSTED = 57;\n */\n AUTH_REPLAY_CAPACITY_EXHAUSTED = 57,\n\n /**\n * A non-empty request body identifier differs from the REST path identifier.\n * The request is rejected with HTTP 400 before any action is performed.\n *\n * @generated from enum value: AUTH_PATH_BODY_ID_MISMATCH = 58;\n */\n AUTH_PATH_BODY_ID_MISMATCH = 58,\n\n /**\n * An assistant API key can never be allowed an action that moves value out of the\n * account or manages where it goes: EXTERNAL_WITHDRAW, INTERNAL_TRANSFER,\n * MANAGE_ADDRESS_BOOK or MANAGE_AUTO_WITHDRAW.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_ACTION_NOT_ALLOWED = 59;\n */\n AUTH_ASSISTANT_KEY_ACTION_NOT_ALLOWED = 59,\n\n /**\n * A new assistant key's registration proof is missing or does not verify\n * for its account, public key and registration deadline. The REST problem\n * code is ASSISTANT_KEY_PROOF_INVALID.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_PROOF_INVALID = 60;\n */\n AUTH_ASSISTANT_KEY_PROOF_INVALID = 60,\n\n /**\n * A new assistant key's registration deadline has passed; prepare the key\n * again. The REST problem code is ASSISTANT_KEY_REGISTRATION_EXPIRED.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_REGISTRATION_EXPIRED = 61;\n */\n AUTH_ASSISTANT_KEY_REGISTRATION_EXPIRED = 61,\n\n /**\n * A new assistant key's registration deadline is more than 15 minutes\n * ahead. The REST problem code is ASSISTANT_KEY_DEADLINE_TOO_FAR.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_DEADLINE_TOO_FAR = 62;\n */\n AUTH_ASSISTANT_KEY_DEADLINE_TOO_FAR = 62,\n\n /**\n * The signed WebSocket login nonce has already been used. Create a new login\n * with a fresh random nonce and signature. HTTP 401, REPLAY_DETECTED.\n *\n * @generated from enum value: AUTH_REPLAY_DETECTED = 63;\n */\n AUTH_REPLAY_DETECTED = 63,\n}\n\n/**\n * Describes the enum auth.v1.AuthErrorCode.\n */\nexport const AuthErrorCodeSchema: GenEnum<AuthErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 1);\n\n/**\n * AuthService manages wallet login, explicit terms consent, and caller authentication context.\n *\n * @generated from service auth.v1.AuthService\n */\nexport const AuthService: GenService<{\n /**\n * Create a short-lived EIP-4361 wallet challenge.\n *\n * @generated from rpc auth.v1.AuthService.CreateWalletChallenge\n */\n createWalletChallenge: {\n methodKind: \"unary\";\n input: typeof CreateWalletChallengeRequestSchema;\n output: typeof CreateWalletChallengeResponseSchema;\n },\n /**\n * Verify a signed EIP-4361 message and issue an access token. Login and account creation\n * do not accept terms; explicit consent is recorded only by AcceptTerms.\n *\n * @generated from rpc auth.v1.AuthService.LoginWithWallet\n */\n loginWithWallet: {\n methodKind: \"unary\";\n input: typeof LoginWithWalletRequestSchema;\n output: typeof LoginWithWalletResponseSchema;\n },\n /**\n * Explicitly accept the terms that apply to the caller's root account.\n * Requires an interactive JWT session; API keys are not allowed. Login, trading,\n * reads, and use of existing resources remain available without acceptance.\n * Acceptance is required before creating a subaccount, API key, or deposit address.\n *\n * @generated from rpc auth.v1.AuthService.AcceptTerms\n */\n acceptTerms: {\n methodKind: \"unary\";\n input: typeof AcceptTermsRequestSchema;\n output: typeof AcceptTermsResponseSchema;\n },\n /**\n * Return the caller's current auth context.\n *\n * @generated from rpc auth.v1.AuthService.Me\n */\n me: {\n methodKind: \"unary\";\n input: typeof MeRequestSchema;\n output: typeof MeResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_auth, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,oBACX,uBAAS,g+IAAg+I;CAAC;CAAkB;CAAgC;AAA0B,CAAC;;;;;AA4CzjJ,MAAa,qCACX,0BAAY,mBAAmB,CAAC;;;;;AA4BlC,MAAa,sCACX,0BAAY,mBAAmB,CAAC;;;;;AA8DlC,MAAa,+BACX,0BAAY,mBAAmB,CAAC;;;;;AAiDlC,MAAa,gCACX,0BAAY,mBAAmB,CAAC;;;;;AAelC,MAAa,k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;;;;;;CASA,cAAA,cAAA,gCAAA,MAAA;;;;;;;;CASA,cAAA,cAAA,8BAAA,MAAA;;;;;;;;;;CAWA,cAAA,cAAA,oCAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,gCAAA,MAAA;;;;;;;;CASA,cAAA,cAAA,2CAAA,MAAA;;;;;;;;CASA,cAAA,cAAA,sCAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,6CAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,yCAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,0BAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,sBACX,uBAAS,mBAAmB,CAAC;;;;;;AAO/B,MAAa,cA8CX,0BAAY,mBAAmB,CAAC"}
1
+ {"version":3,"file":"auth_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/auth_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/auth.proto (package auth.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { SessionInfo } from \"./mfa_pb.js\";\nimport { file_auth_v1_mfa } from \"./mfa_pb.js\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/auth.proto.\n */\nexport const file_auth_v1_auth: GenFile = /*@__PURE__*/\n fileDesc(\"ChJhdXRoL3YxL2F1dGgucHJvdG8SB2F1dGgudjEinAEKHENyZWF0ZVdhbGxldENoYWxsZW5nZVJlcXVlc3QSHwoVc21hcnRfYWNjb3VudF9hZGRyZXNzGAEgASgJQgASGAoOc2l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XaXRoV2FsbGV0UmVxdWVzdBogLmF1dGgudjEuTG9naW5XaXRoV2FsbGV0UmVzcG9uc2UiABJNCgtBY2NlcHRUZXJtcxIbLmF1dGgudjEuQWNjZXB0VGVybXNSZXF1ZXN0GhwuYXV0aC52MS5BY2NlcHRUZXJtc1Jlc3BvbnNlIgOQAgISLwoCTWUSEi5hdXRoLnYxLk1lUmVxdWVzdBoTLmF1dGgudjEuTWVSZXNwb25zZSIAGgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z\", [file_auth_v1_mfa, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * CreateWalletChallengeRequest requests a short-lived EIP-4361 message whose\n * exact UTF-8 bytes must be signed by the wallet.\n *\n * @generated from message auth.v1.CreateWalletChallengeRequest\n */\nexport type CreateWalletChallengeRequest = Message<\"auth.v1.CreateWalletChallengeRequest\"> & {\n /**\n * Smart-account EVM address being authenticated, formatted as 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Address whose signature authorizes the challenge and that is written into\n * the EIP-4361 message. This must be an EOA that controls the target smart account.\n *\n * @generated from field: string signer_address = 2;\n */\n signerAddress: string;\n\n /**\n * Browser origin URI requesting the signature, including scheme and optional\n * port but no path, query, fragment, or user information.\n *\n * @generated from field: string uri = 3;\n */\n uri: string;\n\n /**\n * Operation for which the challenge may be consumed. Must be LOGIN.\n *\n * @generated from field: auth.v1.WalletChallengePurpose purpose = 4;\n */\n purpose: WalletChallengePurpose;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeRequest.\n * Use `create(CreateWalletChallengeRequestSchema)` to create a new message.\n */\nexport const CreateWalletChallengeRequestSchema: GenMessage<CreateWalletChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 0);\n\n/**\n * CreateWalletChallengeResponse contains the canonical EIP-4361 message.\n *\n * @generated from message auth.v1.CreateWalletChallengeResponse\n */\nexport type CreateWalletChallengeResponse = Message<\"auth.v1.CreateWalletChallengeResponse\"> & {\n /**\n * Canonical EIP-4361 message. Sign these UTF-8 bytes exactly once with\n * personal_sign; do not hash, alter, or reconstruct the message.\n *\n * @generated from field: string message = 1;\n */\n message: string;\n\n /**\n * Time in UTC when the challenge expires. Wallet challenges expire after 5 minutes.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeResponse.\n * Use `create(CreateWalletChallengeResponseSchema)` to create a new message.\n */\nexport const CreateWalletChallengeResponseSchema: GenMessage<CreateWalletChallengeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 1);\n\n/**\n * LoginWithWalletRequest completes smart-account wallet login using the exact\n * server-issued EIP-4361 message and its signature.\n *\n * @generated from message auth.v1.LoginWithWalletRequest\n */\nexport type LoginWithWalletRequest = Message<\"auth.v1.LoginWithWalletRequest\"> & {\n /**\n * Smart-account EVM address bound into the challenge resource, formatted as\n * 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * EOA signature over message using EIP-191 personal_sign semantics. A valid\n * value is 65 bytes of hexadecimal with an optional 0x prefix. Requests are\n * limited to 8192 characters.\n *\n * @generated from field: string signature = 3;\n */\n signature: string;\n\n /**\n * Optional user-agent string for account security and audit displays. Maximum\n * length is 512 characters.\n *\n * @generated from field: string user_agent = 4;\n */\n userAgent: string;\n\n /**\n * Optional caller IP address for account security and audit displays. Maximum\n * length is 64 characters.\n *\n * @generated from field: string ip = 5;\n */\n ip: string;\n\n /**\n * Optional provider hint for the signing wallet. Maximum length is 32 characters.\n *\n * @generated from field: string wallet_provider = 7;\n */\n walletProvider: string;\n\n /**\n * Exact EIP-4361 message returned by CreateWalletChallenge. Maximum length is\n * 4096 UTF-8 bytes.\n *\n * @generated from field: string message = 8;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletRequest.\n * Use `create(LoginWithWalletRequestSchema)` to create a new message.\n */\nexport const LoginWithWalletRequestSchema: GenMessage<LoginWithWalletRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 2);\n\n/**\n * LoginWithWalletResponse returns a session token for the authenticated root\n * account.\n *\n * @generated from message auth.v1.LoginWithWalletResponse\n */\nexport type LoginWithWalletResponse = Message<\"auth.v1.LoginWithWalletResponse\"> & {\n /**\n * Bearer access token for authenticated API calls.\n *\n * @generated from field: string access_token = 1;\n */\n accessToken: string;\n\n /**\n * Time in UTC when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Root account the token is bound to (opaque ID).\n *\n * @generated from field: fixed64 account_id = 10;\n */\n accountId: bigint;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 13;\n */\n username: string;\n\n /**\n * Session assurance details for the issued access token.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletResponse.\n * Use `create(LoginWithWalletResponseSchema)` to create a new message.\n */\nexport const LoginWithWalletResponseSchema: GenMessage<LoginWithWalletResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 3);\n\n/**\n * MeRequest introspects the authenticated caller from the presented access\n * token or API key.\n *\n * @generated from message auth.v1.MeRequest\n */\nexport type MeRequest = Message<\"auth.v1.MeRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.MeRequest.\n * Use `create(MeRequestSchema)` to create a new message.\n */\nexport const MeRequestSchema: GenMessage<MeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 4);\n\n/**\n * MeResponse describes the authenticated caller and current session context.\n *\n * @generated from message auth.v1.MeResponse\n */\nexport type MeResponse = Message<\"auth.v1.MeResponse\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Stable public identifier of the API key that authenticated this request,\n * formatted as \"ak_\" followed by 32 lowercase hexadecimal characters.\n * Absent when the request was not authenticated with an API key.\n *\n * @generated from field: optional string api_key_id = 10;\n */\n apiKeyId?: string | undefined;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 11;\n */\n username: string;\n\n /**\n * Root smart-account EVM address, formatted as 0x plus 40 hex characters.\n * Empty if not set.\n *\n * @generated from field: string root_smart_account_address = 12;\n */\n rootSmartAccountAddress: string;\n\n /**\n * Session assurance details for the presented access token, if any.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.MeResponse.\n * Use `create(MeResponseSchema)` to create a new message.\n */\nexport const MeResponseSchema: GenMessage<MeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 5);\n\n/**\n * AuthErrorDetail describes an authentication or account-domain failure.\n *\n * @generated from message auth.v1.AuthErrorDetail\n */\nexport type AuthErrorDetail = Message<\"auth.v1.AuthErrorDetail\"> & {\n /**\n * Stable machine-readable auth error code.\n *\n * @generated from field: auth.v1.AuthErrorCode code = 1;\n */\n code: AuthErrorCode;\n\n /**\n * Human-readable error message.\n *\n * @generated from field: string message = 2;\n */\n message: string;\n\n /**\n * Time in UTC from which the same request may succeed. Set for\n * AUTH_SOCIAL_ACCOUNT_COOLDOWN and AUTH_SOCIAL_CHANGE_LIMIT_REACHED; empty\n * otherwise.\n *\n * @generated from field: google.protobuf.Timestamp retry_after = 3;\n */\n retryAfter?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.AuthErrorDetail.\n * Use `create(AuthErrorDetailSchema)` to create a new message.\n */\nexport const AuthErrorDetailSchema: GenMessage<AuthErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 6);\n\n/**\n * AcceptTermsRequest records explicit consent to the terms that apply to the caller's root account.\n *\n * @generated from message auth.v1.AcceptTermsRequest\n */\nexport type AcceptTermsRequest = Message<\"auth.v1.AcceptTermsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsRequest.\n * Use `create(AcceptTermsRequestSchema)` to create a new message.\n */\nexport const AcceptTermsRequestSchema: GenMessage<AcceptTermsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 7);\n\n/**\n * AcceptTermsResponse confirms acceptance. Repeated requests succeed and\n * preserve the first acceptance time.\n *\n * @generated from message auth.v1.AcceptTermsResponse\n */\nexport type AcceptTermsResponse = Message<\"auth.v1.AcceptTermsResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsResponse.\n * Use `create(AcceptTermsResponseSchema)` to create a new message.\n */\nexport const AcceptTermsResponseSchema: GenMessage<AcceptTermsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 8);\n\n/**\n * Purpose for a server-issued wallet challenge.\n *\n * @generated from enum auth.v1.WalletChallengePurpose\n */\nexport enum WalletChallengePurpose {\n /**\n * No wallet challenge purpose was specified.\n *\n * @generated from enum value: WALLET_PROOF_UNSPECIFIED = 0;\n */\n WALLET_PROOF_UNSPECIFIED = 0,\n\n /**\n * Authenticate the wallet and create a Polyester session.\n *\n * @generated from enum value: LOGIN = 1;\n */\n LOGIN = 1,\n}\n\n/**\n * Describes the enum auth.v1.WalletChallengePurpose.\n */\nexport const WalletChallengePurposeSchema: GenEnum<WalletChallengePurpose> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 0);\n\n/**\n * High-level error codes for authentication and account-domain failures.\n *\n * @generated from enum auth.v1.AuthErrorCode\n */\nexport enum AuthErrorCode {\n /**\n * No auth error code specified.\n *\n * @generated from enum value: AUTH_UNSPECIFIED = 0;\n */\n AUTH_UNSPECIFIED = 0,\n\n /**\n * Username format or characters are invalid.\n *\n * @generated from enum value: AUTH_USERNAME_INVALID = 1;\n */\n AUTH_USERNAME_INVALID = 1,\n\n /**\n * Username is already used by another account.\n *\n * @generated from enum value: AUTH_USERNAME_TAKEN = 2;\n */\n AUTH_USERNAME_TAKEN = 2,\n\n /**\n * Username was changed too recently.\n *\n * @generated from enum value: AUTH_USERNAME_COOLDOWN = 3;\n */\n AUTH_USERNAME_COOLDOWN = 3,\n\n /**\n * Account is not currently eligible to claim or change a username.\n *\n * @generated from enum value: AUTH_USERNAME_FEATURE_LOCKED = 4;\n */\n AUTH_USERNAME_FEATURE_LOCKED = 4,\n\n /**\n * Username is reserved and cannot be claimed by this account.\n *\n * @generated from enum value: AUTH_USERNAME_RESERVED = 5;\n */\n AUTH_USERNAME_RESERVED = 5,\n\n /**\n * Request is malformed or missing required input.\n *\n * @generated from enum value: AUTH_INVALID_REQUEST = 6;\n */\n AUTH_INVALID_REQUEST = 6,\n\n /**\n * Authentication is required for this operation.\n *\n * @generated from enum value: AUTH_AUTHENTICATION_REQUIRED = 7;\n */\n AUTH_AUTHENTICATION_REQUIRED = 7,\n\n /**\n * Presented session type is not allowed for this operation.\n *\n * @generated from enum value: AUTH_SESSION_KIND_NOT_ALLOWED = 8;\n */\n AUTH_SESSION_KIND_NOT_ALLOWED = 8,\n\n /**\n * Wallet login failed because the nonce or signature could not be verified.\n *\n * @generated from enum value: AUTH_WALLET_LOGIN_FAILED = 9;\n */\n AUTH_WALLET_LOGIN_FAILED = 9,\n\n /**\n * Requested resource was not found.\n *\n * @generated from enum value: AUTH_RESOURCE_NOT_FOUND = 10;\n */\n AUTH_RESOURCE_NOT_FOUND = 10,\n\n /**\n * Caller does not have access to the requested sub-account.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_ACCESS_DENIED = 11;\n */\n AUTH_SUBACCOUNT_ACCESS_DENIED = 11,\n\n /**\n * Caller does not have access to the requested API key, or the calling API\n * key's policy lacks the account permission the call needs, or the call needs\n * a key scoped to the main account. Those two permission refusals name the\n * permission in the message; an ownership refusal names none.\n *\n * @generated from enum value: AUTH_API_KEY_ACCESS_DENIED = 12;\n */\n AUTH_API_KEY_ACCESS_DENIED = 12,\n\n /**\n * Requested API key status transition is not allowed.\n *\n * @generated from enum value: AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14;\n */\n AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14,\n\n /**\n * Policy definition or binding is invalid.\n *\n * @generated from enum value: AUTH_POLICY_INVALID = 15;\n */\n AUTH_POLICY_INVALID = 15,\n\n /**\n * Smart-account address is already linked to another account.\n *\n * @generated from enum value: AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16;\n */\n AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16,\n\n /**\n * Caller does not have access to the requested invite.\n *\n * @generated from enum value: AUTH_INVITE_ACCESS_DENIED = 17;\n */\n AUTH_INVITE_ACCESS_DENIED = 17,\n\n /**\n * Invite cannot be used in its current state.\n *\n * @generated from enum value: AUTH_INVITE_INVALID_STATE = 18;\n */\n AUTH_INVITE_INVALID_STATE = 18,\n\n /**\n * MFA is not available for this account.\n *\n * @generated from enum value: AUTH_MFA_DISABLED = 19;\n */\n AUTH_MFA_DISABLED = 19,\n\n /**\n * Required MFA factor is not enrolled.\n *\n * @generated from enum value: AUTH_MFA_NOT_ENROLLED = 20;\n */\n AUTH_MFA_NOT_ENROLLED = 20,\n\n /**\n * MFA session is missing, expired, or invalid.\n *\n * @generated from enum value: AUTH_MFA_SESSION_INVALID = 21;\n */\n AUTH_MFA_SESSION_INVALID = 21,\n\n /**\n * MFA challenge was not found.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_NOT_FOUND = 22;\n */\n AUTH_MFA_CHALLENGE_NOT_FOUND = 22,\n\n /**\n * MFA challenge payload is invalid.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_INVALID = 23;\n */\n AUTH_MFA_CHALLENGE_INVALID = 23,\n\n /**\n * MFA challenge is locked after too many failed attempts.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_LOCKED = 24;\n */\n AUTH_MFA_CHALLENGE_LOCKED = 24,\n\n /**\n * One-time password is invalid.\n *\n * @generated from enum value: AUTH_MFA_OTP_INVALID = 25;\n */\n AUTH_MFA_OTP_INVALID = 25,\n\n /**\n * Recovery code is invalid.\n *\n * @generated from enum value: AUTH_MFA_RECOVERY_INVALID = 26;\n */\n AUTH_MFA_RECOVERY_INVALID = 26,\n\n /**\n * Passkey verification is not available for this challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27;\n */\n AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27,\n\n /**\n * Passkey credential is invalid for this account or challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28;\n */\n AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28,\n\n /**\n * Passkey verification failed.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_VERIFY_FAILED = 29;\n */\n AUTH_MFA_PASSKEY_VERIFY_FAILED = 29,\n\n /**\n * MFA enrollment binding is invalid or expired.\n *\n * @generated from enum value: AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30;\n */\n AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30,\n\n /**\n * A fresh step-up proof is required for this protected operation.\n *\n * @generated from enum value: AUTH_STEP_UP_REQUIRED = 31;\n */\n AUTH_STEP_UP_REQUIRED = 31,\n\n /**\n * A requested step-up proof is unavailable.\n *\n * @generated from enum value: AUTH_STEP_UP_PROOF_UNAVAILABLE = 32;\n */\n AUTH_STEP_UP_PROOF_UNAVAILABLE = 32,\n\n /**\n * The step-up proof has already been claimed.\n *\n * @generated from enum value: AUTH_STEP_UP_ALREADY_CLAIMED = 33;\n */\n AUTH_STEP_UP_ALREADY_CLAIMED = 33,\n\n /**\n * The requested policy cannot be removed because it is still in use.\n *\n * @generated from enum value: AUTH_POLICY_IN_USE = 34;\n */\n AUTH_POLICY_IN_USE = 34,\n\n /**\n * The requested policy is locked against this mutation.\n *\n * @generated from enum value: AUTH_POLICY_LOCKED = 35;\n */\n AUTH_POLICY_LOCKED = 35,\n\n /**\n * The requested policy does not belong to the target account scope.\n *\n * @generated from enum value: AUTH_POLICY_SCOPE_MISMATCH = 36;\n */\n AUTH_POLICY_SCOPE_MISMATCH = 36,\n\n /**\n * The resource changed after the caller read it.\n *\n * @generated from enum value: AUTH_REVISION_CONFLICT = 37;\n */\n AUTH_REVISION_CONFLICT = 37,\n\n /**\n * A recently MFA-elevated interactive session is required.\n *\n * @generated from enum value: AUTH_MFA_ELEVATION_REQUIRED = 38;\n */\n AUTH_MFA_ELEVATION_REQUIRED = 38,\n\n /**\n * At least one active MFA factor must remain enrolled.\n *\n * @generated from enum value: AUTH_MFA_LAST_FACTOR_REQUIRED = 39;\n */\n AUTH_MFA_LAST_FACTOR_REQUIRED = 39,\n\n /**\n * An unexpected internal failure prevented the auth mutation from completing.\n *\n * @generated from enum value: AUTH_INTERNAL_ERROR = 40;\n */\n AUTH_INTERNAL_ERROR = 40,\n\n /**\n * The caller has not accepted the terms required for this action.\n *\n * @generated from enum value: AUTH_TERMS_NOT_ACCEPTED = 41;\n */\n AUTH_TERMS_NOT_ACCEPTED = 41,\n\n /**\n * Social verification challenge expired. Start a new verification, then mark it ready again.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_EXPIRED = 42;\n */\n AUTH_SOCIAL_VERIFICATION_EXPIRED = 42,\n\n /**\n * Social verification cannot accept this request in its current state.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43;\n */\n AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43,\n\n /**\n * Sub-account authorization is expired, replaced, consumed, or has an invalid signature.\n * Temporary verification failures return Unavailable; retry the same signed challenge.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44;\n */\n AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44,\n\n /**\n * Social account is already linked to another Polyester account.\n *\n * @generated from enum value: AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45;\n */\n AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45,\n\n /**\n * The request could not be completed right now and changed nothing. Retry the same request.\n * A refused WebSocket login needs a new signed login with a fresh nonce.\n *\n * @generated from enum value: AUTH_TEMPORARILY_UNAVAILABLE = 46;\n */\n AUTH_TEMPORARILY_UNAVAILABLE = 46,\n\n /**\n * The account owns this sub-account. An owner cannot be invited to it, and member role\n * changes and member removal do not apply to the owner.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47;\n */\n AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47,\n\n /**\n * The API key request signature does not verify against the request, or the key is unknown.\n * The REST problem code is SIGNATURE_INVALID.\n *\n * @generated from enum value: AUTH_SIGNATURE_INVALID = 48;\n */\n AUTH_SIGNATURE_INVALID = 48,\n\n /**\n * The API key request timestamp is malformed, more than 1 second ahead of the server\n * clock, or older than the request's receive window (X-API-RECV-WINDOW, 5 seconds when\n * omitted) when the request arrived. The request was not processed. Sync the clock, then\n * sign the request again with a fresh timestamp. The REST problem code is TIMESTAMP_SKEW.\n *\n * @generated from enum value: AUTH_TIMESTAMP_SKEW = 49;\n */\n AUTH_TIMESTAMP_SKEW = 49,\n\n /**\n * The API key request lacks its timestamp or signature header, or a signed\n * WebSocket login lacks a valid X-API-NONCE. The REST problem code is\n * MISSING_HEADERS.\n *\n * @generated from enum value: AUTH_MISSING_HEADERS = 50;\n */\n AUTH_MISSING_HEADERS = 50,\n\n /**\n * The API key has expired. The REST problem code is KEY_EXPIRED.\n *\n * @generated from enum value: AUTH_KEY_EXPIRED = 51;\n */\n AUTH_KEY_EXPIRED = 51,\n\n /**\n * The API key is disabled or revoked. The REST problem code is KEY_DISABLED.\n *\n * @generated from enum value: AUTH_KEY_DISABLED = 52;\n */\n AUTH_KEY_DISABLED = 52,\n\n /**\n * The API key's IP allowlist does not include the request's source address. The REST\n * problem code is IP_NOT_ALLOWED.\n *\n * @generated from enum value: AUTH_IP_NOT_ALLOWED = 53;\n */\n AUTH_IP_NOT_ALLOWED = 53,\n\n /**\n * This API does not accept API keys; authenticate with a session token. The REST problem\n * code is API_KEY_NOT_ACCEPTED.\n *\n * @generated from enum value: AUTH_API_KEY_NOT_ACCEPTED = 54;\n */\n AUTH_API_KEY_NOT_ACCEPTED = 54,\n\n /**\n * The wallet that signed this login is already linked to another account, so the\n * submitted account address cannot be registered with it. Wallets are not moved between\n * accounts. Log in with the account address this wallet already uses.\n *\n * @generated from enum value: AUTH_WALLET_ALREADY_LINKED = 55;\n */\n AUTH_WALLET_ALREADY_LINKED = 55,\n\n /**\n * The API key request's X-API-RECV-WINDOW header is not a single whole number of\n * milliseconds from 1 to 60000. The request was not processed. The REST problem code is\n * RECV_WINDOW_INVALID.\n *\n * @generated from enum value: AUTH_RECV_WINDOW_INVALID = 56;\n */\n AUTH_RECV_WINDOW_INVALID = 56,\n\n /**\n * Too many of this API key's signed requests are still within their receive windows,\n * or too many of every key's, for another to be accepted. The request was not\n * processed. Retry shortly; a shorter receive window lets requests make room sooner.\n * ConnectRPC answers resource_exhausted. The REST problem code is\n * REPLAY_CAPACITY_EXHAUSTED, with HTTP 429.\n *\n * @generated from enum value: AUTH_REPLAY_CAPACITY_EXHAUSTED = 57;\n */\n AUTH_REPLAY_CAPACITY_EXHAUSTED = 57,\n\n /**\n * A non-empty request body identifier differs from the REST path identifier.\n * The request is rejected with HTTP 400 before any action is performed.\n *\n * @generated from enum value: AUTH_PATH_BODY_ID_MISMATCH = 58;\n */\n AUTH_PATH_BODY_ID_MISMATCH = 58,\n\n /**\n * An assistant API key can never be allowed an action that moves value out of the\n * account or manages where it goes: EXTERNAL_WITHDRAW, INTERNAL_TRANSFER,\n * MANAGE_ADDRESS_BOOK or MANAGE_AUTO_WITHDRAW.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_ACTION_NOT_ALLOWED = 59;\n */\n AUTH_ASSISTANT_KEY_ACTION_NOT_ALLOWED = 59,\n\n /**\n * A new assistant key's registration proof is missing or does not verify\n * for its account, public key and registration deadline. The REST problem\n * code is ASSISTANT_KEY_PROOF_INVALID.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_PROOF_INVALID = 60;\n */\n AUTH_ASSISTANT_KEY_PROOF_INVALID = 60,\n\n /**\n * A new assistant key's registration deadline has passed; prepare the key\n * again. The REST problem code is ASSISTANT_KEY_REGISTRATION_EXPIRED.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_REGISTRATION_EXPIRED = 61;\n */\n AUTH_ASSISTANT_KEY_REGISTRATION_EXPIRED = 61,\n\n /**\n * A new assistant key's registration deadline is more than 15 minutes\n * ahead. The REST problem code is ASSISTANT_KEY_DEADLINE_TOO_FAR.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_DEADLINE_TOO_FAR = 62;\n */\n AUTH_ASSISTANT_KEY_DEADLINE_TOO_FAR = 62,\n\n /**\n * The signed WebSocket login nonce has already been used. Create a new login\n * with a fresh random nonce and signature. HTTP 401, REPLAY_DETECTED.\n *\n * @generated from enum value: AUTH_REPLAY_DETECTED = 63;\n */\n AUTH_REPLAY_DETECTED = 63,\n\n /**\n * The X/Twitter or Discord account was unlinked from another Polyester\n * account less than 30 days ago, and can be linked to a different account\n * only after that. The account that unlinked it may link it again at once.\n * retry_after says when. HTTP 412, SOCIAL_ACCOUNT_COOLDOWN.\n *\n * @generated from enum value: AUTH_SOCIAL_ACCOUNT_COOLDOWN = 64;\n */\n AUTH_SOCIAL_ACCOUNT_COOLDOWN = 64,\n\n /**\n * The account already changed or unlinked its X/Twitter or Discord account\n * less than 30 days ago: one change per provider every 30 days. retry_after\n * says when the next one is allowed. HTTP 412, SOCIAL_CHANGE_LIMIT_REACHED.\n *\n * @generated from enum value: AUTH_SOCIAL_CHANGE_LIMIT_REACHED = 65;\n */\n AUTH_SOCIAL_CHANGE_LIMIT_REACHED = 65,\n}\n\n/**\n * Describes the enum auth.v1.AuthErrorCode.\n */\nexport const AuthErrorCodeSchema: GenEnum<AuthErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 1);\n\n/**\n * AuthService manages wallet login, explicit terms consent, and caller authentication context.\n *\n * @generated from service auth.v1.AuthService\n */\nexport const AuthService: GenService<{\n /**\n * Create a short-lived EIP-4361 wallet challenge.\n *\n * @generated from rpc auth.v1.AuthService.CreateWalletChallenge\n */\n createWalletChallenge: {\n methodKind: \"unary\";\n input: typeof CreateWalletChallengeRequestSchema;\n output: typeof CreateWalletChallengeResponseSchema;\n },\n /**\n * Verify a signed EIP-4361 message and issue an access token. Login and account creation\n * do not accept terms; explicit consent is recorded only by AcceptTerms.\n *\n * @generated from rpc auth.v1.AuthService.LoginWithWallet\n */\n loginWithWallet: {\n methodKind: \"unary\";\n input: typeof LoginWithWalletRequestSchema;\n output: typeof LoginWithWalletResponseSchema;\n },\n /**\n * Explicitly accept the terms that apply to the caller's root account.\n * Requires an interactive JWT session; API keys are not allowed. Login, trading,\n * reads, and use of existing resources remain available without acceptance.\n * Acceptance is required before creating a subaccount, API key, or deposit address.\n *\n * @generated from rpc auth.v1.AuthService.AcceptTerms\n */\n acceptTerms: {\n methodKind: \"unary\";\n input: typeof AcceptTermsRequestSchema;\n output: typeof AcceptTermsResponseSchema;\n },\n /**\n * Return the caller's current auth context.\n *\n * @generated from rpc auth.v1.AuthService.Me\n */\n me: {\n methodKind: \"unary\";\n input: typeof MeRequestSchema;\n output: typeof MeResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_auth, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,oBACX,uBAAS,goJAAgoJ;CAAC;CAAkB;CAAgC;AAA0B,CAAC;;;;;AA4CztJ,MAAa,qCACX,0BAAY,mBAAmB,CAAC;;;;;AA4BlC,MAAa,sCACX,0BAAY,mBAAmB,CAAC;;;;;AA8DlC,MAAa,+BACX,0BAAY,mBAAmB,CAAC;;;;;AAiDlC,MAAa,gCACX,0BAAY,mBAAmB,CAAC;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A,+BAAA,MAAA;;;;;;;;CASA,cAAA,cAAA,gCAAA,MAAA;;;;;;;;CASA,cAAA,cAAA,8BAAA,MAAA;;;;;;;;;;CAWA,cAAA,cAAA,oCAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,gCAAA,MAAA;;;;;;;;CASA,cAAA,cAAA,2CAAA,MAAA;;;;;;;;CASA,cAAA,cAAA,sCAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,6CAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,yCAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,0BAAA,MAAA;;;;;;;;;CAUA,cAAA,cAAA,kCAAA,MAAA;;;;;;;;CASA,cAAA,cAAA,sCAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,sBACX,uBAAS,mBAAmB,CAAC;;;;;;AAO/B,MAAa,cA8CX,0BAAY,mBAAmB,CAAC"}
@@ -1212,7 +1212,24 @@ declare enum PolicyAction {
1212
1212
  *
1213
1213
  * @generated from enum value: READ_STATEMENTS = 38;
1214
1214
  */
1215
- READ_STATEMENTS = 38
1215
+ READ_STATEMENTS = 38,
1216
+ /**
1217
+ * Allow quoting and converting dust, small Trading balances, into a target
1218
+ * asset, and reading the conversions. Listing dust balances needs
1219
+ * READ_BALANCES. Account permission.
1220
+ *
1221
+ * @generated from enum value: CONVERT_DUST = 39;
1222
+ */
1223
+ CONVERT_DUST = 39,
1224
+ /**
1225
+ * Allow reading the account's deposit, withdrawal, and transfer flows,
1226
+ * including the flows no chain transaction started and the transfers it
1227
+ * receives from other accounts. It grants no balance or transfer read.
1228
+ * Account permission.
1229
+ *
1230
+ * @generated from enum value: READ_FUNDING_FLOWS = 40;
1231
+ */
1232
+ READ_FUNDING_FLOWS = 40
1216
1233
  }
1217
1234
  /**
1218
1235
  * Describes the enum auth.v1.PolicyAction.
@@ -1 +1 @@
1
- {"version":3,"file":"policies_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/policies_pb.ts"],"mapp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;;;;cAMW,oBAAoB,QAAQ;;;;;;cAQ5B,eAAe;;;;;;;;EAQ1B;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe"}
@@ -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("ChZhdXRoL3YxL3BvbGljaWVzLnByb3RvEgdhdXRoLnYxIj8KC01hcmtldFNjb3BlIjAKBVZhbHVlEg8KC1VOU1BFQ0lGSUVEEAASBwoDQUxMEAESDQoJQUxMT1dMSVNUEAIiKQoSU3BvdE1hcmtldFNlbGVjdG9yEhMKCXN5bWJvbF9pZBgBIAEoDUIAIiMKDlNwb3RNYXJrZXRSdWxlEhEKCXN5bWJvbF9pZBgBIAEoDSK2BAoUU3ViYWNjb3VudFBvbGljeVZpZXcSCgoCaWQYASABKAYSDAoEbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRItCgxzcG90X21hcmtldHMYBCADKAsyFy5hdXRoLnYxLlNwb3RNYXJrZXRSdWxlEjcKEXNwb3RfbWFya2V0X3Njb3BlGAYgASgOMhouYXV0aC52MS5NYXJrZXRTY29wZS5WYWx1ZUIAE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zdEFwaVBvbGljaWVzUmVxdWVzdBogLmF1dGgudjEuTGlzdEFwaVBvbGljaWVzUmVzcG9uc2UiABJNCgxHZXRBcGlQb2xpY3kSHC5hdXRoLnYxLkdldEFwaVBvbGljeVJlcXVlc3QaHS5hdXRoLnYxLkdldEFwaVBvbGljeVJlc3BvbnNlIgASVgoPQ3JlYXRlQXBpUG9saWN5Eh8uYXV0aC52MS5DcmVhdGVBcGlQb2xpY3lSZXF1ZXN0GiAuYXV0aC52MS5DcmVhdGVBcGlQb2xpY3lSZXNwb25zZSIAElYKD1VwZGF0ZUFwaVBvbGljeRIfLmF1dGgudjEuVXBkYXRlQXBpUG9saWN5UmVxdWVzdBogLmF1dGgudjEuVXBkYXRlQXBpUG9saWN5UmVzcG9uc2UiABJWCg9EZWxldGVBcGlQb2xpY3kSHy5hdXRoLnYxLkRlbGV0ZUFwaVBvbGljeVJlcXVlc3QaIC5hdXRoLnYxLkRlbGV0ZUFwaVBvbGljeVJlc3BvbnNlIgASVgoPU2V0QXBpS2V5UG9saWN5Eh8uYXV0aC52MS5TZXRBcGlLZXlQb2xpY3lSZXF1ZXN0GiAuYXV0aC52MS5TZXRBcGlLZXlQb2xpY3lSZXNwb25zZSIAGgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z", [
49
49
  file_google_protobuf_field_mask,
50
50
  file_google_protobuf_timestamp,
51
51
  file_polyester_api_options
@@ -510,6 +510,23 @@ let PolicyAction = /* @__PURE__ */ function(PolicyAction) {
510
510
  * @generated from enum value: READ_STATEMENTS = 38;
511
511
  */
512
512
  PolicyAction[PolicyAction["READ_STATEMENTS"] = 38] = "READ_STATEMENTS";
513
+ /**
514
+ * Allow quoting and converting dust, small Trading balances, into a target
515
+ * asset, and reading the conversions. Listing dust balances needs
516
+ * READ_BALANCES. Account permission.
517
+ *
518
+ * @generated from enum value: CONVERT_DUST = 39;
519
+ */
520
+ PolicyAction[PolicyAction["CONVERT_DUST"] = 39] = "CONVERT_DUST";
521
+ /**
522
+ * Allow reading the account's deposit, withdrawal, and transfer flows,
523
+ * including the flows no chain transaction started and the transfers it
524
+ * receives from other accounts. It grants no balance or transfer read.
525
+ * Account permission.
526
+ *
527
+ * @generated from enum value: READ_FUNDING_FLOWS = 40;
528
+ */
529
+ PolicyAction[PolicyAction["READ_FUNDING_FLOWS"] = 40] = "READ_FUNDING_FLOWS";
513
530
  return PolicyAction;
514
531
  }({});
515
532
  /**