tapimo 0.10.0 → 0.10.2

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 (295) hide show
  1. package/dist/ApiKey.d.ts +2 -1
  2. package/dist/ApiKey.d.ts.map +1 -1
  3. package/dist/ApiKeys.d.ts +4 -2
  4. package/dist/ApiKeys.d.ts.map +1 -1
  5. package/dist/ApiKeys.js +26 -1
  6. package/dist/ApiKeys.js.map +1 -1
  7. package/dist/App.d.ts +6007 -5003
  8. package/dist/App.d.ts.map +1 -1
  9. package/dist/App.js +1 -0
  10. package/dist/App.js.map +1 -1
  11. package/dist/Webhooks.d.ts +1 -1
  12. package/dist/Webhooks.d.ts.map +1 -1
  13. package/dist/Webhooks.js +6 -6
  14. package/dist/Webhooks.js.map +1 -1
  15. package/dist/admin/App.d.ts +91 -84
  16. package/dist/admin/App.d.ts.map +1 -1
  17. package/dist/admin/apps/api-keys.d.ts +22 -13
  18. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  19. package/dist/admin/apps/api-keys.js +6 -0
  20. package/dist/admin/apps/api-keys.js.map +1 -1
  21. package/dist/admin/apps/organizations.d.ts +4 -2
  22. package/dist/admin/apps/organizations.d.ts.map +1 -1
  23. package/dist/admin/ui.generated.d.ts +1 -1
  24. package/dist/admin/ui.generated.js +69 -69
  25. package/dist/admin/ui.generated.js.map +1 -1
  26. package/dist/analytics/Analytics.d.ts.map +1 -1
  27. package/dist/analytics/Analytics.js +232 -0
  28. package/dist/analytics/Analytics.js.map +1 -1
  29. package/dist/analytics/tables/requestEvents.d.ts +4 -0
  30. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  31. package/dist/analytics/tables/requestEvents.js +2 -0
  32. package/dist/analytics/tables/requestEvents.js.map +1 -1
  33. package/dist/apps/Zones.d.ts +4266 -82
  34. package/dist/apps/Zones.d.ts.map +1 -1
  35. package/dist/apps/Zones.js +27 -8
  36. package/dist/apps/Zones.js.map +1 -1
  37. package/dist/apps/data/App.d.ts +3467 -2696
  38. package/dist/apps/data/App.d.ts.map +1 -1
  39. package/dist/apps/data/App.js +2 -0
  40. package/dist/apps/data/App.js.map +1 -1
  41. package/dist/apps/data/routes/activities.d.ts +2999 -100
  42. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  43. package/dist/apps/data/routes/activities.js +340 -2
  44. package/dist/apps/data/routes/activities.js.map +1 -1
  45. package/dist/apps/data/routes/addresses.d.ts +514 -0
  46. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  47. package/dist/apps/data/routes/balances.d.ts +26 -26
  48. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  49. package/dist/apps/data/routes/balances.js +7 -3
  50. package/dist/apps/data/routes/balances.js.map +1 -1
  51. package/dist/apps/data/routes/blocks.d.ts +4 -4
  52. package/dist/apps/data/routes/earn.d.ts +75 -75
  53. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  54. package/dist/apps/data/routes/earn.js +65 -36
  55. package/dist/apps/data/routes/earn.js.map +1 -1
  56. package/dist/apps/data/routes/exchanges.d.ts +124 -120
  57. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  58. package/dist/apps/data/routes/exchanges.js +115 -77
  59. package/dist/apps/data/routes/exchanges.js.map +1 -1
  60. package/dist/apps/data/routes/fee-amm.d.ts +24 -24
  61. package/dist/apps/data/routes/indexer.d.ts +2 -1
  62. package/dist/apps/data/routes/indexer.d.ts.map +1 -1
  63. package/dist/apps/data/routes/indexer.js +3 -2
  64. package/dist/apps/data/routes/indexer.js.map +1 -1
  65. package/dist/apps/data/routes/receipts.d.ts +4 -3
  66. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  67. package/dist/apps/data/routes/receipts.js +15 -14
  68. package/dist/apps/data/routes/receipts.js.map +1 -1
  69. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  70. package/dist/apps/data/routes/rpc.js +5 -1
  71. package/dist/apps/data/routes/rpc.js.map +1 -1
  72. package/dist/apps/data/routes/tokenlist.d.ts +12 -12
  73. package/dist/apps/data/routes/tokens.d.ts +1 -1
  74. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  75. package/dist/apps/data/routes/tokens.js +4 -3
  76. package/dist/apps/data/routes/tokens.js.map +1 -1
  77. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  78. package/dist/apps/data/routes/transfers.js +25 -7
  79. package/dist/apps/data/routes/transfers.js.map +1 -1
  80. package/dist/apps/data/routes/verified-tokens.d.ts +37 -37
  81. package/dist/apps/data/routes/webhooks.d.ts +71 -1
  82. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  83. package/dist/apps/data/routes/webhooks.js +177 -23
  84. package/dist/apps/data/routes/webhooks.js.map +1 -1
  85. package/dist/apps/data/routes/zones.js +1 -1
  86. package/dist/apps/data/routes/zones.js.map +1 -1
  87. package/dist/apps/funding/App.d.ts +322 -89
  88. package/dist/apps/funding/App.d.ts.map +1 -1
  89. package/dist/apps/funding/routes/deposit-addresses.d.ts +375 -45
  90. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
  91. package/dist/apps/funding/routes/deposit-addresses.js +208 -12
  92. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  93. package/dist/apps/funding/routes/transfers.d.ts +32 -32
  94. package/dist/apps/funding/routes/transfers.js +1 -1
  95. package/dist/apps/funding/routes/transfers.js.map +1 -1
  96. package/dist/apps/management/App.d.ts +418 -418
  97. package/dist/apps/management/routes/api-keys.d.ts +50 -50
  98. package/dist/apps/management/routes/billing.d.ts +72 -72
  99. package/dist/apps/management/routes/billing.js +1 -1
  100. package/dist/apps/management/routes/billing.js.map +1 -1
  101. package/dist/apps/management/routes/faucet.d.ts +8 -8
  102. package/dist/apps/management/routes/faucet.js +2 -2
  103. package/dist/apps/management/routes/faucet.js.map +1 -1
  104. package/dist/apps/management/routes/invite-links.d.ts +42 -42
  105. package/dist/apps/management/routes/me.d.ts +6 -6
  106. package/dist/apps/management/routes/members.d.ts +14 -14
  107. package/dist/apps/management/routes/projects.d.ts +40 -40
  108. package/dist/apps/management/routes/usage.d.ts +8 -8
  109. package/dist/apps/management/routes/webhooks.d.ts +49 -49
  110. package/dist/apps/mcp.d.ts.map +1 -1
  111. package/dist/apps/mcp.js +4 -1
  112. package/dist/apps/mcp.js.map +1 -1
  113. package/dist/db/Db.d.ts +2 -0
  114. package/dist/db/Db.d.ts.map +1 -1
  115. package/dist/db/Db.js +90 -0
  116. package/dist/db/Db.js.map +1 -1
  117. package/dist/db/Schema.d.ts +19 -0
  118. package/dist/db/Schema.d.ts.map +1 -1
  119. package/dist/db/Schema.js +24 -0
  120. package/dist/db/Schema.js.map +1 -1
  121. package/dist/db/tables/fundingDepositAddresses.d.ts +20 -0
  122. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
  123. package/dist/db/tables/fundingDepositAddresses.js +17 -0
  124. package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
  125. package/dist/db/tables/fundingDeposits.d.ts +41 -0
  126. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  127. package/dist/db/tables/fundingDeposits.js +69 -0
  128. package/dist/db/tables/fundingDeposits.js.map +1 -1
  129. package/dist/db/tables/webhookQueueEvents.d.ts +122 -0
  130. package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -0
  131. package/dist/db/tables/webhookQueueEvents.js +160 -0
  132. package/dist/db/tables/webhookQueueEvents.js.map +1 -0
  133. package/dist/db/tables/webhookSubscriptions.d.ts +2 -0
  134. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  135. package/dist/db/tables/webhookSubscriptions.js +10 -0
  136. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  137. package/dist/internal/Auth.d.ts +3 -26
  138. package/dist/internal/Auth.d.ts.map +1 -1
  139. package/dist/internal/Auth.js +6 -37
  140. package/dist/internal/Auth.js.map +1 -1
  141. package/dist/internal/Credential.d.ts +27 -0
  142. package/dist/internal/Credential.d.ts.map +1 -0
  143. package/dist/internal/Credential.js +34 -0
  144. package/dist/internal/Credential.js.map +1 -0
  145. package/dist/internal/EarnRates.js +11 -7
  146. package/dist/internal/EarnRates.js.map +1 -1
  147. package/dist/internal/Log.d.ts +8 -0
  148. package/dist/internal/Log.d.ts.map +1 -1
  149. package/dist/internal/Log.js +4 -0
  150. package/dist/internal/Log.js.map +1 -1
  151. package/dist/internal/MetricSink.d.ts +51 -0
  152. package/dist/internal/MetricSink.d.ts.map +1 -1
  153. package/dist/internal/MetricSink.js +54 -2
  154. package/dist/internal/MetricSink.js.map +1 -1
  155. package/dist/internal/RateLimit.d.ts +4 -6
  156. package/dist/internal/RateLimit.d.ts.map +1 -1
  157. package/dist/internal/RateLimit.js +15 -14
  158. package/dist/internal/RateLimit.js.map +1 -1
  159. package/dist/internal/Store.d.ts +2 -1
  160. package/dist/internal/Store.d.ts.map +1 -1
  161. package/dist/internal/Store.js +57 -18
  162. package/dist/internal/Store.js.map +1 -1
  163. package/dist/internal/Tidx.d.ts +4 -3
  164. package/dist/internal/Tidx.d.ts.map +1 -1
  165. package/dist/internal/Tidx.js +2 -2
  166. package/dist/internal/Tidx.js.map +1 -1
  167. package/dist/internal/Value.d.ts +2 -0
  168. package/dist/internal/Value.d.ts.map +1 -1
  169. package/dist/internal/Value.js +25 -0
  170. package/dist/internal/Value.js.map +1 -1
  171. package/dist/internal/Viem.d.ts +4 -3
  172. package/dist/internal/Viem.d.ts.map +1 -1
  173. package/dist/internal/Viem.js +3 -2
  174. package/dist/internal/Viem.js.map +1 -1
  175. package/dist/internal/WebhookTransfer.d.ts +20 -0
  176. package/dist/internal/WebhookTransfer.d.ts.map +1 -1
  177. package/dist/internal/WebhookTransfer.js +7 -4
  178. package/dist/internal/WebhookTransfer.js.map +1 -1
  179. package/dist/internal/Webhooks.d.ts +141 -0
  180. package/dist/internal/Webhooks.d.ts.map +1 -1
  181. package/dist/internal/Webhooks.js +139 -10
  182. package/dist/internal/Webhooks.js.map +1 -1
  183. package/dist/internal/funding/providers/relay.d.ts +3 -4
  184. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  185. package/dist/internal/funding/providers/relay.js +59 -8
  186. package/dist/internal/funding/providers/relay.js.map +1 -1
  187. package/dist/internal/index.d.ts +1 -0
  188. package/dist/internal/index.d.ts.map +1 -1
  189. package/dist/internal/index.js +1 -0
  190. package/dist/internal/index.js.map +1 -1
  191. package/package.json +3 -3
  192. package/src/ApiKeys.test.ts +20 -0
  193. package/src/ApiKeys.ts +28 -1
  194. package/src/App.test.ts +40 -8
  195. package/src/App.ts +1 -0
  196. package/src/Client.test-d.ts +34 -1
  197. package/src/Webhooks.ts +20 -18
  198. package/src/admin/apps/api-keys.test.ts +9 -0
  199. package/src/admin/apps/api-keys.ts +15 -0
  200. package/src/admin/ui/src/lib/query-client.ts +3 -2
  201. package/src/admin/ui/src/routes/api-keys.tsx +31 -9
  202. package/src/admin/ui.generated.ts +69 -69
  203. package/src/analytics/Analytics.test.ts +42 -0
  204. package/src/analytics/Analytics.ts +232 -0
  205. package/src/analytics/tables/requestEvents.ts +6 -0
  206. package/src/apps/Zones.test.ts +20 -3
  207. package/src/apps/Zones.ts +28 -8
  208. package/src/apps/composition.test.ts +2 -0
  209. package/src/apps/data/App.test.ts +2 -2
  210. package/src/apps/data/App.ts +2 -0
  211. package/src/apps/data/routes/activities.bench.ts +41 -0
  212. package/src/apps/data/routes/activities.test.ts +103 -2
  213. package/src/apps/data/routes/activities.ts +401 -2
  214. package/src/apps/data/routes/balances.bench.ts +21 -0
  215. package/src/apps/data/routes/balances.ts +7 -3
  216. package/src/apps/data/routes/blocks.bench.ts +34 -0
  217. package/src/apps/data/routes/coingecko.bench.ts +53 -0
  218. package/src/apps/data/routes/earn.bench.ts +71 -0
  219. package/src/apps/data/routes/earn.ts +66 -36
  220. package/src/apps/data/routes/exchanges.bench.ts +85 -0
  221. package/src/apps/data/routes/exchanges.test.ts +8 -3
  222. package/src/apps/data/routes/exchanges.ts +134 -82
  223. package/src/apps/data/routes/fee-amm.bench.ts +13 -0
  224. package/src/apps/data/routes/indexer.bench.ts +8 -0
  225. package/src/apps/data/routes/indexer.test.ts +2 -1
  226. package/src/apps/data/routes/indexer.ts +3 -2
  227. package/src/apps/data/routes/receipts.bench.ts +39 -0
  228. package/src/apps/data/routes/receipts.ts +16 -14
  229. package/src/apps/data/routes/rpc.bench.ts +14 -0
  230. package/src/apps/data/routes/rpc.test.ts +27 -0
  231. package/src/apps/data/routes/rpc.ts +5 -1
  232. package/src/apps/data/routes/tokenlist.bench.ts +3 -0
  233. package/src/apps/data/routes/tokens.bench.ts +76 -0
  234. package/src/apps/data/routes/tokens.ts +3 -2
  235. package/src/apps/data/routes/transactions.bench.ts +48 -0
  236. package/src/apps/data/routes/transfers.bench.ts +28 -0
  237. package/src/apps/data/routes/transfers.ts +36 -10
  238. package/src/apps/data/routes/valuation.bench.ts +14 -0
  239. package/src/apps/data/routes/verified-tokens.bench.ts +8 -0
  240. package/src/apps/data/routes/webhooks.bench.ts +26 -0
  241. package/src/apps/data/routes/webhooks.scan.test.ts +326 -0
  242. package/src/apps/data/routes/webhooks.test.ts +53 -6
  243. package/src/apps/data/routes/webhooks.ts +252 -24
  244. package/src/apps/data/routes/zones.bench.ts +32 -0
  245. package/src/apps/data/routes/zones.test.ts +1 -1
  246. package/src/apps/data/routes/zones.ts +1 -1
  247. package/src/apps/funding/routes/chains.test.ts +1 -1
  248. package/src/apps/funding/routes/deposit-addresses.test.ts +217 -3
  249. package/src/apps/funding/routes/deposit-addresses.ts +255 -19
  250. package/src/apps/funding/routes/providers.test.ts +1 -1
  251. package/src/apps/funding/routes/quotes.test.ts +1 -1
  252. package/src/apps/funding/routes/transfers.test.ts +20 -8
  253. package/src/apps/funding/routes/transfers.ts +1 -1
  254. package/src/apps/management/routes/billing.ts +1 -1
  255. package/src/apps/management/routes/faucet.ts +2 -2
  256. package/src/apps/management/routes/me.test.ts +31 -0
  257. package/src/apps/mcp.ts +4 -1
  258. package/src/db/Db.ts +117 -0
  259. package/src/db/Schema.ts +32 -0
  260. package/src/db/tables/fundingDepositAddresses.test.ts +28 -0
  261. package/src/db/tables/fundingDepositAddresses.ts +39 -0
  262. package/src/db/tables/fundingDeposits.test.ts +82 -0
  263. package/src/db/tables/fundingDeposits.ts +130 -0
  264. package/src/db/tables/webhookQueueEvents.ts +285 -0
  265. package/src/db/tables/webhookSubscriptions.ts +15 -0
  266. package/src/internal/Auth.test.ts +61 -98
  267. package/src/internal/Auth.ts +9 -63
  268. package/src/internal/Credential.test.ts +51 -0
  269. package/src/internal/Credential.ts +58 -0
  270. package/src/internal/EarnRates.ts +13 -7
  271. package/src/internal/EarnVaults.test.ts +2 -2
  272. package/src/internal/Log.test.ts +3 -1
  273. package/src/internal/Log.ts +14 -0
  274. package/src/internal/MetricSink.test.ts +108 -2
  275. package/src/internal/MetricSink.ts +112 -2
  276. package/src/internal/RateLimit.test.ts +23 -18
  277. package/src/internal/RateLimit.ts +23 -15
  278. package/src/internal/Store.test.ts +99 -13
  279. package/src/internal/Store.ts +52 -17
  280. package/src/internal/Tidx.test.ts +4 -4
  281. package/src/internal/Tidx.ts +5 -4
  282. package/src/internal/Value.test.ts +25 -0
  283. package/src/internal/Value.ts +29 -0
  284. package/src/internal/Viem.test.ts +4 -0
  285. package/src/internal/Viem.ts +6 -4
  286. package/src/internal/WebhookTransfer.test.ts +89 -0
  287. package/src/internal/WebhookTransfer.ts +11 -7
  288. package/src/internal/Webhooks.test.ts +488 -0
  289. package/src/internal/Webhooks.ts +291 -10
  290. package/src/internal/funding/Provider.test.ts +1 -1
  291. package/src/internal/funding/providers/index.test.ts +73 -3
  292. package/src/internal/funding/providers/relay.test.ts +1 -5
  293. package/src/internal/funding/providers/relay.ts +56 -12
  294. package/src/internal/index.test.ts +1 -0
  295. package/src/internal/index.ts +1 -0
