tapimo 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -7
- package/dist/ApiKey.d.ts +3 -0
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +10 -0
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +29 -8
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +24 -5
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +20680 -15487
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +250 -129
- package/dist/App.js.map +1 -1
- package/dist/Assets.d.ts +10 -0
- package/dist/Assets.d.ts.map +1 -1
- package/dist/Assets.js +17 -4
- package/dist/Assets.js.map +1 -1
- package/dist/Scope.d.ts +19 -8
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +25 -9
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +1 -1
- package/dist/admin/App.d.ts +667 -76
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +12 -2
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +107 -11
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +145 -32
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +1069 -0
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -0
- package/dist/admin/apps/earn-vaults.js +409 -0
- package/dist/admin/apps/earn-vaults.js.map +1 -0
- package/dist/admin/apps/organizations.d.ts +2 -0
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +74 -74
- 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 +99 -43
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts +4 -0
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +21 -2
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/analytics/tables/requestEvents.d.ts +22 -1
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
- package/dist/analytics/tables/requestEvents.js +59 -39
- package/dist/analytics/tables/requestEvents.js.map +1 -1
- package/dist/apps/Zones.d.ts +8335 -0
- package/dist/apps/Zones.d.ts.map +1 -0
- package/dist/apps/Zones.js +38 -0
- package/dist/apps/Zones.js.map +1 -0
- package/dist/apps/data/App.d.ts +5666 -3934
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +90 -22
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +1 -1
- package/dist/apps/data/FxOracle.d.ts.map +1 -1
- package/dist/apps/data/index.d.ts +0 -1
- package/dist/apps/data/index.d.ts.map +1 -1
- package/dist/apps/data/index.js +0 -1
- package/dist/apps/data/index.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +56 -56
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +130 -65
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +65 -65
- package/dist/apps/data/routes/balances.d.ts +14 -14
- package/dist/apps/data/routes/balances.js +5 -5
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +39 -39
- package/dist/apps/data/routes/coingecko.d.ts +54 -54
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
- package/dist/apps/data/routes/coingecko.js +62 -35
- package/dist/apps/data/routes/coingecko.js.map +1 -1
- package/dist/apps/data/routes/earn.d.ts +2574 -0
- package/dist/apps/data/routes/earn.d.ts.map +1 -0
- package/dist/apps/data/routes/earn.js +1574 -0
- package/dist/apps/data/routes/earn.js.map +1 -0
- package/dist/apps/data/routes/exchanges.d.ts +1626 -719
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +656 -193
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +108 -108
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +59 -8
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +35 -35
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +23 -3
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts +33 -33
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +11 -11
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +6 -6
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +214 -22
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
- package/dist/apps/data/routes/tokenlist.js +39 -8
- package/dist/apps/data/routes/tokenlist.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +115 -87
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +194 -91
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +54 -54
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +78 -39
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +76 -27
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +165 -67
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +42 -42
- package/dist/apps/data/routes/valuation.js +2 -2
- package/dist/apps/data/routes/valuation.js.map +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
- package/dist/apps/data/routes/webhooks.d.ts +370 -368
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +161 -59
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +281 -0
- package/dist/apps/data/routes/zones.d.ts.map +1 -0
- package/dist/apps/data/routes/zones.js +252 -0
- package/dist/apps/data/routes/zones.js.map +1 -0
- package/dist/apps/docs/reference.js +6 -5
- package/dist/apps/docs/reference.js.map +1 -1
- package/dist/apps/funding/Access.d.ts +16 -0
- package/dist/apps/funding/Access.d.ts.map +1 -0
- package/dist/apps/funding/Access.js +22 -0
- package/dist/apps/funding/Access.js.map +1 -0
- package/dist/apps/funding/App.d.ts +3183 -0
- package/dist/apps/funding/App.d.ts.map +1 -0
- package/dist/apps/funding/App.js +46 -0
- package/dist/apps/funding/App.js.map +1 -0
- package/dist/apps/funding/Inventory.d.ts +5 -0
- package/dist/apps/funding/Inventory.d.ts.map +1 -0
- package/dist/apps/funding/Inventory.js +25 -0
- package/dist/apps/funding/Inventory.js.map +1 -0
- package/dist/apps/funding/ProviderAttempts.d.ts +5 -0
- package/dist/apps/funding/ProviderAttempts.d.ts.map +1 -0
- package/dist/apps/funding/ProviderAttempts.js +24 -0
- package/dist/apps/funding/ProviderAttempts.js.map +1 -0
- package/dist/apps/funding/index.d.ts +2 -0
- package/dist/apps/funding/index.d.ts.map +1 -0
- package/dist/apps/funding/index.js +2 -0
- package/dist/apps/funding/index.js.map +1 -0
- package/dist/apps/funding/routes/chains.d.ts +169 -0
- package/dist/apps/funding/routes/chains.d.ts.map +1 -0
- package/dist/apps/funding/routes/chains.js +80 -0
- package/dist/apps/funding/routes/chains.js.map +1 -0
- package/dist/apps/funding/routes/deposit-addresses.d.ts +2388 -0
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -0
- package/dist/apps/funding/routes/deposit-addresses.js +860 -0
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -0
- package/dist/apps/funding/routes/providers.d.ts +91 -0
- package/dist/apps/funding/routes/providers.d.ts.map +1 -0
- package/dist/apps/funding/routes/providers.js +56 -0
- package/dist/apps/funding/routes/providers.js.map +1 -0
- package/dist/apps/{data/routes/funding.d.ts → funding/routes/quotes.d.ts} +26 -396
- package/dist/apps/funding/routes/quotes.d.ts.map +1 -0
- package/dist/apps/funding/routes/quotes.js +188 -0
- package/dist/apps/funding/routes/quotes.js.map +1 -0
- package/dist/apps/funding/routes/transfers.d.ts +1999 -0
- package/dist/apps/funding/routes/transfers.d.ts.map +1 -0
- package/dist/apps/funding/routes/transfers.js +614 -0
- package/dist/apps/funding/routes/transfers.js.map +1 -0
- package/dist/apps/index.d.ts +3 -1
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/apps/index.js +3 -1
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/management/App.d.ts +839 -574
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/Billing.d.ts +8 -0
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +12 -0
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/Error.d.ts +12 -0
- package/dist/apps/management/Error.d.ts.map +1 -0
- package/dist/apps/management/Error.js +10 -0
- package/dist/apps/management/Error.js.map +1 -0
- package/dist/apps/management/routes/api-keys.d.ts +296 -19
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +77 -9
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +119 -119
- package/dist/apps/management/routes/faucet.d.ts +35 -35
- package/dist/apps/management/routes/invitations.d.ts +17 -17
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +4 -10
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/invite-links.d.ts +38 -38
- package/dist/apps/management/routes/me.d.ts +6 -6
- package/dist/apps/management/routes/members.d.ts +69 -69
- package/dist/apps/management/routes/orgs.d.ts +16 -16
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +2 -8
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +19 -19
- package/dist/apps/management/routes/scopes.d.ts +1 -1
- package/dist/apps/management/routes/scopes.js +2 -2
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +72 -72
- package/dist/apps/management/routes/verified-token-requests.d.ts +18 -18
- package/dist/apps/management/routes/webhooks.d.ts +122 -122
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +15 -3
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/apps/mcp.d.ts +2 -3
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +16 -14
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/metadata.d.ts +4 -0
- package/dist/apps/metadata.d.ts.map +1 -1
- package/dist/apps/metadata.js +10 -0
- package/dist/apps/metadata.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +57 -58
- package/dist/apps/mpp/App.d.ts.map +1 -1
- package/dist/apps/mpp/App.js +192 -27
- package/dist/apps/mpp/App.js.map +1 -1
- package/dist/apps/mpp/Mpp.d.ts +0 -20
- package/dist/apps/mpp/Mpp.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.js +0 -24
- package/dist/apps/mpp/Mpp.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts +40 -0
- package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Adapter.js +66 -0
- package/dist/apps/mpp/internal/Adapter.js.map +1 -0
- package/dist/apps/mpp/internal/Error.d.ts +4 -0
- package/dist/apps/mpp/internal/Error.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Error.js +41 -0
- package/dist/apps/mpp/internal/Error.js.map +1 -0
- package/dist/apps/mpp/internal/Idempotency.d.ts +33 -0
- package/dist/apps/mpp/internal/Idempotency.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Idempotency.js +28 -0
- package/dist/apps/mpp/internal/Idempotency.js.map +1 -0
- package/dist/apps/mpp/internal/Policy.d.ts +46 -0
- package/dist/apps/mpp/internal/Policy.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Policy.js +57 -0
- package/dist/apps/mpp/internal/Policy.js.map +1 -0
- package/dist/apps/mpp/internal/ScreenManager.d.ts +27 -0
- package/dist/apps/mpp/internal/ScreenManager.d.ts.map +1 -0
- package/dist/apps/mpp/internal/ScreenManager.js +18 -0
- package/dist/apps/mpp/internal/ScreenManager.js.map +1 -0
- package/dist/apps/mpp/internal/Screening.d.ts +35 -0
- package/dist/apps/mpp/internal/Screening.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Screening.js +20 -0
- package/dist/apps/mpp/internal/Screening.js.map +1 -0
- package/dist/apps/mpp/internal/Sponsorship.d.ts +36 -0
- package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Sponsorship.js +103 -0
- package/dist/apps/mpp/internal/Sponsorship.js.map +1 -0
- package/dist/apps/mpp/internal/Utils.d.ts +7 -0
- package/dist/apps/mpp/internal/Utils.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Utils.js +24 -0
- package/dist/apps/mpp/internal/Utils.js.map +1 -0
- package/dist/apps/relay/App.js +183 -23
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/relay/Sponsorships.d.ts +4 -0
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +15 -6
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/cloudflare.d.ts +50 -0
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +178 -0
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +22 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +379 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +933 -1
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +289 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/earnVaults.d.ts +68 -0
- package/dist/db/tables/earnVaults.d.ts.map +1 -0
- package/dist/db/tables/earnVaults.js +72 -0
- package/dist/db/tables/earnVaults.js.map +1 -0
- package/dist/db/tables/fundingCatalog.d.ts +56 -0
- package/dist/db/tables/fundingCatalog.d.ts.map +1 -0
- package/dist/db/tables/fundingCatalog.js +85 -0
- package/dist/db/tables/fundingCatalog.js.map +1 -0
- package/dist/db/tables/fundingDepositAddresses.d.ts +172 -0
- package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -0
- package/dist/db/tables/fundingDepositAddresses.js +218 -0
- package/dist/db/tables/fundingDepositAddresses.js.map +1 -0
- package/dist/db/tables/fundingDepositRequestObservations.d.ts +45 -0
- package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +1 -0
- package/dist/db/tables/fundingDepositRequestObservations.js +46 -0
- package/dist/db/tables/fundingDepositRequestObservations.js.map +1 -0
- package/dist/db/tables/fundingDeposits.d.ts +171 -0
- package/dist/db/tables/fundingDeposits.d.ts.map +1 -0
- package/dist/db/tables/fundingDeposits.js +182 -0
- package/dist/db/tables/fundingDeposits.js.map +1 -0
- package/dist/db/tables/fundingIdempotency.d.ts +91 -0
- package/dist/db/tables/fundingIdempotency.d.ts.map +1 -0
- package/dist/db/tables/fundingIdempotency.js +103 -0
- package/dist/db/tables/fundingIdempotency.js.map +1 -0
- package/dist/db/tables/fundingTransferEvents.d.ts +12 -0
- package/dist/db/tables/fundingTransferEvents.d.ts.map +1 -0
- package/dist/db/tables/fundingTransferEvents.js +18 -0
- package/dist/db/tables/fundingTransferEvents.js.map +1 -0
- package/dist/db/tables/fundingTransferTransactions.d.ts +15 -0
- package/dist/db/tables/fundingTransferTransactions.d.ts.map +1 -0
- package/dist/db/tables/fundingTransferTransactions.js +27 -0
- package/dist/db/tables/fundingTransferTransactions.js.map +1 -0
- package/dist/db/tables/fundingTransfers.d.ts +82 -0
- package/dist/db/tables/fundingTransfers.d.ts.map +1 -0
- package/dist/db/tables/fundingTransfers.js +89 -0
- package/dist/db/tables/fundingTransfers.js.map +1 -0
- package/dist/db/tables/organizations.d.ts +8 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +16 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.d.ts +8 -0
- package/dist/db/tables/projects.d.ts.map +1 -1
- package/dist/db/tables/projects.js +16 -0
- package/dist/db/tables/projects.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts +13 -0
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js +16 -0
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +2 -2
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +1 -1
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/users.d.ts +8 -0
- package/dist/db/tables/users.d.ts.map +1 -1
- package/dist/db/tables/users.js +16 -0
- package/dist/db/tables/users.js.map +1 -1
- package/dist/db/tables/verifiedTokens.d.ts +14 -7
- package/dist/db/tables/verifiedTokens.d.ts.map +1 -1
- package/dist/db/tables/verifiedTokens.js +9 -7
- package/dist/db/tables/verifiedTokens.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +31 -1
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +24 -3
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/handlers/relay.js +108 -108
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +37 -11
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +75 -16
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +17 -11
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/Cursor.js +1 -1
- package/dist/internal/Cursor.js.map +1 -1
- package/dist/internal/EarnRates.d.ts +89 -0
- package/dist/internal/EarnRates.d.ts.map +1 -0
- package/dist/internal/EarnRates.js +266 -0
- package/dist/internal/EarnRates.js.map +1 -0
- package/dist/internal/EarnVaults.d.ts +171 -0
- package/dist/internal/EarnVaults.d.ts.map +1 -0
- package/dist/internal/EarnVaults.js +547 -0
- package/dist/internal/EarnVaults.js.map +1 -0
- package/dist/internal/EdgeCache.d.ts +10 -3
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +43 -11
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/Id.d.ts +11 -0
- package/dist/internal/Id.d.ts.map +1 -1
- package/dist/internal/Id.js +13 -0
- package/dist/internal/Id.js.map +1 -1
- package/dist/internal/Idempotency.d.ts +83 -0
- package/dist/internal/Idempotency.d.ts.map +1 -0
- package/dist/internal/Idempotency.js +113 -0
- package/dist/internal/Idempotency.js.map +1 -0
- package/dist/internal/IpAllowlist.d.ts +15 -0
- package/dist/internal/IpAllowlist.d.ts.map +1 -0
- package/dist/internal/IpAllowlist.js +27 -0
- package/dist/internal/IpAllowlist.js.map +1 -0
- package/dist/internal/Log.d.ts +64 -9
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +29 -7
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +47 -1
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +2 -2
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +4 -1
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Provider.d.ts +14 -0
- package/dist/internal/Provider.d.ts.map +1 -0
- package/dist/internal/Provider.js +5 -0
- package/dist/internal/Provider.js.map +1 -0
- package/dist/internal/Schema.d.ts +6 -1
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +20 -11
- package/dist/internal/Schema.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 +35 -0
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Tidx.d.ts +49 -24
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +90 -12
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts +90 -65
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +90 -12
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/WebhookDestination.d.ts.map +1 -1
- package/dist/internal/WebhookDestination.js +34 -28
- package/dist/internal/WebhookDestination.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +9 -0
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +15 -10
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/exchange/Provider.d.ts +219 -0
- package/dist/internal/exchange/Provider.d.ts.map +1 -0
- package/dist/internal/exchange/Provider.js +117 -0
- package/dist/internal/exchange/Provider.js.map +1 -0
- package/dist/internal/exchange/index.d.ts +2 -0
- package/dist/internal/exchange/index.d.ts.map +1 -0
- package/dist/internal/exchange/index.js +2 -0
- package/dist/internal/exchange/index.js.map +1 -0
- package/dist/internal/exchange/providers/uniswap.d.ts +57 -0
- package/dist/internal/exchange/providers/uniswap.d.ts.map +1 -0
- package/dist/internal/exchange/providers/uniswap.js +553 -0
- package/dist/internal/exchange/providers/uniswap.js.map +1 -0
- package/dist/internal/funding/Action.d.ts +55 -0
- package/dist/internal/funding/Action.d.ts.map +1 -0
- package/dist/internal/funding/Action.js +74 -0
- package/dist/internal/funding/Action.js.map +1 -0
- package/dist/internal/funding/Catalog.d.ts +107 -0
- package/dist/internal/funding/Catalog.d.ts.map +1 -0
- package/dist/internal/funding/Catalog.js +270 -0
- package/dist/internal/funding/Catalog.js.map +1 -0
- package/dist/internal/funding/Chain.d.ts +76 -0
- package/dist/internal/funding/Chain.d.ts.map +1 -0
- package/dist/internal/funding/Chain.js +38 -0
- package/dist/internal/funding/Chain.js.map +1 -0
- package/dist/internal/funding/Deposit.d.ts +408 -0
- package/dist/internal/funding/Deposit.d.ts.map +1 -0
- package/dist/internal/funding/Deposit.js +318 -0
- package/dist/internal/funding/Deposit.js.map +1 -0
- package/dist/internal/funding/DepositAddress.d.ts +345 -0
- package/dist/internal/funding/DepositAddress.d.ts.map +1 -0
- package/dist/internal/funding/DepositAddress.js +189 -0
- package/dist/internal/funding/DepositAddress.js.map +1 -0
- package/dist/internal/funding/Evidence.d.ts +48 -0
- package/dist/internal/funding/Evidence.d.ts.map +1 -0
- package/dist/internal/funding/Evidence.js +315 -0
- package/dist/internal/funding/Evidence.js.map +1 -0
- package/dist/internal/funding/Provider.d.ts +1288 -0
- package/dist/internal/funding/Provider.d.ts.map +1 -0
- package/dist/internal/funding/Provider.js +1086 -0
- package/dist/internal/funding/Provider.js.map +1 -0
- package/dist/internal/funding/Reconciliation.d.ts +127 -0
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -0
- package/dist/internal/funding/Reconciliation.js +885 -0
- package/dist/internal/funding/Reconciliation.js.map +1 -0
- package/dist/internal/funding/Route.d.ts +21 -0
- package/dist/internal/funding/Route.d.ts.map +1 -0
- package/dist/internal/funding/Route.js +5 -0
- package/dist/internal/funding/Route.js.map +1 -0
- package/dist/internal/funding/SourceObservation.d.ts +108 -0
- package/dist/internal/funding/SourceObservation.d.ts.map +1 -0
- package/dist/internal/funding/SourceObservation.js +143 -0
- package/dist/internal/funding/SourceObservation.js.map +1 -0
- package/dist/internal/funding/Subsidy.d.ts +113 -0
- package/dist/internal/funding/Subsidy.d.ts.map +1 -0
- package/dist/internal/funding/Subsidy.js +138 -0
- package/dist/internal/funding/Subsidy.js.map +1 -0
- package/dist/internal/funding/Token.d.ts +41 -0
- package/dist/internal/funding/Token.d.ts.map +1 -0
- package/dist/internal/funding/Token.js +22 -0
- package/dist/internal/funding/Token.js.map +1 -0
- package/dist/internal/funding/Transfer.d.ts +643 -0
- package/dist/internal/funding/Transfer.d.ts.map +1 -0
- package/dist/internal/funding/Transfer.js +332 -0
- package/dist/internal/funding/Transfer.js.map +1 -0
- package/dist/internal/funding/index.d.ts +14 -0
- package/dist/internal/funding/index.d.ts.map +1 -0
- package/dist/internal/funding/index.js +14 -0
- package/dist/internal/funding/index.js.map +1 -0
- package/dist/internal/funding/providers/across.d.ts +21 -0
- package/dist/internal/funding/providers/across.d.ts.map +1 -0
- package/dist/internal/funding/providers/across.js +117 -0
- package/dist/internal/funding/providers/across.js.map +1 -0
- package/dist/internal/funding/providers/relay.d.ts +88 -0
- package/dist/internal/funding/providers/relay.d.ts.map +1 -0
- package/dist/internal/funding/providers/relay.js +871 -0
- package/dist/internal/funding/providers/relay.js.map +1 -0
- package/dist/internal/funding/providers/rhino.d.ts +15 -0
- package/dist/internal/funding/providers/rhino.d.ts.map +1 -0
- package/dist/internal/funding/providers/rhino.js +116 -0
- package/dist/internal/funding/providers/rhino.js.map +1 -0
- package/dist/internal/funding/providers/squid.d.ts +19 -0
- package/dist/internal/funding/providers/squid.d.ts.map +1 -0
- package/dist/internal/funding/providers/squid.js +120 -0
- package/dist/internal/funding/providers/squid.js.map +1 -0
- package/dist/internal/funding/providers/symbiosis.d.ts +20 -0
- package/dist/internal/funding/providers/symbiosis.d.ts.map +1 -0
- package/dist/internal/funding/providers/symbiosis.js +176 -0
- package/dist/internal/funding/providers/symbiosis.js.map +1 -0
- package/dist/internal/index.d.ts +5 -1
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/index.js +5 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/webhookDestinations/url.js +61 -57
- package/dist/internal/webhookDestinations/url.js.map +1 -1
- package/dist/providers/index.d.ts +43 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +19 -0
- package/dist/providers/index.js.map +1 -0
- package/package.json +10 -5
- package/src/ApiKey.test.ts +35 -0
- package/src/ApiKey.ts +27 -0
- package/src/ApiKeys.test.ts +40 -7
- package/src/ApiKeys.ts +46 -10
- package/src/App.test.ts +108 -15
- package/src/App.ts +296 -138
- package/src/Assets.ts +29 -4
- package/src/Client.test-d.ts +809 -37
- package/src/Scope.test.ts +19 -0
- package/src/Scope.ts +28 -11
- package/src/Webhooks.test.ts +25 -0
- package/src/Webhooks.ts +1 -1
- package/src/admin/App.test.ts +9 -2
- package/src/admin/App.ts +32 -9
- package/src/admin/apps/api-keys.test.ts +190 -22
- package/src/admin/apps/api-keys.ts +170 -28
- package/src/admin/apps/earn-vaults.test.ts +338 -0
- package/src/admin/apps/earn-vaults.ts +572 -0
- package/src/admin/apps/scopes.test.ts +16 -1
- package/src/admin/ui/plugin.ts +2 -2
- package/src/admin/ui/src/components/EarnVaultForm.tsx +137 -0
- package/src/admin/ui/src/components/MobileProfile.tsx +2 -2
- package/src/admin/ui/src/components/Page.tsx +1 -1
- package/src/admin/ui/src/components/ThemeToggle.tsx +1 -1
- package/src/admin/ui/src/lib/api-keys.ts +37 -7
- package/src/admin/ui/src/lib/client.ts +1 -1
- package/src/admin/ui/src/lib/config.ts +1 -1
- package/src/admin/ui/src/lib/early-access.ts +8 -9
- package/src/admin/ui/src/lib/earn-vaults.ts +207 -0
- package/src/admin/ui/src/lib/format.ts +13 -0
- package/src/admin/ui/src/lib/organizations.test.ts +14 -4
- package/src/admin/ui/src/lib/organizations.ts +7 -1
- package/src/admin/ui/src/lib/response.ts +22 -0
- package/src/admin/ui/src/lib/scopes.test.ts +19 -11
- package/src/admin/ui/src/lib/scopes.ts +28 -7
- package/src/admin/ui/src/lib/verified-tokens.ts +10 -9
- package/src/admin/ui/src/routeTree.gen.ts +70 -7
- package/src/admin/ui/src/router.tsx +2 -2
- package/src/admin/ui/src/routes/__root.tsx +9 -8
- package/src/admin/ui/src/routes/api-keys.tsx +475 -64
- package/src/admin/ui/src/routes/early-access.tsx +5 -12
- package/src/admin/ui/src/routes/earn.vaults.tsx +348 -0
- package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +154 -0
- package/src/admin/ui/src/routes/earn.vaults_.new.tsx +190 -0
- package/src/admin/ui/src/routes/organizations.tsx +4 -7
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +56 -54
- package/src/admin/ui/src/routes/verified-tokens.tsx +4 -4
- package/src/admin/ui/vite.config.ts +4 -1
- package/src/admin/ui.generated.ts +113 -43
- package/src/analytics/Analytics.test.ts +69 -10
- package/src/analytics/Analytics.ts +24 -1
- package/src/analytics/tables/requestEvents.ts +79 -37
- package/src/apps/Zones.test.ts +33 -0
- package/src/apps/Zones.ts +40 -0
- package/src/apps/composition.test.ts +184 -3
- package/src/apps/data/App.test.ts +28 -23
- package/src/apps/data/App.ts +95 -36
- package/src/apps/data/FxOracle.ts +1 -1
- package/src/apps/data/index.ts +0 -1
- package/src/apps/data/routes/activities.test.ts +82 -6
- package/src/apps/data/routes/activities.ts +131 -71
- package/src/apps/data/routes/balances.test.ts +50 -37
- package/src/apps/data/routes/balances.ts +5 -5
- package/src/apps/data/routes/blocks.test.ts +2 -0
- package/src/apps/data/routes/coingecko.test.ts +22 -0
- package/src/apps/data/routes/coingecko.ts +84 -48
- package/src/apps/data/routes/earn.test.ts +1391 -0
- package/src/apps/data/routes/earn.ts +2188 -0
- package/src/apps/data/routes/exchanges.test.ts +82 -33
- package/src/apps/data/routes/exchanges.ts +842 -227
- package/src/apps/data/routes/fee-amm.test.ts +4 -6
- package/src/apps/data/routes/fee-amm.ts +69 -12
- package/src/apps/data/routes/indexer.test.ts +43 -34
- package/src/apps/data/routes/indexer.ts +21 -3
- package/src/apps/data/routes/receipts.test.ts +5 -3
- package/src/apps/data/routes/receipts.ts +13 -11
- package/src/apps/data/routes/rpc.test.ts +446 -28
- package/src/apps/data/routes/rpc.ts +245 -25
- package/src/apps/data/routes/tokenlist.ts +72 -19
- package/src/apps/data/routes/tokens.test.ts +6 -8
- package/src/apps/data/routes/tokens.ts +258 -86
- package/src/apps/data/routes/transactions.test.ts +2 -0
- package/src/apps/data/routes/transactions.ts +77 -42
- package/src/apps/data/routes/transfers.test.ts +166 -4
- package/src/apps/data/routes/transfers.ts +216 -78
- package/src/apps/data/routes/valuation.test.ts +62 -9
- package/src/apps/data/routes/valuation.ts +2 -2
- package/src/apps/data/routes/webhooks.test.ts +386 -43
- package/src/apps/data/routes/webhooks.ts +172 -71
- package/src/apps/data/routes/zones.test.ts +473 -0
- package/src/apps/data/routes/zones.ts +338 -0
- package/src/apps/docs/reference.ts +8 -6
- package/src/apps/funding/Access.ts +26 -0
- package/src/apps/funding/App.test.ts +78 -0
- package/src/apps/funding/App.ts +63 -0
- package/src/apps/funding/Inventory.ts +30 -0
- package/src/apps/funding/ProviderAttempts.ts +26 -0
- package/src/apps/funding/index.ts +1 -0
- package/src/apps/funding/routes/chains.test.ts +78 -0
- package/src/apps/funding/routes/chains.ts +101 -0
- package/src/apps/funding/routes/deposit-addresses.test.ts +1628 -0
- package/src/apps/funding/routes/deposit-addresses.ts +1015 -0
- package/src/apps/funding/routes/providers.test.ts +165 -0
- package/src/apps/funding/routes/providers.ts +73 -0
- package/src/apps/funding/routes/quotes.test.ts +511 -0
- package/src/apps/funding/routes/quotes.ts +205 -0
- package/src/apps/funding/routes/transfers.test.ts +1255 -0
- package/src/apps/funding/routes/transfers.ts +704 -0
- package/src/apps/index.ts +3 -1
- package/src/apps/management/Billing.test.ts +29 -0
- package/src/apps/management/Billing.ts +23 -0
- package/src/apps/management/Error.ts +12 -0
- package/src/apps/management/routes/api-keys.test.ts +103 -3
- package/src/apps/management/routes/api-keys.ts +98 -10
- package/src/apps/management/routes/invitations.ts +4 -11
- package/src/apps/management/routes/orgs.ts +2 -9
- package/src/apps/management/routes/scopes.test.ts +7 -2
- package/src/apps/management/routes/scopes.ts +2 -2
- package/src/apps/management/routes/webhooks.test.ts +6 -1
- package/src/apps/management/routes/webhooks.ts +15 -3
- package/src/apps/mcp.test.ts +17 -2
- package/src/apps/mcp.ts +18 -13
- package/src/apps/metadata.ts +12 -0
- package/src/apps/mpp/App.ts +276 -29
- package/src/apps/mpp/Mpp.test.ts +631 -26
- package/src/apps/mpp/Mpp.ts +0 -42
- package/src/apps/mpp/internal/Adapter.ts +108 -3
- package/src/apps/mpp/internal/Error.test.ts +33 -0
- package/src/apps/mpp/internal/Error.ts +44 -6
- package/src/apps/mpp/internal/Idempotency.test.ts +213 -0
- package/src/apps/mpp/internal/Idempotency.ts +59 -5
- package/src/apps/mpp/internal/Policy.test.ts +128 -0
- package/src/apps/mpp/internal/Policy.ts +98 -0
- package/src/apps/mpp/internal/ScreenManager.test.ts +68 -0
- package/src/apps/mpp/internal/ScreenManager.ts +41 -0
- package/src/apps/mpp/internal/Screening.ts +40 -3
- package/src/apps/mpp/internal/Sponsorship.ts +144 -0
- package/src/apps/mpp/internal/Utils.ts +30 -0
- package/src/apps/relay/App.test.ts +493 -62
- package/src/apps/relay/App.ts +233 -23
- package/src/apps/relay/Sponsorships.test.ts +49 -0
- package/src/apps/relay/Sponsorships.ts +18 -6
- package/src/cloudflare.ts +279 -0
- package/src/db/Db.ts +501 -0
- package/src/db/Schema.ts +349 -2
- package/src/db/tables/earnVaults.test.ts +185 -0
- package/src/db/tables/earnVaults.ts +151 -0
- package/src/db/tables/fundingCatalog.test.ts +108 -0
- package/src/db/tables/fundingCatalog.ts +157 -0
- package/src/db/tables/fundingDepositAddresses.test.ts +580 -0
- package/src/db/tables/fundingDepositAddresses.ts +404 -0
- package/src/db/tables/fundingDepositRequestObservations.test.ts +106 -0
- package/src/db/tables/fundingDepositRequestObservations.ts +99 -0
- package/src/db/tables/fundingDeposits.test.ts +399 -0
- package/src/db/tables/fundingDeposits.ts +373 -0
- package/src/db/tables/fundingIdempotency.test.ts +182 -0
- package/src/db/tables/fundingIdempotency.ts +180 -0
- package/src/db/tables/fundingTransferEvents.ts +28 -0
- package/src/db/tables/fundingTransferTransactions.test.ts +69 -0
- package/src/db/tables/fundingTransferTransactions.ts +37 -0
- package/src/db/tables/fundingTransfers.test.ts +89 -0
- package/src/db/tables/fundingTransfers.ts +153 -0
- package/src/db/tables/organizations.ts +16 -0
- package/src/db/tables/projects.ts +16 -0
- package/src/db/tables/requestUsage.ts +23 -0
- package/src/db/tables/sponsoredTransactions.test.ts +11 -0
- package/src/db/tables/sponsoredTransactions.ts +3 -3
- package/src/db/tables/users.ts +16 -0
- package/src/db/tables/verifiedTokens.ts +19 -14
- package/src/db/tables/webhookSubscriptions.ts +58 -3
- package/src/handlers/relay.test.ts +2 -0
- package/src/handlers/relay.ts +95 -99
- package/src/internal/Auth.test.ts +225 -5
- package/src/internal/Auth.ts +109 -20
- package/src/internal/Cache.test.ts +37 -3
- package/src/internal/Cache.ts +14 -10
- package/src/internal/Cursor.test.ts +2 -2
- package/src/internal/Cursor.ts +1 -1
- package/src/internal/EarnRates.test.ts +125 -0
- package/src/internal/EarnRates.ts +409 -0
- package/src/internal/EarnVaults.test.ts +195 -0
- package/src/internal/EarnVaults.ts +876 -0
- package/src/internal/EdgeCache.test.ts +26 -7
- package/src/internal/EdgeCache.ts +48 -9
- package/src/internal/Id.ts +14 -0
- package/src/internal/Idempotency.test.ts +109 -0
- package/src/internal/Idempotency.ts +237 -0
- package/src/internal/IpAllowlist.test.ts +52 -0
- package/src/internal/IpAllowlist.ts +39 -0
- package/src/internal/Log.test-d.ts +41 -8
- package/src/internal/Log.test.ts +196 -9
- package/src/internal/Log.ts +124 -17
- package/src/internal/MetricSink.test.ts +244 -4
- package/src/internal/MetricSink.ts +51 -1
- package/src/internal/OpenApi.ts +4 -1
- package/src/internal/Provider.test.ts +17 -0
- package/src/internal/Provider.ts +17 -0
- package/src/internal/Schema.ts +27 -17
- package/src/internal/Store.test.ts +25 -0
- package/src/internal/Store.ts +46 -0
- package/src/internal/Tidx.local.test.ts +78 -3
- package/src/internal/Tidx.test.ts +240 -18
- package/src/internal/Tidx.ts +129 -33
- package/src/internal/VerifiedTokens.test.ts +15 -0
- package/src/internal/Viem.test.ts +198 -17
- package/src/internal/Viem.ts +127 -28
- package/src/internal/WebhookDestination.ts +25 -23
- package/src/internal/Webhooks.test.ts +59 -0
- package/src/internal/Webhooks.ts +34 -10
- package/src/internal/exchange/Provider.test.ts +216 -0
- package/src/internal/exchange/Provider.ts +326 -0
- package/src/internal/exchange/index.test.ts +6 -0
- package/src/internal/exchange/index.ts +1 -0
- package/src/internal/exchange/providers/uniswap.test.ts +122 -0
- package/src/internal/exchange/providers/uniswap.ts +682 -0
- package/src/internal/funding/Action.test.ts +138 -0
- package/src/internal/funding/Action.ts +117 -0
- package/src/internal/funding/Catalog.test.ts +311 -0
- package/src/internal/funding/Catalog.ts +347 -0
- package/src/internal/funding/Chain.test.ts +79 -0
- package/src/internal/funding/Chain.ts +120 -0
- package/src/internal/funding/Deposit.test.ts +26 -0
- package/src/internal/funding/Deposit.ts +522 -0
- package/src/internal/funding/DepositAddress.test.ts +18 -0
- package/src/internal/funding/DepositAddress.ts +312 -0
- package/src/internal/funding/Evidence.test.ts +297 -0
- package/src/internal/funding/Evidence.ts +425 -0
- package/src/internal/funding/Provider.test.ts +1328 -0
- package/src/internal/funding/Provider.ts +1911 -0
- package/src/internal/funding/Reconciliation.local.test.ts +511 -0
- package/src/internal/funding/Reconciliation.test.ts +3037 -0
- package/src/internal/funding/Reconciliation.ts +1202 -0
- package/src/internal/funding/Route.test.ts +66 -0
- package/src/internal/funding/Route.ts +29 -0
- package/src/internal/funding/SourceObservation.test.ts +301 -0
- package/src/internal/funding/SourceObservation.ts +267 -0
- package/src/internal/funding/Subsidy.local.test.ts +152 -0
- package/src/internal/funding/Subsidy.test.ts +75 -0
- package/src/internal/funding/Subsidy.ts +260 -0
- package/src/internal/funding/Token.test.ts +47 -0
- package/src/internal/funding/Token.ts +59 -0
- package/src/internal/funding/Transfer.test.ts +369 -0
- package/src/internal/funding/Transfer.ts +522 -0
- package/src/internal/funding/index.test.ts +21 -0
- package/src/internal/funding/index.ts +13 -0
- package/src/internal/funding/providers/across.ts +149 -0
- package/src/{apps/data/FundingQuoteProviders.test.ts → internal/funding/providers/index.test.ts} +178 -157
- package/src/internal/funding/providers/relay.test.ts +564 -0
- package/src/internal/funding/providers/relay.ts +1060 -0
- package/src/internal/funding/providers/rhino.ts +139 -0
- package/src/internal/funding/providers/squid.ts +151 -0
- package/src/internal/funding/providers/symbiosis.ts +221 -0
- package/src/internal/index.test.ts +5 -1
- package/src/internal/index.ts +5 -1
- package/src/internal/webhookDestinations/url.ts +49 -45
- package/src/providers/index.test.ts +14 -0
- package/src/providers/index.ts +54 -0
- package/dist/apps/data/FundingQuoteProviders.d.ts +0 -174
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +0 -1
- package/dist/apps/data/FundingQuoteProviders.js +0 -775
- package/dist/apps/data/FundingQuoteProviders.js.map +0 -1
- package/dist/apps/data/routes/funding.d.ts.map +0 -1
- package/dist/apps/data/routes/funding.js +0 -410
- package/dist/apps/data/routes/funding.js.map +0 -1
- package/dist/internal/FundingQuotes.d.ts +0 -864
- package/dist/internal/FundingQuotes.d.ts.map +0 -1
- package/dist/internal/FundingQuotes.js +0 -672
- package/dist/internal/FundingQuotes.js.map +0 -1
- package/src/apps/data/FundingQuoteProviders.ts +0 -1043
- package/src/apps/data/routes/funding.test.ts +0 -503
- package/src/apps/data/routes/funding.ts +0 -604
- package/src/internal/FundingQuotes.test.ts +0 -456
- package/src/internal/FundingQuotes.ts +0 -944
package/dist/admin/App.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type RequestIdVariables } from 'hono/request-id';
|
|
2
|
+
import type { Chain } from 'viem';
|
|
2
3
|
import type * as Assets from '../Assets.js';
|
|
3
4
|
import type * as Analytics from '../analytics/Analytics.js';
|
|
4
5
|
import * as Db from '../db/Db.js';
|
|
5
6
|
import type * as Store from '../internal/Store.js';
|
|
6
7
|
import * as Response from '../internal/Response.js';
|
|
8
|
+
import * as Viem from '../internal/Viem.js';
|
|
7
9
|
/** A verified admin identity, as returned by {@link create.Options.identify}. */
|
|
8
10
|
export type Identity = {
|
|
9
11
|
/** The admin's verified email, recorded as `createdBy` on every minted key. */
|
|
@@ -16,14 +18,20 @@ export type Environment = {
|
|
|
16
18
|
analytics: Analytics.Source;
|
|
17
19
|
/** Static-asset writer (e.g. the R2 icon bucket), when configured. */
|
|
18
20
|
assets: create.Assets | undefined;
|
|
21
|
+
/** Path where the admin app is mounted. */
|
|
22
|
+
basePath: string;
|
|
19
23
|
/** Authoritative Postgres store, or a per-request factory. Resolve at the leaf with `Db.get`. */
|
|
20
24
|
db: Db.Source;
|
|
25
|
+
/** Gets a Tempo RPC client for a chain id. */
|
|
26
|
+
getClient: Viem.GetClient;
|
|
27
|
+
/** The admin identity, or `null` when unauthenticated (gated routes reject). */
|
|
28
|
+
identity: Identity | null;
|
|
21
29
|
/** KV state store backing API-key records (mint/list/revoke). */
|
|
22
30
|
kv: {
|
|
23
31
|
store: Store.State;
|
|
24
32
|
};
|
|
25
|
-
/**
|
|
26
|
-
|
|
33
|
+
/** Zone chains available to admin routes. */
|
|
34
|
+
zones: readonly Chain[];
|
|
27
35
|
};
|
|
28
36
|
};
|
|
29
37
|
/** The admin portal Hono app. Inferred from {@link create}. */
|
|
@@ -130,6 +138,498 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
130
138
|
};
|
|
131
139
|
};
|
|
132
140
|
}, "/early-access"> | import("hono/types").MergeSchemaPath<{
|
|
141
|
+
"/": {
|
|
142
|
+
$get: {
|
|
143
|
+
output: {
|
|
144
|
+
error: {
|
|
145
|
+
code: "upstream_error";
|
|
146
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
147
|
+
message: string;
|
|
148
|
+
};
|
|
149
|
+
requestId: string;
|
|
150
|
+
};
|
|
151
|
+
outputFormat: "json";
|
|
152
|
+
status: 502;
|
|
153
|
+
input: {
|
|
154
|
+
query?: {
|
|
155
|
+
asset?: string | string[];
|
|
156
|
+
capability?: string | string[];
|
|
157
|
+
chainId?: string | string[];
|
|
158
|
+
cursor?: string | string[];
|
|
159
|
+
'engine.type'?: string | string[];
|
|
160
|
+
limit?: string | string[];
|
|
161
|
+
include?: string | string[];
|
|
162
|
+
} | undefined;
|
|
163
|
+
};
|
|
164
|
+
} | {
|
|
165
|
+
output: {
|
|
166
|
+
data: {
|
|
167
|
+
access?: {
|
|
168
|
+
status: "allowlisted" | "open";
|
|
169
|
+
} | undefined;
|
|
170
|
+
apy?: {
|
|
171
|
+
asOf: string;
|
|
172
|
+
methodology: "share-price-growth-annualized:v1";
|
|
173
|
+
net: string;
|
|
174
|
+
window: "1d" | "1h" | "30d" | "7d";
|
|
175
|
+
} | null | undefined;
|
|
176
|
+
assetToken: {
|
|
177
|
+
address: `0x${string}`;
|
|
178
|
+
currency: string;
|
|
179
|
+
decimals: number;
|
|
180
|
+
id: string;
|
|
181
|
+
logoUri?: string | undefined;
|
|
182
|
+
name: string;
|
|
183
|
+
symbol: string;
|
|
184
|
+
verified: boolean;
|
|
185
|
+
};
|
|
186
|
+
capabilities?: {
|
|
187
|
+
asyncRedeem: boolean;
|
|
188
|
+
boundedRedeem: boolean;
|
|
189
|
+
deposit: boolean;
|
|
190
|
+
exactWithdraw: boolean;
|
|
191
|
+
inKindDeposit: boolean;
|
|
192
|
+
privateRouting: boolean;
|
|
193
|
+
redeem: boolean;
|
|
194
|
+
routerSwaps: boolean;
|
|
195
|
+
} | undefined;
|
|
196
|
+
description: string | null;
|
|
197
|
+
id: `0x${string}`;
|
|
198
|
+
instantLiquidity: string | null;
|
|
199
|
+
label: string;
|
|
200
|
+
sharePrice: {
|
|
201
|
+
amount: string;
|
|
202
|
+
currency: string;
|
|
203
|
+
decimals: number;
|
|
204
|
+
formatted: string;
|
|
205
|
+
} | null;
|
|
206
|
+
shareToken: {
|
|
207
|
+
address: `0x${string}`;
|
|
208
|
+
currency: string;
|
|
209
|
+
decimals: number;
|
|
210
|
+
id: string;
|
|
211
|
+
logoUri?: string | undefined;
|
|
212
|
+
name: string;
|
|
213
|
+
symbol: string;
|
|
214
|
+
verified: boolean;
|
|
215
|
+
};
|
|
216
|
+
state: {
|
|
217
|
+
depositsPaused: boolean;
|
|
218
|
+
engineShares: string;
|
|
219
|
+
feesActive: boolean;
|
|
220
|
+
isAccountingAligned: boolean;
|
|
221
|
+
openRedeemRequestCount: number;
|
|
222
|
+
totalAssets: string;
|
|
223
|
+
totalEarnShares: string;
|
|
224
|
+
};
|
|
225
|
+
tvl?: {
|
|
226
|
+
amount: string;
|
|
227
|
+
currency: string;
|
|
228
|
+
decimals: number;
|
|
229
|
+
formatted: string;
|
|
230
|
+
} | null | undefined;
|
|
231
|
+
vaultAddress: `0x${string}`;
|
|
232
|
+
zone?: {
|
|
233
|
+
chainId: number;
|
|
234
|
+
inputTokens: `0x${string}`[];
|
|
235
|
+
name: string;
|
|
236
|
+
outputTokens: `0x${string}`[];
|
|
237
|
+
} | null | undefined;
|
|
238
|
+
engine: {
|
|
239
|
+
address: `0x${string}`;
|
|
240
|
+
venue: `0x${string}` | null;
|
|
241
|
+
type: "erc4626" | "veda";
|
|
242
|
+
};
|
|
243
|
+
slug: string;
|
|
244
|
+
verified: true;
|
|
245
|
+
}[];
|
|
246
|
+
meta?: {
|
|
247
|
+
valuation?: {
|
|
248
|
+
asOf: string;
|
|
249
|
+
basis: "nominal";
|
|
250
|
+
source: string;
|
|
251
|
+
} | undefined;
|
|
252
|
+
} | undefined;
|
|
253
|
+
nextCursor: string | null;
|
|
254
|
+
};
|
|
255
|
+
outputFormat: "json";
|
|
256
|
+
status: 200;
|
|
257
|
+
input: {
|
|
258
|
+
query?: {
|
|
259
|
+
asset?: string | string[];
|
|
260
|
+
capability?: string | string[];
|
|
261
|
+
chainId?: string | string[];
|
|
262
|
+
cursor?: string | string[];
|
|
263
|
+
'engine.type'?: string | string[];
|
|
264
|
+
limit?: string | string[];
|
|
265
|
+
include?: string | string[];
|
|
266
|
+
} | undefined;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
} & {
|
|
271
|
+
"/:vaultId": {
|
|
272
|
+
$get: {
|
|
273
|
+
output: {
|
|
274
|
+
error: {
|
|
275
|
+
code: "upstream_error";
|
|
276
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
277
|
+
message: string;
|
|
278
|
+
};
|
|
279
|
+
requestId: string;
|
|
280
|
+
};
|
|
281
|
+
outputFormat: "json";
|
|
282
|
+
status: 502;
|
|
283
|
+
input: {
|
|
284
|
+
param: {
|
|
285
|
+
vaultId: `0x${string}`;
|
|
286
|
+
};
|
|
287
|
+
} & {
|
|
288
|
+
query?: {
|
|
289
|
+
chainId?: string | string[];
|
|
290
|
+
include?: string | string[];
|
|
291
|
+
} | undefined;
|
|
292
|
+
};
|
|
293
|
+
} | {
|
|
294
|
+
output: {
|
|
295
|
+
error: {
|
|
296
|
+
code: "earn_vault_not_found";
|
|
297
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
298
|
+
message: string;
|
|
299
|
+
};
|
|
300
|
+
requestId: string;
|
|
301
|
+
};
|
|
302
|
+
outputFormat: "json";
|
|
303
|
+
status: 404;
|
|
304
|
+
input: {
|
|
305
|
+
param: {
|
|
306
|
+
vaultId: `0x${string}`;
|
|
307
|
+
};
|
|
308
|
+
} & {
|
|
309
|
+
query?: {
|
|
310
|
+
chainId?: string | string[];
|
|
311
|
+
include?: string | string[];
|
|
312
|
+
} | undefined;
|
|
313
|
+
};
|
|
314
|
+
} | {
|
|
315
|
+
output: {
|
|
316
|
+
access?: {
|
|
317
|
+
status: "allowlisted" | "open";
|
|
318
|
+
} | undefined;
|
|
319
|
+
apy?: {
|
|
320
|
+
asOf: string;
|
|
321
|
+
methodology: "share-price-growth-annualized:v1";
|
|
322
|
+
net: string;
|
|
323
|
+
window: "1d" | "1h" | "30d" | "7d";
|
|
324
|
+
} | null | undefined;
|
|
325
|
+
assetToken: {
|
|
326
|
+
address: `0x${string}`;
|
|
327
|
+
currency: string;
|
|
328
|
+
decimals: number;
|
|
329
|
+
id: string;
|
|
330
|
+
logoUri?: string | undefined;
|
|
331
|
+
name: string;
|
|
332
|
+
symbol: string;
|
|
333
|
+
verified: boolean;
|
|
334
|
+
};
|
|
335
|
+
capabilities?: {
|
|
336
|
+
asyncRedeem: boolean;
|
|
337
|
+
boundedRedeem: boolean;
|
|
338
|
+
deposit: boolean;
|
|
339
|
+
exactWithdraw: boolean;
|
|
340
|
+
inKindDeposit: boolean;
|
|
341
|
+
privateRouting: boolean;
|
|
342
|
+
redeem: boolean;
|
|
343
|
+
routerSwaps: boolean;
|
|
344
|
+
} | undefined;
|
|
345
|
+
description: string | null;
|
|
346
|
+
engine: {
|
|
347
|
+
address: `0x${string}`;
|
|
348
|
+
type: "erc4626" | "veda" | null;
|
|
349
|
+
venue: `0x${string}` | null;
|
|
350
|
+
};
|
|
351
|
+
id: `0x${string}`;
|
|
352
|
+
instantLiquidity: string | null;
|
|
353
|
+
label: string;
|
|
354
|
+
sharePrice: {
|
|
355
|
+
amount: string;
|
|
356
|
+
currency: string;
|
|
357
|
+
decimals: number;
|
|
358
|
+
formatted: string;
|
|
359
|
+
} | null;
|
|
360
|
+
shareToken: {
|
|
361
|
+
address: `0x${string}`;
|
|
362
|
+
currency: string;
|
|
363
|
+
decimals: number;
|
|
364
|
+
id: string;
|
|
365
|
+
logoUri?: string | undefined;
|
|
366
|
+
name: string;
|
|
367
|
+
symbol: string;
|
|
368
|
+
verified: boolean;
|
|
369
|
+
};
|
|
370
|
+
slug: string | null;
|
|
371
|
+
state: {
|
|
372
|
+
depositsPaused: boolean;
|
|
373
|
+
engineShares: string;
|
|
374
|
+
feesActive: boolean;
|
|
375
|
+
isAccountingAligned: boolean;
|
|
376
|
+
openRedeemRequestCount: number;
|
|
377
|
+
totalAssets: string;
|
|
378
|
+
totalEarnShares: string;
|
|
379
|
+
};
|
|
380
|
+
tvl?: {
|
|
381
|
+
amount: string;
|
|
382
|
+
currency: string;
|
|
383
|
+
decimals: number;
|
|
384
|
+
formatted: string;
|
|
385
|
+
} | null | undefined;
|
|
386
|
+
vaultAddress: `0x${string}`;
|
|
387
|
+
verified: boolean;
|
|
388
|
+
zone?: {
|
|
389
|
+
chainId: number;
|
|
390
|
+
inputTokens: `0x${string}`[];
|
|
391
|
+
name: string;
|
|
392
|
+
outputTokens: `0x${string}`[];
|
|
393
|
+
} | null | undefined;
|
|
394
|
+
};
|
|
395
|
+
outputFormat: "json";
|
|
396
|
+
status: 200;
|
|
397
|
+
input: {
|
|
398
|
+
param: {
|
|
399
|
+
vaultId: `0x${string}`;
|
|
400
|
+
};
|
|
401
|
+
} & {
|
|
402
|
+
query?: {
|
|
403
|
+
chainId?: string | string[];
|
|
404
|
+
include?: string | string[];
|
|
405
|
+
} | undefined;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
} & {
|
|
410
|
+
"/": {
|
|
411
|
+
$put: {
|
|
412
|
+
output: {
|
|
413
|
+
error: {
|
|
414
|
+
code: "upstream_error";
|
|
415
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
416
|
+
message: string;
|
|
417
|
+
};
|
|
418
|
+
requestId: string;
|
|
419
|
+
};
|
|
420
|
+
outputFormat: "json";
|
|
421
|
+
status: 502;
|
|
422
|
+
input: {
|
|
423
|
+
json: {
|
|
424
|
+
chainId: unknown;
|
|
425
|
+
description?: string | null | undefined;
|
|
426
|
+
label?: string | undefined;
|
|
427
|
+
privateInputTokens?: `0x${string}`[] | undefined;
|
|
428
|
+
privateOutputTokens?: `0x${string}`[] | undefined;
|
|
429
|
+
slug?: string | undefined;
|
|
430
|
+
vaultAddress: `0x${string}`;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
} | {
|
|
434
|
+
output: {
|
|
435
|
+
error: {
|
|
436
|
+
code: "body_invalid";
|
|
437
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
438
|
+
message: string;
|
|
439
|
+
};
|
|
440
|
+
requestId: string;
|
|
441
|
+
};
|
|
442
|
+
outputFormat: "json";
|
|
443
|
+
status: 400;
|
|
444
|
+
input: {
|
|
445
|
+
json: {
|
|
446
|
+
chainId: unknown;
|
|
447
|
+
description?: string | null | undefined;
|
|
448
|
+
label?: string | undefined;
|
|
449
|
+
privateInputTokens?: `0x${string}`[] | undefined;
|
|
450
|
+
privateOutputTokens?: `0x${string}`[] | undefined;
|
|
451
|
+
slug?: string | undefined;
|
|
452
|
+
vaultAddress: `0x${string}`;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
} | {
|
|
456
|
+
output: {
|
|
457
|
+
error: {
|
|
458
|
+
code: "earn_vault_not_found";
|
|
459
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
460
|
+
message: string;
|
|
461
|
+
};
|
|
462
|
+
requestId: string;
|
|
463
|
+
};
|
|
464
|
+
outputFormat: "json";
|
|
465
|
+
status: 404;
|
|
466
|
+
input: {
|
|
467
|
+
json: {
|
|
468
|
+
chainId: unknown;
|
|
469
|
+
description?: string | null | undefined;
|
|
470
|
+
label?: string | undefined;
|
|
471
|
+
privateInputTokens?: `0x${string}`[] | undefined;
|
|
472
|
+
privateOutputTokens?: `0x${string}`[] | undefined;
|
|
473
|
+
slug?: string | undefined;
|
|
474
|
+
vaultAddress: `0x${string}`;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
} | {
|
|
478
|
+
output: {
|
|
479
|
+
error: {
|
|
480
|
+
code: "earn_vault_verification_failed";
|
|
481
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
482
|
+
message: string;
|
|
483
|
+
};
|
|
484
|
+
requestId: string;
|
|
485
|
+
};
|
|
486
|
+
outputFormat: "json";
|
|
487
|
+
status: 409;
|
|
488
|
+
input: {
|
|
489
|
+
json: {
|
|
490
|
+
chainId: unknown;
|
|
491
|
+
description?: string | null | undefined;
|
|
492
|
+
label?: string | undefined;
|
|
493
|
+
privateInputTokens?: `0x${string}`[] | undefined;
|
|
494
|
+
privateOutputTokens?: `0x${string}`[] | undefined;
|
|
495
|
+
slug?: string | undefined;
|
|
496
|
+
vaultAddress: `0x${string}`;
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
} | {
|
|
500
|
+
output: {
|
|
501
|
+
access?: {
|
|
502
|
+
status: "allowlisted" | "open";
|
|
503
|
+
} | undefined;
|
|
504
|
+
apy?: {
|
|
505
|
+
asOf: string;
|
|
506
|
+
methodology: "share-price-growth-annualized:v1";
|
|
507
|
+
net: string;
|
|
508
|
+
window: "1d" | "1h" | "30d" | "7d";
|
|
509
|
+
} | null | undefined;
|
|
510
|
+
assetToken: {
|
|
511
|
+
address: `0x${string}`;
|
|
512
|
+
currency: string;
|
|
513
|
+
decimals: number;
|
|
514
|
+
id: string;
|
|
515
|
+
logoUri?: string | undefined;
|
|
516
|
+
name: string;
|
|
517
|
+
symbol: string;
|
|
518
|
+
verified: boolean;
|
|
519
|
+
};
|
|
520
|
+
capabilities?: {
|
|
521
|
+
asyncRedeem: boolean;
|
|
522
|
+
boundedRedeem: boolean;
|
|
523
|
+
deposit: boolean;
|
|
524
|
+
exactWithdraw: boolean;
|
|
525
|
+
inKindDeposit: boolean;
|
|
526
|
+
privateRouting: boolean;
|
|
527
|
+
redeem: boolean;
|
|
528
|
+
routerSwaps: boolean;
|
|
529
|
+
} | undefined;
|
|
530
|
+
description: string | null;
|
|
531
|
+
id: `0x${string}`;
|
|
532
|
+
instantLiquidity: string | null;
|
|
533
|
+
label: string;
|
|
534
|
+
sharePrice: {
|
|
535
|
+
amount: string;
|
|
536
|
+
currency: string;
|
|
537
|
+
decimals: number;
|
|
538
|
+
formatted: string;
|
|
539
|
+
} | null;
|
|
540
|
+
shareToken: {
|
|
541
|
+
address: `0x${string}`;
|
|
542
|
+
currency: string;
|
|
543
|
+
decimals: number;
|
|
544
|
+
id: string;
|
|
545
|
+
logoUri?: string | undefined;
|
|
546
|
+
name: string;
|
|
547
|
+
symbol: string;
|
|
548
|
+
verified: boolean;
|
|
549
|
+
};
|
|
550
|
+
state: {
|
|
551
|
+
depositsPaused: boolean;
|
|
552
|
+
engineShares: string;
|
|
553
|
+
feesActive: boolean;
|
|
554
|
+
isAccountingAligned: boolean;
|
|
555
|
+
openRedeemRequestCount: number;
|
|
556
|
+
totalAssets: string;
|
|
557
|
+
totalEarnShares: string;
|
|
558
|
+
};
|
|
559
|
+
tvl?: {
|
|
560
|
+
amount: string;
|
|
561
|
+
currency: string;
|
|
562
|
+
decimals: number;
|
|
563
|
+
formatted: string;
|
|
564
|
+
} | null | undefined;
|
|
565
|
+
vaultAddress: `0x${string}`;
|
|
566
|
+
zone?: {
|
|
567
|
+
chainId: number;
|
|
568
|
+
inputTokens: `0x${string}`[];
|
|
569
|
+
name: string;
|
|
570
|
+
outputTokens: `0x${string}`[];
|
|
571
|
+
} | null | undefined;
|
|
572
|
+
engine: {
|
|
573
|
+
address: `0x${string}`;
|
|
574
|
+
venue: `0x${string}` | null;
|
|
575
|
+
type: "erc4626" | "veda";
|
|
576
|
+
};
|
|
577
|
+
slug: string;
|
|
578
|
+
verified: true;
|
|
579
|
+
};
|
|
580
|
+
outputFormat: "json";
|
|
581
|
+
status: 200;
|
|
582
|
+
input: {
|
|
583
|
+
json: {
|
|
584
|
+
chainId: unknown;
|
|
585
|
+
description?: string | null | undefined;
|
|
586
|
+
label?: string | undefined;
|
|
587
|
+
privateInputTokens?: `0x${string}`[] | undefined;
|
|
588
|
+
privateOutputTokens?: `0x${string}`[] | undefined;
|
|
589
|
+
slug?: string | undefined;
|
|
590
|
+
vaultAddress: `0x${string}`;
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
} & {
|
|
596
|
+
"/:vaultId": {
|
|
597
|
+
$delete: {
|
|
598
|
+
output: null;
|
|
599
|
+
outputFormat: "body";
|
|
600
|
+
status: 204;
|
|
601
|
+
input: {
|
|
602
|
+
param: {
|
|
603
|
+
vaultId: `0x${string}`;
|
|
604
|
+
};
|
|
605
|
+
} & {
|
|
606
|
+
query: {
|
|
607
|
+
chainId: string | string[];
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
} | {
|
|
611
|
+
output: {
|
|
612
|
+
error: {
|
|
613
|
+
code: "earn_vault_not_found";
|
|
614
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
615
|
+
message: string;
|
|
616
|
+
};
|
|
617
|
+
requestId: string;
|
|
618
|
+
};
|
|
619
|
+
outputFormat: "json";
|
|
620
|
+
status: 404;
|
|
621
|
+
input: {
|
|
622
|
+
param: {
|
|
623
|
+
vaultId: `0x${string}`;
|
|
624
|
+
};
|
|
625
|
+
} & {
|
|
626
|
+
query: {
|
|
627
|
+
chainId: string | string[];
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
}, "/earn/verified-vaults"> | import("hono/types").MergeSchemaPath<{
|
|
133
633
|
"/backfill": {
|
|
134
634
|
$post: {
|
|
135
635
|
output: {
|
|
@@ -145,6 +645,59 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
145
645
|
"/": {
|
|
146
646
|
$post: {
|
|
147
647
|
output: {
|
|
648
|
+
error: {
|
|
649
|
+
code: "upstream_error";
|
|
650
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
651
|
+
message: string;
|
|
652
|
+
};
|
|
653
|
+
requestId: string;
|
|
654
|
+
};
|
|
655
|
+
outputFormat: "json";
|
|
656
|
+
status: 502;
|
|
657
|
+
input: {
|
|
658
|
+
json: {
|
|
659
|
+
allowedIps?: readonly string[] | undefined;
|
|
660
|
+
billingActive?: boolean | undefined;
|
|
661
|
+
environment?: "production" | "sandbox" | undefined;
|
|
662
|
+
projectId?: string | undefined;
|
|
663
|
+
rateLimits?: Record<string, {
|
|
664
|
+
perMinute: number;
|
|
665
|
+
}> | undefined;
|
|
666
|
+
expiresAt?: string | undefined;
|
|
667
|
+
orgId?: string | undefined;
|
|
668
|
+
name: string;
|
|
669
|
+
scopes: readonly ("*" | "data:read" | "funding:read" | "funding:write" | "indexer:query" | "management:read" | "management:write" | "mpp:write" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write" | `zone:${number}:read` | `zone:${number}:write`)[];
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
} | {
|
|
673
|
+
output: {
|
|
674
|
+
error: {
|
|
675
|
+
code: "not_found";
|
|
676
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
677
|
+
message: string;
|
|
678
|
+
};
|
|
679
|
+
requestId: string;
|
|
680
|
+
};
|
|
681
|
+
outputFormat: "json";
|
|
682
|
+
status: 404;
|
|
683
|
+
input: {
|
|
684
|
+
json: {
|
|
685
|
+
allowedIps?: readonly string[] | undefined;
|
|
686
|
+
billingActive?: boolean | undefined;
|
|
687
|
+
environment?: "production" | "sandbox" | undefined;
|
|
688
|
+
projectId?: string | undefined;
|
|
689
|
+
rateLimits?: Record<string, {
|
|
690
|
+
perMinute: number;
|
|
691
|
+
}> | undefined;
|
|
692
|
+
expiresAt?: string | undefined;
|
|
693
|
+
orgId?: string | undefined;
|
|
694
|
+
name: string;
|
|
695
|
+
scopes: readonly ("*" | "data:read" | "funding:read" | "funding:write" | "indexer:query" | "management:read" | "management:write" | "mpp:write" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write" | `zone:${number}:read` | `zone:${number}:write`)[];
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
} | {
|
|
699
|
+
output: {
|
|
700
|
+
allowedIps: readonly string[];
|
|
148
701
|
billingActive?: boolean | undefined;
|
|
149
702
|
environment: "production" | "sandbox";
|
|
150
703
|
id: string;
|
|
@@ -167,16 +720,17 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
167
720
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
168
721
|
input: {
|
|
169
722
|
json: {
|
|
723
|
+
allowedIps?: readonly string[] | undefined;
|
|
170
724
|
billingActive?: boolean | undefined;
|
|
171
725
|
environment?: "production" | "sandbox" | undefined;
|
|
172
|
-
name?: string | undefined;
|
|
173
726
|
projectId?: string | undefined;
|
|
174
727
|
rateLimits?: Record<string, {
|
|
175
728
|
perMinute: number;
|
|
176
729
|
}> | undefined;
|
|
177
730
|
expiresAt?: string | undefined;
|
|
178
731
|
orgId?: string | undefined;
|
|
179
|
-
|
|
732
|
+
name: string;
|
|
733
|
+
scopes: readonly ("*" | "data:read" | "funding:read" | "funding:write" | "indexer:query" | "management:read" | "management:write" | "mpp:write" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write" | `zone:${number}:read` | `zone:${number}:write`)[];
|
|
180
734
|
};
|
|
181
735
|
};
|
|
182
736
|
};
|
|
@@ -186,6 +740,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
186
740
|
$get: {
|
|
187
741
|
output: {
|
|
188
742
|
data: {
|
|
743
|
+
allowedIps: readonly string[];
|
|
189
744
|
billingActive?: boolean | undefined;
|
|
190
745
|
environment: "production" | "sandbox";
|
|
191
746
|
id: string;
|
|
@@ -202,6 +757,9 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
202
757
|
createdBy?: string | undefined;
|
|
203
758
|
expiresAt?: string | undefined;
|
|
204
759
|
tokenLast4: string;
|
|
760
|
+
createdByLabel: string | null;
|
|
761
|
+
organizationName: string | null;
|
|
762
|
+
projectName: string | null;
|
|
205
763
|
}[];
|
|
206
764
|
};
|
|
207
765
|
outputFormat: "json";
|
|
@@ -263,12 +821,38 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
263
821
|
};
|
|
264
822
|
} & {
|
|
265
823
|
json: {
|
|
824
|
+
allowedIps?: readonly string[] | undefined;
|
|
825
|
+
name?: string | undefined;
|
|
266
826
|
orgId?: string | undefined;
|
|
267
827
|
projectId?: string | undefined;
|
|
268
828
|
};
|
|
269
829
|
};
|
|
270
830
|
} | {
|
|
271
831
|
output: {
|
|
832
|
+
error: {
|
|
833
|
+
code: "organization_already_assigned";
|
|
834
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
835
|
+
message: string;
|
|
836
|
+
};
|
|
837
|
+
requestId: string;
|
|
838
|
+
};
|
|
839
|
+
outputFormat: "json";
|
|
840
|
+
status: 409;
|
|
841
|
+
input: {
|
|
842
|
+
param: {
|
|
843
|
+
id: string;
|
|
844
|
+
};
|
|
845
|
+
} & {
|
|
846
|
+
json: {
|
|
847
|
+
allowedIps?: readonly string[] | undefined;
|
|
848
|
+
name?: string | undefined;
|
|
849
|
+
orgId?: string | undefined;
|
|
850
|
+
projectId?: string | undefined;
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
} | {
|
|
854
|
+
output: {
|
|
855
|
+
allowedIps: readonly string[];
|
|
272
856
|
billingActive?: boolean | undefined;
|
|
273
857
|
environment: "production" | "sandbox";
|
|
274
858
|
id: string;
|
|
@@ -294,6 +878,8 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
294
878
|
};
|
|
295
879
|
} & {
|
|
296
880
|
json: {
|
|
881
|
+
allowedIps?: readonly string[] | undefined;
|
|
882
|
+
name?: string | undefined;
|
|
297
883
|
orgId?: string | undefined;
|
|
298
884
|
projectId?: string | undefined;
|
|
299
885
|
};
|
|
@@ -705,6 +1291,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
705
1291
|
} | {
|
|
706
1292
|
output: {
|
|
707
1293
|
data: {
|
|
1294
|
+
allowedIps: readonly string[];
|
|
708
1295
|
billingActive?: boolean | undefined;
|
|
709
1296
|
environment: "production" | "sandbox";
|
|
710
1297
|
id: string;
|
|
@@ -968,14 +1555,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
968
1555
|
$post: {
|
|
969
1556
|
output: {
|
|
970
1557
|
error: {
|
|
971
|
-
code:
|
|
1558
|
+
code: "upstream_error";
|
|
972
1559
|
details?: readonly Response.error.Detail[] | undefined;
|
|
973
1560
|
message: string;
|
|
974
1561
|
};
|
|
975
1562
|
requestId: string;
|
|
976
1563
|
};
|
|
977
1564
|
outputFormat: "json";
|
|
978
|
-
status:
|
|
1565
|
+
status: 502;
|
|
979
1566
|
input: {
|
|
980
1567
|
json: {
|
|
981
1568
|
address: `0x${string}`;
|
|
@@ -991,14 +1578,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
991
1578
|
} | {
|
|
992
1579
|
output: {
|
|
993
1580
|
error: {
|
|
994
|
-
code: "
|
|
1581
|
+
code: "verified_token_not_found";
|
|
995
1582
|
details?: readonly Response.error.Detail[] | undefined;
|
|
996
1583
|
message: string;
|
|
997
1584
|
};
|
|
998
1585
|
requestId: string;
|
|
999
1586
|
};
|
|
1000
1587
|
outputFormat: "json";
|
|
1001
|
-
status:
|
|
1588
|
+
status: 404;
|
|
1002
1589
|
input: {
|
|
1003
1590
|
json: {
|
|
1004
1591
|
address: `0x${string}`;
|
|
@@ -1014,7 +1601,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1014
1601
|
} | {
|
|
1015
1602
|
output: {
|
|
1016
1603
|
error: {
|
|
1017
|
-
code: "
|
|
1604
|
+
code: "assets_not_enabled";
|
|
1018
1605
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1019
1606
|
message: string;
|
|
1020
1607
|
};
|
|
@@ -1036,15 +1623,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1036
1623
|
};
|
|
1037
1624
|
} | {
|
|
1038
1625
|
output: {
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1626
|
+
data: {
|
|
1627
|
+
address: `0x${string}`;
|
|
1628
|
+
currency: string;
|
|
1629
|
+
decimals: number;
|
|
1630
|
+
logoUri?: string | undefined;
|
|
1631
|
+
name: string;
|
|
1632
|
+
symbol: string;
|
|
1633
|
+
id: string;
|
|
1043
1634
|
};
|
|
1044
|
-
|
|
1635
|
+
version: string;
|
|
1045
1636
|
};
|
|
1046
1637
|
outputFormat: "json";
|
|
1047
|
-
status:
|
|
1638
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1048
1639
|
input: {
|
|
1049
1640
|
json: {
|
|
1050
1641
|
address: `0x${string}`;
|
|
@@ -1059,19 +1650,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1059
1650
|
};
|
|
1060
1651
|
} | {
|
|
1061
1652
|
output: {
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
logoUri?: string | undefined;
|
|
1067
|
-
name: string;
|
|
1068
|
-
symbol: string;
|
|
1069
|
-
id: string;
|
|
1653
|
+
error: {
|
|
1654
|
+
code: string;
|
|
1655
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1656
|
+
message: string;
|
|
1070
1657
|
};
|
|
1071
|
-
|
|
1658
|
+
requestId: string;
|
|
1072
1659
|
};
|
|
1073
1660
|
outputFormat: "json";
|
|
1074
|
-
status:
|
|
1661
|
+
status: 400 | 413 | 415;
|
|
1075
1662
|
input: {
|
|
1076
1663
|
json: {
|
|
1077
1664
|
address: `0x${string}`;
|
|
@@ -1160,14 +1747,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1160
1747
|
$put: {
|
|
1161
1748
|
output: {
|
|
1162
1749
|
error: {
|
|
1163
|
-
code:
|
|
1750
|
+
code: "upstream_error";
|
|
1164
1751
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1165
1752
|
message: string;
|
|
1166
1753
|
};
|
|
1167
1754
|
requestId: string;
|
|
1168
1755
|
};
|
|
1169
1756
|
outputFormat: "json";
|
|
1170
|
-
status:
|
|
1757
|
+
status: 502;
|
|
1171
1758
|
input: {
|
|
1172
1759
|
query: {
|
|
1173
1760
|
chainId: string | string[];
|
|
@@ -1187,14 +1774,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1187
1774
|
} | {
|
|
1188
1775
|
output: {
|
|
1189
1776
|
error: {
|
|
1190
|
-
code: "
|
|
1777
|
+
code: "verified_token_not_found";
|
|
1191
1778
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1192
1779
|
message: string;
|
|
1193
1780
|
};
|
|
1194
1781
|
requestId: string;
|
|
1195
1782
|
};
|
|
1196
1783
|
outputFormat: "json";
|
|
1197
|
-
status:
|
|
1784
|
+
status: 404;
|
|
1198
1785
|
input: {
|
|
1199
1786
|
query: {
|
|
1200
1787
|
chainId: string | string[];
|
|
@@ -1214,14 +1801,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1214
1801
|
} | {
|
|
1215
1802
|
output: {
|
|
1216
1803
|
error: {
|
|
1217
|
-
code:
|
|
1804
|
+
code: string;
|
|
1218
1805
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1219
1806
|
message: string;
|
|
1220
1807
|
};
|
|
1221
1808
|
requestId: string;
|
|
1222
1809
|
};
|
|
1223
1810
|
outputFormat: "json";
|
|
1224
|
-
status:
|
|
1811
|
+
status: 400 | 413 | 415;
|
|
1225
1812
|
input: {
|
|
1226
1813
|
query: {
|
|
1227
1814
|
chainId: string | string[];
|
|
@@ -1357,14 +1944,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1357
1944
|
$patch: {
|
|
1358
1945
|
output: {
|
|
1359
1946
|
error: {
|
|
1360
|
-
code:
|
|
1947
|
+
code: "upstream_error";
|
|
1361
1948
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1362
1949
|
message: string;
|
|
1363
1950
|
};
|
|
1364
1951
|
requestId: string;
|
|
1365
1952
|
};
|
|
1366
1953
|
outputFormat: "json";
|
|
1367
|
-
status:
|
|
1954
|
+
status: 502;
|
|
1368
1955
|
input: {
|
|
1369
1956
|
param: {
|
|
1370
1957
|
address: `0x${string}`;
|
|
@@ -1385,14 +1972,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1385
1972
|
} | {
|
|
1386
1973
|
output: {
|
|
1387
1974
|
error: {
|
|
1388
|
-
code: "
|
|
1975
|
+
code: "verified_token_not_found";
|
|
1389
1976
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1390
1977
|
message: string;
|
|
1391
1978
|
};
|
|
1392
1979
|
requestId: string;
|
|
1393
1980
|
};
|
|
1394
1981
|
outputFormat: "json";
|
|
1395
|
-
status:
|
|
1982
|
+
status: 404;
|
|
1396
1983
|
input: {
|
|
1397
1984
|
param: {
|
|
1398
1985
|
address: `0x${string}`;
|
|
@@ -1412,15 +1999,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1412
1999
|
};
|
|
1413
2000
|
} | {
|
|
1414
2001
|
output: {
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
2002
|
+
data: {
|
|
2003
|
+
address: `0x${string}`;
|
|
2004
|
+
currency: string;
|
|
2005
|
+
decimals: number;
|
|
2006
|
+
logoUri?: string | undefined;
|
|
2007
|
+
name: string;
|
|
2008
|
+
symbol: string;
|
|
2009
|
+
id: string;
|
|
1419
2010
|
};
|
|
1420
|
-
|
|
2011
|
+
version: string;
|
|
1421
2012
|
};
|
|
1422
2013
|
outputFormat: "json";
|
|
1423
|
-
status:
|
|
2014
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1424
2015
|
input: {
|
|
1425
2016
|
param: {
|
|
1426
2017
|
address: `0x${string}`;
|
|
@@ -1440,19 +2031,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1440
2031
|
};
|
|
1441
2032
|
} | {
|
|
1442
2033
|
output: {
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
logoUri?: string | undefined;
|
|
1448
|
-
name: string;
|
|
1449
|
-
symbol: string;
|
|
1450
|
-
id: string;
|
|
2034
|
+
error: {
|
|
2035
|
+
code: string;
|
|
2036
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2037
|
+
message: string;
|
|
1451
2038
|
};
|
|
1452
|
-
|
|
2039
|
+
requestId: string;
|
|
1453
2040
|
};
|
|
1454
2041
|
outputFormat: "json";
|
|
1455
|
-
status:
|
|
2042
|
+
status: 400 | 413 | 415;
|
|
1456
2043
|
input: {
|
|
1457
2044
|
param: {
|
|
1458
2045
|
address: `0x${string}`;
|
|
@@ -1561,14 +2148,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1561
2148
|
$delete: {
|
|
1562
2149
|
output: {
|
|
1563
2150
|
error: {
|
|
1564
|
-
code:
|
|
2151
|
+
code: "upstream_error";
|
|
1565
2152
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1566
2153
|
message: string;
|
|
1567
2154
|
};
|
|
1568
2155
|
requestId: string;
|
|
1569
2156
|
};
|
|
1570
2157
|
outputFormat: "json";
|
|
1571
|
-
status:
|
|
2158
|
+
status: 502;
|
|
1572
2159
|
input: {
|
|
1573
2160
|
param: {
|
|
1574
2161
|
address: `0x${string}`;
|
|
@@ -1581,14 +2168,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1581
2168
|
} | {
|
|
1582
2169
|
output: {
|
|
1583
2170
|
error: {
|
|
1584
|
-
code: "
|
|
2171
|
+
code: "verified_token_not_found";
|
|
1585
2172
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1586
2173
|
message: string;
|
|
1587
2174
|
};
|
|
1588
2175
|
requestId: string;
|
|
1589
2176
|
};
|
|
1590
2177
|
outputFormat: "json";
|
|
1591
|
-
status:
|
|
2178
|
+
status: 404;
|
|
1592
2179
|
input: {
|
|
1593
2180
|
param: {
|
|
1594
2181
|
address: `0x${string}`;
|
|
@@ -1601,14 +2188,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1601
2188
|
} | {
|
|
1602
2189
|
output: {
|
|
1603
2190
|
error: {
|
|
1604
|
-
code:
|
|
2191
|
+
code: string;
|
|
1605
2192
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1606
2193
|
message: string;
|
|
1607
2194
|
};
|
|
1608
2195
|
requestId: string;
|
|
1609
2196
|
};
|
|
1610
2197
|
outputFormat: "json";
|
|
1611
|
-
status:
|
|
2198
|
+
status: 400 | 413 | 415;
|
|
1612
2199
|
input: {
|
|
1613
2200
|
param: {
|
|
1614
2201
|
address: `0x${string}`;
|
|
@@ -1872,14 +2459,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1872
2459
|
$post: {
|
|
1873
2460
|
output: {
|
|
1874
2461
|
error: {
|
|
1875
|
-
code:
|
|
2462
|
+
code: "upstream_error";
|
|
1876
2463
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1877
2464
|
message: string;
|
|
1878
2465
|
};
|
|
1879
2466
|
requestId: string;
|
|
1880
2467
|
};
|
|
1881
2468
|
outputFormat: "json";
|
|
1882
|
-
status:
|
|
2469
|
+
status: 502;
|
|
1883
2470
|
input: {
|
|
1884
2471
|
param: {
|
|
1885
2472
|
requestId: string;
|
|
@@ -1888,14 +2475,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1888
2475
|
} | {
|
|
1889
2476
|
output: {
|
|
1890
2477
|
error: {
|
|
1891
|
-
code: "
|
|
2478
|
+
code: "verified_token_not_found";
|
|
1892
2479
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1893
2480
|
message: string;
|
|
1894
2481
|
};
|
|
1895
2482
|
requestId: string;
|
|
1896
2483
|
};
|
|
1897
2484
|
outputFormat: "json";
|
|
1898
|
-
status:
|
|
2485
|
+
status: 404;
|
|
1899
2486
|
input: {
|
|
1900
2487
|
param: {
|
|
1901
2488
|
requestId: string;
|
|
@@ -1936,7 +2523,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1936
2523
|
} | {
|
|
1937
2524
|
output: {
|
|
1938
2525
|
error: {
|
|
1939
|
-
code: "
|
|
2526
|
+
code: "assets_not_enabled";
|
|
1940
2527
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1941
2528
|
message: string;
|
|
1942
2529
|
};
|
|
@@ -1952,14 +2539,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1952
2539
|
} | {
|
|
1953
2540
|
output: {
|
|
1954
2541
|
error: {
|
|
1955
|
-
code:
|
|
2542
|
+
code: string;
|
|
1956
2543
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1957
2544
|
message: string;
|
|
1958
2545
|
};
|
|
1959
2546
|
requestId: string;
|
|
1960
2547
|
};
|
|
1961
2548
|
outputFormat: "json";
|
|
1962
|
-
status:
|
|
2549
|
+
status: 400 | 413 | 415;
|
|
1963
2550
|
input: {
|
|
1964
2551
|
param: {
|
|
1965
2552
|
requestId: string;
|
|
@@ -2051,14 +2638,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2051
2638
|
$post: {
|
|
2052
2639
|
output: {
|
|
2053
2640
|
error: {
|
|
2054
|
-
code:
|
|
2641
|
+
code: "upstream_error";
|
|
2055
2642
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2056
2643
|
message: string;
|
|
2057
2644
|
};
|
|
2058
2645
|
requestId: string;
|
|
2059
2646
|
};
|
|
2060
2647
|
outputFormat: "json";
|
|
2061
|
-
status:
|
|
2648
|
+
status: 502;
|
|
2062
2649
|
input: {
|
|
2063
2650
|
param: {
|
|
2064
2651
|
requestId: string;
|
|
@@ -2071,14 +2658,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2071
2658
|
} | {
|
|
2072
2659
|
output: {
|
|
2073
2660
|
error: {
|
|
2074
|
-
code: "
|
|
2661
|
+
code: "verified_token_not_found";
|
|
2075
2662
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2076
2663
|
message: string;
|
|
2077
2664
|
};
|
|
2078
2665
|
requestId: string;
|
|
2079
2666
|
};
|
|
2080
2667
|
outputFormat: "json";
|
|
2081
|
-
status:
|
|
2668
|
+
status: 404;
|
|
2082
2669
|
input: {
|
|
2083
2670
|
param: {
|
|
2084
2671
|
requestId: string;
|
|
@@ -2131,14 +2718,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2131
2718
|
} | {
|
|
2132
2719
|
output: {
|
|
2133
2720
|
error: {
|
|
2134
|
-
code:
|
|
2721
|
+
code: string;
|
|
2135
2722
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2136
2723
|
message: string;
|
|
2137
2724
|
};
|
|
2138
2725
|
requestId: string;
|
|
2139
2726
|
};
|
|
2140
2727
|
outputFormat: "json";
|
|
2141
|
-
status:
|
|
2728
|
+
status: 400 | 413 | 415;
|
|
2142
2729
|
input: {
|
|
2143
2730
|
param: {
|
|
2144
2731
|
requestId: string;
|
|
@@ -2285,6 +2872,12 @@ export declare namespace create {
|
|
|
2285
2872
|
* (`() => Db.postgres(...)`) on Workers.
|
|
2286
2873
|
*/
|
|
2287
2874
|
db: Db.Source;
|
|
2875
|
+
/**
|
|
2876
|
+
* Extracts the verified admin identity from a request, or `null` to deny.
|
|
2877
|
+
* Must only return an identity for an already-authenticated request (a
|
|
2878
|
+
* verified Access JWT, or a header set by a trusted proxy).
|
|
2879
|
+
*/
|
|
2880
|
+
identify: (request: Request) => Identity | null | Promise<Identity | null>;
|
|
2288
2881
|
/**
|
|
2289
2882
|
* KV state store backing API-key records (shared with the main API's
|
|
2290
2883
|
* `kv` option), provisioned against by the `/api-keys` routes.
|
|
@@ -2292,17 +2885,15 @@ export declare namespace create {
|
|
|
2292
2885
|
kv: {
|
|
2293
2886
|
store: Store.State;
|
|
2294
2887
|
};
|
|
2295
|
-
/**
|
|
2296
|
-
|
|
2297
|
-
* Must only return an identity for an already-authenticated request (a
|
|
2298
|
-
* verified Access JWT, or a header set by a trusted proxy).
|
|
2299
|
-
*/
|
|
2300
|
-
identify: (request: Request) => Identity | null | Promise<Identity | null>;
|
|
2888
|
+
/** Tempo RPC options used by onchain verification. */
|
|
2889
|
+
rpc?: Viem.getClient.Rpc | undefined;
|
|
2301
2890
|
/**
|
|
2302
2891
|
* Admin UI options, or `false` to disable the bundled UI (JSON API only).
|
|
2303
2892
|
* `loginUrl`/`logoutUrl` are surfaced in `GET /config.json`.
|
|
2304
2893
|
*/
|
|
2305
2894
|
ui?: Ui | false | undefined;
|
|
2895
|
+
/** Zone chains available to admin routes. Pass true to use the hosted Zone list. */
|
|
2896
|
+
zones?: true | readonly Chain[] | undefined;
|
|
2306
2897
|
};
|
|
2307
2898
|
/** Admin UI options surfaced to the SPA via `GET /config.json`. */
|
|
2308
2899
|
type Ui = {
|