tapimo 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (786) hide show
  1. package/README.md +10 -7
  2. package/dist/ApiKey.d.ts +3 -0
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +10 -0
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +29 -8
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +24 -5
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +20680 -15487
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +250 -129
  13. package/dist/App.js.map +1 -1
  14. package/dist/Assets.d.ts +10 -0
  15. package/dist/Assets.d.ts.map +1 -1
  16. package/dist/Assets.js +17 -4
  17. package/dist/Assets.js.map +1 -1
  18. package/dist/Scope.d.ts +19 -8
  19. package/dist/Scope.d.ts.map +1 -1
  20. package/dist/Scope.js +25 -9
  21. package/dist/Scope.js.map +1 -1
  22. package/dist/Webhooks.d.ts +1 -1
  23. package/dist/admin/App.d.ts +667 -76
  24. package/dist/admin/App.d.ts.map +1 -1
  25. package/dist/admin/App.js +12 -2
  26. package/dist/admin/App.js.map +1 -1
  27. package/dist/admin/apps/api-keys.d.ts +107 -11
  28. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  29. package/dist/admin/apps/api-keys.js +145 -32
  30. package/dist/admin/apps/api-keys.js.map +1 -1
  31. package/dist/admin/apps/earn-vaults.d.ts +1069 -0
  32. package/dist/admin/apps/earn-vaults.d.ts.map +1 -0
  33. package/dist/admin/apps/earn-vaults.js +409 -0
  34. package/dist/admin/apps/earn-vaults.js.map +1 -0
  35. package/dist/admin/apps/organizations.d.ts +2 -0
  36. package/dist/admin/apps/organizations.d.ts.map +1 -1
  37. package/dist/admin/apps/verified-tokens.d.ts +74 -74
  38. package/dist/admin/ui.generated.d.ts +1 -1
  39. package/dist/admin/ui.generated.d.ts.map +1 -1
  40. package/dist/admin/ui.generated.js +99 -43
  41. package/dist/admin/ui.generated.js.map +1 -1
  42. package/dist/analytics/Analytics.d.ts +4 -0
  43. package/dist/analytics/Analytics.d.ts.map +1 -1
  44. package/dist/analytics/Analytics.js +21 -2
  45. package/dist/analytics/Analytics.js.map +1 -1
  46. package/dist/analytics/tables/requestEvents.d.ts +22 -1
  47. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  48. package/dist/analytics/tables/requestEvents.js +59 -39
  49. package/dist/analytics/tables/requestEvents.js.map +1 -1
  50. package/dist/apps/Zones.d.ts +8335 -0
  51. package/dist/apps/Zones.d.ts.map +1 -0
  52. package/dist/apps/Zones.js +38 -0
  53. package/dist/apps/Zones.js.map +1 -0
  54. package/dist/apps/data/App.d.ts +5666 -3934
  55. package/dist/apps/data/App.d.ts.map +1 -1
  56. package/dist/apps/data/App.js +90 -22
  57. package/dist/apps/data/App.js.map +1 -1
  58. package/dist/apps/data/FxOracle.d.ts +1 -1
  59. package/dist/apps/data/FxOracle.d.ts.map +1 -1
  60. package/dist/apps/data/index.d.ts +0 -1
  61. package/dist/apps/data/index.d.ts.map +1 -1
  62. package/dist/apps/data/index.js +0 -1
  63. package/dist/apps/data/index.js.map +1 -1
  64. package/dist/apps/data/routes/activities.d.ts +56 -56
  65. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  66. package/dist/apps/data/routes/activities.js +130 -65
  67. package/dist/apps/data/routes/activities.js.map +1 -1
  68. package/dist/apps/data/routes/addresses.d.ts +65 -65
  69. package/dist/apps/data/routes/balances.d.ts +14 -14
  70. package/dist/apps/data/routes/balances.js +5 -5
  71. package/dist/apps/data/routes/balances.js.map +1 -1
  72. package/dist/apps/data/routes/blocks.d.ts +39 -39
  73. package/dist/apps/data/routes/coingecko.d.ts +54 -54
  74. package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
  75. package/dist/apps/data/routes/coingecko.js +62 -35
  76. package/dist/apps/data/routes/coingecko.js.map +1 -1
  77. package/dist/apps/data/routes/earn.d.ts +2574 -0
  78. package/dist/apps/data/routes/earn.d.ts.map +1 -0
  79. package/dist/apps/data/routes/earn.js +1574 -0
  80. package/dist/apps/data/routes/earn.js.map +1 -0
  81. package/dist/apps/data/routes/exchanges.d.ts +1626 -719
  82. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  83. package/dist/apps/data/routes/exchanges.js +656 -193
  84. package/dist/apps/data/routes/exchanges.js.map +1 -1
  85. package/dist/apps/data/routes/fee-amm.d.ts +108 -108
  86. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  87. package/dist/apps/data/routes/fee-amm.js +59 -8
  88. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  89. package/dist/apps/data/routes/indexer.d.ts +35 -35
  90. package/dist/apps/data/routes/indexer.d.ts.map +1 -1
  91. package/dist/apps/data/routes/indexer.js +23 -3
  92. package/dist/apps/data/routes/indexer.js.map +1 -1
  93. package/dist/apps/data/routes/receipts.d.ts +33 -33
  94. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  95. package/dist/apps/data/routes/receipts.js +11 -11
  96. package/dist/apps/data/routes/receipts.js.map +1 -1
  97. package/dist/apps/data/routes/rpc.d.ts +6 -6
  98. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  99. package/dist/apps/data/routes/rpc.js +214 -22
  100. package/dist/apps/data/routes/rpc.js.map +1 -1
  101. package/dist/apps/data/routes/tokenlist.d.ts +1 -1
  102. package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
  103. package/dist/apps/data/routes/tokenlist.js +39 -8
  104. package/dist/apps/data/routes/tokenlist.js.map +1 -1
  105. package/dist/apps/data/routes/tokens.d.ts +115 -87
  106. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  107. package/dist/apps/data/routes/tokens.js +194 -91
  108. package/dist/apps/data/routes/tokens.js.map +1 -1
  109. package/dist/apps/data/routes/transactions.d.ts +54 -54
  110. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  111. package/dist/apps/data/routes/transactions.js +78 -39
  112. package/dist/apps/data/routes/transactions.js.map +1 -1
  113. package/dist/apps/data/routes/transfers.d.ts +76 -27
  114. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  115. package/dist/apps/data/routes/transfers.js +165 -67
  116. package/dist/apps/data/routes/transfers.js.map +1 -1
  117. package/dist/apps/data/routes/valuation.d.ts +42 -42
  118. package/dist/apps/data/routes/valuation.js +2 -2
  119. package/dist/apps/data/routes/valuation.js.map +1 -1
  120. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  121. package/dist/apps/data/routes/webhooks.d.ts +370 -368
  122. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  123. package/dist/apps/data/routes/webhooks.js +161 -59
  124. package/dist/apps/data/routes/webhooks.js.map +1 -1
  125. package/dist/apps/data/routes/zones.d.ts +281 -0
  126. package/dist/apps/data/routes/zones.d.ts.map +1 -0
  127. package/dist/apps/data/routes/zones.js +252 -0
  128. package/dist/apps/data/routes/zones.js.map +1 -0
  129. package/dist/apps/docs/reference.js +6 -5
  130. package/dist/apps/docs/reference.js.map +1 -1
  131. package/dist/apps/funding/Access.d.ts +16 -0
  132. package/dist/apps/funding/Access.d.ts.map +1 -0
  133. package/dist/apps/funding/Access.js +22 -0
  134. package/dist/apps/funding/Access.js.map +1 -0
  135. package/dist/apps/funding/App.d.ts +3183 -0
  136. package/dist/apps/funding/App.d.ts.map +1 -0
  137. package/dist/apps/funding/App.js +46 -0
  138. package/dist/apps/funding/App.js.map +1 -0
  139. package/dist/apps/funding/Inventory.d.ts +5 -0
  140. package/dist/apps/funding/Inventory.d.ts.map +1 -0
  141. package/dist/apps/funding/Inventory.js +25 -0
  142. package/dist/apps/funding/Inventory.js.map +1 -0
  143. package/dist/apps/funding/ProviderAttempts.d.ts +5 -0
  144. package/dist/apps/funding/ProviderAttempts.d.ts.map +1 -0
  145. package/dist/apps/funding/ProviderAttempts.js +24 -0
  146. package/dist/apps/funding/ProviderAttempts.js.map +1 -0
  147. package/dist/apps/funding/index.d.ts +2 -0
  148. package/dist/apps/funding/index.d.ts.map +1 -0
  149. package/dist/apps/funding/index.js +2 -0
  150. package/dist/apps/funding/index.js.map +1 -0
  151. package/dist/apps/funding/routes/chains.d.ts +169 -0
  152. package/dist/apps/funding/routes/chains.d.ts.map +1 -0
  153. package/dist/apps/funding/routes/chains.js +80 -0
  154. package/dist/apps/funding/routes/chains.js.map +1 -0
  155. package/dist/apps/funding/routes/deposit-addresses.d.ts +2388 -0
  156. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -0
  157. package/dist/apps/funding/routes/deposit-addresses.js +860 -0
  158. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -0
  159. package/dist/apps/funding/routes/providers.d.ts +91 -0
  160. package/dist/apps/funding/routes/providers.d.ts.map +1 -0
  161. package/dist/apps/funding/routes/providers.js +56 -0
  162. package/dist/apps/funding/routes/providers.js.map +1 -0
  163. package/dist/apps/{data/routes/funding.d.ts → funding/routes/quotes.d.ts} +26 -396
  164. package/dist/apps/funding/routes/quotes.d.ts.map +1 -0
  165. package/dist/apps/funding/routes/quotes.js +188 -0
  166. package/dist/apps/funding/routes/quotes.js.map +1 -0
  167. package/dist/apps/funding/routes/transfers.d.ts +1999 -0
  168. package/dist/apps/funding/routes/transfers.d.ts.map +1 -0
  169. package/dist/apps/funding/routes/transfers.js +614 -0
  170. package/dist/apps/funding/routes/transfers.js.map +1 -0
  171. package/dist/apps/index.d.ts +3 -1
  172. package/dist/apps/index.d.ts.map +1 -1
  173. package/dist/apps/index.js +3 -1
  174. package/dist/apps/index.js.map +1 -1
  175. package/dist/apps/management/App.d.ts +839 -574
  176. package/dist/apps/management/App.d.ts.map +1 -1
  177. package/dist/apps/management/Billing.d.ts +8 -0
  178. package/dist/apps/management/Billing.d.ts.map +1 -1
  179. package/dist/apps/management/Billing.js +12 -0
  180. package/dist/apps/management/Billing.js.map +1 -1
  181. package/dist/apps/management/Error.d.ts +12 -0
  182. package/dist/apps/management/Error.d.ts.map +1 -0
  183. package/dist/apps/management/Error.js +10 -0
  184. package/dist/apps/management/Error.js.map +1 -0
  185. package/dist/apps/management/routes/api-keys.d.ts +296 -19
  186. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  187. package/dist/apps/management/routes/api-keys.js +77 -9
  188. package/dist/apps/management/routes/api-keys.js.map +1 -1
  189. package/dist/apps/management/routes/billing.d.ts +119 -119
  190. package/dist/apps/management/routes/faucet.d.ts +35 -35
  191. package/dist/apps/management/routes/invitations.d.ts +17 -17
  192. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  193. package/dist/apps/management/routes/invitations.js +4 -10
  194. package/dist/apps/management/routes/invitations.js.map +1 -1
  195. package/dist/apps/management/routes/invite-links.d.ts +38 -38
  196. package/dist/apps/management/routes/me.d.ts +6 -6
  197. package/dist/apps/management/routes/members.d.ts +69 -69
  198. package/dist/apps/management/routes/orgs.d.ts +16 -16
  199. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  200. package/dist/apps/management/routes/orgs.js +2 -8
  201. package/dist/apps/management/routes/orgs.js.map +1 -1
  202. package/dist/apps/management/routes/projects.d.ts +19 -19
  203. package/dist/apps/management/routes/scopes.d.ts +1 -1
  204. package/dist/apps/management/routes/scopes.js +2 -2
  205. package/dist/apps/management/routes/scopes.js.map +1 -1
  206. package/dist/apps/management/routes/usage.d.ts +72 -72
  207. package/dist/apps/management/routes/verified-token-requests.d.ts +18 -18
  208. package/dist/apps/management/routes/webhooks.d.ts +122 -122
  209. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  210. package/dist/apps/management/routes/webhooks.js +15 -3
  211. package/dist/apps/management/routes/webhooks.js.map +1 -1
  212. package/dist/apps/mcp.d.ts +2 -3
  213. package/dist/apps/mcp.d.ts.map +1 -1
  214. package/dist/apps/mcp.js +16 -14
  215. package/dist/apps/mcp.js.map +1 -1
  216. package/dist/apps/metadata.d.ts +4 -0
  217. package/dist/apps/metadata.d.ts.map +1 -1
  218. package/dist/apps/metadata.js +10 -0
  219. package/dist/apps/metadata.js.map +1 -1
  220. package/dist/apps/mpp/App.d.ts +57 -58
  221. package/dist/apps/mpp/App.d.ts.map +1 -1
  222. package/dist/apps/mpp/App.js +192 -27
  223. package/dist/apps/mpp/App.js.map +1 -1
  224. package/dist/apps/mpp/Mpp.d.ts +0 -20
  225. package/dist/apps/mpp/Mpp.d.ts.map +1 -1
  226. package/dist/apps/mpp/Mpp.js +0 -24
  227. package/dist/apps/mpp/Mpp.js.map +1 -1
  228. package/dist/apps/mpp/internal/Adapter.d.ts +40 -0
  229. package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -0
  230. package/dist/apps/mpp/internal/Adapter.js +66 -0
  231. package/dist/apps/mpp/internal/Adapter.js.map +1 -0
  232. package/dist/apps/mpp/internal/Error.d.ts +4 -0
  233. package/dist/apps/mpp/internal/Error.d.ts.map +1 -0
  234. package/dist/apps/mpp/internal/Error.js +41 -0
  235. package/dist/apps/mpp/internal/Error.js.map +1 -0
  236. package/dist/apps/mpp/internal/Idempotency.d.ts +33 -0
  237. package/dist/apps/mpp/internal/Idempotency.d.ts.map +1 -0
  238. package/dist/apps/mpp/internal/Idempotency.js +28 -0
  239. package/dist/apps/mpp/internal/Idempotency.js.map +1 -0
  240. package/dist/apps/mpp/internal/Policy.d.ts +46 -0
  241. package/dist/apps/mpp/internal/Policy.d.ts.map +1 -0
  242. package/dist/apps/mpp/internal/Policy.js +57 -0
  243. package/dist/apps/mpp/internal/Policy.js.map +1 -0
  244. package/dist/apps/mpp/internal/ScreenManager.d.ts +27 -0
  245. package/dist/apps/mpp/internal/ScreenManager.d.ts.map +1 -0
  246. package/dist/apps/mpp/internal/ScreenManager.js +18 -0
  247. package/dist/apps/mpp/internal/ScreenManager.js.map +1 -0
  248. package/dist/apps/mpp/internal/Screening.d.ts +35 -0
  249. package/dist/apps/mpp/internal/Screening.d.ts.map +1 -0
  250. package/dist/apps/mpp/internal/Screening.js +20 -0
  251. package/dist/apps/mpp/internal/Screening.js.map +1 -0
  252. package/dist/apps/mpp/internal/Sponsorship.d.ts +36 -0
  253. package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -0
  254. package/dist/apps/mpp/internal/Sponsorship.js +103 -0
  255. package/dist/apps/mpp/internal/Sponsorship.js.map +1 -0
  256. package/dist/apps/mpp/internal/Utils.d.ts +7 -0
  257. package/dist/apps/mpp/internal/Utils.d.ts.map +1 -0
  258. package/dist/apps/mpp/internal/Utils.js +24 -0
  259. package/dist/apps/mpp/internal/Utils.js.map +1 -0
  260. package/dist/apps/relay/App.js +183 -23
  261. package/dist/apps/relay/App.js.map +1 -1
  262. package/dist/apps/relay/Sponsorships.d.ts +4 -0
  263. package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
  264. package/dist/apps/relay/Sponsorships.js +15 -6
  265. package/dist/apps/relay/Sponsorships.js.map +1 -1
  266. package/dist/cloudflare.d.ts +50 -0
  267. package/dist/cloudflare.d.ts.map +1 -1
  268. package/dist/cloudflare.js +178 -0
  269. package/dist/cloudflare.js.map +1 -1
  270. package/dist/db/Db.d.ts +22 -0
  271. package/dist/db/Db.d.ts.map +1 -1
  272. package/dist/db/Db.js +379 -0
  273. package/dist/db/Db.js.map +1 -1
  274. package/dist/db/Schema.d.ts +933 -1
  275. package/dist/db/Schema.d.ts.map +1 -1
  276. package/dist/db/Schema.js +289 -1
  277. package/dist/db/Schema.js.map +1 -1
  278. package/dist/db/tables/earnVaults.d.ts +68 -0
  279. package/dist/db/tables/earnVaults.d.ts.map +1 -0
  280. package/dist/db/tables/earnVaults.js +72 -0
  281. package/dist/db/tables/earnVaults.js.map +1 -0
  282. package/dist/db/tables/fundingCatalog.d.ts +56 -0
  283. package/dist/db/tables/fundingCatalog.d.ts.map +1 -0
  284. package/dist/db/tables/fundingCatalog.js +85 -0
  285. package/dist/db/tables/fundingCatalog.js.map +1 -0
  286. package/dist/db/tables/fundingDepositAddresses.d.ts +172 -0
  287. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -0
  288. package/dist/db/tables/fundingDepositAddresses.js +218 -0
  289. package/dist/db/tables/fundingDepositAddresses.js.map +1 -0
  290. package/dist/db/tables/fundingDepositRequestObservations.d.ts +45 -0
  291. package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +1 -0
  292. package/dist/db/tables/fundingDepositRequestObservations.js +46 -0
  293. package/dist/db/tables/fundingDepositRequestObservations.js.map +1 -0
  294. package/dist/db/tables/fundingDeposits.d.ts +171 -0
  295. package/dist/db/tables/fundingDeposits.d.ts.map +1 -0
  296. package/dist/db/tables/fundingDeposits.js +182 -0
  297. package/dist/db/tables/fundingDeposits.js.map +1 -0
  298. package/dist/db/tables/fundingIdempotency.d.ts +91 -0
  299. package/dist/db/tables/fundingIdempotency.d.ts.map +1 -0
  300. package/dist/db/tables/fundingIdempotency.js +103 -0
  301. package/dist/db/tables/fundingIdempotency.js.map +1 -0
  302. package/dist/db/tables/fundingTransferEvents.d.ts +12 -0
  303. package/dist/db/tables/fundingTransferEvents.d.ts.map +1 -0
  304. package/dist/db/tables/fundingTransferEvents.js +18 -0
  305. package/dist/db/tables/fundingTransferEvents.js.map +1 -0
  306. package/dist/db/tables/fundingTransferTransactions.d.ts +15 -0
  307. package/dist/db/tables/fundingTransferTransactions.d.ts.map +1 -0
  308. package/dist/db/tables/fundingTransferTransactions.js +27 -0
  309. package/dist/db/tables/fundingTransferTransactions.js.map +1 -0
  310. package/dist/db/tables/fundingTransfers.d.ts +82 -0
  311. package/dist/db/tables/fundingTransfers.d.ts.map +1 -0
  312. package/dist/db/tables/fundingTransfers.js +89 -0
  313. package/dist/db/tables/fundingTransfers.js.map +1 -0
  314. package/dist/db/tables/organizations.d.ts +8 -0
  315. package/dist/db/tables/organizations.d.ts.map +1 -1
  316. package/dist/db/tables/organizations.js +16 -0
  317. package/dist/db/tables/organizations.js.map +1 -1
  318. package/dist/db/tables/projects.d.ts +8 -0
  319. package/dist/db/tables/projects.d.ts.map +1 -1
  320. package/dist/db/tables/projects.js +16 -0
  321. package/dist/db/tables/projects.js.map +1 -1
  322. package/dist/db/tables/requestUsage.d.ts +13 -0
  323. package/dist/db/tables/requestUsage.d.ts.map +1 -1
  324. package/dist/db/tables/requestUsage.js +16 -0
  325. package/dist/db/tables/requestUsage.js.map +1 -1
  326. package/dist/db/tables/sponsoredTransactions.d.ts +2 -2
  327. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  328. package/dist/db/tables/sponsoredTransactions.js +1 -1
  329. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  330. package/dist/db/tables/users.d.ts +8 -0
  331. package/dist/db/tables/users.d.ts.map +1 -1
  332. package/dist/db/tables/users.js +16 -0
  333. package/dist/db/tables/users.js.map +1 -1
  334. package/dist/db/tables/verifiedTokens.d.ts +14 -7
  335. package/dist/db/tables/verifiedTokens.d.ts.map +1 -1
  336. package/dist/db/tables/verifiedTokens.js +9 -7
  337. package/dist/db/tables/verifiedTokens.js.map +1 -1
  338. package/dist/db/tables/webhookSubscriptions.d.ts +31 -1
  339. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  340. package/dist/db/tables/webhookSubscriptions.js +24 -3
  341. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  342. package/dist/handlers/relay.js +108 -108
  343. package/dist/handlers/relay.js.map +1 -1
  344. package/dist/internal/Auth.d.ts +37 -11
  345. package/dist/internal/Auth.d.ts.map +1 -1
  346. package/dist/internal/Auth.js +75 -16
  347. package/dist/internal/Auth.js.map +1 -1
  348. package/dist/internal/Cache.d.ts.map +1 -1
  349. package/dist/internal/Cache.js +17 -11
  350. package/dist/internal/Cache.js.map +1 -1
  351. package/dist/internal/Cursor.js +1 -1
  352. package/dist/internal/Cursor.js.map +1 -1
  353. package/dist/internal/EarnRates.d.ts +89 -0
  354. package/dist/internal/EarnRates.d.ts.map +1 -0
  355. package/dist/internal/EarnRates.js +266 -0
  356. package/dist/internal/EarnRates.js.map +1 -0
  357. package/dist/internal/EarnVaults.d.ts +171 -0
  358. package/dist/internal/EarnVaults.d.ts.map +1 -0
  359. package/dist/internal/EarnVaults.js +547 -0
  360. package/dist/internal/EarnVaults.js.map +1 -0
  361. package/dist/internal/EdgeCache.d.ts +10 -3
  362. package/dist/internal/EdgeCache.d.ts.map +1 -1
  363. package/dist/internal/EdgeCache.js +43 -11
  364. package/dist/internal/EdgeCache.js.map +1 -1
  365. package/dist/internal/Id.d.ts +11 -0
  366. package/dist/internal/Id.d.ts.map +1 -1
  367. package/dist/internal/Id.js +13 -0
  368. package/dist/internal/Id.js.map +1 -1
  369. package/dist/internal/Idempotency.d.ts +83 -0
  370. package/dist/internal/Idempotency.d.ts.map +1 -0
  371. package/dist/internal/Idempotency.js +113 -0
  372. package/dist/internal/Idempotency.js.map +1 -0
  373. package/dist/internal/IpAllowlist.d.ts +15 -0
  374. package/dist/internal/IpAllowlist.d.ts.map +1 -0
  375. package/dist/internal/IpAllowlist.js +27 -0
  376. package/dist/internal/IpAllowlist.js.map +1 -0
  377. package/dist/internal/Log.d.ts +64 -9
  378. package/dist/internal/Log.d.ts.map +1 -1
  379. package/dist/internal/Log.js +29 -7
  380. package/dist/internal/Log.js.map +1 -1
  381. package/dist/internal/MetricSink.d.ts.map +1 -1
  382. package/dist/internal/MetricSink.js +47 -1
  383. package/dist/internal/MetricSink.js.map +1 -1
  384. package/dist/internal/OpenApi.d.ts +2 -2
  385. package/dist/internal/OpenApi.d.ts.map +1 -1
  386. package/dist/internal/OpenApi.js +4 -1
  387. package/dist/internal/OpenApi.js.map +1 -1
  388. package/dist/internal/Provider.d.ts +14 -0
  389. package/dist/internal/Provider.d.ts.map +1 -0
  390. package/dist/internal/Provider.js +5 -0
  391. package/dist/internal/Provider.js.map +1 -0
  392. package/dist/internal/Schema.d.ts +6 -1
  393. package/dist/internal/Schema.d.ts.map +1 -1
  394. package/dist/internal/Schema.js +20 -11
  395. package/dist/internal/Schema.js.map +1 -1
  396. package/dist/internal/Store.d.ts +6 -0
  397. package/dist/internal/Store.d.ts.map +1 -1
  398. package/dist/internal/Store.js +35 -0
  399. package/dist/internal/Store.js.map +1 -1
  400. package/dist/internal/Tidx.d.ts +49 -24
  401. package/dist/internal/Tidx.d.ts.map +1 -1
  402. package/dist/internal/Tidx.js +90 -12
  403. package/dist/internal/Tidx.js.map +1 -1
  404. package/dist/internal/Viem.d.ts +90 -65
  405. package/dist/internal/Viem.d.ts.map +1 -1
  406. package/dist/internal/Viem.js +90 -12
  407. package/dist/internal/Viem.js.map +1 -1
  408. package/dist/internal/WebhookDestination.d.ts.map +1 -1
  409. package/dist/internal/WebhookDestination.js +34 -28
  410. package/dist/internal/WebhookDestination.js.map +1 -1
  411. package/dist/internal/Webhooks.d.ts +9 -0
  412. package/dist/internal/Webhooks.d.ts.map +1 -1
  413. package/dist/internal/Webhooks.js +15 -10
  414. package/dist/internal/Webhooks.js.map +1 -1
  415. package/dist/internal/exchange/Provider.d.ts +219 -0
  416. package/dist/internal/exchange/Provider.d.ts.map +1 -0
  417. package/dist/internal/exchange/Provider.js +117 -0
  418. package/dist/internal/exchange/Provider.js.map +1 -0
  419. package/dist/internal/exchange/index.d.ts +2 -0
  420. package/dist/internal/exchange/index.d.ts.map +1 -0
  421. package/dist/internal/exchange/index.js +2 -0
  422. package/dist/internal/exchange/index.js.map +1 -0
  423. package/dist/internal/exchange/providers/uniswap.d.ts +57 -0
  424. package/dist/internal/exchange/providers/uniswap.d.ts.map +1 -0
  425. package/dist/internal/exchange/providers/uniswap.js +553 -0
  426. package/dist/internal/exchange/providers/uniswap.js.map +1 -0
  427. package/dist/internal/funding/Action.d.ts +55 -0
  428. package/dist/internal/funding/Action.d.ts.map +1 -0
  429. package/dist/internal/funding/Action.js +74 -0
  430. package/dist/internal/funding/Action.js.map +1 -0
  431. package/dist/internal/funding/Catalog.d.ts +107 -0
  432. package/dist/internal/funding/Catalog.d.ts.map +1 -0
  433. package/dist/internal/funding/Catalog.js +270 -0
  434. package/dist/internal/funding/Catalog.js.map +1 -0
  435. package/dist/internal/funding/Chain.d.ts +76 -0
  436. package/dist/internal/funding/Chain.d.ts.map +1 -0
  437. package/dist/internal/funding/Chain.js +38 -0
  438. package/dist/internal/funding/Chain.js.map +1 -0
  439. package/dist/internal/funding/Deposit.d.ts +408 -0
  440. package/dist/internal/funding/Deposit.d.ts.map +1 -0
  441. package/dist/internal/funding/Deposit.js +318 -0
  442. package/dist/internal/funding/Deposit.js.map +1 -0
  443. package/dist/internal/funding/DepositAddress.d.ts +345 -0
  444. package/dist/internal/funding/DepositAddress.d.ts.map +1 -0
  445. package/dist/internal/funding/DepositAddress.js +189 -0
  446. package/dist/internal/funding/DepositAddress.js.map +1 -0
  447. package/dist/internal/funding/Evidence.d.ts +48 -0
  448. package/dist/internal/funding/Evidence.d.ts.map +1 -0
  449. package/dist/internal/funding/Evidence.js +315 -0
  450. package/dist/internal/funding/Evidence.js.map +1 -0
  451. package/dist/internal/funding/Provider.d.ts +1288 -0
  452. package/dist/internal/funding/Provider.d.ts.map +1 -0
  453. package/dist/internal/funding/Provider.js +1086 -0
  454. package/dist/internal/funding/Provider.js.map +1 -0
  455. package/dist/internal/funding/Reconciliation.d.ts +127 -0
  456. package/dist/internal/funding/Reconciliation.d.ts.map +1 -0
  457. package/dist/internal/funding/Reconciliation.js +885 -0
  458. package/dist/internal/funding/Reconciliation.js.map +1 -0
  459. package/dist/internal/funding/Route.d.ts +21 -0
  460. package/dist/internal/funding/Route.d.ts.map +1 -0
  461. package/dist/internal/funding/Route.js +5 -0
  462. package/dist/internal/funding/Route.js.map +1 -0
  463. package/dist/internal/funding/SourceObservation.d.ts +108 -0
  464. package/dist/internal/funding/SourceObservation.d.ts.map +1 -0
  465. package/dist/internal/funding/SourceObservation.js +143 -0
  466. package/dist/internal/funding/SourceObservation.js.map +1 -0
  467. package/dist/internal/funding/Subsidy.d.ts +113 -0
  468. package/dist/internal/funding/Subsidy.d.ts.map +1 -0
  469. package/dist/internal/funding/Subsidy.js +138 -0
  470. package/dist/internal/funding/Subsidy.js.map +1 -0
  471. package/dist/internal/funding/Token.d.ts +41 -0
  472. package/dist/internal/funding/Token.d.ts.map +1 -0
  473. package/dist/internal/funding/Token.js +22 -0
  474. package/dist/internal/funding/Token.js.map +1 -0
  475. package/dist/internal/funding/Transfer.d.ts +643 -0
  476. package/dist/internal/funding/Transfer.d.ts.map +1 -0
  477. package/dist/internal/funding/Transfer.js +332 -0
  478. package/dist/internal/funding/Transfer.js.map +1 -0
  479. package/dist/internal/funding/index.d.ts +14 -0
  480. package/dist/internal/funding/index.d.ts.map +1 -0
  481. package/dist/internal/funding/index.js +14 -0
  482. package/dist/internal/funding/index.js.map +1 -0
  483. package/dist/internal/funding/providers/across.d.ts +21 -0
  484. package/dist/internal/funding/providers/across.d.ts.map +1 -0
  485. package/dist/internal/funding/providers/across.js +117 -0
  486. package/dist/internal/funding/providers/across.js.map +1 -0
  487. package/dist/internal/funding/providers/relay.d.ts +88 -0
  488. package/dist/internal/funding/providers/relay.d.ts.map +1 -0
  489. package/dist/internal/funding/providers/relay.js +871 -0
  490. package/dist/internal/funding/providers/relay.js.map +1 -0
  491. package/dist/internal/funding/providers/rhino.d.ts +15 -0
  492. package/dist/internal/funding/providers/rhino.d.ts.map +1 -0
  493. package/dist/internal/funding/providers/rhino.js +116 -0
  494. package/dist/internal/funding/providers/rhino.js.map +1 -0
  495. package/dist/internal/funding/providers/squid.d.ts +19 -0
  496. package/dist/internal/funding/providers/squid.d.ts.map +1 -0
  497. package/dist/internal/funding/providers/squid.js +120 -0
  498. package/dist/internal/funding/providers/squid.js.map +1 -0
  499. package/dist/internal/funding/providers/symbiosis.d.ts +20 -0
  500. package/dist/internal/funding/providers/symbiosis.d.ts.map +1 -0
  501. package/dist/internal/funding/providers/symbiosis.js +176 -0
  502. package/dist/internal/funding/providers/symbiosis.js.map +1 -0
  503. package/dist/internal/index.d.ts +5 -1
  504. package/dist/internal/index.d.ts.map +1 -1
  505. package/dist/internal/index.js +5 -1
  506. package/dist/internal/index.js.map +1 -1
  507. package/dist/internal/webhookDestinations/url.js +61 -57
  508. package/dist/internal/webhookDestinations/url.js.map +1 -1
  509. package/dist/providers/index.d.ts +43 -0
  510. package/dist/providers/index.d.ts.map +1 -0
  511. package/dist/providers/index.js +19 -0
  512. package/dist/providers/index.js.map +1 -0
  513. package/package.json +10 -5
  514. package/src/ApiKey.test.ts +35 -0
  515. package/src/ApiKey.ts +27 -0
  516. package/src/ApiKeys.test.ts +40 -7
  517. package/src/ApiKeys.ts +46 -10
  518. package/src/App.test.ts +108 -15
  519. package/src/App.ts +296 -138
  520. package/src/Assets.ts +29 -4
  521. package/src/Client.test-d.ts +809 -37
  522. package/src/Scope.test.ts +19 -0
  523. package/src/Scope.ts +28 -11
  524. package/src/Webhooks.test.ts +25 -0
  525. package/src/Webhooks.ts +1 -1
  526. package/src/admin/App.test.ts +9 -2
  527. package/src/admin/App.ts +32 -9
  528. package/src/admin/apps/api-keys.test.ts +190 -22
  529. package/src/admin/apps/api-keys.ts +170 -28
  530. package/src/admin/apps/earn-vaults.test.ts +338 -0
  531. package/src/admin/apps/earn-vaults.ts +572 -0
  532. package/src/admin/apps/scopes.test.ts +16 -1
  533. package/src/admin/ui/plugin.ts +2 -2
  534. package/src/admin/ui/src/components/EarnVaultForm.tsx +137 -0
  535. package/src/admin/ui/src/components/MobileProfile.tsx +2 -2
  536. package/src/admin/ui/src/components/Page.tsx +1 -1
  537. package/src/admin/ui/src/components/ThemeToggle.tsx +1 -1
  538. package/src/admin/ui/src/lib/api-keys.ts +37 -7
  539. package/src/admin/ui/src/lib/client.ts +1 -1
  540. package/src/admin/ui/src/lib/config.ts +1 -1
  541. package/src/admin/ui/src/lib/early-access.ts +8 -9
  542. package/src/admin/ui/src/lib/earn-vaults.ts +207 -0
  543. package/src/admin/ui/src/lib/format.ts +13 -0
  544. package/src/admin/ui/src/lib/organizations.test.ts +14 -4
  545. package/src/admin/ui/src/lib/organizations.ts +7 -1
  546. package/src/admin/ui/src/lib/response.ts +22 -0
  547. package/src/admin/ui/src/lib/scopes.test.ts +19 -11
  548. package/src/admin/ui/src/lib/scopes.ts +28 -7
  549. package/src/admin/ui/src/lib/verified-tokens.ts +10 -9
  550. package/src/admin/ui/src/routeTree.gen.ts +70 -7
  551. package/src/admin/ui/src/router.tsx +2 -2
  552. package/src/admin/ui/src/routes/__root.tsx +9 -8
  553. package/src/admin/ui/src/routes/api-keys.tsx +475 -64
  554. package/src/admin/ui/src/routes/early-access.tsx +5 -12
  555. package/src/admin/ui/src/routes/earn.vaults.tsx +348 -0
  556. package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +154 -0
  557. package/src/admin/ui/src/routes/earn.vaults_.new.tsx +190 -0
  558. package/src/admin/ui/src/routes/organizations.tsx +4 -7
  559. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +56 -54
  560. package/src/admin/ui/src/routes/verified-tokens.tsx +4 -4
  561. package/src/admin/ui/vite.config.ts +4 -1
  562. package/src/admin/ui.generated.ts +113 -43
  563. package/src/analytics/Analytics.test.ts +69 -10
  564. package/src/analytics/Analytics.ts +24 -1
  565. package/src/analytics/tables/requestEvents.ts +79 -37
  566. package/src/apps/Zones.test.ts +33 -0
  567. package/src/apps/Zones.ts +40 -0
  568. package/src/apps/composition.test.ts +184 -3
  569. package/src/apps/data/App.test.ts +28 -23
  570. package/src/apps/data/App.ts +95 -36
  571. package/src/apps/data/FxOracle.ts +1 -1
  572. package/src/apps/data/index.ts +0 -1
  573. package/src/apps/data/routes/activities.test.ts +82 -6
  574. package/src/apps/data/routes/activities.ts +131 -71
  575. package/src/apps/data/routes/balances.test.ts +50 -37
  576. package/src/apps/data/routes/balances.ts +5 -5
  577. package/src/apps/data/routes/blocks.test.ts +2 -0
  578. package/src/apps/data/routes/coingecko.test.ts +22 -0
  579. package/src/apps/data/routes/coingecko.ts +84 -48
  580. package/src/apps/data/routes/earn.test.ts +1391 -0
  581. package/src/apps/data/routes/earn.ts +2188 -0
  582. package/src/apps/data/routes/exchanges.test.ts +82 -33
  583. package/src/apps/data/routes/exchanges.ts +842 -227
  584. package/src/apps/data/routes/fee-amm.test.ts +4 -6
  585. package/src/apps/data/routes/fee-amm.ts +69 -12
  586. package/src/apps/data/routes/indexer.test.ts +43 -34
  587. package/src/apps/data/routes/indexer.ts +21 -3
  588. package/src/apps/data/routes/receipts.test.ts +5 -3
  589. package/src/apps/data/routes/receipts.ts +13 -11
  590. package/src/apps/data/routes/rpc.test.ts +446 -28
  591. package/src/apps/data/routes/rpc.ts +245 -25
  592. package/src/apps/data/routes/tokenlist.ts +72 -19
  593. package/src/apps/data/routes/tokens.test.ts +6 -8
  594. package/src/apps/data/routes/tokens.ts +258 -86
  595. package/src/apps/data/routes/transactions.test.ts +2 -0
  596. package/src/apps/data/routes/transactions.ts +77 -42
  597. package/src/apps/data/routes/transfers.test.ts +166 -4
  598. package/src/apps/data/routes/transfers.ts +216 -78
  599. package/src/apps/data/routes/valuation.test.ts +62 -9
  600. package/src/apps/data/routes/valuation.ts +2 -2
  601. package/src/apps/data/routes/webhooks.test.ts +386 -43
  602. package/src/apps/data/routes/webhooks.ts +172 -71
  603. package/src/apps/data/routes/zones.test.ts +473 -0
  604. package/src/apps/data/routes/zones.ts +338 -0
  605. package/src/apps/docs/reference.ts +8 -6
  606. package/src/apps/funding/Access.ts +26 -0
  607. package/src/apps/funding/App.test.ts +78 -0
  608. package/src/apps/funding/App.ts +63 -0
  609. package/src/apps/funding/Inventory.ts +30 -0
  610. package/src/apps/funding/ProviderAttempts.ts +26 -0
  611. package/src/apps/funding/index.ts +1 -0
  612. package/src/apps/funding/routes/chains.test.ts +78 -0
  613. package/src/apps/funding/routes/chains.ts +101 -0
  614. package/src/apps/funding/routes/deposit-addresses.test.ts +1628 -0
  615. package/src/apps/funding/routes/deposit-addresses.ts +1015 -0
  616. package/src/apps/funding/routes/providers.test.ts +165 -0
  617. package/src/apps/funding/routes/providers.ts +73 -0
  618. package/src/apps/funding/routes/quotes.test.ts +511 -0
  619. package/src/apps/funding/routes/quotes.ts +205 -0
  620. package/src/apps/funding/routes/transfers.test.ts +1255 -0
  621. package/src/apps/funding/routes/transfers.ts +704 -0
  622. package/src/apps/index.ts +3 -1
  623. package/src/apps/management/Billing.test.ts +29 -0
  624. package/src/apps/management/Billing.ts +23 -0
  625. package/src/apps/management/Error.ts +12 -0
  626. package/src/apps/management/routes/api-keys.test.ts +103 -3
  627. package/src/apps/management/routes/api-keys.ts +98 -10
  628. package/src/apps/management/routes/invitations.ts +4 -11
  629. package/src/apps/management/routes/orgs.ts +2 -9
  630. package/src/apps/management/routes/scopes.test.ts +7 -2
  631. package/src/apps/management/routes/scopes.ts +2 -2
  632. package/src/apps/management/routes/webhooks.test.ts +6 -1
  633. package/src/apps/management/routes/webhooks.ts +15 -3
  634. package/src/apps/mcp.test.ts +17 -2
  635. package/src/apps/mcp.ts +18 -13
  636. package/src/apps/metadata.ts +12 -0
  637. package/src/apps/mpp/App.ts +276 -29
  638. package/src/apps/mpp/Mpp.test.ts +631 -26
  639. package/src/apps/mpp/Mpp.ts +0 -42
  640. package/src/apps/mpp/internal/Adapter.ts +108 -3
  641. package/src/apps/mpp/internal/Error.test.ts +33 -0
  642. package/src/apps/mpp/internal/Error.ts +44 -6
  643. package/src/apps/mpp/internal/Idempotency.test.ts +213 -0
  644. package/src/apps/mpp/internal/Idempotency.ts +59 -5
  645. package/src/apps/mpp/internal/Policy.test.ts +128 -0
  646. package/src/apps/mpp/internal/Policy.ts +98 -0
  647. package/src/apps/mpp/internal/ScreenManager.test.ts +68 -0
  648. package/src/apps/mpp/internal/ScreenManager.ts +41 -0
  649. package/src/apps/mpp/internal/Screening.ts +40 -3
  650. package/src/apps/mpp/internal/Sponsorship.ts +144 -0
  651. package/src/apps/mpp/internal/Utils.ts +30 -0
  652. package/src/apps/relay/App.test.ts +493 -62
  653. package/src/apps/relay/App.ts +233 -23
  654. package/src/apps/relay/Sponsorships.test.ts +49 -0
  655. package/src/apps/relay/Sponsorships.ts +18 -6
  656. package/src/cloudflare.ts +279 -0
  657. package/src/db/Db.ts +501 -0
  658. package/src/db/Schema.ts +349 -2
  659. package/src/db/tables/earnVaults.test.ts +185 -0
  660. package/src/db/tables/earnVaults.ts +151 -0
  661. package/src/db/tables/fundingCatalog.test.ts +108 -0
  662. package/src/db/tables/fundingCatalog.ts +157 -0
  663. package/src/db/tables/fundingDepositAddresses.test.ts +580 -0
  664. package/src/db/tables/fundingDepositAddresses.ts +404 -0
  665. package/src/db/tables/fundingDepositRequestObservations.test.ts +106 -0
  666. package/src/db/tables/fundingDepositRequestObservations.ts +99 -0
  667. package/src/db/tables/fundingDeposits.test.ts +399 -0
  668. package/src/db/tables/fundingDeposits.ts +373 -0
  669. package/src/db/tables/fundingIdempotency.test.ts +182 -0
  670. package/src/db/tables/fundingIdempotency.ts +180 -0
  671. package/src/db/tables/fundingTransferEvents.ts +28 -0
  672. package/src/db/tables/fundingTransferTransactions.test.ts +69 -0
  673. package/src/db/tables/fundingTransferTransactions.ts +37 -0
  674. package/src/db/tables/fundingTransfers.test.ts +89 -0
  675. package/src/db/tables/fundingTransfers.ts +153 -0
  676. package/src/db/tables/organizations.ts +16 -0
  677. package/src/db/tables/projects.ts +16 -0
  678. package/src/db/tables/requestUsage.ts +23 -0
  679. package/src/db/tables/sponsoredTransactions.test.ts +11 -0
  680. package/src/db/tables/sponsoredTransactions.ts +3 -3
  681. package/src/db/tables/users.ts +16 -0
  682. package/src/db/tables/verifiedTokens.ts +19 -14
  683. package/src/db/tables/webhookSubscriptions.ts +58 -3
  684. package/src/handlers/relay.test.ts +2 -0
  685. package/src/handlers/relay.ts +95 -99
  686. package/src/internal/Auth.test.ts +225 -5
  687. package/src/internal/Auth.ts +109 -20
  688. package/src/internal/Cache.test.ts +37 -3
  689. package/src/internal/Cache.ts +14 -10
  690. package/src/internal/Cursor.test.ts +2 -2
  691. package/src/internal/Cursor.ts +1 -1
  692. package/src/internal/EarnRates.test.ts +125 -0
  693. package/src/internal/EarnRates.ts +409 -0
  694. package/src/internal/EarnVaults.test.ts +195 -0
  695. package/src/internal/EarnVaults.ts +876 -0
  696. package/src/internal/EdgeCache.test.ts +26 -7
  697. package/src/internal/EdgeCache.ts +48 -9
  698. package/src/internal/Id.ts +14 -0
  699. package/src/internal/Idempotency.test.ts +109 -0
  700. package/src/internal/Idempotency.ts +237 -0
  701. package/src/internal/IpAllowlist.test.ts +52 -0
  702. package/src/internal/IpAllowlist.ts +39 -0
  703. package/src/internal/Log.test-d.ts +41 -8
  704. package/src/internal/Log.test.ts +196 -9
  705. package/src/internal/Log.ts +124 -17
  706. package/src/internal/MetricSink.test.ts +244 -4
  707. package/src/internal/MetricSink.ts +51 -1
  708. package/src/internal/OpenApi.ts +4 -1
  709. package/src/internal/Provider.test.ts +17 -0
  710. package/src/internal/Provider.ts +17 -0
  711. package/src/internal/Schema.ts +27 -17
  712. package/src/internal/Store.test.ts +25 -0
  713. package/src/internal/Store.ts +46 -0
  714. package/src/internal/Tidx.local.test.ts +78 -3
  715. package/src/internal/Tidx.test.ts +240 -18
  716. package/src/internal/Tidx.ts +129 -33
  717. package/src/internal/VerifiedTokens.test.ts +15 -0
  718. package/src/internal/Viem.test.ts +198 -17
  719. package/src/internal/Viem.ts +127 -28
  720. package/src/internal/WebhookDestination.ts +25 -23
  721. package/src/internal/Webhooks.test.ts +59 -0
  722. package/src/internal/Webhooks.ts +34 -10
  723. package/src/internal/exchange/Provider.test.ts +216 -0
  724. package/src/internal/exchange/Provider.ts +326 -0
  725. package/src/internal/exchange/index.test.ts +6 -0
  726. package/src/internal/exchange/index.ts +1 -0
  727. package/src/internal/exchange/providers/uniswap.test.ts +122 -0
  728. package/src/internal/exchange/providers/uniswap.ts +682 -0
  729. package/src/internal/funding/Action.test.ts +138 -0
  730. package/src/internal/funding/Action.ts +117 -0
  731. package/src/internal/funding/Catalog.test.ts +311 -0
  732. package/src/internal/funding/Catalog.ts +347 -0
  733. package/src/internal/funding/Chain.test.ts +79 -0
  734. package/src/internal/funding/Chain.ts +120 -0
  735. package/src/internal/funding/Deposit.test.ts +26 -0
  736. package/src/internal/funding/Deposit.ts +522 -0
  737. package/src/internal/funding/DepositAddress.test.ts +18 -0
  738. package/src/internal/funding/DepositAddress.ts +312 -0
  739. package/src/internal/funding/Evidence.test.ts +297 -0
  740. package/src/internal/funding/Evidence.ts +425 -0
  741. package/src/internal/funding/Provider.test.ts +1328 -0
  742. package/src/internal/funding/Provider.ts +1911 -0
  743. package/src/internal/funding/Reconciliation.local.test.ts +511 -0
  744. package/src/internal/funding/Reconciliation.test.ts +3037 -0
  745. package/src/internal/funding/Reconciliation.ts +1202 -0
  746. package/src/internal/funding/Route.test.ts +66 -0
  747. package/src/internal/funding/Route.ts +29 -0
  748. package/src/internal/funding/SourceObservation.test.ts +301 -0
  749. package/src/internal/funding/SourceObservation.ts +267 -0
  750. package/src/internal/funding/Subsidy.local.test.ts +152 -0
  751. package/src/internal/funding/Subsidy.test.ts +75 -0
  752. package/src/internal/funding/Subsidy.ts +260 -0
  753. package/src/internal/funding/Token.test.ts +47 -0
  754. package/src/internal/funding/Token.ts +59 -0
  755. package/src/internal/funding/Transfer.test.ts +369 -0
  756. package/src/internal/funding/Transfer.ts +522 -0
  757. package/src/internal/funding/index.test.ts +21 -0
  758. package/src/internal/funding/index.ts +13 -0
  759. package/src/internal/funding/providers/across.ts +149 -0
  760. package/src/{apps/data/FundingQuoteProviders.test.ts → internal/funding/providers/index.test.ts} +178 -157
  761. package/src/internal/funding/providers/relay.test.ts +564 -0
  762. package/src/internal/funding/providers/relay.ts +1060 -0
  763. package/src/internal/funding/providers/rhino.ts +139 -0
  764. package/src/internal/funding/providers/squid.ts +151 -0
  765. package/src/internal/funding/providers/symbiosis.ts +221 -0
  766. package/src/internal/index.test.ts +5 -1
  767. package/src/internal/index.ts +5 -1
  768. package/src/internal/webhookDestinations/url.ts +49 -45
  769. package/src/providers/index.test.ts +14 -0
  770. package/src/providers/index.ts +54 -0
  771. package/dist/apps/data/FundingQuoteProviders.d.ts +0 -174
  772. package/dist/apps/data/FundingQuoteProviders.d.ts.map +0 -1
  773. package/dist/apps/data/FundingQuoteProviders.js +0 -775
  774. package/dist/apps/data/FundingQuoteProviders.js.map +0 -1
  775. package/dist/apps/data/routes/funding.d.ts.map +0 -1
  776. package/dist/apps/data/routes/funding.js +0 -410
  777. package/dist/apps/data/routes/funding.js.map +0 -1
  778. package/dist/internal/FundingQuotes.d.ts +0 -864
  779. package/dist/internal/FundingQuotes.d.ts.map +0 -1
  780. package/dist/internal/FundingQuotes.js +0 -672
  781. package/dist/internal/FundingQuotes.js.map +0 -1
  782. package/src/apps/data/FundingQuoteProviders.ts +0 -1043
  783. package/src/apps/data/routes/funding.test.ts +0 -503
  784. package/src/apps/data/routes/funding.ts +0 -604
  785. package/src/internal/FundingQuotes.test.ts +0 -456
  786. package/src/internal/FundingQuotes.ts +0 -944