@@ -456,6 +456,83 @@ export declare namespace schema {
456
456
  updatedAt: z.ZodMiniString<string>;
457
457
  }, z.core.$strip>;
458
458
  }
459
+ /** Schemas for the listFundingDepositAddresses operation. */
460
+ namespace listFundingDepositAddresses {
461
+ /** Query parameters for listing funding deposit addresses. */
462
+ const Query: z.ZodMiniObject<{
463
+ cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
464
+ limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
465
+ }, z.core.$strip>;
466
+ /** One page of reusable funding deposit addresses. */
467
+ const Response: z.ZodMiniObject<{
468
+ data: z.ZodMiniArray<z.ZodMiniObject<{
469
+ address: z.ZodMiniString<string>;
470
+ createdAt: z.ZodMiniString<string>;
471
+ destinationChain: z.ZodMiniObject<{
472
+ addressFormat: z.ZodMiniEnum<{
473
+ base58: "base58";
474
+ base58check: "base58check";
475
+ hex: "hex";
476
+ }>;
477
+ id: z.ZodMiniString<string>;
478
+ kind: z.ZodMiniEnum<{
479
+ evm: "evm";
480
+ solana: "solana";
481
+ tron: "tron";
482
+ }>;
483
+ name: z.ZodMiniString<string>;
484
+ }, z.core.$strip>;
485
+ destinationToken: z.ZodMiniObject<{
486
+ address: z.ZodMiniString<string>;
487
+ currency: z.ZodMiniString<string>;
488
+ decimals: z.ZodMiniNumber<number>;
489
+ name: z.ZodMiniString<string>;
490
+ standard: z.ZodMiniString<string>;
491
+ symbol: z.ZodMiniString<string>;
492
+ tokenKey: z.ZodMiniString<string>;
493
+ verified: z.ZodMiniBoolean<boolean>;
494
+ }, z.core.$strip>;
495
+ id: z.ZodMiniString<string>;
496
+ provider: z.ZodMiniObject<{
497
+ id: z.ZodMiniString<string>;
498
+ name: z.ZodMiniString<string>;
499
+ }, z.core.$strip>;
500
+ recipient: z.ZodMiniString<string>;
501
+ refundAddress: z.ZodMiniString<string>;
502
+ sourceChain: z.ZodMiniObject<{
503
+ addressFormat: z.ZodMiniEnum<{
504
+ base58: "base58";
505
+ base58check: "base58check";
506
+ hex: "hex";
507
+ }>;
508
+ id: z.ZodMiniString<string>;
509
+ kind: z.ZodMiniEnum<{
510
+ evm: "evm";
511
+ solana: "solana";
512
+ tron: "tron";
513
+ }>;
514
+ name: z.ZodMiniString<string>;
515
+ }, z.core.$strip>;
516
+ sourceToken: z.ZodMiniObject<{
517
+ address: z.ZodMiniString<string>;
518
+ currency: z.ZodMiniString<string>;
519
+ decimals: z.ZodMiniNumber<number>;
520
+ name: z.ZodMiniString<string>;
521
+ standard: z.ZodMiniString<string>;
522
+ symbol: z.ZodMiniString<string>;
523
+ tokenKey: z.ZodMiniString<string>;
524
+ verified: z.ZodMiniBoolean<boolean>;
525
+ }, z.core.$strip>;
526
+ status: z.ZodMiniEnum<{
527
+ "action-required": "action-required";
528
+ active: "active";
529
+ }>;
530
+ subsidize: z.ZodMiniBoolean<boolean>;
531
+ updatedAt: z.ZodMiniString<string>;
532
+ }, z.core.$strip>>;
533
+ nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
534
+ }, z.core.$strip>;
535
+ }
459
536
  /** Schemas for the reconcileFundingDepositAddress operation. */
