@waiaas/daemon 2.0.0-rc.1

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 (480) hide show
  1. package/dist/api/error-hints.d.ts +15 -0
  2. package/dist/api/error-hints.d.ts.map +1 -0
  3. package/dist/api/error-hints.js +71 -0
  4. package/dist/api/error-hints.js.map +1 -0
  5. package/dist/api/index.d.ts +11 -0
  6. package/dist/api/index.d.ts.map +1 -0
  7. package/dist/api/index.js +14 -0
  8. package/dist/api/index.js.map +1 -0
  9. package/dist/api/middleware/address-validation.d.ts +38 -0
  10. package/dist/api/middleware/address-validation.d.ts.map +1 -0
  11. package/dist/api/middleware/address-validation.js +134 -0
  12. package/dist/api/middleware/address-validation.js.map +1 -0
  13. package/dist/api/middleware/csp.d.ts +17 -0
  14. package/dist/api/middleware/csp.d.ts.map +1 -0
  15. package/dist/api/middleware/csp.js +31 -0
  16. package/dist/api/middleware/csp.js.map +1 -0
  17. package/dist/api/middleware/error-handler.d.ts +16 -0
  18. package/dist/api/middleware/error-handler.d.ts.map +1 -0
  19. package/dist/api/middleware/error-handler.js +46 -0
  20. package/dist/api/middleware/error-handler.js.map +1 -0
  21. package/dist/api/middleware/host-guard.d.ts +11 -0
  22. package/dist/api/middleware/host-guard.d.ts.map +1 -0
  23. package/dist/api/middleware/host-guard.js +25 -0
  24. package/dist/api/middleware/host-guard.js.map +1 -0
  25. package/dist/api/middleware/index.d.ts +13 -0
  26. package/dist/api/middleware/index.d.ts.map +1 -0
  27. package/dist/api/middleware/index.js +13 -0
  28. package/dist/api/middleware/index.js.map +1 -0
  29. package/dist/api/middleware/kill-switch-guard.d.ts +19 -0
  30. package/dist/api/middleware/kill-switch-guard.d.ts.map +1 -0
  31. package/dist/api/middleware/kill-switch-guard.js +49 -0
  32. package/dist/api/middleware/kill-switch-guard.js.map +1 -0
  33. package/dist/api/middleware/master-auth.d.ts +15 -0
  34. package/dist/api/middleware/master-auth.d.ts.map +1 -0
  35. package/dist/api/middleware/master-auth.js +35 -0
  36. package/dist/api/middleware/master-auth.js.map +1 -0
  37. package/dist/api/middleware/owner-auth.d.ts +30 -0
  38. package/dist/api/middleware/owner-auth.d.ts.map +1 -0
  39. package/dist/api/middleware/owner-auth.js +133 -0
  40. package/dist/api/middleware/owner-auth.js.map +1 -0
  41. package/dist/api/middleware/request-id.d.ts +10 -0
  42. package/dist/api/middleware/request-id.d.ts.map +1 -0
  43. package/dist/api/middleware/request-id.js +18 -0
  44. package/dist/api/middleware/request-id.js.map +1 -0
  45. package/dist/api/middleware/request-logger.d.ts +9 -0
  46. package/dist/api/middleware/request-logger.d.ts.map +1 -0
  47. package/dist/api/middleware/request-logger.js +18 -0
  48. package/dist/api/middleware/request-logger.js.map +1 -0
  49. package/dist/api/middleware/session-auth.d.ts +21 -0
  50. package/dist/api/middleware/session-auth.d.ts.map +1 -0
  51. package/dist/api/middleware/session-auth.js +51 -0
  52. package/dist/api/middleware/session-auth.js.map +1 -0
  53. package/dist/api/middleware/siwe-verify.d.ts +31 -0
  54. package/dist/api/middleware/siwe-verify.d.ts.map +1 -0
  55. package/dist/api/middleware/siwe-verify.js +55 -0
  56. package/dist/api/middleware/siwe-verify.js.map +1 -0
  57. package/dist/api/routes/actions.d.ts +56 -0
  58. package/dist/api/routes/actions.d.ts.map +1 -0
  59. package/dist/api/routes/actions.js +291 -0
  60. package/dist/api/routes/actions.js.map +1 -0
  61. package/dist/api/routes/admin.d.ts +99 -0
  62. package/dist/api/routes/admin.d.ts.map +1 -0
  63. package/dist/api/routes/admin.js +1304 -0
  64. package/dist/api/routes/admin.js.map +1 -0
  65. package/dist/api/routes/display-currency-helper.d.ts +26 -0
  66. package/dist/api/routes/display-currency-helper.d.ts.map +1 -0
  67. package/dist/api/routes/display-currency-helper.js +47 -0
  68. package/dist/api/routes/display-currency-helper.js.map +1 -0
  69. package/dist/api/routes/health.d.ts +14 -0
  70. package/dist/api/routes/health.d.ts.map +1 -0
  71. package/dist/api/routes/health.js +47 -0
  72. package/dist/api/routes/health.js.map +1 -0
  73. package/dist/api/routes/index.d.ts +15 -0
  74. package/dist/api/routes/index.d.ts.map +1 -0
  75. package/dist/api/routes/index.js +15 -0
  76. package/dist/api/routes/index.js.map +1 -0
  77. package/dist/api/routes/mcp.d.ts +30 -0
  78. package/dist/api/routes/mcp.d.ts.map +1 -0
  79. package/dist/api/routes/mcp.js +156 -0
  80. package/dist/api/routes/mcp.js.map +1 -0
  81. package/dist/api/routes/nonce.d.ts +20 -0
  82. package/dist/api/routes/nonce.d.ts.map +1 -0
  83. package/dist/api/routes/nonce.js +48 -0
  84. package/dist/api/routes/nonce.js.map +1 -0
  85. package/dist/api/routes/openapi-schemas.d.ts +2281 -0
  86. package/dist/api/routes/openapi-schemas.d.ts.map +1 -0
  87. package/dist/api/routes/openapi-schemas.js +770 -0
  88. package/dist/api/routes/openapi-schemas.js.map +1 -0
  89. package/dist/api/routes/policies.d.ts +29 -0
  90. package/dist/api/routes/policies.d.ts.map +1 -0
  91. package/dist/api/routes/policies.js +332 -0
  92. package/dist/api/routes/policies.js.map +1 -0
  93. package/dist/api/routes/sessions.d.ts +35 -0
  94. package/dist/api/routes/sessions.d.ts.map +1 -0
  95. package/dist/api/routes/sessions.js +347 -0
  96. package/dist/api/routes/sessions.js.map +1 -0
  97. package/dist/api/routes/skills.d.ts +9 -0
  98. package/dist/api/routes/skills.d.ts.map +1 -0
  99. package/dist/api/routes/skills.js +59 -0
  100. package/dist/api/routes/skills.js.map +1 -0
  101. package/dist/api/routes/tokens.d.ts +25 -0
  102. package/dist/api/routes/tokens.d.ts.map +1 -0
  103. package/dist/api/routes/tokens.js +161 -0
  104. package/dist/api/routes/tokens.js.map +1 -0
  105. package/dist/api/routes/transactions.d.ts +68 -0
  106. package/dist/api/routes/transactions.d.ts.map +1 -0
  107. package/dist/api/routes/transactions.js +576 -0
  108. package/dist/api/routes/transactions.js.map +1 -0
  109. package/dist/api/routes/utils.d.ts +9 -0
  110. package/dist/api/routes/utils.d.ts.map +1 -0
  111. package/dist/api/routes/utils.js +52 -0
  112. package/dist/api/routes/utils.js.map +1 -0
  113. package/dist/api/routes/wallet.d.ts +36 -0
  114. package/dist/api/routes/wallet.d.ts.map +1 -0
  115. package/dist/api/routes/wallet.js +358 -0
  116. package/dist/api/routes/wallet.js.map +1 -0
  117. package/dist/api/routes/wallets.d.ts +43 -0
  118. package/dist/api/routes/wallets.d.ts.map +1 -0
  119. package/dist/api/routes/wallets.js +630 -0
  120. package/dist/api/routes/wallets.js.map +1 -0
  121. package/dist/api/routes/wc.d.ts +46 -0
  122. package/dist/api/routes/wc.d.ts.map +1 -0
  123. package/dist/api/routes/wc.js +354 -0
  124. package/dist/api/routes/wc.js.map +1 -0
  125. package/dist/api/routes/x402.d.ts +61 -0
  126. package/dist/api/routes/x402.d.ts.map +1 -0
  127. package/dist/api/routes/x402.js +493 -0
  128. package/dist/api/routes/x402.js.map +1 -0
  129. package/dist/api/server.d.ts +81 -0
  130. package/dist/api/server.d.ts.map +1 -0
  131. package/dist/api/server.js +406 -0
  132. package/dist/api/server.js.map +1 -0
  133. package/dist/index.d.ts +35 -0
  134. package/dist/index.d.ts.map +1 -0
  135. package/dist/index.js +43 -0
  136. package/dist/index.js.map +1 -0
  137. package/dist/infrastructure/action/action-provider-registry.d.ts +77 -0
  138. package/dist/infrastructure/action/action-provider-registry.d.ts.map +1 -0
  139. package/dist/infrastructure/action/action-provider-registry.js +239 -0
  140. package/dist/infrastructure/action/action-provider-registry.js.map +1 -0
  141. package/dist/infrastructure/action/api-key-store.d.ts +60 -0
  142. package/dist/infrastructure/action/api-key-store.d.ts.map +1 -0
  143. package/dist/infrastructure/action/api-key-store.js +130 -0
  144. package/dist/infrastructure/action/api-key-store.js.map +1 -0
  145. package/dist/infrastructure/action/index.d.ts +10 -0
  146. package/dist/infrastructure/action/index.d.ts.map +1 -0
  147. package/dist/infrastructure/action/index.js +9 -0
  148. package/dist/infrastructure/action/index.js.map +1 -0
  149. package/dist/infrastructure/adapter-pool.d.ts +50 -0
  150. package/dist/infrastructure/adapter-pool.d.ts.map +1 -0
  151. package/dist/infrastructure/adapter-pool.js +110 -0
  152. package/dist/infrastructure/adapter-pool.js.map +1 -0
  153. package/dist/infrastructure/backup/backup-service.d.ts +53 -0
  154. package/dist/infrastructure/backup/backup-service.d.ts.map +1 -0
  155. package/dist/infrastructure/backup/backup-service.js +158 -0
  156. package/dist/infrastructure/backup/backup-service.js.map +1 -0
  157. package/dist/infrastructure/backup/index.d.ts +2 -0
  158. package/dist/infrastructure/backup/index.d.ts.map +1 -0
  159. package/dist/infrastructure/backup/index.js +2 -0
  160. package/dist/infrastructure/backup/index.js.map +1 -0
  161. package/dist/infrastructure/config/index.d.ts +8 -0
  162. package/dist/infrastructure/config/index.d.ts.map +1 -0
  163. package/dist/infrastructure/config/index.js +7 -0
  164. package/dist/infrastructure/config/index.js.map +1 -0
  165. package/dist/infrastructure/config/loader.d.ts +555 -0
  166. package/dist/infrastructure/config/loader.d.ts.map +1 -0
  167. package/dist/infrastructure/config/loader.js +311 -0
  168. package/dist/infrastructure/config/loader.js.map +1 -0
  169. package/dist/infrastructure/database/checks.d.ts +19 -0
  170. package/dist/infrastructure/database/checks.d.ts.map +1 -0
  171. package/dist/infrastructure/database/checks.js +27 -0
  172. package/dist/infrastructure/database/checks.js.map +1 -0
  173. package/dist/infrastructure/database/compatibility.d.ts +36 -0
  174. package/dist/infrastructure/database/compatibility.d.ts.map +1 -0
  175. package/dist/infrastructure/database/compatibility.js +75 -0
  176. package/dist/infrastructure/database/compatibility.js.map +1 -0
  177. package/dist/infrastructure/database/connection.d.ts +36 -0
  178. package/dist/infrastructure/database/connection.d.ts.map +1 -0
  179. package/dist/infrastructure/database/connection.js +47 -0
  180. package/dist/infrastructure/database/connection.js.map +1 -0
  181. package/dist/infrastructure/database/id.d.ts +17 -0
  182. package/dist/infrastructure/database/id.d.ts.map +1 -0
  183. package/dist/infrastructure/database/id.js +20 -0
  184. package/dist/infrastructure/database/id.js.map +1 -0
  185. package/dist/infrastructure/database/index.d.ts +15 -0
  186. package/dist/infrastructure/database/index.d.ts.map +1 -0
  187. package/dist/infrastructure/database/index.js +12 -0
  188. package/dist/infrastructure/database/index.js.map +1 -0
  189. package/dist/infrastructure/database/migrate.d.ts +76 -0
  190. package/dist/infrastructure/database/migrate.d.ts.map +1 -0
  191. package/dist/infrastructure/database/migrate.js +1214 -0
  192. package/dist/infrastructure/database/migrate.js.map +1 -0
  193. package/dist/infrastructure/database/schema.d.ts +2352 -0
  194. package/dist/infrastructure/database/schema.d.ts.map +1 -0
  195. package/dist/infrastructure/database/schema.js +288 -0
  196. package/dist/infrastructure/database/schema.js.map +1 -0
  197. package/dist/infrastructure/jwt/index.d.ts +2 -0
  198. package/dist/infrastructure/jwt/index.d.ts.map +1 -0
  199. package/dist/infrastructure/jwt/index.js +2 -0
  200. package/dist/infrastructure/jwt/index.js.map +1 -0
  201. package/dist/infrastructure/jwt/jwt-secret-manager.d.ts +58 -0
  202. package/dist/infrastructure/jwt/jwt-secret-manager.d.ts.map +1 -0
  203. package/dist/infrastructure/jwt/jwt-secret-manager.js +222 -0
  204. package/dist/infrastructure/jwt/jwt-secret-manager.js.map +1 -0
  205. package/dist/infrastructure/keystore/crypto.d.ts +62 -0
  206. package/dist/infrastructure/keystore/crypto.d.ts.map +1 -0
  207. package/dist/infrastructure/keystore/crypto.js +89 -0
  208. package/dist/infrastructure/keystore/crypto.js.map +1 -0
  209. package/dist/infrastructure/keystore/index.d.ts +4 -0
  210. package/dist/infrastructure/keystore/index.d.ts.map +1 -0
  211. package/dist/infrastructure/keystore/index.js +5 -0
  212. package/dist/infrastructure/keystore/index.js.map +1 -0
  213. package/dist/infrastructure/keystore/keystore.d.ts +115 -0
  214. package/dist/infrastructure/keystore/keystore.d.ts.map +1 -0
  215. package/dist/infrastructure/keystore/keystore.js +327 -0
  216. package/dist/infrastructure/keystore/keystore.js.map +1 -0
  217. package/dist/infrastructure/keystore/memory.d.ts +45 -0
  218. package/dist/infrastructure/keystore/memory.d.ts.map +1 -0
  219. package/dist/infrastructure/keystore/memory.js +105 -0
  220. package/dist/infrastructure/keystore/memory.js.map +1 -0
  221. package/dist/infrastructure/oracle/coingecko-forex.d.ts +35 -0
  222. package/dist/infrastructure/oracle/coingecko-forex.d.ts.map +1 -0
  223. package/dist/infrastructure/oracle/coingecko-forex.js +69 -0
  224. package/dist/infrastructure/oracle/coingecko-forex.js.map +1 -0
  225. package/dist/infrastructure/oracle/coingecko-oracle.d.ts +73 -0
  226. package/dist/infrastructure/oracle/coingecko-oracle.d.ts.map +1 -0
  227. package/dist/infrastructure/oracle/coingecko-oracle.js +199 -0
  228. package/dist/infrastructure/oracle/coingecko-oracle.js.map +1 -0
  229. package/dist/infrastructure/oracle/coingecko-platform-ids.d.ts +32 -0
  230. package/dist/infrastructure/oracle/coingecko-platform-ids.d.ts.map +1 -0
  231. package/dist/infrastructure/oracle/coingecko-platform-ids.js +30 -0
  232. package/dist/infrastructure/oracle/coingecko-platform-ids.js.map +1 -0
  233. package/dist/infrastructure/oracle/forex-currencies.d.ts +36 -0
  234. package/dist/infrastructure/oracle/forex-currencies.d.ts.map +1 -0
  235. package/dist/infrastructure/oracle/forex-currencies.js +71 -0
  236. package/dist/infrastructure/oracle/forex-currencies.js.map +1 -0
  237. package/dist/infrastructure/oracle/forex-rate-service.d.ts +51 -0
  238. package/dist/infrastructure/oracle/forex-rate-service.d.ts.map +1 -0
  239. package/dist/infrastructure/oracle/forex-rate-service.js +149 -0
  240. package/dist/infrastructure/oracle/forex-rate-service.js.map +1 -0
  241. package/dist/infrastructure/oracle/index.d.ts +18 -0
  242. package/dist/infrastructure/oracle/index.d.ts.map +1 -0
  243. package/dist/infrastructure/oracle/index.js +19 -0
  244. package/dist/infrastructure/oracle/index.js.map +1 -0
  245. package/dist/infrastructure/oracle/oracle-chain.d.ts +101 -0
  246. package/dist/infrastructure/oracle/oracle-chain.d.ts.map +1 -0
  247. package/dist/infrastructure/oracle/oracle-chain.js +163 -0
  248. package/dist/infrastructure/oracle/oracle-chain.js.map +1 -0
  249. package/dist/infrastructure/oracle/oracle-errors.d.ts +42 -0
  250. package/dist/infrastructure/oracle/oracle-errors.d.ts.map +1 -0
  251. package/dist/infrastructure/oracle/oracle-errors.js +53 -0
  252. package/dist/infrastructure/oracle/oracle-errors.js.map +1 -0
  253. package/dist/infrastructure/oracle/price-age.d.ts +38 -0
  254. package/dist/infrastructure/oracle/price-age.d.ts.map +1 -0
  255. package/dist/infrastructure/oracle/price-age.js +44 -0
  256. package/dist/infrastructure/oracle/price-age.js.map +1 -0
  257. package/dist/infrastructure/oracle/price-cache.d.ts +99 -0
  258. package/dist/infrastructure/oracle/price-cache.d.ts.map +1 -0
  259. package/dist/infrastructure/oracle/price-cache.js +173 -0
  260. package/dist/infrastructure/oracle/price-cache.js.map +1 -0
  261. package/dist/infrastructure/oracle/pyth-feed-ids.d.ts +31 -0
  262. package/dist/infrastructure/oracle/pyth-feed-ids.d.ts.map +1 -0
  263. package/dist/infrastructure/oracle/pyth-feed-ids.js +44 -0
  264. package/dist/infrastructure/oracle/pyth-feed-ids.js.map +1 -0
  265. package/dist/infrastructure/oracle/pyth-oracle.d.ts +69 -0
  266. package/dist/infrastructure/oracle/pyth-oracle.d.ts.map +1 -0
  267. package/dist/infrastructure/oracle/pyth-oracle.js +149 -0
  268. package/dist/infrastructure/oracle/pyth-oracle.js.map +1 -0
  269. package/dist/infrastructure/settings/hot-reload.d.ts +71 -0
  270. package/dist/infrastructure/settings/hot-reload.d.ts.map +1 -0
  271. package/dist/infrastructure/settings/hot-reload.js +315 -0
  272. package/dist/infrastructure/settings/hot-reload.js.map +1 -0
  273. package/dist/infrastructure/settings/index.d.ts +13 -0
  274. package/dist/infrastructure/settings/index.d.ts.map +1 -0
  275. package/dist/infrastructure/settings/index.js +10 -0
  276. package/dist/infrastructure/settings/index.js.map +1 -0
  277. package/dist/infrastructure/settings/setting-keys.d.ts +28 -0
  278. package/dist/infrastructure/settings/setting-keys.d.ts.map +1 -0
  279. package/dist/infrastructure/settings/setting-keys.js +105 -0
  280. package/dist/infrastructure/settings/setting-keys.js.map +1 -0
  281. package/dist/infrastructure/settings/settings-crypto.d.ts +39 -0
  282. package/dist/infrastructure/settings/settings-crypto.d.ts.map +1 -0
  283. package/dist/infrastructure/settings/settings-crypto.js +73 -0
  284. package/dist/infrastructure/settings/settings-crypto.js.map +1 -0
  285. package/dist/infrastructure/settings/settings-service.d.ts +82 -0
  286. package/dist/infrastructure/settings/settings-service.d.ts.map +1 -0
  287. package/dist/infrastructure/settings/settings-service.js +267 -0
  288. package/dist/infrastructure/settings/settings-service.js.map +1 -0
  289. package/dist/infrastructure/telegram/index.d.ts +6 -0
  290. package/dist/infrastructure/telegram/index.d.ts.map +1 -0
  291. package/dist/infrastructure/telegram/index.js +5 -0
  292. package/dist/infrastructure/telegram/index.js.map +1 -0
  293. package/dist/infrastructure/telegram/telegram-api.d.ts +35 -0
  294. package/dist/infrastructure/telegram/telegram-api.d.ts.map +1 -0
  295. package/dist/infrastructure/telegram/telegram-api.js +82 -0
  296. package/dist/infrastructure/telegram/telegram-api.js.map +1 -0
  297. package/dist/infrastructure/telegram/telegram-auth.d.ts +57 -0
  298. package/dist/infrastructure/telegram/telegram-auth.d.ts.map +1 -0
  299. package/dist/infrastructure/telegram/telegram-auth.js +88 -0
  300. package/dist/infrastructure/telegram/telegram-auth.js.map +1 -0
  301. package/dist/infrastructure/telegram/telegram-bot-service.d.ts +95 -0
  302. package/dist/infrastructure/telegram/telegram-bot-service.d.ts.map +1 -0
  303. package/dist/infrastructure/telegram/telegram-bot-service.js +564 -0
  304. package/dist/infrastructure/telegram/telegram-bot-service.js.map +1 -0
  305. package/dist/infrastructure/telegram/telegram-keyboard.d.ts +27 -0
  306. package/dist/infrastructure/telegram/telegram-keyboard.d.ts.map +1 -0
  307. package/dist/infrastructure/telegram/telegram-keyboard.js +52 -0
  308. package/dist/infrastructure/telegram/telegram-keyboard.js.map +1 -0
  309. package/dist/infrastructure/telegram/telegram-types.d.ts +43 -0
  310. package/dist/infrastructure/telegram/telegram-types.d.ts.map +1 -0
  311. package/dist/infrastructure/telegram/telegram-types.js +8 -0
  312. package/dist/infrastructure/telegram/telegram-types.js.map +1 -0
  313. package/dist/infrastructure/token-registry/builtin-tokens.d.ts +39 -0
  314. package/dist/infrastructure/token-registry/builtin-tokens.d.ts.map +1 -0
  315. package/dist/infrastructure/token-registry/builtin-tokens.js +135 -0
  316. package/dist/infrastructure/token-registry/builtin-tokens.js.map +1 -0
  317. package/dist/infrastructure/token-registry/index.d.ts +8 -0
  318. package/dist/infrastructure/token-registry/index.d.ts.map +1 -0
  319. package/dist/infrastructure/token-registry/index.js +8 -0
  320. package/dist/infrastructure/token-registry/index.js.map +1 -0
  321. package/dist/infrastructure/token-registry/token-registry-service.d.ts +49 -0
  322. package/dist/infrastructure/token-registry/token-registry-service.d.ts.map +1 -0
  323. package/dist/infrastructure/token-registry/token-registry-service.js +93 -0
  324. package/dist/infrastructure/token-registry/token-registry-service.js.map +1 -0
  325. package/dist/infrastructure/version/index.d.ts +5 -0
  326. package/dist/infrastructure/version/index.d.ts.map +1 -0
  327. package/dist/infrastructure/version/index.js +5 -0
  328. package/dist/infrastructure/version/index.js.map +1 -0
  329. package/dist/infrastructure/version/version-check-service.d.ts +35 -0
  330. package/dist/infrastructure/version/version-check-service.d.ts.map +1 -0
  331. package/dist/infrastructure/version/version-check-service.js +92 -0
  332. package/dist/infrastructure/version/version-check-service.js.map +1 -0
  333. package/dist/lifecycle/daemon.d.ts +103 -0
  334. package/dist/lifecycle/daemon.d.ts.map +1 -0
  335. package/dist/lifecycle/daemon.js +934 -0
  336. package/dist/lifecycle/daemon.js.map +1 -0
  337. package/dist/lifecycle/index.d.ts +9 -0
  338. package/dist/lifecycle/index.d.ts.map +1 -0
  339. package/dist/lifecycle/index.js +9 -0
  340. package/dist/lifecycle/index.js.map +1 -0
  341. package/dist/lifecycle/signal-handler.d.ts +18 -0
  342. package/dist/lifecycle/signal-handler.d.ts.map +1 -0
  343. package/dist/lifecycle/signal-handler.js +37 -0
  344. package/dist/lifecycle/signal-handler.js.map +1 -0
  345. package/dist/lifecycle/workers.d.ts +46 -0
  346. package/dist/lifecycle/workers.d.ts.map +1 -0
  347. package/dist/lifecycle/workers.js +101 -0
  348. package/dist/lifecycle/workers.js.map +1 -0
  349. package/dist/notifications/channels/discord.d.ts +10 -0
  350. package/dist/notifications/channels/discord.d.ts.map +1 -0
  351. package/dist/notifications/channels/discord.js +54 -0
  352. package/dist/notifications/channels/discord.js.map +1 -0
  353. package/dist/notifications/channels/ntfy.d.ts +13 -0
  354. package/dist/notifications/channels/ntfy.d.ts.map +1 -0
  355. package/dist/notifications/channels/ntfy.js +58 -0
  356. package/dist/notifications/channels/ntfy.js.map +1 -0
  357. package/dist/notifications/channels/slack.d.ts +10 -0
  358. package/dist/notifications/channels/slack.d.ts.map +1 -0
  359. package/dist/notifications/channels/slack.js +55 -0
  360. package/dist/notifications/channels/slack.js.map +1 -0
  361. package/dist/notifications/channels/telegram.d.ts +10 -0
  362. package/dist/notifications/channels/telegram.d.ts.map +1 -0
  363. package/dist/notifications/channels/telegram.js +40 -0
  364. package/dist/notifications/channels/telegram.js.map +1 -0
  365. package/dist/notifications/index.d.ts +9 -0
  366. package/dist/notifications/index.d.ts.map +1 -0
  367. package/dist/notifications/index.js +7 -0
  368. package/dist/notifications/index.js.map +1 -0
  369. package/dist/notifications/notification-service.d.ts +75 -0
  370. package/dist/notifications/notification-service.d.ts.map +1 -0
  371. package/dist/notifications/notification-service.js +213 -0
  372. package/dist/notifications/notification-service.js.map +1 -0
  373. package/dist/notifications/templates/message-templates.d.ts +12 -0
  374. package/dist/notifications/templates/message-templates.d.ts.map +1 -0
  375. package/dist/notifications/templates/message-templates.js +22 -0
  376. package/dist/notifications/templates/message-templates.js.map +1 -0
  377. package/dist/pipeline/database-policy-engine.d.ts +286 -0
  378. package/dist/pipeline/database-policy-engine.d.ts.map +1 -0
  379. package/dist/pipeline/database-policy-engine.js +992 -0
  380. package/dist/pipeline/database-policy-engine.js.map +1 -0
  381. package/dist/pipeline/default-policy-engine.d.ts +26 -0
  382. package/dist/pipeline/default-policy-engine.d.ts.map +1 -0
  383. package/dist/pipeline/default-policy-engine.js +25 -0
  384. package/dist/pipeline/default-policy-engine.js.map +1 -0
  385. package/dist/pipeline/index.d.ts +9 -0
  386. package/dist/pipeline/index.d.ts.map +1 -0
  387. package/dist/pipeline/index.js +9 -0
  388. package/dist/pipeline/index.js.map +1 -0
  389. package/dist/pipeline/network-resolver.d.ts +22 -0
  390. package/dist/pipeline/network-resolver.d.ts.map +1 -0
  391. package/dist/pipeline/network-resolver.js +32 -0
  392. package/dist/pipeline/network-resolver.js.map +1 -0
  393. package/dist/pipeline/pipeline.d.ts +72 -0
  394. package/dist/pipeline/pipeline.d.ts.map +1 -0
  395. package/dist/pipeline/pipeline.js +87 -0
  396. package/dist/pipeline/pipeline.js.map +1 -0
  397. package/dist/pipeline/resolve-effective-amount-usd.d.ts +41 -0
  398. package/dist/pipeline/resolve-effective-amount-usd.d.ts.map +1 -0
  399. package/dist/pipeline/resolve-effective-amount-usd.js +208 -0
  400. package/dist/pipeline/resolve-effective-amount-usd.js.map +1 -0
  401. package/dist/pipeline/sign-only.d.ts +99 -0
  402. package/dist/pipeline/sign-only.d.ts.map +1 -0
  403. package/dist/pipeline/sign-only.js +267 -0
  404. package/dist/pipeline/sign-only.js.map +1 -0
  405. package/dist/pipeline/sleep.d.ts +6 -0
  406. package/dist/pipeline/sleep.d.ts.map +1 -0
  407. package/dist/pipeline/sleep.js +8 -0
  408. package/dist/pipeline/sleep.js.map +1 -0
  409. package/dist/pipeline/stages.d.ts +82 -0
  410. package/dist/pipeline/stages.d.ts.map +1 -0
  411. package/dist/pipeline/stages.js +784 -0
  412. package/dist/pipeline/stages.js.map +1 -0
  413. package/dist/services/autostop-rules.d.ts +79 -0
  414. package/dist/services/autostop-rules.d.ts.map +1 -0
  415. package/dist/services/autostop-rules.js +174 -0
  416. package/dist/services/autostop-rules.js.map +1 -0
  417. package/dist/services/autostop-service.d.ts +82 -0
  418. package/dist/services/autostop-service.d.ts.map +1 -0
  419. package/dist/services/autostop-service.js +223 -0
  420. package/dist/services/autostop-service.js.map +1 -0
  421. package/dist/services/kill-switch-service.d.ts +118 -0
  422. package/dist/services/kill-switch-service.d.ts.map +1 -0
  423. package/dist/services/kill-switch-service.js +291 -0
  424. package/dist/services/kill-switch-service.js.map +1 -0
  425. package/dist/services/monitoring/balance-monitor-service.d.ts +65 -0
  426. package/dist/services/monitoring/balance-monitor-service.d.ts.map +1 -0
  427. package/dist/services/monitoring/balance-monitor-service.js +207 -0
  428. package/dist/services/monitoring/balance-monitor-service.js.map +1 -0
  429. package/dist/services/wc-session-service.d.ts +123 -0
  430. package/dist/services/wc-session-service.d.ts.map +1 -0
  431. package/dist/services/wc-session-service.js +363 -0
  432. package/dist/services/wc-session-service.js.map +1 -0
  433. package/dist/services/wc-signing-bridge.d.ts +60 -0
  434. package/dist/services/wc-signing-bridge.d.ts.map +1 -0
  435. package/dist/services/wc-signing-bridge.js +334 -0
  436. package/dist/services/wc-signing-bridge.js.map +1 -0
  437. package/dist/services/wc-storage.d.ts +32 -0
  438. package/dist/services/wc-storage.d.ts.map +1 -0
  439. package/dist/services/wc-storage.js +64 -0
  440. package/dist/services/wc-storage.js.map +1 -0
  441. package/dist/services/x402/payment-signer.d.ts +88 -0
  442. package/dist/services/x402/payment-signer.d.ts.map +1 -0
  443. package/dist/services/x402/payment-signer.js +311 -0
  444. package/dist/services/x402/payment-signer.js.map +1 -0
  445. package/dist/services/x402/ssrf-guard.d.ts +27 -0
  446. package/dist/services/x402/ssrf-guard.d.ts.map +1 -0
  447. package/dist/services/x402/ssrf-guard.js +236 -0
  448. package/dist/services/x402/ssrf-guard.js.map +1 -0
  449. package/dist/services/x402/x402-domain-policy.d.ts +50 -0
  450. package/dist/services/x402/x402-domain-policy.d.ts.map +1 -0
  451. package/dist/services/x402/x402-domain-policy.js +78 -0
  452. package/dist/services/x402/x402-domain-policy.js.map +1 -0
  453. package/dist/services/x402/x402-handler.d.ts +71 -0
  454. package/dist/services/x402/x402-handler.d.ts.map +1 -0
  455. package/dist/services/x402/x402-handler.js +195 -0
  456. package/dist/services/x402/x402-handler.js.map +1 -0
  457. package/dist/services/x402/x402-usd-resolver.d.ts +26 -0
  458. package/dist/services/x402/x402-usd-resolver.d.ts.map +1 -0
  459. package/dist/services/x402/x402-usd-resolver.js +79 -0
  460. package/dist/services/x402/x402-usd-resolver.js.map +1 -0
  461. package/dist/workflow/approval-workflow.d.ts +103 -0
  462. package/dist/workflow/approval-workflow.d.ts.map +1 -0
  463. package/dist/workflow/approval-workflow.js +202 -0
  464. package/dist/workflow/approval-workflow.js.map +1 -0
  465. package/dist/workflow/delay-queue.d.ts +78 -0
  466. package/dist/workflow/delay-queue.d.ts.map +1 -0
  467. package/dist/workflow/delay-queue.js +174 -0
  468. package/dist/workflow/delay-queue.js.map +1 -0
  469. package/dist/workflow/index.d.ts +11 -0
  470. package/dist/workflow/index.d.ts.map +1 -0
  471. package/dist/workflow/index.js +9 -0
  472. package/dist/workflow/index.js.map +1 -0
  473. package/dist/workflow/owner-state.d.ts +97 -0
  474. package/dist/workflow/owner-state.d.ts.map +1 -0
  475. package/dist/workflow/owner-state.js +168 -0
  476. package/dist/workflow/owner-state.js.map +1 -0
  477. package/package.json +71 -0
  478. package/public/admin/assets/index-BPoUSH8W.css +1 -0
  479. package/public/admin/assets/index-CDi1qoXB.js +1 -0
  480. package/public/admin/index.html +13 -0
