tapimo 0.7.2 → 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 (294) 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 +7 -3
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +9 -2
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +20434 -19484
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +62 -4
  13. package/dist/App.js.map +1 -1
  14. package/dist/admin/App.d.ts +84 -74
  15. package/dist/admin/App.d.ts.map +1 -1
  16. package/dist/admin/apps/api-keys.d.ts +14 -1
  17. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  18. package/dist/admin/apps/api-keys.js +6 -2
  19. package/dist/admin/apps/api-keys.js.map +1 -1
  20. package/dist/admin/apps/organizations.d.ts +2 -0
  21. package/dist/admin/apps/organizations.d.ts.map +1 -1
  22. package/dist/admin/apps/verified-tokens.d.ts +168 -168
  23. package/dist/admin/ui.generated.d.ts +1 -1
  24. package/dist/admin/ui.generated.js +67 -67
  25. package/dist/admin/ui.generated.js.map +1 -1
  26. package/dist/analytics/Analytics.d.ts +2 -0
  27. package/dist/analytics/Analytics.d.ts.map +1 -1
  28. package/dist/analytics/Analytics.js +3 -0
  29. package/dist/analytics/Analytics.js.map +1 -1
  30. package/dist/apps/data/App.d.ts +10305 -12785
  31. package/dist/apps/data/App.d.ts.map +1 -1
  32. package/dist/apps/data/App.js +4 -8
  33. package/dist/apps/data/App.js.map +1 -1
  34. package/dist/apps/data/routes/activities.d.ts +24 -24
  35. package/dist/apps/data/routes/addresses.d.ts +288 -288
  36. package/dist/apps/data/routes/balances.d.ts +6 -6
  37. package/dist/apps/data/routes/blocks.d.ts +39 -39
  38. package/dist/apps/data/routes/coingecko.d.ts +170 -170
  39. package/dist/apps/data/routes/earn.d.ts +436 -6
  40. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  41. package/dist/apps/data/routes/earn.js +631 -4
  42. package/dist/apps/data/routes/earn.js.map +1 -1
  43. package/dist/apps/data/routes/exchanges.d.ts +10 -10
  44. package/dist/apps/data/routes/fee-amm.d.ts +2 -2
  45. package/dist/apps/data/routes/indexer.d.ts +6 -6
  46. package/dist/apps/data/routes/indexer.js +4 -1
  47. package/dist/apps/data/routes/indexer.js.map +1 -1
  48. package/dist/apps/data/routes/receipts.d.ts +235 -235
  49. package/dist/apps/data/routes/rpc.d.ts +1 -1
  50. package/dist/apps/data/routes/rpc.js +4 -1
  51. package/dist/apps/data/routes/rpc.js.map +1 -1
  52. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  53. package/dist/apps/data/routes/tokens.d.ts +6 -6
  54. package/dist/apps/data/routes/transactions.d.ts +2 -2
  55. package/dist/apps/data/routes/transfers.d.ts +1 -1
  56. package/dist/apps/data/routes/valuation.d.ts +1 -1
  57. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  58. package/dist/apps/data/routes/webhooks.d.ts +9 -9
  59. package/dist/apps/data/routes/zones.d.ts +14 -14
  60. package/dist/apps/funding/Access.d.ts +16 -0
  61. package/dist/apps/funding/Access.d.ts.map +1 -0
  62. package/dist/apps/funding/Access.js +22 -0
  63. package/dist/apps/funding/Access.js.map +1 -0
  64. package/dist/apps/{data/routes/funding.d.ts → funding/App.d.ts} +1717 -3035
  65. package/dist/apps/funding/App.d.ts.map +1 -0
  66. package/dist/apps/funding/App.js +46 -0
  67. package/dist/apps/funding/App.js.map +1 -0
  68. package/dist/apps/funding/Inventory.d.ts +5 -0
  69. package/dist/apps/funding/Inventory.d.ts.map +1 -0
  70. package/dist/apps/funding/Inventory.js +25 -0
  71. package/dist/apps/funding/Inventory.js.map +1 -0
  72. package/dist/apps/funding/ProviderAttempts.d.ts +5 -0
  73. package/dist/apps/funding/ProviderAttempts.d.ts.map +1 -0
  74. package/dist/apps/funding/ProviderAttempts.js +24 -0
  75. package/dist/apps/funding/ProviderAttempts.js.map +1 -0
  76. package/dist/apps/funding/index.d.ts +2 -0
  77. package/dist/apps/funding/index.d.ts.map +1 -0
  78. package/dist/apps/funding/index.js +2 -0
  79. package/dist/apps/funding/index.js.map +1 -0
  80. package/dist/apps/funding/routes/chains.d.ts +169 -0
  81. package/dist/apps/funding/routes/chains.d.ts.map +1 -0
  82. package/dist/apps/funding/routes/chains.js +80 -0
  83. package/dist/apps/funding/routes/chains.js.map +1 -0
  84. package/dist/apps/funding/routes/deposit-addresses.d.ts +2388 -0
  85. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -0
  86. package/dist/apps/funding/routes/deposit-addresses.js +860 -0
  87. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -0
  88. package/dist/apps/funding/routes/providers.d.ts +91 -0
  89. package/dist/apps/funding/routes/providers.d.ts.map +1 -0
  90. package/dist/apps/funding/routes/providers.js +56 -0
  91. package/dist/apps/funding/routes/providers.js.map +1 -0
  92. package/dist/apps/funding/routes/quotes.d.ts +426 -0
  93. package/dist/apps/funding/routes/quotes.d.ts.map +1 -0
  94. package/dist/apps/funding/routes/quotes.js +188 -0
  95. package/dist/apps/funding/routes/quotes.js.map +1 -0
  96. package/dist/apps/funding/routes/transfers.d.ts +1999 -0
  97. package/dist/apps/funding/routes/transfers.d.ts.map +1 -0
  98. package/dist/apps/funding/routes/transfers.js +614 -0
  99. package/dist/apps/funding/routes/transfers.js.map +1 -0
  100. package/dist/apps/index.d.ts +1 -0
  101. package/dist/apps/index.d.ts.map +1 -1
  102. package/dist/apps/index.js +1 -0
  103. package/dist/apps/index.js.map +1 -1
  104. package/dist/apps/management/App.d.ts +430 -165
  105. package/dist/apps/management/App.d.ts.map +1 -1
  106. package/dist/apps/management/routes/api-keys.d.ts +298 -21
  107. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  108. package/dist/apps/management/routes/api-keys.js +75 -1
  109. package/dist/apps/management/routes/api-keys.js.map +1 -1
  110. package/dist/apps/management/routes/billing.d.ts +6 -6
  111. package/dist/apps/management/routes/faucet.d.ts +35 -35
  112. package/dist/apps/management/routes/invitations.d.ts +48 -48
  113. package/dist/apps/management/routes/invite-links.d.ts +38 -38
  114. package/dist/apps/management/routes/members.d.ts +69 -69
  115. package/dist/apps/management/routes/orgs.d.ts +37 -37
  116. package/dist/apps/management/routes/projects.d.ts +25 -25
  117. package/dist/apps/management/routes/scopes.d.ts +1 -1
  118. package/dist/apps/management/routes/usage.d.ts +72 -72
  119. package/dist/apps/management/routes/verified-token-requests.d.ts +18 -18
  120. package/dist/apps/management/routes/webhooks.d.ts +128 -128
  121. package/dist/apps/mcp.d.ts +2 -3
  122. package/dist/apps/mcp.d.ts.map +1 -1
  123. package/dist/apps/mcp.js +16 -14
  124. package/dist/apps/mcp.js.map +1 -1
  125. package/dist/apps/metadata.d.ts +4 -0
  126. package/dist/apps/metadata.d.ts.map +1 -1
  127. package/dist/apps/metadata.js +10 -0
  128. package/dist/apps/metadata.js.map +1 -1
  129. package/dist/apps/mpp/App.d.ts +2 -2
  130. package/dist/cloudflare.d.ts +50 -0
  131. package/dist/cloudflare.d.ts.map +1 -1
  132. package/dist/cloudflare.js +178 -0
  133. package/dist/cloudflare.js.map +1 -1
  134. package/dist/db/Db.d.ts +2 -0
  135. package/dist/db/Db.d.ts.map +1 -1
  136. package/dist/db/Db.js +37 -0
  137. package/dist/db/Db.js.map +1 -1
  138. package/dist/db/Schema.d.ts +12 -0
  139. package/dist/db/Schema.d.ts.map +1 -1
  140. package/dist/db/Schema.js +20 -0
  141. package/dist/db/Schema.js.map +1 -1
  142. package/dist/db/tables/fundingDepositAddresses.d.ts +13 -0
  143. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
  144. package/dist/db/tables/fundingDepositAddresses.js +12 -0
  145. package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
  146. package/dist/db/tables/fundingDepositRequestObservations.d.ts +45 -0
  147. package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +1 -0
  148. package/dist/db/tables/fundingDepositRequestObservations.js +46 -0
  149. package/dist/db/tables/fundingDepositRequestObservations.js.map +1 -0
  150. package/dist/db/tables/fundingDeposits.d.ts +57 -1
  151. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  152. package/dist/db/tables/fundingDeposits.js +82 -0
  153. package/dist/db/tables/fundingDeposits.js.map +1 -1
  154. package/dist/internal/Auth.d.ts +11 -11
  155. package/dist/internal/Auth.d.ts.map +1 -1
  156. package/dist/internal/Auth.js +41 -15
  157. package/dist/internal/Auth.js.map +1 -1
  158. package/dist/internal/Cache.js +1 -1
  159. package/dist/internal/Cache.js.map +1 -1
  160. package/dist/internal/EdgeCache.d.ts +2 -2
  161. package/dist/internal/EdgeCache.d.ts.map +1 -1
  162. package/dist/internal/EdgeCache.js +10 -4
  163. package/dist/internal/EdgeCache.js.map +1 -1
  164. package/dist/internal/IpAllowlist.d.ts +15 -0
  165. package/dist/internal/IpAllowlist.d.ts.map +1 -0
  166. package/dist/internal/IpAllowlist.js +27 -0
  167. package/dist/internal/IpAllowlist.js.map +1 -0
  168. package/dist/internal/OpenApi.d.ts +1 -1
  169. package/dist/internal/OpenApi.js +1 -1
  170. package/dist/internal/OpenApi.js.map +1 -1
  171. package/dist/internal/Tidx.d.ts +6 -0
  172. package/dist/internal/Tidx.d.ts.map +1 -1
  173. package/dist/internal/Tidx.js +13 -3
  174. package/dist/internal/Tidx.js.map +1 -1
  175. package/dist/internal/Viem.d.ts +8 -0
  176. package/dist/internal/Viem.d.ts.map +1 -1
  177. package/dist/internal/Viem.js +12 -5
  178. package/dist/internal/Viem.js.map +1 -1
  179. package/dist/internal/funding/Deposit.d.ts +42 -0
  180. package/dist/internal/funding/Deposit.d.ts.map +1 -1
  181. package/dist/internal/funding/Deposit.js +37 -5
  182. package/dist/internal/funding/Deposit.js.map +1 -1
  183. package/dist/internal/funding/Evidence.d.ts +1 -5
  184. package/dist/internal/funding/Evidence.d.ts.map +1 -1
  185. package/dist/internal/funding/Evidence.js +4 -3
  186. package/dist/internal/funding/Evidence.js.map +1 -1
  187. package/dist/internal/funding/Provider.d.ts +102 -0
  188. package/dist/internal/funding/Provider.d.ts.map +1 -1
  189. package/dist/internal/funding/Provider.js +5 -0
  190. package/dist/internal/funding/Provider.js.map +1 -1
  191. package/dist/internal/funding/Reconciliation.d.ts +16 -2
  192. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  193. package/dist/internal/funding/Reconciliation.js +257 -48
  194. package/dist/internal/funding/Reconciliation.js.map +1 -1
  195. package/dist/internal/funding/SourceObservation.d.ts +108 -0
  196. package/dist/internal/funding/SourceObservation.d.ts.map +1 -0
  197. package/dist/internal/funding/SourceObservation.js +143 -0
  198. package/dist/internal/funding/SourceObservation.js.map +1 -0
  199. package/dist/internal/funding/Subsidy.d.ts +2 -2
  200. package/dist/internal/funding/Subsidy.d.ts.map +1 -1
  201. package/dist/internal/funding/Subsidy.js +1 -1
  202. package/dist/internal/funding/Subsidy.js.map +1 -1
  203. package/dist/internal/funding/index.d.ts +1 -0
  204. package/dist/internal/funding/index.d.ts.map +1 -1
  205. package/dist/internal/funding/index.js +1 -0
  206. package/dist/internal/funding/index.js.map +1 -1
  207. package/dist/internal/funding/providers/relay.d.ts +43 -1
  208. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  209. package/dist/internal/funding/providers/relay.js +434 -27
  210. package/dist/internal/funding/providers/relay.js.map +1 -1
  211. package/package.json +3 -3
  212. package/src/ApiKey.test.ts +35 -0
  213. package/src/ApiKey.ts +27 -0
  214. package/src/ApiKeys.test.ts +29 -0
  215. package/src/ApiKeys.ts +11 -3
  216. package/src/App.test.ts +23 -5
  217. package/src/App.ts +76 -5
  218. package/src/Client.test-d.ts +171 -19
  219. package/src/admin/apps/api-keys.test.ts +25 -1
  220. package/src/admin/apps/api-keys.ts +6 -2
  221. package/src/admin/ui.generated.ts +67 -67
  222. package/src/analytics/Analytics.ts +4 -0
  223. package/src/apps/composition.test.ts +100 -2
  224. package/src/apps/data/App.test.ts +0 -12
  225. package/src/apps/data/App.ts +4 -8
  226. package/src/apps/data/routes/earn.test.ts +283 -0
  227. package/src/apps/data/routes/earn.ts +800 -3
  228. package/src/apps/data/routes/indexer.ts +2 -1
  229. package/src/apps/data/routes/rpc.ts +2 -0
  230. package/src/apps/data/routes/tokens.test.ts +6 -8
  231. package/src/apps/funding/Access.ts +26 -0
  232. package/src/apps/funding/App.test.ts +78 -0
  233. package/src/apps/funding/App.ts +63 -0
  234. package/src/apps/funding/Inventory.ts +30 -0
  235. package/src/apps/funding/ProviderAttempts.ts +26 -0
  236. package/src/apps/funding/index.ts +1 -0
  237. package/src/apps/funding/routes/chains.test.ts +78 -0
  238. package/src/apps/funding/routes/chains.ts +101 -0
  239. package/src/apps/funding/routes/deposit-addresses.test.ts +1628 -0
  240. package/src/apps/funding/routes/deposit-addresses.ts +1015 -0
  241. package/src/apps/funding/routes/providers.test.ts +165 -0
  242. package/src/apps/funding/routes/providers.ts +73 -0
  243. package/src/apps/funding/routes/quotes.test.ts +511 -0
  244. package/src/apps/funding/routes/quotes.ts +205 -0
  245. package/src/apps/funding/routes/transfers.test.ts +1255 -0
  246. package/src/apps/funding/routes/transfers.ts +704 -0
  247. package/src/apps/index.ts +1 -0
  248. package/src/apps/management/routes/api-keys.test.ts +98 -0
  249. package/src/apps/management/routes/api-keys.ts +96 -1
  250. package/src/apps/mcp.test.ts +17 -2
  251. package/src/apps/mcp.ts +18 -13
  252. package/src/apps/metadata.ts +12 -0
  253. package/src/apps/mpp/internal/Policy.test.ts +7 -1
  254. package/src/cloudflare.ts +279 -0
  255. package/src/db/Db.ts +62 -0
  256. package/src/db/Schema.ts +24 -0
  257. package/src/db/tables/fundingDepositAddresses.ts +28 -0
  258. package/src/db/tables/fundingDepositRequestObservations.test.ts +106 -0
  259. package/src/db/tables/fundingDepositRequestObservations.ts +99 -0
  260. package/src/db/tables/fundingDeposits.test.ts +138 -0
  261. package/src/db/tables/fundingDeposits.ts +145 -1
  262. package/src/internal/Auth.test.ts +177 -5
  263. package/src/internal/Auth.ts +48 -18
  264. package/src/internal/Cache.test.ts +37 -3
  265. package/src/internal/Cache.ts +1 -1
  266. package/src/internal/EdgeCache.test.ts +7 -7
  267. package/src/internal/EdgeCache.ts +13 -4
  268. package/src/internal/IpAllowlist.test.ts +52 -0
  269. package/src/internal/IpAllowlist.ts +39 -0
  270. package/src/internal/Log.test.ts +7 -1
  271. package/src/internal/OpenApi.ts +1 -1
  272. package/src/internal/Tidx.test.ts +28 -0
  273. package/src/internal/Tidx.ts +19 -3
  274. package/src/internal/Viem.test.ts +28 -0
  275. package/src/internal/Viem.ts +21 -5
  276. package/src/internal/funding/Deposit.ts +74 -5
  277. package/src/internal/funding/Evidence.test.ts +2 -2
  278. package/src/internal/funding/Evidence.ts +4 -9
  279. package/src/internal/funding/Provider.ts +115 -0
  280. package/src/internal/funding/Reconciliation.local.test.ts +7 -0
  281. package/src/internal/funding/Reconciliation.test.ts +1052 -35
  282. package/src/internal/funding/Reconciliation.ts +328 -56
  283. package/src/internal/funding/SourceObservation.test.ts +301 -0
  284. package/src/internal/funding/SourceObservation.ts +267 -0
  285. package/src/internal/funding/Subsidy.ts +2 -2
  286. package/src/internal/funding/index.test.ts +1 -0
  287. package/src/internal/funding/index.ts +1 -0
  288. package/src/internal/funding/providers/relay.test.ts +94 -4
  289. package/src/internal/funding/providers/relay.ts +528 -27
  290. package/dist/apps/data/routes/funding.d.ts.map +0 -1
  291. package/dist/apps/data/routes/funding.js +0 -1557
  292. package/dist/apps/data/routes/funding.js.map +0 -1
  293. package/src/apps/data/routes/funding.test.ts +0 -2994
  294. package/src/apps/data/routes/funding.ts +0 -1821