460
537
  namespace reconcileFundingDepositAddress {
461
538
  /** Path parameters for reconciling a funding deposit address. */
@@ -469,8 +546,24 @@ export declare namespace schema {
469
546
  const Query: z.ZodMiniObject<{
470
547
  depositAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
471
548
  cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
549
+ destinationToken: z.ZodMiniOptional<z.ZodMiniString<string>>;
550
+ include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
551
+ totalCount: "totalCount";
552
+ }>>>;
472
553
  limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
554
+ provider: z.ZodMiniOptional<z.ZodMiniString<string>>;
473
555
  recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
556
+ sourceChain: z.ZodMiniOptional<z.ZodMiniString<string>>;
557
+ sourceToken: z.ZodMiniOptional<z.ZodMiniString<string>>;
558
+ status: z.ZodMiniOptional<z.ZodMiniEnum<{
559
+ "action-required": "action-required";
560
+ bridging: "bridging";
561
+ completed: "completed";
562
+ detected: "detected";
563
+ refunded: "refunded";
564
+ refunding: "refunding";
565
+ settling: "settling";
566
+ }>>;
474
567
  }, z.core.$strip>;
475
568
  /** One page of detected deposits. */
476
569
  const Response: z.ZodMiniObject<{
@@ -591,6 +684,10 @@ export declare namespace schema {
591
684
  }, z.core.$strip>>;
592
685
  updatedAt: z.ZodMiniString<string>;
593
686
  }, z.core.$strip>>;
687
+ meta: z.ZodMiniOptional<z.ZodMiniObject<{
688
+ totalCountCapped: z.ZodMiniBoolean<boolean>;
689
+ totalCount: z.ZodMiniNumber<number>;
690
+ }, z.core.$strip>>;
594
691
  nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
595
692
  }, z.core.$strip>;
