tapimo 0.13.0 → 0.14.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 (230) hide show
  1. package/dist/App.d.ts +6064 -4829
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +1 -0
  4. package/dist/App.js.map +1 -1
  5. package/dist/Webhooks.js +2 -2
  6. package/dist/Webhooks.js.map +1 -1
  7. package/dist/admin/App.d.ts +1008 -917
  8. package/dist/admin/App.d.ts.map +1 -1
  9. package/dist/admin/apps/earn-vaults.d.ts +48 -0
  10. package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
  11. package/dist/admin/apps/earn-vaults.js +2 -1
  12. package/dist/admin/apps/earn-vaults.js.map +1 -1
  13. package/dist/admin/apps/organizations.d.ts +92 -3
  14. package/dist/admin/apps/organizations.d.ts.map +1 -1
  15. package/dist/admin/apps/organizations.js +69 -7
  16. package/dist/admin/apps/organizations.js.map +1 -1
  17. package/dist/admin/apps/verified-tokens.d.ts +74 -74
  18. package/dist/admin/ui.generated.d.ts +1 -1
  19. package/dist/admin/ui.generated.js +69 -69
  20. package/dist/admin/ui.generated.js.map +1 -1
  21. package/dist/apps/Zones.d.ts +12 -12
  22. package/dist/apps/Zones.js +3 -3
  23. package/dist/apps/data/App.d.ts +2909 -2523
  24. package/dist/apps/data/App.d.ts.map +1 -1
  25. package/dist/apps/data/App.js +11 -6
  26. package/dist/apps/data/App.js.map +1 -1
  27. package/dist/apps/data/routes/addresses.d.ts +22 -22
  28. package/dist/apps/data/routes/earn.d.ts +183 -7
  29. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  30. package/dist/apps/data/routes/earn.js +434 -75
  31. package/dist/apps/data/routes/earn.js.map +1 -1
  32. package/dist/apps/data/routes/exchanges.d.ts +15 -0
  33. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  34. package/dist/apps/data/routes/exchanges.js +180 -114
  35. package/dist/apps/data/routes/exchanges.js.map +1 -1
  36. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  37. package/dist/apps/data/routes/fee-amm.js +18 -19
  38. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  39. package/dist/apps/data/routes/tokens.d.ts +93 -93
  40. package/dist/apps/data/routes/transfers.d.ts +12 -12
  41. package/dist/apps/data/routes/valuation.d.ts +30 -30
  42. package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
  43. package/dist/apps/data/routes/webhooks.d.ts +805 -102
  44. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  45. package/dist/apps/data/routes/webhooks.js +47 -5
  46. package/dist/apps/data/routes/webhooks.js.map +1 -1
  47. package/dist/apps/funding/App.d.ts +456 -45
  48. package/dist/apps/funding/App.d.ts.map +1 -1
  49. package/dist/apps/funding/App.js +1 -1
  50. package/dist/apps/funding/App.js.map +1 -1
  51. package/dist/apps/funding/routes/deposit-addresses.d.ts +17 -17
  52. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
  53. package/dist/apps/funding/routes/deposit-addresses.js +1 -1
  54. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  55. package/dist/apps/funding/routes/transfers.d.ts +654 -73
  56. package/dist/apps/funding/routes/transfers.d.ts.map +1 -1
  57. package/dist/apps/funding/routes/transfers.js +211 -5
  58. package/dist/apps/funding/routes/transfers.js.map +1 -1
  59. package/dist/apps/management/App.d.ts +831 -387
  60. package/dist/apps/management/App.d.ts.map +1 -1
  61. package/dist/apps/management/Billing.d.ts +1 -1
  62. package/dist/apps/management/Billing.d.ts.map +1 -1
  63. package/dist/apps/management/Billing.js +17 -1
  64. package/dist/apps/management/Billing.js.map +1 -1
  65. package/dist/apps/management/routes/api-keys.d.ts +76 -76
  66. package/dist/apps/management/routes/billing.d.ts +76 -76
  67. package/dist/apps/management/routes/faucet.d.ts +12 -12
  68. package/dist/apps/management/routes/invitations.d.ts +24 -24
  69. package/dist/apps/management/routes/invite-links.d.ts +46 -46
  70. package/dist/apps/management/routes/members.d.ts +46 -46
  71. package/dist/apps/management/routes/orgs.d.ts +20 -20
  72. package/dist/apps/management/routes/projects.d.ts +44 -44
  73. package/dist/apps/management/routes/usage.d.ts +32 -32
  74. package/dist/apps/management/routes/verified-token-requests.d.ts +16 -16
  75. package/dist/apps/management/routes/webhooks.d.ts +707 -57
  76. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  77. package/dist/apps/management/routes/webhooks.js +21 -21
  78. package/dist/apps/management/routes/webhooks.js.map +1 -1
  79. package/dist/apps/relay/App.d.ts.map +1 -1
  80. package/dist/apps/relay/App.js +115 -23
  81. package/dist/apps/relay/App.js.map +1 -1
  82. package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
  83. package/dist/apps/relay/Sponsorships.js +27 -1
  84. package/dist/apps/relay/Sponsorships.js.map +1 -1
  85. package/dist/db/Db.d.ts.map +1 -1
  86. package/dist/db/Db.js +22 -0
  87. package/dist/db/Db.js.map +1 -1
  88. package/dist/db/Schema.d.ts +8 -3
  89. package/dist/db/Schema.d.ts.map +1 -1
  90. package/dist/db/Schema.js +16 -1
  91. package/dist/db/Schema.js.map +1 -1
  92. package/dist/db/tables/fundingTransferTransactions.d.ts +38 -0
  93. package/dist/db/tables/fundingTransferTransactions.d.ts.map +1 -1
  94. package/dist/db/tables/fundingTransferTransactions.js +44 -3
  95. package/dist/db/tables/fundingTransferTransactions.js.map +1 -1
  96. package/dist/db/tables/fundingTransfers.d.ts +17 -0
  97. package/dist/db/tables/fundingTransfers.d.ts.map +1 -1
  98. package/dist/db/tables/fundingTransfers.js +21 -0
  99. package/dist/db/tables/fundingTransfers.js.map +1 -1
  100. package/dist/db/tables/organizations.d.ts +24 -0
  101. package/dist/db/tables/organizations.d.ts.map +1 -1
  102. package/dist/db/tables/organizations.js +27 -0
  103. package/dist/db/tables/organizations.js.map +1 -1
  104. package/dist/db/tables/projects.d.ts +25 -1
  105. package/dist/db/tables/projects.d.ts.map +1 -1
  106. package/dist/db/tables/projects.js +26 -0
  107. package/dist/db/tables/projects.js.map +1 -1
  108. package/dist/db/tables/sponsoredTransactions.d.ts +44 -0
  109. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  110. package/dist/db/tables/sponsoredTransactions.js +146 -13
  111. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  112. package/dist/db/tables/webhookSubscriptions.d.ts +10 -6
  113. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  114. package/dist/db/tables/webhookSubscriptions.js +9 -6
  115. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  116. package/dist/internal/EarnVaults.js +5 -5
  117. package/dist/internal/EarnVaults.js.map +1 -1
  118. package/dist/internal/Log.d.ts +1 -1
  119. package/dist/internal/Log.d.ts.map +1 -1
  120. package/dist/internal/Log.js.map +1 -1
  121. package/dist/internal/Viem.d.ts +16 -1
  122. package/dist/internal/Viem.d.ts.map +1 -1
  123. package/dist/internal/Viem.js +12 -2
  124. package/dist/internal/Viem.js.map +1 -1
  125. package/dist/internal/funding/DepositWebhook.d.ts.map +1 -1
  126. package/dist/internal/funding/DepositWebhook.js +2 -1
  127. package/dist/internal/funding/DepositWebhook.js.map +1 -1
  128. package/dist/internal/funding/Evidence.d.ts.map +1 -1
  129. package/dist/internal/funding/Evidence.js +2 -10
  130. package/dist/internal/funding/Evidence.js.map +1 -1
  131. package/dist/internal/funding/Provider.d.ts +40 -0
  132. package/dist/internal/funding/Provider.d.ts.map +1 -1
  133. package/dist/internal/funding/Provider.js +5 -0
  134. package/dist/internal/funding/Provider.js.map +1 -1
  135. package/dist/internal/funding/SourceObservation.d.ts.map +1 -1
  136. package/dist/internal/funding/SourceObservation.js +5 -7
  137. package/dist/internal/funding/SourceObservation.js.map +1 -1
  138. package/dist/internal/funding/Transfer.d.ts +101 -6
  139. package/dist/internal/funding/Transfer.d.ts.map +1 -1
  140. package/dist/internal/funding/Transfer.js +162 -34
  141. package/dist/internal/funding/Transfer.js.map +1 -1
  142. package/dist/internal/funding/TransferReconciliation.d.ts +52 -0
  143. package/dist/internal/funding/TransferReconciliation.d.ts.map +1 -0
  144. package/dist/internal/funding/TransferReconciliation.js +192 -0
  145. package/dist/internal/funding/TransferReconciliation.js.map +1 -0
  146. package/dist/internal/funding/TransferWebhook.d.ts +21 -0
  147. package/dist/internal/funding/TransferWebhook.d.ts.map +1 -0
  148. package/dist/internal/funding/TransferWebhook.js +43 -0
  149. package/dist/internal/funding/TransferWebhook.js.map +1 -0
  150. package/dist/internal/funding/index.d.ts +1 -0
  151. package/dist/internal/funding/index.d.ts.map +1 -1
  152. package/dist/internal/funding/index.js +1 -0
  153. package/dist/internal/funding/index.js.map +1 -1
  154. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  155. package/dist/internal/funding/providers/relay.js +3 -12
  156. package/dist/internal/funding/providers/relay.js.map +1 -1
  157. package/dist/internal/funding/providers/stargate.d.ts +99 -0
  158. package/dist/internal/funding/providers/stargate.d.ts.map +1 -1
  159. package/dist/internal/funding/providers/stargate.js +337 -35
  160. package/dist/internal/funding/providers/stargate.js.map +1 -1
  161. package/dist/internal/webhookDestinations/slack.d.ts.map +1 -1
  162. package/dist/internal/webhookDestinations/slack.js +16 -0
  163. package/dist/internal/webhookDestinations/slack.js.map +1 -1
  164. package/package.json +1 -1
  165. package/src/App.ts +1 -0
  166. package/src/Client.test-d.ts +83 -2
  167. package/src/Webhooks.ts +2 -2
  168. package/src/admin/apps/earn-vaults.ts +2 -1
  169. package/src/admin/apps/organizations.test.ts +53 -1
  170. package/src/admin/apps/organizations.ts +90 -5
  171. package/src/admin/ui/src/lib/organizations.test.ts +112 -1
  172. package/src/admin/ui/src/lib/organizations.ts +55 -0
  173. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +116 -0
  174. package/src/admin/ui.generated.ts +69 -69
  175. package/src/apps/Zones.test.ts +3 -3
  176. package/src/apps/Zones.ts +3 -3
  177. package/src/apps/composition.test.ts +1 -0
  178. package/src/apps/data/App.ts +15 -6
  179. package/src/apps/data/routes/earn.test.ts +369 -14
  180. package/src/apps/data/routes/earn.ts +548 -79
  181. package/src/apps/data/routes/exchanges.test.ts +740 -15
  182. package/src/apps/data/routes/exchanges.ts +954 -753
  183. package/src/apps/data/routes/fee-amm.ts +17 -18
  184. package/src/apps/data/routes/webhooks.test.ts +21 -5
  185. package/src/apps/data/routes/webhooks.ts +63 -8
  186. package/src/apps/funding/App.ts +12 -2
  187. package/src/apps/funding/routes/deposit-addresses.test.ts +4 -4
  188. package/src/apps/funding/routes/deposit-addresses.ts +2 -2
  189. package/src/apps/funding/routes/transfers.test.ts +510 -19
  190. package/src/apps/funding/routes/transfers.ts +271 -5
  191. package/src/apps/management/Billing.ts +18 -5
  192. package/src/apps/management/routes/webhooks.test.ts +3 -3
  193. package/src/apps/management/routes/webhooks.ts +24 -25
  194. package/src/apps/relay/App.test.ts +212 -1
  195. package/src/apps/relay/App.ts +158 -29
  196. package/src/apps/relay/Sponsorships.ts +24 -1
  197. package/src/db/Db.ts +35 -0
  198. package/src/db/Schema.ts +17 -2
  199. package/src/db/tables/fundingTransferTransactions.test.ts +43 -0
  200. package/src/db/tables/fundingTransferTransactions.ts +79 -3
  201. package/src/db/tables/fundingTransfers.test.ts +26 -0
  202. package/src/db/tables/fundingTransfers.ts +36 -0
  203. package/src/db/tables/organizations.test.ts +41 -0
  204. package/src/db/tables/organizations.ts +49 -0
  205. package/src/db/tables/projects.test.ts +55 -0
  206. package/src/db/tables/projects.ts +46 -1
  207. package/src/db/tables/sponsoredTransactions.test.ts +338 -0
  208. package/src/db/tables/sponsoredTransactions.ts +197 -13
  209. package/src/db/tables/webhookSubscriptions.ts +18 -11
  210. package/src/internal/EarnVaults.ts +5 -5
  211. package/src/internal/Log.test-d.ts +2 -0
  212. package/src/internal/Log.ts +2 -0
  213. package/src/internal/Viem.ts +39 -3
  214. package/src/internal/Webhooks.test.ts +45 -0
  215. package/src/internal/funding/DepositWebhook.ts +2 -1
  216. package/src/internal/funding/Evidence.ts +2 -13
  217. package/src/internal/funding/Provider.ts +43 -0
  218. package/src/internal/funding/SourceObservation.ts +5 -9
  219. package/src/internal/funding/Transfer.test.ts +155 -0
  220. package/src/internal/funding/Transfer.ts +254 -37
  221. package/src/internal/funding/TransferReconciliation.test.ts +147 -0
  222. package/src/internal/funding/TransferReconciliation.ts +264 -0
  223. package/src/internal/funding/TransferWebhook.test.ts +128 -0
  224. package/src/internal/funding/TransferWebhook.ts +67 -0
  225. package/src/internal/funding/index.test.ts +1 -0
  226. package/src/internal/funding/index.ts +1 -0
  227. package/src/internal/funding/providers/relay.ts +3 -15
  228. package/src/internal/funding/providers/stargate.test.ts +169 -4
  229. package/src/internal/funding/providers/stargate.ts +498 -51
  230. package/src/internal/webhookDestinations/slack.ts +15 -0
