tapimo 0.8.0 → 0.10.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 (223) hide show
  1. package/dist/App.d.ts +7410 -7613
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +0 -1
  4. package/dist/App.js.map +1 -1
  5. package/dist/Webhooks.d.ts +21 -20
  6. package/dist/Webhooks.d.ts.map +1 -1
  7. package/dist/Webhooks.js +66 -23
  8. package/dist/Webhooks.js.map +1 -1
  9. package/dist/admin/apps/verified-tokens.d.ts +74 -74
  10. package/dist/apps/Zones.d.ts +34 -22
  11. package/dist/apps/Zones.d.ts.map +1 -1
  12. package/dist/apps/Zones.js +9 -8
  13. package/dist/apps/Zones.js.map +1 -1
  14. package/dist/apps/data/App.d.ts +3120 -2782
  15. package/dist/apps/data/App.d.ts.map +1 -1
  16. package/dist/apps/data/FxOracle.d.ts +4 -5
  17. package/dist/apps/data/FxOracle.d.ts.map +1 -1
  18. package/dist/apps/data/FxOracle.js +19 -4
  19. package/dist/apps/data/FxOracle.js.map +1 -1
  20. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  21. package/dist/apps/data/routes/activities.js +32 -27
  22. package/dist/apps/data/routes/activities.js.map +1 -1
  23. package/dist/apps/data/routes/addresses.d.ts +283 -52
  24. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  25. package/dist/apps/data/routes/balances.d.ts +291 -21
  26. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  27. package/dist/apps/data/routes/balances.js +232 -66
  28. package/dist/apps/data/routes/balances.js.map +1 -1
  29. package/dist/apps/data/routes/blocks.d.ts +4 -4
  30. package/dist/apps/data/routes/coingecko.d.ts +54 -54
  31. package/dist/apps/data/routes/earn.d.ts +642 -126
  32. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  33. package/dist/apps/data/routes/earn.js +627 -58
  34. package/dist/apps/data/routes/earn.js.map +1 -1
  35. package/dist/apps/data/routes/exchanges.d.ts +120 -120
  36. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  37. package/dist/apps/data/routes/exchanges.js +114 -118
  38. package/dist/apps/data/routes/exchanges.js.map +1 -1
  39. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  40. package/dist/apps/data/routes/receipts.js +68 -47
  41. package/dist/apps/data/routes/receipts.js.map +1 -1
  42. package/dist/apps/data/routes/tokens.d.ts +2 -0
  43. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  44. package/dist/apps/data/routes/transactions.d.ts +59 -51
  45. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  46. package/dist/apps/data/routes/transactions.js +25 -23
  47. package/dist/apps/data/routes/transactions.js.map +1 -1
  48. package/dist/apps/data/routes/transfers.d.ts +40 -18
  49. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  50. package/dist/apps/data/routes/transfers.js +618 -105
  51. package/dist/apps/data/routes/transfers.js.map +1 -1
  52. package/dist/apps/data/routes/valuation.d.ts +21 -21
  53. package/dist/apps/data/routes/valuation.d.ts.map +1 -1
  54. package/dist/apps/data/routes/valuation.js +2 -2
  55. package/dist/apps/data/routes/valuation.js.map +1 -1
  56. package/dist/apps/data/routes/verified-tokens.d.ts +37 -37
  57. package/dist/apps/data/routes/webhooks.d.ts +102 -505
  58. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  59. package/dist/apps/data/routes/webhooks.js +484 -342
  60. package/dist/apps/data/routes/webhooks.js.map +1 -1
  61. package/dist/apps/data/routes/zones.d.ts +12 -12
  62. package/dist/apps/data/routes/zones.d.ts.map +1 -1
  63. package/dist/apps/data/routes/zones.js +3 -1
  64. package/dist/apps/data/routes/zones.js.map +1 -1
  65. package/dist/apps/funding/App.d.ts +127 -386
  66. package/dist/apps/funding/App.d.ts.map +1 -1
  67. package/dist/apps/funding/App.js +20 -5
  68. package/dist/apps/funding/App.js.map +1 -1
  69. package/dist/apps/funding/routes/deposit-addresses.d.ts +141 -532
  70. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
  71. package/dist/apps/funding/routes/deposit-addresses.js +21 -103
  72. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  73. package/dist/apps/funding/routes/transfers.d.ts +4 -4
  74. package/dist/apps/funding/routes/transfers.js +5 -5
  75. package/dist/apps/funding/routes/transfers.js.map +1 -1
  76. package/dist/apps/management/App.d.ts +429 -727
  77. package/dist/apps/management/App.d.ts.map +1 -1
  78. package/dist/apps/management/routes/api-keys.d.ts +24 -24
  79. package/dist/apps/management/routes/billing.d.ts +72 -72
  80. package/dist/apps/management/routes/faucet.d.ts +6 -6
  81. package/dist/apps/management/routes/invite-links.d.ts +38 -38
  82. package/dist/apps/management/routes/me.d.ts +6 -6
  83. package/dist/apps/management/routes/members.d.ts +30 -30
  84. package/dist/apps/management/routes/projects.d.ts +20 -20
  85. package/dist/apps/management/routes/usage.d.ts +24 -24
  86. package/dist/apps/management/routes/webhooks.d.ts +158 -573
  87. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  88. package/dist/apps/mpp/App.d.ts +12 -0
  89. package/dist/apps/mpp/App.d.ts.map +1 -1
  90. package/dist/apps/mpp/Mpp.d.ts +3 -0
  91. package/dist/apps/mpp/Mpp.d.ts.map +1 -1
  92. package/dist/apps/mpp/Mpp.js +3 -0
  93. package/dist/apps/mpp/Mpp.js.map +1 -1
  94. package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
  95. package/dist/apps/mpp/internal/Adapter.js +9 -2
  96. package/dist/apps/mpp/internal/Adapter.js.map +1 -1
  97. package/dist/db/Db.d.ts +2 -2
  98. package/dist/db/Db.d.ts.map +1 -1
  99. package/dist/db/Db.js +25 -15
  100. package/dist/db/Db.js.map +1 -1
  101. package/dist/db/tables/fundingDeposits.d.ts +18 -1
  102. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  103. package/dist/db/tables/fundingDeposits.js +46 -2
  104. package/dist/db/tables/fundingDeposits.js.map +1 -1
  105. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  106. package/dist/db/tables/sponsoredTransactions.js +4 -1
  107. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  108. package/dist/db/tables/webhookSubscriptions.d.ts +56 -3
  109. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  110. package/dist/db/tables/webhookSubscriptions.js +76 -3
  111. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  112. package/dist/internal/Auth.d.ts +4 -0
  113. package/dist/internal/Auth.d.ts.map +1 -1
  114. package/dist/internal/Auth.js +11 -2
  115. package/dist/internal/Auth.js.map +1 -1
  116. package/dist/internal/MetricSink.d.ts +112 -3
  117. package/dist/internal/MetricSink.d.ts.map +1 -1
  118. package/dist/internal/MetricSink.js +116 -3
  119. package/dist/internal/MetricSink.js.map +1 -1
  120. package/dist/internal/Schema.js +1 -1
  121. package/dist/internal/Schema.js.map +1 -1
  122. package/dist/internal/Tidx.d.ts +1 -3
  123. package/dist/internal/Tidx.d.ts.map +1 -1
  124. package/dist/internal/Tidx.js +1 -3
  125. package/dist/internal/Tidx.js.map +1 -1
  126. package/dist/internal/Viem.d.ts.map +1 -1
  127. package/dist/internal/Viem.js +2 -1
  128. package/dist/internal/Viem.js.map +1 -1
  129. package/dist/internal/WebhookDestination.d.ts +2 -0
  130. package/dist/internal/WebhookDestination.d.ts.map +1 -1
  131. package/dist/internal/WebhookDestination.js +11 -0
  132. package/dist/internal/WebhookDestination.js.map +1 -1
  133. package/dist/internal/WebhookTransfer.d.ts +55 -0
  134. package/dist/internal/WebhookTransfer.d.ts.map +1 -0
  135. package/dist/internal/WebhookTransfer.js +296 -0
  136. package/dist/internal/WebhookTransfer.js.map +1 -0
  137. package/dist/internal/Webhooks.d.ts +37 -0
  138. package/dist/internal/Webhooks.d.ts.map +1 -1
  139. package/dist/internal/Webhooks.js +87 -13
  140. package/dist/internal/Webhooks.js.map +1 -1
  141. package/dist/internal/funding/Provider.d.ts +10 -6
  142. package/dist/internal/funding/Provider.d.ts.map +1 -1
  143. package/dist/internal/funding/Provider.js +11 -7
  144. package/dist/internal/funding/Provider.js.map +1 -1
  145. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  146. package/dist/internal/funding/Reconciliation.js +229 -16
  147. package/dist/internal/funding/Reconciliation.js.map +1 -1
  148. package/dist/internal/funding/providers/relay.d.ts +3 -0
  149. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  150. package/dist/internal/funding/providers/relay.js +18 -3
  151. package/dist/internal/funding/providers/relay.js.map +1 -1
  152. package/package.json +3 -3
  153. package/src/App.test.ts +32 -0
  154. package/src/App.ts +4 -1
  155. package/src/Client.test-d.ts +116 -38
  156. package/src/Webhooks.bench.ts +714 -0
  157. package/src/Webhooks.memory.bench.ts +250 -0
  158. package/src/Webhooks.test.ts +77 -6
  159. package/src/Webhooks.ts +83 -29
  160. package/src/apps/Zones.test.ts +5 -4
  161. package/src/apps/Zones.ts +9 -8
  162. package/src/apps/composition.test.ts +39 -10
  163. package/src/apps/data/FxOracle.test.ts +18 -0
  164. package/src/apps/data/FxOracle.ts +28 -5
  165. package/src/apps/data/routes/activities.test.ts +19 -0
  166. package/src/apps/data/routes/activities.ts +34 -30
  167. package/src/apps/data/routes/balances.test.ts +161 -10
  168. package/src/apps/data/routes/balances.ts +339 -147
  169. package/src/apps/data/routes/blocks.test.ts +12 -6
  170. package/src/apps/data/routes/earn.test.ts +286 -9
  171. package/src/apps/data/routes/earn.ts +841 -58
  172. package/src/apps/data/routes/exchanges.test.ts +7 -6
  173. package/src/apps/data/routes/exchanges.ts +124 -117
  174. package/src/apps/data/routes/receipts.test.ts +24 -7
  175. package/src/apps/data/routes/receipts.ts +67 -50
  176. package/src/apps/data/routes/tokens.test.ts +51 -0
  177. package/src/apps/data/routes/transactions.test.ts +42 -0
  178. package/src/apps/data/routes/transactions.ts +44 -39
  179. package/src/apps/data/routes/transfers.test.ts +402 -24
  180. package/src/apps/data/routes/transfers.ts +708 -101
  181. package/src/apps/data/routes/valuation.test.ts +26 -0
  182. package/src/apps/data/routes/valuation.ts +6 -2
  183. package/src/apps/data/routes/webhooks.test.ts +414 -130
  184. package/src/apps/data/routes/webhooks.ts +603 -419
  185. package/src/apps/data/routes/zones.ts +6 -1
  186. package/src/apps/funding/App.ts +20 -5
  187. package/src/apps/funding/routes/deposit-addresses.test.ts +43 -22
  188. package/src/apps/funding/routes/deposit-addresses.ts +34 -117
  189. package/src/apps/funding/routes/quotes.test.ts +1 -1
  190. package/src/apps/funding/routes/transfers.test.ts +6 -25
  191. package/src/apps/funding/routes/transfers.ts +5 -5
  192. package/src/apps/mpp/Mpp.test.ts +13 -1
  193. package/src/apps/mpp/Mpp.ts +8 -0
  194. package/src/apps/mpp/internal/Adapter.ts +10 -2
  195. package/src/db/Db.test.ts +40 -6
  196. package/src/db/Db.ts +42 -19
  197. package/src/db/tables/fundingDeposits.test.ts +101 -0
  198. package/src/db/tables/fundingDeposits.ts +71 -2
  199. package/src/db/tables/sponsoredTransactions.ts +9 -2
  200. package/src/db/tables/webhookSubscriptions.ts +116 -4
  201. package/src/internal/Auth.test.ts +28 -0
  202. package/src/internal/Auth.ts +15 -1
  203. package/src/internal/EarnVaults.test.ts +2 -2
  204. package/src/internal/MetricSink.test.ts +518 -0
  205. package/src/internal/MetricSink.ts +266 -9
  206. package/src/internal/Schema.ts +1 -1
  207. package/src/internal/Tidx.test.ts +4 -4
  208. package/src/internal/Tidx.ts +1 -3
  209. package/src/internal/Viem.test.ts +8 -0
  210. package/src/internal/Viem.ts +2 -1
  211. package/src/internal/WebhookDestination.test.ts +20 -0
  212. package/src/internal/WebhookDestination.ts +10 -0
  213. package/src/internal/WebhookTransfer.ts +426 -0
  214. package/src/internal/Webhooks.test.ts +137 -0
  215. package/src/internal/Webhooks.ts +131 -17
  216. package/src/internal/funding/Provider.test.ts +47 -7
  217. package/src/internal/funding/Provider.ts +16 -11
  218. package/src/internal/funding/Reconciliation.local.test.ts +3 -1
  219. package/src/internal/funding/Reconciliation.test.ts +1532 -54
  220. package/src/internal/funding/Reconciliation.ts +296 -53
  221. package/src/internal/funding/SourceObservation.test.ts +3 -2
  222. package/src/internal/funding/providers/relay.test.ts +1 -4
  223. package/src/internal/funding/providers/relay.ts +23 -3