596
693
  }
@@ -766,14 +863,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
766
863
  $post: {
767
864
  output: {
768
865
  error: {
769
- code: "upstream_error";
866
+ code: "api_key_malformed";
770
867
  details?: readonly Response.error.Detail[] | undefined;
771
868
  message: string;
772
869
  };
773
870
  requestId: string;
774
871
  };
775
872
  outputFormat: "json";
776
- status: 502;
873
+ status: 400;
777
874
  input: {
778
875
  header: {
779
876
  'idempotency-key': string;
@@ -792,14 +889,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
792
889
  } | {
793
890
  output: {
794
891
  error: {
795
- code: "api_key_malformed";
892
+ code: "api_key_invalid" | "api_key_missing";
796
893
  details?: readonly Response.error.Detail[] | undefined;
797
894
  message: string;
798
895
  };
799
896
  requestId: string;
800
897
  };
801
898
  outputFormat: "json";
802
- status: 400;
899
+ status: 401;
803
900
  input: {
804
901
  header: {
805
902
  'idempotency-key': string;
@@ -818,14 +915,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
818
915
  } | {
819
916
  output: {
820
917
  error: {
821
- code: "api_key_invalid" | "api_key_missing";
918
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
822
919
  details?: readonly Response.error.Detail[] | undefined;
823
920
  message: string;
824
921
  };
825
922
  requestId: string;
826
923
  };
827
924
  outputFormat: "json";
828
- status: 401;
925
+ status: 403;
829
926
  input: {
830
927
  header: {
831
928
  'idempotency-key': string;
@@ -844,14 +941,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
844
941
  } | {
845
942
  output: {
846
943
  error: {
847
- code: "api_key_forbidden" | "api_key_ip_forbidden";
944
+ code: "payment_required" | "rate_limit_exceeded";
848
945
  details?: readonly Response.error.Detail[] | undefined;
849
946
  message: string;
850
947
  };
851
948
  requestId: string;
852
949
  };
853
950
  outputFormat: "json";
854
- status: 403;
951
+ status: 429;
855
952
  input: {
856
953
  header: {
857
954
  'idempotency-key': string;
@@ -870,14 +967,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
870
967
  } | {
871
968
  output: {
872
969
  error: {
873
- code: "payment_required" | "rate_limit_exceeded";
970
+ code: "upstream_error";
874
971
  details?: readonly Response.error.Detail[] | undefined;
875
972
  message: string;
876
973
  };
877
974
  requestId: string;
878
975
  };
879
976
  outputFormat: "json";
880
- status: 429;
977
+ status: 502;
881
978
  input: {
882
979
  header: {
883
980
  'idempotency-key': string;
@@ -1177,8 +1274,93 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1177
1274
  };
1178
1275
  };
1179
1276
  } & {
1180
- "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
1277
+ "/v1/funding/deposit-addresses": {
1181
1278
  $get: {
1279
+ output: {
1280
+ error: {
1281
+ code: "api_key_malformed";
1282
+ details?: readonly Response.error.Detail[] | undefined;
1283
+ message: string;
1284
+ };
1285
+ requestId: string;
1286
+ };
1287
+ outputFormat: "json";
1288
+ status: 400;
1289
+ input: {
1290
+ query?: {
1291
+ cursor?: string | string[];
1292
+ limit?: string | string[];
1293
+ } | undefined;
1294
+ };
1295
+ } | {
1296
+ output: {
1297
+ error: {
1298
+ code: "api_key_invalid" | "api_key_missing";
1299
+ details?: readonly Response.error.Detail[] | undefined;
1300
+ message: string;
1301
+ };
1302
+ requestId: string;
1303
+ };
1304
+ outputFormat: "json";
1305
+ status: 401;
1306
+ input: {
1307
+ query?: {
1308
+ cursor?: string | string[];
1309
+ limit?: string | string[];
1310
+ } | undefined;
1311
+ };
1312
+ } | {
1313
+ output: {
1314
+ error: {
1315
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1316
+ details?: readonly Response.error.Detail[] | undefined;
1317
+ message: string;
1318
+ };
1319
+ requestId: string;
1320
+ };
1321
+ outputFormat: "json";
1322
+ status: 403;
1323
+ input: {
1324
+ query?: {
1325
+ cursor?: string | string[];
1326
+ limit?: string | string[];
1327
+ } | undefined;
1328
+ };
1329
+ } | {
1330
+ output: {
1331
+ error: {
1332
+ code: "payment_required" | "rate_limit_exceeded";
1333
+ details?: readonly Response.error.Detail[] | undefined;
1334
+ message: string;
1335
+ };
1336
+ requestId: string;
1337
+ };
1338
+ outputFormat: "json";
1339
+ status: 429;
1340
+ input: {
1341
+ query?: {
1342
+ cursor?: string | string[];
1343
+ limit?: string | string[];
1344
+ } | undefined;
1345
+ };
1346
+ } | {
1347
+ output: {
1348
+ error: {
1349
+ code: "query_invalid";
1350
+ details?: readonly Response.error.Detail[] | undefined;
1351
+ message: string;
1352
+ };
1353
+ requestId: string;
1354
+ };
1355
+ outputFormat: "json";
1356
+ status: 400;
1357
+ input: {
1358
+ query?: {
1359
+ cursor?: string | string[];
1360
+ limit?: string | string[];
1361
+ } | undefined;
1362
+ };
1363
+ } | {
1182
1364
  output: {
1183
1365
  error: {
1184
1366
  code: "upstream_error";
@@ -1190,11 +1372,91 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1190
1372
  outputFormat: "json";
1191
1373
  status: 502;
1192
1374
  input: {
1193
- param: {
1194
- id: string;
1375
+ query?: {
1376
+ cursor?: string | string[];
1377
+ limit?: string | string[];
1378
+ } | undefined;
1379
+ };
1380
+ } | {
1381
+ output: {
1382
+ error: {
1383
+ code: "unauthorized";
1384
+ details?: readonly Response.error.Detail[] | undefined;
1385
+ message: string;
1195
1386
  };
1387
+ requestId: string;
1388
+ };
1389
+ outputFormat: "json";
1390
+ status: 401;
1391
+ input: {
1392
+ query?: {
1393
+ cursor?: string | string[];
1394
+ limit?: string | string[];
1395
+ } | undefined;
1196
1396
  };
1197
1397
  } | {
1398
+ output: {
1399
+ data: {
1400
+ address: string;
1401
+ createdAt: string;
1402
+ destinationChain: {
1403
+ addressFormat: "base58" | "base58check" | "hex";
1404
+ id: string;
1405
+ kind: "evm" | "solana" | "tron";
1406
+ name: string;
1407
+ };
1408
+ destinationToken: {
1409
+ address: string;
1410
+ currency: string;
1411
+ decimals: number;
1412
+ name: string;
1413
+ standard: string;
1414
+ symbol: string;
1415
+ tokenKey: string;
1416
+ verified: boolean;
1417
+ };
1418
+ id: string;
1419
+ provider: {
1420
+ id: string;
1421
+ name: string;
1422
+ };
1423
+ recipient: string;
1424
+ refundAddress: string;
1425
+ sourceChain: {
1426
+ addressFormat: "base58" | "base58check" | "hex";
1427
+ id: string;
1428
+ kind: "evm" | "solana" | "tron";
1429
+ name: string;
1430
+ };
1431
+ sourceToken: {
1432
+ address: string;
1433
+ currency: string;
1434
+ decimals: number;
1435
+ name: string;
1436
+ standard: string;
1437
+ symbol: string;
1438
+ tokenKey: string;
1439
+ verified: boolean;
1440
+ };
1441
+ status: "action-required" | "active";
1442
+ subsidize: boolean;
1443
+ updatedAt: string;
1444
+ }[];
1445
+ nextCursor: string | null;
1446
+ };
1447
+ outputFormat: "json";
1448
+ status: 200;
1449
+ input: {
1450
+ query?: {
1451
+ cursor?: string | string[];
1452
+ limit?: string | string[];
1453
+ } | undefined;
1454
+ };
1455
+ };
1456
+ };
1457
+ } & {
1458
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
1459
+ $get: {
1198
1460
  output: {
1199
1461
  error: {
1200
1462
  code: "api_key_malformed";
@@ -1258,6 +1520,22 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1258
1520
  id: string;
1259
1521
  };
1260
1522
  };
1523
+ } | {
1524
+ output: {
1525
+ error: {
1526
+ code: "upstream_error";
1527
+ details?: readonly Response.error.Detail[] | undefined;
1528
+ message: string;
1529
+ };
1530
+ requestId: string;
1531
+ };
1532
+ outputFormat: "json";
1533
+ status: 502;
1534
+ input: {
1535
+ param: {
1536
+ id: string;
1537
+ };
1538
+ };
1261
1539
  } | {
1262
1540
  output: {
1263
1541
  error: {
@@ -1376,14 +1654,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1376
1654
  } | {
1377
1655
  output: {
1378
1656
  error: {
1379
- code: "upstream_error";
1657
+ code: "api_key_malformed";
1380
1658
  details?: readonly Response.error.Detail[] | undefined;
1381
1659
  message: string;
1382
1660
  };
1383
1661
  requestId: string;
1384
1662
  };
1385
1663
  outputFormat: "json";
1386
- status: 502;
1664
+ status: 400;
1387
1665
  input: {
1388
1666
  param: {
1389
1667
  id: string;
@@ -1392,14 +1670,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1392
1670
  } | {
1393
1671
  output: {
1394
1672
  error: {
1395
- code: "api_key_malformed";
1673
+ code: "api_key_invalid" | "api_key_missing";
1396
1674
  details?: readonly Response.error.Detail[] | undefined;
1397
1675
  message: string;
1398
1676
  };
1399
1677
  requestId: string;
1400
1678
  };
1401
1679
  outputFormat: "json";
1402
- status: 400;
1680
+ status: 401;
1403
1681
  input: {
1404
1682
  param: {
1405
1683
  id: string;
@@ -1408,14 +1686,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1408
1686
  } | {
1409
1687
  output: {
1410
1688
  error: {
1411
- code: "api_key_invalid" | "api_key_missing";
1689
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1412
1690
  details?: readonly Response.error.Detail[] | undefined;
1413
1691
  message: string;
1414
1692
  };
1415
1693
  requestId: string;
1416
1694
  };
1417
1695
  outputFormat: "json";
1418
- status: 401;
1696
+ status: 403;
1419
1697
  input: {
1420
1698
  param: {
1421
1699
  id: string;
@@ -1424,14 +1702,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1424
1702
  } | {
1425
1703
  output: {
1426
1704
  error: {
1427
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1705
+ code: "payment_required" | "rate_limit_exceeded";
1428
1706
  details?: readonly Response.error.Detail[] | undefined;
1429
1707
  message: string;
1430
1708
  };
1431
1709
  requestId: string;
1432
1710
  };
1433
1711
  outputFormat: "json";
1434
- status: 403;
1712
+ status: 429;
1435
1713
  input: {
1436
1714
  param: {
1437
1715
  id: string;
@@ -1440,14 +1718,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1440
1718
  } | {
1441
1719
  output: {
1442
1720
  error: {
1443
- code: "payment_required" | "rate_limit_exceeded";
1721
+ code: "upstream_error";
1444
1722
  details?: readonly Response.error.Detail[] | undefined;
1445
1723
  message: string;
1446
1724
  };
1447
1725
  requestId: string;
1448
1726
  };
1449
1727
  outputFormat: "json";
1450
- status: 429;
1728
+ status: 502;
1451
1729
  input: {
1452
1730
  param: {
1453
1731
  id: string;
@@ -1540,115 +1818,151 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1540
1818
  $get: {
1541
1819
  output: {
1542
1820
  error: {
1543
- code: "upstream_error";
1821
+ code: "api_key_malformed";
1544
1822
  details?: readonly Response.error.Detail[] | undefined;
1545
1823
  message: string;
1546
1824
  };
1547
1825
  requestId: string;
1548
1826
  };
1549
1827
  outputFormat: "json";
1550
- status: 502;
1828
+ status: 400;
1551
1829
  input: {
1552
1830
  query?: {
1553
1831
  depositAddress?: string | string[];
1554
1832
  cursor?: string | string[];
1833
+ destinationToken?: string | string[];
1834
+ include?: string | string[];
1555
1835
  limit?: string | string[];
1836
+ provider?: string | string[];
1556
1837
  recipient?: string | string[];
1838
+ sourceChain?: string | string[];
1839
+ sourceToken?: string | string[];
1840
+ status?: string | string[];
1557
1841
  } | undefined;
1558
1842
  };
1559
1843
  } | {
1560
1844
  output: {
1561
1845
  error: {
1562
- code: "api_key_malformed";
1846
+ code: "api_key_invalid" | "api_key_missing";
1563
1847
  details?: readonly Response.error.Detail[] | undefined;
1564
1848
  message: string;
1565
1849
  };
1566
1850
  requestId: string;
1567
1851
  };
1568
1852
  outputFormat: "json";
1569
- status: 400;
1853
+ status: 401;
1570
1854
  input: {
1571
1855
  query?: {
1572
1856
  depositAddress?: string | string[];
1573
1857
  cursor?: string | string[];
1858
+ destinationToken?: string | string[];
1859
+ include?: string | string[];
1574
1860
  limit?: string | string[];
1861
+ provider?: string | string[];
1575
1862
  recipient?: string | string[];
1863
+ sourceChain?: string | string[];
1864
+ sourceToken?: string | string[];
1865
+ status?: string | string[];
1576
1866
  } | undefined;
1577
1867
  };
1578
1868
  } | {
1579
1869
  output: {
1580
1870
  error: {
1581
- code: "api_key_invalid" | "api_key_missing";
1871
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1582
1872
  details?: readonly Response.error.Detail[] | undefined;
1583
1873
  message: string;
1584
1874
  };
1585
1875
  requestId: string;
1586
1876
  };
1587
1877
  outputFormat: "json";
1588
- status: 401;
1878
+ status: 403;
1589
1879
  input: {
1590
1880
  query?: {
1591
1881
  depositAddress?: string | string[];
1592
1882
  cursor?: string | string[];
1883
+ destinationToken?: string | string[];
1884
+ include?: string | string[];
1593
1885
  limit?: string | string[];
1886
+ provider?: string | string[];
1594
1887
  recipient?: string | string[];
1888
+ sourceChain?: string | string[];
1889
+ sourceToken?: string | string[];
1890
+ status?: string | string[];
1595
1891
  } | undefined;
1596
1892
  };
1597
1893
  } | {
1598
1894
  output: {
1599
1895
  error: {
1600
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1896
+ code: "payment_required" | "rate_limit_exceeded";
1601
1897
  details?: readonly Response.error.Detail[] | undefined;
1602
1898
  message: string;
1603
1899
  };
1604
1900
  requestId: string;
1605
1901
  };
1606
1902
  outputFormat: "json";
1607
- status: 403;
1903
+ status: 429;
1608
1904
  input: {
1609
1905
  query?: {
1610
1906
  depositAddress?: string | string[];
1611
1907
  cursor?: string | string[];
1908
+ destinationToken?: string | string[];
1909
+ include?: string | string[];
1612
1910
  limit?: string | string[];
1911
+ provider?: string | string[];
1613
1912
  recipient?: string | string[];
1913
+ sourceChain?: string | string[];
1914
+ sourceToken?: string | string[];
1915
+ status?: string | string[];
1614
1916
  } | undefined;
1615
1917
  };
1616
1918
  } | {
1617
1919
  output: {
1618
1920
  error: {
1619
- code: "payment_required" | "rate_limit_exceeded";
1921
+ code: "query_invalid";
1620
1922
  details?: readonly Response.error.Detail[] | undefined;
1621
1923
  message: string;
1622
1924
  };
1623
1925
  requestId: string;
1624
1926
  };
1625
1927
  outputFormat: "json";
1626
- status: 429;
1928
+ status: 400;
1627
1929
  input: {
1628
1930
  query?: {
1629
1931
  depositAddress?: string | string[];
1630
1932
  cursor?: string | string[];
1933
+ destinationToken?: string | string[];
1934
+ include?: string | string[];
1631
1935
  limit?: string | string[];
1936
+ provider?: string | string[];
1632
1937
  recipient?: string | string[];
1938
+ sourceChain?: string | string[];
1939
+ sourceToken?: string | string[];
1940
+ status?: string | string[];
1633
1941
  } | undefined;
1634
1942
  };
1635
1943
  } | {
1636
1944
  output: {
1637
1945
  error: {
1638
- code: "query_invalid";
1946
+ code: "upstream_error";
1639
1947
  details?: readonly Response.error.Detail[] | undefined;
1640
1948
  message: string;
1641
1949
  };
1642
1950
  requestId: string;
1643
1951
  };
1644
1952
  outputFormat: "json";
1645
- status: 400;
1953
+ status: 502;
1646
1954
  input: {
1647
1955
  query?: {
1648
1956
  depositAddress?: string | string[];
1649
1957
  cursor?: string | string[];
1958
+ destinationToken?: string | string[];
1959
+ include?: string | string[];
1650
1960
  limit?: string | string[];
1961
+ provider?: string | string[];
1651
1962
  recipient?: string | string[];
1963
+ sourceChain?: string | string[];
1964
+ sourceToken?: string | string[];
1965
+ status?: string | string[];
1652
1966
  } | undefined;
1653
1967
  };
1654
1968
  } | {
@@ -1666,8 +1980,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1666
1980
  query?: {
1667
1981
  depositAddress?: string | string[];
1668
1982
  cursor?: string | string[];
1983
+ destinationToken?: string | string[];
1984
+ include?: string | string[];
1669
1985
  limit?: string | string[];
1986
+ provider?: string | string[];
1670
1987
  recipient?: string | string[];
1988
+ sourceChain?: string | string[];
1989
+ sourceToken?: string | string[];
1990
+ status?: string | string[];
1671
1991
  } | undefined;
1672
1992
  };
1673
1993
  } | {
@@ -1751,6 +2071,10 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1751
2071
  } | undefined;
1752
2072
  updatedAt: string;
1753
2073
  }[];
2074
+ meta?: {
2075
+ totalCountCapped: boolean;
2076
+ totalCount: number;
2077
+ } | undefined;
1754
2078
  nextCursor: string | null;
1755
2079
  };
1756
2080
  outputFormat: "json";
@@ -1759,8 +2083,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1759
2083
  query?: {
1760
2084
  depositAddress?: string | string[];
1761
2085
  cursor?: string | string[];
2086
+ destinationToken?: string | string[];
2087
+ include?: string | string[];
1762
2088
  limit?: string | string[];
2089
+ provider?: string | string[];
1763
2090
  recipient?: string | string[];
2091
+ sourceChain?: string | string[];
2092
+ sourceToken?: string | string[];
2093
+ status?: string | string[];
1764
2094
  } | undefined;
1765
2095
  };
1766
2096
  };
@@ -1770,14 +2100,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1770
2100
  $get: {
1771
2101
  output: {
1772
2102
  error: {
1773
- code: "upstream_error";
2103
+ code: "api_key_malformed";
1774
2104
  details?: readonly Response.error.Detail[] | undefined;
1775
2105
  message: string;
1776
2106
  };
1777
2107
  requestId: string;
1778
2108
  };
1779
2109
  outputFormat: "json";
1780
- status: 502;
2110
+ status: 400;
1781
2111
  input: {
1782
2112
  param: {
1783
2113
  id: string;
@@ -1786,14 +2116,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1786
2116
  } | {
1787
2117
  output: {
1788
2118
  error: {
1789
- code: "api_key_malformed";
2119
+ code: "api_key_invalid" | "api_key_missing";
1790
2120
  details?: readonly Response.error.Detail[] | undefined;
1791
2121
  message: string;
1792
2122
  };
1793
2123
  requestId: string;
1794
2124
  };
1795
2125
  outputFormat: "json";
1796
- status: 400;
2126
+ status: 401;
1797
2127
  input: {
1798
2128
  param: {
1799
2129
  id: string;
@@ -1802,14 +2132,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1802
2132
  } | {
1803
2133
  output: {
1804
2134
  error: {
1805
- code: "api_key_invalid" | "api_key_missing";
2135
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1806
2136
  details?: readonly Response.error.Detail[] | undefined;
1807
2137
  message: string;
1808
2138
  };
1809
2139
  requestId: string;
1810
2140
  };
1811
2141
  outputFormat: "json";
1812
- status: 401;
2142
+ status: 403;
1813
2143
  input: {
1814
2144
  param: {
1815
2145
  id: string;
@@ -1818,14 +2148,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1818
2148
  } | {
1819
2149
  output: {
1820
2150
  error: {
1821
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2151
+ code: "payment_required" | "rate_limit_exceeded";
1822
2152
  details?: readonly Response.error.Detail[] | undefined;
1823
2153
  message: string;
1824
2154
  };
1825
2155
  requestId: string;
1826
2156
  };
1827
2157
  outputFormat: "json";
1828
- status: 403;
2158
+ status: 429;
1829
2159
  input: {
1830
2160
  param: {
1831
2161
  id: string;
@@ -1834,14 +2164,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1834
2164
  } | {
1835
2165
  output: {
1836
2166
  error: {
1837
- code: "payment_required" | "rate_limit_exceeded";
2167
+ code: "upstream_error";
1838
2168
  details?: readonly Response.error.Detail[] | undefined;
1839
2169
  message: string;
1840
2170
  };
1841
2171
  requestId: string;
1842
2172
  };
1843
2173
  outputFormat: "json";
1844
- status: 429;
2174
+ status: 502;
1845
2175
  input: {
1846
2176
  param: {
1847
2177
  id: string;