tapimo 0.15.1 → 0.18.1
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.
- package/README.md +137 -0
- package/dist/ApiKey.d.ts +1 -0
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +4 -2
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +37 -11
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +163 -10
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +13085 -11974
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +46 -15
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +1 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +1 -1
- package/dist/Scope.js.map +1 -1
- package/dist/admin/App.d.ts +893 -191
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +5 -1
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +70 -70
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +8 -3
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +66 -27
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.js +36 -7
- package/dist/admin/apps/earn-vaults.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +25 -25
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/organizations.js +5 -4
- package/dist/admin/apps/organizations.js.map +1 -1
- package/dist/admin/apps/route-policies.d.ts +632 -0
- package/dist/admin/apps/route-policies.d.ts.map +1 -0
- package/dist/admin/apps/route-policies.js +257 -0
- package/dist/admin/apps/route-policies.js.map +1 -0
- package/dist/admin/apps/routes-support.js +39 -3
- package/dist/admin/apps/routes-support.js.map +1 -1
- package/dist/admin/apps/routes.d.ts +529 -76
- package/dist/admin/apps/routes.d.ts.map +1 -1
- package/dist/admin/apps/routes.js +82 -1
- package/dist/admin/apps/routes.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +157 -157
- package/dist/admin/index.d.ts +0 -1
- package/dist/admin/index.d.ts.map +1 -1
- package/dist/admin/index.js +0 -1
- package/dist/admin/index.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +205 -201
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +65 -1
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/analytics/tables/requestEvents.d.ts +1 -1
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
- package/dist/analytics/tables/requestEvents.js +58 -59
- package/dist/analytics/tables/requestEvents.js.map +1 -1
- package/dist/apps/data/App.d.ts +2709 -2670
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +357 -357
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +50 -0
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +248 -248
- package/dist/apps/data/routes/balances.d.ts +22 -22
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +5 -7
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +125 -125
- package/dist/apps/data/routes/coingecko.d.ts +54 -54
- package/dist/apps/data/routes/earn.d.ts +103 -12
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +456 -220
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +267 -97
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +109 -127
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +83 -54
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +43 -43
- package/dist/apps/data/routes/receipts.d.ts +235 -235
- package/dist/apps/data/routes/rpc.d.ts +30 -30
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +11 -6
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +2 -0
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +30 -22
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +77 -77
- package/dist/apps/data/routes/valuation.d.ts +32 -32
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +1 -1
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/management/App.d.ts +2909 -2064
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +2 -0
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/Billing.d.ts +2 -4
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +65 -26
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +257 -245
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +70 -11
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +84 -84
- package/dist/apps/management/routes/cli.d.ts +912 -0
- package/dist/apps/management/routes/cli.d.ts.map +1 -0
- package/dist/apps/management/routes/cli.js +416 -0
- package/dist/apps/management/routes/cli.js.map +1 -0
- package/dist/apps/management/routes/faucet.d.ts +8 -8
- package/dist/apps/management/routes/invitations.d.ts +138 -138
- package/dist/apps/management/routes/invite-links.d.ts +172 -172
- package/dist/apps/management/routes/members.d.ts +16 -16
- package/dist/apps/management/routes/orgs.d.ts +104 -104
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +8 -2
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +125 -125
- package/dist/apps/management/routes/usage.d.ts +8 -8
- package/dist/apps/management/routes/verified-token-requests.d.ts +86 -86
- package/dist/apps/management/routes/webhooks.d.ts +485 -485
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/apps/mpp/internal/Policy.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Policy.js +4 -2
- package/dist/apps/mpp/internal/Policy.js.map +1 -1
- package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Sponsorship.js +6 -4
- package/dist/apps/mpp/internal/Sponsorship.js.map +1 -1
- package/dist/apps/relay/App.d.ts +8 -0
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +16 -4
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/relay/Sponsorships.d.ts +4 -6
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +71 -60
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/apps/routes/Access.d.ts +53 -0
- package/dist/apps/routes/Access.d.ts.map +1 -1
- package/dist/apps/routes/Access.js +121 -0
- package/dist/apps/routes/Access.js.map +1 -1
- package/dist/apps/routes/App.d.ts +397 -158
- package/dist/apps/routes/App.d.ts.map +1 -1
- package/dist/apps/routes/App.js.map +1 -1
- package/dist/apps/routes/routes/chains.d.ts +25 -25
- package/dist/apps/routes/routes/deposit-addresses.d.ts +169 -61
- package/dist/apps/routes/routes/deposit-addresses.d.ts.map +1 -1
- package/dist/apps/routes/routes/deposit-addresses.js +217 -32
- package/dist/apps/routes/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/routes/routes/quotes.d.ts +171 -81
- package/dist/apps/routes/routes/quotes.d.ts.map +1 -1
- package/dist/apps/routes/routes/quotes.js +101 -27
- package/dist/apps/routes/routes/quotes.js.map +1 -1
- package/dist/apps/routes/routes/transfers.d.ts +532 -480
- package/dist/apps/routes/routes/transfers.d.ts.map +1 -1
- package/dist/apps/routes/routes/transfers.js +182 -37
- package/dist/apps/routes/routes/transfers.js.map +1 -1
- package/dist/cli/ApiKeys.d.ts +120 -0
- package/dist/cli/ApiKeys.d.ts.map +1 -0
- package/dist/cli/ApiKeys.js +138 -0
- package/dist/cli/ApiKeys.js.map +1 -0
- package/dist/cli/Cli.d.ts +92 -34
- package/dist/cli/Cli.d.ts.map +1 -1
- package/dist/cli/Cli.js +188 -11
- package/dist/cli/Cli.js.map +1 -1
- package/dist/cli/Credentials.d.ts +95 -0
- package/dist/cli/Credentials.d.ts.map +1 -0
- package/dist/cli/Credentials.js +110 -0
- package/dist/cli/Credentials.js.map +1 -0
- package/dist/cli/Spec.d.ts +59 -0
- package/dist/cli/Spec.d.ts.map +1 -0
- package/dist/cli/Spec.js +77 -0
- package/dist/cli/Spec.js.map +1 -0
- package/dist/cli/bin.js +5 -1
- package/dist/cli/bin.js.map +1 -1
- package/dist/cli/commands/admin.d.ts +5 -5
- package/dist/cli/commands/admin.d.ts.map +1 -1
- package/dist/cli/commands/auth.d.ts +73 -0
- package/dist/cli/commands/auth.d.ts.map +1 -0
- package/dist/cli/commands/auth.js +204 -0
- package/dist/cli/commands/auth.js.map +1 -0
- package/dist/cli/commands/keys.d.ts +17 -0
- package/dist/cli/commands/keys.d.ts.map +1 -0
- package/dist/cli/commands/keys.js +109 -0
- package/dist/cli/commands/keys.js.map +1 -0
- package/dist/cloudflare.d.ts +27 -2
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +144 -17
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +23 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +413 -1
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +44 -1
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +56 -3
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/apiKeyAdmissions.d.ts +28 -2
- package/dist/db/tables/apiKeyAdmissions.d.ts.map +1 -1
- package/dist/db/tables/apiKeyAdmissions.js +65 -9
- package/dist/db/tables/apiKeyAdmissions.js.map +1 -1
- package/dist/db/tables/apiKeyOwnerTombstones.d.ts +2 -0
- package/dist/db/tables/apiKeyOwnerTombstones.d.ts.map +1 -1
- package/dist/db/tables/apiKeyOwnerTombstones.js +2 -2
- package/dist/db/tables/apiKeyOwnerTombstones.js.map +1 -1
- package/dist/db/tables/authAccounts.d.ts.map +1 -1
- package/dist/db/tables/authAccounts.js +1 -0
- package/dist/db/tables/authAccounts.js.map +1 -1
- package/dist/db/tables/earnVaults.d.ts +5 -1
- package/dist/db/tables/earnVaults.d.ts.map +1 -1
- package/dist/db/tables/earnVaults.js +12 -1
- package/dist/db/tables/earnVaults.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +4 -2
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +8 -34
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts +5 -1
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js +10 -2
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/rewardEligibilityAssociations.d.ts +13 -0
- package/dist/db/tables/rewardEligibilityAssociations.d.ts.map +1 -1
- package/dist/db/tables/rewardEligibilityAssociations.js +11 -0
- package/dist/db/tables/rewardEligibilityAssociations.js.map +1 -1
- package/dist/db/tables/rewardRuns.d.ts.map +1 -1
- package/dist/db/tables/rewardRuns.js +4 -0
- package/dist/db/tables/rewardRuns.js.map +1 -1
- package/dist/db/tables/rewardTransactionAttempts.d.ts.map +1 -1
- package/dist/db/tables/rewardTransactionAttempts.js +2 -0
- package/dist/db/tables/rewardTransactionAttempts.js.map +1 -1
- package/dist/db/tables/routesDepositAddresses.d.ts +29 -0
- package/dist/db/tables/routesDepositAddresses.d.ts.map +1 -1
- package/dist/db/tables/routesDepositAddresses.js +84 -31
- package/dist/db/tables/routesDepositAddresses.js.map +1 -1
- package/dist/db/tables/routesDeposits.d.ts.map +1 -1
- package/dist/db/tables/routesDeposits.js +31 -21
- package/dist/db/tables/routesDeposits.js.map +1 -1
- package/dist/db/tables/routesIdempotency.d.ts.map +1 -1
- package/dist/db/tables/routesIdempotency.js +2 -0
- package/dist/db/tables/routesIdempotency.js.map +1 -1
- package/dist/db/tables/routesPolicies.d.ts +58 -0
- package/dist/db/tables/routesPolicies.d.ts.map +1 -0
- package/dist/db/tables/routesPolicies.js +198 -0
- package/dist/db/tables/routesPolicies.js.map +1 -0
- package/dist/db/tables/routesTransferSubsidies.d.ts +22 -0
- package/dist/db/tables/routesTransferSubsidies.d.ts.map +1 -1
- package/dist/db/tables/routesTransferSubsidies.js +41 -0
- package/dist/db/tables/routesTransferSubsidies.js.map +1 -1
- package/dist/db/tables/routesTransferSubsidyNonces.d.ts.map +1 -1
- package/dist/db/tables/routesTransferSubsidyNonces.js +12 -4
- package/dist/db/tables/routesTransferSubsidyNonces.js.map +1 -1
- package/dist/db/tables/routesTransfers.d.ts +26 -1
- package/dist/db/tables/routesTransfers.d.ts.map +1 -1
- package/dist/db/tables/routesTransfers.js +36 -6
- package/dist/db/tables/routesTransfers.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +45 -13
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +144 -33
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/users.d.ts +2 -0
- package/dist/db/tables/users.d.ts.map +1 -1
- package/dist/db/tables/users.js +11 -0
- package/dist/db/tables/users.js.map +1 -1
- package/dist/handlers/internal/multisig.d.ts +1 -1
- package/dist/handlers/internal/multisig.d.ts.map +1 -1
- package/dist/handlers/internal/multisig.js +3 -2
- package/dist/handlers/internal/multisig.js.map +1 -1
- package/dist/handlers/relay.d.ts +2 -0
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +34 -15
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +57 -6
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +182 -78
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/BetterAuth.d.ts +22 -0
- package/dist/internal/BetterAuth.d.ts.map +1 -1
- package/dist/internal/BetterAuth.js +17 -14
- package/dist/internal/BetterAuth.js.map +1 -1
- package/dist/internal/Cache.d.ts +5 -0
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +3 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/CliAuth.d.ts +243 -0
- package/dist/internal/CliAuth.d.ts.map +1 -0
- package/dist/internal/CliAuth.js +249 -0
- package/dist/internal/CliAuth.js.map +1 -0
- package/dist/internal/EarnSharePrices.d.ts +1 -1
- package/dist/internal/EarnSharePrices.d.ts.map +1 -1
- package/dist/internal/EarnSharePrices.js +7 -3
- package/dist/internal/EarnSharePrices.js.map +1 -1
- package/dist/internal/EarnVaults.d.ts +47 -0
- package/dist/internal/EarnVaults.d.ts.map +1 -1
- package/dist/internal/EarnVaults.js +188 -4
- package/dist/internal/EarnVaults.js.map +1 -1
- package/dist/internal/EarnWithdrawals.d.ts +73 -0
- package/dist/internal/EarnWithdrawals.d.ts.map +1 -0
- package/dist/internal/EarnWithdrawals.js +189 -0
- package/dist/internal/EarnWithdrawals.js.map +1 -0
- package/dist/internal/ExecutionContext.d.ts +21 -0
- package/dist/internal/ExecutionContext.d.ts.map +1 -0
- package/dist/internal/ExecutionContext.js +16 -0
- package/dist/internal/ExecutionContext.js.map +1 -0
- package/dist/internal/Log.d.ts +7 -3
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +163 -130
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +26 -1
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +67 -0
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +174 -27
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Store.d.ts +6 -0
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +4 -5
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Timing.d.ts +6 -0
- package/dist/internal/Timing.d.ts.map +1 -1
- package/dist/internal/Timing.js +21 -1
- package/dist/internal/Timing.js.map +1 -1
- package/dist/internal/Tron.d.ts +124 -0
- package/dist/internal/Tron.d.ts.map +1 -0
- package/dist/internal/Tron.js +202 -0
- package/dist/internal/Tron.js.map +1 -0
- package/dist/internal/Viem.d.ts +4 -0
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +25 -6
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/rewards/Read.d.ts +2 -2
- package/dist/internal/rewards/Read.d.ts.map +1 -1
- package/dist/internal/rewards/Read.js +11 -2
- package/dist/internal/rewards/Read.js.map +1 -1
- package/dist/internal/routes/Action.d.ts +27 -0
- package/dist/internal/routes/Action.d.ts.map +1 -1
- package/dist/internal/routes/Action.js +49 -1
- package/dist/internal/routes/Action.js.map +1 -1
- package/dist/internal/routes/Chain.d.ts +2 -0
- package/dist/internal/routes/Chain.d.ts.map +1 -1
- package/dist/internal/routes/Chain.js +4 -0
- package/dist/internal/routes/Chain.js.map +1 -1
- package/dist/internal/routes/DepositAddress.d.ts.map +1 -1
- package/dist/internal/routes/DepositAddress.js +5 -0
- package/dist/internal/routes/DepositAddress.js.map +1 -1
- package/dist/internal/routes/Evidence.d.ts.map +1 -1
- package/dist/internal/routes/Evidence.js +6 -2
- package/dist/internal/routes/Evidence.js.map +1 -1
- package/dist/internal/routes/EvmTransferSettlement.d.ts +17 -0
- package/dist/internal/routes/EvmTransferSettlement.d.ts.map +1 -0
- package/dist/internal/routes/EvmTransferSettlement.js +196 -0
- package/dist/internal/routes/EvmTransferSettlement.js.map +1 -0
- package/dist/internal/routes/Policy.d.ts +161 -0
- package/dist/internal/routes/Policy.d.ts.map +1 -0
- package/dist/internal/routes/Policy.js +249 -0
- package/dist/internal/routes/Policy.js.map +1 -0
- package/dist/internal/routes/Provider.d.ts +66 -3
- package/dist/internal/routes/Provider.d.ts.map +1 -1
- package/dist/internal/routes/Provider.js +106 -27
- package/dist/internal/routes/Provider.js.map +1 -1
- package/dist/internal/routes/Quota.d.ts +57 -0
- package/dist/internal/routes/Quota.d.ts.map +1 -0
- package/dist/internal/routes/Quota.js +144 -0
- package/dist/internal/routes/Quota.js.map +1 -0
- package/dist/internal/routes/Reconciliation.d.ts.map +1 -1
- package/dist/internal/routes/Reconciliation.js +163 -47
- package/dist/internal/routes/Reconciliation.js.map +1 -1
- package/dist/internal/routes/SolanaTransferSettlement.d.ts +12 -0
- package/dist/internal/routes/SolanaTransferSettlement.d.ts.map +1 -0
- package/dist/internal/routes/SolanaTransferSettlement.js +220 -0
- package/dist/internal/routes/SolanaTransferSettlement.js.map +1 -0
- package/dist/internal/routes/SolanaTransferSubsidy.d.ts +172 -0
- package/dist/internal/routes/SolanaTransferSubsidy.d.ts.map +1 -0
- package/dist/internal/routes/SolanaTransferSubsidy.js +564 -0
- package/dist/internal/routes/SolanaTransferSubsidy.js.map +1 -0
- package/dist/internal/routes/Subsidy.d.ts +2 -2
- package/dist/internal/routes/Subsidy.d.ts.map +1 -1
- package/dist/internal/routes/Subsidy.js +2 -2
- package/dist/internal/routes/Subsidy.js.map +1 -1
- package/dist/internal/routes/Transfer.d.ts +229 -1
- package/dist/internal/routes/Transfer.d.ts.map +1 -1
- package/dist/internal/routes/Transfer.js +644 -7
- package/dist/internal/routes/Transfer.js.map +1 -1
- package/dist/internal/routes/TransferReconciliation.d.ts +6 -0
- package/dist/internal/routes/TransferReconciliation.d.ts.map +1 -1
- package/dist/internal/routes/TransferReconciliation.js +83 -159
- package/dist/internal/routes/TransferReconciliation.js.map +1 -1
- package/dist/internal/routes/TransferSettlement.d.ts +45 -0
- package/dist/internal/routes/TransferSettlement.d.ts.map +1 -0
- package/dist/internal/routes/TransferSettlement.js +2 -0
- package/dist/internal/routes/TransferSettlement.js.map +1 -0
- package/dist/internal/routes/TransferSubsidy.d.ts +23 -8
- package/dist/internal/routes/TransferSubsidy.d.ts.map +1 -1
- package/dist/internal/routes/TransferSubsidy.js +64 -5
- package/dist/internal/routes/TransferSubsidy.js.map +1 -1
- package/dist/internal/routes/TronTransferSettlement.d.ts +12 -0
- package/dist/internal/routes/TronTransferSettlement.d.ts.map +1 -0
- package/dist/internal/routes/TronTransferSettlement.js +201 -0
- package/dist/internal/routes/TronTransferSettlement.js.map +1 -0
- package/dist/internal/routes/TronTransferSubsidy.d.ts +174 -0
- package/dist/internal/routes/TronTransferSubsidy.d.ts.map +1 -0
- package/dist/internal/routes/TronTransferSubsidy.js +439 -0
- package/dist/internal/routes/TronTransferSubsidy.js.map +1 -0
- package/dist/internal/routes/index.d.ts +3 -0
- package/dist/internal/routes/index.d.ts.map +1 -1
- package/dist/internal/routes/index.js +3 -0
- package/dist/internal/routes/index.js.map +1 -1
- package/dist/internal/routes/providers/across.d.ts +3 -0
- package/dist/internal/routes/providers/across.d.ts.map +1 -1
- package/dist/internal/routes/providers/across.js +11 -0
- package/dist/internal/routes/providers/across.js.map +1 -1
- package/dist/internal/routes/providers/legacyMesh.d.ts +29 -0
- package/dist/internal/routes/providers/legacyMesh.d.ts.map +1 -0
- package/dist/internal/routes/providers/legacyMesh.js +474 -0
- package/dist/internal/routes/providers/legacyMesh.js.map +1 -0
- package/dist/internal/routes/providers/legacyMeshDelivery.d.ts +59 -0
- package/dist/internal/routes/providers/legacyMeshDelivery.d.ts.map +1 -0
- package/dist/internal/routes/providers/legacyMeshDelivery.js +229 -0
- package/dist/internal/routes/providers/legacyMeshDelivery.js.map +1 -0
- package/dist/internal/routes/providers/legacyMeshOutbound.d.ts +19 -0
- package/dist/internal/routes/providers/legacyMeshOutbound.d.ts.map +1 -0
- package/dist/internal/routes/providers/legacyMeshOutbound.js +457 -0
- package/dist/internal/routes/providers/legacyMeshOutbound.js.map +1 -0
- package/dist/internal/routes/providers/legacyMeshOutboundDelivery.d.ts +123 -0
- package/dist/internal/routes/providers/legacyMeshOutboundDelivery.d.ts.map +1 -0
- package/dist/internal/routes/providers/legacyMeshOutboundDelivery.js +333 -0
- package/dist/internal/routes/providers/legacyMeshOutboundDelivery.js.map +1 -0
- package/dist/internal/routes/providers/propAmm.d.ts +70 -0
- package/dist/internal/routes/providers/propAmm.d.ts.map +1 -0
- package/dist/internal/routes/providers/propAmm.js +524 -0
- package/dist/internal/routes/providers/propAmm.js.map +1 -0
- package/dist/internal/routes/providers/relay.d.ts +3 -0
- package/dist/internal/routes/providers/relay.d.ts.map +1 -1
- package/dist/internal/routes/providers/relay.js +352 -41
- package/dist/internal/routes/providers/relay.js.map +1 -1
- package/dist/internal/routes/providers/rhino.d.ts +3 -0
- package/dist/internal/routes/providers/rhino.d.ts.map +1 -1
- package/dist/internal/routes/providers/rhino.js +11 -0
- package/dist/internal/routes/providers/rhino.js.map +1 -1
- package/dist/internal/routes/providers/squid.d.ts +3 -0
- package/dist/internal/routes/providers/squid.d.ts.map +1 -1
- package/dist/internal/routes/providers/squid.js +19 -0
- package/dist/internal/routes/providers/squid.js.map +1 -1
- package/dist/internal/routes/providers/stargate.d.ts.map +1 -1
- package/dist/internal/routes/providers/stargate.js +22 -9
- package/dist/internal/routes/providers/stargate.js.map +1 -1
- package/dist/internal/routes/providers/symbiosis.d.ts.map +1 -1
- package/dist/internal/routes/providers/symbiosis.js +13 -17
- package/dist/internal/routes/providers/symbiosis.js.map +1 -1
- package/dist/providers/index.d.ts +14 -0
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +6 -0
- package/dist/providers/index.js.map +1 -1
- package/package.json +16 -6
- package/src/ApiKey.ts +7 -3
- package/src/ApiKeys.test.ts +652 -8
- package/src/ApiKeys.ts +191 -11
- package/src/App.test.ts +405 -18
- package/src/App.ts +51 -15
- package/src/Client.test-d.ts +157 -10
- package/src/Client.test.ts +4 -4
- package/src/Scope.ts +1 -2
- package/src/admin/App.ts +11 -5
- package/src/admin/apps/api-keys.test.ts +98 -2
- package/src/admin/apps/api-keys.ts +21 -12
- package/src/admin/apps/earn-vaults.test.ts +76 -7
- package/src/admin/apps/earn-vaults.ts +47 -8
- package/src/admin/apps/organizations.test.ts +147 -31
- package/src/admin/apps/organizations.ts +5 -4
- package/src/admin/apps/route-policies.test.ts +220 -0
- package/src/admin/apps/route-policies.ts +322 -0
- package/src/admin/apps/routes-support.test.ts +107 -2
- package/src/admin/apps/routes-support.ts +43 -3
- package/src/admin/apps/routes.test.ts +150 -0
- package/src/admin/apps/routes.ts +97 -1
- package/src/admin/apps/scopes.test.ts +1 -1
- package/src/admin/index.ts +0 -1
- package/src/admin/ui/plugin.ts +2 -1
- package/src/admin/ui/src/components/Dialog.tsx +1 -1
- package/src/admin/ui/src/components/EarnVaultForm.tsx +45 -0
- package/src/admin/ui/src/components/RoutePicker.tsx +79 -0
- package/src/admin/ui/src/lib/earn-vaults.ts +1 -1
- package/src/admin/ui/src/lib/route-policies.test.ts +452 -0
- package/src/admin/ui/src/lib/route-policies.ts +232 -0
- package/src/admin/ui/src/lib/routes.ts +34 -0
- package/src/admin/ui/src/routeTree.gen.ts +21 -0
- package/src/admin/ui/src/routes/api-keys.tsx +21 -2
- package/src/admin/ui/src/routes/early-access.tsx +1 -0
- package/src/admin/ui/src/routes/earn.vaults.tsx +1 -0
- package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +22 -0
- package/src/admin/ui/src/routes/earn.vaults_.new.tsx +10 -0
- package/src/admin/ui/src/routes/organizations.tsx +1 -0
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +18 -3
- package/src/admin/ui/src/routes/route-policies.tsx +678 -0
- package/src/admin/ui/src/routes/routes.tsx +85 -2
- package/src/admin/ui/src/routes/routes_.support.tsx +6 -22
- package/src/admin/ui/src/routes/subsidies.tsx +1 -0
- package/src/admin/ui/src/routes/verified-tokens.tsx +1 -0
- package/src/admin/ui.generated.ts +258 -202
- package/src/analytics/Analytics.test.ts +4 -50
- package/src/analytics/Analytics.ts +65 -1
- package/src/analytics/tables/requestEvents.test.ts +402 -1
- package/src/analytics/tables/requestEvents.ts +62 -93
- package/src/apps/data/routes/activities.test.ts +315 -14
- package/src/apps/data/routes/activities.ts +60 -0
- package/src/apps/data/routes/balances.ts +5 -7
- package/src/apps/data/routes/earn.bench.ts +18 -0
- package/src/apps/data/routes/earn.local.test.ts +507 -0
- package/src/apps/data/routes/earn.test.ts +405 -127
- package/src/apps/data/routes/earn.ts +660 -270
- package/src/apps/data/routes/exchanges.bench.ts +3 -1
- package/src/apps/data/routes/exchanges.test.ts +166 -2
- package/src/apps/data/routes/exchanges.ts +308 -101
- package/src/apps/data/routes/fee-amm.test.ts +134 -2
- package/src/apps/data/routes/fee-amm.ts +122 -60
- package/src/apps/data/routes/receipts.test.ts +21 -18
- package/src/apps/data/routes/rpc.test.ts +2 -2
- package/src/apps/data/routes/tokens.provenance.test.ts +157 -0
- package/src/apps/data/routes/tokens.test.ts +4 -4
- package/src/apps/data/routes/tokens.ts +11 -6
- package/src/apps/data/routes/transactions.test.ts +29 -0
- package/src/apps/data/routes/transactions.ts +33 -22
- package/src/apps/data/routes/webhooks.test.ts +12 -3
- package/src/apps/data/routes/webhooks.ts +2 -1
- package/src/apps/management/App.ts +4 -0
- package/src/apps/management/Billing.test.ts +253 -27
- package/src/apps/management/Billing.ts +83 -29
- package/src/apps/management/routes/api-keys.test.ts +1 -1
- package/src/apps/management/routes/api-keys.ts +85 -11
- package/src/apps/management/routes/billing.test.ts +68 -4
- package/src/apps/management/routes/cli.test.ts +370 -0
- package/src/apps/management/routes/cli.ts +533 -0
- package/src/apps/management/routes/me.test.ts +14 -4
- package/src/apps/management/routes/orgs.test.ts +108 -4
- package/src/apps/management/routes/orgs.ts +7 -2
- package/src/apps/management/routes/usage.test.ts +2 -2
- package/src/apps/mpp/internal/Policy.test.ts +51 -4
- package/src/apps/mpp/internal/Policy.ts +6 -2
- package/src/apps/mpp/internal/Sponsorship.test.ts +29 -0
- package/src/apps/mpp/internal/Sponsorship.ts +6 -4
- package/src/apps/relay/App.test.ts +85 -1
- package/src/apps/relay/App.ts +28 -4
- package/src/apps/relay/Sponsorships.test.ts +97 -1
- package/src/apps/relay/Sponsorships.ts +77 -66
- package/src/apps/routes/Access.test.ts +319 -0
- package/src/apps/routes/Access.ts +147 -0
- package/src/apps/routes/App.ts +10 -0
- package/src/apps/routes/routes/chains.test.ts +3 -2
- package/src/apps/routes/routes/deposit-addresses.test.ts +978 -34
- package/src/apps/routes/routes/deposit-addresses.ts +243 -32
- package/src/apps/routes/routes/propAmm.local.test.ts +951 -0
- package/src/apps/routes/routes/quotes.test.ts +81 -8
- package/src/apps/routes/routes/quotes.ts +109 -27
- package/src/apps/routes/routes/transfers.test.ts +252 -15
- package/src/apps/routes/routes/transfers.ts +212 -33
- package/src/cli/ApiKeys.test.ts +265 -0
- package/src/cli/ApiKeys.ts +189 -0
- package/src/cli/Cli.test.ts +188 -0
- package/src/cli/Cli.ts +280 -12
- package/src/cli/Credentials.test.ts +122 -0
- package/src/cli/Credentials.ts +144 -0
- package/src/cli/Spec.test.ts +133 -0
- package/src/cli/Spec.ts +132 -0
- package/src/cli/bin.test.ts +49 -0
- package/src/cli/bin.ts +5 -1
- package/src/cli/commands/auth.test.ts +138 -0
- package/src/cli/commands/auth.ts +254 -0
- package/src/cli/commands/keys.test.ts +68 -0
- package/src/cli/commands/keys.ts +125 -0
- package/src/cloudflare.ts +184 -36
- package/src/db/Db.test.ts +877 -0
- package/src/db/Db.ts +498 -1
- package/src/db/Schema.ts +75 -4
- package/src/db/tables/apiKeyAdmissions.test.ts +57 -0
- package/src/db/tables/apiKeyAdmissions.ts +101 -11
- package/src/db/tables/apiKeyOwnerTombstones.ts +2 -2
- package/src/db/tables/authAccounts.test.ts +30 -0
- package/src/db/tables/authAccounts.ts +1 -0
- package/src/db/tables/earnVaults.test.ts +34 -0
- package/src/db/tables/earnVaults.ts +17 -2
- package/src/db/tables/organizations.test.ts +148 -84
- package/src/db/tables/organizations.ts +11 -43
- package/src/db/tables/requestUsage.ts +13 -2
- package/src/db/tables/rewardCampaigns.test.ts +163 -0
- package/src/db/tables/rewardEligibilityAssociations.test.ts +14 -0
- package/src/db/tables/rewardEligibilityAssociations.ts +24 -0
- package/src/db/tables/rewardRuns.ts +4 -0
- package/src/db/tables/rewardTransactionAttempts.ts +2 -0
- package/src/db/tables/routesDepositAddresses.test.ts +263 -0
- package/src/db/tables/routesDepositAddresses.ts +118 -34
- package/src/db/tables/routesDeposits.test.ts +66 -5
- package/src/db/tables/routesDeposits.ts +47 -26
- package/src/db/tables/routesIdempotency.test.ts +80 -0
- package/src/db/tables/routesIdempotency.ts +2 -0
- package/src/db/tables/routesPolicies.test.ts +143 -0
- package/src/db/tables/routesPolicies.ts +251 -0
- package/src/db/tables/routesTransferSubsidies.ts +64 -0
- package/src/db/tables/routesTransferSubsidyNonces.ts +16 -4
- package/src/db/tables/routesTransfers.test.ts +183 -2
- package/src/db/tables/routesTransfers.ts +65 -6
- package/src/db/tables/sponsoredTransactions.test.ts +351 -76
- package/src/db/tables/sponsoredTransactions.ts +182 -38
- package/src/db/tables/users.test.ts +51 -0
- package/src/db/tables/users.ts +12 -0
- package/src/handlers/internal/multisig.store.test.ts +120 -0
- package/src/handlers/internal/multisig.test.ts +389 -0
- package/src/handlers/internal/multisig.ts +13 -10
- package/src/handlers/relay.test.ts +259 -83
- package/src/handlers/relay.ts +36 -17
- package/src/internal/Auth.test.ts +291 -8
- package/src/internal/Auth.ts +227 -96
- package/src/internal/BetterAuth.test.ts +58 -22
- package/src/internal/BetterAuth.ts +23 -17
- package/src/internal/Cache.ts +3 -1
- package/src/internal/CliAuth.test.ts +279 -0
- package/src/internal/CliAuth.ts +319 -0
- package/src/internal/EarnSharePrices.test.ts +25 -0
- package/src/internal/EarnSharePrices.ts +9 -2
- package/src/internal/EarnVaults.test.ts +67 -0
- package/src/internal/EarnVaults.ts +299 -4
- package/src/internal/EarnWithdrawals.test.ts +315 -0
- package/src/internal/EarnWithdrawals.ts +266 -0
- package/src/internal/ExecutionContext.ts +31 -0
- package/src/internal/Log.test.ts +210 -0
- package/src/internal/Log.ts +180 -142
- package/src/internal/MetricSink.test.ts +190 -15
- package/src/internal/MetricSink.ts +27 -1
- package/src/internal/RateLimit.test.ts +144 -8
- package/src/internal/RateLimit.ts +254 -26
- package/src/internal/Store.ts +4 -5
- package/src/internal/Timing.test.ts +32 -0
- package/src/internal/Timing.ts +20 -1
- package/src/internal/Tron.test-d.ts +22 -0
- package/src/internal/Tron.test.ts +94 -0
- package/src/internal/Tron.ts +289 -0
- package/src/internal/Viem.rpc.test.ts +76 -0
- package/src/internal/Viem.ts +29 -6
- package/src/internal/rewards/Read.test.ts +109 -0
- package/src/internal/rewards/Read.ts +13 -4
- package/src/internal/routes/Action.test.ts +70 -0
- package/src/internal/routes/Action.ts +76 -1
- package/src/internal/routes/Chain.test.ts +18 -0
- package/src/internal/routes/Chain.ts +5 -0
- package/src/internal/routes/DepositAddress.ts +5 -0
- package/src/internal/routes/Evidence.test.ts +64 -0
- package/src/internal/routes/Evidence.ts +11 -3
- package/src/internal/routes/EvmTransferSettlement.ts +213 -0
- package/src/internal/routes/Policy.test.ts +316 -0
- package/src/internal/routes/Policy.ts +399 -0
- package/src/internal/routes/Provider.test.ts +103 -2
- package/src/internal/routes/Provider.ts +149 -27
- package/src/internal/routes/Quota.test.ts +149 -0
- package/src/internal/routes/Quota.ts +226 -0
- package/src/internal/routes/Reconciliation.local.test.ts +285 -0
- package/src/internal/routes/Reconciliation.test.ts +371 -13
- package/src/internal/routes/Reconciliation.ts +193 -42
- package/src/internal/routes/SolanaTransferSettlement.ts +232 -0
- package/src/internal/routes/SolanaTransferSubsidy.test.ts +471 -0
- package/src/internal/routes/SolanaTransferSubsidy.ts +760 -0
- package/src/internal/routes/SourceObservation.test.ts +221 -0
- package/src/internal/routes/Subsidy.local.test.ts +46 -0
- package/src/internal/routes/Subsidy.ts +4 -2
- package/src/internal/routes/Transfer.solana.test.ts +389 -0
- package/src/internal/routes/Transfer.test.ts +130 -1
- package/src/internal/routes/Transfer.tron.test.ts +172 -0
- package/src/internal/routes/Transfer.ts +866 -8
- package/src/internal/routes/TransferReconciliation.test.ts +26 -4
- package/src/internal/routes/TransferReconciliation.ts +91 -166
- package/src/internal/routes/TransferSettlement.ts +48 -0
- package/src/internal/routes/TransferSubsidy.local.test.ts +143 -0
- package/src/internal/routes/TransferSubsidy.test.ts +34 -4
- package/src/internal/routes/TransferSubsidy.ts +87 -12
- package/src/internal/routes/TronTransferSettlement.ts +212 -0
- package/src/internal/routes/TronTransferSubsidy.test.ts +109 -0
- package/src/internal/routes/TronTransferSubsidy.ts +619 -0
- package/src/internal/routes/index.test.ts +3 -0
- package/src/internal/routes/index.ts +3 -0
- package/src/internal/routes/providers/across.ts +13 -0
- package/src/internal/routes/providers/index.test.ts +141 -0
- package/src/internal/routes/providers/legacyMesh.test.ts +484 -0
- package/src/internal/routes/providers/legacyMesh.ts +633 -0
- package/src/internal/routes/providers/legacyMeshDelivery.test.ts +306 -0
- package/src/internal/routes/providers/legacyMeshDelivery.ts +320 -0
- package/src/internal/routes/providers/legacyMeshOutbound.test.ts +401 -0
- package/src/internal/routes/providers/legacyMeshOutbound.ts +566 -0
- package/src/internal/routes/providers/legacyMeshOutboundDelivery.ts +473 -0
- package/src/internal/routes/providers/propAmm.ts +640 -0
- package/src/internal/routes/providers/relay.test.ts +1263 -41
- package/src/internal/routes/providers/relay.ts +423 -38
- package/src/internal/routes/providers/rhino.ts +14 -1
- package/src/internal/routes/providers/squid.ts +21 -0
- package/src/internal/routes/providers/stargate.test.ts +105 -1
- package/src/internal/routes/providers/stargate.ts +22 -9
- package/src/internal/routes/providers/symbiosis.ts +13 -47
- package/src/providers/index.test.ts +2 -0
- package/src/providers/index.ts +18 -0
- package/dist/admin/Access.d.ts +0 -39
- package/dist/admin/Access.d.ts.map +0 -1
- package/dist/admin/Access.js +0 -73
- package/dist/admin/Access.js.map +0 -1
- package/src/admin/Access.test.ts +0 -130
- package/src/admin/Access.ts +0 -85
package/dist/admin/App.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type Context } from 'hono';
|
|
1
2
|
import { type RequestIdVariables } from 'hono/request-id';
|
|
2
3
|
import type { Address, Chain } from 'viem';
|
|
3
4
|
import type * as Assets from '../Assets.js';
|
|
@@ -106,6 +107,444 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
106
107
|
};
|
|
107
108
|
};
|
|
108
109
|
}, "/routes/support"> | import("hono/types").MergeSchemaPath<{
|
|
110
|
+
"/": {
|
|
111
|
+
$get: {
|
|
112
|
+
output: {
|
|
113
|
+
error: {
|
|
114
|
+
code: "policy_scope_not_found";
|
|
115
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
116
|
+
message: string;
|
|
117
|
+
};
|
|
118
|
+
requestId: string;
|
|
119
|
+
};
|
|
120
|
+
outputFormat: "json";
|
|
121
|
+
status: 404;
|
|
122
|
+
input: {
|
|
123
|
+
query: {
|
|
124
|
+
apiKeyId?: string | string[];
|
|
125
|
+
environment: string | string[];
|
|
126
|
+
orgId: string | string[];
|
|
127
|
+
projectId?: string | string[];
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
} | {
|
|
131
|
+
output: {
|
|
132
|
+
name: string | null;
|
|
133
|
+
layers: {
|
|
134
|
+
policy: {
|
|
135
|
+
access?: {
|
|
136
|
+
destinationChainId: string;
|
|
137
|
+
destinationTokenId: string;
|
|
138
|
+
providerId?: string | undefined;
|
|
139
|
+
sourceChainId: string;
|
|
140
|
+
sourceTokenId: string;
|
|
141
|
+
}[] | null | undefined;
|
|
142
|
+
maxAmount?: string | undefined;
|
|
143
|
+
subsidyEnabled?: boolean | undefined;
|
|
144
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
145
|
+
subsidyRoutes?: {
|
|
146
|
+
destinationChainId: string;
|
|
147
|
+
destinationTokenId: string;
|
|
148
|
+
providerId?: string | undefined;
|
|
149
|
+
sourceChainId: string;
|
|
150
|
+
sourceTokenId: string;
|
|
151
|
+
}[] | null | undefined;
|
|
152
|
+
suspended?: boolean | undefined;
|
|
153
|
+
terms?: {
|
|
154
|
+
destinationChainId: string;
|
|
155
|
+
destinationTokenId: string;
|
|
156
|
+
providerId?: string | undefined;
|
|
157
|
+
sourceChainId: string;
|
|
158
|
+
sourceTokenId: string;
|
|
159
|
+
maxAmount?: string | undefined;
|
|
160
|
+
subsidyEligible?: boolean | undefined;
|
|
161
|
+
subsidyEnabled?: boolean | undefined;
|
|
162
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
163
|
+
}[] | undefined;
|
|
164
|
+
};
|
|
165
|
+
scope: {
|
|
166
|
+
apiKeyId?: string | undefined;
|
|
167
|
+
environment: "production" | "sandbox";
|
|
168
|
+
orgId: string;
|
|
169
|
+
projectId?: string | undefined;
|
|
170
|
+
};
|
|
171
|
+
version: number;
|
|
172
|
+
}[];
|
|
173
|
+
legacy: {
|
|
174
|
+
maxAmount: string;
|
|
175
|
+
subsidyEnabled: boolean;
|
|
176
|
+
subsidyPayer: "enterprise";
|
|
177
|
+
};
|
|
178
|
+
policy: {
|
|
179
|
+
access?: {
|
|
180
|
+
destinationChainId: string;
|
|
181
|
+
destinationTokenId: string;
|
|
182
|
+
providerId?: string | undefined;
|
|
183
|
+
sourceChainId: string;
|
|
184
|
+
sourceTokenId: string;
|
|
185
|
+
}[] | null | undefined;
|
|
186
|
+
maxAmount?: string | undefined;
|
|
187
|
+
subsidyEnabled?: boolean | undefined;
|
|
188
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
189
|
+
subsidyRoutes?: {
|
|
190
|
+
destinationChainId: string;
|
|
191
|
+
destinationTokenId: string;
|
|
192
|
+
providerId?: string | undefined;
|
|
193
|
+
sourceChainId: string;
|
|
194
|
+
sourceTokenId: string;
|
|
195
|
+
}[] | null | undefined;
|
|
196
|
+
suspended?: boolean | undefined;
|
|
197
|
+
terms?: {
|
|
198
|
+
destinationChainId: string;
|
|
199
|
+
destinationTokenId: string;
|
|
200
|
+
providerId?: string | undefined;
|
|
201
|
+
sourceChainId: string;
|
|
202
|
+
sourceTokenId: string;
|
|
203
|
+
maxAmount?: string | undefined;
|
|
204
|
+
subsidyEligible?: boolean | undefined;
|
|
205
|
+
subsidyEnabled?: boolean | undefined;
|
|
206
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
207
|
+
}[] | undefined;
|
|
208
|
+
};
|
|
209
|
+
routes: {
|
|
210
|
+
destinationChainId: string;
|
|
211
|
+
destinationTokenId: string;
|
|
212
|
+
providerId?: string | undefined;
|
|
213
|
+
sourceChainId: string;
|
|
214
|
+
sourceTokenId: string;
|
|
215
|
+
destinationChainName: string;
|
|
216
|
+
destinationTokenSymbol: string;
|
|
217
|
+
label: string;
|
|
218
|
+
sourceChainName: string;
|
|
219
|
+
sourceTokenSymbol: string;
|
|
220
|
+
}[];
|
|
221
|
+
scope: {
|
|
222
|
+
apiKeyId?: string | undefined;
|
|
223
|
+
environment: "production" | "sandbox";
|
|
224
|
+
orgId: string;
|
|
225
|
+
projectId?: string | undefined;
|
|
226
|
+
};
|
|
227
|
+
version: number;
|
|
228
|
+
};
|
|
229
|
+
outputFormat: "json";
|
|
230
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
231
|
+
input: {
|
|
232
|
+
query: {
|
|
233
|
+
apiKeyId?: string | string[];
|
|
234
|
+
environment: string | string[];
|
|
235
|
+
orgId: string | string[];
|
|
236
|
+
projectId?: string | string[];
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
} & {
|
|
242
|
+
"/": {
|
|
243
|
+
$put: {
|
|
244
|
+
output: {
|
|
245
|
+
error: {
|
|
246
|
+
code: "version_conflict";
|
|
247
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
248
|
+
message: string;
|
|
249
|
+
};
|
|
250
|
+
requestId: string;
|
|
251
|
+
};
|
|
252
|
+
outputFormat: "json";
|
|
253
|
+
status: 409;
|
|
254
|
+
input: {
|
|
255
|
+
json: {
|
|
256
|
+
policy: {
|
|
257
|
+
access?: {
|
|
258
|
+
destinationChainId: string;
|
|
259
|
+
destinationTokenId: string;
|
|
260
|
+
providerId?: string | undefined;
|
|
261
|
+
sourceChainId: string;
|
|
262
|
+
sourceTokenId: string;
|
|
263
|
+
}[] | null | undefined;
|
|
264
|
+
maxAmount?: string | undefined;
|
|
265
|
+
subsidyEnabled?: boolean | undefined;
|
|
266
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
267
|
+
subsidyRoutes?: {
|
|
268
|
+
destinationChainId: string;
|
|
269
|
+
destinationTokenId: string;
|
|
270
|
+
providerId?: string | undefined;
|
|
271
|
+
sourceChainId: string;
|
|
272
|
+
sourceTokenId: string;
|
|
273
|
+
}[] | null | undefined;
|
|
274
|
+
suspended?: boolean | undefined;
|
|
275
|
+
terms?: {
|
|
276
|
+
destinationChainId: string;
|
|
277
|
+
destinationTokenId: string;
|
|
278
|
+
providerId?: string | undefined;
|
|
279
|
+
sourceChainId: string;
|
|
280
|
+
sourceTokenId: string;
|
|
281
|
+
maxAmount?: string | undefined;
|
|
282
|
+
subsidyEligible?: boolean | undefined;
|
|
283
|
+
subsidyEnabled?: boolean | undefined;
|
|
284
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
285
|
+
}[] | undefined;
|
|
286
|
+
};
|
|
287
|
+
scope: {
|
|
288
|
+
apiKeyId?: string | undefined;
|
|
289
|
+
environment: "production" | "sandbox";
|
|
290
|
+
orgId: string;
|
|
291
|
+
projectId?: string | undefined;
|
|
292
|
+
};
|
|
293
|
+
version: number;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
} | {
|
|
297
|
+
output: {
|
|
298
|
+
error: {
|
|
299
|
+
code: "policy_scope_not_found";
|
|
300
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
301
|
+
message: string;
|
|
302
|
+
};
|
|
303
|
+
requestId: string;
|
|
304
|
+
};
|
|
305
|
+
outputFormat: "json";
|
|
306
|
+
status: 404;
|
|
307
|
+
input: {
|
|
308
|
+
json: {
|
|
309
|
+
policy: {
|
|
310
|
+
access?: {
|
|
311
|
+
destinationChainId: string;
|
|
312
|
+
destinationTokenId: string;
|
|
313
|
+
providerId?: string | undefined;
|
|
314
|
+
sourceChainId: string;
|
|
315
|
+
sourceTokenId: string;
|
|
316
|
+
}[] | null | undefined;
|
|
317
|
+
maxAmount?: string | undefined;
|
|
318
|
+
subsidyEnabled?: boolean | undefined;
|
|
319
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
320
|
+
subsidyRoutes?: {
|
|
321
|
+
destinationChainId: string;
|
|
322
|
+
destinationTokenId: string;
|
|
323
|
+
providerId?: string | undefined;
|
|
324
|
+
sourceChainId: string;
|
|
325
|
+
sourceTokenId: string;
|
|
326
|
+
}[] | null | undefined;
|
|
327
|
+
suspended?: boolean | undefined;
|
|
328
|
+
terms?: {
|
|
329
|
+
destinationChainId: string;
|
|
330
|
+
destinationTokenId: string;
|
|
331
|
+
providerId?: string | undefined;
|
|
332
|
+
sourceChainId: string;
|
|
333
|
+
sourceTokenId: string;
|
|
334
|
+
maxAmount?: string | undefined;
|
|
335
|
+
subsidyEligible?: boolean | undefined;
|
|
336
|
+
subsidyEnabled?: boolean | undefined;
|
|
337
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
338
|
+
}[] | undefined;
|
|
339
|
+
};
|
|
340
|
+
scope: {
|
|
341
|
+
apiKeyId?: string | undefined;
|
|
342
|
+
environment: "production" | "sandbox";
|
|
343
|
+
orgId: string;
|
|
344
|
+
projectId?: string | undefined;
|
|
345
|
+
};
|
|
346
|
+
version: number;
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
} | {
|
|
350
|
+
output: {
|
|
351
|
+
name: string | null;
|
|
352
|
+
layers: {
|
|
353
|
+
policy: {
|
|
354
|
+
access?: {
|
|
355
|
+
destinationChainId: string;
|
|
356
|
+
destinationTokenId: string;
|
|
357
|
+
providerId?: string | undefined;
|
|
358
|
+
sourceChainId: string;
|
|
359
|
+
sourceTokenId: string;
|
|
360
|
+
}[] | null | undefined;
|
|
361
|
+
maxAmount?: string | undefined;
|
|
362
|
+
subsidyEnabled?: boolean | undefined;
|
|
363
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
364
|
+
subsidyRoutes?: {
|
|
365
|
+
destinationChainId: string;
|
|
366
|
+
destinationTokenId: string;
|
|
367
|
+
providerId?: string | undefined;
|
|
368
|
+
sourceChainId: string;
|
|
369
|
+
sourceTokenId: string;
|
|
370
|
+
}[] | null | undefined;
|
|
371
|
+
suspended?: boolean | undefined;
|
|
372
|
+
terms?: {
|
|
373
|
+
destinationChainId: string;
|
|
374
|
+
destinationTokenId: string;
|
|
375
|
+
providerId?: string | undefined;
|
|
376
|
+
sourceChainId: string;
|
|
377
|
+
sourceTokenId: string;
|
|
378
|
+
maxAmount?: string | undefined;
|
|
379
|
+
subsidyEligible?: boolean | undefined;
|
|
380
|
+
subsidyEnabled?: boolean | undefined;
|
|
381
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
382
|
+
}[] | undefined;
|
|
383
|
+
};
|
|
384
|
+
scope: {
|
|
385
|
+
apiKeyId?: string | undefined;
|
|
386
|
+
environment: "production" | "sandbox";
|
|
387
|
+
orgId: string;
|
|
388
|
+
projectId?: string | undefined;
|
|
389
|
+
};
|
|
390
|
+
version: number;
|
|
391
|
+
}[];
|
|
392
|
+
legacy: {
|
|
393
|
+
maxAmount: string;
|
|
394
|
+
subsidyEnabled: boolean;
|
|
395
|
+
subsidyPayer: "enterprise";
|
|
396
|
+
};
|
|
397
|
+
policy: {
|
|
398
|
+
access?: {
|
|
399
|
+
destinationChainId: string;
|
|
400
|
+
destinationTokenId: string;
|
|
401
|
+
providerId?: string | undefined;
|
|
402
|
+
sourceChainId: string;
|
|
403
|
+
sourceTokenId: string;
|
|
404
|
+
}[] | null | undefined;
|
|
405
|
+
maxAmount?: string | undefined;
|
|
406
|
+
subsidyEnabled?: boolean | undefined;
|
|
407
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
408
|
+
subsidyRoutes?: {
|
|
409
|
+
destinationChainId: string;
|
|
410
|
+
destinationTokenId: string;
|
|
411
|
+
providerId?: string | undefined;
|
|
412
|
+
sourceChainId: string;
|
|
413
|
+
sourceTokenId: string;
|
|
414
|
+
}[] | null | undefined;
|
|
415
|
+
suspended?: boolean | undefined;
|
|
416
|
+
terms?: {
|
|
417
|
+
destinationChainId: string;
|
|
418
|
+
destinationTokenId: string;
|
|
419
|
+
providerId?: string | undefined;
|
|
420
|
+
sourceChainId: string;
|
|
421
|
+
sourceTokenId: string;
|
|
422
|
+
maxAmount?: string | undefined;
|
|
423
|
+
subsidyEligible?: boolean | undefined;
|
|
424
|
+
subsidyEnabled?: boolean | undefined;
|
|
425
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
426
|
+
}[] | undefined;
|
|
427
|
+
};
|
|
428
|
+
routes: {
|
|
429
|
+
destinationChainId: string;
|
|
430
|
+
destinationTokenId: string;
|
|
431
|
+
providerId?: string | undefined;
|
|
432
|
+
sourceChainId: string;
|
|
433
|
+
sourceTokenId: string;
|
|
434
|
+
destinationChainName: string;
|
|
435
|
+
destinationTokenSymbol: string;
|
|
436
|
+
label: string;
|
|
437
|
+
sourceChainName: string;
|
|
438
|
+
sourceTokenSymbol: string;
|
|
439
|
+
}[];
|
|
440
|
+
scope: {
|
|
441
|
+
apiKeyId?: string | undefined;
|
|
442
|
+
environment: "production" | "sandbox";
|
|
443
|
+
orgId: string;
|
|
444
|
+
projectId?: string | undefined;
|
|
445
|
+
};
|
|
446
|
+
version: number;
|
|
447
|
+
};
|
|
448
|
+
outputFormat: "json";
|
|
449
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
450
|
+
input: {
|
|
451
|
+
json: {
|
|
452
|
+
policy: {
|
|
453
|
+
access?: {
|
|
454
|
+
destinationChainId: string;
|
|
455
|
+
destinationTokenId: string;
|
|
456
|
+
providerId?: string | undefined;
|
|
457
|
+
sourceChainId: string;
|
|
458
|
+
sourceTokenId: string;
|
|
459
|
+
}[] | null | undefined;
|
|
460
|
+
maxAmount?: string | undefined;
|
|
461
|
+
subsidyEnabled?: boolean | undefined;
|
|
462
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
463
|
+
subsidyRoutes?: {
|
|
464
|
+
destinationChainId: string;
|
|
465
|
+
destinationTokenId: string;
|
|
466
|
+
providerId?: string | undefined;
|
|
467
|
+
sourceChainId: string;
|
|
468
|
+
sourceTokenId: string;
|
|
469
|
+
}[] | null | undefined;
|
|
470
|
+
suspended?: boolean | undefined;
|
|
471
|
+
terms?: {
|
|
472
|
+
destinationChainId: string;
|
|
473
|
+
destinationTokenId: string;
|
|
474
|
+
providerId?: string | undefined;
|
|
475
|
+
sourceChainId: string;
|
|
476
|
+
sourceTokenId: string;
|
|
477
|
+
maxAmount?: string | undefined;
|
|
478
|
+
subsidyEligible?: boolean | undefined;
|
|
479
|
+
subsidyEnabled?: boolean | undefined;
|
|
480
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
481
|
+
}[] | undefined;
|
|
482
|
+
};
|
|
483
|
+
scope: {
|
|
484
|
+
apiKeyId?: string | undefined;
|
|
485
|
+
environment: "production" | "sandbox";
|
|
486
|
+
orgId: string;
|
|
487
|
+
projectId?: string | undefined;
|
|
488
|
+
};
|
|
489
|
+
version: number;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
} | {
|
|
493
|
+
output: {
|
|
494
|
+
error: {
|
|
495
|
+
code: "policy_rules_invalid";
|
|
496
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
497
|
+
message: string;
|
|
498
|
+
};
|
|
499
|
+
requestId: string;
|
|
500
|
+
};
|
|
501
|
+
outputFormat: "json";
|
|
502
|
+
status: 400;
|
|
503
|
+
input: {
|
|
504
|
+
json: {
|
|
505
|
+
policy: {
|
|
506
|
+
access?: {
|
|
507
|
+
destinationChainId: string;
|
|
508
|
+
destinationTokenId: string;
|
|
509
|
+
providerId?: string | undefined;
|
|
510
|
+
sourceChainId: string;
|
|
511
|
+
sourceTokenId: string;
|
|
512
|
+
}[] | null | undefined;
|
|
513
|
+
maxAmount?: string | undefined;
|
|
514
|
+
subsidyEnabled?: boolean | undefined;
|
|
515
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
516
|
+
subsidyRoutes?: {
|
|
517
|
+
destinationChainId: string;
|
|
518
|
+
destinationTokenId: string;
|
|
519
|
+
providerId?: string | undefined;
|
|
520
|
+
sourceChainId: string;
|
|
521
|
+
sourceTokenId: string;
|
|
522
|
+
}[] | null | undefined;
|
|
523
|
+
suspended?: boolean | undefined;
|
|
524
|
+
terms?: {
|
|
525
|
+
destinationChainId: string;
|
|
526
|
+
destinationTokenId: string;
|
|
527
|
+
providerId?: string | undefined;
|
|
528
|
+
sourceChainId: string;
|
|
529
|
+
sourceTokenId: string;
|
|
530
|
+
maxAmount?: string | undefined;
|
|
531
|
+
subsidyEligible?: boolean | undefined;
|
|
532
|
+
subsidyEnabled?: boolean | undefined;
|
|
533
|
+
subsidyPayer?: "enterprise" | "tempo" | undefined;
|
|
534
|
+
}[] | undefined;
|
|
535
|
+
};
|
|
536
|
+
scope: {
|
|
537
|
+
apiKeyId?: string | undefined;
|
|
538
|
+
environment: "production" | "sandbox";
|
|
539
|
+
orgId: string;
|
|
540
|
+
projectId?: string | undefined;
|
|
541
|
+
};
|
|
542
|
+
version: number;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
}, "/route-policies"> | import("hono/types").MergeSchemaPath<{
|
|
109
548
|
"/transactions": {
|
|
110
549
|
$get: {
|
|
111
550
|
output: {
|
|
@@ -362,6 +801,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
362
801
|
status: 502;
|
|
363
802
|
input: {
|
|
364
803
|
json: {
|
|
804
|
+
orgId?: string | undefined;
|
|
365
805
|
allowedIps?: readonly string[] | undefined;
|
|
366
806
|
billingActive?: boolean | undefined;
|
|
367
807
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -370,7 +810,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
370
810
|
limit: number;
|
|
371
811
|
period: "minute" | "second";
|
|
372
812
|
}> | undefined;
|
|
373
|
-
orgId?: string | undefined;
|
|
374
813
|
expiresAt?: string | undefined;
|
|
375
814
|
name: string;
|
|
376
815
|
scopes: readonly ("*" | "data:read" | "indexer:query" | "management:read" | "management:write" | "mpp:write" | "rewards:read" | "rewards:write" | "routes:read" | "routes:write" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write" | `zone:${number}:read` | `zone:${number}:write`)[];
|
|
@@ -389,6 +828,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
389
828
|
status: 404;
|
|
390
829
|
input: {
|
|
391
830
|
json: {
|
|
831
|
+
orgId?: string | undefined;
|
|
392
832
|
allowedIps?: readonly string[] | undefined;
|
|
393
833
|
billingActive?: boolean | undefined;
|
|
394
834
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -397,7 +837,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
397
837
|
limit: number;
|
|
398
838
|
period: "minute" | "second";
|
|
399
839
|
}> | undefined;
|
|
400
|
-
orgId?: string | undefined;
|
|
401
840
|
expiresAt?: string | undefined;
|
|
402
841
|
name: string;
|
|
403
842
|
scopes: readonly ("*" | "data:read" | "indexer:query" | "management:read" | "management:write" | "mpp:write" | "rewards:read" | "rewards:write" | "routes:read" | "routes:write" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write" | `zone:${number}:read` | `zone:${number}:write`)[];
|
|
@@ -405,30 +844,18 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
405
844
|
};
|
|
406
845
|
} | {
|
|
407
846
|
output: {
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
projectId?: string | undefined;
|
|
415
|
-
rateLimits?: {
|
|
416
|
-
[x: string]: {
|
|
417
|
-
limit: number;
|
|
418
|
-
period: "minute" | "second";
|
|
419
|
-
};
|
|
420
|
-
} | undefined;
|
|
421
|
-
scopes: readonly string[];
|
|
422
|
-
createdAt: string;
|
|
423
|
-
createdBy?: string | undefined;
|
|
424
|
-
expiresAt?: string | undefined;
|
|
425
|
-
tokenLast4: string;
|
|
426
|
-
token: string;
|
|
847
|
+
error: {
|
|
848
|
+
code: "api_key_limit_reached";
|
|
849
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
850
|
+
message: string;
|
|
851
|
+
};
|
|
852
|
+
requestId: string;
|
|
427
853
|
};
|
|
428
854
|
outputFormat: "json";
|
|
429
|
-
status:
|
|
855
|
+
status: 409;
|
|
430
856
|
input: {
|
|
431
857
|
json: {
|
|
858
|
+
orgId?: string | undefined;
|
|
432
859
|
allowedIps?: readonly string[] | undefined;
|
|
433
860
|
billingActive?: boolean | undefined;
|
|
434
861
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -437,7 +864,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
437
864
|
limit: number;
|
|
438
865
|
period: "minute" | "second";
|
|
439
866
|
}> | undefined;
|
|
440
|
-
orgId?: string | undefined;
|
|
441
867
|
expiresAt?: string | undefined;
|
|
442
868
|
name: string;
|
|
443
869
|
scopes: readonly ("*" | "data:read" | "indexer:query" | "management:read" | "management:write" | "mpp:write" | "rewards:read" | "rewards:write" | "routes:read" | "routes:write" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write" | `zone:${number}:read` | `zone:${number}:write`)[];
|
|
@@ -445,17 +871,31 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
445
871
|
};
|
|
446
872
|
} | {
|
|
447
873
|
output: {
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
874
|
+
createdAt: string;
|
|
875
|
+
createdBy?: string | undefined;
|
|
876
|
+
expiresAt?: string | undefined;
|
|
877
|
+
tokenLast4: string;
|
|
878
|
+
allowedIps: readonly string[];
|
|
879
|
+
billingActive?: boolean | undefined;
|
|
880
|
+
environment: "production" | "sandbox";
|
|
881
|
+
id: string;
|
|
882
|
+
name?: string | undefined;
|
|
883
|
+
orgId: string;
|
|
884
|
+
projectId?: string | undefined;
|
|
885
|
+
rateLimits?: {
|
|
886
|
+
[x: string]: {
|
|
887
|
+
limit: number;
|
|
888
|
+
period: "minute" | "second";
|
|
889
|
+
};
|
|
890
|
+
} | undefined;
|
|
891
|
+
scopes: readonly string[];
|
|
892
|
+
token: string;
|
|
454
893
|
};
|
|
455
894
|
outputFormat: "json";
|
|
456
|
-
status:
|
|
895
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
457
896
|
input: {
|
|
458
897
|
json: {
|
|
898
|
+
orgId?: string | undefined;
|
|
459
899
|
allowedIps?: readonly string[] | undefined;
|
|
460
900
|
billingActive?: boolean | undefined;
|
|
461
901
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -464,7 +904,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
464
904
|
limit: number;
|
|
465
905
|
period: "minute" | "second";
|
|
466
906
|
}> | undefined;
|
|
467
|
-
orgId?: string | undefined;
|
|
468
907
|
expiresAt?: string | undefined;
|
|
469
908
|
name: string;
|
|
470
909
|
scopes: readonly ("*" | "data:read" | "indexer:query" | "management:read" | "management:write" | "mpp:write" | "rewards:read" | "rewards:write" | "routes:read" | "routes:write" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write" | `zone:${number}:read` | `zone:${number}:write`)[];
|
|
@@ -477,6 +916,10 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
477
916
|
$get: {
|
|
478
917
|
output: {
|
|
479
918
|
data: {
|
|
919
|
+
createdAt: string;
|
|
920
|
+
createdBy?: string | undefined;
|
|
921
|
+
expiresAt?: string | undefined;
|
|
922
|
+
tokenLast4: string;
|
|
480
923
|
allowedIps: readonly string[];
|
|
481
924
|
billingActive?: boolean | undefined;
|
|
482
925
|
environment: "production" | "sandbox";
|
|
@@ -491,10 +934,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
491
934
|
};
|
|
492
935
|
} | undefined;
|
|
493
936
|
scopes: readonly string[];
|
|
494
|
-
createdAt: string;
|
|
495
|
-
createdBy?: string | undefined;
|
|
496
|
-
expiresAt?: string | undefined;
|
|
497
|
-
tokenLast4: string;
|
|
498
937
|
createdByLabel: string | null;
|
|
499
938
|
organizationName: string | null;
|
|
500
939
|
projectName: string | null;
|
|
@@ -576,6 +1015,26 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
576
1015
|
};
|
|
577
1016
|
} | {
|
|
578
1017
|
output: {
|
|
1018
|
+
error: {
|
|
1019
|
+
code: "api_key_limit_reached";
|
|
1020
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1021
|
+
message: string;
|
|
1022
|
+
};
|
|
1023
|
+
requestId: string;
|
|
1024
|
+
};
|
|
1025
|
+
outputFormat: "json";
|
|
1026
|
+
status: 409;
|
|
1027
|
+
input: {
|
|
1028
|
+
param: {
|
|
1029
|
+
id: string;
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
} | {
|
|
1033
|
+
output: {
|
|
1034
|
+
createdAt: string;
|
|
1035
|
+
createdBy?: string | undefined;
|
|
1036
|
+
expiresAt?: string | undefined;
|
|
1037
|
+
tokenLast4: string;
|
|
579
1038
|
allowedIps: readonly string[];
|
|
580
1039
|
billingActive?: boolean | undefined;
|
|
581
1040
|
environment: "production" | "sandbox";
|
|
@@ -590,10 +1049,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
590
1049
|
};
|
|
591
1050
|
} | undefined;
|
|
592
1051
|
scopes: readonly string[];
|
|
593
|
-
createdAt: string;
|
|
594
|
-
createdBy?: string | undefined;
|
|
595
|
-
expiresAt?: string | undefined;
|
|
596
|
-
tokenLast4: string;
|
|
597
1052
|
token: string;
|
|
598
1053
|
};
|
|
599
1054
|
outputFormat: "json";
|
|
@@ -603,22 +1058,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
603
1058
|
id: string;
|
|
604
1059
|
};
|
|
605
1060
|
};
|
|
606
|
-
} | {
|
|
607
|
-
output: {
|
|
608
|
-
error: {
|
|
609
|
-
code: "api_key_limit_reached";
|
|
610
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
611
|
-
message: string;
|
|
612
|
-
};
|
|
613
|
-
requestId: string;
|
|
614
|
-
};
|
|
615
|
-
outputFormat: "json";
|
|
616
|
-
status: 409;
|
|
617
|
-
input: {
|
|
618
|
-
param: {
|
|
619
|
-
id: string;
|
|
620
|
-
};
|
|
621
|
-
};
|
|
622
1061
|
};
|
|
623
1062
|
};
|
|
624
1063
|
} & {
|
|
@@ -737,6 +1176,10 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
737
1176
|
};
|
|
738
1177
|
} | {
|
|
739
1178
|
output: {
|
|
1179
|
+
createdAt: string;
|
|
1180
|
+
createdBy?: string | undefined;
|
|
1181
|
+
expiresAt?: string | undefined;
|
|
1182
|
+
tokenLast4: string;
|
|
740
1183
|
allowedIps: readonly string[];
|
|
741
1184
|
billingActive?: boolean | undefined;
|
|
742
1185
|
environment: "production" | "sandbox";
|
|
@@ -751,10 +1194,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
751
1194
|
};
|
|
752
1195
|
} | undefined;
|
|
753
1196
|
scopes: readonly string[];
|
|
754
|
-
createdAt: string;
|
|
755
|
-
createdBy?: string | undefined;
|
|
756
|
-
expiresAt?: string | undefined;
|
|
757
|
-
tokenLast4: string;
|
|
758
1197
|
};
|
|
759
1198
|
outputFormat: "json";
|
|
760
1199
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -985,25 +1424,278 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
985
1424
|
status?: string | string[];
|
|
986
1425
|
} | undefined;
|
|
987
1426
|
};
|
|
988
|
-
};
|
|
989
|
-
};
|
|
990
|
-
} & {
|
|
991
|
-
"/transfers/:id": {
|
|
992
|
-
$get: {
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1429
|
+
} & {
|
|
1430
|
+
"/transfers/:id": {
|
|
1431
|
+
$get: {
|
|
1432
|
+
output: {
|
|
1433
|
+
error: {
|
|
1434
|
+
code: "routes_transfer_not_found";
|
|
1435
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1436
|
+
message: string;
|
|
1437
|
+
};
|
|
1438
|
+
requestId: string;
|
|
1439
|
+
};
|
|
1440
|
+
outputFormat: "json";
|
|
1441
|
+
status: 404;
|
|
1442
|
+
input: {
|
|
1443
|
+
param: {
|
|
1444
|
+
id: string;
|
|
1445
|
+
};
|
|
1446
|
+
};
|
|
1447
|
+
} | {
|
|
1448
|
+
output: {
|
|
1449
|
+
createdAt: string;
|
|
1450
|
+
destinationAmount?: {
|
|
1451
|
+
baseUnits: string;
|
|
1452
|
+
currency: string;
|
|
1453
|
+
decimals: number;
|
|
1454
|
+
formatted: string;
|
|
1455
|
+
} | undefined;
|
|
1456
|
+
destinationAmountMin?: {
|
|
1457
|
+
baseUnits: string;
|
|
1458
|
+
currency: string;
|
|
1459
|
+
decimals: number;
|
|
1460
|
+
formatted: string;
|
|
1461
|
+
} | undefined;
|
|
1462
|
+
destinationAmountRequired?: {
|
|
1463
|
+
baseUnits: string;
|
|
1464
|
+
currency: string;
|
|
1465
|
+
decimals: number;
|
|
1466
|
+
formatted: string;
|
|
1467
|
+
} | undefined;
|
|
1468
|
+
destinationChain: {
|
|
1469
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
1470
|
+
id: string;
|
|
1471
|
+
kind: "evm" | "solana" | "tron";
|
|
1472
|
+
name: string;
|
|
1473
|
+
};
|
|
1474
|
+
destinationToken: {
|
|
1475
|
+
address: string;
|
|
1476
|
+
currency: string;
|
|
1477
|
+
decimals: number;
|
|
1478
|
+
name: string;
|
|
1479
|
+
standard: string;
|
|
1480
|
+
symbol: string;
|
|
1481
|
+
tokenKey: string;
|
|
1482
|
+
verified: boolean;
|
|
1483
|
+
};
|
|
1484
|
+
destinationTransactionHashes?: string[] | undefined;
|
|
1485
|
+
fees: {
|
|
1486
|
+
amount: {
|
|
1487
|
+
baseUnits: string;
|
|
1488
|
+
currency: string;
|
|
1489
|
+
decimals: number;
|
|
1490
|
+
formatted: string;
|
|
1491
|
+
};
|
|
1492
|
+
side: "destination" | "source";
|
|
1493
|
+
token: {
|
|
1494
|
+
address: string;
|
|
1495
|
+
currency: string;
|
|
1496
|
+
decimals: number;
|
|
1497
|
+
name: string;
|
|
1498
|
+
standard: string;
|
|
1499
|
+
symbol: string;
|
|
1500
|
+
tokenKey: string;
|
|
1501
|
+
verified: boolean;
|
|
1502
|
+
};
|
|
1503
|
+
type: "provider";
|
|
1504
|
+
}[];
|
|
1505
|
+
id: string;
|
|
1506
|
+
method: "depositAddress" | "transaction";
|
|
1507
|
+
mode: "exactDestination" | "exactSource";
|
|
1508
|
+
provider: {
|
|
1509
|
+
id: string;
|
|
1510
|
+
name: string;
|
|
1511
|
+
};
|
|
1512
|
+
quote: {
|
|
1513
|
+
expiresAt: string;
|
|
1514
|
+
sampledAt: string;
|
|
1515
|
+
};
|
|
1516
|
+
recipient: string;
|
|
1517
|
+
refundAddress?: string | undefined;
|
|
1518
|
+
refundAmount?: {
|
|
1519
|
+
baseUnits: string;
|
|
1520
|
+
currency: string;
|
|
1521
|
+
decimals: number;
|
|
1522
|
+
formatted: string;
|
|
1523
|
+
} | undefined;
|
|
1524
|
+
refundTransactionHashes?: string[] | undefined;
|
|
1525
|
+
sender?: string | undefined;
|
|
1526
|
+
sourceAmount: {
|
|
1527
|
+
baseUnits: string;
|
|
1528
|
+
currency: string;
|
|
1529
|
+
decimals: number;
|
|
1530
|
+
formatted: string;
|
|
1531
|
+
};
|
|
1532
|
+
sourceAmountMax?: {
|
|
1533
|
+
baseUnits: string;
|
|
1534
|
+
currency: string;
|
|
1535
|
+
decimals: number;
|
|
1536
|
+
formatted: string;
|
|
1537
|
+
} | undefined;
|
|
1538
|
+
sourceChain: {
|
|
1539
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
1540
|
+
id: string;
|
|
1541
|
+
kind: "evm" | "solana" | "tron";
|
|
1542
|
+
name: string;
|
|
1543
|
+
};
|
|
1544
|
+
sourceToken: {
|
|
1545
|
+
address: string;
|
|
1546
|
+
currency: string;
|
|
1547
|
+
decimals: number;
|
|
1548
|
+
name: string;
|
|
1549
|
+
standard: string;
|
|
1550
|
+
symbol: string;
|
|
1551
|
+
tokenKey: string;
|
|
1552
|
+
verified: boolean;
|
|
1553
|
+
};
|
|
1554
|
+
sourceTransactionHashes?: string[] | undefined;
|
|
1555
|
+
subsidize: boolean;
|
|
1556
|
+
status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
|
|
1557
|
+
statusReason?: {
|
|
1558
|
+
code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
1559
|
+
message: string;
|
|
1560
|
+
} | undefined;
|
|
1561
|
+
updatedAt: string;
|
|
1562
|
+
version: number;
|
|
1563
|
+
environment: "production" | "sandbox";
|
|
1564
|
+
organization: {
|
|
1565
|
+
id: string;
|
|
1566
|
+
name: string | null;
|
|
1567
|
+
};
|
|
1568
|
+
project: {
|
|
1569
|
+
id: string;
|
|
1570
|
+
name: string | null;
|
|
1571
|
+
} | null;
|
|
1572
|
+
statusUpdatedAt: string | null;
|
|
1573
|
+
subsidies: readonly {
|
|
1574
|
+
amount: {
|
|
1575
|
+
baseUnits: string;
|
|
1576
|
+
currency: string;
|
|
1577
|
+
decimals: number;
|
|
1578
|
+
formatted: string;
|
|
1579
|
+
};
|
|
1580
|
+
provider: string;
|
|
1581
|
+
token: {
|
|
1582
|
+
address: string;
|
|
1583
|
+
currency: string;
|
|
1584
|
+
decimals: number;
|
|
1585
|
+
name: string;
|
|
1586
|
+
standard: string;
|
|
1587
|
+
symbol: string;
|
|
1588
|
+
tokenKey: string;
|
|
1589
|
+
verified: boolean;
|
|
1590
|
+
};
|
|
1591
|
+
}[];
|
|
1592
|
+
events: {
|
|
1593
|
+
createdAt: string;
|
|
1594
|
+
status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
|
|
1595
|
+
statusReason?: {
|
|
1596
|
+
code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
1597
|
+
message: string;
|
|
1598
|
+
} | undefined;
|
|
1599
|
+
version: number;
|
|
1600
|
+
}[];
|
|
1601
|
+
providerRequestIds: readonly string[];
|
|
1602
|
+
transactions: {
|
|
1603
|
+
chainId: string;
|
|
1604
|
+
createdAt: string;
|
|
1605
|
+
role: "destination" | "refund" | "source";
|
|
1606
|
+
transactionRef: string;
|
|
1607
|
+
}[];
|
|
1608
|
+
};
|
|
1609
|
+
outputFormat: "json";
|
|
1610
|
+
status: 200;
|
|
1611
|
+
input: {
|
|
1612
|
+
param: {
|
|
1613
|
+
id: string;
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
};
|
|
1618
|
+
} & {
|
|
1619
|
+
"/transfers/:id/retry": {
|
|
1620
|
+
$post: {
|
|
1621
|
+
output: {
|
|
1622
|
+
error: {
|
|
1623
|
+
code: "routes_transfer_not_found";
|
|
1624
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1625
|
+
message: string;
|
|
1626
|
+
};
|
|
1627
|
+
requestId: string;
|
|
1628
|
+
};
|
|
1629
|
+
outputFormat: "json";
|
|
1630
|
+
status: 404;
|
|
1631
|
+
input: {
|
|
1632
|
+
param: {
|
|
1633
|
+
id: string;
|
|
1634
|
+
};
|
|
1635
|
+
} & {
|
|
1636
|
+
json: {
|
|
1637
|
+
version: number;
|
|
1638
|
+
};
|
|
1639
|
+
};
|
|
1640
|
+
} | {
|
|
1641
|
+
output: {
|
|
1642
|
+
error: {
|
|
1643
|
+
code: "version_conflict";
|
|
1644
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1645
|
+
message: string;
|
|
1646
|
+
};
|
|
1647
|
+
requestId: string;
|
|
1648
|
+
};
|
|
1649
|
+
outputFormat: "json";
|
|
1650
|
+
status: 409;
|
|
1651
|
+
input: {
|
|
1652
|
+
param: {
|
|
1653
|
+
id: string;
|
|
1654
|
+
};
|
|
1655
|
+
} & {
|
|
1656
|
+
json: {
|
|
1657
|
+
version: number;
|
|
1658
|
+
};
|
|
1659
|
+
};
|
|
1660
|
+
} | {
|
|
1661
|
+
output: {
|
|
1662
|
+
error: {
|
|
1663
|
+
code: "routes_transfer_not_retryable";
|
|
1664
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1665
|
+
message: string;
|
|
1666
|
+
};
|
|
1667
|
+
requestId: string;
|
|
1668
|
+
};
|
|
1669
|
+
outputFormat: "json";
|
|
1670
|
+
status: 409;
|
|
1671
|
+
input: {
|
|
1672
|
+
param: {
|
|
1673
|
+
id: string;
|
|
1674
|
+
};
|
|
1675
|
+
} & {
|
|
1676
|
+
json: {
|
|
1677
|
+
version: number;
|
|
1678
|
+
};
|
|
1679
|
+
};
|
|
1680
|
+
} | {
|
|
993
1681
|
output: {
|
|
994
1682
|
error: {
|
|
995
|
-
code: "
|
|
1683
|
+
code: "routes_transfer_subsidy_pending";
|
|
996
1684
|
details?: readonly Response.error.Detail[] | undefined;
|
|
997
1685
|
message: string;
|
|
998
1686
|
};
|
|
999
1687
|
requestId: string;
|
|
1000
1688
|
};
|
|
1001
1689
|
outputFormat: "json";
|
|
1002
|
-
status:
|
|
1690
|
+
status: 409;
|
|
1003
1691
|
input: {
|
|
1004
1692
|
param: {
|
|
1005
1693
|
id: string;
|
|
1006
1694
|
};
|
|
1695
|
+
} & {
|
|
1696
|
+
json: {
|
|
1697
|
+
version: number;
|
|
1698
|
+
};
|
|
1007
1699
|
};
|
|
1008
1700
|
} | {
|
|
1009
1701
|
output: {
|
|
@@ -1150,21 +1842,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1150
1842
|
verified: boolean;
|
|
1151
1843
|
};
|
|
1152
1844
|
}[];
|
|
1153
|
-
events: {
|
|
1154
|
-
createdAt: string;
|
|
1155
|
-
status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
|
|
1156
|
-
statusReason?: {
|
|
1157
|
-
code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
1158
|
-
message: string;
|
|
1159
|
-
} | undefined;
|
|
1160
|
-
version: number;
|
|
1161
|
-
}[];
|
|
1162
|
-
transactions: {
|
|
1163
|
-
chainId: string;
|
|
1164
|
-
createdAt: string;
|
|
1165
|
-
role: "destination" | "refund" | "source";
|
|
1166
|
-
transactionRef: string;
|
|
1167
|
-
}[];
|
|
1168
1845
|
};
|
|
1169
1846
|
outputFormat: "json";
|
|
1170
1847
|
status: 200;
|
|
@@ -1172,6 +1849,10 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1172
1849
|
param: {
|
|
1173
1850
|
id: string;
|
|
1174
1851
|
};
|
|
1852
|
+
} & {
|
|
1853
|
+
json: {
|
|
1854
|
+
version: number;
|
|
1855
|
+
};
|
|
1175
1856
|
};
|
|
1176
1857
|
};
|
|
1177
1858
|
};
|
|
@@ -1916,14 +2597,10 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1916
2597
|
};
|
|
1917
2598
|
slug: string;
|
|
1918
2599
|
verified: true;
|
|
2600
|
+
earnings: {
|
|
2601
|
+
rewardDistributors: `0x${string}`[];
|
|
2602
|
+
} | null;
|
|
1919
2603
|
}[];
|
|
1920
|
-
meta?: {
|
|
1921
|
-
valuation?: {
|
|
1922
|
-
asOf: string;
|
|
1923
|
-
basis: "nominal";
|
|
1924
|
-
source: string;
|
|
1925
|
-
} | undefined;
|
|
1926
|
-
} | undefined;
|
|
1927
2604
|
nextCursor: string | null;
|
|
1928
2605
|
};
|
|
1929
2606
|
outputFormat: "json";
|
|
@@ -2093,6 +2770,9 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2093
2770
|
name: string;
|
|
2094
2771
|
outputTokens: `0x${string}`[];
|
|
2095
2772
|
}[] | undefined;
|
|
2773
|
+
earnings: {
|
|
2774
|
+
rewardDistributors: `0x${string}`[];
|
|
2775
|
+
} | null;
|
|
2096
2776
|
};
|
|
2097
2777
|
outputFormat: "json";
|
|
2098
2778
|
status: 200;
|
|
@@ -3009,11 +3689,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3009
3689
|
json: {
|
|
3010
3690
|
chainId: unknown;
|
|
3011
3691
|
description?: string | null | undefined;
|
|
3692
|
+
earnings?: {
|
|
3693
|
+
rewardDistributors: `0x${string}`[];
|
|
3694
|
+
} | null | undefined;
|
|
3012
3695
|
label?: string | undefined;
|
|
3013
3696
|
privateInputTokens?: `0x${string}`[] | undefined;
|
|
3014
3697
|
privateOutputTokens?: `0x${string}`[] | undefined;
|
|
3015
3698
|
slug?: string | undefined;
|
|
3016
3699
|
vaultAddress: `0x${string}`;
|
|
3700
|
+
zoneRouter?: `0x${string}` | undefined;
|
|
3017
3701
|
zones?: {
|
|
3018
3702
|
chainId: unknown;
|
|
3019
3703
|
deploymentBlock: number;
|
|
@@ -3036,11 +3720,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3036
3720
|
json: {
|
|
3037
3721
|
chainId: unknown;
|
|
3038
3722
|
description?: string | null | undefined;
|
|
3723
|
+
earnings?: {
|
|
3724
|
+
rewardDistributors: `0x${string}`[];
|
|
3725
|
+
} | null | undefined;
|
|
3039
3726
|
label?: string | undefined;
|
|
3040
3727
|
privateInputTokens?: `0x${string}`[] | undefined;
|
|
3041
3728
|
privateOutputTokens?: `0x${string}`[] | undefined;
|
|
3042
3729
|
slug?: string | undefined;
|
|
3043
3730
|
vaultAddress: `0x${string}`;
|
|
3731
|
+
zoneRouter?: `0x${string}` | undefined;
|
|
3044
3732
|
zones?: {
|
|
3045
3733
|
chainId: unknown;
|
|
3046
3734
|
deploymentBlock: number;
|
|
@@ -3063,11 +3751,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3063
3751
|
json: {
|
|
3064
3752
|
chainId: unknown;
|
|
3065
3753
|
description?: string | null | undefined;
|
|
3754
|
+
earnings?: {
|
|
3755
|
+
rewardDistributors: `0x${string}`[];
|
|
3756
|
+
} | null | undefined;
|
|
3066
3757
|
label?: string | undefined;
|
|
3067
3758
|
privateInputTokens?: `0x${string}`[] | undefined;
|
|
3068
3759
|
privateOutputTokens?: `0x${string}`[] | undefined;
|
|
3069
3760
|
slug?: string | undefined;
|
|
3070
3761
|
vaultAddress: `0x${string}`;
|
|
3762
|
+
zoneRouter?: `0x${string}` | undefined;
|
|
3071
3763
|
zones?: {
|
|
3072
3764
|
chainId: unknown;
|
|
3073
3765
|
deploymentBlock: number;
|
|
@@ -3090,11 +3782,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3090
3782
|
json: {
|
|
3091
3783
|
chainId: unknown;
|
|
3092
3784
|
description?: string | null | undefined;
|
|
3785
|
+
earnings?: {
|
|
3786
|
+
rewardDistributors: `0x${string}`[];
|
|
3787
|
+
} | null | undefined;
|
|
3093
3788
|
label?: string | undefined;
|
|
3094
3789
|
privateInputTokens?: `0x${string}`[] | undefined;
|
|
3095
3790
|
privateOutputTokens?: `0x${string}`[] | undefined;
|
|
3096
3791
|
slug?: string | undefined;
|
|
3097
3792
|
vaultAddress: `0x${string}`;
|
|
3793
|
+
zoneRouter?: `0x${string}` | undefined;
|
|
3098
3794
|
zones?: {
|
|
3099
3795
|
chainId: unknown;
|
|
3100
3796
|
deploymentBlock: number;
|
|
@@ -3210,6 +3906,9 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3210
3906
|
};
|
|
3211
3907
|
slug: string;
|
|
3212
3908
|
verified: true;
|
|
3909
|
+
earnings: {
|
|
3910
|
+
rewardDistributors: `0x${string}`[];
|
|
3911
|
+
} | null;
|
|
3213
3912
|
};
|
|
3214
3913
|
outputFormat: "json";
|
|
3215
3914
|
status: 200;
|
|
@@ -3217,11 +3916,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3217
3916
|
json: {
|
|
3218
3917
|
chainId: unknown;
|
|
3219
3918
|
description?: string | null | undefined;
|
|
3919
|
+
earnings?: {
|
|
3920
|
+
rewardDistributors: `0x${string}`[];
|
|
3921
|
+
} | null | undefined;
|
|
3220
3922
|
label?: string | undefined;
|
|
3221
3923
|
privateInputTokens?: `0x${string}`[] | undefined;
|
|
3222
3924
|
privateOutputTokens?: `0x${string}`[] | undefined;
|
|
3223
3925
|
slug?: string | undefined;
|
|
3224
3926
|
vaultAddress: `0x${string}`;
|
|
3927
|
+
zoneRouter?: `0x${string}` | undefined;
|
|
3225
3928
|
zones?: {
|
|
3226
3929
|
chainId: unknown;
|
|
3227
3930
|
deploymentBlock: number;
|
|
@@ -3340,7 +4043,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3340
4043
|
} | {
|
|
3341
4044
|
output: {
|
|
3342
4045
|
error: {
|
|
3343
|
-
code: "
|
|
4046
|
+
code: "verified_token_not_found";
|
|
3344
4047
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3345
4048
|
message: string;
|
|
3346
4049
|
};
|
|
@@ -3362,19 +4065,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3362
4065
|
};
|
|
3363
4066
|
} | {
|
|
3364
4067
|
output: {
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
logoUri?: string | undefined;
|
|
3370
|
-
name: string;
|
|
3371
|
-
symbol: string;
|
|
3372
|
-
id: `0x${string}`;
|
|
4068
|
+
error: {
|
|
4069
|
+
code: "assets_not_enabled";
|
|
4070
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
4071
|
+
message: string;
|
|
3373
4072
|
};
|
|
3374
|
-
|
|
4073
|
+
requestId: string;
|
|
3375
4074
|
};
|
|
3376
4075
|
outputFormat: "json";
|
|
3377
|
-
status:
|
|
4076
|
+
status: 404;
|
|
3378
4077
|
input: {
|
|
3379
4078
|
json: {
|
|
3380
4079
|
address: `0x${string}`;
|
|
@@ -3389,15 +4088,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3389
4088
|
};
|
|
3390
4089
|
} | {
|
|
3391
4090
|
output: {
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
4091
|
+
data: {
|
|
4092
|
+
address: `0x${string}`;
|
|
4093
|
+
currency: string;
|
|
4094
|
+
decimals: number;
|
|
4095
|
+
logoUri?: string | undefined;
|
|
4096
|
+
name: string;
|
|
4097
|
+
symbol: string;
|
|
4098
|
+
id: `0x${string}`;
|
|
3396
4099
|
};
|
|
3397
|
-
|
|
4100
|
+
version: string;
|
|
3398
4101
|
};
|
|
3399
4102
|
outputFormat: "json";
|
|
3400
|
-
status:
|
|
4103
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3401
4104
|
input: {
|
|
3402
4105
|
json: {
|
|
3403
4106
|
address: `0x${string}`;
|
|
@@ -3413,14 +4116,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3413
4116
|
} | {
|
|
3414
4117
|
output: {
|
|
3415
4118
|
error: {
|
|
3416
|
-
code:
|
|
4119
|
+
code: string;
|
|
3417
4120
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3418
4121
|
message: string;
|
|
3419
4122
|
};
|
|
3420
4123
|
requestId: string;
|
|
3421
4124
|
};
|
|
3422
4125
|
outputFormat: "json";
|
|
3423
|
-
status:
|
|
4126
|
+
status: 400 | 413 | 415;
|
|
3424
4127
|
input: {
|
|
3425
4128
|
json: {
|
|
3426
4129
|
address: `0x${string}`;
|
|
@@ -3436,7 +4139,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3436
4139
|
} | {
|
|
3437
4140
|
output: {
|
|
3438
4141
|
error: {
|
|
3439
|
-
code: "
|
|
4142
|
+
code: "duplicate_address";
|
|
3440
4143
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3441
4144
|
message: string;
|
|
3442
4145
|
};
|
|
@@ -3459,14 +4162,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3459
4162
|
} | {
|
|
3460
4163
|
output: {
|
|
3461
4164
|
error: {
|
|
3462
|
-
code: "
|
|
4165
|
+
code: "duplicate_symbol";
|
|
3463
4166
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3464
4167
|
message: string;
|
|
3465
4168
|
};
|
|
3466
4169
|
requestId: string;
|
|
3467
4170
|
};
|
|
3468
4171
|
outputFormat: "json";
|
|
3469
|
-
status:
|
|
4172
|
+
status: 409;
|
|
3470
4173
|
input: {
|
|
3471
4174
|
json: {
|
|
3472
4175
|
address: `0x${string}`;
|
|
@@ -3536,14 +4239,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3536
4239
|
} | {
|
|
3537
4240
|
output: {
|
|
3538
4241
|
error: {
|
|
3539
|
-
code:
|
|
4242
|
+
code: "verified_token_not_found";
|
|
3540
4243
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3541
4244
|
message: string;
|
|
3542
4245
|
};
|
|
3543
4246
|
requestId: string;
|
|
3544
4247
|
};
|
|
3545
4248
|
outputFormat: "json";
|
|
3546
|
-
status:
|
|
4249
|
+
status: 404;
|
|
3547
4250
|
input: {
|
|
3548
4251
|
query: {
|
|
3549
4252
|
chainId: string | string[];
|
|
@@ -3563,14 +4266,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3563
4266
|
} | {
|
|
3564
4267
|
output: {
|
|
3565
4268
|
error: {
|
|
3566
|
-
code:
|
|
4269
|
+
code: string;
|
|
3567
4270
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3568
4271
|
message: string;
|
|
3569
4272
|
};
|
|
3570
4273
|
requestId: string;
|
|
3571
4274
|
};
|
|
3572
4275
|
outputFormat: "json";
|
|
3573
|
-
status:
|
|
4276
|
+
status: 400 | 413 | 415;
|
|
3574
4277
|
input: {
|
|
3575
4278
|
query: {
|
|
3576
4279
|
chainId: string | string[];
|
|
@@ -3590,7 +4293,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3590
4293
|
} | {
|
|
3591
4294
|
output: {
|
|
3592
4295
|
error: {
|
|
3593
|
-
code: "
|
|
4296
|
+
code: "duplicate_address";
|
|
3594
4297
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3595
4298
|
message: string;
|
|
3596
4299
|
};
|
|
@@ -3617,14 +4320,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3617
4320
|
} | {
|
|
3618
4321
|
output: {
|
|
3619
4322
|
error: {
|
|
3620
|
-
code: "
|
|
4323
|
+
code: "duplicate_symbol";
|
|
3621
4324
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3622
4325
|
message: string;
|
|
3623
4326
|
};
|
|
3624
4327
|
requestId: string;
|
|
3625
4328
|
};
|
|
3626
4329
|
outputFormat: "json";
|
|
3627
|
-
status:
|
|
4330
|
+
status: 409;
|
|
3628
4331
|
input: {
|
|
3629
4332
|
query: {
|
|
3630
4333
|
chainId: string | string[];
|
|
@@ -3733,19 +4436,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3733
4436
|
};
|
|
3734
4437
|
} | {
|
|
3735
4438
|
output: {
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
logoUri?: string | undefined;
|
|
3741
|
-
name: string;
|
|
3742
|
-
symbol: string;
|
|
3743
|
-
id: `0x${string}`;
|
|
4439
|
+
error: {
|
|
4440
|
+
code: "verified_token_not_found";
|
|
4441
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
4442
|
+
message: string;
|
|
3744
4443
|
};
|
|
3745
|
-
|
|
4444
|
+
requestId: string;
|
|
3746
4445
|
};
|
|
3747
4446
|
outputFormat: "json";
|
|
3748
|
-
status:
|
|
4447
|
+
status: 404;
|
|
3749
4448
|
input: {
|
|
3750
4449
|
param: {
|
|
3751
4450
|
address: `0x${string}`;
|
|
@@ -3765,15 +4464,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3765
4464
|
};
|
|
3766
4465
|
} | {
|
|
3767
4466
|
output: {
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
4467
|
+
data: {
|
|
4468
|
+
address: `0x${string}`;
|
|
4469
|
+
currency: string;
|
|
4470
|
+
decimals: number;
|
|
4471
|
+
logoUri?: string | undefined;
|
|
4472
|
+
name: string;
|
|
4473
|
+
symbol: string;
|
|
4474
|
+
id: `0x${string}`;
|
|
3772
4475
|
};
|
|
3773
|
-
|
|
4476
|
+
version: string;
|
|
3774
4477
|
};
|
|
3775
4478
|
outputFormat: "json";
|
|
3776
|
-
status:
|
|
4479
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3777
4480
|
input: {
|
|
3778
4481
|
param: {
|
|
3779
4482
|
address: `0x${string}`;
|
|
@@ -3794,14 +4497,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3794
4497
|
} | {
|
|
3795
4498
|
output: {
|
|
3796
4499
|
error: {
|
|
3797
|
-
code:
|
|
4500
|
+
code: string;
|
|
3798
4501
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3799
4502
|
message: string;
|
|
3800
4503
|
};
|
|
3801
4504
|
requestId: string;
|
|
3802
4505
|
};
|
|
3803
4506
|
outputFormat: "json";
|
|
3804
|
-
status:
|
|
4507
|
+
status: 400 | 413 | 415;
|
|
3805
4508
|
input: {
|
|
3806
4509
|
param: {
|
|
3807
4510
|
address: `0x${string}`;
|
|
@@ -3822,7 +4525,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3822
4525
|
} | {
|
|
3823
4526
|
output: {
|
|
3824
4527
|
error: {
|
|
3825
|
-
code: "
|
|
4528
|
+
code: "duplicate_address";
|
|
3826
4529
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3827
4530
|
message: string;
|
|
3828
4531
|
};
|
|
@@ -3850,14 +4553,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3850
4553
|
} | {
|
|
3851
4554
|
output: {
|
|
3852
4555
|
error: {
|
|
3853
|
-
code: "
|
|
4556
|
+
code: "duplicate_symbol";
|
|
3854
4557
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3855
4558
|
message: string;
|
|
3856
4559
|
};
|
|
3857
4560
|
requestId: string;
|
|
3858
4561
|
};
|
|
3859
4562
|
outputFormat: "json";
|
|
3860
|
-
status:
|
|
4563
|
+
status: 409;
|
|
3861
4564
|
input: {
|
|
3862
4565
|
param: {
|
|
3863
4566
|
address: `0x${string}`;
|
|
@@ -3930,14 +4633,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3930
4633
|
} | {
|
|
3931
4634
|
output: {
|
|
3932
4635
|
error: {
|
|
3933
|
-
code:
|
|
4636
|
+
code: "verified_token_not_found";
|
|
3934
4637
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3935
4638
|
message: string;
|
|
3936
4639
|
};
|
|
3937
4640
|
requestId: string;
|
|
3938
4641
|
};
|
|
3939
4642
|
outputFormat: "json";
|
|
3940
|
-
status:
|
|
4643
|
+
status: 404;
|
|
3941
4644
|
input: {
|
|
3942
4645
|
param: {
|
|
3943
4646
|
address: `0x${string}`;
|
|
@@ -3950,14 +4653,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3950
4653
|
} | {
|
|
3951
4654
|
output: {
|
|
3952
4655
|
error: {
|
|
3953
|
-
code:
|
|
4656
|
+
code: string;
|
|
3954
4657
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3955
4658
|
message: string;
|
|
3956
4659
|
};
|
|
3957
4660
|
requestId: string;
|
|
3958
4661
|
};
|
|
3959
4662
|
outputFormat: "json";
|
|
3960
|
-
status:
|
|
4663
|
+
status: 400 | 413 | 415;
|
|
3961
4664
|
input: {
|
|
3962
4665
|
param: {
|
|
3963
4666
|
address: `0x${string}`;
|
|
@@ -3970,7 +4673,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3970
4673
|
} | {
|
|
3971
4674
|
output: {
|
|
3972
4675
|
error: {
|
|
3973
|
-
code: "
|
|
4676
|
+
code: "duplicate_address";
|
|
3974
4677
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3975
4678
|
message: string;
|
|
3976
4679
|
};
|
|
@@ -3990,14 +4693,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
3990
4693
|
} | {
|
|
3991
4694
|
output: {
|
|
3992
4695
|
error: {
|
|
3993
|
-
code: "
|
|
4696
|
+
code: "duplicate_symbol";
|
|
3994
4697
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3995
4698
|
message: string;
|
|
3996
4699
|
};
|
|
3997
4700
|
requestId: string;
|
|
3998
4701
|
};
|
|
3999
4702
|
outputFormat: "json";
|
|
4000
|
-
status:
|
|
4703
|
+
status: 409;
|
|
4001
4704
|
input: {
|
|
4002
4705
|
param: {
|
|
4003
4706
|
address: `0x${string}`;
|
|
@@ -4106,14 +4809,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4106
4809
|
} | {
|
|
4107
4810
|
output: {
|
|
4108
4811
|
error: {
|
|
4109
|
-
code: "
|
|
4812
|
+
code: "payload_too_large";
|
|
4110
4813
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4111
4814
|
message: string;
|
|
4112
4815
|
};
|
|
4113
4816
|
requestId: string;
|
|
4114
4817
|
};
|
|
4115
4818
|
outputFormat: "json";
|
|
4116
|
-
status:
|
|
4819
|
+
status: 413;
|
|
4117
4820
|
input: {
|
|
4118
4821
|
param: {
|
|
4119
4822
|
address: `0x${string}`;
|
|
@@ -4126,14 +4829,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4126
4829
|
} | {
|
|
4127
4830
|
output: {
|
|
4128
4831
|
error: {
|
|
4129
|
-
code: "
|
|
4832
|
+
code: "assets_not_enabled";
|
|
4130
4833
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4131
4834
|
message: string;
|
|
4132
4835
|
};
|
|
4133
4836
|
requestId: string;
|
|
4134
4837
|
};
|
|
4135
4838
|
outputFormat: "json";
|
|
4136
|
-
status:
|
|
4839
|
+
status: 404;
|
|
4137
4840
|
input: {
|
|
4138
4841
|
param: {
|
|
4139
4842
|
address: `0x${string}`;
|
|
@@ -4146,14 +4849,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4146
4849
|
} | {
|
|
4147
4850
|
output: {
|
|
4148
4851
|
error: {
|
|
4149
|
-
code: "
|
|
4852
|
+
code: "unsupported_media_type";
|
|
4150
4853
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4151
4854
|
message: string;
|
|
4152
4855
|
};
|
|
4153
4856
|
requestId: string;
|
|
4154
4857
|
};
|
|
4155
4858
|
outputFormat: "json";
|
|
4156
|
-
status:
|
|
4859
|
+
status: 415;
|
|
4157
4860
|
input: {
|
|
4158
4861
|
param: {
|
|
4159
4862
|
address: `0x${string}`;
|
|
@@ -4240,7 +4943,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4240
4943
|
} | {
|
|
4241
4944
|
output: {
|
|
4242
4945
|
error: {
|
|
4243
|
-
code: "
|
|
4946
|
+
code: "verified_token_not_found";
|
|
4244
4947
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4245
4948
|
message: string;
|
|
4246
4949
|
};
|
|
@@ -4256,14 +4959,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4256
4959
|
} | {
|
|
4257
4960
|
output: {
|
|
4258
4961
|
error: {
|
|
4259
|
-
code:
|
|
4962
|
+
code: "request_not_pending";
|
|
4260
4963
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4261
4964
|
message: string;
|
|
4262
4965
|
};
|
|
4263
4966
|
requestId: string;
|
|
4264
4967
|
};
|
|
4265
4968
|
outputFormat: "json";
|
|
4266
|
-
status:
|
|
4969
|
+
status: 409;
|
|
4267
4970
|
input: {
|
|
4268
4971
|
param: {
|
|
4269
4972
|
requestId: string;
|
|
@@ -4272,14 +4975,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4272
4975
|
} | {
|
|
4273
4976
|
output: {
|
|
4274
4977
|
error: {
|
|
4275
|
-
code: "
|
|
4978
|
+
code: "verified_token_request_not_found";
|
|
4276
4979
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4277
4980
|
message: string;
|
|
4278
4981
|
};
|
|
4279
4982
|
requestId: string;
|
|
4280
4983
|
};
|
|
4281
4984
|
outputFormat: "json";
|
|
4282
|
-
status:
|
|
4985
|
+
status: 404;
|
|
4283
4986
|
input: {
|
|
4284
4987
|
param: {
|
|
4285
4988
|
requestId: string;
|
|
@@ -4288,14 +4991,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4288
4991
|
} | {
|
|
4289
4992
|
output: {
|
|
4290
4993
|
error: {
|
|
4291
|
-
code: "
|
|
4994
|
+
code: "assets_not_enabled";
|
|
4292
4995
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4293
4996
|
message: string;
|
|
4294
4997
|
};
|
|
4295
4998
|
requestId: string;
|
|
4296
4999
|
};
|
|
4297
5000
|
outputFormat: "json";
|
|
4298
|
-
status:
|
|
5001
|
+
status: 404;
|
|
4299
5002
|
input: {
|
|
4300
5003
|
param: {
|
|
4301
5004
|
requestId: string;
|
|
@@ -4304,14 +5007,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4304
5007
|
} | {
|
|
4305
5008
|
output: {
|
|
4306
5009
|
error: {
|
|
4307
|
-
code:
|
|
5010
|
+
code: string;
|
|
4308
5011
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4309
5012
|
message: string;
|
|
4310
5013
|
};
|
|
4311
5014
|
requestId: string;
|
|
4312
5015
|
};
|
|
4313
5016
|
outputFormat: "json";
|
|
4314
|
-
status:
|
|
5017
|
+
status: 400 | 413 | 415;
|
|
4315
5018
|
input: {
|
|
4316
5019
|
param: {
|
|
4317
5020
|
requestId: string;
|
|
@@ -4320,14 +5023,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4320
5023
|
} | {
|
|
4321
5024
|
output: {
|
|
4322
5025
|
error: {
|
|
4323
|
-
code: "
|
|
5026
|
+
code: "duplicate_address";
|
|
4324
5027
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4325
5028
|
message: string;
|
|
4326
5029
|
};
|
|
4327
5030
|
requestId: string;
|
|
4328
5031
|
};
|
|
4329
5032
|
outputFormat: "json";
|
|
4330
|
-
status:
|
|
5033
|
+
status: 409;
|
|
4331
5034
|
input: {
|
|
4332
5035
|
param: {
|
|
4333
5036
|
requestId: string;
|
|
@@ -4336,14 +5039,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4336
5039
|
} | {
|
|
4337
5040
|
output: {
|
|
4338
5041
|
error: {
|
|
4339
|
-
code: "
|
|
5042
|
+
code: "duplicate_symbol";
|
|
4340
5043
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4341
5044
|
message: string;
|
|
4342
5045
|
};
|
|
4343
5046
|
requestId: string;
|
|
4344
5047
|
};
|
|
4345
5048
|
outputFormat: "json";
|
|
4346
|
-
status:
|
|
5049
|
+
status: 409;
|
|
4347
5050
|
input: {
|
|
4348
5051
|
param: {
|
|
4349
5052
|
requestId: string;
|
|
@@ -4352,14 +5055,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4352
5055
|
} | {
|
|
4353
5056
|
output: {
|
|
4354
5057
|
error: {
|
|
4355
|
-
code: "
|
|
5058
|
+
code: "version_mismatch";
|
|
4356
5059
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4357
5060
|
message: string;
|
|
4358
5061
|
};
|
|
4359
5062
|
requestId: string;
|
|
4360
5063
|
};
|
|
4361
5064
|
outputFormat: "json";
|
|
4362
|
-
status:
|
|
5065
|
+
status: 412;
|
|
4363
5066
|
input: {
|
|
4364
5067
|
param: {
|
|
4365
5068
|
requestId: string;
|
|
@@ -4423,14 +5126,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4423
5126
|
} | {
|
|
4424
5127
|
output: {
|
|
4425
5128
|
error: {
|
|
4426
|
-
code:
|
|
5129
|
+
code: "verified_token_not_found";
|
|
4427
5130
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4428
5131
|
message: string;
|
|
4429
5132
|
};
|
|
4430
5133
|
requestId: string;
|
|
4431
5134
|
};
|
|
4432
5135
|
outputFormat: "json";
|
|
4433
|
-
status:
|
|
5136
|
+
status: 404;
|
|
4434
5137
|
input: {
|
|
4435
5138
|
param: {
|
|
4436
5139
|
requestId: string;
|
|
@@ -4443,7 +5146,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4443
5146
|
} | {
|
|
4444
5147
|
output: {
|
|
4445
5148
|
error: {
|
|
4446
|
-
code: "
|
|
5149
|
+
code: "request_not_pending";
|
|
4447
5150
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4448
5151
|
message: string;
|
|
4449
5152
|
};
|
|
@@ -4463,14 +5166,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4463
5166
|
} | {
|
|
4464
5167
|
output: {
|
|
4465
5168
|
error: {
|
|
4466
|
-
code: "
|
|
5169
|
+
code: "verified_token_request_not_found";
|
|
4467
5170
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4468
5171
|
message: string;
|
|
4469
5172
|
};
|
|
4470
5173
|
requestId: string;
|
|
4471
5174
|
};
|
|
4472
5175
|
outputFormat: "json";
|
|
4473
|
-
status:
|
|
5176
|
+
status: 404;
|
|
4474
5177
|
input: {
|
|
4475
5178
|
param: {
|
|
4476
5179
|
requestId: string;
|
|
@@ -4483,14 +5186,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4483
5186
|
} | {
|
|
4484
5187
|
output: {
|
|
4485
5188
|
error: {
|
|
4486
|
-
code:
|
|
5189
|
+
code: string;
|
|
4487
5190
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4488
5191
|
message: string;
|
|
4489
5192
|
};
|
|
4490
5193
|
requestId: string;
|
|
4491
5194
|
};
|
|
4492
5195
|
outputFormat: "json";
|
|
4493
|
-
status:
|
|
5196
|
+
status: 400 | 413 | 415;
|
|
4494
5197
|
input: {
|
|
4495
5198
|
param: {
|
|
4496
5199
|
requestId: string;
|
|
@@ -4503,14 +5206,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4503
5206
|
} | {
|
|
4504
5207
|
output: {
|
|
4505
5208
|
error: {
|
|
4506
|
-
code: "
|
|
5209
|
+
code: "duplicate_address";
|
|
4507
5210
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4508
5211
|
message: string;
|
|
4509
5212
|
};
|
|
4510
5213
|
requestId: string;
|
|
4511
5214
|
};
|
|
4512
5215
|
outputFormat: "json";
|
|
4513
|
-
status:
|
|
5216
|
+
status: 409;
|
|
4514
5217
|
input: {
|
|
4515
5218
|
param: {
|
|
4516
5219
|
requestId: string;
|
|
@@ -4523,14 +5226,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4523
5226
|
} | {
|
|
4524
5227
|
output: {
|
|
4525
5228
|
error: {
|
|
4526
|
-
code: "
|
|
5229
|
+
code: "duplicate_symbol";
|
|
4527
5230
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4528
5231
|
message: string;
|
|
4529
5232
|
};
|
|
4530
5233
|
requestId: string;
|
|
4531
5234
|
};
|
|
4532
5235
|
outputFormat: "json";
|
|
4533
|
-
status:
|
|
5236
|
+
status: 409;
|
|
4534
5237
|
input: {
|
|
4535
5238
|
param: {
|
|
4536
5239
|
requestId: string;
|
|
@@ -4543,14 +5246,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
4543
5246
|
} | {
|
|
4544
5247
|
output: {
|
|
4545
5248
|
error: {
|
|
4546
|
-
code: "
|
|
5249
|
+
code: "version_mismatch";
|
|
4547
5250
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4548
5251
|
message: string;
|
|
4549
5252
|
};
|
|
4550
5253
|
requestId: string;
|
|
4551
5254
|
};
|
|
4552
5255
|
outputFormat: "json";
|
|
4553
|
-
status:
|
|
5256
|
+
status: 412;
|
|
4554
5257
|
input: {
|
|
4555
5258
|
param: {
|
|
4556
5259
|
requestId: string;
|
|
@@ -5124,14 +5827,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
5124
5827
|
} | {
|
|
5125
5828
|
output: {
|
|
5126
5829
|
error: {
|
|
5127
|
-
code: "
|
|
5830
|
+
code: "rate_limit_exceeded";
|
|
5128
5831
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5129
5832
|
message: string;
|
|
5130
5833
|
};
|
|
5131
5834
|
requestId: string;
|
|
5132
5835
|
};
|
|
5133
5836
|
outputFormat: "json";
|
|
5134
|
-
status:
|
|
5837
|
+
status: 429;
|
|
5135
5838
|
input: {
|
|
5136
5839
|
param: {
|
|
5137
5840
|
orgId: string;
|
|
@@ -5145,14 +5848,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
5145
5848
|
} | {
|
|
5146
5849
|
output: {
|
|
5147
5850
|
error: {
|
|
5148
|
-
code: "
|
|
5851
|
+
code: "not_found";
|
|
5149
5852
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5150
5853
|
message: string;
|
|
5151
5854
|
};
|
|
5152
5855
|
requestId: string;
|
|
5153
5856
|
};
|
|
5154
5857
|
outputFormat: "json";
|
|
5155
|
-
status:
|
|
5858
|
+
status: 404;
|
|
5156
5859
|
input: {
|
|
5157
5860
|
param: {
|
|
5158
5861
|
orgId: string;
|
|
@@ -5292,6 +5995,10 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
5292
5995
|
} | {
|
|
5293
5996
|
output: {
|
|
5294
5997
|
data: {
|
|
5998
|
+
createdAt: string;
|
|
5999
|
+
createdBy?: string | undefined;
|
|
6000
|
+
expiresAt?: string | undefined;
|
|
6001
|
+
tokenLast4: string;
|
|
5295
6002
|
allowedIps: readonly string[];
|
|
5296
6003
|
billingActive?: boolean | undefined;
|
|
5297
6004
|
environment: "production" | "sandbox";
|
|
@@ -5306,10 +6013,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
5306
6013
|
};
|
|
5307
6014
|
} | undefined;
|
|
5308
6015
|
scopes: readonly string[];
|
|
5309
|
-
createdAt: string;
|
|
5310
|
-
createdBy?: string | undefined;
|
|
5311
|
-
expiresAt?: string | undefined;
|
|
5312
|
-
tokenLast4: string;
|
|
5313
6016
|
}[];
|
|
5314
6017
|
};
|
|
5315
6018
|
outputFormat: "json";
|
|
@@ -5574,11 +6277,10 @@ export declare namespace create {
|
|
|
5574
6277
|
/** Transactional email sender used for organization invitations. */
|
|
5575
6278
|
email?: Email.Sender | undefined;
|
|
5576
6279
|
/**
|
|
5577
|
-
* Extracts
|
|
5578
|
-
*
|
|
5579
|
-
* verified Access JWT, or a header set by a trusted proxy).
|
|
6280
|
+
* Extracts an already-verified admin identity from the request or middleware
|
|
6281
|
+
* context, or `null` to deny. Authentication middleware must run before this app.
|
|
5580
6282
|
*/
|
|
5581
|
-
identify: (request: Request) => Identity | null | Promise<Identity | null>;
|
|
6283
|
+
identify: (request: Request, context: Context<Environment>) => Identity | null | Promise<Identity | null>;
|
|
5582
6284
|
/**
|
|
5583
6285
|
* KV state store backing API-key records (shared with the main API's
|
|
5584
6286
|
* `kv` option), provisioned against by the `/api-keys` routes.
|