@@ -1,6 +1,8 @@
1
1
  import * as z from 'zod/mini';
2
2
  import type * as App from '../../../App.js';
3
+ import * as FundingTransferReconciliation from '../../../internal/funding/TransferReconciliation.js';
3
4
  import * as Response from '../../../internal/Response.js';
5
+ import type * as Webhooks from '../../../internal/Webhooks.js';
4
6
  /** Zod schemas owned by funding transfer resources. */
5
7
  export declare namespace schema {
6
8
  /** A durable funding transfer. Reads never include the executable `action`. */
@@ -727,21 +729,186 @@ export declare namespace schema {
727
729
  version: z.ZodMiniNumber<number>;
728
730
  }, z.core.$strip>;
729
731
  }
732
+ /** Schemas for the registerFundingTransferSourceTransaction operation. */
733
+ namespace registerFundingTransferSourceTransaction {
734
+ /** Source transaction registration request body. */
735
+ const Body: z.ZodMiniObject<{
736
+ transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
737
+ }, z.core.$strict>;
738
+ /** Path parameters for source transaction registration. */
739
+ const Params: z.ZodMiniObject<{
740
+ id: z.ZodMiniString<string>;
741
+ }, z.core.$strip>;
742
+ /** The transfer after source transaction registration. */
743
+ const Response: z.ZodMiniObject<{
744
+ createdAt: z.ZodMiniISODateTime;
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
+ destinationAmountMin: 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.ZodMiniArray<z.ZodMiniString<string>>>;
782
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
783
+ amount: z.ZodMiniObject<{
784
+ baseUnits: z.ZodMiniString<string>;
785
+ currency: z.ZodMiniString<string>;
786
+ decimals: z.ZodMiniNumber<number>;
787
+ formatted: z.ZodMiniString<string>;
788
+ }, z.core.$strip>;
789
+ side: z.ZodMiniEnum<{
790
+ destination: "destination";
791
+ source: "source";
792
+ }>;
793
+ token: z.ZodMiniObject<{
794
+ address: z.ZodMiniString<string>;
795
+ currency: z.ZodMiniString<string>;
796
+ decimals: z.ZodMiniNumber<number>;
797
+ name: z.ZodMiniString<string>;
798
+ standard: z.ZodMiniString<string>;
799
+ symbol: z.ZodMiniString<string>;
800
+ tokenKey: z.ZodMiniString<string>;
801
+ verified: z.ZodMiniBoolean<boolean>;
802
+ }, z.core.$strip>;
803
+ type: z.ZodMiniEnum<{
804
+ provider: "provider";
805
+ }>;
806
+ }, z.core.$strip>>;
807
+ id: z.ZodMiniString<string>;
808
+ method: z.ZodMiniEnum<{
809
+ depositAddress: "depositAddress";
810
+ transaction: "transaction";
811
+ }>;
812
+ mode: z.ZodMiniEnum<{
813
+ exactDestination: "exactDestination";
814
+ exactSource: "exactSource";
815
+ }>;
816
+ provider: z.ZodMiniObject<{
817
+ id: z.ZodMiniString<string>;
818
+ name: z.ZodMiniString<string>;
819
+ }, z.core.$strip>;
820
+ quote: z.ZodMiniObject<{
821
+ expiresAt: z.ZodMiniISODateTime;
822
+ sampledAt: z.ZodMiniISODateTime;
823
+ }, z.core.$strip>;
824
+ recipient: z.ZodMiniString<string>;
825
+ refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
826
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
827
+ baseUnits: z.ZodMiniString<string>;
828
+ currency: z.ZodMiniString<string>;
829
+ decimals: z.ZodMiniNumber<number>;
830
+ formatted: z.ZodMiniString<string>;
831
+ }, z.core.$strip>>;
832
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
833
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
834
+ sourceAmount: z.ZodMiniObject<{
835
+ baseUnits: z.ZodMiniString<string>;
836
+ currency: z.ZodMiniString<string>;
837
+ decimals: z.ZodMiniNumber<number>;
838
+ formatted: z.ZodMiniString<string>;
839
+ }, z.core.$strip>;
840
+ sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
841
+ baseUnits: z.ZodMiniString<string>;
842
+ currency: z.ZodMiniString<string>;
843
+ decimals: z.ZodMiniNumber<number>;
844
+ formatted: z.ZodMiniString<string>;
845
+ }, z.core.$strip>>;
846
+ sourceChain: z.ZodMiniObject<{
847
+ addressFormat: z.ZodMiniEnum<{
848
+ base58: "base58";
849
+ base58check: "base58check";
850
+ hex: "hex";
851
+ }>;
852
+ id: z.ZodMiniString<string>;
853
+ kind: z.ZodMiniEnum<{
854
+ evm: "evm";
855
+ solana: "solana";
856
+ tron: "tron";
857
+ }>;
858
+ name: z.ZodMiniString<string>;
859
+ }, z.core.$strip>;
860
+ sourceToken: z.ZodMiniObject<{
861
+ address: z.ZodMiniString<string>;
862
+ currency: z.ZodMiniString<string>;
863
+ decimals: z.ZodMiniNumber<number>;
864
+ name: z.ZodMiniString<string>;
865
+ standard: z.ZodMiniString<string>;
866
+ symbol: z.ZodMiniString<string>;
867
+ tokenKey: z.ZodMiniString<string>;
868
+ verified: z.ZodMiniBoolean<boolean>;
869
+ }, z.core.$strip>;
870
+ sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
871
+ status: z.ZodMiniEnum<{
872
+ "action-required": "action-required";
873
+ "awaiting-source": "awaiting-source";
874
+ completed: "completed";
875
+ expired: "expired";
876
+ processing: "processing";
877
+ refunded: "refunded";
878
+ refunding: "refunding";
879
+ }>;
880
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
881
+ code: z.ZodMiniEnum<{
882
+ destination_amount_below_minimum: "destination_amount_below_minimum";
883
+ destination_recovered: "destination_recovered";
884
+ manual_recovery_required: "manual_recovery_required";
885
+ refund_failed: "refund_failed";
886
+ source_amount_above_maximum: "source_amount_above_maximum";
887
+ source_amount_below_minimum: "source_amount_below_minimum";
888
+ source_chain_mismatch: "source_chain_mismatch";
889
+ source_token_mismatch: "source_token_mismatch";
890
+ }>;
891
+ message: z.ZodMiniString<string>;
892
+ }, z.core.$strip>>;
893
+ updatedAt: z.ZodMiniISODateTime;
894
+ version: z.ZodMiniNumber<number>;
895
+ }, z.core.$strip>;
896
+ }
730
897
  }