@@ -463,146 +463,14 @@ export declare namespace schema {
463
463
  id: z.ZodMiniString<string>;
464
464
  }, z.core.$strip>;
465
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
466
  /** Schemas for the listFundingDeposits operation. */
600
467
  namespace listFundingDeposits {
601
- /** Query parameters for listing one account's funding deposits. */
468
+ /** Query parameters for listing funding deposits. */
602
469
  const Query: z.ZodMiniObject<{
470
+ depositAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
603
471
  cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
604
472
  limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
605
- recipient: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
473
+ recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
606
474
  }, z.core.$strip>;
607
475
  /** One page of detected deposits. */
608
476
  const Response: z.ZodMiniObject<{
@@ -898,14 +766,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
898
766
  $post: {
899
767
  output: {
900
768
  error: {
901
- code: "api_key_malformed";
769
+ code: "upstream_error";
902
770
  details?: readonly Response.error.Detail[] | undefined;
903
771
  message: string;
904
772
  };
905
773
  requestId: string;
906
774
  };
907
775
  outputFormat: "json";
908
- status: 400;
776
+ status: 502;
909
777
  input: {
910
778
  header: {
911
779
  'idempotency-key': string;
@@ -924,14 +792,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
924
792
  } | {
925
793
  output: {
926
794
  error: {
927
- code: "api_key_invalid" | "api_key_missing";
795
+ code: "api_key_malformed";
928
796
  details?: readonly Response.error.Detail[] | undefined;
929
797
  message: string;
930
798
  };
931
799
  requestId: string;
932
800
  };
933
801
  outputFormat: "json";
934
- status: 401;
802
+ status: 400;
935
803
  input: {
936
804
  header: {
937
805
  'idempotency-key': string;
@@ -950,14 +818,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
950
818
  } | {
951
819
  output: {
952
820
  error: {
953
- code: "api_key_forbidden" | "api_key_ip_forbidden";
821
+ code: "api_key_invalid" | "api_key_missing";
954
822
  details?: readonly Response.error.Detail[] | undefined;
955
823
  message: string;
956
824
  };
957
825
  requestId: string;
958
826
  };
959
827
  outputFormat: "json";
960
- status: 403;
828
+ status: 401;
961
829
  input: {
962
830
  header: {
963
831
  'idempotency-key': string;
@@ -976,14 +844,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
976
844
  } | {
977
845
  output: {
978
846
  error: {
979
- code: "payment_required" | "rate_limit_exceeded";
847
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
980
848
  details?: readonly Response.error.Detail[] | undefined;
981
849
  message: string;
982
850
  };
983
851
  requestId: string;
984
852
  };
985
853
  outputFormat: "json";
986
- status: 429;
854
+ status: 403;
987
855
  input: {
988
856
  header: {
989
857
  'idempotency-key': string;
@@ -1002,14 +870,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1002
870
  } | {
1003
871
  output: {
1004
872
  error: {
1005
- code: "upstream_error";
873
+ code: "payment_required" | "rate_limit_exceeded";
1006
874
  details?: readonly Response.error.Detail[] | undefined;
1007
875
  message: string;
1008
876
  };
1009
877
  requestId: string;
1010
878
  };
1011
879
  outputFormat: "json";
1012
- status: 502;
880
+ status: 429;
1013
881
  input: {
1014
882
  header: {
1015
883
  'idempotency-key': string;
@@ -1309,8 +1177,24 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1309
1177
  };
1310
1178
  };
1311
1179
  } & {
1312
- "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/deposits": {
1180
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
1313
1181
  $get: {
1182
+ output: {
1183
+ error: {
1184
+ code: "upstream_error";
1185
+ details?: readonly Response.error.Detail[] | undefined;
1186
+ message: string;
1187
+ };
1188
+ requestId: string;
1189
+ };
1190
+ outputFormat: "json";
1191
+ status: 502;
1192
+ input: {
1193
+ param: {
1194
+ id: string;
1195
+ };
1196
+ };
1197
+ } | {
1314
1198
  output: {
1315
1199
  error: {
1316
1200
  code: "api_key_malformed";
@@ -1325,11 +1209,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1325
1209
  param: {
1326
1210
  id: string;
1327
1211
  };
1328
- } & {
1329
- query?: {
1330
- cursor?: string | string[];
1331
- limit?: string | string[];
1332
- } | undefined;
1333
1212
  };
1334
1213
  } | {
1335
1214
  output: {
@@ -1346,11 +1225,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1346
1225
  param: {
1347
1226
  id: string;
1348
1227
  };
1349
- } & {
1350
- query?: {
1351
- cursor?: string | string[];
1352
- limit?: string | string[];
1353
- } | undefined;
1354
1228
  };
1355
1229
  } | {
1356
1230
  output: {
@@ -1367,11 +1241,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1367
1241
  param: {
1368
1242
  id: string;
1369
1243
  };
1370
- } & {
1371
- query?: {
1372
- cursor?: string | string[];
1373
- limit?: string | string[];
1374
- } | undefined;
1375
1244
  };
1376
1245
  } | {
1377
1246
  output: {
@@ -1388,74 +1257,92 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1388
1257
  param: {
1389
1258
  id: string;
1390
1259
  };
1391
- } & {
1392
- query?: {
1393
- cursor?: string | string[];
1394
- limit?: string | string[];
1395
- } | undefined;
1396
1260
  };
1397
1261
  } | {
1398
1262
  output: {
1399
1263
  error: {
1400
- code: "query_invalid";
1264
+ code: "unauthorized";
1401
1265
  details?: readonly Response.error.Detail[] | undefined;
1402
1266
  message: string;
1403
1267
  };
1404
1268
  requestId: string;
1405
1269
  };
1406
1270
  outputFormat: "json";
1407
- status: 400;
1271
+ status: 401;
1408
1272
  input: {
1409
1273
  param: {
1410
1274
  id: string;
1411
1275
  };
1412
- } & {
1413
- query?: {
1414
- cursor?: string | string[];
1415
- limit?: string | string[];
1416
- } | undefined;
1417
1276
  };
1418
1277
  } | {
1419
1278
  output: {
1420
- error: {
1421
- code: "upstream_error";
1422
- details?: readonly Response.error.Detail[] | undefined;
1423
- message: string;
1279
+ address: string;
1280
+ createdAt: string;
1281
+ destinationChain: {
1282
+ addressFormat: "base58" | "base58check" | "hex";
1283
+ id: string;
1284
+ kind: "evm" | "solana" | "tron";
1285
+ name: string;
1424
1286
  };
1425
- requestId: string;
1287
+ destinationToken: {
1288
+ address: string;
1289
+ currency: string;
1290
+ decimals: number;
1291
+ name: string;
1292
+ standard: string;
1293
+ symbol: string;
1294
+ tokenKey: string;
1295
+ verified: boolean;
1296
+ };
1297
+ id: string;
1298
+ provider: {
1299
+ id: string;
1300
+ name: string;
1301
+ };
1302
+ recipient: string;
1303
+ refundAddress: string;
1304
+ sourceChain: {
1305
+ addressFormat: "base58" | "base58check" | "hex";
1306
+ id: string;
1307
+ kind: "evm" | "solana" | "tron";
1308
+ name: string;
1309
+ };
1310
+ sourceToken: {
1311
+ address: string;
1312
+ currency: string;
1313
+ decimals: number;
1314
+ name: string;
1315
+ standard: string;
1316
+ symbol: string;
1317
+ tokenKey: string;
1318
+ verified: boolean;
1319
+ };
1320
+ status: "action-required" | "active";
1321
+ subsidize: boolean;
1322
+ updatedAt: string;
1426
1323
  };
1427
1324
  outputFormat: "json";
1428
- status: 502;
1325
+ status: 200;
1429
1326
  input: {
1430
1327
  param: {
1431
1328
  id: string;
1432
1329
  };
1433
- } & {
1434
- query?: {
1435
- cursor?: string | string[];
1436
- limit?: string | string[];
1437
- } | undefined;
1438
1330
  };
1439
1331
  } | {
1440
1332
  output: {
1441
1333
  error: {
1442
- code: "unauthorized";
1334
+ code: "param_invalid";
1443
1335
  details?: readonly Response.error.Detail[] | undefined;
1444
1336
  message: string;
1445
1337
  };
1446
1338
  requestId: string;
1447
1339
  };
1448
1340
  outputFormat: "json";
1449
- status: 401;
1341
+ status: 400;
1450
1342
  input: {
1451
1343
  param: {
1452
1344
  id: string;
1453
1345
  };
1454
- } & {
1455
- query?: {
1456
- cursor?: string | string[];
1457
- limit?: string | string[];
1458
- } | undefined;
1459
1346
  };
1460
1347
  } | {
1461
1348
  output: {
@@ -1472,170 +1359,15 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1472
1359
  param: {
1473
1360
  id: string;
1474
1361
  };
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
1362
  };
1576
1363
  };
1577
1364
  };
1578
1365
  } & {
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;
1366
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/reconcile": {
1367
+ $post: {
1368
+ output: null;
1369
+ outputFormat: "body";
1370
+ status: 202;
1639
1371
  input: {
1640
1372
  param: {
1641
1373
  id: string;
@@ -1657,121 +1389,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1657
1389
  id: string;
1658
1390
  };
1659
1391
  };
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
1392
  } | {
1776
1393
  output: {
1777
1394
  error: {
@@ -1836,22 +1453,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1836
1453
  id: string;
1837
1454
  };
1838
1455
  };
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
1456
  } | {
1856
1457
  output: {
1857
1458
  error: {
@@ -1871,14 +1472,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1871
1472
  } | {
1872
1473
  output: {
1873
1474
  error: {
1874
- code: "funding_deposit_address_not_found";
1475
+ code: "param_invalid";
1875
1476
  details?: readonly Response.error.Detail[] | undefined;
1876
1477
  message: string;
1877
1478
  };
1878
1479
  requestId: string;
1879
1480
  };
1880
1481
  outputFormat: "json";
1881
- status: 404;
1482
+ status: 400;
1882
1483
  input: {
1883
1484
  param: {
1884
1485
  id: string;
@@ -1887,14 +1488,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1887
1488
  } | {
1888
1489
  output: {
1889
1490
  error: {
1890
- code: "param_invalid";
1491
+ code: "funding_deposit_address_not_found";
1891
1492
  details?: readonly Response.error.Detail[] | undefined;
1892
1493
  message: string;
1893
1494
  };
1894
1495
  requestId: string;
1895
1496
  };
1896
1497
  outputFormat: "json";
1897
- status: 400;
1498
+ status: 404;
1898
1499
  input: {
1899
1500
  param: {
1900
1501
  id: string;
@@ -1939,110 +1540,116 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1939
1540
  $get: {
1940
1541
  output: {
1941
1542
  error: {
1942
- code: "api_key_malformed";
1543
+ code: "upstream_error";
1943
1544
  details?: readonly Response.error.Detail[] | undefined;
1944
1545
  message: string;
1945
1546
  };
1946
1547
  requestId: string;
1947
1548
  };
1948
1549
  outputFormat: "json";
1949
- status: 400;
1550
+ status: 502;
1950
1551
  input: {
1951
- query: {
1552
+ query?: {
1553
+ depositAddress?: string | string[];
1952
1554
  cursor?: string | string[];
1953
1555
  limit?: string | string[];
1954
- recipient: string | string[];
1955
- };
1556
+ recipient?: string | string[];
1557
+ } | undefined;
1956
1558
  };
1957
1559
  } | {
1958
1560
  output: {
1959
1561
  error: {
1960
- code: "api_key_invalid" | "api_key_missing";
1562
+ code: "api_key_malformed";
1961
1563
  details?: readonly Response.error.Detail[] | undefined;
1962
1564
  message: string;
1963
1565
  };
1964
1566
  requestId: string;
1965
1567
  };
1966
1568
  outputFormat: "json";
1967
- status: 401;
1569
+ status: 400;
1968
1570
  input: {
1969
- query: {
1571
+ query?: {
1572
+ depositAddress?: string | string[];
1970
1573
  cursor?: string | string[];
1971
1574
  limit?: string | string[];
1972
- recipient: string | string[];
1973
- };
1575
+ recipient?: string | string[];
1576
+ } | undefined;
1974
1577
  };
1975
1578
  } | {
1976
1579
  output: {
1977
1580
  error: {
1978
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1581
+ code: "api_key_invalid" | "api_key_missing";
1979
1582
  details?: readonly Response.error.Detail[] | undefined;
1980
1583
  message: string;
1981
1584
  };
1982
1585
  requestId: string;
1983
1586
  };
1984
1587
  outputFormat: "json";
1985
- status: 403;
1588
+ status: 401;
1986
1589
  input: {
1987
- query: {
1590
+ query?: {
1591
+ depositAddress?: string | string[];
1988
1592
  cursor?: string | string[];
1989
1593
  limit?: string | string[];
1990
- recipient: string | string[];
1991
- };
1594
+ recipient?: string | string[];
1595
+ } | undefined;
1992
1596
  };
1993
1597
  } | {
1994
1598
  output: {
1995
1599
  error: {
1996
- code: "payment_required" | "rate_limit_exceeded";
1600
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1997
1601
  details?: readonly Response.error.Detail[] | undefined;
1998
1602
  message: string;
1999
1603
  };
2000
1604
  requestId: string;
2001
1605
  };
2002
1606
  outputFormat: "json";
2003
- status: 429;
1607
+ status: 403;
2004
1608
  input: {
2005
- query: {
1609
+ query?: {
1610
+ depositAddress?: string | string[];
2006
1611
  cursor?: string | string[];
2007
1612
  limit?: string | string[];
2008
- recipient: string | string[];
2009
- };
1613
+ recipient?: string | string[];
1614
+ } | undefined;
2010
1615
  };
2011
1616
  } | {
2012
1617
  output: {
2013
1618
  error: {
2014
- code: "query_invalid";
1619
+ code: "payment_required" | "rate_limit_exceeded";
2015
1620
  details?: readonly Response.error.Detail[] | undefined;
2016
1621
  message: string;
2017
1622
  };
2018
1623
  requestId: string;
2019
1624
  };
2020
1625
  outputFormat: "json";
2021
- status: 400;
1626
+ status: 429;
2022
1627
  input: {
2023
- query: {
1628
+ query?: {
1629
+ depositAddress?: string | string[];
2024
1630
  cursor?: string | string[];
2025
1631
  limit?: string | string[];
2026
- recipient: string | string[];
2027
- };
1632
+ recipient?: string | string[];
1633
+ } | undefined;
2028
1634
  };
2029
1635
  } | {
2030
1636
  output: {
2031
1637
  error: {
2032
- code: "upstream_error";
1638
+ code: "query_invalid";
2033
1639
  details?: readonly Response.error.Detail[] | undefined;
2034
1640
  message: string;
2035
1641
  };
2036
1642
  requestId: string;
2037
1643
  };
2038
1644
  outputFormat: "json";
2039
- status: 502;
1645
+ status: 400;
2040
1646
  input: {
2041
- query: {
1647
+ query?: {
1648
+ depositAddress?: string | string[];
2042
1649
  cursor?: string | string[];
2043
1650
  limit?: string | string[];
2044
- recipient: string | string[];
2045
- };
1651
+ recipient?: string | string[];
1652
+ } | undefined;
2046
1653
  };
2047
1654
  } | {
2048
1655
  output: {
@@ -2056,11 +1663,12 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2056
1663
  outputFormat: "json";
2057
1664
  status: 401;
2058
1665
  input: {
2059
- query: {
1666
+ query?: {
1667
+ depositAddress?: string | string[];
2060
1668
  cursor?: string | string[];
2061
1669
  limit?: string | string[];
2062
- recipient: string | string[];
2063
- };
1670
+ recipient?: string | string[];
1671
+ } | undefined;
2064
1672
  };
2065
1673
  } | {
2066
1674
  output: {
@@ -2148,11 +1756,12 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2148
1756
  outputFormat: "json";
2149
1757
  status: 200;
2150
1758
  input: {
2151
- query: {
1759
+ query?: {
1760
+ depositAddress?: string | string[];
2152
1761
  cursor?: string | string[];
2153
1762
  limit?: string | string[];
2154
- recipient: string | string[];
2155
- };
1763
+ recipient?: string | string[];
1764
+ } | undefined;
2156
1765
  };
2157
1766
  };
2158
1767
  };
@@ -2161,14 +1770,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2161
1770
  $get: {
2162
1771
  output: {
2163
1772
  error: {
2164
- code: "api_key_malformed";
1773
+ code: "upstream_error";
2165
1774
  details?: readonly Response.error.Detail[] | undefined;
2166
1775
  message: string;
2167
1776
  };
2168
1777
  requestId: string;
2169
1778
  };
2170
1779
  outputFormat: "json";
2171
- status: 400;
1780
+ status: 502;
2172
1781
  input: {
2173
1782
  param: {
2174
1783
  id: string;
@@ -2177,14 +1786,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2177
1786
  } | {
2178
1787
  output: {
2179
1788
  error: {
2180
- code: "api_key_invalid" | "api_key_missing";
1789
+ code: "api_key_malformed";
2181
1790
  details?: readonly Response.error.Detail[] | undefined;
2182
1791
  message: string;
2183
1792
  };
2184
1793
  requestId: string;
2185
1794
  };
2186
1795
  outputFormat: "json";
2187
- status: 401;
1796
+ status: 400;
2188
1797
  input: {
2189
1798
  param: {
2190
1799
  id: string;
@@ -2193,14 +1802,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2193
1802
  } | {
2194
1803
  output: {
2195
1804
  error: {
2196
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1805
+ code: "api_key_invalid" | "api_key_missing";
2197
1806
  details?: readonly Response.error.Detail[] | undefined;
2198
1807
  message: string;
2199
1808
  };
2200
1809
  requestId: string;
2201
1810
  };
2202
1811
  outputFormat: "json";
2203
- status: 403;
1812
+ status: 401;
2204
1813
  input: {
2205
1814
  param: {
2206
1815
  id: string;
@@ -2209,14 +1818,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2209
1818
  } | {
2210
1819
  output: {
2211
1820
  error: {
2212
- code: "payment_required" | "rate_limit_exceeded";
1821
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2213
1822
  details?: readonly Response.error.Detail[] | undefined;
2214
1823
  message: string;
2215
1824
  };
2216
1825
  requestId: string;
2217
1826
  };
2218
1827
  outputFormat: "json";
2219
- status: 429;
1828
+ status: 403;
2220
1829
  input: {
2221
1830
  param: {
2222
1831
  id: string;
@@ -2225,14 +1834,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2225
1834
  } | {
2226
1835
  output: {
2227
1836
  error: {
2228
- code: "upstream_error";
1837
+ code: "payment_required" | "rate_limit_exceeded";
2229
1838
  details?: readonly Response.error.Detail[] | undefined;
2230
1839
  message: string;
2231
1840
  };
2232
1841
  requestId: string;
2233
1842
  };
2234
1843
  outputFormat: "json";
2235
- status: 502;
1844
+ status: 429;
2236
1845
  input: {
2237
1846
  param: {
2238
1847
  id: string;