@@ -0,0 +1,3183 @@
1
+ import type * as App from '../../App.js';
2
+ import type * as FundingDepositAddress from '../../internal/funding/DepositAddress.js';
3
+ import type * as FundingProvider from '../../internal/funding/Provider.js';
4
+ /**
5
+ * Mounts the Funding & Bridge API, including quotes, inventory, reusable
6
+ * deposit addresses, detected deposits, and transfers.
7
+ *
8
+ * ```ts
9
+ * App.create(options).route('/', data()).route('/', funding())
10
+ * ```
11
+ */
12
+ export declare function funding(options?: funding.Options): import("hono/hono-base").HonoBase<App.Environment, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
13
+ "/v1/funding/chains": {
14
+ $get: {
15
+ output: null;
16
+ outputFormat: "body";
17
+ status: 402;
18
+ input: {};
19
+ } | {
20
+ output: {
21
+ error: {
22
+ code: "api_key_malformed";
23
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
24
+ message: string;
25
+ };
26
+ requestId: string;
27
+ };
28
+ outputFormat: "json";
29
+ status: 400;
30
+ input: {};
31
+ } | {
32
+ output: {
33
+ error: {
34
+ code: "api_key_invalid" | "api_key_missing";
35
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
36
+ message: string;
37
+ };
38
+ requestId: string;
39
+ };
40
+ outputFormat: "json";
41
+ status: 401;
42
+ input: {};
43
+ } | {
44
+ output: {
45
+ error: {
46
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
47
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
48
+ message: string;
49
+ };
50
+ requestId: string;
51
+ };
52
+ outputFormat: "json";
53
+ status: 403;
54
+ input: {};
55
+ } | {
56
+ output: {
57
+ error: {
58
+ code: "payment_required" | "rate_limit_exceeded";
59
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
60
+ message: string;
61
+ };
62
+ requestId: string;
63
+ };
64
+ outputFormat: "json";
65
+ status: 429;
66
+ input: {};
67
+ } | {
68
+ output: {
69
+ data: {
70
+ addressFormat: "base58" | "base58check" | "hex";
71
+ id: string;
72
+ kind: "evm" | "solana" | "tron";
73
+ name: string;
74
+ tokens: {
75
+ address: string;
76
+ currency: string;
77
+ decimals: number;
78
+ name: string;
79
+ standard: string;
80
+ symbol: string;
81
+ tokenKey: string;
82
+ verified: boolean;
83
+ }[];
84
+ }[];
85
+ };
86
+ outputFormat: "json";
87
+ status: 200;
88
+ input: {};
89
+ };
90
+ };
91
+ }, "/"> | import("hono/types").MergeSchemaPath<{
92
+ "/v1/funding/quotes": {
93
+ $get: {
94
+ output: null;
95
+ outputFormat: "body";
96
+ status: 402;
97
+ input: {
98
+ query: {
99
+ destinationToken?: string | string[];
100
+ provider?: string | string[];
101
+ sourceAmount: string | string[];
102
+ sourceAmountUnits?: string | string[];
103
+ sourceChain: string | string[];
104
+ sourceToken: string | string[];
105
+ };
106
+ };
107
+ } | {
108
+ output: {
109
+ error: {
110
+ code: "api_key_malformed";
111
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
112
+ message: string;
113
+ };
114
+ requestId: string;
115
+ };
116
+ outputFormat: "json";
117
+ status: 400;
118
+ input: {
119
+ query: {
120
+ destinationToken?: string | string[];
121
+ provider?: string | string[];
122
+ sourceAmount: string | string[];
123
+ sourceAmountUnits?: string | string[];
124
+ sourceChain: string | string[];
125
+ sourceToken: string | string[];
126
+ };
127
+ };
128
+ } | {
129
+ output: {
130
+ error: {
131
+ code: "api_key_invalid" | "api_key_missing";
132
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
133
+ message: string;
134
+ };
135
+ requestId: string;
136
+ };
137
+ outputFormat: "json";
138
+ status: 401;
139
+ input: {
140
+ query: {
141
+ destinationToken?: string | string[];
142
+ provider?: string | string[];
143
+ sourceAmount: string | string[];
144
+ sourceAmountUnits?: string | string[];
145
+ sourceChain: string | string[];
146
+ sourceToken: string | string[];
147
+ };
148
+ };
149
+ } | {
150
+ output: {
151
+ error: {
152
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
153
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
154
+ message: string;
155
+ };
156
+ requestId: string;
157
+ };
158
+ outputFormat: "json";
159
+ status: 403;
160
+ input: {
161
+ query: {
162
+ destinationToken?: string | string[];
163
+ provider?: string | string[];
164
+ sourceAmount: string | string[];
165
+ sourceAmountUnits?: string | string[];
166
+ sourceChain: string | string[];
167
+ sourceToken: string | string[];
168
+ };
169
+ };
170
+ } | {
171
+ output: {
172
+ error: {
173
+ code: "payment_required" | "rate_limit_exceeded";
174
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
175
+ message: string;
176
+ };
177
+ requestId: string;
178
+ };
179
+ outputFormat: "json";
180
+ status: 429;
181
+ input: {
182
+ query: {
183
+ destinationToken?: string | string[];
184
+ provider?: string | string[];
185
+ sourceAmount: string | string[];
186
+ sourceAmountUnits?: string | string[];
187
+ sourceChain: string | string[];
188
+ sourceToken: string | string[];
189
+ };
190
+ };
191
+ } | {
192
+ output: {
193
+ error: {
194
+ code: "query_invalid";
195
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
196
+ message: string;
197
+ };
198
+ requestId: string;
199
+ };
200
+ outputFormat: "json";
201
+ status: 400;
202
+ input: {
203
+ query: {
204
+ destinationToken?: string | string[];
205
+ provider?: string | string[];
206
+ sourceAmount: string | string[];
207
+ sourceAmountUnits?: string | string[];
208
+ sourceChain: string | string[];
209
+ sourceToken: string | string[];
210
+ };
211
+ };
212
+ } | {
213
+ output: {
214
+ error: {
215
+ code: "upstream_error";
216
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
217
+ message: string;
218
+ };
219
+ requestId: string;
220
+ };
221
+ outputFormat: "json";
222
+ status: 502;
223
+ input: {
224
+ query: {
225
+ destinationToken?: string | string[];
226
+ provider?: string | string[];
227
+ sourceAmount: string | string[];
228
+ sourceAmountUnits?: string | string[];
229
+ sourceChain: string | string[];
230
+ sourceToken: string | string[];
231
+ };
232
+ };
233
+ } | {
234
+ output: {
235
+ data: {
236
+ destinationAmount: {
237
+ baseUnits: string;
238
+ currency: string;
239
+ decimals: number;
240
+ formatted: string;
241
+ };
242
+ destinationAmountMin?: {
243
+ baseUnits: string;
244
+ currency: string;
245
+ decimals: number;
246
+ formatted: string;
247
+ } | undefined;
248
+ destinationChain: {
249
+ addressFormat: "base58" | "base58check" | "hex";
250
+ id: string;
251
+ kind: "evm" | "solana" | "tron";
252
+ name: string;
253
+ };
254
+ destinationToken: {
255
+ address: string;
256
+ currency: string;
257
+ decimals: number;
258
+ name: string;
259
+ standard: string;
260
+ symbol: string;
261
+ tokenKey: string;
262
+ verified: boolean;
263
+ };
264
+ id: string;
265
+ provider: {
266
+ id: string;
267
+ name: string;
268
+ };
269
+ quality: {
270
+ estimatedSeconds?: number | undefined;
271
+ liquiditySource: string;
272
+ sourceDetail?: string | undefined;
273
+ tier: "liquid" | "thin";
274
+ };
275
+ quote: {
276
+ expiresAt?: string | undefined;
277
+ sampledAt: string;
278
+ };
279
+ sourceAmount: {
280
+ baseUnits: string;
281
+ currency: string;
282
+ decimals: number;
283
+ formatted: string;
284
+ };
285
+ sourceChain: {
286
+ addressFormat: "base58" | "base58check" | "hex";
287
+ id: string;
288
+ kind: "evm" | "solana" | "tron";
289
+ name: string;
290
+ };
291
+ sourceToken: {
292
+ address: string;
293
+ currency: string;
294
+ decimals: number;
295
+ name: string;
296
+ standard: string;
297
+ symbol: string;
298
+ tokenKey: string;
299
+ verified: boolean;
300
+ };
301
+ }[];
302
+ };
303
+ outputFormat: "json";
304
+ status: 200;
305
+ input: {
306
+ query: {
307
+ destinationToken?: string | string[];
308
+ provider?: string | string[];
309
+ sourceAmount: string | string[];
310
+ sourceAmountUnits?: string | string[];
311
+ sourceChain: string | string[];
312
+ sourceToken: string | string[];
313
+ };
314
+ };
315
+ };
316
+ };
317
+ }, "/"> | import("hono/types").MergeSchemaPath<{
318
+ "/v1/funding/providers": {
319
+ $get: {
320
+ output: null;
321
+ outputFormat: "body";
322
+ status: 402;
323
+ input: {};
324
+ } | {
325
+ output: {
326
+ error: {
327
+ code: "api_key_malformed";
328
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
329
+ message: string;
330
+ };
331
+ requestId: string;
332
+ };
333
+ outputFormat: "json";
334
+ status: 400;
335
+ input: {};
336
+ } | {
337
+ output: {
338
+ error: {
339
+ code: "api_key_invalid" | "api_key_missing";
340
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
341
+ message: string;
342
+ };
343
+ requestId: string;
344
+ };
345
+ outputFormat: "json";
346
+ status: 401;
347
+ input: {};
348
+ } | {
349
+ output: {
350
+ error: {
351
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
352
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
353
+ message: string;
354
+ };
355
+ requestId: string;
356
+ };
357
+ outputFormat: "json";
358
+ status: 403;
359
+ input: {};
360
+ } | {
361
+ output: {
362
+ error: {
363
+ code: "payment_required" | "rate_limit_exceeded";
364
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
365
+ message: string;
366
+ };
367
+ requestId: string;
368
+ };
369
+ outputFormat: "json";
370
+ status: 429;
371
+ input: {};
372
+ } | {
373
+ output: {
374
+ data: {
375
+ id: string;
376
+ name: string;
377
+ }[];
378
+ };
379
+ outputFormat: "json";
380
+ status: 200;
381
+ input: {};
382
+ };
383
+ };
384
+ }, "/"> | import("hono/types").MergeSchemaPath<{
385
+ "/v1/funding/transfers": {
386
+ $get: {
387
+ output: {
388
+ error: {
389
+ code: "api_key_malformed";
390
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
391
+ message: string;
392
+ };
393
+ requestId: string;
394
+ };
395
+ outputFormat: "json";
396
+ status: 400;
397
+ input: {
398
+ query?: {
399
+ cursor?: string | string[];
400
+ include?: string | string[];
401
+ limit?: string | string[];
402
+ status?: string | string[];
403
+ } | undefined;
404
+ };
405
+ } | {
406
+ output: {
407
+ error: {
408
+ code: "api_key_invalid" | "api_key_missing";
409
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
410
+ message: string;
411
+ };
412
+ requestId: string;
413
+ };
414
+ outputFormat: "json";
415
+ status: 401;
416
+ input: {
417
+ query?: {
418
+ cursor?: string | string[];
419
+ include?: string | string[];
420
+ limit?: string | string[];
421
+ status?: string | string[];
422
+ } | undefined;
423
+ };
424
+ } | {
425
+ output: {
426
+ error: {
427
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
428
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
429
+ message: string;
430
+ };
431
+ requestId: string;
432
+ };
433
+ outputFormat: "json";
434
+ status: 403;
435
+ input: {
436
+ query?: {
437
+ cursor?: string | string[];
438
+ include?: string | string[];
439
+ limit?: string | string[];
440
+ status?: string | string[];
441
+ } | undefined;
442
+ };
443
+ } | {
444
+ output: {
445
+ error: {
446
+ code: "payment_required" | "rate_limit_exceeded";
447
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
448
+ message: string;
449
+ };
450
+ requestId: string;
451
+ };
452
+ outputFormat: "json";
453
+ status: 429;
454
+ input: {
455
+ query?: {
456
+ cursor?: string | string[];
457
+ include?: string | string[];
458
+ limit?: string | string[];
459
+ status?: string | string[];
460
+ } | undefined;
461
+ };
462
+ } | {
463
+ output: {
464
+ error: {
465
+ code: "query_invalid";
466
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
467
+ message: string;
468
+ };
469
+ requestId: string;
470
+ };
471
+ outputFormat: "json";
472
+ status: 400;
473
+ input: {
474
+ query?: {
475
+ cursor?: string | string[];
476
+ include?: string | string[];
477
+ limit?: string | string[];
478
+ status?: string | string[];
479
+ } | undefined;
480
+ };
481
+ } | {
482
+ output: {
483
+ error: {
484
+ code: "upstream_error";
485
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
486
+ message: string;
487
+ };
488
+ requestId: string;
489
+ };
490
+ outputFormat: "json";
491
+ status: 502;
492
+ input: {
493
+ query?: {
494
+ cursor?: string | string[];
495
+ include?: string | string[];
496
+ limit?: string | string[];
497
+ status?: string | string[];
498
+ } | undefined;
499
+ };
500
+ } | {
501
+ output: {
502
+ error: {
503
+ code: "unauthorized";
504
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
505
+ message: string;
506
+ };
507
+ requestId: string;
508
+ };
509
+ outputFormat: "json";
510
+ status: 401;
511
+ input: {
512
+ query?: {
513
+ cursor?: string | string[];
514
+ include?: string | string[];
515
+ limit?: string | string[];
516
+ status?: string | string[];
517
+ } | undefined;
518
+ };
519
+ } | {
520
+ output: {
521
+ data: {
522
+ createdAt: string;
523
+ destinationAmount?: {
524
+ baseUnits: string;
525
+ currency: string;
526
+ decimals: number;
527
+ formatted: string;
528
+ } | undefined;
529
+ destinationAmountMin?: {
530
+ baseUnits: string;
531
+ currency: string;
532
+ decimals: number;
533
+ formatted: string;
534
+ } | undefined;
535
+ destinationChain: {
536
+ addressFormat: "base58" | "base58check" | "hex";
537
+ id: string;
538
+ kind: "evm" | "solana" | "tron";
539
+ name: string;
540
+ };
541
+ destinationToken: {
542
+ address: string;
543
+ currency: string;
544
+ decimals: number;
545
+ name: string;
546
+ standard: string;
547
+ symbol: string;
548
+ tokenKey: string;
549
+ verified: boolean;
550
+ };
551
+ destinationTransactionHashes?: string[] | undefined;
552
+ fees: {
553
+ amount: {
554
+ baseUnits: string;
555
+ currency: string;
556
+ decimals: number;
557
+ formatted: string;
558
+ };
559
+ side: "destination" | "source";
560
+ token: {
561
+ address: string;
562
+ currency: string;
563
+ decimals: number;
564
+ name: string;
565
+ standard: string;
566
+ symbol: string;
567
+ tokenKey: string;
568
+ verified: boolean;
569
+ };
570
+ type: "provider";
571
+ }[];
572
+ id: string;
573
+ method: "depositAddress" | "transaction";
574
+ mode: "exactDestination" | "exactSource";
575
+ provider: {
576
+ id: string;
577
+ name: string;
578
+ };
579
+ quote: {
580
+ expiresAt: string;
581
+ sampledAt: string;
582
+ };
583
+ recipient: string;
584
+ refundAddress?: string | undefined;
585
+ refundAmount?: {
586
+ baseUnits: string;
587
+ currency: string;
588
+ decimals: number;
589
+ formatted: string;
590
+ } | undefined;
591
+ refundTransactionHashes?: string[] | undefined;
592
+ sender?: string | undefined;
593
+ sourceAmount: {
594
+ baseUnits: string;
595
+ currency: string;
596
+ decimals: number;
597
+ formatted: string;
598
+ };
599
+ sourceAmountMax?: {
600
+ baseUnits: string;
601
+ currency: string;
602
+ decimals: number;
603
+ formatted: string;
604
+ } | undefined;
605
+ sourceChain: {
606
+ addressFormat: "base58" | "base58check" | "hex";
607
+ id: string;
608
+ kind: "evm" | "solana" | "tron";
609
+ name: string;
610
+ };
611
+ sourceToken: {
612
+ address: string;
613
+ currency: string;
614
+ decimals: number;
615
+ name: string;
616
+ standard: string;
617
+ symbol: string;
618
+ tokenKey: string;
619
+ verified: boolean;
620
+ };
621
+ sourceTransactionHashes?: string[] | undefined;
622
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
623
+ statusReason?: {
624
+ code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch";
625
+ message: string;
626
+ } | undefined;
627
+ updatedAt: string;
628
+ version: number;
629
+ }[];
630
+ meta?: {
631
+ totalCountCapped: boolean;
632
+ totalCount: number;
633
+ } | undefined;
634
+ nextCursor: string | null;
635
+ };
636
+ outputFormat: "json";
637
+ status: 200;
638
+ input: {
639
+ query?: {
640
+ cursor?: string | string[];
641
+ include?: string | string[];
642
+ limit?: string | string[];
643
+ status?: string | string[];
644
+ } | undefined;
645
+ };
646
+ };
647
+ };
648
+ } & {
649
+ "/v1/funding/transfers/:id{ftr_[A-Za-z0-9_-]+}": {
650
+ $get: {
651
+ output: {
652
+ error: {
653
+ code: "api_key_malformed";
654
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
655
+ message: string;
656
+ };
657
+ requestId: string;
658
+ };
659
+ outputFormat: "json";
660
+ status: 400;
661
+ input: {
662
+ param: {
663
+ id: string;
664
+ };
665
+ };
666
+ } | {
667
+ output: {
668
+ error: {
669
+ code: "api_key_invalid" | "api_key_missing";
670
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
671
+ message: string;
672
+ };
673
+ requestId: string;
674
+ };
675
+ outputFormat: "json";
676
+ status: 401;
677
+ input: {
678
+ param: {
679
+ id: string;
680
+ };
681
+ };
682
+ } | {
683
+ output: {
684
+ error: {
685
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
686
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
687
+ message: string;
688
+ };
689
+ requestId: string;
690
+ };
691
+ outputFormat: "json";
692
+ status: 403;
693
+ input: {
694
+ param: {
695
+ id: string;
696
+ };
697
+ };
698
+ } | {
699
+ output: {
700
+ error: {
701
+ code: "payment_required" | "rate_limit_exceeded";
702
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
703
+ message: string;
704
+ };
705
+ requestId: string;
706
+ };
707
+ outputFormat: "json";
708
+ status: 429;
709
+ input: {
710
+ param: {
711
+ id: string;
712
+ };
713
+ };
714
+ } | {
715
+ output: {
716
+ error: {
717
+ code: "upstream_error";
718
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
719
+ message: string;
720
+ };
721
+ requestId: string;
722
+ };
723
+ outputFormat: "json";
724
+ status: 502;
725
+ input: {
726
+ param: {
727
+ id: string;
728
+ };
729
+ };
730
+ } | {
731
+ output: {
732
+ error: {
733
+ code: "unauthorized";
734
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
735
+ message: string;
736
+ };
737
+ requestId: string;
738
+ };
739
+ outputFormat: "json";
740
+ status: 401;
741
+ input: {
742
+ param: {
743
+ id: string;
744
+ };
745
+ };
746
+ } | {
747
+ output: {
748
+ error: {
749
+ code: "param_invalid";
750
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
751
+ message: string;
752
+ };
753
+ requestId: string;
754
+ };
755
+ outputFormat: "json";
756
+ status: 400;
757
+ input: {
758
+ param: {
759
+ id: string;
760
+ };
761
+ };
762
+ } | {
763
+ output: {
764
+ error: {
765
+ code: "funding_transfer_not_found";
766
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
767
+ message: string;
768
+ };
769
+ requestId: string;
770
+ };
771
+ outputFormat: "json";
772
+ status: 404;
773
+ input: {
774
+ param: {
775
+ id: string;
776
+ };
777
+ };
778
+ } | {
779
+ output: {
780
+ createdAt: string;
781
+ destinationAmount?: {
782
+ baseUnits: string;
783
+ currency: string;
784
+ decimals: number;
785
+ formatted: string;
786
+ } | undefined;
787
+ destinationAmountMin?: {
788
+ baseUnits: string;
789
+ currency: string;
790
+ decimals: number;
791
+ formatted: string;
792
+ } | undefined;
793
+ destinationChain: {
794
+ addressFormat: "base58" | "base58check" | "hex";
795
+ id: string;
796
+ kind: "evm" | "solana" | "tron";
797
+ name: string;
798
+ };
799
+ destinationToken: {
800
+ address: string;
801
+ currency: string;
802
+ decimals: number;
803
+ name: string;
804
+ standard: string;
805
+ symbol: string;
806
+ tokenKey: string;
807
+ verified: boolean;
808
+ };
809
+ destinationTransactionHashes?: string[] | undefined;
810
+ fees: {
811
+ amount: {
812
+ baseUnits: string;
813
+ currency: string;
814
+ decimals: number;
815
+ formatted: string;
816
+ };
817
+ side: "destination" | "source";
818
+ token: {
819
+ address: string;
820
+ currency: string;
821
+ decimals: number;
822
+ name: string;
823
+ standard: string;
824
+ symbol: string;
825
+ tokenKey: string;
826
+ verified: boolean;
827
+ };
828
+ type: "provider";
829
+ }[];
830
+ id: string;
831
+ method: "depositAddress" | "transaction";
832
+ mode: "exactDestination" | "exactSource";
833
+ provider: {
834
+ id: string;
835
+ name: string;
836
+ };
837
+ quote: {
838
+ expiresAt: string;
839
+ sampledAt: string;
840
+ };
841
+ recipient: string;
842
+ refundAddress?: string | undefined;
843
+ refundAmount?: {
844
+ baseUnits: string;
845
+ currency: string;
846
+ decimals: number;
847
+ formatted: string;
848
+ } | undefined;
849
+ refundTransactionHashes?: string[] | undefined;
850
+ sender?: string | undefined;
851
+ sourceAmount: {
852
+ baseUnits: string;
853
+ currency: string;
854
+ decimals: number;
855
+ formatted: string;
856
+ };
857
+ sourceAmountMax?: {
858
+ baseUnits: string;
859
+ currency: string;
860
+ decimals: number;
861
+ formatted: string;
862
+ } | undefined;
863
+ sourceChain: {
864
+ addressFormat: "base58" | "base58check" | "hex";
865
+ id: string;
866
+ kind: "evm" | "solana" | "tron";
867
+ name: string;
868
+ };
869
+ sourceToken: {
870
+ address: string;
871
+ currency: string;
872
+ decimals: number;
873
+ name: string;
874
+ standard: string;
875
+ symbol: string;
876
+ tokenKey: string;
877
+ verified: boolean;
878
+ };
879
+ sourceTransactionHashes?: string[] | undefined;
880
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
881
+ statusReason?: {
882
+ code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch";
883
+ message: string;
884
+ } | undefined;
885
+ updatedAt: string;
886
+ version: number;
887
+ };
888
+ outputFormat: "json";
889
+ status: 200;
890
+ input: {
891
+ param: {
892
+ id: string;
893
+ };
894
+ };
895
+ };
896
+ };
897
+ } & {
898
+ "/v1/funding/transfers": {
899
+ $post: {
900
+ output: {
901
+ error: {
902
+ code: "api_key_malformed";
903
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
904
+ message: string;
905
+ };
906
+ requestId: string;
907
+ };
908
+ outputFormat: "json";
909
+ status: 400;
910
+ input: {
911
+ header: {
912
+ 'idempotency-key': string;
913
+ };
914
+ } & {
915
+ json: {
916
+ amount: string;
917
+ destinationToken: string;
918
+ mode: "exactDestination" | "exactSource";
919
+ recipient: string;
920
+ sender: string;
921
+ slippageBps?: number | undefined;
922
+ sourceChain: string;
923
+ sourceToken: string;
924
+ };
925
+ };
926
+ } | {
927
+ output: {
928
+ error: {
929
+ code: "api_key_invalid" | "api_key_missing";
930
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
931
+ message: string;
932
+ };
933
+ requestId: string;
934
+ };
935
+ outputFormat: "json";
936
+ status: 401;
937
+ input: {
938
+ header: {
939
+ 'idempotency-key': string;
940
+ };
941
+ } & {
942
+ json: {
943
+ amount: string;
944
+ destinationToken: string;
945
+ mode: "exactDestination" | "exactSource";
946
+ recipient: string;
947
+ sender: string;
948
+ slippageBps?: number | undefined;
949
+ sourceChain: string;
950
+ sourceToken: string;
951
+ };
952
+ };
953
+ } | {
954
+ output: {
955
+ error: {
956
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
957
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
958
+ message: string;
959
+ };
960
+ requestId: string;
961
+ };
962
+ outputFormat: "json";
963
+ status: 403;
964
+ input: {
965
+ header: {
966
+ 'idempotency-key': string;
967
+ };
968
+ } & {
969
+ json: {
970
+ amount: string;
971
+ destinationToken: string;
972
+ mode: "exactDestination" | "exactSource";
973
+ recipient: string;
974
+ sender: string;
975
+ slippageBps?: number | undefined;
976
+ sourceChain: string;
977
+ sourceToken: string;
978
+ };
979
+ };
980
+ } | {
981
+ output: {
982
+ error: {
983
+ code: "payment_required" | "rate_limit_exceeded";
984
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
985
+ message: string;
986
+ };
987
+ requestId: string;
988
+ };
989
+ outputFormat: "json";
990
+ status: 429;
991
+ input: {
992
+ header: {
993
+ 'idempotency-key': string;
994
+ };
995
+ } & {
996
+ json: {
997
+ amount: string;
998
+ destinationToken: string;
999
+ mode: "exactDestination" | "exactSource";
1000
+ recipient: string;
1001
+ sender: string;
1002
+ slippageBps?: number | undefined;
1003
+ sourceChain: string;
1004
+ sourceToken: string;
1005
+ };
1006
+ };
1007
+ } | {
1008
+ output: {
1009
+ error: {
1010
+ code: "upstream_error";
1011
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1012
+ message: string;
1013
+ };
1014
+ requestId: string;
1015
+ };
1016
+ outputFormat: "json";
1017
+ status: 502;
1018
+ input: {
1019
+ header: {
1020
+ 'idempotency-key': string;
1021
+ };
1022
+ } & {
1023
+ json: {
1024
+ amount: string;
1025
+ destinationToken: string;
1026
+ mode: "exactDestination" | "exactSource";
1027
+ recipient: string;
1028
+ sender: string;
1029
+ slippageBps?: number | undefined;
1030
+ sourceChain: string;
1031
+ sourceToken: string;
1032
+ };
1033
+ };
1034
+ } | {
1035
+ output: {
1036
+ error: {
1037
+ code: "body_invalid";
1038
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1039
+ message: string;
1040
+ };
1041
+ requestId: string;
1042
+ };
1043
+ outputFormat: "json";
1044
+ status: 400;
1045
+ input: {
1046
+ header: {
1047
+ 'idempotency-key': string;
1048
+ };
1049
+ } & {
1050
+ json: {
1051
+ amount: string;
1052
+ destinationToken: string;
1053
+ mode: "exactDestination" | "exactSource";
1054
+ recipient: string;
1055
+ sender: string;
1056
+ slippageBps?: number | undefined;
1057
+ sourceChain: string;
1058
+ sourceToken: string;
1059
+ };
1060
+ };
1061
+ } | {
1062
+ output: {
1063
+ error: {
1064
+ code: "quote_not_available";
1065
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1066
+ message: string;
1067
+ };
1068
+ requestId: string;
1069
+ };
1070
+ outputFormat: "json";
1071
+ status: 404;
1072
+ input: {
1073
+ header: {
1074
+ 'idempotency-key': string;
1075
+ };
1076
+ } & {
1077
+ json: {
1078
+ amount: string;
1079
+ destinationToken: string;
1080
+ mode: "exactDestination" | "exactSource";
1081
+ recipient: string;
1082
+ sender: string;
1083
+ slippageBps?: number | undefined;
1084
+ sourceChain: string;
1085
+ sourceToken: string;
1086
+ };
1087
+ };
1088
+ } | {
1089
+ output: {
1090
+ error: {
1091
+ code: "unauthorized";
1092
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1093
+ message: string;
1094
+ };
1095
+ requestId: string;
1096
+ };
1097
+ outputFormat: "json";
1098
+ status: 401;
1099
+ input: {
1100
+ header: {
1101
+ 'idempotency-key': string;
1102
+ };
1103
+ } & {
1104
+ json: {
1105
+ amount: string;
1106
+ destinationToken: string;
1107
+ mode: "exactDestination" | "exactSource";
1108
+ recipient: string;
1109
+ sender: string;
1110
+ slippageBps?: number | undefined;
1111
+ sourceChain: string;
1112
+ sourceToken: string;
1113
+ };
1114
+ };
1115
+ } | {
1116
+ output: {
1117
+ error: {
1118
+ code: "idempotency_conflict";
1119
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1120
+ message: string;
1121
+ };
1122
+ requestId: string;
1123
+ };
1124
+ outputFormat: "json";
1125
+ status: 409;
1126
+ input: {
1127
+ header: {
1128
+ 'idempotency-key': string;
1129
+ };
1130
+ } & {
1131
+ json: {
1132
+ amount: string;
1133
+ destinationToken: string;
1134
+ mode: "exactDestination" | "exactSource";
1135
+ recipient: string;
1136
+ sender: string;
1137
+ slippageBps?: number | undefined;
1138
+ sourceChain: string;
1139
+ sourceToken: string;
1140
+ };
1141
+ };
1142
+ } | {
1143
+ output: {
1144
+ error: {
1145
+ code: "idempotency_in_progress";
1146
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1147
+ message: string;
1148
+ };
1149
+ requestId: string;
1150
+ };
1151
+ outputFormat: "json";
1152
+ status: 409;
1153
+ input: {
1154
+ header: {
1155
+ 'idempotency-key': string;
1156
+ };
1157
+ } & {
1158
+ json: {
1159
+ amount: string;
1160
+ destinationToken: string;
1161
+ mode: "exactDestination" | "exactSource";
1162
+ recipient: string;
1163
+ sender: string;
1164
+ slippageBps?: number | undefined;
1165
+ sourceChain: string;
1166
+ sourceToken: string;
1167
+ };
1168
+ };
1169
+ } | {
1170
+ output: {
1171
+ createdAt: string;
1172
+ destinationAmount?: {
1173
+ baseUnits: string;
1174
+ currency: string;
1175
+ decimals: number;
1176
+ formatted: string;
1177
+ } | undefined;
1178
+ destinationAmountMin?: {
1179
+ baseUnits: string;
1180
+ currency: string;
1181
+ decimals: number;
1182
+ formatted: string;
1183
+ } | undefined;
1184
+ destinationChain: {
1185
+ addressFormat: "base58" | "base58check" | "hex";
1186
+ id: string;
1187
+ kind: "evm" | "solana" | "tron";
1188
+ name: string;
1189
+ };
1190
+ destinationToken: {
1191
+ address: string;
1192
+ currency: string;
1193
+ decimals: number;
1194
+ name: string;
1195
+ standard: string;
1196
+ symbol: string;
1197
+ tokenKey: string;
1198
+ verified: boolean;
1199
+ };
1200
+ destinationTransactionHashes?: string[] | undefined;
1201
+ fees: {
1202
+ amount: {
1203
+ baseUnits: string;
1204
+ currency: string;
1205
+ decimals: number;
1206
+ formatted: string;
1207
+ };
1208
+ side: "destination" | "source";
1209
+ token: {
1210
+ address: string;
1211
+ currency: string;
1212
+ decimals: number;
1213
+ name: string;
1214
+ standard: string;
1215
+ symbol: string;
1216
+ tokenKey: string;
1217
+ verified: boolean;
1218
+ };
1219
+ type: "provider";
1220
+ }[];
1221
+ id: string;
1222
+ method: "depositAddress" | "transaction";
1223
+ mode: "exactDestination" | "exactSource";
1224
+ provider: {
1225
+ id: string;
1226
+ name: string;
1227
+ };
1228
+ quote: {
1229
+ expiresAt: string;
1230
+ sampledAt: string;
1231
+ };
1232
+ recipient: string;
1233
+ refundAddress?: string | undefined;
1234
+ refundAmount?: {
1235
+ baseUnits: string;
1236
+ currency: string;
1237
+ decimals: number;
1238
+ formatted: string;
1239
+ } | undefined;
1240
+ refundTransactionHashes?: string[] | undefined;
1241
+ sender?: string | undefined;
1242
+ sourceAmount: {
1243
+ baseUnits: string;
1244
+ currency: string;
1245
+ decimals: number;
1246
+ formatted: string;
1247
+ };
1248
+ sourceAmountMax?: {
1249
+ baseUnits: string;
1250
+ currency: string;
1251
+ decimals: number;
1252
+ formatted: string;
1253
+ } | undefined;
1254
+ sourceChain: {
1255
+ addressFormat: "base58" | "base58check" | "hex";
1256
+ id: string;
1257
+ kind: "evm" | "solana" | "tron";
1258
+ name: string;
1259
+ };
1260
+ sourceToken: {
1261
+ address: string;
1262
+ currency: string;
1263
+ decimals: number;
1264
+ name: string;
1265
+ standard: string;
1266
+ symbol: string;
1267
+ tokenKey: string;
1268
+ verified: boolean;
1269
+ };
1270
+ sourceTransactionHashes?: string[] | undefined;
1271
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
1272
+ statusReason?: {
1273
+ code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch";
1274
+ message: string;
1275
+ } | undefined;
1276
+ updatedAt: string;
1277
+ version: number;
1278
+ action: {
1279
+ calls: {
1280
+ data: string;
1281
+ to: string;
1282
+ value: string;
1283
+ }[];
1284
+ type: "evm:calls";
1285
+ };
1286
+ };
1287
+ outputFormat: "json";
1288
+ status: 200;
1289
+ input: {
1290
+ header: {
1291
+ 'idempotency-key': string;
1292
+ };
1293
+ } & {
1294
+ json: {
1295
+ amount: string;
1296
+ destinationToken: string;
1297
+ mode: "exactDestination" | "exactSource";
1298
+ recipient: string;
1299
+ sender: string;
1300
+ slippageBps?: number | undefined;
1301
+ sourceChain: string;
1302
+ sourceToken: string;
1303
+ };
1304
+ };
1305
+ };
1306
+ };
1307
+ } & {
1308
+ "/v1/funding/transfers/vault": {
1309
+ $post: {
1310
+ output: {
1311
+ error: {
1312
+ code: "api_key_malformed";
1313
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1314
+ message: string;
1315
+ };
1316
+ requestId: string;
1317
+ };
1318
+ outputFormat: "json";
1319
+ status: 400;
1320
+ input: {
1321
+ header: {
1322
+ 'idempotency-key': string;
1323
+ };
1324
+ } & {
1325
+ json: {
1326
+ amount: string;
1327
+ mode: "exactDestination" | "exactSource";
1328
+ recipient: string;
1329
+ sender: string;
1330
+ slippageBps?: number | undefined;
1331
+ sourceChain: string;
1332
+ sourceToken: string;
1333
+ vaultAddress: string;
1334
+ };
1335
+ };
1336
+ } | {
1337
+ output: {
1338
+ error: {
1339
+ code: "api_key_invalid" | "api_key_missing";
1340
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1341
+ message: string;
1342
+ };
1343
+ requestId: string;
1344
+ };
1345
+ outputFormat: "json";
1346
+ status: 401;
1347
+ input: {
1348
+ header: {
1349
+ 'idempotency-key': string;
1350
+ };
1351
+ } & {
1352
+ json: {
1353
+ amount: string;
1354
+ mode: "exactDestination" | "exactSource";
1355
+ recipient: string;
1356
+ sender: string;
1357
+ slippageBps?: number | undefined;
1358
+ sourceChain: string;
1359
+ sourceToken: string;
1360
+ vaultAddress: string;
1361
+ };
1362
+ };
1363
+ } | {
1364
+ output: {
1365
+ error: {
1366
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1367
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1368
+ message: string;
1369
+ };
1370
+ requestId: string;
1371
+ };
1372
+ outputFormat: "json";
1373
+ status: 403;
1374
+ input: {
1375
+ header: {
1376
+ 'idempotency-key': string;
1377
+ };
1378
+ } & {
1379
+ json: {
1380
+ amount: string;
1381
+ mode: "exactDestination" | "exactSource";
1382
+ recipient: string;
1383
+ sender: string;
1384
+ slippageBps?: number | undefined;
1385
+ sourceChain: string;
1386
+ sourceToken: string;
1387
+ vaultAddress: string;
1388
+ };
1389
+ };
1390
+ } | {
1391
+ output: {
1392
+ error: {
1393
+ code: "payment_required" | "rate_limit_exceeded";
1394
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1395
+ message: string;
1396
+ };
1397
+ requestId: string;
1398
+ };
1399
+ outputFormat: "json";
1400
+ status: 429;
1401
+ input: {
1402
+ header: {
1403
+ 'idempotency-key': string;
1404
+ };
1405
+ } & {
1406
+ json: {
1407
+ amount: string;
1408
+ mode: "exactDestination" | "exactSource";
1409
+ recipient: string;
1410
+ sender: string;
1411
+ slippageBps?: number | undefined;
1412
+ sourceChain: string;
1413
+ sourceToken: string;
1414
+ vaultAddress: string;
1415
+ };
1416
+ };
1417
+ } | {
1418
+ output: {
1419
+ error: {
1420
+ code: "body_invalid";
1421
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1422
+ message: string;
1423
+ };
1424
+ requestId: string;
1425
+ };
1426
+ outputFormat: "json";
1427
+ status: 400;
1428
+ input: {
1429
+ header: {
1430
+ 'idempotency-key': string;
1431
+ };
1432
+ } & {
1433
+ json: {
1434
+ amount: string;
1435
+ mode: "exactDestination" | "exactSource";
1436
+ recipient: string;
1437
+ sender: string;
1438
+ slippageBps?: number | undefined;
1439
+ sourceChain: string;
1440
+ sourceToken: string;
1441
+ vaultAddress: string;
1442
+ };
1443
+ };
1444
+ } | {
1445
+ output: {
1446
+ error: {
1447
+ code: "not_implemented";
1448
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1449
+ message: string;
1450
+ };
1451
+ requestId: string;
1452
+ };
1453
+ outputFormat: "json";
1454
+ status: 501;
1455
+ input: {
1456
+ header: {
1457
+ 'idempotency-key': string;
1458
+ };
1459
+ } & {
1460
+ json: {
1461
+ amount: string;
1462
+ mode: "exactDestination" | "exactSource";
1463
+ recipient: string;
1464
+ sender: string;
1465
+ slippageBps?: number | undefined;
1466
+ sourceChain: string;
1467
+ sourceToken: string;
1468
+ vaultAddress: string;
1469
+ };
1470
+ };
1471
+ };
1472
+ };
1473
+ } & {
1474
+ "/v1/funding/transfers/zone": {
1475
+ $post: {
1476
+ output: {
1477
+ error: {
1478
+ code: "api_key_malformed";
1479
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1480
+ message: string;
1481
+ };
1482
+ requestId: string;
1483
+ };
1484
+ outputFormat: "json";
1485
+ status: 400;
1486
+ input: {
1487
+ header: {
1488
+ 'idempotency-key': string;
1489
+ };
1490
+ } & {
1491
+ json: {
1492
+ amount: string;
1493
+ destinationChain: string;
1494
+ destinationToken: string;
1495
+ mode: "exactDestination" | "exactSource";
1496
+ recipient: string;
1497
+ recipientFallback: string;
1498
+ sender: string;
1499
+ slippageBps?: number | undefined;
1500
+ sourceChain: string;
1501
+ sourceToken: string;
1502
+ };
1503
+ };
1504
+ } | {
1505
+ output: {
1506
+ error: {
1507
+ code: "api_key_invalid" | "api_key_missing";
1508
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1509
+ message: string;
1510
+ };
1511
+ requestId: string;
1512
+ };
1513
+ outputFormat: "json";
1514
+ status: 401;
1515
+ input: {
1516
+ header: {
1517
+ 'idempotency-key': string;
1518
+ };
1519
+ } & {
1520
+ json: {
1521
+ amount: string;
1522
+ destinationChain: string;
1523
+ destinationToken: string;
1524
+ mode: "exactDestination" | "exactSource";
1525
+ recipient: string;
1526
+ recipientFallback: string;
1527
+ sender: string;
1528
+ slippageBps?: number | undefined;
1529
+ sourceChain: string;
1530
+ sourceToken: string;
1531
+ };
1532
+ };
1533
+ } | {
1534
+ output: {
1535
+ error: {
1536
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1537
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1538
+ message: string;
1539
+ };
1540
+ requestId: string;
1541
+ };
1542
+ outputFormat: "json";
1543
+ status: 403;
1544
+ input: {
1545
+ header: {
1546
+ 'idempotency-key': string;
1547
+ };
1548
+ } & {
1549
+ json: {
1550
+ amount: string;
1551
+ destinationChain: string;
1552
+ destinationToken: string;
1553
+ mode: "exactDestination" | "exactSource";
1554
+ recipient: string;
1555
+ recipientFallback: string;
1556
+ sender: string;
1557
+ slippageBps?: number | undefined;
1558
+ sourceChain: string;
1559
+ sourceToken: string;
1560
+ };
1561
+ };
1562
+ } | {
1563
+ output: {
1564
+ error: {
1565
+ code: "payment_required" | "rate_limit_exceeded";
1566
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1567
+ message: string;
1568
+ };
1569
+ requestId: string;
1570
+ };
1571
+ outputFormat: "json";
1572
+ status: 429;
1573
+ input: {
1574
+ header: {
1575
+ 'idempotency-key': string;
1576
+ };
1577
+ } & {
1578
+ json: {
1579
+ amount: string;
1580
+ destinationChain: string;
1581
+ destinationToken: string;
1582
+ mode: "exactDestination" | "exactSource";
1583
+ recipient: string;
1584
+ recipientFallback: string;
1585
+ sender: string;
1586
+ slippageBps?: number | undefined;
1587
+ sourceChain: string;
1588
+ sourceToken: string;
1589
+ };
1590
+ };
1591
+ } | {
1592
+ output: {
1593
+ error: {
1594
+ code: "body_invalid";
1595
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1596
+ message: string;
1597
+ };
1598
+ requestId: string;
1599
+ };
1600
+ outputFormat: "json";
1601
+ status: 400;
1602
+ input: {
1603
+ header: {
1604
+ 'idempotency-key': string;
1605
+ };
1606
+ } & {
1607
+ json: {
1608
+ amount: string;
1609
+ destinationChain: string;
1610
+ destinationToken: string;
1611
+ mode: "exactDestination" | "exactSource";
1612
+ recipient: string;
1613
+ recipientFallback: string;
1614
+ sender: string;
1615
+ slippageBps?: number | undefined;
1616
+ sourceChain: string;
1617
+ sourceToken: string;
1618
+ };
1619
+ };
1620
+ } | {
1621
+ output: {
1622
+ error: {
1623
+ code: "not_implemented";
1624
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1625
+ message: string;
1626
+ };
1627
+ requestId: string;
1628
+ };
1629
+ outputFormat: "json";
1630
+ status: 501;
1631
+ input: {
1632
+ header: {
1633
+ 'idempotency-key': string;
1634
+ };
1635
+ } & {
1636
+ json: {
1637
+ amount: string;
1638
+ destinationChain: string;
1639
+ destinationToken: string;
1640
+ mode: "exactDestination" | "exactSource";
1641
+ recipient: string;
1642
+ recipientFallback: string;
1643
+ sender: string;
1644
+ slippageBps?: number | undefined;
1645
+ sourceChain: string;
1646
+ sourceToken: string;
1647
+ };
1648
+ };
1649
+ };
1650
+ };
1651
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1652
+ "/webhooks/funding/:providerId": {
1653
+ $post: {
1654
+ output: null;
1655
+ outputFormat: "body";
1656
+ status: 204;
1657
+ input: {
1658
+ param: {
1659
+ providerId: string;
1660
+ };
1661
+ };
1662
+ } | {
1663
+ output: null;
1664
+ outputFormat: "body";
1665
+ status: 400;
1666
+ input: {
1667
+ param: {
1668
+ providerId: string;
1669
+ };
1670
+ };
1671
+ } | {
1672
+ output: null;
1673
+ outputFormat: "body";
1674
+ status: 401;
1675
+ input: {
1676
+ param: {
1677
+ providerId: string;
1678
+ };
1679
+ };
1680
+ } | {
1681
+ output: null;
1682
+ outputFormat: "body";
1683
+ status: 404;
1684
+ input: {
1685
+ param: {
1686
+ providerId: string;
1687
+ };
1688
+ };
1689
+ };
1690
+ };
1691
+ } & {
1692
+ "/v1/funding/deposit-addresses": {
1693
+ $post: {
1694
+ output: {
1695
+ error: {
1696
+ code: "api_key_malformed";
1697
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1698
+ message: string;
1699
+ };
1700
+ requestId: string;
1701
+ };
1702
+ outputFormat: "json";
1703
+ status: 400;
1704
+ input: {
1705
+ header: {
1706
+ 'idempotency-key': string;
1707
+ };
1708
+ } & {
1709
+ json: {
1710
+ amount: string;
1711
+ destinationToken: string;
1712
+ recipient: string;
1713
+ refundAddress: string;
1714
+ sourceChain: string;
1715
+ sourceToken: string;
1716
+ subsidize?: boolean | undefined;
1717
+ };
1718
+ };
1719
+ } | {
1720
+ output: {
1721
+ error: {
1722
+ code: "api_key_invalid" | "api_key_missing";
1723
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1724
+ message: string;
1725
+ };
1726
+ requestId: string;
1727
+ };
1728
+ outputFormat: "json";
1729
+ status: 401;
1730
+ input: {
1731
+ header: {
1732
+ 'idempotency-key': string;
1733
+ };
1734
+ } & {
1735
+ json: {
1736
+ amount: string;
1737
+ destinationToken: string;
1738
+ recipient: string;
1739
+ refundAddress: string;
1740
+ sourceChain: string;
1741
+ sourceToken: string;
1742
+ subsidize?: boolean | undefined;
1743
+ };
1744
+ };
1745
+ } | {
1746
+ output: {
1747
+ error: {
1748
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1749
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1750
+ message: string;
1751
+ };
1752
+ requestId: string;
1753
+ };
1754
+ outputFormat: "json";
1755
+ status: 403;
1756
+ input: {
1757
+ header: {
1758
+ 'idempotency-key': string;
1759
+ };
1760
+ } & {
1761
+ json: {
1762
+ amount: string;
1763
+ destinationToken: string;
1764
+ recipient: string;
1765
+ refundAddress: string;
1766
+ sourceChain: string;
1767
+ sourceToken: string;
1768
+ subsidize?: boolean | undefined;
1769
+ };
1770
+ };
1771
+ } | {
1772
+ output: {
1773
+ error: {
1774
+ code: "payment_required" | "rate_limit_exceeded";
1775
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1776
+ message: string;
1777
+ };
1778
+ requestId: string;
1779
+ };
1780
+ outputFormat: "json";
1781
+ status: 429;
1782
+ input: {
1783
+ header: {
1784
+ 'idempotency-key': string;
1785
+ };
1786
+ } & {
1787
+ json: {
1788
+ amount: string;
1789
+ destinationToken: string;
1790
+ recipient: string;
1791
+ refundAddress: string;
1792
+ sourceChain: string;
1793
+ sourceToken: string;
1794
+ subsidize?: boolean | undefined;
1795
+ };
1796
+ };
1797
+ } | {
1798
+ output: {
1799
+ error: {
1800
+ code: "upstream_error";
1801
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1802
+ message: string;
1803
+ };
1804
+ requestId: string;
1805
+ };
1806
+ outputFormat: "json";
1807
+ status: 502;
1808
+ input: {
1809
+ header: {
1810
+ 'idempotency-key': string;
1811
+ };
1812
+ } & {
1813
+ json: {
1814
+ amount: string;
1815
+ destinationToken: string;
1816
+ recipient: string;
1817
+ refundAddress: string;
1818
+ sourceChain: string;
1819
+ sourceToken: string;
1820
+ subsidize?: boolean | undefined;
1821
+ };
1822
+ };
1823
+ } | {
1824
+ output: {
1825
+ error: {
1826
+ code: "body_invalid";
1827
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1828
+ message: string;
1829
+ };
1830
+ requestId: string;
1831
+ };
1832
+ outputFormat: "json";
1833
+ status: 400;
1834
+ input: {
1835
+ header: {
1836
+ 'idempotency-key': string;
1837
+ };
1838
+ } & {
1839
+ json: {
1840
+ amount: string;
1841
+ destinationToken: string;
1842
+ recipient: string;
1843
+ refundAddress: string;
1844
+ sourceChain: string;
1845
+ sourceToken: string;
1846
+ subsidize?: boolean | undefined;
1847
+ };
1848
+ };
1849
+ } | {
1850
+ output: {
1851
+ error: {
1852
+ code: "unauthorized";
1853
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1854
+ message: string;
1855
+ };
1856
+ requestId: string;
1857
+ };
1858
+ outputFormat: "json";
1859
+ status: 401;
1860
+ input: {
1861
+ header: {
1862
+ 'idempotency-key': string;
1863
+ };
1864
+ } & {
1865
+ json: {
1866
+ amount: string;
1867
+ destinationToken: string;
1868
+ recipient: string;
1869
+ refundAddress: string;
1870
+ sourceChain: string;
1871
+ sourceToken: string;
1872
+ subsidize?: boolean | undefined;
1873
+ };
1874
+ };
1875
+ } | {
1876
+ output: {
1877
+ error: {
1878
+ code: "idempotency_conflict";
1879
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1880
+ message: string;
1881
+ };
1882
+ requestId: string;
1883
+ };
1884
+ outputFormat: "json";
1885
+ status: 409;
1886
+ input: {
1887
+ header: {
1888
+ 'idempotency-key': string;
1889
+ };
1890
+ } & {
1891
+ json: {
1892
+ amount: string;
1893
+ destinationToken: string;
1894
+ recipient: string;
1895
+ refundAddress: string;
1896
+ sourceChain: string;
1897
+ sourceToken: string;
1898
+ subsidize?: boolean | undefined;
1899
+ };
1900
+ };
1901
+ } | {
1902
+ output: {
1903
+ error: {
1904
+ code: "idempotency_in_progress";
1905
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1906
+ message: string;
1907
+ };
1908
+ requestId: string;
1909
+ };
1910
+ outputFormat: "json";
1911
+ status: 409;
1912
+ input: {
1913
+ header: {
1914
+ 'idempotency-key': string;
1915
+ };
1916
+ } & {
1917
+ json: {
1918
+ amount: string;
1919
+ destinationToken: string;
1920
+ recipient: string;
1921
+ refundAddress: string;
1922
+ sourceChain: string;
1923
+ sourceToken: string;
1924
+ subsidize?: boolean | undefined;
1925
+ };
1926
+ };
1927
+ } | {
1928
+ output: {
1929
+ error: {
1930
+ code: "deposit_address_not_available";
1931
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1932
+ message: string;
1933
+ };
1934
+ requestId: string;
1935
+ };
1936
+ outputFormat: "json";
1937
+ status: 404;
1938
+ input: {
1939
+ header: {
1940
+ 'idempotency-key': string;
1941
+ };
1942
+ } & {
1943
+ json: {
1944
+ amount: string;
1945
+ destinationToken: string;
1946
+ recipient: string;
1947
+ refundAddress: string;
1948
+ sourceChain: string;
1949
+ sourceToken: string;
1950
+ subsidize?: boolean | undefined;
1951
+ };
1952
+ };
1953
+ } | {
1954
+ output: {
1955
+ address: string;
1956
+ createdAt: string;
1957
+ destinationChain: {
1958
+ addressFormat: "base58" | "base58check" | "hex";
1959
+ id: string;
1960
+ kind: "evm" | "solana" | "tron";
1961
+ name: string;
1962
+ };
1963
+ destinationToken: {
1964
+ address: string;
1965
+ currency: string;
1966
+ decimals: number;
1967
+ name: string;
1968
+ standard: string;
1969
+ symbol: string;
1970
+ tokenKey: string;
1971
+ verified: boolean;
1972
+ };
1973
+ id: string;
1974
+ provider: {
1975
+ id: string;
1976
+ name: string;
1977
+ };
1978
+ recipient: string;
1979
+ refundAddress: string;
1980
+ sourceChain: {
1981
+ addressFormat: "base58" | "base58check" | "hex";
1982
+ id: string;
1983
+ kind: "evm" | "solana" | "tron";
1984
+ name: string;
1985
+ };
1986
+ sourceToken: {
1987
+ address: string;
1988
+ currency: string;
1989
+ decimals: number;
1990
+ name: string;
1991
+ standard: string;
1992
+ symbol: string;
1993
+ tokenKey: string;
1994
+ verified: boolean;
1995
+ };
1996
+ status: "action-required" | "active";
1997
+ subsidize: boolean;
1998
+ updatedAt: string;
1999
+ } | {
2000
+ address: string;
2001
+ createdAt: string;
2002
+ destinationChain: {
2003
+ addressFormat: "base58" | "base58check" | "hex";
2004
+ id: string;
2005
+ kind: "evm" | "solana" | "tron";
2006
+ name: string;
2007
+ };
2008
+ destinationToken: {
2009
+ address: string;
2010
+ currency: string;
2011
+ decimals: number;
2012
+ name: string;
2013
+ standard: string;
2014
+ symbol: string;
2015
+ tokenKey: string;
2016
+ verified: boolean;
2017
+ };
2018
+ id: string;
2019
+ provider: {
2020
+ id: string;
2021
+ name: string;
2022
+ };
2023
+ recipient: string;
2024
+ refundAddress: string;
2025
+ sourceChain: {
2026
+ addressFormat: "base58" | "base58check" | "hex";
2027
+ id: string;
2028
+ kind: "evm" | "solana" | "tron";
2029
+ name: string;
2030
+ };
2031
+ sourceToken: {
2032
+ address: string;
2033
+ currency: string;
2034
+ decimals: number;
2035
+ name: string;
2036
+ standard: string;
2037
+ symbol: string;
2038
+ tokenKey: string;
2039
+ verified: boolean;
2040
+ };
2041
+ status: "action-required" | "active";
2042
+ subsidize: boolean;
2043
+ updatedAt: string;
2044
+ destinationAmount: {
2045
+ baseUnits: string;
2046
+ currency: string;
2047
+ decimals: number;
2048
+ formatted: string;
2049
+ };
2050
+ destinationAmountMin?: {
2051
+ baseUnits: string;
2052
+ currency: string;
2053
+ decimals: number;
2054
+ formatted: string;
2055
+ } | undefined;
2056
+ fees: {
2057
+ amount: {
2058
+ baseUnits: string;
2059
+ currency: string;
2060
+ decimals: number;
2061
+ formatted: string;
2062
+ };
2063
+ side: "destination" | "source";
2064
+ token: {
2065
+ address: string;
2066
+ currency: string;
2067
+ decimals: number;
2068
+ name: string;
2069
+ standard: string;
2070
+ symbol: string;
2071
+ tokenKey: string;
2072
+ verified: boolean;
2073
+ };
2074
+ type: "provider";
2075
+ }[];
2076
+ quote: {
2077
+ expiresAt?: string | undefined;
2078
+ sampledAt: string;
2079
+ };
2080
+ sourceAmount: {
2081
+ baseUnits: string;
2082
+ currency: string;
2083
+ decimals: number;
2084
+ formatted: string;
2085
+ };
2086
+ };
2087
+ outputFormat: "json";
2088
+ status: 200;
2089
+ input: {
2090
+ header: {
2091
+ 'idempotency-key': string;
2092
+ };
2093
+ } & {
2094
+ json: {
2095
+ amount: string;
2096
+ destinationToken: string;
2097
+ recipient: string;
2098
+ refundAddress: string;
2099
+ sourceChain: string;
2100
+ sourceToken: string;
2101
+ subsidize?: boolean | undefined;
2102
+ };
2103
+ };
2104
+ };
2105
+ };
2106
+ } & {
2107
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/deposits": {
2108
+ $get: {
2109
+ output: {
2110
+ error: {
2111
+ code: "api_key_malformed";
2112
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2113
+ message: string;
2114
+ };
2115
+ requestId: string;
2116
+ };
2117
+ outputFormat: "json";
2118
+ status: 400;
2119
+ input: {
2120
+ param: {
2121
+ id: string;
2122
+ };
2123
+ } & {
2124
+ query?: {
2125
+ cursor?: string | string[];
2126
+ limit?: string | string[];
2127
+ } | undefined;
2128
+ };
2129
+ } | {
2130
+ output: {
2131
+ error: {
2132
+ code: "api_key_invalid" | "api_key_missing";
2133
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2134
+ message: string;
2135
+ };
2136
+ requestId: string;
2137
+ };
2138
+ outputFormat: "json";
2139
+ status: 401;
2140
+ input: {
2141
+ param: {
2142
+ id: string;
2143
+ };
2144
+ } & {
2145
+ query?: {
2146
+ cursor?: string | string[];
2147
+ limit?: string | string[];
2148
+ } | undefined;
2149
+ };
2150
+ } | {
2151
+ output: {
2152
+ error: {
2153
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2154
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2155
+ message: string;
2156
+ };
2157
+ requestId: string;
2158
+ };
2159
+ outputFormat: "json";
2160
+ status: 403;
2161
+ input: {
2162
+ param: {
2163
+ id: string;
2164
+ };
2165
+ } & {
2166
+ query?: {
2167
+ cursor?: string | string[];
2168
+ limit?: string | string[];
2169
+ } | undefined;
2170
+ };
2171
+ } | {
2172
+ output: {
2173
+ error: {
2174
+ code: "payment_required" | "rate_limit_exceeded";
2175
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2176
+ message: string;
2177
+ };
2178
+ requestId: string;
2179
+ };
2180
+ outputFormat: "json";
2181
+ status: 429;
2182
+ input: {
2183
+ param: {
2184
+ id: string;
2185
+ };
2186
+ } & {
2187
+ query?: {
2188
+ cursor?: string | string[];
2189
+ limit?: string | string[];
2190
+ } | undefined;
2191
+ };
2192
+ } | {
2193
+ output: {
2194
+ error: {
2195
+ code: "query_invalid";
2196
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2197
+ message: string;
2198
+ };
2199
+ requestId: string;
2200
+ };
2201
+ outputFormat: "json";
2202
+ status: 400;
2203
+ input: {
2204
+ param: {
2205
+ id: string;
2206
+ };
2207
+ } & {
2208
+ query?: {
2209
+ cursor?: string | string[];
2210
+ limit?: string | string[];
2211
+ } | undefined;
2212
+ };
2213
+ } | {
2214
+ output: {
2215
+ error: {
2216
+ code: "upstream_error";
2217
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2218
+ message: string;
2219
+ };
2220
+ requestId: string;
2221
+ };
2222
+ outputFormat: "json";
2223
+ status: 502;
2224
+ input: {
2225
+ param: {
2226
+ id: string;
2227
+ };
2228
+ } & {
2229
+ query?: {
2230
+ cursor?: string | string[];
2231
+ limit?: string | string[];
2232
+ } | undefined;
2233
+ };
2234
+ } | {
2235
+ output: {
2236
+ error: {
2237
+ code: "unauthorized";
2238
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2239
+ message: string;
2240
+ };
2241
+ requestId: string;
2242
+ };
2243
+ outputFormat: "json";
2244
+ status: 401;
2245
+ input: {
2246
+ param: {
2247
+ id: string;
2248
+ };
2249
+ } & {
2250
+ query?: {
2251
+ cursor?: string | string[];
2252
+ limit?: string | string[];
2253
+ } | undefined;
2254
+ };
2255
+ } | {
2256
+ output: {
2257
+ error: {
2258
+ code: "funding_deposit_address_not_found";
2259
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2260
+ message: string;
2261
+ };
2262
+ requestId: string;
2263
+ };
2264
+ outputFormat: "json";
2265
+ status: 404;
2266
+ input: {
2267
+ param: {
2268
+ id: string;
2269
+ };
2270
+ } & {
2271
+ query?: {
2272
+ cursor?: string | string[];
2273
+ limit?: string | string[];
2274
+ } | undefined;
2275
+ };
2276
+ } | {
2277
+ output: {
2278
+ data: {
2279
+ createdAt: string;
2280
+ depositAddressId: string;
2281
+ detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
2282
+ destinationAmount?: {
2283
+ baseUnits: string;
2284
+ currency: string;
2285
+ decimals: number;
2286
+ formatted: string;
2287
+ } | undefined;
2288
+ destinationAmountRequired?: {
2289
+ baseUnits: string;
2290
+ currency: string;
2291
+ decimals: number;
2292
+ formatted: string;
2293
+ } | undefined;
2294
+ destinationChain: {
2295
+ addressFormat: "base58" | "base58check" | "hex";
2296
+ id: string;
2297
+ kind: "evm" | "solana" | "tron";
2298
+ name: string;
2299
+ };
2300
+ destinationToken: {
2301
+ address: string;
2302
+ currency: string;
2303
+ decimals: number;
2304
+ name: string;
2305
+ standard: string;
2306
+ symbol: string;
2307
+ tokenKey: string;
2308
+ verified: boolean;
2309
+ };
2310
+ destinationTransactionHashes?: readonly string[] | undefined;
2311
+ id: string;
2312
+ provider: {
2313
+ id: string;
2314
+ name: string;
2315
+ };
2316
+ recipient: string;
2317
+ refundAddress: string;
2318
+ refundAmount?: {
2319
+ baseUnits: string;
2320
+ currency: string;
2321
+ decimals: number;
2322
+ formatted: string;
2323
+ } | undefined;
2324
+ refundTransactionHashes?: readonly string[] | undefined;
2325
+ sender?: string | undefined;
2326
+ sourceAmount?: {
2327
+ baseUnits: string;
2328
+ currency: string;
2329
+ decimals: number;
2330
+ formatted: string;
2331
+ } | undefined;
2332
+ sourceChain: {
2333
+ addressFormat: "base58" | "base58check" | "hex";
2334
+ id: string;
2335
+ kind: "evm" | "solana" | "tron";
2336
+ name: string;
2337
+ };
2338
+ sourceToken: {
2339
+ address: string;
2340
+ currency: string;
2341
+ decimals: number;
2342
+ name: string;
2343
+ standard: string;
2344
+ symbol: string;
2345
+ tokenKey: string;
2346
+ verified: boolean;
2347
+ };
2348
+ sourceTransactionHashes: readonly string[];
2349
+ sourceTransferIndex?: number | undefined;
2350
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
2351
+ statusReason?: {
2352
+ code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
2353
+ message: string;
2354
+ } | undefined;
2355
+ updatedAt: string;
2356
+ }[];
2357
+ nextCursor: string | null;
2358
+ };
2359
+ outputFormat: "json";
2360
+ status: 200;
2361
+ input: {
2362
+ param: {
2363
+ id: string;
2364
+ };
2365
+ } & {
2366
+ query?: {
2367
+ cursor?: string | string[];
2368
+ limit?: string | string[];
2369
+ } | undefined;
2370
+ };
2371
+ };
2372
+ };
2373
+ } & {
2374
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
2375
+ $get: {
2376
+ output: {
2377
+ error: {
2378
+ code: "api_key_malformed";
2379
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2380
+ message: string;
2381
+ };
2382
+ requestId: string;
2383
+ };
2384
+ outputFormat: "json";
2385
+ status: 400;
2386
+ input: {
2387
+ param: {
2388
+ id: string;
2389
+ };
2390
+ };
2391
+ } | {
2392
+ output: {
2393
+ error: {
2394
+ code: "api_key_invalid" | "api_key_missing";
2395
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2396
+ message: string;
2397
+ };
2398
+ requestId: string;
2399
+ };
2400
+ outputFormat: "json";
2401
+ status: 401;
2402
+ input: {
2403
+ param: {
2404
+ id: string;
2405
+ };
2406
+ };
2407
+ } | {
2408
+ output: {
2409
+ error: {
2410
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2411
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2412
+ message: string;
2413
+ };
2414
+ requestId: string;
2415
+ };
2416
+ outputFormat: "json";
2417
+ status: 403;
2418
+ input: {
2419
+ param: {
2420
+ id: string;
2421
+ };
2422
+ };
2423
+ } | {
2424
+ output: {
2425
+ error: {
2426
+ code: "payment_required" | "rate_limit_exceeded";
2427
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2428
+ message: string;
2429
+ };
2430
+ requestId: string;
2431
+ };
2432
+ outputFormat: "json";
2433
+ status: 429;
2434
+ input: {
2435
+ param: {
2436
+ id: string;
2437
+ };
2438
+ };
2439
+ } | {
2440
+ output: {
2441
+ error: {
2442
+ code: "upstream_error";
2443
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2444
+ message: string;
2445
+ };
2446
+ requestId: string;
2447
+ };
2448
+ outputFormat: "json";
2449
+ status: 502;
2450
+ input: {
2451
+ param: {
2452
+ id: string;
2453
+ };
2454
+ };
2455
+ } | {
2456
+ output: {
2457
+ error: {
2458
+ code: "unauthorized";
2459
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2460
+ message: string;
2461
+ };
2462
+ requestId: string;
2463
+ };
2464
+ outputFormat: "json";
2465
+ status: 401;
2466
+ input: {
2467
+ param: {
2468
+ id: string;
2469
+ };
2470
+ };
2471
+ } | {
2472
+ output: {
2473
+ address: string;
2474
+ createdAt: string;
2475
+ destinationChain: {
2476
+ addressFormat: "base58" | "base58check" | "hex";
2477
+ id: string;
2478
+ kind: "evm" | "solana" | "tron";
2479
+ name: string;
2480
+ };
2481
+ destinationToken: {
2482
+ address: string;
2483
+ currency: string;
2484
+ decimals: number;
2485
+ name: string;
2486
+ standard: string;
2487
+ symbol: string;
2488
+ tokenKey: string;
2489
+ verified: boolean;
2490
+ };
2491
+ id: string;
2492
+ provider: {
2493
+ id: string;
2494
+ name: string;
2495
+ };
2496
+ recipient: string;
2497
+ refundAddress: string;
2498
+ sourceChain: {
2499
+ addressFormat: "base58" | "base58check" | "hex";
2500
+ id: string;
2501
+ kind: "evm" | "solana" | "tron";
2502
+ name: string;
2503
+ };
2504
+ sourceToken: {
2505
+ address: string;
2506
+ currency: string;
2507
+ decimals: number;
2508
+ name: string;
2509
+ standard: string;
2510
+ symbol: string;
2511
+ tokenKey: string;
2512
+ verified: boolean;
2513
+ };
2514
+ status: "action-required" | "active";
2515
+ subsidize: boolean;
2516
+ updatedAt: string;
2517
+ };
2518
+ outputFormat: "json";
2519
+ status: 200;
2520
+ input: {
2521
+ param: {
2522
+ id: string;
2523
+ };
2524
+ };
2525
+ } | {
2526
+ output: {
2527
+ error: {
2528
+ code: "funding_deposit_address_not_found";
2529
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2530
+ message: string;
2531
+ };
2532
+ requestId: string;
2533
+ };
2534
+ outputFormat: "json";
2535
+ status: 404;
2536
+ input: {
2537
+ param: {
2538
+ id: string;
2539
+ };
2540
+ };
2541
+ } | {
2542
+ output: {
2543
+ error: {
2544
+ code: "param_invalid";
2545
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2546
+ message: string;
2547
+ };
2548
+ requestId: string;
2549
+ };
2550
+ outputFormat: "json";
2551
+ status: 400;
2552
+ input: {
2553
+ param: {
2554
+ id: string;
2555
+ };
2556
+ };
2557
+ };
2558
+ };
2559
+ } & {
2560
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/reconcile": {
2561
+ $post: {
2562
+ output: null;
2563
+ outputFormat: "body";
2564
+ status: 202;
2565
+ input: {
2566
+ param: {
2567
+ id: string;
2568
+ };
2569
+ };
2570
+ } | {
2571
+ output: {
2572
+ error: {
2573
+ code: "api_key_malformed";
2574
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2575
+ message: string;
2576
+ };
2577
+ requestId: string;
2578
+ };
2579
+ outputFormat: "json";
2580
+ status: 400;
2581
+ input: {
2582
+ param: {
2583
+ id: string;
2584
+ };
2585
+ };
2586
+ } | {
2587
+ output: {
2588
+ error: {
2589
+ code: "api_key_invalid" | "api_key_missing";
2590
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2591
+ message: string;
2592
+ };
2593
+ requestId: string;
2594
+ };
2595
+ outputFormat: "json";
2596
+ status: 401;
2597
+ input: {
2598
+ param: {
2599
+ id: string;
2600
+ };
2601
+ };
2602
+ } | {
2603
+ output: {
2604
+ error: {
2605
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2606
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2607
+ message: string;
2608
+ };
2609
+ requestId: string;
2610
+ };
2611
+ outputFormat: "json";
2612
+ status: 403;
2613
+ input: {
2614
+ param: {
2615
+ id: string;
2616
+ };
2617
+ };
2618
+ } | {
2619
+ output: {
2620
+ error: {
2621
+ code: "payment_required" | "rate_limit_exceeded";
2622
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2623
+ message: string;
2624
+ };
2625
+ requestId: string;
2626
+ };
2627
+ outputFormat: "json";
2628
+ status: 429;
2629
+ input: {
2630
+ param: {
2631
+ id: string;
2632
+ };
2633
+ };
2634
+ } | {
2635
+ output: {
2636
+ error: {
2637
+ code: "upstream_error";
2638
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2639
+ message: string;
2640
+ };
2641
+ requestId: string;
2642
+ };
2643
+ outputFormat: "json";
2644
+ status: 502;
2645
+ input: {
2646
+ param: {
2647
+ id: string;
2648
+ };
2649
+ };
2650
+ } | {
2651
+ output: {
2652
+ error: {
2653
+ code: "unauthorized";
2654
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2655
+ message: string;
2656
+ };
2657
+ requestId: string;
2658
+ };
2659
+ outputFormat: "json";
2660
+ status: 401;
2661
+ input: {
2662
+ param: {
2663
+ id: string;
2664
+ };
2665
+ };
2666
+ } | {
2667
+ output: {
2668
+ error: {
2669
+ code: "funding_deposit_address_not_found";
2670
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2671
+ message: string;
2672
+ };
2673
+ requestId: string;
2674
+ };
2675
+ outputFormat: "json";
2676
+ status: 404;
2677
+ input: {
2678
+ param: {
2679
+ id: string;
2680
+ };
2681
+ };
2682
+ } | {
2683
+ output: {
2684
+ error: {
2685
+ code: "param_invalid";
2686
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2687
+ message: string;
2688
+ };
2689
+ requestId: string;
2690
+ };
2691
+ outputFormat: "json";
2692
+ status: 400;
2693
+ input: {
2694
+ param: {
2695
+ id: string;
2696
+ };
2697
+ };
2698
+ } | {
2699
+ output: {
2700
+ error: {
2701
+ code: "funding_deposit_address_not_active";
2702
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2703
+ message: string;
2704
+ };
2705
+ requestId: string;
2706
+ };
2707
+ outputFormat: "json";
2708
+ status: 409;
2709
+ input: {
2710
+ param: {
2711
+ id: string;
2712
+ };
2713
+ };
2714
+ } | {
2715
+ output: {
2716
+ error: {
2717
+ code: "not_implemented";
2718
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2719
+ message: string;
2720
+ };
2721
+ requestId: string;
2722
+ };
2723
+ outputFormat: "json";
2724
+ status: 501;
2725
+ input: {
2726
+ param: {
2727
+ id: string;
2728
+ };
2729
+ };
2730
+ };
2731
+ };
2732
+ } & {
2733
+ "/v1/funding/deposits": {
2734
+ $get: {
2735
+ output: {
2736
+ error: {
2737
+ code: "api_key_malformed";
2738
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2739
+ message: string;
2740
+ };
2741
+ requestId: string;
2742
+ };
2743
+ outputFormat: "json";
2744
+ status: 400;
2745
+ input: {
2746
+ query: {
2747
+ cursor?: string | string[];
2748
+ limit?: string | string[];
2749
+ recipient: string | string[];
2750
+ };
2751
+ };
2752
+ } | {
2753
+ output: {
2754
+ error: {
2755
+ code: "api_key_invalid" | "api_key_missing";
2756
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2757
+ message: string;
2758
+ };
2759
+ requestId: string;
2760
+ };
2761
+ outputFormat: "json";
2762
+ status: 401;
2763
+ input: {
2764
+ query: {
2765
+ cursor?: string | string[];
2766
+ limit?: string | string[];
2767
+ recipient: string | string[];
2768
+ };
2769
+ };
2770
+ } | {
2771
+ output: {
2772
+ error: {
2773
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2774
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2775
+ message: string;
2776
+ };
2777
+ requestId: string;
2778
+ };
2779
+ outputFormat: "json";
2780
+ status: 403;
2781
+ input: {
2782
+ query: {
2783
+ cursor?: string | string[];
2784
+ limit?: string | string[];
2785
+ recipient: string | string[];
2786
+ };
2787
+ };
2788
+ } | {
2789
+ output: {
2790
+ error: {
2791
+ code: "payment_required" | "rate_limit_exceeded";
2792
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2793
+ message: string;
2794
+ };
2795
+ requestId: string;
2796
+ };
2797
+ outputFormat: "json";
2798
+ status: 429;
2799
+ input: {
2800
+ query: {
2801
+ cursor?: string | string[];
2802
+ limit?: string | string[];
2803
+ recipient: string | string[];
2804
+ };
2805
+ };
2806
+ } | {
2807
+ output: {
2808
+ error: {
2809
+ code: "query_invalid";
2810
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2811
+ message: string;
2812
+ };
2813
+ requestId: string;
2814
+ };
2815
+ outputFormat: "json";
2816
+ status: 400;
2817
+ input: {
2818
+ query: {
2819
+ cursor?: string | string[];
2820
+ limit?: string | string[];
2821
+ recipient: string | string[];
2822
+ };
2823
+ };
2824
+ } | {
2825
+ output: {
2826
+ error: {
2827
+ code: "upstream_error";
2828
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2829
+ message: string;
2830
+ };
2831
+ requestId: string;
2832
+ };
2833
+ outputFormat: "json";
2834
+ status: 502;
2835
+ input: {
2836
+ query: {
2837
+ cursor?: string | string[];
2838
+ limit?: string | string[];
2839
+ recipient: string | string[];
2840
+ };
2841
+ };
2842
+ } | {
2843
+ output: {
2844
+ error: {
2845
+ code: "unauthorized";
2846
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2847
+ message: string;
2848
+ };
2849
+ requestId: string;
2850
+ };
2851
+ outputFormat: "json";
2852
+ status: 401;
2853
+ input: {
2854
+ query: {
2855
+ cursor?: string | string[];
2856
+ limit?: string | string[];
2857
+ recipient: string | string[];
2858
+ };
2859
+ };
2860
+ } | {
2861
+ output: {
2862
+ data: {
2863
+ createdAt: string;
2864
+ depositAddressId: string;
2865
+ detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
2866
+ destinationAmount?: {
2867
+ baseUnits: string;
2868
+ currency: string;
2869
+ decimals: number;
2870
+ formatted: string;
2871
+ } | undefined;
2872
+ destinationAmountRequired?: {
2873
+ baseUnits: string;
2874
+ currency: string;
2875
+ decimals: number;
2876
+ formatted: string;
2877
+ } | undefined;
2878
+ destinationChain: {
2879
+ addressFormat: "base58" | "base58check" | "hex";
2880
+ id: string;
2881
+ kind: "evm" | "solana" | "tron";
2882
+ name: string;
2883
+ };
2884
+ destinationToken: {
2885
+ address: string;
2886
+ currency: string;
2887
+ decimals: number;
2888
+ name: string;
2889
+ standard: string;
2890
+ symbol: string;
2891
+ tokenKey: string;
2892
+ verified: boolean;
2893
+ };
2894
+ destinationTransactionHashes?: readonly string[] | undefined;
2895
+ id: string;
2896
+ provider: {
2897
+ id: string;
2898
+ name: string;
2899
+ };
2900
+ recipient: string;
2901
+ refundAddress: string;
2902
+ refundAmount?: {
2903
+ baseUnits: string;
2904
+ currency: string;
2905
+ decimals: number;
2906
+ formatted: string;
2907
+ } | undefined;
2908
+ refundTransactionHashes?: readonly string[] | undefined;
2909
+ sender?: string | undefined;
2910
+ sourceAmount?: {
2911
+ baseUnits: string;
2912
+ currency: string;
2913
+ decimals: number;
2914
+ formatted: string;
2915
+ } | undefined;
2916
+ sourceChain: {
2917
+ addressFormat: "base58" | "base58check" | "hex";
2918
+ id: string;
2919
+ kind: "evm" | "solana" | "tron";
2920
+ name: string;
2921
+ };
2922
+ sourceToken: {
2923
+ address: string;
2924
+ currency: string;
2925
+ decimals: number;
2926
+ name: string;
2927
+ standard: string;
2928
+ symbol: string;
2929
+ tokenKey: string;
2930
+ verified: boolean;
2931
+ };
2932
+ sourceTransactionHashes: readonly string[];
2933
+ sourceTransferIndex?: number | undefined;
2934
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
2935
+ statusReason?: {
2936
+ code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
2937
+ message: string;
2938
+ } | undefined;
2939
+ updatedAt: string;
2940
+ }[];
2941
+ nextCursor: string | null;
2942
+ };
2943
+ outputFormat: "json";
2944
+ status: 200;
2945
+ input: {
2946
+ query: {
2947
+ cursor?: string | string[];
2948
+ limit?: string | string[];
2949
+ recipient: string | string[];
2950
+ };
2951
+ };
2952
+ };
2953
+ };
2954
+ } & {
2955
+ "/v1/funding/deposits/:id{fdp_[A-Za-z0-9_-]+}": {
2956
+ $get: {
2957
+ output: {
2958
+ error: {
2959
+ code: "api_key_malformed";
2960
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2961
+ message: string;
2962
+ };
2963
+ requestId: string;
2964
+ };
2965
+ outputFormat: "json";
2966
+ status: 400;
2967
+ input: {
2968
+ param: {
2969
+ id: string;
2970
+ };
2971
+ };
2972
+ } | {
2973
+ output: {
2974
+ error: {
2975
+ code: "api_key_invalid" | "api_key_missing";
2976
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2977
+ message: string;
2978
+ };
2979
+ requestId: string;
2980
+ };
2981
+ outputFormat: "json";
2982
+ status: 401;
2983
+ input: {
2984
+ param: {
2985
+ id: string;
2986
+ };
2987
+ };
2988
+ } | {
2989
+ output: {
2990
+ error: {
2991
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2992
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2993
+ message: string;
2994
+ };
2995
+ requestId: string;
2996
+ };
2997
+ outputFormat: "json";
2998
+ status: 403;
2999
+ input: {
3000
+ param: {
3001
+ id: string;
3002
+ };
3003
+ };
3004
+ } | {
3005
+ output: {
3006
+ error: {
3007
+ code: "payment_required" | "rate_limit_exceeded";
3008
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3009
+ message: string;
3010
+ };
3011
+ requestId: string;
3012
+ };
3013
+ outputFormat: "json";
3014
+ status: 429;
3015
+ input: {
3016
+ param: {
3017
+ id: string;
3018
+ };
3019
+ };
3020
+ } | {
3021
+ output: {
3022
+ error: {
3023
+ code: "upstream_error";
3024
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3025
+ message: string;
3026
+ };
3027
+ requestId: string;
3028
+ };
3029
+ outputFormat: "json";
3030
+ status: 502;
3031
+ input: {
3032
+ param: {
3033
+ id: string;
3034
+ };
3035
+ };
3036
+ } | {
3037
+ output: {
3038
+ error: {
3039
+ code: "unauthorized";
3040
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3041
+ message: string;
3042
+ };
3043
+ requestId: string;
3044
+ };
3045
+ outputFormat: "json";
3046
+ status: 401;
3047
+ input: {
3048
+ param: {
3049
+ id: string;
3050
+ };
3051
+ };
3052
+ } | {
3053
+ output: {
3054
+ error: {
3055
+ code: "param_invalid";
3056
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3057
+ message: string;
3058
+ };
3059
+ requestId: string;
3060
+ };
3061
+ outputFormat: "json";
3062
+ status: 400;
3063
+ input: {
3064
+ param: {
3065
+ id: string;
3066
+ };
3067
+ };
3068
+ } | {
3069
+ output: {
3070
+ error: {
3071
+ code: "funding_deposit_not_found";
3072
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3073
+ message: string;
3074
+ };
3075
+ requestId: string;
3076
+ };
3077
+ outputFormat: "json";
3078
+ status: 404;
3079
+ input: {
3080
+ param: {
3081
+ id: string;
3082
+ };
3083
+ };
3084
+ } | {
3085
+ output: {
3086
+ createdAt: string;
3087
+ depositAddressId: string;
3088
+ detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
3089
+ destinationAmount?: {
3090
+ baseUnits: string;
3091
+ currency: string;
3092
+ decimals: number;
3093
+ formatted: string;
3094
+ } | undefined;
3095
+ destinationAmountRequired?: {
3096
+ baseUnits: string;
3097
+ currency: string;
3098
+ decimals: number;
3099
+ formatted: string;
3100
+ } | undefined;
3101
+ destinationChain: {
3102
+ addressFormat: "base58" | "base58check" | "hex";
3103
+ id: string;
3104
+ kind: "evm" | "solana" | "tron";
3105
+ name: string;
3106
+ };
3107
+ destinationToken: {
3108
+ address: string;
3109
+ currency: string;
3110
+ decimals: number;
3111
+ name: string;
3112
+ standard: string;
3113
+ symbol: string;
3114
+ tokenKey: string;
3115
+ verified: boolean;
3116
+ };
3117
+ destinationTransactionHashes?: readonly string[] | undefined;
3118
+ id: string;
3119
+ provider: {
3120
+ id: string;
3121
+ name: string;
3122
+ };
3123
+ recipient: string;
3124
+ refundAddress: string;
3125
+ refundAmount?: {
3126
+ baseUnits: string;
3127
+ currency: string;
3128
+ decimals: number;
3129
+ formatted: string;
3130
+ } | undefined;
3131
+ refundTransactionHashes?: readonly string[] | undefined;
3132
+ sender?: string | undefined;
3133
+ sourceAmount?: {
3134
+ baseUnits: string;
3135
+ currency: string;
3136
+ decimals: number;
3137
+ formatted: string;
3138
+ } | undefined;
3139
+ sourceChain: {
3140
+ addressFormat: "base58" | "base58check" | "hex";
3141
+ id: string;
3142
+ kind: "evm" | "solana" | "tron";
3143
+ name: string;
3144
+ };
3145
+ sourceToken: {
3146
+ address: string;
3147
+ currency: string;
3148
+ decimals: number;
3149
+ name: string;
3150
+ standard: string;
3151
+ symbol: string;
3152
+ tokenKey: string;
3153
+ verified: boolean;
3154
+ };
3155
+ sourceTransactionHashes: readonly string[];
3156
+ sourceTransferIndex?: number | undefined;
3157
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
3158
+ statusReason?: {
3159
+ code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
3160
+ message: string;
3161
+ } | undefined;
3162
+ updatedAt: string;
3163
+ };
3164
+ outputFormat: "json";
3165
+ status: 200;
3166
+ input: {
3167
+ param: {
3168
+ id: string;
3169
+ };
3170
+ };
3171
+ };
3172
+ };
3173
+ }, "/">, "/", "/">;
3174
+ export declare namespace funding {
3175
+ /** Inbound funding route configuration. */
3176
+ type Options = {
3177
+ /** Enqueues one deposit address for asynchronous reconciliation. */
3178
+ dispatchReconciliation?: ((message: FundingProvider.Webhook.receive.Dispatchable) => Promise<void>) | undefined;
3179
+ /** Registers a created address with a source-chain observer. */
3180
+ registerDepositAddress?: ((address: FundingDepositAddress.Public) => Promise<void>) | undefined;
3181
+ };
3182
+ }
3183
+ //# sourceMappingURL=App.d.ts.map