@@ -0,0 +1,2281 @@
1
+ /**
2
+ * Shared OpenAPI Zod response schemas and error code mapping.
3
+ *
4
+ * This file provides:
5
+ * 1. Response schemas for all 18 routes (using z from @hono/zod-openapi)
6
+ * 2. Error code -> OpenAPI response mapping via buildErrorResponses()
7
+ * 3. Re-exported request schemas with .openapi() metadata
8
+ *
9
+ * @see docs/37-rest-api-complete-spec.md
10
+ */
11
+ import { z } from '@hono/zod-openapi';
12
+ import type { ErrorCode } from '@waiaas/core';
13
+ export declare const ErrorResponseSchema: z.ZodObject<{
14
+ code: z.ZodString;
15
+ message: z.ZodString;
16
+ retryable: z.ZodBoolean;
17
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18
+ requestId: z.ZodOptional<z.ZodString>;
19
+ hint: z.ZodOptional<z.ZodString>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ message: string;
22
+ code: string;
23
+ retryable: boolean;
24
+ details?: Record<string, unknown> | undefined;
25
+ requestId?: string | undefined;
26
+ hint?: string | undefined;
27
+ }, {
28
+ message: string;
29
+ code: string;
30
+ retryable: boolean;
31
+ details?: Record<string, unknown> | undefined;
32
+ requestId?: string | undefined;
33
+ hint?: string | undefined;
34
+ }>;
35
+ export declare const HealthResponseSchema: z.ZodObject<{
36
+ status: z.ZodString;
37
+ version: z.ZodString;
38
+ latestVersion: z.ZodNullable<z.ZodString>;
39
+ updateAvailable: z.ZodBoolean;
40
+ schemaVersion: z.ZodNumber;
41
+ uptime: z.ZodNumber;
42
+ timestamp: z.ZodNumber;
43
+ }, "strip", z.ZodTypeAny, {
44
+ status: string;
45
+ timestamp: number;
46
+ version: string;
47
+ latestVersion: string | null;
48
+ updateAvailable: boolean;
49
+ schemaVersion: number;
50
+ uptime: number;
51
+ }, {
52
+ status: string;
53
+ timestamp: number;
54
+ version: string;
55
+ latestVersion: string | null;
56
+ updateAvailable: boolean;
57
+ schemaVersion: number;
58
+ uptime: number;
59
+ }>;
60
+ export declare const WalletCrudResponseSchema: z.ZodObject<{
61
+ id: z.ZodString;
62
+ name: z.ZodString;
63
+ chain: z.ZodString;
64
+ network: z.ZodString;
65
+ environment: z.ZodString;
66
+ publicKey: z.ZodString;
67
+ status: z.ZodString;
68
+ ownerAddress: z.ZodNullable<z.ZodString>;
69
+ ownerState: z.ZodEnum<["NONE", "GRACE", "LOCKED"]>;
70
+ createdAt: z.ZodNumber;
71
+ }, "strip", z.ZodTypeAny, {
72
+ id: string;
73
+ name: string;
74
+ chain: string;
75
+ environment: string;
76
+ publicKey: string;
77
+ status: string;
78
+ ownerAddress: string | null;
79
+ createdAt: number;
80
+ network: string;
81
+ ownerState: "LOCKED" | "NONE" | "GRACE";
82
+ }, {
83
+ id: string;
84
+ name: string;
85
+ chain: string;
86
+ environment: string;
87
+ publicKey: string;
88
+ status: string;
89
+ ownerAddress: string | null;
90
+ createdAt: number;
91
+ network: string;
92
+ ownerState: "LOCKED" | "NONE" | "GRACE";
93
+ }>;
94
+ export declare const WalletOwnerResponseSchema: z.ZodObject<{
95
+ id: z.ZodString;
96
+ name: z.ZodString;
97
+ chain: z.ZodString;
98
+ network: z.ZodString;
99
+ environment: z.ZodString;
100
+ publicKey: z.ZodString;
101
+ status: z.ZodString;
102
+ ownerAddress: z.ZodNullable<z.ZodString>;
103
+ ownerVerified: z.ZodNullable<z.ZodBoolean>;
104
+ updatedAt: z.ZodNullable<z.ZodNumber>;
105
+ }, "strip", z.ZodTypeAny, {
106
+ id: string;
107
+ name: string;
108
+ chain: string;
109
+ environment: string;
110
+ publicKey: string;
111
+ status: string;
112
+ ownerAddress: string | null;
113
+ ownerVerified: boolean | null;
114
+ updatedAt: number | null;
115
+ network: string;
116
+ }, {
117
+ id: string;
118
+ name: string;
119
+ chain: string;
120
+ environment: string;
121
+ publicKey: string;
122
+ status: string;
123
+ ownerAddress: string | null;
124
+ ownerVerified: boolean | null;
125
+ updatedAt: number | null;
126
+ network: string;
127
+ }>;
128
+ export declare const OwnerVerifyResponseSchema: z.ZodObject<{
129
+ ownerState: z.ZodEnum<["NONE", "GRACE", "LOCKED"]>;
130
+ ownerAddress: z.ZodNullable<z.ZodString>;
131
+ ownerVerified: z.ZodBoolean;
132
+ }, "strip", z.ZodTypeAny, {
133
+ ownerAddress: string | null;
134
+ ownerVerified: boolean;
135
+ ownerState: "LOCKED" | "NONE" | "GRACE";
136
+ }, {
137
+ ownerAddress: string | null;
138
+ ownerVerified: boolean;
139
+ ownerState: "LOCKED" | "NONE" | "GRACE";
140
+ }>;
141
+ export declare const WalletAddressResponseSchema: z.ZodObject<{
142
+ walletId: z.ZodString;
143
+ chain: z.ZodString;
144
+ network: z.ZodString;
145
+ address: z.ZodString;
146
+ }, "strip", z.ZodTypeAny, {
147
+ chain: string;
148
+ walletId: string;
149
+ network: string;
150
+ address: string;
151
+ }, {
152
+ chain: string;
153
+ walletId: string;
154
+ network: string;
155
+ address: string;
156
+ }>;
157
+ export declare const WalletBalanceResponseSchema: z.ZodObject<{
158
+ walletId: z.ZodString;
159
+ chain: z.ZodString;
160
+ network: z.ZodString;
161
+ address: z.ZodString;
162
+ balance: z.ZodString;
163
+ decimals: z.ZodNumber;
164
+ symbol: z.ZodString;
165
+ displayBalance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
166
+ displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ symbol: string;
169
+ chain: string;
170
+ walletId: string;
171
+ network: string;
172
+ address: string;
173
+ decimals: number;
174
+ balance: string;
175
+ displayBalance?: string | null | undefined;
176
+ displayCurrency?: string | null | undefined;
177
+ }, {
178
+ symbol: string;
179
+ chain: string;
180
+ walletId: string;
181
+ network: string;
182
+ address: string;
183
+ decimals: number;
184
+ balance: string;
185
+ displayBalance?: string | null | undefined;
186
+ displayCurrency?: string | null | undefined;
187
+ }>;
188
+ export declare const SessionCreateResponseSchema: z.ZodObject<{
189
+ id: z.ZodString;
190
+ token: z.ZodString;
191
+ expiresAt: z.ZodNumber;
192
+ walletId: z.ZodString;
193
+ }, "strip", z.ZodTypeAny, {
194
+ id: string;
195
+ walletId: string;
196
+ expiresAt: number;
197
+ token: string;
198
+ }, {
199
+ id: string;
200
+ walletId: string;
201
+ expiresAt: number;
202
+ token: string;
203
+ }>;
204
+ export declare const SessionListItemSchema: z.ZodObject<{
205
+ id: z.ZodString;
206
+ walletId: z.ZodString;
207
+ walletName: z.ZodNullable<z.ZodString>;
208
+ status: z.ZodString;
209
+ renewalCount: z.ZodNumber;
210
+ maxRenewals: z.ZodNumber;
211
+ expiresAt: z.ZodNumber;
212
+ absoluteExpiresAt: z.ZodNumber;
213
+ createdAt: z.ZodNumber;
214
+ lastRenewedAt: z.ZodNullable<z.ZodNumber>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ id: string;
217
+ status: string;
218
+ createdAt: number;
219
+ walletId: string;
220
+ expiresAt: number;
221
+ renewalCount: number;
222
+ maxRenewals: number;
223
+ lastRenewedAt: number | null;
224
+ absoluteExpiresAt: number;
225
+ walletName: string | null;
226
+ }, {
227
+ id: string;
228
+ status: string;
229
+ createdAt: number;
230
+ walletId: string;
231
+ expiresAt: number;
232
+ renewalCount: number;
233
+ maxRenewals: number;
234
+ lastRenewedAt: number | null;
235
+ absoluteExpiresAt: number;
236
+ walletName: string | null;
237
+ }>;
238
+ export declare const SessionRevokeResponseSchema: z.ZodObject<{
239
+ id: z.ZodString;
240
+ status: z.ZodString;
241
+ message: z.ZodOptional<z.ZodString>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ id: string;
244
+ status: string;
245
+ message?: string | undefined;
246
+ }, {
247
+ id: string;
248
+ status: string;
249
+ message?: string | undefined;
250
+ }>;
251
+ export declare const SessionRenewResponseSchema: z.ZodObject<{
252
+ id: z.ZodString;
253
+ token: z.ZodString;
254
+ expiresAt: z.ZodNumber;
255
+ renewalCount: z.ZodNumber;
256
+ }, "strip", z.ZodTypeAny, {
257
+ id: string;
258
+ expiresAt: number;
259
+ renewalCount: number;
260
+ token: string;
261
+ }, {
262
+ id: string;
263
+ expiresAt: number;
264
+ renewalCount: number;
265
+ token: string;
266
+ }>;
267
+ export declare const TxSendResponseSchema: z.ZodObject<{
268
+ id: z.ZodString;
269
+ status: z.ZodString;
270
+ }, "strip", z.ZodTypeAny, {
271
+ id: string;
272
+ status: string;
273
+ }, {
274
+ id: string;
275
+ status: string;
276
+ }>;
277
+ export declare const TxDetailResponseSchema: z.ZodObject<{
278
+ id: z.ZodString;
279
+ walletId: z.ZodString;
280
+ type: z.ZodString;
281
+ status: z.ZodString;
282
+ tier: z.ZodNullable<z.ZodString>;
283
+ chain: z.ZodString;
284
+ network: z.ZodNullable<z.ZodString>;
285
+ toAddress: z.ZodNullable<z.ZodString>;
286
+ amount: z.ZodNullable<z.ZodString>;
287
+ txHash: z.ZodNullable<z.ZodString>;
288
+ error: z.ZodNullable<z.ZodString>;
289
+ createdAt: z.ZodNullable<z.ZodNumber>;
290
+ displayAmount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
291
+ displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ id: string;
294
+ chain: string;
295
+ status: string;
296
+ createdAt: number | null;
297
+ walletId: string;
298
+ txHash: string | null;
299
+ type: string;
300
+ amount: string | null;
301
+ toAddress: string | null;
302
+ tier: string | null;
303
+ error: string | null;
304
+ network: string | null;
305
+ displayCurrency?: string | null | undefined;
306
+ displayAmount?: string | null | undefined;
307
+ }, {
308
+ id: string;
309
+ chain: string;
310
+ status: string;
311
+ createdAt: number | null;
312
+ walletId: string;
313
+ txHash: string | null;
314
+ type: string;
315
+ amount: string | null;
316
+ toAddress: string | null;
317
+ tier: string | null;
318
+ error: string | null;
319
+ network: string | null;
320
+ displayCurrency?: string | null | undefined;
321
+ displayAmount?: string | null | undefined;
322
+ }>;
323
+ export declare const TxApproveResponseSchema: z.ZodObject<{
324
+ id: z.ZodString;
325
+ status: z.ZodString;
326
+ approvedAt: z.ZodNumber;
327
+ }, "strip", z.ZodTypeAny, {
328
+ id: string;
329
+ status: string;
330
+ approvedAt: number;
331
+ }, {
332
+ id: string;
333
+ status: string;
334
+ approvedAt: number;
335
+ }>;
336
+ export declare const TxRejectResponseSchema: z.ZodObject<{
337
+ id: z.ZodString;
338
+ status: z.ZodString;
339
+ rejectedAt: z.ZodNumber;
340
+ }, "strip", z.ZodTypeAny, {
341
+ id: string;
342
+ status: string;
343
+ rejectedAt: number;
344
+ }, {
345
+ id: string;
346
+ status: string;
347
+ rejectedAt: number;
348
+ }>;
349
+ export declare const TxCancelResponseSchema: z.ZodObject<{
350
+ id: z.ZodString;
351
+ status: z.ZodString;
352
+ }, "strip", z.ZodTypeAny, {
353
+ id: string;
354
+ status: string;
355
+ }, {
356
+ id: string;
357
+ status: string;
358
+ }>;
359
+ export declare const PolicyResponseSchema: z.ZodObject<{
360
+ id: z.ZodString;
361
+ walletId: z.ZodNullable<z.ZodString>;
362
+ type: z.ZodString;
363
+ rules: z.ZodRecord<z.ZodString, z.ZodUnknown>;
364
+ priority: z.ZodNumber;
365
+ enabled: z.ZodBoolean;
366
+ network: z.ZodNullable<z.ZodString>;
367
+ createdAt: z.ZodNumber;
368
+ updatedAt: z.ZodNumber;
369
+ }, "strip", z.ZodTypeAny, {
370
+ id: string;
371
+ createdAt: number;
372
+ updatedAt: number;
373
+ walletId: string | null;
374
+ type: string;
375
+ network: string | null;
376
+ rules: Record<string, unknown>;
377
+ priority: number;
378
+ enabled: boolean;
379
+ }, {
380
+ id: string;
381
+ createdAt: number;
382
+ updatedAt: number;
383
+ walletId: string | null;
384
+ type: string;
385
+ network: string | null;
386
+ rules: Record<string, unknown>;
387
+ priority: number;
388
+ enabled: boolean;
389
+ }>;
390
+ export declare const PolicyDeleteResponseSchema: z.ZodObject<{
391
+ id: z.ZodString;
392
+ deleted: z.ZodBoolean;
393
+ }, "strip", z.ZodTypeAny, {
394
+ id: string;
395
+ deleted: boolean;
396
+ }, {
397
+ id: string;
398
+ deleted: boolean;
399
+ }>;
400
+ /**
401
+ * Build OpenAPI error response entries from a list of error codes.
402
+ * Groups error codes by httpStatus, merging multiple codes into a single
403
+ * response entry with description listing which codes can occur.
404
+ *
405
+ * @param codes - Array of error code keys from ERROR_CODES
406
+ * @returns Record of HTTP status code string -> OpenAPI response definition
407
+ */
408
+ export declare function buildErrorResponses(codes: ErrorCode[]): Record<string, {
409
+ description: string;
410
+ content: {
411
+ 'application/json': {
412
+ schema: typeof ErrorResponseSchema;
413
+ };
414
+ };
415
+ }>;
416
+ export declare const CreateWalletRequestOpenAPI: z.ZodObject<{
417
+ name: z.ZodString;
418
+ chain: z.ZodDefault<z.ZodEnum<["solana", "ethereum"]>>;
419
+ environment: z.ZodDefault<z.ZodEnum<["testnet", "mainnet"]>>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ name: string;
422
+ chain: "solana" | "ethereum";
423
+ environment: "mainnet" | "testnet";
424
+ }, {
425
+ name: string;
426
+ chain?: "solana" | "ethereum" | undefined;
427
+ environment?: "mainnet" | "testnet" | undefined;
428
+ }>;
429
+ export declare const CreateSessionRequestOpenAPI: z.ZodObject<{
430
+ walletId: z.ZodString;
431
+ ttl: z.ZodOptional<z.ZodNumber>;
432
+ constraints: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
433
+ }, "strip", z.ZodTypeAny, {
434
+ walletId: string;
435
+ constraints?: Record<string, unknown> | null | undefined;
436
+ ttl?: number | undefined;
437
+ }, {
438
+ walletId: string;
439
+ constraints?: Record<string, unknown> | null | undefined;
440
+ ttl?: number | undefined;
441
+ }>;
442
+ export declare const SendTransactionRequestOpenAPI: z.ZodObject<{
443
+ to: z.ZodString;
444
+ amount: z.ZodString;
445
+ memo: z.ZodOptional<z.ZodString>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ amount: string;
448
+ to: string;
449
+ memo?: string | undefined;
450
+ }, {
451
+ amount: string;
452
+ to: string;
453
+ memo?: string | undefined;
454
+ }>;
455
+ export declare const CreatePolicyRequestOpenAPI: z.ZodEffects<z.ZodObject<{
456
+ walletId: z.ZodOptional<z.ZodString>;
457
+ type: z.ZodEnum<["SPENDING_LIMIT", "WHITELIST", "TIME_RESTRICTION", "RATE_LIMIT", "ALLOWED_TOKENS", "CONTRACT_WHITELIST", "METHOD_WHITELIST", "APPROVED_SPENDERS", "APPROVE_AMOUNT_LIMIT", "APPROVE_TIER_OVERRIDE", "ALLOWED_NETWORKS", "X402_ALLOWED_DOMAINS"]>;
458
+ rules: z.ZodRecord<z.ZodString, z.ZodUnknown>;
459
+ priority: z.ZodDefault<z.ZodNumber>;
460
+ enabled: z.ZodDefault<z.ZodBoolean>;
461
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
462
+ }, "strip", z.ZodTypeAny, {
463
+ type: "SPENDING_LIMIT" | "WHITELIST" | "TIME_RESTRICTION" | "RATE_LIMIT" | "ALLOWED_TOKENS" | "CONTRACT_WHITELIST" | "METHOD_WHITELIST" | "APPROVED_SPENDERS" | "APPROVE_AMOUNT_LIMIT" | "APPROVE_TIER_OVERRIDE" | "ALLOWED_NETWORKS" | "X402_ALLOWED_DOMAINS";
464
+ enabled: boolean;
465
+ rules: Record<string, unknown>;
466
+ priority: number;
467
+ walletId?: string | undefined;
468
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
469
+ }, {
470
+ type: "SPENDING_LIMIT" | "WHITELIST" | "TIME_RESTRICTION" | "RATE_LIMIT" | "ALLOWED_TOKENS" | "CONTRACT_WHITELIST" | "METHOD_WHITELIST" | "APPROVED_SPENDERS" | "APPROVE_AMOUNT_LIMIT" | "APPROVE_TIER_OVERRIDE" | "ALLOWED_NETWORKS" | "X402_ALLOWED_DOMAINS";
471
+ rules: Record<string, unknown>;
472
+ walletId?: string | undefined;
473
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
474
+ enabled?: boolean | undefined;
475
+ priority?: number | undefined;
476
+ }>, {
477
+ type: "SPENDING_LIMIT" | "WHITELIST" | "TIME_RESTRICTION" | "RATE_LIMIT" | "ALLOWED_TOKENS" | "CONTRACT_WHITELIST" | "METHOD_WHITELIST" | "APPROVED_SPENDERS" | "APPROVE_AMOUNT_LIMIT" | "APPROVE_TIER_OVERRIDE" | "ALLOWED_NETWORKS" | "X402_ALLOWED_DOMAINS";
478
+ enabled: boolean;
479
+ rules: Record<string, unknown>;
480
+ priority: number;
481
+ walletId?: string | undefined;
482
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
483
+ }, {
484
+ type: "SPENDING_LIMIT" | "WHITELIST" | "TIME_RESTRICTION" | "RATE_LIMIT" | "ALLOWED_TOKENS" | "CONTRACT_WHITELIST" | "METHOD_WHITELIST" | "APPROVED_SPENDERS" | "APPROVE_AMOUNT_LIMIT" | "APPROVE_TIER_OVERRIDE" | "ALLOWED_NETWORKS" | "X402_ALLOWED_DOMAINS";
485
+ rules: Record<string, unknown>;
486
+ walletId?: string | undefined;
487
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
488
+ enabled?: boolean | undefined;
489
+ priority?: number | undefined;
490
+ }>;
491
+ export declare const UpdatePolicyRequestOpenAPI: z.ZodObject<{
492
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
493
+ priority: z.ZodOptional<z.ZodNumber>;
494
+ enabled: z.ZodOptional<z.ZodBoolean>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ enabled?: boolean | undefined;
497
+ rules?: Record<string, unknown> | undefined;
498
+ priority?: number | undefined;
499
+ }, {
500
+ enabled?: boolean | undefined;
501
+ rules?: Record<string, unknown> | undefined;
502
+ priority?: number | undefined;
503
+ }>;
504
+ export declare const TransferRequestOpenAPI: z.ZodObject<{
505
+ type: z.ZodLiteral<"TRANSFER">;
506
+ to: z.ZodString;
507
+ amount: z.ZodString;
508
+ memo: z.ZodOptional<z.ZodString>;
509
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
510
+ }, "strip", z.ZodTypeAny, {
511
+ type: "TRANSFER";
512
+ amount: string;
513
+ to: string;
514
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
515
+ memo?: string | undefined;
516
+ }, {
517
+ type: "TRANSFER";
518
+ amount: string;
519
+ to: string;
520
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
521
+ memo?: string | undefined;
522
+ }>;
523
+ export declare const TokenTransferRequestOpenAPI: z.ZodObject<{
524
+ type: z.ZodLiteral<"TOKEN_TRANSFER">;
525
+ to: z.ZodString;
526
+ amount: z.ZodString;
527
+ token: z.ZodObject<{
528
+ address: z.ZodString;
529
+ decimals: z.ZodNumber;
530
+ symbol: z.ZodString;
531
+ }, "strip", z.ZodTypeAny, {
532
+ symbol: string;
533
+ address: string;
534
+ decimals: number;
535
+ }, {
536
+ symbol: string;
537
+ address: string;
538
+ decimals: number;
539
+ }>;
540
+ memo: z.ZodOptional<z.ZodString>;
541
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
542
+ }, "strip", z.ZodTypeAny, {
543
+ type: "TOKEN_TRANSFER";
544
+ amount: string;
545
+ to: string;
546
+ token: {
547
+ symbol: string;
548
+ address: string;
549
+ decimals: number;
550
+ };
551
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
552
+ memo?: string | undefined;
553
+ }, {
554
+ type: "TOKEN_TRANSFER";
555
+ amount: string;
556
+ to: string;
557
+ token: {
558
+ symbol: string;
559
+ address: string;
560
+ decimals: number;
561
+ };
562
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
563
+ memo?: string | undefined;
564
+ }>;
565
+ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
566
+ type: z.ZodLiteral<"CONTRACT_CALL">;
567
+ to: z.ZodString;
568
+ calldata: z.ZodOptional<z.ZodString>;
569
+ abi: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
570
+ value: z.ZodOptional<z.ZodString>;
571
+ programId: z.ZodOptional<z.ZodString>;
572
+ instructionData: z.ZodOptional<z.ZodString>;
573
+ accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
574
+ pubkey: z.ZodString;
575
+ isSigner: z.ZodBoolean;
576
+ isWritable: z.ZodBoolean;
577
+ }, "strip", z.ZodTypeAny, {
578
+ pubkey: string;
579
+ isSigner: boolean;
580
+ isWritable: boolean;
581
+ }, {
582
+ pubkey: string;
583
+ isSigner: boolean;
584
+ isWritable: boolean;
585
+ }>, "many">>;
586
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
587
+ }, "strip", z.ZodTypeAny, {
588
+ type: "CONTRACT_CALL";
589
+ to: string;
590
+ value?: string | undefined;
591
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
592
+ calldata?: string | undefined;
593
+ abi?: Record<string, unknown>[] | undefined;
594
+ programId?: string | undefined;
595
+ instructionData?: string | undefined;
596
+ accounts?: {
597
+ pubkey: string;
598
+ isSigner: boolean;
599
+ isWritable: boolean;
600
+ }[] | undefined;
601
+ }, {
602
+ type: "CONTRACT_CALL";
603
+ to: string;
604
+ value?: string | undefined;
605
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
606
+ calldata?: string | undefined;
607
+ abi?: Record<string, unknown>[] | undefined;
608
+ programId?: string | undefined;
609
+ instructionData?: string | undefined;
610
+ accounts?: {
611
+ pubkey: string;
612
+ isSigner: boolean;
613
+ isWritable: boolean;
614
+ }[] | undefined;
615
+ }>;
616
+ export declare const ApproveRequestOpenAPI: z.ZodObject<{
617
+ type: z.ZodLiteral<"APPROVE">;
618
+ spender: z.ZodString;
619
+ token: z.ZodObject<{
620
+ address: z.ZodString;
621
+ decimals: z.ZodNumber;
622
+ symbol: z.ZodString;
623
+ }, "strip", z.ZodTypeAny, {
624
+ symbol: string;
625
+ address: string;
626
+ decimals: number;
627
+ }, {
628
+ symbol: string;
629
+ address: string;
630
+ decimals: number;
631
+ }>;
632
+ amount: z.ZodString;
633
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
634
+ }, "strip", z.ZodTypeAny, {
635
+ type: "APPROVE";
636
+ amount: string;
637
+ token: {
638
+ symbol: string;
639
+ address: string;
640
+ decimals: number;
641
+ };
642
+ spender: string;
643
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
644
+ }, {
645
+ type: "APPROVE";
646
+ amount: string;
647
+ token: {
648
+ symbol: string;
649
+ address: string;
650
+ decimals: number;
651
+ };
652
+ spender: string;
653
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
654
+ }>;
655
+ export declare const BatchRequestOpenAPI: z.ZodObject<{
656
+ type: z.ZodLiteral<"BATCH">;
657
+ instructions: z.ZodArray<z.ZodUnion<[z.ZodObject<Omit<{
658
+ type: z.ZodLiteral<"TRANSFER">;
659
+ to: z.ZodString;
660
+ amount: z.ZodString;
661
+ memo: z.ZodOptional<z.ZodString>;
662
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
663
+ }, "type">, "strip", z.ZodTypeAny, {
664
+ amount: string;
665
+ to: string;
666
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
667
+ memo?: string | undefined;
668
+ }, {
669
+ amount: string;
670
+ to: string;
671
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
672
+ memo?: string | undefined;
673
+ }>, z.ZodObject<Omit<{
674
+ type: z.ZodLiteral<"TOKEN_TRANSFER">;
675
+ to: z.ZodString;
676
+ amount: z.ZodString;
677
+ token: z.ZodObject<{
678
+ address: z.ZodString;
679
+ decimals: z.ZodNumber;
680
+ symbol: z.ZodString;
681
+ }, "strip", z.ZodTypeAny, {
682
+ symbol: string;
683
+ address: string;
684
+ decimals: number;
685
+ }, {
686
+ symbol: string;
687
+ address: string;
688
+ decimals: number;
689
+ }>;
690
+ memo: z.ZodOptional<z.ZodString>;
691
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
692
+ }, "type">, "strip", z.ZodTypeAny, {
693
+ amount: string;
694
+ to: string;
695
+ token: {
696
+ symbol: string;
697
+ address: string;
698
+ decimals: number;
699
+ };
700
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
701
+ memo?: string | undefined;
702
+ }, {
703
+ amount: string;
704
+ to: string;
705
+ token: {
706
+ symbol: string;
707
+ address: string;
708
+ decimals: number;
709
+ };
710
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
711
+ memo?: string | undefined;
712
+ }>, z.ZodObject<Omit<{
713
+ type: z.ZodLiteral<"CONTRACT_CALL">;
714
+ to: z.ZodString;
715
+ calldata: z.ZodOptional<z.ZodString>;
716
+ abi: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
717
+ value: z.ZodOptional<z.ZodString>;
718
+ programId: z.ZodOptional<z.ZodString>;
719
+ instructionData: z.ZodOptional<z.ZodString>;
720
+ accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
721
+ pubkey: z.ZodString;
722
+ isSigner: z.ZodBoolean;
723
+ isWritable: z.ZodBoolean;
724
+ }, "strip", z.ZodTypeAny, {
725
+ pubkey: string;
726
+ isSigner: boolean;
727
+ isWritable: boolean;
728
+ }, {
729
+ pubkey: string;
730
+ isSigner: boolean;
731
+ isWritable: boolean;
732
+ }>, "many">>;
733
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
734
+ }, "type">, "strip", z.ZodTypeAny, {
735
+ to: string;
736
+ value?: string | undefined;
737
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
738
+ calldata?: string | undefined;
739
+ abi?: Record<string, unknown>[] | undefined;
740
+ programId?: string | undefined;
741
+ instructionData?: string | undefined;
742
+ accounts?: {
743
+ pubkey: string;
744
+ isSigner: boolean;
745
+ isWritable: boolean;
746
+ }[] | undefined;
747
+ }, {
748
+ to: string;
749
+ value?: string | undefined;
750
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
751
+ calldata?: string | undefined;
752
+ abi?: Record<string, unknown>[] | undefined;
753
+ programId?: string | undefined;
754
+ instructionData?: string | undefined;
755
+ accounts?: {
756
+ pubkey: string;
757
+ isSigner: boolean;
758
+ isWritable: boolean;
759
+ }[] | undefined;
760
+ }>, z.ZodObject<Omit<{
761
+ type: z.ZodLiteral<"APPROVE">;
762
+ spender: z.ZodString;
763
+ token: z.ZodObject<{
764
+ address: z.ZodString;
765
+ decimals: z.ZodNumber;
766
+ symbol: z.ZodString;
767
+ }, "strip", z.ZodTypeAny, {
768
+ symbol: string;
769
+ address: string;
770
+ decimals: number;
771
+ }, {
772
+ symbol: string;
773
+ address: string;
774
+ decimals: number;
775
+ }>;
776
+ amount: z.ZodString;
777
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
778
+ }, "type">, "strip", z.ZodTypeAny, {
779
+ amount: string;
780
+ token: {
781
+ symbol: string;
782
+ address: string;
783
+ decimals: number;
784
+ };
785
+ spender: string;
786
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
787
+ }, {
788
+ amount: string;
789
+ token: {
790
+ symbol: string;
791
+ address: string;
792
+ decimals: number;
793
+ };
794
+ spender: string;
795
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
796
+ }>]>, "many">;
797
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
798
+ }, "strip", z.ZodTypeAny, {
799
+ type: "BATCH";
800
+ instructions: ({
801
+ amount: string;
802
+ to: string;
803
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
804
+ memo?: string | undefined;
805
+ } | {
806
+ amount: string;
807
+ to: string;
808
+ token: {
809
+ symbol: string;
810
+ address: string;
811
+ decimals: number;
812
+ };
813
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
814
+ memo?: string | undefined;
815
+ } | {
816
+ to: string;
817
+ value?: string | undefined;
818
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
819
+ calldata?: string | undefined;
820
+ abi?: Record<string, unknown>[] | undefined;
821
+ programId?: string | undefined;
822
+ instructionData?: string | undefined;
823
+ accounts?: {
824
+ pubkey: string;
825
+ isSigner: boolean;
826
+ isWritable: boolean;
827
+ }[] | undefined;
828
+ } | {
829
+ amount: string;
830
+ token: {
831
+ symbol: string;
832
+ address: string;
833
+ decimals: number;
834
+ };
835
+ spender: string;
836
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
837
+ })[];
838
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
839
+ }, {
840
+ type: "BATCH";
841
+ instructions: ({
842
+ amount: string;
843
+ to: string;
844
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
845
+ memo?: string | undefined;
846
+ } | {
847
+ amount: string;
848
+ to: string;
849
+ token: {
850
+ symbol: string;
851
+ address: string;
852
+ decimals: number;
853
+ };
854
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
855
+ memo?: string | undefined;
856
+ } | {
857
+ to: string;
858
+ value?: string | undefined;
859
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
860
+ calldata?: string | undefined;
861
+ abi?: Record<string, unknown>[] | undefined;
862
+ programId?: string | undefined;
863
+ instructionData?: string | undefined;
864
+ accounts?: {
865
+ pubkey: string;
866
+ isSigner: boolean;
867
+ isWritable: boolean;
868
+ }[] | undefined;
869
+ } | {
870
+ amount: string;
871
+ token: {
872
+ symbol: string;
873
+ address: string;
874
+ decimals: number;
875
+ };
876
+ spender: string;
877
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
878
+ })[];
879
+ network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
880
+ }>;
881
+ /**
882
+ * Loose passthrough schema for the send transaction route.
883
+ * Uses z.any() to bypass Hono's built-in Zod validation (validation is delegated
884
+ * to stage1Validate which uses the correct discriminatedUnion or legacy schema).
885
+ * The OpenAPI doc uses manual oneOf to document all 6 request variants.
886
+ */
887
+ export declare const TransactionRequestOpenAPI: z.ZodAny;
888
+ /**
889
+ * Default validation hook that throws WAIaaSError on validation failure.
890
+ * This ensures OpenAPIHono's built-in Zod validation produces the same
891
+ * error format as our existing errorHandler (code, message, retryable).
892
+ */
893
+ export declare function openApiValidationHook(result: {
894
+ success: boolean;
895
+ error?: unknown;
896
+ }, _c: unknown): void | Response;
897
+ export declare const WalletAssetsResponseSchema: z.ZodObject<{
898
+ walletId: z.ZodString;
899
+ chain: z.ZodString;
900
+ network: z.ZodString;
901
+ assets: z.ZodArray<z.ZodObject<{
902
+ mint: z.ZodString;
903
+ symbol: z.ZodString;
904
+ name: z.ZodString;
905
+ balance: z.ZodString;
906
+ decimals: z.ZodNumber;
907
+ isNative: z.ZodBoolean;
908
+ usdValue: z.ZodOptional<z.ZodNumber>;
909
+ displayValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
910
+ }, "strip", z.ZodTypeAny, {
911
+ symbol: string;
912
+ name: string;
913
+ decimals: number;
914
+ balance: string;
915
+ mint: string;
916
+ isNative: boolean;
917
+ usdValue?: number | undefined;
918
+ displayValue?: string | null | undefined;
919
+ }, {
920
+ symbol: string;
921
+ name: string;
922
+ decimals: number;
923
+ balance: string;
924
+ mint: string;
925
+ isNative: boolean;
926
+ usdValue?: number | undefined;
927
+ displayValue?: string | null | undefined;
928
+ }>, "many">;
929
+ displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
930
+ }, "strip", z.ZodTypeAny, {
931
+ chain: string;
932
+ walletId: string;
933
+ network: string;
934
+ assets: {
935
+ symbol: string;
936
+ name: string;
937
+ decimals: number;
938
+ balance: string;
939
+ mint: string;
940
+ isNative: boolean;
941
+ usdValue?: number | undefined;
942
+ displayValue?: string | null | undefined;
943
+ }[];
944
+ displayCurrency?: string | null | undefined;
945
+ }, {
946
+ chain: string;
947
+ walletId: string;
948
+ network: string;
949
+ assets: {
950
+ symbol: string;
951
+ name: string;
952
+ decimals: number;
953
+ balance: string;
954
+ mint: string;
955
+ isNative: boolean;
956
+ usdValue?: number | undefined;
957
+ displayValue?: string | null | undefined;
958
+ }[];
959
+ displayCurrency?: string | null | undefined;
960
+ }>;
961
+ export declare const TxListResponseSchema: z.ZodObject<{
962
+ items: z.ZodArray<z.ZodObject<{
963
+ id: z.ZodString;
964
+ walletId: z.ZodString;
965
+ type: z.ZodString;
966
+ status: z.ZodString;
967
+ tier: z.ZodNullable<z.ZodString>;
968
+ chain: z.ZodString;
969
+ network: z.ZodNullable<z.ZodString>;
970
+ toAddress: z.ZodNullable<z.ZodString>;
971
+ amount: z.ZodNullable<z.ZodString>;
972
+ txHash: z.ZodNullable<z.ZodString>;
973
+ error: z.ZodNullable<z.ZodString>;
974
+ createdAt: z.ZodNullable<z.ZodNumber>;
975
+ displayAmount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
976
+ displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
977
+ }, "strip", z.ZodTypeAny, {
978
+ id: string;
979
+ chain: string;
980
+ status: string;
981
+ createdAt: number | null;
982
+ walletId: string;
983
+ txHash: string | null;
984
+ type: string;
985
+ amount: string | null;
986
+ toAddress: string | null;
987
+ tier: string | null;
988
+ error: string | null;
989
+ network: string | null;
990
+ displayCurrency?: string | null | undefined;
991
+ displayAmount?: string | null | undefined;
992
+ }, {
993
+ id: string;
994
+ chain: string;
995
+ status: string;
996
+ createdAt: number | null;
997
+ walletId: string;
998
+ txHash: string | null;
999
+ type: string;
1000
+ amount: string | null;
1001
+ toAddress: string | null;
1002
+ tier: string | null;
1003
+ error: string | null;
1004
+ network: string | null;
1005
+ displayCurrency?: string | null | undefined;
1006
+ displayAmount?: string | null | undefined;
1007
+ }>, "many">;
1008
+ cursor: z.ZodNullable<z.ZodString>;
1009
+ hasMore: z.ZodBoolean;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ items: {
1012
+ id: string;
1013
+ chain: string;
1014
+ status: string;
1015
+ createdAt: number | null;
1016
+ walletId: string;
1017
+ txHash: string | null;
1018
+ type: string;
1019
+ amount: string | null;
1020
+ toAddress: string | null;
1021
+ tier: string | null;
1022
+ error: string | null;
1023
+ network: string | null;
1024
+ displayCurrency?: string | null | undefined;
1025
+ displayAmount?: string | null | undefined;
1026
+ }[];
1027
+ cursor: string | null;
1028
+ hasMore: boolean;
1029
+ }, {
1030
+ items: {
1031
+ id: string;
1032
+ chain: string;
1033
+ status: string;
1034
+ createdAt: number | null;
1035
+ walletId: string;
1036
+ txHash: string | null;
1037
+ type: string;
1038
+ amount: string | null;
1039
+ toAddress: string | null;
1040
+ tier: string | null;
1041
+ error: string | null;
1042
+ network: string | null;
1043
+ displayCurrency?: string | null | undefined;
1044
+ displayAmount?: string | null | undefined;
1045
+ }[];
1046
+ cursor: string | null;
1047
+ hasMore: boolean;
1048
+ }>;
1049
+ export declare const TxPendingListResponseSchema: z.ZodObject<{
1050
+ items: z.ZodArray<z.ZodObject<{
1051
+ id: z.ZodString;
1052
+ walletId: z.ZodString;
1053
+ type: z.ZodString;
1054
+ status: z.ZodString;
1055
+ tier: z.ZodNullable<z.ZodString>;
1056
+ chain: z.ZodString;
1057
+ network: z.ZodNullable<z.ZodString>;
1058
+ toAddress: z.ZodNullable<z.ZodString>;
1059
+ amount: z.ZodNullable<z.ZodString>;
1060
+ txHash: z.ZodNullable<z.ZodString>;
1061
+ error: z.ZodNullable<z.ZodString>;
1062
+ createdAt: z.ZodNullable<z.ZodNumber>;
1063
+ displayAmount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1064
+ displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1065
+ }, "strip", z.ZodTypeAny, {
1066
+ id: string;
1067
+ chain: string;
1068
+ status: string;
1069
+ createdAt: number | null;
1070
+ walletId: string;
1071
+ txHash: string | null;
1072
+ type: string;
1073
+ amount: string | null;
1074
+ toAddress: string | null;
1075
+ tier: string | null;
1076
+ error: string | null;
1077
+ network: string | null;
1078
+ displayCurrency?: string | null | undefined;
1079
+ displayAmount?: string | null | undefined;
1080
+ }, {
1081
+ id: string;
1082
+ chain: string;
1083
+ status: string;
1084
+ createdAt: number | null;
1085
+ walletId: string;
1086
+ txHash: string | null;
1087
+ type: string;
1088
+ amount: string | null;
1089
+ toAddress: string | null;
1090
+ tier: string | null;
1091
+ error: string | null;
1092
+ network: string | null;
1093
+ displayCurrency?: string | null | undefined;
1094
+ displayAmount?: string | null | undefined;
1095
+ }>, "many">;
1096
+ }, "strip", z.ZodTypeAny, {
1097
+ items: {
1098
+ id: string;
1099
+ chain: string;
1100
+ status: string;
1101
+ createdAt: number | null;
1102
+ walletId: string;
1103
+ txHash: string | null;
1104
+ type: string;
1105
+ amount: string | null;
1106
+ toAddress: string | null;
1107
+ tier: string | null;
1108
+ error: string | null;
1109
+ network: string | null;
1110
+ displayCurrency?: string | null | undefined;
1111
+ displayAmount?: string | null | undefined;
1112
+ }[];
1113
+ }, {
1114
+ items: {
1115
+ id: string;
1116
+ chain: string;
1117
+ status: string;
1118
+ createdAt: number | null;
1119
+ walletId: string;
1120
+ txHash: string | null;
1121
+ type: string;
1122
+ amount: string | null;
1123
+ toAddress: string | null;
1124
+ tier: string | null;
1125
+ error: string | null;
1126
+ network: string | null;
1127
+ displayCurrency?: string | null | undefined;
1128
+ displayAmount?: string | null | undefined;
1129
+ }[];
1130
+ }>;
1131
+ export declare const NonceResponseSchema: z.ZodObject<{
1132
+ nonce: z.ZodString;
1133
+ expiresAt: z.ZodNumber;
1134
+ }, "strip", z.ZodTypeAny, {
1135
+ expiresAt: number;
1136
+ nonce: string;
1137
+ }, {
1138
+ expiresAt: number;
1139
+ nonce: string;
1140
+ }>;
1141
+ export declare const WalletListResponseSchema: z.ZodObject<{
1142
+ items: z.ZodArray<z.ZodObject<{
1143
+ id: z.ZodString;
1144
+ name: z.ZodString;
1145
+ chain: z.ZodString;
1146
+ network: z.ZodString;
1147
+ environment: z.ZodString;
1148
+ publicKey: z.ZodString;
1149
+ status: z.ZodString;
1150
+ ownerAddress: z.ZodNullable<z.ZodString>;
1151
+ ownerState: z.ZodEnum<["NONE", "GRACE", "LOCKED"]>;
1152
+ createdAt: z.ZodNumber;
1153
+ }, "strip", z.ZodTypeAny, {
1154
+ id: string;
1155
+ name: string;
1156
+ chain: string;
1157
+ environment: string;
1158
+ publicKey: string;
1159
+ status: string;
1160
+ ownerAddress: string | null;
1161
+ createdAt: number;
1162
+ network: string;
1163
+ ownerState: "LOCKED" | "NONE" | "GRACE";
1164
+ }, {
1165
+ id: string;
1166
+ name: string;
1167
+ chain: string;
1168
+ environment: string;
1169
+ publicKey: string;
1170
+ status: string;
1171
+ ownerAddress: string | null;
1172
+ createdAt: number;
1173
+ network: string;
1174
+ ownerState: "LOCKED" | "NONE" | "GRACE";
1175
+ }>, "many">;
1176
+ }, "strip", z.ZodTypeAny, {
1177
+ items: {
1178
+ id: string;
1179
+ name: string;
1180
+ chain: string;
1181
+ environment: string;
1182
+ publicKey: string;
1183
+ status: string;
1184
+ ownerAddress: string | null;
1185
+ createdAt: number;
1186
+ network: string;
1187
+ ownerState: "LOCKED" | "NONE" | "GRACE";
1188
+ }[];
1189
+ }, {
1190
+ items: {
1191
+ id: string;
1192
+ name: string;
1193
+ chain: string;
1194
+ environment: string;
1195
+ publicKey: string;
1196
+ status: string;
1197
+ ownerAddress: string | null;
1198
+ createdAt: number;
1199
+ network: string;
1200
+ ownerState: "LOCKED" | "NONE" | "GRACE";
1201
+ }[];
1202
+ }>;
1203
+ export declare const WalletDetailResponseSchema: z.ZodObject<{
1204
+ id: z.ZodString;
1205
+ name: z.ZodString;
1206
+ chain: z.ZodString;
1207
+ network: z.ZodString;
1208
+ environment: z.ZodString;
1209
+ defaultNetwork: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1210
+ publicKey: z.ZodString;
1211
+ status: z.ZodString;
1212
+ ownerAddress: z.ZodNullable<z.ZodString>;
1213
+ ownerVerified: z.ZodNullable<z.ZodBoolean>;
1214
+ ownerState: z.ZodEnum<["NONE", "GRACE", "LOCKED"]>;
1215
+ createdAt: z.ZodNumber;
1216
+ updatedAt: z.ZodNullable<z.ZodNumber>;
1217
+ }, "strip", z.ZodTypeAny, {
1218
+ id: string;
1219
+ name: string;
1220
+ chain: string;
1221
+ environment: string;
1222
+ publicKey: string;
1223
+ status: string;
1224
+ ownerAddress: string | null;
1225
+ ownerVerified: boolean | null;
1226
+ createdAt: number;
1227
+ updatedAt: number | null;
1228
+ network: string;
1229
+ ownerState: "LOCKED" | "NONE" | "GRACE";
1230
+ defaultNetwork?: string | null | undefined;
1231
+ }, {
1232
+ id: string;
1233
+ name: string;
1234
+ chain: string;
1235
+ environment: string;
1236
+ publicKey: string;
1237
+ status: string;
1238
+ ownerAddress: string | null;
1239
+ ownerVerified: boolean | null;
1240
+ createdAt: number;
1241
+ updatedAt: number | null;
1242
+ network: string;
1243
+ ownerState: "LOCKED" | "NONE" | "GRACE";
1244
+ defaultNetwork?: string | null | undefined;
1245
+ }>;
1246
+ export declare const UpdateDefaultNetworkRequestSchema: z.ZodObject<{
1247
+ network: z.ZodString;
1248
+ }, "strip", z.ZodTypeAny, {
1249
+ network: string;
1250
+ }, {
1251
+ network: string;
1252
+ }>;
1253
+ export declare const UpdateDefaultNetworkResponseSchema: z.ZodObject<{
1254
+ id: z.ZodString;
1255
+ defaultNetwork: z.ZodString;
1256
+ previousNetwork: z.ZodNullable<z.ZodString>;
1257
+ }, "strip", z.ZodTypeAny, {
1258
+ id: string;
1259
+ defaultNetwork: string;
1260
+ previousNetwork: string | null;
1261
+ }, {
1262
+ id: string;
1263
+ defaultNetwork: string;
1264
+ previousNetwork: string | null;
1265
+ }>;
1266
+ export declare const WalletNetworksResponseSchema: z.ZodObject<{
1267
+ id: z.ZodString;
1268
+ chain: z.ZodString;
1269
+ environment: z.ZodString;
1270
+ defaultNetwork: z.ZodNullable<z.ZodString>;
1271
+ availableNetworks: z.ZodArray<z.ZodObject<{
1272
+ network: z.ZodString;
1273
+ isDefault: z.ZodBoolean;
1274
+ }, "strip", z.ZodTypeAny, {
1275
+ network: string;
1276
+ isDefault: boolean;
1277
+ }, {
1278
+ network: string;
1279
+ isDefault: boolean;
1280
+ }>, "many">;
1281
+ }, "strip", z.ZodTypeAny, {
1282
+ id: string;
1283
+ chain: string;
1284
+ environment: string;
1285
+ defaultNetwork: string | null;
1286
+ availableNetworks: {
1287
+ network: string;
1288
+ isDefault: boolean;
1289
+ }[];
1290
+ }, {
1291
+ id: string;
1292
+ chain: string;
1293
+ environment: string;
1294
+ defaultNetwork: string | null;
1295
+ availableNetworks: {
1296
+ network: string;
1297
+ isDefault: boolean;
1298
+ }[];
1299
+ }>;
1300
+ export declare const SetOwnerRequestSchema: z.ZodObject<{
1301
+ owner_address: z.ZodString;
1302
+ }, "strip", z.ZodTypeAny, {
1303
+ owner_address: string;
1304
+ }, {
1305
+ owner_address: string;
1306
+ }>;
1307
+ export declare const UpdateWalletRequestSchema: z.ZodObject<{
1308
+ name: z.ZodString;
1309
+ }, "strip", z.ZodTypeAny, {
1310
+ name: string;
1311
+ }, {
1312
+ name: string;
1313
+ }>;
1314
+ export declare const WalletDeleteResponseSchema: z.ZodObject<{
1315
+ id: z.ZodString;
1316
+ status: z.ZodLiteral<"TERMINATED">;
1317
+ }, "strip", z.ZodTypeAny, {
1318
+ id: string;
1319
+ status: "TERMINATED";
1320
+ }, {
1321
+ id: string;
1322
+ status: "TERMINATED";
1323
+ }>;
1324
+ export declare const AdminStatusResponseSchema: z.ZodObject<{
1325
+ status: z.ZodString;
1326
+ version: z.ZodString;
1327
+ uptime: z.ZodNumber;
1328
+ walletCount: z.ZodNumber;
1329
+ activeSessionCount: z.ZodNumber;
1330
+ killSwitchState: z.ZodString;
1331
+ adminTimeout: z.ZodNumber;
1332
+ timestamp: z.ZodNumber;
1333
+ policyCount: z.ZodNumber;
1334
+ recentTxCount: z.ZodNumber;
1335
+ failedTxCount: z.ZodNumber;
1336
+ recentTransactions: z.ZodArray<z.ZodObject<{
1337
+ id: z.ZodString;
1338
+ walletId: z.ZodString;
1339
+ walletName: z.ZodNullable<z.ZodString>;
1340
+ type: z.ZodString;
1341
+ status: z.ZodString;
1342
+ toAddress: z.ZodNullable<z.ZodString>;
1343
+ amount: z.ZodNullable<z.ZodString>;
1344
+ network: z.ZodNullable<z.ZodString>;
1345
+ createdAt: z.ZodNullable<z.ZodNumber>;
1346
+ }, "strip", z.ZodTypeAny, {
1347
+ id: string;
1348
+ status: string;
1349
+ createdAt: number | null;
1350
+ walletId: string;
1351
+ type: string;
1352
+ amount: string | null;
1353
+ toAddress: string | null;
1354
+ network: string | null;
1355
+ walletName: string | null;
1356
+ }, {
1357
+ id: string;
1358
+ status: string;
1359
+ createdAt: number | null;
1360
+ walletId: string;
1361
+ type: string;
1362
+ amount: string | null;
1363
+ toAddress: string | null;
1364
+ network: string | null;
1365
+ walletName: string | null;
1366
+ }>, "many">;
1367
+ }, "strip", z.ZodTypeAny, {
1368
+ status: string;
1369
+ timestamp: number;
1370
+ version: string;
1371
+ uptime: number;
1372
+ walletCount: number;
1373
+ activeSessionCount: number;
1374
+ killSwitchState: string;
1375
+ adminTimeout: number;
1376
+ policyCount: number;
1377
+ recentTxCount: number;
1378
+ failedTxCount: number;
1379
+ recentTransactions: {
1380
+ id: string;
1381
+ status: string;
1382
+ createdAt: number | null;
1383
+ walletId: string;
1384
+ type: string;
1385
+ amount: string | null;
1386
+ toAddress: string | null;
1387
+ network: string | null;
1388
+ walletName: string | null;
1389
+ }[];
1390
+ }, {
1391
+ status: string;
1392
+ timestamp: number;
1393
+ version: string;
1394
+ uptime: number;
1395
+ walletCount: number;
1396
+ activeSessionCount: number;
1397
+ killSwitchState: string;
1398
+ adminTimeout: number;
1399
+ policyCount: number;
1400
+ recentTxCount: number;
1401
+ failedTxCount: number;
1402
+ recentTransactions: {
1403
+ id: string;
1404
+ status: string;
1405
+ createdAt: number | null;
1406
+ walletId: string;
1407
+ type: string;
1408
+ amount: string | null;
1409
+ toAddress: string | null;
1410
+ network: string | null;
1411
+ walletName: string | null;
1412
+ }[];
1413
+ }>;
1414
+ export declare const KillSwitchResponseSchema: z.ZodObject<{
1415
+ state: z.ZodString;
1416
+ activatedAt: z.ZodNullable<z.ZodNumber>;
1417
+ activatedBy: z.ZodNullable<z.ZodString>;
1418
+ }, "strip", z.ZodTypeAny, {
1419
+ state: string;
1420
+ activatedBy: string | null;
1421
+ activatedAt: number | null;
1422
+ }, {
1423
+ state: string;
1424
+ activatedBy: string | null;
1425
+ activatedAt: number | null;
1426
+ }>;
1427
+ export declare const KillSwitchActivateResponseSchema: z.ZodObject<{
1428
+ state: z.ZodLiteral<"SUSPENDED">;
1429
+ activatedAt: z.ZodNumber;
1430
+ }, "strip", z.ZodTypeAny, {
1431
+ state: "SUSPENDED";
1432
+ activatedAt: number;
1433
+ }, {
1434
+ state: "SUSPENDED";
1435
+ activatedAt: number;
1436
+ }>;
1437
+ export declare const KillSwitchEscalateResponseSchema: z.ZodObject<{
1438
+ state: z.ZodLiteral<"LOCKED">;
1439
+ escalatedAt: z.ZodNumber;
1440
+ }, "strip", z.ZodTypeAny, {
1441
+ state: "LOCKED";
1442
+ escalatedAt: number;
1443
+ }, {
1444
+ state: "LOCKED";
1445
+ escalatedAt: number;
1446
+ }>;
1447
+ export declare const RecoverResponseSchema: z.ZodObject<{
1448
+ state: z.ZodLiteral<"ACTIVE">;
1449
+ recoveredAt: z.ZodNumber;
1450
+ }, "strip", z.ZodTypeAny, {
1451
+ state: "ACTIVE";
1452
+ recoveredAt: number;
1453
+ }, {
1454
+ state: "ACTIVE";
1455
+ recoveredAt: number;
1456
+ }>;
1457
+ export declare const KillSwitchRecoverRequestSchema: z.ZodObject<{
1458
+ ownerSignature: z.ZodOptional<z.ZodString>;
1459
+ ownerAddress: z.ZodOptional<z.ZodString>;
1460
+ chain: z.ZodOptional<z.ZodEnum<["solana", "ethereum"]>>;
1461
+ message: z.ZodOptional<z.ZodString>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ chain?: "solana" | "ethereum" | undefined;
1464
+ ownerAddress?: string | undefined;
1465
+ ownerSignature?: string | undefined;
1466
+ message?: string | undefined;
1467
+ }, {
1468
+ chain?: "solana" | "ethereum" | undefined;
1469
+ ownerAddress?: string | undefined;
1470
+ ownerSignature?: string | undefined;
1471
+ message?: string | undefined;
1472
+ }>;
1473
+ export declare const OwnerKillSwitchResponseSchema: z.ZodObject<{
1474
+ state: z.ZodLiteral<"SUSPENDED">;
1475
+ activatedAt: z.ZodNumber;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ state: "SUSPENDED";
1478
+ activatedAt: number;
1479
+ }, {
1480
+ state: "SUSPENDED";
1481
+ activatedAt: number;
1482
+ }>;
1483
+ export declare const ShutdownResponseSchema: z.ZodObject<{
1484
+ message: z.ZodString;
1485
+ }, "strip", z.ZodTypeAny, {
1486
+ message: string;
1487
+ }, {
1488
+ message: string;
1489
+ }>;
1490
+ export declare const RotateSecretResponseSchema: z.ZodObject<{
1491
+ rotatedAt: z.ZodNumber;
1492
+ message: z.ZodString;
1493
+ }, "strip", z.ZodTypeAny, {
1494
+ message: string;
1495
+ rotatedAt: number;
1496
+ }, {
1497
+ message: string;
1498
+ rotatedAt: number;
1499
+ }>;
1500
+ export declare const NotificationChannelStatusSchema: z.ZodObject<{
1501
+ name: z.ZodString;
1502
+ enabled: z.ZodBoolean;
1503
+ }, "strip", z.ZodTypeAny, {
1504
+ name: string;
1505
+ enabled: boolean;
1506
+ }, {
1507
+ name: string;
1508
+ enabled: boolean;
1509
+ }>;
1510
+ export declare const NotificationStatusResponseSchema: z.ZodObject<{
1511
+ enabled: z.ZodBoolean;
1512
+ channels: z.ZodArray<z.ZodObject<{
1513
+ name: z.ZodString;
1514
+ enabled: z.ZodBoolean;
1515
+ }, "strip", z.ZodTypeAny, {
1516
+ name: string;
1517
+ enabled: boolean;
1518
+ }, {
1519
+ name: string;
1520
+ enabled: boolean;
1521
+ }>, "many">;
1522
+ }, "strip", z.ZodTypeAny, {
1523
+ enabled: boolean;
1524
+ channels: {
1525
+ name: string;
1526
+ enabled: boolean;
1527
+ }[];
1528
+ }, {
1529
+ enabled: boolean;
1530
+ channels: {
1531
+ name: string;
1532
+ enabled: boolean;
1533
+ }[];
1534
+ }>;
1535
+ export declare const NotificationTestRequestSchema: z.ZodObject<{
1536
+ channel: z.ZodOptional<z.ZodString>;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ channel?: string | undefined;
1539
+ }, {
1540
+ channel?: string | undefined;
1541
+ }>;
1542
+ export declare const NotificationTestResponseSchema: z.ZodObject<{
1543
+ results: z.ZodArray<z.ZodObject<{
1544
+ channel: z.ZodString;
1545
+ success: z.ZodBoolean;
1546
+ error: z.ZodOptional<z.ZodString>;
1547
+ }, "strip", z.ZodTypeAny, {
1548
+ channel: string;
1549
+ success: boolean;
1550
+ error?: string | undefined;
1551
+ }, {
1552
+ channel: string;
1553
+ success: boolean;
1554
+ error?: string | undefined;
1555
+ }>, "many">;
1556
+ }, "strip", z.ZodTypeAny, {
1557
+ results: {
1558
+ channel: string;
1559
+ success: boolean;
1560
+ error?: string | undefined;
1561
+ }[];
1562
+ }, {
1563
+ results: {
1564
+ channel: string;
1565
+ success: boolean;
1566
+ error?: string | undefined;
1567
+ }[];
1568
+ }>;
1569
+ export declare const NotificationLogEntrySchema: z.ZodObject<{
1570
+ id: z.ZodString;
1571
+ eventType: z.ZodString;
1572
+ walletId: z.ZodNullable<z.ZodString>;
1573
+ channel: z.ZodString;
1574
+ status: z.ZodString;
1575
+ error: z.ZodNullable<z.ZodString>;
1576
+ message: z.ZodNullable<z.ZodString>;
1577
+ createdAt: z.ZodNumber;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ id: string;
1580
+ status: string;
1581
+ createdAt: number;
1582
+ walletId: string | null;
1583
+ error: string | null;
1584
+ eventType: string;
1585
+ channel: string;
1586
+ message: string | null;
1587
+ }, {
1588
+ id: string;
1589
+ status: string;
1590
+ createdAt: number;
1591
+ walletId: string | null;
1592
+ error: string | null;
1593
+ eventType: string;
1594
+ channel: string;
1595
+ message: string | null;
1596
+ }>;
1597
+ export declare const NotificationLogResponseSchema: z.ZodObject<{
1598
+ logs: z.ZodArray<z.ZodObject<{
1599
+ id: z.ZodString;
1600
+ eventType: z.ZodString;
1601
+ walletId: z.ZodNullable<z.ZodString>;
1602
+ channel: z.ZodString;
1603
+ status: z.ZodString;
1604
+ error: z.ZodNullable<z.ZodString>;
1605
+ message: z.ZodNullable<z.ZodString>;
1606
+ createdAt: z.ZodNumber;
1607
+ }, "strip", z.ZodTypeAny, {
1608
+ id: string;
1609
+ status: string;
1610
+ createdAt: number;
1611
+ walletId: string | null;
1612
+ error: string | null;
1613
+ eventType: string;
1614
+ channel: string;
1615
+ message: string | null;
1616
+ }, {
1617
+ id: string;
1618
+ status: string;
1619
+ createdAt: number;
1620
+ walletId: string | null;
1621
+ error: string | null;
1622
+ eventType: string;
1623
+ channel: string;
1624
+ message: string | null;
1625
+ }>, "many">;
1626
+ total: z.ZodNumber;
1627
+ page: z.ZodNumber;
1628
+ pageSize: z.ZodNumber;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ logs: {
1631
+ id: string;
1632
+ status: string;
1633
+ createdAt: number;
1634
+ walletId: string | null;
1635
+ error: string | null;
1636
+ eventType: string;
1637
+ channel: string;
1638
+ message: string | null;
1639
+ }[];
1640
+ total: number;
1641
+ page: number;
1642
+ pageSize: number;
1643
+ }, {
1644
+ logs: {
1645
+ id: string;
1646
+ status: string;
1647
+ createdAt: number;
1648
+ walletId: string | null;
1649
+ error: string | null;
1650
+ eventType: string;
1651
+ channel: string;
1652
+ message: string | null;
1653
+ }[];
1654
+ total: number;
1655
+ page: number;
1656
+ pageSize: number;
1657
+ }>;
1658
+ export declare const TokenRegistryItemSchema: z.ZodObject<{
1659
+ address: z.ZodString;
1660
+ symbol: z.ZodString;
1661
+ name: z.ZodString;
1662
+ decimals: z.ZodNumber;
1663
+ source: z.ZodEnum<["builtin", "custom"]>;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ symbol: string;
1666
+ name: string;
1667
+ address: string;
1668
+ decimals: number;
1669
+ source: "custom" | "builtin";
1670
+ }, {
1671
+ symbol: string;
1672
+ name: string;
1673
+ address: string;
1674
+ decimals: number;
1675
+ source: "custom" | "builtin";
1676
+ }>;
1677
+ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
1678
+ network: z.ZodString;
1679
+ tokens: z.ZodArray<z.ZodObject<{
1680
+ address: z.ZodString;
1681
+ symbol: z.ZodString;
1682
+ name: z.ZodString;
1683
+ decimals: z.ZodNumber;
1684
+ source: z.ZodEnum<["builtin", "custom"]>;
1685
+ }, "strip", z.ZodTypeAny, {
1686
+ symbol: string;
1687
+ name: string;
1688
+ address: string;
1689
+ decimals: number;
1690
+ source: "custom" | "builtin";
1691
+ }, {
1692
+ symbol: string;
1693
+ name: string;
1694
+ address: string;
1695
+ decimals: number;
1696
+ source: "custom" | "builtin";
1697
+ }>, "many">;
1698
+ }, "strip", z.ZodTypeAny, {
1699
+ network: string;
1700
+ tokens: {
1701
+ symbol: string;
1702
+ name: string;
1703
+ address: string;
1704
+ decimals: number;
1705
+ source: "custom" | "builtin";
1706
+ }[];
1707
+ }, {
1708
+ network: string;
1709
+ tokens: {
1710
+ symbol: string;
1711
+ name: string;
1712
+ address: string;
1713
+ decimals: number;
1714
+ source: "custom" | "builtin";
1715
+ }[];
1716
+ }>;
1717
+ export declare const AddTokenRequestSchema: z.ZodObject<{
1718
+ network: z.ZodString;
1719
+ address: z.ZodString;
1720
+ symbol: z.ZodString;
1721
+ name: z.ZodString;
1722
+ decimals: z.ZodNumber;
1723
+ }, "strip", z.ZodTypeAny, {
1724
+ symbol: string;
1725
+ name: string;
1726
+ network: string;
1727
+ address: string;
1728
+ decimals: number;
1729
+ }, {
1730
+ symbol: string;
1731
+ name: string;
1732
+ network: string;
1733
+ address: string;
1734
+ decimals: number;
1735
+ }>;
1736
+ export declare const AddTokenResponseSchema: z.ZodObject<{
1737
+ id: z.ZodString;
1738
+ network: z.ZodString;
1739
+ address: z.ZodString;
1740
+ symbol: z.ZodString;
1741
+ }, "strip", z.ZodTypeAny, {
1742
+ symbol: string;
1743
+ id: string;
1744
+ network: string;
1745
+ address: string;
1746
+ }, {
1747
+ symbol: string;
1748
+ id: string;
1749
+ network: string;
1750
+ address: string;
1751
+ }>;
1752
+ export declare const RemoveTokenRequestSchema: z.ZodObject<{
1753
+ network: z.ZodString;
1754
+ address: z.ZodString;
1755
+ }, "strip", z.ZodTypeAny, {
1756
+ network: string;
1757
+ address: string;
1758
+ }, {
1759
+ network: string;
1760
+ address: string;
1761
+ }>;
1762
+ export declare const RemoveTokenResponseSchema: z.ZodObject<{
1763
+ removed: z.ZodBoolean;
1764
+ network: z.ZodString;
1765
+ address: z.ZodString;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ network: string;
1768
+ address: string;
1769
+ removed: boolean;
1770
+ }, {
1771
+ network: string;
1772
+ address: string;
1773
+ removed: boolean;
1774
+ }>;
1775
+ export declare const SettingsResponseSchema: z.ZodObject<{
1776
+ notifications: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1777
+ rpc: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1778
+ security: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1779
+ daemon: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1780
+ walletconnect: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1781
+ }, "strip", z.ZodTypeAny, {
1782
+ daemon: Record<string, string | boolean>;
1783
+ rpc: Record<string, string | boolean>;
1784
+ notifications: Record<string, string | boolean>;
1785
+ security: Record<string, string | boolean>;
1786
+ walletconnect: Record<string, string | boolean>;
1787
+ }, {
1788
+ daemon: Record<string, string | boolean>;
1789
+ rpc: Record<string, string | boolean>;
1790
+ notifications: Record<string, string | boolean>;
1791
+ security: Record<string, string | boolean>;
1792
+ walletconnect: Record<string, string | boolean>;
1793
+ }>;
1794
+ export declare const SettingsUpdateRequestSchema: z.ZodObject<{
1795
+ settings: z.ZodArray<z.ZodObject<{
1796
+ key: z.ZodString;
1797
+ value: z.ZodString;
1798
+ }, "strip", z.ZodTypeAny, {
1799
+ key: string;
1800
+ value: string;
1801
+ }, {
1802
+ key: string;
1803
+ value: string;
1804
+ }>, "many">;
1805
+ }, "strip", z.ZodTypeAny, {
1806
+ settings: {
1807
+ key: string;
1808
+ value: string;
1809
+ }[];
1810
+ }, {
1811
+ settings: {
1812
+ key: string;
1813
+ value: string;
1814
+ }[];
1815
+ }>;
1816
+ export declare const SettingsUpdateResponseSchema: z.ZodObject<{
1817
+ updated: z.ZodNumber;
1818
+ settings: z.ZodObject<{
1819
+ notifications: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1820
+ rpc: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1821
+ security: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1822
+ daemon: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1823
+ walletconnect: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1824
+ }, "strip", z.ZodTypeAny, {
1825
+ daemon: Record<string, string | boolean>;
1826
+ rpc: Record<string, string | boolean>;
1827
+ notifications: Record<string, string | boolean>;
1828
+ security: Record<string, string | boolean>;
1829
+ walletconnect: Record<string, string | boolean>;
1830
+ }, {
1831
+ daemon: Record<string, string | boolean>;
1832
+ rpc: Record<string, string | boolean>;
1833
+ notifications: Record<string, string | boolean>;
1834
+ security: Record<string, string | boolean>;
1835
+ walletconnect: Record<string, string | boolean>;
1836
+ }>;
1837
+ }, "strip", z.ZodTypeAny, {
1838
+ settings: {
1839
+ daemon: Record<string, string | boolean>;
1840
+ rpc: Record<string, string | boolean>;
1841
+ notifications: Record<string, string | boolean>;
1842
+ security: Record<string, string | boolean>;
1843
+ walletconnect: Record<string, string | boolean>;
1844
+ };
1845
+ updated: number;
1846
+ }, {
1847
+ settings: {
1848
+ daemon: Record<string, string | boolean>;
1849
+ rpc: Record<string, string | boolean>;
1850
+ notifications: Record<string, string | boolean>;
1851
+ security: Record<string, string | boolean>;
1852
+ walletconnect: Record<string, string | boolean>;
1853
+ };
1854
+ updated: number;
1855
+ }>;
1856
+ export declare const TestRpcRequestSchema: z.ZodObject<{
1857
+ url: z.ZodString;
1858
+ chain: z.ZodDefault<z.ZodOptional<z.ZodEnum<["solana", "ethereum"]>>>;
1859
+ }, "strip", z.ZodTypeAny, {
1860
+ chain: "solana" | "ethereum";
1861
+ url: string;
1862
+ }, {
1863
+ url: string;
1864
+ chain?: "solana" | "ethereum" | undefined;
1865
+ }>;
1866
+ export declare const TestRpcResponseSchema: z.ZodObject<{
1867
+ success: z.ZodBoolean;
1868
+ latencyMs: z.ZodOptional<z.ZodNumber>;
1869
+ error: z.ZodOptional<z.ZodString>;
1870
+ chainId: z.ZodOptional<z.ZodString>;
1871
+ blockNumber: z.ZodOptional<z.ZodNumber>;
1872
+ }, "strip", z.ZodTypeAny, {
1873
+ success: boolean;
1874
+ error?: string | undefined;
1875
+ chainId?: string | undefined;
1876
+ latencyMs?: number | undefined;
1877
+ blockNumber?: number | undefined;
1878
+ }, {
1879
+ success: boolean;
1880
+ error?: string | undefined;
1881
+ chainId?: string | undefined;
1882
+ latencyMs?: number | undefined;
1883
+ blockNumber?: number | undefined;
1884
+ }>;
1885
+ export declare const McpTokenCreateRequestSchema: z.ZodObject<{
1886
+ walletId: z.ZodString;
1887
+ expiresIn: z.ZodOptional<z.ZodNumber>;
1888
+ }, "strip", z.ZodTypeAny, {
1889
+ walletId: string;
1890
+ expiresIn?: number | undefined;
1891
+ }, {
1892
+ walletId: string;
1893
+ expiresIn?: number | undefined;
1894
+ }>;
1895
+ export declare const McpTokenCreateResponseSchema: z.ZodObject<{
1896
+ walletId: z.ZodString;
1897
+ walletName: z.ZodNullable<z.ZodString>;
1898
+ tokenPath: z.ZodString;
1899
+ expiresAt: z.ZodNumber;
1900
+ claudeDesktopConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1901
+ }, "strip", z.ZodTypeAny, {
1902
+ walletId: string;
1903
+ expiresAt: number;
1904
+ walletName: string | null;
1905
+ tokenPath: string;
1906
+ claudeDesktopConfig: Record<string, unknown>;
1907
+ }, {
1908
+ walletId: string;
1909
+ expiresAt: number;
1910
+ walletName: string | null;
1911
+ tokenPath: string;
1912
+ claudeDesktopConfig: Record<string, unknown>;
1913
+ }>;
1914
+ export declare const EncodeCalldataRequestSchema: z.ZodObject<{
1915
+ abi: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
1916
+ functionName: z.ZodString;
1917
+ args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
1918
+ }, "strip", z.ZodTypeAny, {
1919
+ abi: Record<string, unknown>[];
1920
+ functionName: string;
1921
+ args: any[];
1922
+ }, {
1923
+ abi: Record<string, unknown>[];
1924
+ functionName: string;
1925
+ args?: any[] | undefined;
1926
+ }>;
1927
+ export declare const EncodeCalldataResponseSchema: z.ZodObject<{
1928
+ calldata: z.ZodString;
1929
+ selector: z.ZodString;
1930
+ functionName: z.ZodString;
1931
+ }, "strip", z.ZodTypeAny, {
1932
+ functionName: string;
1933
+ calldata: string;
1934
+ selector: string;
1935
+ }, {
1936
+ functionName: string;
1937
+ calldata: string;
1938
+ selector: string;
1939
+ }>;
1940
+ export declare const TxSignRequestSchema: z.ZodObject<{
1941
+ transaction: z.ZodString;
1942
+ chain: z.ZodOptional<z.ZodString>;
1943
+ network: z.ZodOptional<z.ZodString>;
1944
+ }, "strip", z.ZodTypeAny, {
1945
+ transaction: string;
1946
+ chain?: string | undefined;
1947
+ network?: string | undefined;
1948
+ }, {
1949
+ transaction: string;
1950
+ chain?: string | undefined;
1951
+ network?: string | undefined;
1952
+ }>;
1953
+ export declare const TxSignResponseSchema: z.ZodObject<{
1954
+ id: z.ZodString;
1955
+ signedTransaction: z.ZodString;
1956
+ txHash: z.ZodNullable<z.ZodString>;
1957
+ operations: z.ZodArray<z.ZodObject<{
1958
+ type: z.ZodString;
1959
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1960
+ amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1961
+ token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1962
+ programId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1963
+ method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1964
+ }, "strip", z.ZodTypeAny, {
1965
+ type: string;
1966
+ amount?: string | null | undefined;
1967
+ method?: string | null | undefined;
1968
+ to?: string | null | undefined;
1969
+ token?: string | null | undefined;
1970
+ programId?: string | null | undefined;
1971
+ }, {
1972
+ type: string;
1973
+ amount?: string | null | undefined;
1974
+ method?: string | null | undefined;
1975
+ to?: string | null | undefined;
1976
+ token?: string | null | undefined;
1977
+ programId?: string | null | undefined;
1978
+ }>, "many">;
1979
+ policyResult: z.ZodObject<{
1980
+ tier: z.ZodString;
1981
+ }, "strip", z.ZodTypeAny, {
1982
+ tier: string;
1983
+ }, {
1984
+ tier: string;
1985
+ }>;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ id: string;
1988
+ txHash: string | null;
1989
+ signedTransaction: string;
1990
+ operations: {
1991
+ type: string;
1992
+ amount?: string | null | undefined;
1993
+ method?: string | null | undefined;
1994
+ to?: string | null | undefined;
1995
+ token?: string | null | undefined;
1996
+ programId?: string | null | undefined;
1997
+ }[];
1998
+ policyResult: {
1999
+ tier: string;
2000
+ };
2001
+ }, {
2002
+ id: string;
2003
+ txHash: string | null;
2004
+ signedTransaction: string;
2005
+ operations: {
2006
+ type: string;
2007
+ amount?: string | null | undefined;
2008
+ method?: string | null | undefined;
2009
+ to?: string | null | undefined;
2010
+ token?: string | null | undefined;
2011
+ programId?: string | null | undefined;
2012
+ }[];
2013
+ policyResult: {
2014
+ tier: string;
2015
+ };
2016
+ }>;
2017
+ export declare const OracleStatusResponseSchema: z.ZodObject<{
2018
+ cache: z.ZodObject<{
2019
+ hits: z.ZodNumber;
2020
+ misses: z.ZodNumber;
2021
+ staleHits: z.ZodNumber;
2022
+ size: z.ZodNumber;
2023
+ evictions: z.ZodNumber;
2024
+ }, "strip", z.ZodTypeAny, {
2025
+ hits: number;
2026
+ misses: number;
2027
+ staleHits: number;
2028
+ size: number;
2029
+ evictions: number;
2030
+ }, {
2031
+ hits: number;
2032
+ misses: number;
2033
+ staleHits: number;
2034
+ size: number;
2035
+ evictions: number;
2036
+ }>;
2037
+ sources: z.ZodObject<{
2038
+ pyth: z.ZodObject<{
2039
+ available: z.ZodBoolean;
2040
+ baseUrl: z.ZodString;
2041
+ }, "strip", z.ZodTypeAny, {
2042
+ available: boolean;
2043
+ baseUrl: string;
2044
+ }, {
2045
+ available: boolean;
2046
+ baseUrl: string;
2047
+ }>;
2048
+ coingecko: z.ZodObject<{
2049
+ available: z.ZodBoolean;
2050
+ apiKeyConfigured: z.ZodBoolean;
2051
+ }, "strip", z.ZodTypeAny, {
2052
+ available: boolean;
2053
+ apiKeyConfigured: boolean;
2054
+ }, {
2055
+ available: boolean;
2056
+ apiKeyConfigured: boolean;
2057
+ }>;
2058
+ }, "strip", z.ZodTypeAny, {
2059
+ pyth: {
2060
+ available: boolean;
2061
+ baseUrl: string;
2062
+ };
2063
+ coingecko: {
2064
+ available: boolean;
2065
+ apiKeyConfigured: boolean;
2066
+ };
2067
+ }, {
2068
+ pyth: {
2069
+ available: boolean;
2070
+ baseUrl: string;
2071
+ };
2072
+ coingecko: {
2073
+ available: boolean;
2074
+ apiKeyConfigured: boolean;
2075
+ };
2076
+ }>;
2077
+ crossValidation: z.ZodObject<{
2078
+ enabled: z.ZodBoolean;
2079
+ threshold: z.ZodNumber;
2080
+ }, "strip", z.ZodTypeAny, {
2081
+ enabled: boolean;
2082
+ threshold: number;
2083
+ }, {
2084
+ enabled: boolean;
2085
+ threshold: number;
2086
+ }>;
2087
+ }, "strip", z.ZodTypeAny, {
2088
+ cache: {
2089
+ hits: number;
2090
+ misses: number;
2091
+ staleHits: number;
2092
+ size: number;
2093
+ evictions: number;
2094
+ };
2095
+ sources: {
2096
+ pyth: {
2097
+ available: boolean;
2098
+ baseUrl: string;
2099
+ };
2100
+ coingecko: {
2101
+ available: boolean;
2102
+ apiKeyConfigured: boolean;
2103
+ };
2104
+ };
2105
+ crossValidation: {
2106
+ enabled: boolean;
2107
+ threshold: number;
2108
+ };
2109
+ }, {
2110
+ cache: {
2111
+ hits: number;
2112
+ misses: number;
2113
+ staleHits: number;
2114
+ size: number;
2115
+ evictions: number;
2116
+ };
2117
+ sources: {
2118
+ pyth: {
2119
+ available: boolean;
2120
+ baseUrl: string;
2121
+ };
2122
+ coingecko: {
2123
+ available: boolean;
2124
+ apiKeyConfigured: boolean;
2125
+ };
2126
+ };
2127
+ crossValidation: {
2128
+ enabled: boolean;
2129
+ threshold: number;
2130
+ };
2131
+ }>;
2132
+ export declare const WcPairingResponseSchema: z.ZodObject<{
2133
+ uri: z.ZodString;
2134
+ qrCode: z.ZodString;
2135
+ expiresAt: z.ZodNumber;
2136
+ }, "strip", z.ZodTypeAny, {
2137
+ expiresAt: number;
2138
+ uri: string;
2139
+ qrCode: string;
2140
+ }, {
2141
+ expiresAt: number;
2142
+ uri: string;
2143
+ qrCode: string;
2144
+ }>;
2145
+ export declare const WcSessionResponseSchema: z.ZodObject<{
2146
+ walletId: z.ZodString;
2147
+ topic: z.ZodString;
2148
+ peerName: z.ZodNullable<z.ZodString>;
2149
+ peerUrl: z.ZodNullable<z.ZodString>;
2150
+ chainId: z.ZodString;
2151
+ ownerAddress: z.ZodString;
2152
+ expiry: z.ZodNumber;
2153
+ createdAt: z.ZodNumber;
2154
+ }, "strip", z.ZodTypeAny, {
2155
+ ownerAddress: string;
2156
+ createdAt: number;
2157
+ walletId: string;
2158
+ topic: string;
2159
+ chainId: string;
2160
+ expiry: number;
2161
+ peerName: string | null;
2162
+ peerUrl: string | null;
2163
+ }, {
2164
+ ownerAddress: string;
2165
+ createdAt: number;
2166
+ walletId: string;
2167
+ topic: string;
2168
+ chainId: string;
2169
+ expiry: number;
2170
+ peerName: string | null;
2171
+ peerUrl: string | null;
2172
+ }>;
2173
+ export declare const WcPairingStatusResponseSchema: z.ZodObject<{
2174
+ status: z.ZodEnum<["pending", "connected", "expired", "none"]>;
2175
+ session: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2176
+ walletId: z.ZodString;
2177
+ topic: z.ZodString;
2178
+ peerName: z.ZodNullable<z.ZodString>;
2179
+ peerUrl: z.ZodNullable<z.ZodString>;
2180
+ chainId: z.ZodString;
2181
+ ownerAddress: z.ZodString;
2182
+ expiry: z.ZodNumber;
2183
+ createdAt: z.ZodNumber;
2184
+ }, "strip", z.ZodTypeAny, {
2185
+ ownerAddress: string;
2186
+ createdAt: number;
2187
+ walletId: string;
2188
+ topic: string;
2189
+ chainId: string;
2190
+ expiry: number;
2191
+ peerName: string | null;
2192
+ peerUrl: string | null;
2193
+ }, {
2194
+ ownerAddress: string;
2195
+ createdAt: number;
2196
+ walletId: string;
2197
+ topic: string;
2198
+ chainId: string;
2199
+ expiry: number;
2200
+ peerName: string | null;
2201
+ peerUrl: string | null;
2202
+ }>>>;
2203
+ }, "strip", z.ZodTypeAny, {
2204
+ status: "pending" | "connected" | "expired" | "none";
2205
+ session?: {
2206
+ ownerAddress: string;
2207
+ createdAt: number;
2208
+ walletId: string;
2209
+ topic: string;
2210
+ chainId: string;
2211
+ expiry: number;
2212
+ peerName: string | null;
2213
+ peerUrl: string | null;
2214
+ } | null | undefined;
2215
+ }, {
2216
+ status: "pending" | "connected" | "expired" | "none";
2217
+ session?: {
2218
+ ownerAddress: string;
2219
+ createdAt: number;
2220
+ walletId: string;
2221
+ topic: string;
2222
+ chainId: string;
2223
+ expiry: number;
2224
+ peerName: string | null;
2225
+ peerUrl: string | null;
2226
+ } | null | undefined;
2227
+ }>;
2228
+ export declare const WcDisconnectResponseSchema: z.ZodObject<{
2229
+ disconnected: z.ZodBoolean;
2230
+ }, "strip", z.ZodTypeAny, {
2231
+ disconnected: boolean;
2232
+ }, {
2233
+ disconnected: boolean;
2234
+ }>;
2235
+ export declare const WithdrawResponseSchema: z.ZodObject<{
2236
+ total: z.ZodNumber;
2237
+ succeeded: z.ZodNumber;
2238
+ failed: z.ZodNumber;
2239
+ results: z.ZodArray<z.ZodObject<{
2240
+ asset: z.ZodString;
2241
+ amount: z.ZodString;
2242
+ txHash: z.ZodOptional<z.ZodString>;
2243
+ error: z.ZodOptional<z.ZodString>;
2244
+ status: z.ZodEnum<["success", "failed"]>;
2245
+ }, "strip", z.ZodTypeAny, {
2246
+ status: "failed" | "success";
2247
+ amount: string;
2248
+ asset: string;
2249
+ txHash?: string | undefined;
2250
+ error?: string | undefined;
2251
+ }, {
2252
+ status: "failed" | "success";
2253
+ amount: string;
2254
+ asset: string;
2255
+ txHash?: string | undefined;
2256
+ error?: string | undefined;
2257
+ }>, "many">;
2258
+ }, "strip", z.ZodTypeAny, {
2259
+ failed: number;
2260
+ results: {
2261
+ status: "failed" | "success";
2262
+ amount: string;
2263
+ asset: string;
2264
+ txHash?: string | undefined;
2265
+ error?: string | undefined;
2266
+ }[];
2267
+ total: number;
2268
+ succeeded: number;
2269
+ }, {
2270
+ failed: number;
2271
+ results: {
2272
+ status: "failed" | "success";
2273
+ amount: string;
2274
+ asset: string;
2275
+ txHash?: string | undefined;
2276
+ error?: string | undefined;
2277
+ }[];
2278
+ total: number;
2279
+ succeeded: number;
2280
+ }>;
2281
+ //# sourceMappingURL=openapi-schemas.d.ts.map