731
898
  /** Mounts durable funding transfer routes. */
732
- export declare function transfers(): import("hono/hono-base").HonoBase<App.Environment, {
899
+ export declare function transfers(options?: transfers.Options): import("hono/hono-base").HonoBase<App.Environment, {
733
900
  "/v1/funding/transfers": {
734
901
  $get: {
735
902
  output: {
736
903
  error: {
737
- code: "upstream_error";
904
+ code: "api_key_malformed";
738
905
  details?: readonly Response.error.Detail[] | undefined;
739
906
  message: string;
740
907
  };
741
908
  requestId: string;
742
909
  };
743
910
  outputFormat: "json";
744
- status: 502;
911
+ status: 400;
745
912
  input: {
746
913
  query?: {
747
914
  cursor?: string | string[];
@@ -753,14 +920,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
753
920
  } | {
754
921
  output: {
755
922
  error: {
756
- code: "query_invalid";
923
+ code: "api_key_invalid" | "api_key_missing";
757
924
  details?: readonly Response.error.Detail[] | undefined;
758
925
  message: string;
759
926
  };
760
927
  requestId: string;
761
928
  };
762
929
  outputFormat: "json";
763
- status: 400;
930
+ status: 401;
764
931
  input: {
765
932
  query?: {
766
933
  cursor?: string | string[];
@@ -772,14 +939,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
772
939
  } | {
773
940
  output: {
774
941
  error: {
775
- code: "api_key_malformed";
942
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
776
943
  details?: readonly Response.error.Detail[] | undefined;
777
944
  message: string;
778
945
  };
779
946
  requestId: string;
780
947
  };
781
948
  outputFormat: "json";
782
- status: 400;
949
+ status: 403;
783
950
  input: {
784
951
  query?: {
785
952
  cursor?: string | string[];
@@ -791,14 +958,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
791
958
  } | {
792
959
  output: {
793
960
  error: {
794
- code: "api_key_invalid" | "api_key_missing";
961
+ code: "payment_required" | "rate_limit_exceeded";
795
962
  details?: readonly Response.error.Detail[] | undefined;
796
963
  message: string;
797
964
  };
798
965
  requestId: string;
799
966
  };
800
967
  outputFormat: "json";
801
- status: 401;
968
+ status: 429;
802
969
  input: {
803
970
  query?: {
804
971
  cursor?: string | string[];
@@ -810,14 +977,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
810
977
  } | {
811
978
  output: {
812
979
  error: {
813
- code: "api_key_forbidden" | "api_key_ip_forbidden";
980
+ code: "query_invalid";
814
981
  details?: readonly Response.error.Detail[] | undefined;
815
982
  message: string;
816
983
  };
817
984
  requestId: string;
818
985
  };
819
986
  outputFormat: "json";
820
- status: 403;
987
+ status: 400;
821
988
  input: {
822
989
  query?: {
823
990
  cursor?: string | string[];
@@ -829,14 +996,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
829
996
  } | {
830
997
  output: {
831
998
  error: {
832
- code: "payment_required" | "rate_limit_exceeded";
999
+ code: "upstream_error";
833
1000
  details?: readonly Response.error.Detail[] | undefined;
834
1001
  message: string;
835
1002
  };
836
1003
  requestId: string;
837
1004
  };
838
1005
  outputFormat: "json";
839
- status: 429;
1006
+ status: 502;
840
1007
  input: {
841
1008
  query?: {
842
1009
  cursor?: string | string[];
@@ -984,96 +1151,385 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
984
1151
  outputFormat: "json";
985
1152
  status: 200;
986
1153
  input: {
987
- query?: {
988
- cursor?: string | string[];
989
- include?: string | string[];
990
- limit?: string | string[];
991
- status?: string | string[];
992
- } | undefined;
1154
+ query?: {
1155
+ cursor?: string | string[];
1156
+ include?: string | string[];
1157
+ limit?: string | string[];
1158
+ status?: string | string[];
1159
+ } | undefined;
1160
+ };
1161
+ };
1162
+ };
1163
+ } & {
1164
+ "/v1/funding/transfers/:id{ftr_[A-Za-z0-9_-]+}": {
1165
+ $get: {
1166
+ output: {
1167
+ error: {
1168
+ code: "api_key_malformed";
1169
+ details?: readonly Response.error.Detail[] | undefined;
1170
+ message: string;
1171
+ };
1172
+ requestId: string;
1173
+ };
1174
+ outputFormat: "json";
1175
+ status: 400;
1176
+ input: {
1177
+ param: {
1178
+ id: string;
1179
+ };
1180
+ };
1181
+ } | {
1182
+ output: {
1183
+ error: {
1184
+ code: "api_key_invalid" | "api_key_missing";
1185
+ details?: readonly Response.error.Detail[] | undefined;
1186
+ message: string;
1187
+ };
1188
+ requestId: string;
1189
+ };
1190
+ outputFormat: "json";
1191
+ status: 401;
1192
+ input: {
1193
+ param: {
1194
+ id: string;
1195
+ };
1196
+ };
1197
+ } | {
1198
+ output: {
1199
+ error: {
1200
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1201
+ details?: readonly Response.error.Detail[] | undefined;
1202
+ message: string;
1203
+ };
1204
+ requestId: string;
1205
+ };
1206
+ outputFormat: "json";
1207
+ status: 403;
1208
+ input: {
1209
+ param: {
1210
+ id: string;
1211
+ };
1212
+ };
1213
+ } | {
1214
+ output: {
1215
+ error: {
1216
+ code: "payment_required" | "rate_limit_exceeded";
1217
+ details?: readonly Response.error.Detail[] | undefined;
1218
+ message: string;
1219
+ };
1220
+ requestId: string;
1221
+ };
1222
+ outputFormat: "json";
1223
+ status: 429;
1224
+ input: {
1225
+ param: {
1226
+ id: string;
1227
+ };
1228
+ };
1229
+ } | {
1230
+ output: {
1231
+ error: {
1232
+ code: "upstream_error";
1233
+ details?: readonly Response.error.Detail[] | undefined;
1234
+ message: string;
1235
+ };
1236
+ requestId: string;
1237
+ };
1238
+ outputFormat: "json";
1239
+ status: 502;
1240
+ input: {
1241
+ param: {
1242
+ id: string;
1243
+ };
1244
+ };
1245
+ } | {
1246
+ output: {
1247
+ error: {
1248
+ code: "unauthorized";
1249
+ details?: readonly Response.error.Detail[] | undefined;
1250
+ message: string;
1251
+ };
1252
+ requestId: string;
1253
+ };
1254
+ outputFormat: "json";
1255
+ status: 401;
1256
+ input: {
1257
+ param: {
1258
+ id: string;
1259
+ };
1260
+ };
1261
+ } | {
1262
+ output: {
1263
+ error: {
1264
+ code: "param_invalid";
1265
+ details?: readonly Response.error.Detail[] | undefined;
1266
+ message: string;
1267
+ };
1268
+ requestId: string;
1269
+ };
1270
+ outputFormat: "json";
1271
+ status: 400;
1272
+ input: {
1273
+ param: {
1274
+ id: string;
1275
+ };
1276
+ };
1277
+ } | {
1278
+ output: {
1279
+ error: {
1280
+ code: "funding_transfer_not_found";
1281
+ details?: readonly Response.error.Detail[] | undefined;
1282
+ message: string;
1283
+ };
1284
+ requestId: string;
1285
+ };
1286
+ outputFormat: "json";
1287
+ status: 404;
1288
+ input: {
1289
+ param: {
1290
+ id: string;
1291
+ };
1292
+ };
1293
+ } | {
1294
+ output: {
1295
+ createdAt: string;
1296
+ destinationAmount?: {
1297
+ baseUnits: string;
1298
+ currency: string;
1299
+ decimals: number;
1300
+ formatted: string;
1301
+ } | undefined;
1302
+ destinationAmountMin?: {
1303
+ baseUnits: string;
1304
+ currency: string;
1305
+ decimals: number;
1306
+ formatted: string;
1307
+ } | undefined;
1308
+ destinationChain: {
1309
+ addressFormat: "base58" | "base58check" | "hex";
1310
+ id: string;
1311
+ kind: "evm" | "solana" | "tron";
1312
+ name: string;
1313
+ };
1314
+ destinationToken: {
1315
+ address: string;
1316
+ currency: string;
1317
+ decimals: number;
1318
+ name: string;
1319
+ standard: string;
1320
+ symbol: string;
1321
+ tokenKey: string;
1322
+ verified: boolean;
1323
+ };
1324
+ destinationTransactionHashes?: string[] | undefined;
1325
+ fees: {
1326
+ amount: {
1327
+ baseUnits: string;
1328
+ currency: string;
1329
+ decimals: number;
1330
+ formatted: string;
1331
+ };
1332
+ side: "destination" | "source";
1333
+ token: {
1334
+ address: string;
1335
+ currency: string;
1336
+ decimals: number;
1337
+ name: string;
1338
+ standard: string;
1339
+ symbol: string;
1340
+ tokenKey: string;
1341
+ verified: boolean;
1342
+ };
1343
+ type: "provider";
1344
+ }[];
1345
+ id: string;
1346
+ method: "depositAddress" | "transaction";
1347
+ mode: "exactDestination" | "exactSource";
1348
+ provider: {
1349
+ id: string;
1350
+ name: string;
1351
+ };
1352
+ quote: {
1353
+ expiresAt: string;
1354
+ sampledAt: string;
1355
+ };
1356
+ recipient: string;
1357
+ refundAddress?: string | undefined;
1358
+ refundAmount?: {
1359
+ baseUnits: string;
1360
+ currency: string;
1361
+ decimals: number;
1362
+ formatted: string;
1363
+ } | undefined;
1364
+ refundTransactionHashes?: string[] | undefined;
1365
+ sender?: string | undefined;
1366
+ sourceAmount: {
1367
+ baseUnits: string;
1368
+ currency: string;
1369
+ decimals: number;
1370
+ formatted: string;
1371
+ };
1372
+ sourceAmountMax?: {
1373
+ baseUnits: string;
1374
+ currency: string;
1375
+ decimals: number;
1376
+ formatted: string;
1377
+ } | undefined;
1378
+ sourceChain: {
1379
+ addressFormat: "base58" | "base58check" | "hex";
1380
+ id: string;
1381
+ kind: "evm" | "solana" | "tron";
1382
+ name: string;
1383
+ };
1384
+ sourceToken: {
1385
+ address: string;
1386
+ currency: string;
1387
+ decimals: number;
1388
+ name: string;
1389
+ standard: string;
1390
+ symbol: string;
1391
+ tokenKey: string;
1392
+ verified: boolean;
1393
+ };
1394
+ sourceTransactionHashes?: string[] | undefined;
1395
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
1396
+ statusReason?: {
1397
+ code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch";
1398
+ message: string;
1399
+ } | undefined;
1400
+ updatedAt: string;
1401
+ version: number;
1402
+ };
1403
+ outputFormat: "json";
1404
+ status: 200;
1405
+ input: {
1406
+ param: {
1407
+ id: string;
1408
+ };
993
1409
  };
994
1410
  };
995
1411
  };
996
1412
  } & {
997
- "/v1/funding/transfers/:id{ftr_[A-Za-z0-9_-]+}": {
998
- $get: {
1413
+ "/v1/funding/transfers/:id{ftr_[A-Za-z0-9_-]+}/source-transactions": {
1414
+ $post: {
999
1415
  output: {
1000
1416
  error: {
1001
- code: "upstream_error";
1417
+ code: "api_key_malformed";
1002
1418
  details?: readonly Response.error.Detail[] | undefined;
1003
1419
  message: string;
1004
1420
  };
1005
1421
  requestId: string;
1006
1422
  };
1007
1423
  outputFormat: "json";
1008
- status: 502;
1424
+ status: 400;
1009
1425
  input: {
1010
1426
  param: {
1011
1427
  id: string;
1012
1428
  };
1429
+ } & {
1430
+ json: {
1431
+ transactionHash: `0x${string}`;
1432
+ };
1013
1433
  };
1014
1434
  } | {
1015
1435
  output: {
1016
1436
  error: {
1017
- code: "api_key_malformed";
1437
+ code: "api_key_invalid" | "api_key_missing";
1018
1438
  details?: readonly Response.error.Detail[] | undefined;
1019
1439
  message: string;
1020
1440
  };
1021
1441
  requestId: string;
1022
1442
  };
1023
1443
  outputFormat: "json";
1024
- status: 400;
1444
+ status: 401;
1025
1445
  input: {
1026
1446
  param: {
1027
1447
  id: string;
1028
1448
  };
1449
+ } & {
1450
+ json: {
1451
+ transactionHash: `0x${string}`;
1452
+ };
1029
1453
  };
1030
1454
  } | {
1031
1455
  output: {
1032
1456
  error: {
1033
- code: "api_key_invalid" | "api_key_missing";
1457
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1034
1458
  details?: readonly Response.error.Detail[] | undefined;
1035
1459
  message: string;
1036
1460
  };
1037
1461
  requestId: string;
1038
1462
  };
1039
1463
  outputFormat: "json";
1040
- status: 401;
1464
+ status: 403;
1465
+ input: {
1466
+ param: {
1467
+ id: string;
1468
+ };
1469
+ } & {
1470
+ json: {
1471
+ transactionHash: `0x${string}`;
1472
+ };
1473
+ };
1474
+ } | {
1475
+ output: {
1476
+ error: {
1477
+ code: "payment_required" | "rate_limit_exceeded";
1478
+ details?: readonly Response.error.Detail[] | undefined;
1479
+ message: string;
1480
+ };
1481
+ requestId: string;
1482
+ };
1483
+ outputFormat: "json";
1484
+ status: 429;
1041
1485
  input: {
1042
1486
  param: {
1043
1487
  id: string;
1044
1488
  };
1489
+ } & {
1490
+ json: {
1491
+ transactionHash: `0x${string}`;
1492
+ };
1045
1493
  };
1046
1494
  } | {
1047
1495
  output: {
1048
1496
  error: {
1049
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1497
+ code: "upstream_error";
1050
1498
  details?: readonly Response.error.Detail[] | undefined;
1051
1499
  message: string;
1052
1500
  };
1053
1501
  requestId: string;
1054
1502
  };
1055
1503
  outputFormat: "json";
1056
- status: 403;
1504
+ status: 502;
1057
1505
  input: {
1058
1506
  param: {
1059
1507
  id: string;
1060
1508
  };
1509
+ } & {
1510
+ json: {
1511
+ transactionHash: `0x${string}`;
1512
+ };
1061
1513
  };
1062
1514
  } | {
1063
1515
  output: {
1064
1516
  error: {
1065
- code: "payment_required" | "rate_limit_exceeded";
1517
+ code: "body_invalid";
1066
1518
  details?: readonly Response.error.Detail[] | undefined;
1067
1519
  message: string;
1068
1520
  };
1069
1521
  requestId: string;
1070
1522
  };
1071
1523
  outputFormat: "json";
1072
- status: 429;
1524
+ status: 400;
1073
1525
  input: {
1074
1526
  param: {
1075
1527
  id: string;
1076
1528
  };
1529
+ } & {
1530
+ json: {
1531
+ transactionHash: `0x${string}`;
1532
+ };
1077
1533
  };
1078
1534
  } | {
1079
1535
  output: {
@@ -1090,6 +1546,10 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1090
1546
  param: {
1091
1547
  id: string;
1092
1548
  };
1549
+ } & {
1550
+ json: {
1551
+ transactionHash: `0x${string}`;
1552
+ };
1093
1553
  };
1094
1554
  } | {
1095
1555
  output: {
@@ -1106,6 +1566,10 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1106
1566
  param: {
1107
1567
  id: string;
1108
1568
  };
1569
+ } & {
1570
+ json: {
1571
+ transactionHash: `0x${string}`;
1572
+ };
1109
1573
  };
1110
1574
  } | {
1111
1575
  output: {
@@ -1122,6 +1586,10 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1122
1586
  param: {
1123
1587
  id: string;
1124
1588
  };
1589
+ } & {
1590
+ json: {
1591
+ transactionHash: `0x${string}`;
1592
+ };
1125
1593
  };
1126
1594
  } | {
1127
1595
  output: {
@@ -1239,6 +1707,110 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1239
1707
  param: {
1240
1708
  id: string;
1241
1709
  };
1710
+ } & {
1711
+ json: {
1712
+ transactionHash: `0x${string}`;
1713
+ };
1714
+ };
1715
+ } | {
1716
+ output: {
1717
+ error: {
1718
+ code: "not_implemented";
1719
+ details?: readonly Response.error.Detail[] | undefined;
1720
+ message: string;
1721
+ };
1722
+ requestId: string;
1723
+ };
1724
+ outputFormat: "json";
1725
+ status: 501;
1726
+ input: {
1727
+ param: {
1728
+ id: string;
1729
+ };
1730
+ } & {
1731
+ json: {
1732
+ transactionHash: `0x${string}`;
1733
+ };
1734
+ };
1735
+ } | {
1736
+ output: {
1737
+ error: {
1738
+ code: "funding_transfer_not_awaiting_source";
1739
+ details?: readonly Response.error.Detail[] | undefined;
1740
+ message: string;
1741
+ };
1742
+ requestId: string;
1743
+ };
1744
+ outputFormat: "json";
1745
+ status: 409;
1746
+ input: {
1747
+ param: {
1748
+ id: string;
1749
+ };
1750
+ } & {
1751
+ json: {
1752
+ transactionHash: `0x${string}`;
1753
+ };
1754
+ };
1755
+ } | {
1756
+ output: {
1757
+ error: {
1758
+ code: "source_transaction_pending";
1759
+ details?: readonly Response.error.Detail[] | undefined;
1760
+ message: string;
1761
+ };
1762
+ requestId: string;
1763
+ };
1764
+ outputFormat: "json";
1765
+ status: 409;
1766
+ input: {
1767
+ param: {
1768
+ id: string;
1769
+ };
1770
+ } & {
1771
+ json: {
1772
+ transactionHash: `0x${string}`;
1773
+ };
1774
+ };
1775
+ } | {
1776
+ output: {
1777
+ error: {
1778
+ code: "source_transaction_invalid";
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
+ json: {
1792
+ transactionHash: `0x${string}`;
1793
+ };
1794
+ };
1795
+ } | {
1796
+ output: {
1797
+ error: {
1798
+ code: "source_transaction_conflict";
1799
+ details?: readonly Response.error.Detail[] | undefined;
1800
+ message: string;
1801
+ };
1802
+ requestId: string;
1803
+ };
1804
+ outputFormat: "json";
1805
+ status: 409;
1806
+ input: {
1807
+ param: {
1808
+ id: string;
1809
+ };
1810
+ } & {
1811
+ json: {
1812
+ transactionHash: `0x${string}`;
1813
+ };
1242
1814
  };
1243
1815
  };
1244
1816
  };
@@ -1247,14 +1819,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1247
1819
  $post: {
1248
1820
  output: {
1249
1821
  error: {
1250
- code: "upstream_error";
1822
+ code: "api_key_malformed";
1251
1823
  details?: readonly Response.error.Detail[] | undefined;
1252
1824
  message: string;
1253
1825
  };
1254
1826
  requestId: string;
1255
1827
  };
1256
1828
  outputFormat: "json";
1257
- status: 502;
1829
+ status: 400;
1258
1830
  input: {
1259
1831
  header: {
1260
1832
  'idempotency-key': string;
@@ -1275,14 +1847,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1275
1847
  } | {
1276
1848
  output: {
1277
1849
  error: {
1278
- code: "api_key_malformed";
1850
+ code: "api_key_invalid" | "api_key_missing";
1279
1851
  details?: readonly Response.error.Detail[] | undefined;
1280
1852
  message: string;
1281
1853
  };
1282
1854
  requestId: string;
1283
1855
  };
1284
1856
  outputFormat: "json";
1285
- status: 400;
1857
+ status: 401;
1286
1858
  input: {
1287
1859
  header: {
1288
1860
  'idempotency-key': string;
@@ -1303,14 +1875,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1303
1875
  } | {
1304
1876
  output: {
1305
1877
  error: {
1306
- code: "api_key_invalid" | "api_key_missing";
1878
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1307
1879
  details?: readonly Response.error.Detail[] | undefined;
1308
1880
  message: string;
1309
1881
  };
1310
1882
  requestId: string;
1311
1883
  };
1312
1884
  outputFormat: "json";
1313
- status: 401;
1885
+ status: 403;
1314
1886
  input: {
1315
1887
  header: {
1316
1888
  'idempotency-key': string;
@@ -1331,14 +1903,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1331
1903
  } | {
1332
1904
  output: {
1333
1905
  error: {
1334
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1906
+ code: "payment_required" | "rate_limit_exceeded";
1335
1907
  details?: readonly Response.error.Detail[] | undefined;
1336
1908
  message: string;
1337
1909
  };
1338
1910
  requestId: string;
1339
1911
  };
1340
1912
  outputFormat: "json";
1341
- status: 403;
1913
+ status: 429;
1342
1914
  input: {
1343
1915
  header: {
1344
1916
  'idempotency-key': string;
@@ -1359,14 +1931,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1359
1931
  } | {
1360
1932
  output: {
1361
1933
  error: {
1362
- code: "payment_required" | "rate_limit_exceeded";
1934
+ code: "upstream_error";
1363
1935
  details?: readonly Response.error.Detail[] | undefined;
1364
1936
  message: string;
1365
1937
  };
1366
1938
  requestId: string;
1367
1939
  };
1368
1940
  outputFormat: "json";
1369
- status: 429;
1941
+ status: 502;
1370
1942
  input: {
1371
1943
  header: {
1372
1944
  'idempotency-key': string;
@@ -1387,14 +1959,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1387
1959
  } | {
1388
1960
  output: {
1389
1961
  error: {
1390
- code: "unauthorized";
1962
+ code: "body_invalid";
1391
1963
  details?: readonly Response.error.Detail[] | undefined;
1392
1964
  message: string;
1393
1965
  };
1394
1966
  requestId: string;
1395
1967
  };
1396
1968
  outputFormat: "json";
1397
- status: 401;
1969
+ status: 400;
1398
1970
  input: {
1399
1971
  header: {
1400
1972
  'idempotency-key': string;
@@ -1415,14 +1987,42 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1415
1987
  } | {
1416
1988
  output: {
1417
1989
  error: {
1418
- code: "body_invalid";
1990
+ code: "quote_not_available";
1419
1991
  details?: readonly Response.error.Detail[] | undefined;
1420
1992
  message: string;
1421
1993
  };
1422
1994
  requestId: string;
1423
1995
  };
1424
1996
  outputFormat: "json";
1425
- status: 400;
1997
+ status: 404;
1998
+ input: {
1999
+ header: {
2000
+ 'idempotency-key': string;
2001
+ };
2002
+ } & {
2003
+ json: {
2004
+ amount: string;
2005
+ destinationToken: string;
2006
+ mode: "exactDestination" | "exactSource";
2007
+ provider?: string | undefined;
2008
+ recipient: string;
2009
+ sender: string;
2010
+ slippageBps?: number | undefined;
2011
+ sourceChain: string;
2012
+ sourceToken: string;
2013
+ };
2014
+ };
2015
+ } | {
2016
+ output: {
2017
+ error: {
2018
+ code: "unauthorized";
2019
+ details?: readonly Response.error.Detail[] | undefined;
2020
+ message: string;
2021
+ };
2022
+ requestId: string;
2023
+ };
2024
+ outputFormat: "json";
2025
+ status: 401;
1426
2026
  input: {
1427
2027
  header: {
1428
2028
  'idempotency-key': string;
@@ -1633,34 +2233,6 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
1633
2233
  sourceToken: string;
1634
2234
  };
1635
2235
  };
1636
- } | {
1637
- output: {
1638
- error: {
1639
- code: "quote_not_available";
1640
- details?: readonly Response.error.Detail[] | undefined;
1641
- message: string;
1642
- };
1643
- requestId: string;
1644
- };
1645
- outputFormat: "json";
1646
- status: 404;
1647
- input: {
1648
- header: {
1649
- 'idempotency-key': string;
1650
- };
1651
- } & {
1652
- json: {
1653
- amount: string;
1654
- destinationToken: string;
1655
- mode: "exactDestination" | "exactSource";
1656
- provider?: string | undefined;
1657
- recipient: string;
1658
- sender: string;
1659
- slippageBps?: number | undefined;
1660
- sourceChain: string;
1661
- sourceToken: string;
1662
- };
1663
- };
1664
2236
  };
1665
2237
  };
1666
2238
  } & {
@@ -2008,4 +2580,13 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
2008
2580
  };
2009
2581
  };
2010
2582
  }, "/", "/v1/funding/transfers/zone">;
2583
+ export declare namespace transfers {
2584
+ /** Funding transfer route dependencies. */
2585
+ type Options = {
2586
+ /** Enqueues one registered transfer for destination reconciliation. */
2587
+ dispatchTransferReconciliation?: ((message: FundingTransferReconciliation.Message) => Promise<void>) | undefined;
2588
+ /** Enqueues webhook updates staged with transfer mutations. */
2589
+ dispatchTransferUpdates?: ((references: readonly Webhooks.QueueReference[]) => Promise<number>) | undefined;
2590
+ };
2591
+ }
2011
2592
  //# sourceMappingURL=transfers.d.ts.map