@@ -0,0 +1,2388 @@
1
+ import * as z from 'zod/mini';
2
+ import type * as App from '../../../App.js';
3
+ import * as FundingDepositAddress from '../../../internal/funding/DepositAddress.js';
4
+ import * as FundingProvider from '../../../internal/funding/Provider.js';
5
+ import * as Response from '../../../internal/Response.js';
6
+ /** Zod schemas owned by funding deposit-address resources. */
7
+ export declare namespace schema {
8
+ /** One reusable funding deposit address. */
9
+ const DepositAddress: z.ZodMiniObject<{
10
+ address: z.ZodMiniString<string>;
11
+ createdAt: z.ZodMiniString<string>;
12
+ destinationChain: z.ZodMiniObject<{
13
+ addressFormat: z.ZodMiniEnum<{
14
+ base58: "base58";
15
+ base58check: "base58check";
16
+ hex: "hex";
17
+ }>;
18
+ id: z.ZodMiniString<string>;
19
+ kind: z.ZodMiniEnum<{
20
+ evm: "evm";
21
+ solana: "solana";
22
+ tron: "tron";
23
+ }>;
24
+ name: z.ZodMiniString<string>;
25
+ }, z.core.$strip>;
26
+ destinationToken: z.ZodMiniObject<{
27
+ address: z.ZodMiniString<string>;
28
+ currency: z.ZodMiniString<string>;
29
+ decimals: z.ZodMiniNumber<number>;
30
+ name: z.ZodMiniString<string>;
31
+ standard: z.ZodMiniString<string>;
32
+ symbol: z.ZodMiniString<string>;
33
+ tokenKey: z.ZodMiniString<string>;
34
+ verified: z.ZodMiniBoolean<boolean>;
35
+ }, z.core.$strip>;
36
+ id: z.ZodMiniString<string>;
37
+ provider: z.ZodMiniObject<{
38
+ id: z.ZodMiniString<string>;
39
+ name: z.ZodMiniString<string>;
40
+ }, z.core.$strip>;
41
+ recipient: z.ZodMiniString<string>;
42
+ refundAddress: z.ZodMiniString<string>;
43
+ sourceChain: z.ZodMiniObject<{
44
+ addressFormat: z.ZodMiniEnum<{
45
+ base58: "base58";
46
+ base58check: "base58check";
47
+ hex: "hex";
48
+ }>;
49
+ id: z.ZodMiniString<string>;
50
+ kind: z.ZodMiniEnum<{
51
+ evm: "evm";
52
+ solana: "solana";
53
+ tron: "tron";
54
+ }>;
55
+ name: z.ZodMiniString<string>;
56
+ }, z.core.$strip>;
57
+ sourceToken: z.ZodMiniObject<{
58
+ address: z.ZodMiniString<string>;
59
+ currency: z.ZodMiniString<string>;
60
+ decimals: z.ZodMiniNumber<number>;
61
+ name: z.ZodMiniString<string>;
62
+ standard: z.ZodMiniString<string>;
63
+ symbol: z.ZodMiniString<string>;
64
+ tokenKey: z.ZodMiniString<string>;
65
+ verified: z.ZodMiniBoolean<boolean>;
66
+ }, z.core.$strip>;
67
+ status: z.ZodMiniEnum<{
68
+ "action-required": "action-required";
69
+ active: "active";
70
+ }>;
71
+ subsidize: z.ZodMiniBoolean<boolean>;
72
+ updatedAt: z.ZodMiniString<string>;
73
+ }, z.core.$strip>;
74
+ /** One detected funding deposit. */
75
+ const Deposit: z.ZodMiniObject<{
76
+ createdAt: z.ZodMiniString<string>;
77
+ depositAddressId: z.ZodMiniString<string>;
78
+ detectionTrigger: z.ZodMiniOptional<z.ZodMiniEnum<{
79
+ chain: "chain";
80
+ manual: "manual";
81
+ poll: "poll";
82
+ webhook: "webhook";
83
+ }>>;
84
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
85
+ baseUnits: z.ZodMiniString<string>;
86
+ currency: z.ZodMiniString<string>;
87
+ decimals: z.ZodMiniNumber<number>;
88
+ formatted: z.ZodMiniString<string>;
89
+ }, z.core.$strip>>;
90
+ destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
91
+ baseUnits: z.ZodMiniString<string>;
92
+ currency: z.ZodMiniString<string>;
93
+ decimals: z.ZodMiniNumber<number>;
94
+ formatted: z.ZodMiniString<string>;
95
+ }, z.core.$strip>>;
96
+ destinationChain: z.ZodMiniObject<{
97
+ addressFormat: z.ZodMiniEnum<{
98
+ base58: "base58";
99
+ base58check: "base58check";
100
+ hex: "hex";
101
+ }>;
102
+ id: z.ZodMiniString<string>;
103
+ kind: z.ZodMiniEnum<{
104
+ evm: "evm";
105
+ solana: "solana";
106
+ tron: "tron";
107
+ }>;
108
+ name: z.ZodMiniString<string>;
109
+ }, z.core.$strip>;
110
+ destinationToken: z.ZodMiniObject<{
111
+ address: z.ZodMiniString<string>;
112
+ currency: z.ZodMiniString<string>;
113
+ decimals: z.ZodMiniNumber<number>;
114
+ name: z.ZodMiniString<string>;
115
+ standard: z.ZodMiniString<string>;
116
+ symbol: z.ZodMiniString<string>;
117
+ tokenKey: z.ZodMiniString<string>;
118
+ verified: z.ZodMiniBoolean<boolean>;
119
+ }, z.core.$strip>;
120
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
121
+ id: z.ZodMiniString<string>;
122
+ provider: z.ZodMiniObject<{
123
+ id: z.ZodMiniString<string>;
124
+ name: z.ZodMiniString<string>;
125
+ }, z.core.$strip>;
126
+ recipient: z.ZodMiniString<string>;
127
+ refundAddress: z.ZodMiniString<string>;
128
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
129
+ baseUnits: z.ZodMiniString<string>;
130
+ currency: z.ZodMiniString<string>;
131
+ decimals: z.ZodMiniNumber<number>;
132
+ formatted: z.ZodMiniString<string>;
133
+ }, z.core.$strip>>;
134
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
135
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
136
+ sourceAmount: z.ZodMiniOptional<z.ZodMiniObject<{
137
+ baseUnits: z.ZodMiniString<string>;
138
+ currency: z.ZodMiniString<string>;
139
+ decimals: z.ZodMiniNumber<number>;
140
+ formatted: z.ZodMiniString<string>;
141
+ }, z.core.$strip>>;
142
+ sourceChain: z.ZodMiniObject<{
143
+ addressFormat: z.ZodMiniEnum<{
144
+ base58: "base58";
145
+ base58check: "base58check";
146
+ hex: "hex";
147
+ }>;
148
+ id: z.ZodMiniString<string>;
149
+ kind: z.ZodMiniEnum<{
150
+ evm: "evm";
151
+ solana: "solana";
152
+ tron: "tron";
153
+ }>;
154
+ name: z.ZodMiniString<string>;
155
+ }, z.core.$strip>;
156
+ sourceToken: z.ZodMiniObject<{
157
+ address: z.ZodMiniString<string>;
158
+ currency: z.ZodMiniString<string>;
159
+ decimals: z.ZodMiniNumber<number>;
160
+ name: z.ZodMiniString<string>;
161
+ standard: z.ZodMiniString<string>;
162
+ symbol: z.ZodMiniString<string>;
163
+ tokenKey: z.ZodMiniString<string>;
164
+ verified: z.ZodMiniBoolean<boolean>;
165
+ }, z.core.$strip>;
166
+ sourceTransactionHashes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>;
167
+ sourceTransferIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
168
+ status: z.ZodMiniEnum<{
169
+ "action-required": "action-required";
170
+ bridging: "bridging";
171
+ completed: "completed";
172
+ detected: "detected";
173
+ refunded: "refunded";
174
+ refunding: "refunding";
175
+ settling: "settling";
176
+ }>;
177
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
178
+ code: z.ZodMiniEnum<{
179
+ delivery_failed: "delivery_failed";
180
+ delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
181
+ manual_recovery_required: "manual_recovery_required";
182
+ refund_failed: "refund_failed";
183
+ source_amount_not_supported: "source_amount_not_supported";
184
+ source_token_mismatch: "source_token_mismatch";
185
+ subsidy_balance_unavailable: "subsidy_balance_unavailable";
186
+ subsidy_failed: "subsidy_failed";
187
+ }>;
188
+ message: z.ZodMiniString<string>;
189
+ }, z.core.$strip>>;
190
+ updatedAt: z.ZodMiniString<string>;
191
+ }, z.core.$strip>;
192
+ /** Schemas for the createFundingDepositAddress operation. */
193
+ namespace createFundingDepositAddress {
194
+ /** Funding deposit address creation request body. */
195
+ const Body: z.ZodMiniObject<{
196
+ amount: z.ZodMiniString<string>;
197
+ destinationToken: z.ZodMiniString<string>;
198
+ recipient: z.ZodMiniString<string>;
199
+ refundAddress: z.ZodMiniString<string>;
200
+ sourceChain: z.ZodMiniString<string>;
201
+ sourceToken: z.ZodMiniString<string>;
202
+ subsidize: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
203
+ }, z.core.$strict>;
204
+ /** Required headers for funding deposit address creation. */
205
+ const Headers: z.ZodMiniObject<{
206
+ 'idempotency-key': z.ZodMiniString<string>;
207
+ }, z.core.$strip>;
208
+ /** The reusable address, with quoted terms only when the provider address was newly stored. */
209
+ const Response: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
210
+ address: z.ZodMiniString<string>;
211
+ createdAt: z.ZodMiniString<string>;
212
+ destinationChain: z.ZodMiniObject<{
213
+ addressFormat: z.ZodMiniEnum<{
214
+ base58: "base58";
215
+ base58check: "base58check";
216
+ hex: "hex";
217
+ }>;
218
+ id: z.ZodMiniString<string>;
219
+ kind: z.ZodMiniEnum<{
220
+ evm: "evm";
221
+ solana: "solana";
222
+ tron: "tron";
223
+ }>;
224
+ name: z.ZodMiniString<string>;
225
+ }, z.core.$strip>;
226
+ destinationToken: z.ZodMiniObject<{
227
+ address: z.ZodMiniString<string>;
228
+ currency: z.ZodMiniString<string>;
229
+ decimals: z.ZodMiniNumber<number>;
230
+ name: z.ZodMiniString<string>;
231
+ standard: z.ZodMiniString<string>;
232
+ symbol: z.ZodMiniString<string>;
233
+ tokenKey: z.ZodMiniString<string>;
234
+ verified: z.ZodMiniBoolean<boolean>;
235
+ }, z.core.$strip>;
236
+ id: z.ZodMiniString<string>;
237
+ provider: z.ZodMiniObject<{
238
+ id: z.ZodMiniString<string>;
239
+ name: z.ZodMiniString<string>;
240
+ }, z.core.$strip>;
241
+ recipient: z.ZodMiniString<string>;
242
+ refundAddress: z.ZodMiniString<string>;
243
+ sourceChain: z.ZodMiniObject<{
244
+ addressFormat: z.ZodMiniEnum<{
245
+ base58: "base58";
246
+ base58check: "base58check";
247
+ hex: "hex";
248
+ }>;
249
+ id: z.ZodMiniString<string>;
250
+ kind: z.ZodMiniEnum<{
251
+ evm: "evm";
252
+ solana: "solana";
253
+ tron: "tron";
254
+ }>;
255
+ name: z.ZodMiniString<string>;
256
+ }, z.core.$strip>;
257
+ sourceToken: z.ZodMiniObject<{
258
+ address: z.ZodMiniString<string>;
259
+ currency: z.ZodMiniString<string>;
260
+ decimals: z.ZodMiniNumber<number>;
261
+ name: z.ZodMiniString<string>;
262
+ standard: z.ZodMiniString<string>;
263
+ symbol: z.ZodMiniString<string>;
264
+ tokenKey: z.ZodMiniString<string>;
265
+ verified: z.ZodMiniBoolean<boolean>;
266
+ }, z.core.$strip>;
267
+ status: z.ZodMiniEnum<{
268
+ "action-required": "action-required";
269
+ active: "active";
270
+ }>;
271
+ subsidize: z.ZodMiniBoolean<boolean>;
272
+ updatedAt: z.ZodMiniString<string>;
273
+ destinationAmount: z.ZodMiniObject<{
274
+ baseUnits: z.ZodMiniString<string>;
275
+ currency: z.ZodMiniString<string>;
276
+ decimals: z.ZodMiniNumber<number>;
277
+ formatted: z.ZodMiniString<string>;
278
+ }, z.core.$strip>;
279
+ destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
280
+ baseUnits: z.ZodMiniString<string>;
281
+ currency: z.ZodMiniString<string>;
282
+ decimals: z.ZodMiniNumber<number>;
283
+ formatted: z.ZodMiniString<string>;
284
+ }, z.core.$strip>>;
285
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
286
+ amount: z.ZodMiniObject<{
287
+ baseUnits: z.ZodMiniString<string>;
288
+ currency: z.ZodMiniString<string>;
289
+ decimals: z.ZodMiniNumber<number>;
290
+ formatted: z.ZodMiniString<string>;
291
+ }, z.core.$strip>;
292
+ side: z.ZodMiniEnum<{
293
+ destination: "destination";
294
+ source: "source";
295
+ }>;
296
+ token: z.ZodMiniObject<{
297
+ address: z.ZodMiniString<string>;
298
+ currency: z.ZodMiniString<string>;
299
+ decimals: z.ZodMiniNumber<number>;
300
+ name: z.ZodMiniString<string>;
301
+ standard: z.ZodMiniString<string>;
302
+ symbol: z.ZodMiniString<string>;
303
+ tokenKey: z.ZodMiniString<string>;
304
+ verified: z.ZodMiniBoolean<boolean>;
305
+ }, z.core.$strip>;
306
+ type: z.ZodMiniEnum<{
307
+ provider: "provider";
308
+ }>;
309
+ }, z.core.$strip>>;
310
+ quote: z.ZodMiniObject<{
311
+ expiresAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
312
+ sampledAt: z.ZodMiniISODateTime;
313
+ }, z.core.$strip>;
314
+ sourceAmount: z.ZodMiniObject<{
315
+ baseUnits: z.ZodMiniString<string>;
316
+ currency: z.ZodMiniString<string>;
317
+ decimals: z.ZodMiniNumber<number>;
318
+ formatted: z.ZodMiniString<string>;
319
+ }, z.core.$strip>;
320
+ }, z.core.$strip>, z.ZodMiniObject<{
321
+ address: z.ZodMiniString<string>;
322
+ createdAt: z.ZodMiniString<string>;
323
+ destinationChain: z.ZodMiniObject<{
324
+ addressFormat: z.ZodMiniEnum<{
325
+ base58: "base58";
326
+ base58check: "base58check";
327
+ hex: "hex";
328
+ }>;
329
+ id: z.ZodMiniString<string>;
330
+ kind: z.ZodMiniEnum<{
331
+ evm: "evm";
332
+ solana: "solana";
333
+ tron: "tron";
334
+ }>;
335
+ name: z.ZodMiniString<string>;
336
+ }, z.core.$strip>;
337
+ destinationToken: z.ZodMiniObject<{
338
+ address: z.ZodMiniString<string>;
339
+ currency: z.ZodMiniString<string>;
340
+ decimals: z.ZodMiniNumber<number>;
341
+ name: z.ZodMiniString<string>;
342
+ standard: z.ZodMiniString<string>;
343
+ symbol: z.ZodMiniString<string>;
344
+ tokenKey: z.ZodMiniString<string>;
345
+ verified: z.ZodMiniBoolean<boolean>;
346
+ }, z.core.$strip>;
347
+ id: z.ZodMiniString<string>;
348
+ provider: z.ZodMiniObject<{
349
+ id: z.ZodMiniString<string>;
350
+ name: z.ZodMiniString<string>;
351
+ }, z.core.$strip>;
352
+ recipient: z.ZodMiniString<string>;
353
+ refundAddress: z.ZodMiniString<string>;
354
+ sourceChain: z.ZodMiniObject<{
355
+ addressFormat: z.ZodMiniEnum<{
356
+ base58: "base58";
357
+ base58check: "base58check";
358
+ hex: "hex";
359
+ }>;
360
+ id: z.ZodMiniString<string>;
361
+ kind: z.ZodMiniEnum<{
362
+ evm: "evm";
363
+ solana: "solana";
364
+ tron: "tron";
365
+ }>;
366
+ name: z.ZodMiniString<string>;
367
+ }, z.core.$strip>;
368
+ sourceToken: z.ZodMiniObject<{
369
+ address: z.ZodMiniString<string>;
370
+ currency: z.ZodMiniString<string>;
371
+ decimals: z.ZodMiniNumber<number>;
372
+ name: z.ZodMiniString<string>;
373
+ standard: z.ZodMiniString<string>;
374
+ symbol: z.ZodMiniString<string>;
375
+ tokenKey: z.ZodMiniString<string>;
376
+ verified: z.ZodMiniBoolean<boolean>;
377
+ }, z.core.$strip>;
378
+ status: z.ZodMiniEnum<{
379
+ "action-required": "action-required";
380
+ active: "active";
381
+ }>;
382
+ subsidize: z.ZodMiniBoolean<boolean>;
383
+ updatedAt: z.ZodMiniString<string>;
384
+ }, z.core.$strip>]>;
385
+ }
386
+ /** Schemas for the getFundingDepositAddress operation. */
387
+ namespace getFundingDepositAddress {
388
+ /** Path parameters for reading a funding deposit address. */
389
+ const Params: z.ZodMiniObject<{
390
+ id: z.ZodMiniString<string>;
391
+ }, z.core.$strip>;
392
+ /** One reusable funding deposit address. */
393
+ const Response: z.ZodMiniObject<{
394
+ address: z.ZodMiniString<string>;
395
+ createdAt: z.ZodMiniString<string>;
396
+ destinationChain: z.ZodMiniObject<{
397
+ addressFormat: z.ZodMiniEnum<{
398
+ base58: "base58";
399
+ base58check: "base58check";
400
+ hex: "hex";
401
+ }>;
402
+ id: z.ZodMiniString<string>;
403
+ kind: z.ZodMiniEnum<{
404
+ evm: "evm";
405
+ solana: "solana";
406
+ tron: "tron";
407
+ }>;
408
+ name: z.ZodMiniString<string>;
409
+ }, z.core.$strip>;
410
+ destinationToken: z.ZodMiniObject<{
411
+ address: z.ZodMiniString<string>;
412
+ currency: z.ZodMiniString<string>;
413
+ decimals: z.ZodMiniNumber<number>;
414
+ name: z.ZodMiniString<string>;
415
+ standard: z.ZodMiniString<string>;
416
+ symbol: z.ZodMiniString<string>;
417
+ tokenKey: z.ZodMiniString<string>;
418
+ verified: z.ZodMiniBoolean<boolean>;
419
+ }, z.core.$strip>;
420
+ id: z.ZodMiniString<string>;
421
+ provider: z.ZodMiniObject<{
422
+ id: z.ZodMiniString<string>;
423
+ name: z.ZodMiniString<string>;
424
+ }, z.core.$strip>;
425
+ recipient: z.ZodMiniString<string>;
426
+ refundAddress: z.ZodMiniString<string>;
427
+ sourceChain: z.ZodMiniObject<{
428
+ addressFormat: z.ZodMiniEnum<{
429
+ base58: "base58";
430
+ base58check: "base58check";
431
+ hex: "hex";
432
+ }>;
433
+ id: z.ZodMiniString<string>;
434
+ kind: z.ZodMiniEnum<{
435
+ evm: "evm";
436
+ solana: "solana";
437
+ tron: "tron";
438
+ }>;
439
+ name: z.ZodMiniString<string>;
440
+ }, z.core.$strip>;
441
+ sourceToken: z.ZodMiniObject<{
442
+ address: z.ZodMiniString<string>;
443
+ currency: z.ZodMiniString<string>;
444
+ decimals: z.ZodMiniNumber<number>;
445
+ name: z.ZodMiniString<string>;
446
+ standard: z.ZodMiniString<string>;
447
+ symbol: z.ZodMiniString<string>;
448
+ tokenKey: z.ZodMiniString<string>;
449
+ verified: z.ZodMiniBoolean<boolean>;
450
+ }, z.core.$strip>;
451
+ status: z.ZodMiniEnum<{
452
+ "action-required": "action-required";
453
+ active: "active";
454
+ }>;
455
+ subsidize: z.ZodMiniBoolean<boolean>;
456
+ updatedAt: z.ZodMiniString<string>;
457
+ }, z.core.$strip>;
458
+ }
459
+ /** Schemas for the reconcileFundingDepositAddress operation. */
460
+ namespace reconcileFundingDepositAddress {
461
+ /** Path parameters for reconciling a funding deposit address. */
462
+ const Params: z.ZodMiniObject<{
463
+ id: z.ZodMiniString<string>;
464
+ }, z.core.$strip>;
465
+ }
466
+ /** Schemas for the listFundingDepositAddressDeposits operation. */
467
+ namespace listFundingDepositAddressDeposits {
468
+ /** Path parameters for listing one address's deposits. */
469
+ const Params: z.ZodMiniObject<{
470
+ id: z.ZodMiniString<string>;
471
+ }, z.core.$strip>;
472
+ /** Query parameters for listing one address's deposits. */
473
+ const Query: z.ZodMiniObject<{
474
+ cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
475
+ limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
476
+ }, z.core.$strip>;
477
+ /** One page of detected deposits. */
478
+ const Response: z.ZodMiniObject<{
479
+ data: z.ZodMiniArray<z.ZodMiniObject<{
480
+ createdAt: z.ZodMiniString<string>;
481
+ depositAddressId: z.ZodMiniString<string>;
482
+ detectionTrigger: z.ZodMiniOptional<z.ZodMiniEnum<{
483
+ chain: "chain";
484
+ manual: "manual";
485
+ poll: "poll";
486
+ webhook: "webhook";
487
+ }>>;
488
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
489
+ baseUnits: z.ZodMiniString<string>;
490
+ currency: z.ZodMiniString<string>;
491
+ decimals: z.ZodMiniNumber<number>;
492
+ formatted: z.ZodMiniString<string>;
493
+ }, z.core.$strip>>;
494
+ destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
495
+ baseUnits: z.ZodMiniString<string>;
496
+ currency: z.ZodMiniString<string>;
497
+ decimals: z.ZodMiniNumber<number>;
498
+ formatted: z.ZodMiniString<string>;
499
+ }, z.core.$strip>>;
500
+ destinationChain: z.ZodMiniObject<{
501
+ addressFormat: z.ZodMiniEnum<{
502
+ base58: "base58";
503
+ base58check: "base58check";
504
+ hex: "hex";
505
+ }>;
506
+ id: z.ZodMiniString<string>;
507
+ kind: z.ZodMiniEnum<{
508
+ evm: "evm";
509
+ solana: "solana";
510
+ tron: "tron";
511
+ }>;
512
+ name: z.ZodMiniString<string>;
513
+ }, z.core.$strip>;
514
+ destinationToken: z.ZodMiniObject<{
515
+ address: z.ZodMiniString<string>;
516
+ currency: z.ZodMiniString<string>;
517
+ decimals: z.ZodMiniNumber<number>;
518
+ name: z.ZodMiniString<string>;
519
+ standard: z.ZodMiniString<string>;
520
+ symbol: z.ZodMiniString<string>;
521
+ tokenKey: z.ZodMiniString<string>;
522
+ verified: z.ZodMiniBoolean<boolean>;
523
+ }, z.core.$strip>;
524
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
525
+ id: z.ZodMiniString<string>;
526
+ provider: z.ZodMiniObject<{
527
+ id: z.ZodMiniString<string>;
528
+ name: z.ZodMiniString<string>;
529
+ }, z.core.$strip>;
530
+ recipient: z.ZodMiniString<string>;
531
+ refundAddress: z.ZodMiniString<string>;
532
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
533
+ baseUnits: z.ZodMiniString<string>;
534
+ currency: z.ZodMiniString<string>;
535
+ decimals: z.ZodMiniNumber<number>;
536
+ formatted: z.ZodMiniString<string>;
537
+ }, z.core.$strip>>;
538
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
539
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
540
+ sourceAmount: z.ZodMiniOptional<z.ZodMiniObject<{
541
+ baseUnits: z.ZodMiniString<string>;
542
+ currency: z.ZodMiniString<string>;
543
+ decimals: z.ZodMiniNumber<number>;
544
+ formatted: z.ZodMiniString<string>;
545
+ }, z.core.$strip>>;
546
+ sourceChain: z.ZodMiniObject<{
547
+ addressFormat: z.ZodMiniEnum<{
548
+ base58: "base58";
549
+ base58check: "base58check";
550
+ hex: "hex";
551
+ }>;
552
+ id: z.ZodMiniString<string>;
553
+ kind: z.ZodMiniEnum<{
554
+ evm: "evm";
555
+ solana: "solana";
556
+ tron: "tron";
557
+ }>;
558
+ name: z.ZodMiniString<string>;
559
+ }, z.core.$strip>;
560
+ sourceToken: z.ZodMiniObject<{
561
+ address: z.ZodMiniString<string>;
562
+ currency: z.ZodMiniString<string>;
563
+ decimals: z.ZodMiniNumber<number>;
564
+ name: z.ZodMiniString<string>;
565
+ standard: z.ZodMiniString<string>;
566
+ symbol: z.ZodMiniString<string>;
567
+ tokenKey: z.ZodMiniString<string>;
568
+ verified: z.ZodMiniBoolean<boolean>;
569
+ }, z.core.$strip>;
570
+ sourceTransactionHashes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>;
571
+ sourceTransferIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
572
+ status: z.ZodMiniEnum<{
573
+ "action-required": "action-required";
574
+ bridging: "bridging";
575
+ completed: "completed";
576
+ detected: "detected";
577
+ refunded: "refunded";
578
+ refunding: "refunding";
579
+ settling: "settling";
580
+ }>;
581
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
582
+ code: z.ZodMiniEnum<{
583
+ delivery_failed: "delivery_failed";
584
+ delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
585
+ manual_recovery_required: "manual_recovery_required";
586
+ refund_failed: "refund_failed";
587
+ source_amount_not_supported: "source_amount_not_supported";
588
+ source_token_mismatch: "source_token_mismatch";
589
+ subsidy_balance_unavailable: "subsidy_balance_unavailable";
590
+ subsidy_failed: "subsidy_failed";
591
+ }>;
592
+ message: z.ZodMiniString<string>;
593
+ }, z.core.$strip>>;
594
+ updatedAt: z.ZodMiniString<string>;
595
+ }, z.core.$strip>>;
596
+ nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
597
+ }, z.core.$strip>;
598
+ }
599
+ /** Schemas for the listFundingDeposits operation. */
600
+ namespace listFundingDeposits {
601
+ /** Query parameters for listing one account's funding deposits. */
602
+ const Query: z.ZodMiniObject<{
603
+ cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
604
+ limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
605
+ recipient: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
606
+ }, z.core.$strip>;
607
+ /** One page of detected deposits. */
608
+ const Response: z.ZodMiniObject<{
609
+ data: z.ZodMiniArray<z.ZodMiniObject<{
610
+ createdAt: z.ZodMiniString<string>;
611
+ depositAddressId: z.ZodMiniString<string>;
612
+ detectionTrigger: z.ZodMiniOptional<z.ZodMiniEnum<{
613
+ chain: "chain";
614
+ manual: "manual";
615
+ poll: "poll";
616
+ webhook: "webhook";
617
+ }>>;
618
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
619
+ baseUnits: z.ZodMiniString<string>;
620
+ currency: z.ZodMiniString<string>;
621
+ decimals: z.ZodMiniNumber<number>;
622
+ formatted: z.ZodMiniString<string>;
623
+ }, z.core.$strip>>;
624
+ destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
625
+ baseUnits: z.ZodMiniString<string>;
626
+ currency: z.ZodMiniString<string>;
627
+ decimals: z.ZodMiniNumber<number>;
628
+ formatted: z.ZodMiniString<string>;
629
+ }, z.core.$strip>>;
630
+ destinationChain: z.ZodMiniObject<{
631
+ addressFormat: z.ZodMiniEnum<{
632
+ base58: "base58";
633
+ base58check: "base58check";
634
+ hex: "hex";
635
+ }>;
636
+ id: z.ZodMiniString<string>;
637
+ kind: z.ZodMiniEnum<{
638
+ evm: "evm";
639
+ solana: "solana";
640
+ tron: "tron";
641
+ }>;
642
+ name: z.ZodMiniString<string>;
643
+ }, z.core.$strip>;
644
+ destinationToken: z.ZodMiniObject<{
645
+ address: z.ZodMiniString<string>;
646
+ currency: z.ZodMiniString<string>;
647
+ decimals: z.ZodMiniNumber<number>;
648
+ name: z.ZodMiniString<string>;
649
+ standard: z.ZodMiniString<string>;
650
+ symbol: z.ZodMiniString<string>;
651
+ tokenKey: z.ZodMiniString<string>;
652
+ verified: z.ZodMiniBoolean<boolean>;
653
+ }, z.core.$strip>;
654
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
655
+ id: z.ZodMiniString<string>;
656
+ provider: z.ZodMiniObject<{
657
+ id: z.ZodMiniString<string>;
658
+ name: z.ZodMiniString<string>;
659
+ }, z.core.$strip>;
660
+ recipient: z.ZodMiniString<string>;
661
+ refundAddress: z.ZodMiniString<string>;
662
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
663
+ baseUnits: z.ZodMiniString<string>;
664
+ currency: z.ZodMiniString<string>;
665
+ decimals: z.ZodMiniNumber<number>;
666
+ formatted: z.ZodMiniString<string>;
667
+ }, z.core.$strip>>;
668
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
669
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
670
+ sourceAmount: z.ZodMiniOptional<z.ZodMiniObject<{
671
+ baseUnits: z.ZodMiniString<string>;
672
+ currency: z.ZodMiniString<string>;
673
+ decimals: z.ZodMiniNumber<number>;
674
+ formatted: z.ZodMiniString<string>;
675
+ }, z.core.$strip>>;
676
+ sourceChain: z.ZodMiniObject<{
677
+ addressFormat: z.ZodMiniEnum<{
678
+ base58: "base58";
679
+ base58check: "base58check";
680
+ hex: "hex";
681
+ }>;
682
+ id: z.ZodMiniString<string>;
683
+ kind: z.ZodMiniEnum<{
684
+ evm: "evm";
685
+ solana: "solana";
686
+ tron: "tron";
687
+ }>;
688
+ name: z.ZodMiniString<string>;
689
+ }, z.core.$strip>;
690
+ sourceToken: z.ZodMiniObject<{
691
+ address: z.ZodMiniString<string>;
692
+ currency: z.ZodMiniString<string>;
693
+ decimals: z.ZodMiniNumber<number>;
694
+ name: z.ZodMiniString<string>;
695
+ standard: z.ZodMiniString<string>;
696
+ symbol: z.ZodMiniString<string>;
697
+ tokenKey: z.ZodMiniString<string>;
698
+ verified: z.ZodMiniBoolean<boolean>;
699
+ }, z.core.$strip>;
700
+ sourceTransactionHashes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>;
701
+ sourceTransferIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
702
+ status: z.ZodMiniEnum<{
703
+ "action-required": "action-required";
704
+ bridging: "bridging";
705
+ completed: "completed";
706
+ detected: "detected";
707
+ refunded: "refunded";
708
+ refunding: "refunding";
709
+ settling: "settling";
710
+ }>;
711
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
712
+ code: z.ZodMiniEnum<{
713
+ delivery_failed: "delivery_failed";
714
+ delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
715
+ manual_recovery_required: "manual_recovery_required";
716
+ refund_failed: "refund_failed";
717
+ source_amount_not_supported: "source_amount_not_supported";
718
+ source_token_mismatch: "source_token_mismatch";
719
+ subsidy_balance_unavailable: "subsidy_balance_unavailable";
720
+ subsidy_failed: "subsidy_failed";
721
+ }>;
722
+ message: z.ZodMiniString<string>;
723
+ }, z.core.$strip>>;
724
+ updatedAt: z.ZodMiniString<string>;
725
+ }, z.core.$strip>>;
726
+ nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
727
+ }, z.core.$strip>;
728
+ }
729
+ /** Schemas for the getFundingDeposit operation. */
730
+ namespace getFundingDeposit {
731
+ /** Path parameters for reading a funding deposit. */
732
+ const Params: z.ZodMiniObject<{
733
+ id: z.ZodMiniString<string>;
734
+ }, z.core.$strip>;
735
+ /** One detected funding deposit. */
736
+ const Response: z.ZodMiniObject<{
737
+ createdAt: z.ZodMiniString<string>;
738
+ depositAddressId: z.ZodMiniString<string>;
739
+ detectionTrigger: z.ZodMiniOptional<z.ZodMiniEnum<{
740
+ chain: "chain";
741
+ manual: "manual";
742
+ poll: "poll";
743
+ webhook: "webhook";
744
+ }>>;
745
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
746
+ baseUnits: z.ZodMiniString<string>;
747
+ currency: z.ZodMiniString<string>;
748
+ decimals: z.ZodMiniNumber<number>;
749
+ formatted: z.ZodMiniString<string>;
750
+ }, z.core.$strip>>;
751
+ destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
752
+ baseUnits: z.ZodMiniString<string>;
753
+ currency: z.ZodMiniString<string>;
754
+ decimals: z.ZodMiniNumber<number>;
755
+ formatted: z.ZodMiniString<string>;
756
+ }, z.core.$strip>>;
757
+ destinationChain: z.ZodMiniObject<{
758
+ addressFormat: z.ZodMiniEnum<{
759
+ base58: "base58";
760
+ base58check: "base58check";
761
+ hex: "hex";
762
+ }>;
763
+ id: z.ZodMiniString<string>;
764
+ kind: z.ZodMiniEnum<{
765
+ evm: "evm";
766
+ solana: "solana";
767
+ tron: "tron";
768
+ }>;
769
+ name: z.ZodMiniString<string>;
770
+ }, z.core.$strip>;
771
+ destinationToken: z.ZodMiniObject<{
772
+ address: z.ZodMiniString<string>;
773
+ currency: z.ZodMiniString<string>;
774
+ decimals: z.ZodMiniNumber<number>;
775
+ name: z.ZodMiniString<string>;
776
+ standard: z.ZodMiniString<string>;
777
+ symbol: z.ZodMiniString<string>;
778
+ tokenKey: z.ZodMiniString<string>;
779
+ verified: z.ZodMiniBoolean<boolean>;
780
+ }, z.core.$strip>;
781
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
782
+ id: z.ZodMiniString<string>;
783
+ provider: z.ZodMiniObject<{
784
+ id: z.ZodMiniString<string>;
785
+ name: z.ZodMiniString<string>;
786
+ }, z.core.$strip>;
787
+ recipient: z.ZodMiniString<string>;
788
+ refundAddress: z.ZodMiniString<string>;
789
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
790
+ baseUnits: z.ZodMiniString<string>;
791
+ currency: z.ZodMiniString<string>;
792
+ decimals: z.ZodMiniNumber<number>;
793
+ formatted: z.ZodMiniString<string>;
794
+ }, z.core.$strip>>;
795
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
796
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
797
+ sourceAmount: z.ZodMiniOptional<z.ZodMiniObject<{
798
+ baseUnits: z.ZodMiniString<string>;
799
+ currency: z.ZodMiniString<string>;
800
+ decimals: z.ZodMiniNumber<number>;
801
+ formatted: z.ZodMiniString<string>;
802
+ }, z.core.$strip>>;
803
+ sourceChain: z.ZodMiniObject<{
804
+ addressFormat: z.ZodMiniEnum<{
805
+ base58: "base58";
806
+ base58check: "base58check";
807
+ hex: "hex";
808
+ }>;
809
+ id: z.ZodMiniString<string>;
810
+ kind: z.ZodMiniEnum<{
811
+ evm: "evm";
812
+ solana: "solana";
813
+ tron: "tron";
814
+ }>;
815
+ name: z.ZodMiniString<string>;
816
+ }, z.core.$strip>;
817
+ sourceToken: z.ZodMiniObject<{
818
+ address: z.ZodMiniString<string>;
819
+ currency: z.ZodMiniString<string>;
820
+ decimals: z.ZodMiniNumber<number>;
821
+ name: z.ZodMiniString<string>;
822
+ standard: z.ZodMiniString<string>;
823
+ symbol: z.ZodMiniString<string>;
824
+ tokenKey: z.ZodMiniString<string>;
825
+ verified: z.ZodMiniBoolean<boolean>;
826
+ }, z.core.$strip>;
827
+ sourceTransactionHashes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>;
828
+ sourceTransferIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
829
+ status: z.ZodMiniEnum<{
830
+ "action-required": "action-required";
831
+ bridging: "bridging";
832
+ completed: "completed";
833
+ detected: "detected";
834
+ refunded: "refunded";
835
+ refunding: "refunding";
836
+ settling: "settling";
837
+ }>;
838
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
839
+ code: z.ZodMiniEnum<{
840
+ delivery_failed: "delivery_failed";
841
+ delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
842
+ manual_recovery_required: "manual_recovery_required";
843
+ refund_failed: "refund_failed";
844
+ source_amount_not_supported: "source_amount_not_supported";
845
+ source_token_mismatch: "source_token_mismatch";
846
+ subsidy_balance_unavailable: "subsidy_balance_unavailable";
847
+ subsidy_failed: "subsidy_failed";
848
+ }>;
849
+ message: z.ZodMiniString<string>;
850
+ }, z.core.$strip>>;
851
+ updatedAt: z.ZodMiniString<string>;
852
+ }, z.core.$strip>;
853
+ }
854
+ }
855
+ /** Mounts reusable deposit-address and detected-deposit routes. */
856
+ export declare function depositAddresses(options?: depositAddresses.Options): import("hono/hono-base").HonoBase<App.Environment, {
857
+ "/webhooks/funding/:providerId": {
858
+ $post: {
859
+ output: null;
860
+ outputFormat: "body";
861
+ status: 204;
862
+ input: {
863
+ param: {
864
+ providerId: string;
865
+ };
866
+ };
867
+ } | {
868
+ output: null;
869
+ outputFormat: "body";
870
+ status: 400;
871
+ input: {
872
+ param: {
873
+ providerId: string;
874
+ };
875
+ };
876
+ } | {
877
+ output: null;
878
+ outputFormat: "body";
879
+ status: 401;
880
+ input: {
881
+ param: {
882
+ providerId: string;
883
+ };
884
+ };
885
+ } | {
886
+ output: null;
887
+ outputFormat: "body";
888
+ status: 404;
889
+ input: {
890
+ param: {
891
+ providerId: string;
892
+ };
893
+ };
894
+ };
895
+ };
896
+ } & {
897
+ "/v1/funding/deposit-addresses": {
898
+ $post: {
899
+ output: {
900
+ error: {
901
+ code: "api_key_malformed";
902
+ details?: readonly Response.error.Detail[] | undefined;
903
+ message: string;
904
+ };
905
+ requestId: string;
906
+ };
907
+ outputFormat: "json";
908
+ status: 400;
909
+ input: {
910
+ header: {
911
+ 'idempotency-key': string;
912
+ };
913
+ } & {
914
+ json: {
915
+ amount: string;
916
+ destinationToken: string;
917
+ recipient: string;
918
+ refundAddress: string;
919
+ sourceChain: string;
920
+ sourceToken: string;
921
+ subsidize?: boolean | undefined;
922
+ };
923
+ };
924
+ } | {
925
+ output: {
926
+ error: {
927
+ code: "api_key_invalid" | "api_key_missing";
928
+ details?: readonly Response.error.Detail[] | undefined;
929
+ message: string;
930
+ };
931
+ requestId: string;
932
+ };
933
+ outputFormat: "json";
934
+ status: 401;
935
+ input: {
936
+ header: {
937
+ 'idempotency-key': string;
938
+ };
939
+ } & {
940
+ json: {
941
+ amount: string;
942
+ destinationToken: string;
943
+ recipient: string;
944
+ refundAddress: string;
945
+ sourceChain: string;
946
+ sourceToken: string;
947
+ subsidize?: boolean | undefined;
948
+ };
949
+ };
950
+ } | {
951
+ output: {
952
+ error: {
953
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
954
+ details?: readonly Response.error.Detail[] | undefined;
955
+ message: string;
956
+ };
957
+ requestId: string;
958
+ };
959
+ outputFormat: "json";
960
+ status: 403;
961
+ input: {
962
+ header: {
963
+ 'idempotency-key': string;
964
+ };
965
+ } & {
966
+ json: {
967
+ amount: string;
968
+ destinationToken: string;
969
+ recipient: string;
970
+ refundAddress: string;
971
+ sourceChain: string;
972
+ sourceToken: string;
973
+ subsidize?: boolean | undefined;
974
+ };
975
+ };
976
+ } | {
977
+ output: {
978
+ error: {
979
+ code: "payment_required" | "rate_limit_exceeded";
980
+ details?: readonly Response.error.Detail[] | undefined;
981
+ message: string;
982
+ };
983
+ requestId: string;
984
+ };
985
+ outputFormat: "json";
986
+ status: 429;
987
+ input: {
988
+ header: {
989
+ 'idempotency-key': string;
990
+ };
991
+ } & {
992
+ json: {
993
+ amount: string;
994
+ destinationToken: string;
995
+ recipient: string;
996
+ refundAddress: string;
997
+ sourceChain: string;
998
+ sourceToken: string;
999
+ subsidize?: boolean | undefined;
1000
+ };
1001
+ };
1002
+ } | {
1003
+ output: {
1004
+ error: {
1005
+ code: "upstream_error";
1006
+ details?: readonly Response.error.Detail[] | undefined;
1007
+ message: string;
1008
+ };
1009
+ requestId: string;
1010
+ };
1011
+ outputFormat: "json";
1012
+ status: 502;
1013
+ input: {
1014
+ header: {
1015
+ 'idempotency-key': string;
1016
+ };
1017
+ } & {
1018
+ json: {
1019
+ amount: string;
1020
+ destinationToken: string;
1021
+ recipient: string;
1022
+ refundAddress: string;
1023
+ sourceChain: string;
1024
+ sourceToken: string;
1025
+ subsidize?: boolean | undefined;
1026
+ };
1027
+ };
1028
+ } | {
1029
+ output: {
1030
+ error: {
1031
+ code: "body_invalid";
1032
+ details?: readonly Response.error.Detail[] | undefined;
1033
+ message: string;
1034
+ };
1035
+ requestId: string;
1036
+ };
1037
+ outputFormat: "json";
1038
+ status: 400;
1039
+ input: {
1040
+ header: {
1041
+ 'idempotency-key': string;
1042
+ };
1043
+ } & {
1044
+ json: {
1045
+ amount: string;
1046
+ destinationToken: string;
1047
+ recipient: string;
1048
+ refundAddress: string;
1049
+ sourceChain: string;
1050
+ sourceToken: string;
1051
+ subsidize?: boolean | undefined;
1052
+ };
1053
+ };
1054
+ } | {
1055
+ output: {
1056
+ error: {
1057
+ code: "unauthorized";
1058
+ details?: readonly Response.error.Detail[] | undefined;
1059
+ message: string;
1060
+ };
1061
+ requestId: string;
1062
+ };
1063
+ outputFormat: "json";
1064
+ status: 401;
1065
+ input: {
1066
+ header: {
1067
+ 'idempotency-key': string;
1068
+ };
1069
+ } & {
1070
+ json: {
1071
+ amount: string;
1072
+ destinationToken: string;
1073
+ recipient: string;
1074
+ refundAddress: string;
1075
+ sourceChain: string;
1076
+ sourceToken: string;
1077
+ subsidize?: boolean | undefined;
1078
+ };
1079
+ };
1080
+ } | {
1081
+ output: {
1082
+ error: {
1083
+ code: "idempotency_conflict";
1084
+ details?: readonly Response.error.Detail[] | undefined;
1085
+ message: string;
1086
+ };
1087
+ requestId: string;
1088
+ };
1089
+ outputFormat: "json";
1090
+ status: 409;
1091
+ input: {
1092
+ header: {
1093
+ 'idempotency-key': string;
1094
+ };
1095
+ } & {
1096
+ json: {
1097
+ amount: string;
1098
+ destinationToken: string;
1099
+ recipient: string;
1100
+ refundAddress: string;
1101
+ sourceChain: string;
1102
+ sourceToken: string;
1103
+ subsidize?: boolean | undefined;
1104
+ };
1105
+ };
1106
+ } | {
1107
+ output: {
1108
+ error: {
1109
+ code: "idempotency_in_progress";
1110
+ details?: readonly Response.error.Detail[] | undefined;
1111
+ message: string;
1112
+ };
1113
+ requestId: string;
1114
+ };
1115
+ outputFormat: "json";
1116
+ status: 409;
1117
+ input: {
1118
+ header: {
1119
+ 'idempotency-key': string;
1120
+ };
1121
+ } & {
1122
+ json: {
1123
+ amount: string;
1124
+ destinationToken: string;
1125
+ recipient: string;
1126
+ refundAddress: string;
1127
+ sourceChain: string;
1128
+ sourceToken: string;
1129
+ subsidize?: boolean | undefined;
1130
+ };
1131
+ };
1132
+ } | {
1133
+ output: {
1134
+ error: {
1135
+ code: "deposit_address_not_available";
1136
+ details?: readonly Response.error.Detail[] | undefined;
1137
+ message: string;
1138
+ };
1139
+ requestId: string;
1140
+ };
1141
+ outputFormat: "json";
1142
+ status: 404;
1143
+ input: {
1144
+ header: {
1145
+ 'idempotency-key': string;
1146
+ };
1147
+ } & {
1148
+ json: {
1149
+ amount: string;
1150
+ destinationToken: string;
1151
+ recipient: string;
1152
+ refundAddress: string;
1153
+ sourceChain: string;
1154
+ sourceToken: string;
1155
+ subsidize?: boolean | undefined;
1156
+ };
1157
+ };
1158
+ } | {
1159
+ output: {
1160
+ address: string;
1161
+ createdAt: string;
1162
+ destinationChain: {
1163
+ addressFormat: "base58" | "base58check" | "hex";
1164
+ id: string;
1165
+ kind: "evm" | "solana" | "tron";
1166
+ name: string;
1167
+ };
1168
+ destinationToken: {
1169
+ address: string;
1170
+ currency: string;
1171
+ decimals: number;
1172
+ name: string;
1173
+ standard: string;
1174
+ symbol: string;
1175
+ tokenKey: string;
1176
+ verified: boolean;
1177
+ };
1178
+ id: string;
1179
+ provider: {
1180
+ id: string;
1181
+ name: string;
1182
+ };
1183
+ recipient: string;
1184
+ refundAddress: string;
1185
+ sourceChain: {
1186
+ addressFormat: "base58" | "base58check" | "hex";
1187
+ id: string;
1188
+ kind: "evm" | "solana" | "tron";
1189
+ name: string;
1190
+ };
1191
+ sourceToken: {
1192
+ address: string;
1193
+ currency: string;
1194
+ decimals: number;
1195
+ name: string;
1196
+ standard: string;
1197
+ symbol: string;
1198
+ tokenKey: string;
1199
+ verified: boolean;
1200
+ };
1201
+ status: "action-required" | "active";
1202
+ subsidize: boolean;
1203
+ updatedAt: string;
1204
+ } | {
1205
+ address: string;
1206
+ createdAt: string;
1207
+ destinationChain: {
1208
+ addressFormat: "base58" | "base58check" | "hex";
1209
+ id: string;
1210
+ kind: "evm" | "solana" | "tron";
1211
+ name: string;
1212
+ };
1213
+ destinationToken: {
1214
+ address: string;
1215
+ currency: string;
1216
+ decimals: number;
1217
+ name: string;
1218
+ standard: string;
1219
+ symbol: string;
1220
+ tokenKey: string;
1221
+ verified: boolean;
1222
+ };
1223
+ id: string;
1224
+ provider: {
1225
+ id: string;
1226
+ name: string;
1227
+ };
1228
+ recipient: string;
1229
+ refundAddress: string;
1230
+ sourceChain: {
1231
+ addressFormat: "base58" | "base58check" | "hex";
1232
+ id: string;
1233
+ kind: "evm" | "solana" | "tron";
1234
+ name: string;
1235
+ };
1236
+ sourceToken: {
1237
+ address: string;
1238
+ currency: string;
1239
+ decimals: number;
1240
+ name: string;
1241
+ standard: string;
1242
+ symbol: string;
1243
+ tokenKey: string;
1244
+ verified: boolean;
1245
+ };
1246
+ status: "action-required" | "active";
1247
+ subsidize: boolean;
1248
+ updatedAt: string;
1249
+ destinationAmount: {
1250
+ baseUnits: string;
1251
+ currency: string;
1252
+ decimals: number;
1253
+ formatted: string;
1254
+ };
1255
+ destinationAmountMin?: {
1256
+ baseUnits: string;
1257
+ currency: string;
1258
+ decimals: number;
1259
+ formatted: string;
1260
+ } | undefined;
1261
+ fees: {
1262
+ amount: {
1263
+ baseUnits: string;
1264
+ currency: string;
1265
+ decimals: number;
1266
+ formatted: string;
1267
+ };
1268
+ side: "destination" | "source";
1269
+ token: {
1270
+ address: string;
1271
+ currency: string;
1272
+ decimals: number;
1273
+ name: string;
1274
+ standard: string;
1275
+ symbol: string;
1276
+ tokenKey: string;
1277
+ verified: boolean;
1278
+ };
1279
+ type: "provider";
1280
+ }[];
1281
+ quote: {
1282
+ expiresAt?: string | undefined;
1283
+ sampledAt: string;
1284
+ };
1285
+ sourceAmount: {
1286
+ baseUnits: string;
1287
+ currency: string;
1288
+ decimals: number;
1289
+ formatted: string;
1290
+ };
1291
+ };
1292
+ outputFormat: "json";
1293
+ status: 200;
1294
+ input: {
1295
+ header: {
1296
+ 'idempotency-key': string;
1297
+ };
1298
+ } & {
1299
+ json: {
1300
+ amount: string;
1301
+ destinationToken: string;
1302
+ recipient: string;
1303
+ refundAddress: string;
1304
+ sourceChain: string;
1305
+ sourceToken: string;
1306
+ subsidize?: boolean | undefined;
1307
+ };
1308
+ };
1309
+ };
1310
+ };
1311
+ } & {
1312
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/deposits": {
1313
+ $get: {
1314
+ output: {
1315
+ error: {
1316
+ code: "api_key_malformed";
1317
+ details?: readonly Response.error.Detail[] | undefined;
1318
+ message: string;
1319
+ };
1320
+ requestId: string;
1321
+ };
1322
+ outputFormat: "json";
1323
+ status: 400;
1324
+ input: {
1325
+ param: {
1326
+ id: string;
1327
+ };
1328
+ } & {
1329
+ query?: {
1330
+ cursor?: string | string[];
1331
+ limit?: string | string[];
1332
+ } | undefined;
1333
+ };
1334
+ } | {
1335
+ output: {
1336
+ error: {
1337
+ code: "api_key_invalid" | "api_key_missing";
1338
+ details?: readonly Response.error.Detail[] | undefined;
1339
+ message: string;
1340
+ };
1341
+ requestId: string;
1342
+ };
1343
+ outputFormat: "json";
1344
+ status: 401;
1345
+ input: {
1346
+ param: {
1347
+ id: string;
1348
+ };
1349
+ } & {
1350
+ query?: {
1351
+ cursor?: string | string[];
1352
+ limit?: string | string[];
1353
+ } | undefined;
1354
+ };
1355
+ } | {
1356
+ output: {
1357
+ error: {
1358
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1359
+ details?: readonly Response.error.Detail[] | undefined;
1360
+ message: string;
1361
+ };
1362
+ requestId: string;
1363
+ };
1364
+ outputFormat: "json";
1365
+ status: 403;
1366
+ input: {
1367
+ param: {
1368
+ id: string;
1369
+ };
1370
+ } & {
1371
+ query?: {
1372
+ cursor?: string | string[];
1373
+ limit?: string | string[];
1374
+ } | undefined;
1375
+ };
1376
+ } | {
1377
+ output: {
1378
+ error: {
1379
+ code: "payment_required" | "rate_limit_exceeded";
1380
+ details?: readonly Response.error.Detail[] | undefined;
1381
+ message: string;
1382
+ };
1383
+ requestId: string;
1384
+ };
1385
+ outputFormat: "json";
1386
+ status: 429;
1387
+ input: {
1388
+ param: {
1389
+ id: string;
1390
+ };
1391
+ } & {
1392
+ query?: {
1393
+ cursor?: string | string[];
1394
+ limit?: string | string[];
1395
+ } | undefined;
1396
+ };
1397
+ } | {
1398
+ output: {
1399
+ error: {
1400
+ code: "query_invalid";
1401
+ details?: readonly Response.error.Detail[] | undefined;
1402
+ message: string;
1403
+ };
1404
+ requestId: string;
1405
+ };
1406
+ outputFormat: "json";
1407
+ status: 400;
1408
+ input: {
1409
+ param: {
1410
+ id: string;
1411
+ };
1412
+ } & {
1413
+ query?: {
1414
+ cursor?: string | string[];
1415
+ limit?: string | string[];
1416
+ } | undefined;
1417
+ };
1418
+ } | {
1419
+ output: {
1420
+ error: {
1421
+ code: "upstream_error";
1422
+ details?: readonly Response.error.Detail[] | undefined;
1423
+ message: string;
1424
+ };
1425
+ requestId: string;
1426
+ };
1427
+ outputFormat: "json";
1428
+ status: 502;
1429
+ input: {
1430
+ param: {
1431
+ id: string;
1432
+ };
1433
+ } & {
1434
+ query?: {
1435
+ cursor?: string | string[];
1436
+ limit?: string | string[];
1437
+ } | undefined;
1438
+ };
1439
+ } | {
1440
+ output: {
1441
+ error: {
1442
+ code: "unauthorized";
1443
+ details?: readonly Response.error.Detail[] | undefined;
1444
+ message: string;
1445
+ };
1446
+ requestId: string;
1447
+ };
1448
+ outputFormat: "json";
1449
+ status: 401;
1450
+ input: {
1451
+ param: {
1452
+ id: string;
1453
+ };
1454
+ } & {
1455
+ query?: {
1456
+ cursor?: string | string[];
1457
+ limit?: string | string[];
1458
+ } | undefined;
1459
+ };
1460
+ } | {
1461
+ output: {
1462
+ error: {
1463
+ code: "funding_deposit_address_not_found";
1464
+ details?: readonly Response.error.Detail[] | undefined;
1465
+ message: string;
1466
+ };
1467
+ requestId: string;
1468
+ };
1469
+ outputFormat: "json";
1470
+ status: 404;
1471
+ input: {
1472
+ param: {
1473
+ id: string;
1474
+ };
1475
+ } & {
1476
+ query?: {
1477
+ cursor?: string | string[];
1478
+ limit?: string | string[];
1479
+ } | undefined;
1480
+ };
1481
+ } | {
1482
+ output: {
1483
+ data: {
1484
+ createdAt: string;
1485
+ depositAddressId: string;
1486
+ detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
1487
+ destinationAmount?: {
1488
+ baseUnits: string;
1489
+ currency: string;
1490
+ decimals: number;
1491
+ formatted: string;
1492
+ } | undefined;
1493
+ destinationAmountRequired?: {
1494
+ baseUnits: string;
1495
+ currency: string;
1496
+ decimals: number;
1497
+ formatted: string;
1498
+ } | undefined;
1499
+ destinationChain: {
1500
+ addressFormat: "base58" | "base58check" | "hex";
1501
+ id: string;
1502
+ kind: "evm" | "solana" | "tron";
1503
+ name: string;
1504
+ };
1505
+ destinationToken: {
1506
+ address: string;
1507
+ currency: string;
1508
+ decimals: number;
1509
+ name: string;
1510
+ standard: string;
1511
+ symbol: string;
1512
+ tokenKey: string;
1513
+ verified: boolean;
1514
+ };
1515
+ destinationTransactionHashes?: readonly string[] | undefined;
1516
+ id: string;
1517
+ provider: {
1518
+ id: string;
1519
+ name: string;
1520
+ };
1521
+ recipient: string;
1522
+ refundAddress: string;
1523
+ refundAmount?: {
1524
+ baseUnits: string;
1525
+ currency: string;
1526
+ decimals: number;
1527
+ formatted: string;
1528
+ } | undefined;
1529
+ refundTransactionHashes?: readonly string[] | undefined;
1530
+ sender?: string | undefined;
1531
+ sourceAmount?: {
1532
+ baseUnits: string;
1533
+ currency: string;
1534
+ decimals: number;
1535
+ formatted: string;
1536
+ } | undefined;
1537
+ sourceChain: {
1538
+ addressFormat: "base58" | "base58check" | "hex";
1539
+ id: string;
1540
+ kind: "evm" | "solana" | "tron";
1541
+ name: string;
1542
+ };
1543
+ sourceToken: {
1544
+ address: string;
1545
+ currency: string;
1546
+ decimals: number;
1547
+ name: string;
1548
+ standard: string;
1549
+ symbol: string;
1550
+ tokenKey: string;
1551
+ verified: boolean;
1552
+ };
1553
+ sourceTransactionHashes: readonly string[];
1554
+ sourceTransferIndex?: number | undefined;
1555
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
1556
+ statusReason?: {
1557
+ code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
1558
+ message: string;
1559
+ } | undefined;
1560
+ updatedAt: string;
1561
+ }[];
1562
+ nextCursor: string | null;
1563
+ };
1564
+ outputFormat: "json";
1565
+ status: 200;
1566
+ input: {
1567
+ param: {
1568
+ id: string;
1569
+ };
1570
+ } & {
1571
+ query?: {
1572
+ cursor?: string | string[];
1573
+ limit?: string | string[];
1574
+ } | undefined;
1575
+ };
1576
+ };
1577
+ };
1578
+ } & {
1579
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
1580
+ $get: {
1581
+ output: {
1582
+ error: {
1583
+ code: "api_key_malformed";
1584
+ details?: readonly Response.error.Detail[] | undefined;
1585
+ message: string;
1586
+ };
1587
+ requestId: string;
1588
+ };
1589
+ outputFormat: "json";
1590
+ status: 400;
1591
+ input: {
1592
+ param: {
1593
+ id: string;
1594
+ };
1595
+ };
1596
+ } | {
1597
+ output: {
1598
+ error: {
1599
+ code: "api_key_invalid" | "api_key_missing";
1600
+ details?: readonly Response.error.Detail[] | undefined;
1601
+ message: string;
1602
+ };
1603
+ requestId: string;
1604
+ };
1605
+ outputFormat: "json";
1606
+ status: 401;
1607
+ input: {
1608
+ param: {
1609
+ id: string;
1610
+ };
1611
+ };
1612
+ } | {
1613
+ output: {
1614
+ error: {
1615
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1616
+ details?: readonly Response.error.Detail[] | undefined;
1617
+ message: string;
1618
+ };
1619
+ requestId: string;
1620
+ };
1621
+ outputFormat: "json";
1622
+ status: 403;
1623
+ input: {
1624
+ param: {
1625
+ id: string;
1626
+ };
1627
+ };
1628
+ } | {
1629
+ output: {
1630
+ error: {
1631
+ code: "payment_required" | "rate_limit_exceeded";
1632
+ details?: readonly Response.error.Detail[] | undefined;
1633
+ message: string;
1634
+ };
1635
+ requestId: string;
1636
+ };
1637
+ outputFormat: "json";
1638
+ status: 429;
1639
+ input: {
1640
+ param: {
1641
+ id: string;
1642
+ };
1643
+ };
1644
+ } | {
1645
+ output: {
1646
+ error: {
1647
+ code: "upstream_error";
1648
+ details?: readonly Response.error.Detail[] | undefined;
1649
+ message: string;
1650
+ };
1651
+ requestId: string;
1652
+ };
1653
+ outputFormat: "json";
1654
+ status: 502;
1655
+ input: {
1656
+ param: {
1657
+ id: string;
1658
+ };
1659
+ };
1660
+ } | {
1661
+ output: {
1662
+ error: {
1663
+ code: "unauthorized";
1664
+ details?: readonly Response.error.Detail[] | undefined;
1665
+ message: string;
1666
+ };
1667
+ requestId: string;
1668
+ };
1669
+ outputFormat: "json";
1670
+ status: 401;
1671
+ input: {
1672
+ param: {
1673
+ id: string;
1674
+ };
1675
+ };
1676
+ } | {
1677
+ output: {
1678
+ address: string;
1679
+ createdAt: string;
1680
+ destinationChain: {
1681
+ addressFormat: "base58" | "base58check" | "hex";
1682
+ id: string;
1683
+ kind: "evm" | "solana" | "tron";
1684
+ name: string;
1685
+ };
1686
+ destinationToken: {
1687
+ address: string;
1688
+ currency: string;
1689
+ decimals: number;
1690
+ name: string;
1691
+ standard: string;
1692
+ symbol: string;
1693
+ tokenKey: string;
1694
+ verified: boolean;
1695
+ };
1696
+ id: string;
1697
+ provider: {
1698
+ id: string;
1699
+ name: string;
1700
+ };
1701
+ recipient: string;
1702
+ refundAddress: string;
1703
+ sourceChain: {
1704
+ addressFormat: "base58" | "base58check" | "hex";
1705
+ id: string;
1706
+ kind: "evm" | "solana" | "tron";
1707
+ name: string;
1708
+ };
1709
+ sourceToken: {
1710
+ address: string;
1711
+ currency: string;
1712
+ decimals: number;
1713
+ name: string;
1714
+ standard: string;
1715
+ symbol: string;
1716
+ tokenKey: string;
1717
+ verified: boolean;
1718
+ };
1719
+ status: "action-required" | "active";
1720
+ subsidize: boolean;
1721
+ updatedAt: string;
1722
+ };
1723
+ outputFormat: "json";
1724
+ status: 200;
1725
+ input: {
1726
+ param: {
1727
+ id: string;
1728
+ };
1729
+ };
1730
+ } | {
1731
+ output: {
1732
+ error: {
1733
+ code: "funding_deposit_address_not_found";
1734
+ details?: readonly Response.error.Detail[] | undefined;
1735
+ message: string;
1736
+ };
1737
+ requestId: string;
1738
+ };
1739
+ outputFormat: "json";
1740
+ status: 404;
1741
+ input: {
1742
+ param: {
1743
+ id: string;
1744
+ };
1745
+ };
1746
+ } | {
1747
+ output: {
1748
+ error: {
1749
+ code: "param_invalid";
1750
+ details?: readonly Response.error.Detail[] | undefined;
1751
+ message: string;
1752
+ };
1753
+ requestId: string;
1754
+ };
1755
+ outputFormat: "json";
1756
+ status: 400;
1757
+ input: {
1758
+ param: {
1759
+ id: string;
1760
+ };
1761
+ };
1762
+ };
1763
+ };
1764
+ } & {
1765
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/reconcile": {
1766
+ $post: {
1767
+ output: null;
1768
+ outputFormat: "body";
1769
+ status: 202;
1770
+ input: {
1771
+ param: {
1772
+ id: string;
1773
+ };
1774
+ };
1775
+ } | {
1776
+ output: {
1777
+ error: {
1778
+ code: "api_key_malformed";
1779
+ details?: readonly Response.error.Detail[] | undefined;
1780
+ message: string;
1781
+ };
1782
+ requestId: string;
1783
+ };
1784
+ outputFormat: "json";
1785
+ status: 400;
1786
+ input: {
1787
+ param: {
1788
+ id: string;
1789
+ };
1790
+ };
1791
+ } | {
1792
+ output: {
1793
+ error: {
1794
+ code: "api_key_invalid" | "api_key_missing";
1795
+ details?: readonly Response.error.Detail[] | undefined;
1796
+ message: string;
1797
+ };
1798
+ requestId: string;
1799
+ };
1800
+ outputFormat: "json";
1801
+ status: 401;
1802
+ input: {
1803
+ param: {
1804
+ id: string;
1805
+ };
1806
+ };
1807
+ } | {
1808
+ output: {
1809
+ error: {
1810
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1811
+ details?: readonly Response.error.Detail[] | undefined;
1812
+ message: string;
1813
+ };
1814
+ requestId: string;
1815
+ };
1816
+ outputFormat: "json";
1817
+ status: 403;
1818
+ input: {
1819
+ param: {
1820
+ id: string;
1821
+ };
1822
+ };
1823
+ } | {
1824
+ output: {
1825
+ error: {
1826
+ code: "payment_required" | "rate_limit_exceeded";
1827
+ details?: readonly Response.error.Detail[] | undefined;
1828
+ message: string;
1829
+ };
1830
+ requestId: string;
1831
+ };
1832
+ outputFormat: "json";
1833
+ status: 429;
1834
+ input: {
1835
+ param: {
1836
+ id: string;
1837
+ };
1838
+ };
1839
+ } | {
1840
+ output: {
1841
+ error: {
1842
+ code: "upstream_error";
1843
+ details?: readonly Response.error.Detail[] | undefined;
1844
+ message: string;
1845
+ };
1846
+ requestId: string;
1847
+ };
1848
+ outputFormat: "json";
1849
+ status: 502;
1850
+ input: {
1851
+ param: {
1852
+ id: string;
1853
+ };
1854
+ };
1855
+ } | {
1856
+ output: {
1857
+ error: {
1858
+ code: "unauthorized";
1859
+ details?: readonly Response.error.Detail[] | undefined;
1860
+ message: string;
1861
+ };
1862
+ requestId: string;
1863
+ };
1864
+ outputFormat: "json";
1865
+ status: 401;
1866
+ input: {
1867
+ param: {
1868
+ id: string;
1869
+ };
1870
+ };
1871
+ } | {
1872
+ output: {
1873
+ error: {
1874
+ code: "funding_deposit_address_not_found";
1875
+ details?: readonly Response.error.Detail[] | undefined;
1876
+ message: string;
1877
+ };
1878
+ requestId: string;
1879
+ };
1880
+ outputFormat: "json";
1881
+ status: 404;
1882
+ input: {
1883
+ param: {
1884
+ id: string;
1885
+ };
1886
+ };
1887
+ } | {
1888
+ output: {
1889
+ error: {
1890
+ code: "param_invalid";
1891
+ details?: readonly Response.error.Detail[] | undefined;
1892
+ message: string;
1893
+ };
1894
+ requestId: string;
1895
+ };
1896
+ outputFormat: "json";
1897
+ status: 400;
1898
+ input: {
1899
+ param: {
1900
+ id: string;
1901
+ };
1902
+ };
1903
+ } | {
1904
+ output: {
1905
+ error: {
1906
+ code: "funding_deposit_address_not_active";
1907
+ details?: readonly Response.error.Detail[] | undefined;
1908
+ message: string;
1909
+ };
1910
+ requestId: string;
1911
+ };
1912
+ outputFormat: "json";
1913
+ status: 409;
1914
+ input: {
1915
+ param: {
1916
+ id: string;
1917
+ };
1918
+ };
1919
+ } | {
1920
+ output: {
1921
+ error: {
1922
+ code: "not_implemented";
1923
+ details?: readonly Response.error.Detail[] | undefined;
1924
+ message: string;
1925
+ };
1926
+ requestId: string;
1927
+ };
1928
+ outputFormat: "json";
1929
+ status: 501;
1930
+ input: {
1931
+ param: {
1932
+ id: string;
1933
+ };
1934
+ };
1935
+ };
1936
+ };
1937
+ } & {
1938
+ "/v1/funding/deposits": {
1939
+ $get: {
1940
+ output: {
1941
+ error: {
1942
+ code: "api_key_malformed";
1943
+ details?: readonly Response.error.Detail[] | undefined;
1944
+ message: string;
1945
+ };
1946
+ requestId: string;
1947
+ };
1948
+ outputFormat: "json";
1949
+ status: 400;
1950
+ input: {
1951
+ query: {
1952
+ cursor?: string | string[];
1953
+ limit?: string | string[];
1954
+ recipient: string | string[];
1955
+ };
1956
+ };
1957
+ } | {
1958
+ output: {
1959
+ error: {
1960
+ code: "api_key_invalid" | "api_key_missing";
1961
+ details?: readonly Response.error.Detail[] | undefined;
1962
+ message: string;
1963
+ };
1964
+ requestId: string;
1965
+ };
1966
+ outputFormat: "json";
1967
+ status: 401;
1968
+ input: {
1969
+ query: {
1970
+ cursor?: string | string[];
1971
+ limit?: string | string[];
1972
+ recipient: string | string[];
1973
+ };
1974
+ };
1975
+ } | {
1976
+ output: {
1977
+ error: {
1978
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1979
+ details?: readonly Response.error.Detail[] | undefined;
1980
+ message: string;
1981
+ };
1982
+ requestId: string;
1983
+ };
1984
+ outputFormat: "json";
1985
+ status: 403;
1986
+ input: {
1987
+ query: {
1988
+ cursor?: string | string[];
1989
+ limit?: string | string[];
1990
+ recipient: string | string[];
1991
+ };
1992
+ };
1993
+ } | {
1994
+ output: {
1995
+ error: {
1996
+ code: "payment_required" | "rate_limit_exceeded";
1997
+ details?: readonly Response.error.Detail[] | undefined;
1998
+ message: string;
1999
+ };
2000
+ requestId: string;
2001
+ };
2002
+ outputFormat: "json";
2003
+ status: 429;
2004
+ input: {
2005
+ query: {
2006
+ cursor?: string | string[];
2007
+ limit?: string | string[];
2008
+ recipient: string | string[];
2009
+ };
2010
+ };
2011
+ } | {
2012
+ output: {
2013
+ error: {
2014
+ code: "query_invalid";
2015
+ details?: readonly Response.error.Detail[] | undefined;
2016
+ message: string;
2017
+ };
2018
+ requestId: string;
2019
+ };
2020
+ outputFormat: "json";
2021
+ status: 400;
2022
+ input: {
2023
+ query: {
2024
+ cursor?: string | string[];
2025
+ limit?: string | string[];
2026
+ recipient: string | string[];
2027
+ };
2028
+ };
2029
+ } | {
2030
+ output: {
2031
+ error: {
2032
+ code: "upstream_error";
2033
+ details?: readonly Response.error.Detail[] | undefined;
2034
+ message: string;
2035
+ };
2036
+ requestId: string;
2037
+ };
2038
+ outputFormat: "json";
2039
+ status: 502;
2040
+ input: {
2041
+ query: {
2042
+ cursor?: string | string[];
2043
+ limit?: string | string[];
2044
+ recipient: string | string[];
2045
+ };
2046
+ };
2047
+ } | {
2048
+ output: {
2049
+ error: {
2050
+ code: "unauthorized";
2051
+ details?: readonly Response.error.Detail[] | undefined;
2052
+ message: string;
2053
+ };
2054
+ requestId: string;
2055
+ };
2056
+ outputFormat: "json";
2057
+ status: 401;
2058
+ input: {
2059
+ query: {
2060
+ cursor?: string | string[];
2061
+ limit?: string | string[];
2062
+ recipient: string | string[];
2063
+ };
2064
+ };
2065
+ } | {
2066
+ output: {
2067
+ data: {
2068
+ createdAt: string;
2069
+ depositAddressId: string;
2070
+ detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
2071
+ destinationAmount?: {
2072
+ baseUnits: string;
2073
+ currency: string;
2074
+ decimals: number;
2075
+ formatted: string;
2076
+ } | undefined;
2077
+ destinationAmountRequired?: {
2078
+ baseUnits: string;
2079
+ currency: string;
2080
+ decimals: number;
2081
+ formatted: string;
2082
+ } | undefined;
2083
+ destinationChain: {
2084
+ addressFormat: "base58" | "base58check" | "hex";
2085
+ id: string;
2086
+ kind: "evm" | "solana" | "tron";
2087
+ name: string;
2088
+ };
2089
+ destinationToken: {
2090
+ address: string;
2091
+ currency: string;
2092
+ decimals: number;
2093
+ name: string;
2094
+ standard: string;
2095
+ symbol: string;
2096
+ tokenKey: string;
2097
+ verified: boolean;
2098
+ };
2099
+ destinationTransactionHashes?: readonly string[] | undefined;
2100
+ id: string;
2101
+ provider: {
2102
+ id: string;
2103
+ name: string;
2104
+ };
2105
+ recipient: string;
2106
+ refundAddress: string;
2107
+ refundAmount?: {
2108
+ baseUnits: string;
2109
+ currency: string;
2110
+ decimals: number;
2111
+ formatted: string;
2112
+ } | undefined;
2113
+ refundTransactionHashes?: readonly string[] | undefined;
2114
+ sender?: string | undefined;
2115
+ sourceAmount?: {
2116
+ baseUnits: string;
2117
+ currency: string;
2118
+ decimals: number;
2119
+ formatted: string;
2120
+ } | undefined;
2121
+ sourceChain: {
2122
+ addressFormat: "base58" | "base58check" | "hex";
2123
+ id: string;
2124
+ kind: "evm" | "solana" | "tron";
2125
+ name: string;
2126
+ };
2127
+ sourceToken: {
2128
+ address: string;
2129
+ currency: string;
2130
+ decimals: number;
2131
+ name: string;
2132
+ standard: string;
2133
+ symbol: string;
2134
+ tokenKey: string;
2135
+ verified: boolean;
2136
+ };
2137
+ sourceTransactionHashes: readonly string[];
2138
+ sourceTransferIndex?: number | undefined;
2139
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
2140
+ statusReason?: {
2141
+ code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
2142
+ message: string;
2143
+ } | undefined;
2144
+ updatedAt: string;
2145
+ }[];
2146
+ nextCursor: string | null;
2147
+ };
2148
+ outputFormat: "json";
2149
+ status: 200;
2150
+ input: {
2151
+ query: {
2152
+ cursor?: string | string[];
2153
+ limit?: string | string[];
2154
+ recipient: string | string[];
2155
+ };
2156
+ };
2157
+ };
2158
+ };
2159
+ } & {
2160
+ "/v1/funding/deposits/:id{fdp_[A-Za-z0-9_-]+}": {
2161
+ $get: {
2162
+ output: {
2163
+ error: {
2164
+ code: "api_key_malformed";
2165
+ details?: readonly Response.error.Detail[] | undefined;
2166
+ message: string;
2167
+ };
2168
+ requestId: string;
2169
+ };
2170
+ outputFormat: "json";
2171
+ status: 400;
2172
+ input: {
2173
+ param: {
2174
+ id: string;
2175
+ };
2176
+ };
2177
+ } | {
2178
+ output: {
2179
+ error: {
2180
+ code: "api_key_invalid" | "api_key_missing";
2181
+ details?: readonly Response.error.Detail[] | undefined;
2182
+ message: string;
2183
+ };
2184
+ requestId: string;
2185
+ };
2186
+ outputFormat: "json";
2187
+ status: 401;
2188
+ input: {
2189
+ param: {
2190
+ id: string;
2191
+ };
2192
+ };
2193
+ } | {
2194
+ output: {
2195
+ error: {
2196
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2197
+ details?: readonly Response.error.Detail[] | undefined;
2198
+ message: string;
2199
+ };
2200
+ requestId: string;
2201
+ };
2202
+ outputFormat: "json";
2203
+ status: 403;
2204
+ input: {
2205
+ param: {
2206
+ id: string;
2207
+ };
2208
+ };
2209
+ } | {
2210
+ output: {
2211
+ error: {
2212
+ code: "payment_required" | "rate_limit_exceeded";
2213
+ details?: readonly Response.error.Detail[] | undefined;
2214
+ message: string;
2215
+ };
2216
+ requestId: string;
2217
+ };
2218
+ outputFormat: "json";
2219
+ status: 429;
2220
+ input: {
2221
+ param: {
2222
+ id: string;
2223
+ };
2224
+ };
2225
+ } | {
2226
+ output: {
2227
+ error: {
2228
+ code: "upstream_error";
2229
+ details?: readonly Response.error.Detail[] | undefined;
2230
+ message: string;
2231
+ };
2232
+ requestId: string;
2233
+ };
2234
+ outputFormat: "json";
2235
+ status: 502;
2236
+ input: {
2237
+ param: {
2238
+ id: string;
2239
+ };
2240
+ };
2241
+ } | {
2242
+ output: {
2243
+ error: {
2244
+ code: "unauthorized";
2245
+ details?: readonly Response.error.Detail[] | undefined;
2246
+ message: string;
2247
+ };
2248
+ requestId: string;
2249
+ };
2250
+ outputFormat: "json";
2251
+ status: 401;
2252
+ input: {
2253
+ param: {
2254
+ id: string;
2255
+ };
2256
+ };
2257
+ } | {
2258
+ output: {
2259
+ error: {
2260
+ code: "param_invalid";
2261
+ details?: readonly Response.error.Detail[] | undefined;
2262
+ message: string;
2263
+ };
2264
+ requestId: string;
2265
+ };
2266
+ outputFormat: "json";
2267
+ status: 400;
2268
+ input: {
2269
+ param: {
2270
+ id: string;
2271
+ };
2272
+ };
2273
+ } | {
2274
+ output: {
2275
+ error: {
2276
+ code: "funding_deposit_not_found";
2277
+ details?: readonly Response.error.Detail[] | undefined;
2278
+ message: string;
2279
+ };
2280
+ requestId: string;
2281
+ };
2282
+ outputFormat: "json";
2283
+ status: 404;
2284
+ input: {
2285
+ param: {
2286
+ id: string;
2287
+ };
2288
+ };
2289
+ } | {
2290
+ output: {
2291
+ createdAt: string;
2292
+ depositAddressId: string;
2293
+ detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
2294
+ destinationAmount?: {
2295
+ baseUnits: string;
2296
+ currency: string;
2297
+ decimals: number;
2298
+ formatted: string;
2299
+ } | undefined;
2300
+ destinationAmountRequired?: {
2301
+ baseUnits: string;
2302
+ currency: string;
2303
+ decimals: number;
2304
+ formatted: string;
2305
+ } | undefined;
2306
+ destinationChain: {
2307
+ addressFormat: "base58" | "base58check" | "hex";
2308
+ id: string;
2309
+ kind: "evm" | "solana" | "tron";
2310
+ name: string;
2311
+ };
2312
+ destinationToken: {
2313
+ address: string;
2314
+ currency: string;
2315
+ decimals: number;
2316
+ name: string;
2317
+ standard: string;
2318
+ symbol: string;
2319
+ tokenKey: string;
2320
+ verified: boolean;
2321
+ };
2322
+ destinationTransactionHashes?: readonly string[] | undefined;
2323
+ id: string;
2324
+ provider: {
2325
+ id: string;
2326
+ name: string;
2327
+ };
2328
+ recipient: string;
2329
+ refundAddress: string;
2330
+ refundAmount?: {
2331
+ baseUnits: string;
2332
+ currency: string;
2333
+ decimals: number;
2334
+ formatted: string;
2335
+ } | undefined;
2336
+ refundTransactionHashes?: readonly string[] | undefined;
2337
+ sender?: string | undefined;
2338
+ sourceAmount?: {
2339
+ baseUnits: string;
2340
+ currency: string;
2341
+ decimals: number;
2342
+ formatted: string;
2343
+ } | undefined;
2344
+ sourceChain: {
2345
+ addressFormat: "base58" | "base58check" | "hex";
2346
+ id: string;
2347
+ kind: "evm" | "solana" | "tron";
2348
+ name: string;
2349
+ };
2350
+ sourceToken: {
2351
+ address: string;
2352
+ currency: string;
2353
+ decimals: number;
2354
+ name: string;
2355
+ standard: string;
2356
+ symbol: string;
2357
+ tokenKey: string;
2358
+ verified: boolean;
2359
+ };
2360
+ sourceTransactionHashes: readonly string[];
2361
+ sourceTransferIndex?: number | undefined;
2362
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
2363
+ statusReason?: {
2364
+ code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
2365
+ message: string;
2366
+ } | undefined;
2367
+ updatedAt: string;
2368
+ };
2369
+ outputFormat: "json";
2370
+ status: 200;
2371
+ input: {
2372
+ param: {
2373
+ id: string;
2374
+ };
2375
+ };
2376
+ };
2377
+ };
2378
+ }, "/", "/v1/funding/deposits/:id{fdp_[A-Za-z0-9_-]+}">;
2379
+ export declare namespace depositAddresses {
2380
+ /** Deposit-address route dependencies. */
2381
+ type Options = {
2382
+ /** Enqueues one deposit address for asynchronous reconciliation. */
2383
+ dispatchReconciliation?: ((message: FundingProvider.Webhook.receive.Dispatchable) => Promise<void>) | undefined;
2384
+ /** Registers a created address with a source-chain observer. */
2385
+ registerDepositAddress?: ((address: FundingDepositAddress.Public) => Promise<void>) | undefined;
2386
+ };
2387
+ }
2388
+ //# sourceMappingURL=deposit-addresses.d.ts.map