tapimo 0.19.0 → 0.20.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 +13 -5
- package/dist/ApiKey.d.ts +2 -2
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +2 -2
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +85 -11
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +218 -56
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +12543 -13912
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +4 -5
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +12 -20
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +20 -36
- package/dist/Scope.js.map +1 -1
- package/dist/admin/App.d.ts +871 -828
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +14 -26
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +93 -186
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +3 -5
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/audit-logs.d.ts +18 -18
- package/dist/admin/apps/audit-logs.js +1 -1
- package/dist/admin/apps/audit-logs.js.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +27 -27
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.js +11 -5
- package/dist/admin/apps/earn-vaults.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +17 -17
- package/dist/admin/apps/prop-amms.d.ts +4 -4
- package/dist/admin/apps/routes-support.js +1 -38
- package/dist/admin/apps/routes-support.js.map +1 -1
- package/dist/admin/apps/routes.d.ts +153 -153
- package/dist/admin/apps/sentinel.d.ts +4 -4
- package/dist/admin/apps/verified-tokens.d.ts +24 -24
- package/dist/admin/apps/zone-delegation-requests.d.ts +332 -0
- package/dist/admin/apps/zone-delegation-requests.d.ts.map +1 -0
- package/dist/admin/apps/zone-delegation-requests.js +200 -0
- package/dist/admin/apps/zone-delegation-requests.js.map +1 -0
- package/dist/admin/apps/zone-delegations.d.ts +512 -52
- package/dist/admin/apps/zone-delegations.d.ts.map +1 -1
- package/dist/admin/apps/zone-delegations.js +134 -44
- package/dist/admin/apps/zone-delegations.js.map +1 -1
- package/dist/admin/index.d.ts +1 -1
- package/dist/admin/index.d.ts.map +1 -1
- package/dist/admin/index.js +1 -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 +341 -397
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
- package/dist/analytics/tables/requestEvents.js +4 -2
- package/dist/analytics/tables/requestEvents.js.map +1 -1
- package/dist/apps/data/App.d.ts +11932 -13214
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +32 -13
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/ZoneSelection.d.ts +1 -1
- package/dist/apps/data/ZoneSelection.d.ts.map +1 -1
- package/dist/apps/data/ZoneSelection.js +2 -2
- package/dist/apps/data/ZoneSelection.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +60 -27
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +91 -16
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +893 -875
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +36 -36
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +3 -1
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +40 -40
- package/dist/apps/data/routes/blocks.d.ts.map +1 -1
- package/dist/apps/data/routes/blocks.js +3 -7
- package/dist/apps/data/routes/blocks.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +236 -236
- package/dist/apps/data/routes/earn-transactions.d.ts +14 -14
- package/dist/apps/data/routes/earn.d.ts +261 -1445
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +64 -490
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +144 -144
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +5 -15
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +3 -9
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +13 -13
- package/dist/apps/data/routes/receipts.d.ts +53 -53
- package/dist/apps/data/routes/receipts.js +1 -1
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +52 -0
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +19 -18
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +14 -14
- package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
- package/dist/apps/data/routes/tokenlist.js +1 -3
- package/dist/apps/data/routes/tokenlist.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +7 -5
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +281 -281
- package/dist/apps/data/routes/transactions.js +3 -3
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +12 -12
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +1 -3
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +30 -30
- package/dist/apps/data/routes/valuation.d.ts.map +1 -1
- package/dist/apps/data/routes/valuation.js +1 -3
- package/dist/apps/data/routes/valuation.js.map +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts +102 -102
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +9 -23
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zone-deposits.d.ts +16 -16
- package/dist/apps/data/routes/zone-withdrawals.d.ts +31 -31
- package/dist/apps/data/routes/zones.d.ts +28 -28
- package/dist/apps/management/App.d.ts +18 -102
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +1 -1
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +253 -339
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +25 -11
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +92 -92
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +5 -13
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/cli.d.ts.map +1 -1
- package/dist/apps/management/routes/cli.js +3 -9
- package/dist/apps/management/routes/cli.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +16 -16
- package/dist/apps/management/routes/fee-payer-usage.d.ts +38 -38
- package/dist/apps/management/routes/fee-payer-usage.d.ts.map +1 -1
- package/dist/apps/management/routes/fee-payer-usage.js +2 -4
- package/dist/apps/management/routes/fee-payer-usage.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +52 -52
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +4 -12
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
- package/dist/apps/management/routes/invite-links.js +6 -14
- package/dist/apps/management/routes/invite-links.js.map +1 -1
- package/dist/apps/management/routes/me.d.ts +6 -6
- package/dist/apps/management/routes/me.d.ts.map +1 -1
- package/dist/apps/management/routes/me.js +3 -7
- package/dist/apps/management/routes/me.js.map +1 -1
- package/dist/apps/management/routes/members.d.ts +84 -84
- package/dist/apps/management/routes/members.d.ts.map +1 -1
- package/dist/apps/management/routes/members.js +2 -4
- package/dist/apps/management/routes/members.js.map +1 -1
- package/dist/apps/management/routes/orgs.d.ts +44 -44
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +2 -6
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts.map +1 -1
- package/dist/apps/management/routes/projects.js +2 -6
- package/dist/apps/management/routes/projects.js.map +1 -1
- package/dist/apps/management/routes/route-usage.d.ts +34 -34
- package/dist/apps/management/routes/route-usage.d.ts.map +1 -1
- package/dist/apps/management/routes/route-usage.js +2 -4
- package/dist/apps/management/routes/route-usage.js.map +1 -1
- package/dist/apps/management/routes/routes-access-requests.d.ts +120 -91
- package/dist/apps/management/routes/routes-access-requests.d.ts.map +1 -1
- package/dist/apps/management/routes/routes-access-requests.js +49 -9
- package/dist/apps/management/routes/routes-access-requests.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts.map +1 -1
- package/dist/apps/management/routes/usage.js +8 -16
- package/dist/apps/management/routes/usage.js.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.d.ts +39 -39
- package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.js +3 -7
- package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
- package/dist/apps/management/routes/webhooks.d.ts +2089 -2089
- package/dist/apps/management/routes/zone-delegations.d.ts +14 -17
- package/dist/apps/management/routes/zone-delegations.d.ts.map +1 -1
- package/dist/apps/management/routes/zone-delegations.js +1 -6
- package/dist/apps/management/routes/zone-delegations.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/apps/mpp/App.js +3 -3
- package/dist/apps/mpp/App.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.js +1 -1
- package/dist/apps/mpp/internal/Adapter.js.map +1 -1
- package/dist/apps/mpp/internal/Error.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Error.js +1 -0
- package/dist/apps/mpp/internal/Error.js.map +1 -1
- package/dist/apps/mpp/internal/Policy.d.ts +5 -1
- package/dist/apps/mpp/internal/Policy.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Policy.js +35 -13
- package/dist/apps/mpp/internal/Policy.js.map +1 -1
- package/dist/apps/relay/App.d.ts +2 -2
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +25 -16
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/routes/App.d.ts +311 -311
- package/dist/apps/routes/routes/deposit-addresses.d.ts +1099 -1099
- package/dist/apps/routes/routes/list.d.ts +74 -74
- package/dist/apps/routes/routes/transfers.d.ts +94 -94
- package/dist/cli/ApiKeys.d.ts +19 -26
- package/dist/cli/ApiKeys.d.ts.map +1 -1
- package/dist/db/Db.d.ts +3 -3
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +27 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +28 -62
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +18 -18
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/rewardRuns.d.ts +21 -0
- package/dist/db/tables/rewardRuns.d.ts.map +1 -1
- package/dist/db/tables/rewardRuns.js +19 -0
- package/dist/db/tables/rewardRuns.js.map +1 -1
- package/dist/db/tables/routesAccessRequests.d.ts +13 -0
- package/dist/db/tables/routesAccessRequests.d.ts.map +1 -1
- package/dist/db/tables/routesAccessRequests.js +12 -0
- package/dist/db/tables/routesAccessRequests.js.map +1 -1
- package/dist/db/tables/zoneDelegationRequests.d.ts +165 -0
- package/dist/db/tables/zoneDelegationRequests.d.ts.map +1 -0
- package/dist/db/tables/{zoneKeyRequests.js → zoneDelegationRequests.js} +43 -42
- package/dist/db/tables/zoneDelegationRequests.js.map +1 -0
- package/dist/db/tables/zoneDelegations.d.ts +11 -5
- package/dist/db/tables/zoneDelegations.d.ts.map +1 -1
- package/dist/db/tables/zoneDelegations.js +21 -3
- package/dist/db/tables/zoneDelegations.js.map +1 -1
- package/dist/handlers/internal/accounts.d.ts +7 -0
- package/dist/handlers/internal/accounts.d.ts.map +1 -0
- package/dist/handlers/internal/{multisig.js → accounts.js} +10 -10
- package/dist/handlers/internal/{multisig.js.map → accounts.js.map} +1 -1
- package/dist/handlers/internal/sponsorship.js +17 -17
- package/dist/handlers/internal/sponsorship.js.map +1 -1
- package/dist/handlers/relay.d.ts +6 -6
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +15 -15
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +4 -8
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/EarnRates.d.ts.map +1 -1
- package/dist/internal/EarnRates.js +1 -3
- package/dist/internal/EarnRates.js.map +1 -1
- package/dist/internal/EarnVaults.js +2 -2
- package/dist/internal/Log.d.ts +2 -4
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +0 -3
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/Response.d.ts +1 -1
- package/dist/internal/Response.d.ts.map +1 -1
- package/dist/internal/Response.js +0 -3
- package/dist/internal/Response.js.map +1 -1
- package/dist/internal/Schema.d.ts +11 -0
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +24 -1
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/ZoneAccess.d.ts +70 -35
- package/dist/internal/ZoneAccess.d.ts.map +1 -1
- package/dist/internal/ZoneAccess.js +312 -131
- package/dist/internal/ZoneAccess.js.map +1 -1
- package/dist/internal/ZoneDelegation.d.ts +7 -19
- package/dist/internal/ZoneDelegation.d.ts.map +1 -1
- package/dist/internal/ZoneDelegation.js +8 -29
- package/dist/internal/ZoneDelegation.js.map +1 -1
- package/dist/internal/{ZoneKeyApproval.d.ts → ZoneDelegationApproval.d.ts} +3 -5
- package/dist/internal/ZoneDelegationApproval.d.ts.map +1 -0
- package/dist/internal/ZoneDelegationApproval.js +16 -0
- package/dist/internal/ZoneDelegationApproval.js.map +1 -0
- package/dist/internal/ZoneKeyRewrite.d.ts +98 -0
- package/dist/internal/ZoneKeyRewrite.d.ts.map +1 -0
- package/dist/internal/ZoneKeyRewrite.js +151 -0
- package/dist/internal/ZoneKeyRewrite.js.map +1 -0
- package/dist/internal/rewards/Campaigns.d.ts +2 -0
- package/dist/internal/rewards/Campaigns.d.ts.map +1 -1
- package/dist/internal/rewards/Campaigns.js.map +1 -1
- package/dist/internal/rewards/Distributions.d.ts.map +1 -1
- package/dist/internal/rewards/Distributions.js +2 -6
- package/dist/internal/rewards/Distributions.js.map +1 -1
- package/dist/internal/rewards/Monitor.d.ts +4 -1
- package/dist/internal/rewards/Monitor.d.ts.map +1 -1
- package/dist/internal/rewards/Monitor.js +19 -2
- package/dist/internal/rewards/Monitor.js.map +1 -1
- package/dist/internal/rewards/Runner.d.ts.map +1 -1
- package/dist/internal/rewards/Runner.js +9 -1
- package/dist/internal/rewards/Runner.js.map +1 -1
- package/dist/internal/routes/Action.d.ts.map +1 -1
- package/dist/internal/routes/Action.js +2 -3
- package/dist/internal/routes/Action.js.map +1 -1
- package/dist/internal/routes/Deposit.d.ts.map +1 -1
- package/dist/internal/routes/Deposit.js +2 -6
- package/dist/internal/routes/Deposit.js.map +1 -1
- package/dist/internal/routes/DepositAddress.d.ts.map +1 -1
- package/dist/internal/routes/DepositAddress.js +4 -10
- package/dist/internal/routes/DepositAddress.js.map +1 -1
- package/dist/internal/routes/Policy.d.ts.map +1 -1
- package/dist/internal/routes/Policy.js +2 -1
- package/dist/internal/routes/Policy.js.map +1 -1
- package/dist/internal/routes/Provider.js +8 -8
- package/dist/internal/routes/Provider.js.map +1 -1
- package/dist/internal/routes/Reconciliation.d.ts.map +1 -1
- package/dist/internal/routes/Reconciliation.js +3 -2
- package/dist/internal/routes/Reconciliation.js.map +1 -1
- package/dist/internal/routes/Transfer.d.ts.map +1 -1
- package/dist/internal/routes/Transfer.js +4 -12
- package/dist/internal/routes/Transfer.js.map +1 -1
- package/dist/internal/routes/UniversalDepositAddress.d.ts.map +1 -1
- package/dist/internal/routes/UniversalDepositAddress.js +3 -6
- package/dist/internal/routes/UniversalDepositAddress.js.map +1 -1
- package/dist/internal/routes/providers/SquidOrder.d.ts.map +1 -1
- package/dist/internal/routes/providers/SquidOrder.js +3 -2
- package/dist/internal/routes/providers/SquidOrder.js.map +1 -1
- package/dist/internal/routes/providers/relay.d.ts.map +1 -1
- package/dist/internal/routes/providers/relay.js +4 -3
- package/dist/internal/routes/providers/relay.js.map +1 -1
- package/package.json +20 -5
- package/src/ApiKey.ts +2 -2
- package/src/ApiKeys.test.ts +284 -51
- package/src/ApiKeys.ts +297 -64
- package/src/App.ts +4 -5
- package/src/Client.test-d.ts +33 -126
- package/src/Scope.test.ts +26 -45
- package/src/Scope.ts +24 -37
- package/src/admin/App.test.ts +51 -4
- package/src/admin/App.ts +25 -33
- package/src/admin/Mcp.test.ts +2 -1
- package/src/admin/apps/api-keys.test.ts +90 -20
- package/src/admin/apps/api-keys.ts +5 -8
- package/src/admin/apps/audit-logs.ts +1 -1
- package/src/admin/apps/earn-vaults.test.ts +19 -19
- package/src/admin/apps/earn-vaults.ts +11 -5
- package/src/admin/apps/routes-support.test.ts +254 -3
- package/src/admin/apps/routes-support.ts +1 -44
- package/src/admin/apps/scopes.test.ts +3 -3
- package/src/admin/apps/zone-delegation-requests.test.ts +246 -0
- package/src/admin/apps/zone-delegation-requests.ts +240 -0
- package/src/admin/apps/zone-delegations.test.ts +218 -58
- package/src/admin/apps/zone-delegations.ts +146 -46
- package/src/admin/index.ts +1 -1
- package/src/admin/ui/src/components/ApiKeyForm.tsx +4 -3
- package/src/admin/ui/src/lib/config.ts +3 -3
- package/src/admin/ui/src/lib/query-client.ts +1 -1
- package/src/admin/ui/src/lib/review-queues.ts +10 -10
- package/src/admin/ui/src/lib/routes-setup.test.ts +1 -2
- package/src/admin/ui/src/lib/routes-setup.ts +3 -5
- package/src/admin/ui/src/lib/scopes.test.ts +3 -6
- package/src/admin/ui/src/lib/scopes.ts +2 -9
- package/src/admin/ui/src/lib/{zone-key-requests.ts → zone-delegation-requests.ts} +27 -31
- package/src/admin/ui/src/routeTree.gen.ts +17 -17
- package/src/admin/ui/src/routes/__root.tsx +1 -1
- package/src/admin/ui/src/routes/api-keys.tsx +2 -15
- package/src/admin/ui/src/routes/audit-logs.tsx +2 -2
- package/src/admin/ui/src/routes/index.tsx +11 -11
- package/src/admin/ui/src/routes/organizations.tsx +3 -1
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +3 -1
- package/src/admin/ui/src/routes/organizations_.$orgId_.setup.tsx +1 -3
- package/src/admin/ui/src/routes/{zone-key-requests.tsx → zone-delegation-requests.tsx} +228 -172
- package/src/admin/ui/vite.config.ts +14 -1
- package/src/admin/ui.generated.ts +412 -583
- package/src/analytics/tables/requestEvents.test.ts +13 -3
- package/src/analytics/tables/requestEvents.ts +4 -3
- package/src/apps/data/App.test.ts +72 -35
- package/src/apps/data/App.ts +29 -13
- package/src/apps/data/ZoneSelection.test.ts +53 -70
- package/src/apps/data/ZoneSelection.ts +2 -2
- package/src/apps/data/routes/activities.test.ts +140 -6
- package/src/apps/data/routes/activities.ts +124 -18
- package/src/apps/data/routes/balances.ts +5 -1
- package/src/apps/data/routes/blocks.ts +9 -13
- package/src/apps/data/routes/earn-transactions.local.test.ts +6 -1
- package/src/apps/data/routes/earn-transactions.test.ts +7 -3
- package/src/apps/data/routes/earn.bench.ts +0 -14
- package/src/apps/data/routes/earn.discovery.test.ts +4 -39
- package/src/apps/data/routes/earn.local.test.ts +27 -34
- package/src/apps/data/routes/earn.test.ts +172 -490
- package/src/apps/data/routes/earn.ts +103 -652
- package/src/apps/data/routes/exchanges.ts +20 -30
- package/src/apps/data/routes/fee-amm.ts +12 -18
- package/src/apps/data/routes/indexer.test.ts +14 -12
- package/src/apps/data/routes/receipts.ts +1 -1
- package/src/apps/data/routes/rpc.test.ts +23 -18
- package/src/apps/data/routes/rpc.ts +21 -21
- package/src/apps/data/routes/rpc.zone.test.ts +60 -6
- package/src/apps/data/routes/tokenlist.ts +4 -6
- package/src/apps/data/routes/tokens.test.ts +20 -0
- package/src/apps/data/routes/tokens.ts +10 -5
- package/src/apps/data/routes/transactions.ts +3 -3
- package/src/apps/data/routes/transfers.ts +4 -6
- package/src/apps/data/routes/valuation.test.ts +2 -4
- package/src/apps/data/routes/valuation.ts +4 -6
- package/src/apps/data/routes/webhooks.test.ts +1 -5
- package/src/apps/data/routes/webhooks.ts +30 -44
- package/src/apps/data/routes/zones.test.ts +35 -19
- package/src/apps/management/App.ts +3 -1
- package/src/apps/management/routes/api-keys.test.ts +112 -22
- package/src/apps/management/routes/api-keys.ts +30 -15
- package/src/apps/management/routes/billing.ts +17 -25
- package/src/apps/management/routes/cli.ts +12 -18
- package/src/apps/management/routes/fee-payer-usage.ts +5 -4
- package/src/apps/management/routes/invitations.ts +16 -21
- package/src/apps/management/routes/invite-links.ts +18 -26
- package/src/apps/management/routes/me.ts +9 -13
- package/src/apps/management/routes/members.ts +5 -7
- package/src/apps/management/routes/orgs.ts +8 -12
- package/src/apps/management/routes/projects.ts +8 -12
- package/src/apps/management/routes/route-usage.ts +5 -4
- package/src/apps/management/routes/routes-access-requests.test.ts +64 -2
- package/src/apps/management/routes/routes-access-requests.ts +99 -15
- package/src/apps/management/routes/scopes.test.ts +3 -3
- package/src/apps/management/routes/usage.ts +20 -28
- package/src/apps/management/routes/verified-token-requests.ts +9 -13
- package/src/apps/management/routes/zone-delegations.test.ts +3 -5
- package/src/apps/management/routes/zone-delegations.ts +4 -9
- package/src/apps/mpp/App.ts +3 -3
- package/src/apps/mpp/Mpp.zone.test.ts +49 -18
- package/src/apps/mpp/internal/Adapter.ts +1 -1
- package/src/apps/mpp/internal/Error.test.ts +3 -0
- package/src/apps/mpp/internal/Error.ts +1 -0
- package/src/apps/mpp/internal/Policy.test.ts +9 -8
- package/src/apps/mpp/internal/Policy.ts +37 -14
- package/src/apps/relay/App.sandbox.test.ts +15 -14
- package/src/apps/relay/App.test.ts +120 -61
- package/src/apps/relay/App.ts +28 -18
- package/src/apps/relay/App.zone-billing.test.ts +9 -4
- package/src/apps/routes/App.test.ts +21 -22
- package/src/db/Db.ts +34 -3
- package/src/db/Schema.ts +26 -26
- package/src/db/tables/rewardRuns.ts +39 -0
- package/src/db/tables/routesAccessRequests.test.ts +65 -0
- package/src/db/tables/routesAccessRequests.ts +25 -0
- package/src/db/tables/{zoneKeyRequests.test.ts → zoneDelegationRequests.test.ts} +36 -77
- package/src/db/tables/{zoneKeyRequests.ts → zoneDelegationRequests.ts} +69 -52
- package/src/db/tables/zoneDelegations.test.ts +5 -6
- package/src/db/tables/zoneDelegations.ts +25 -8
- package/src/handlers/internal/{multisig.store.test.ts → accounts.store.test.ts} +16 -16
- package/src/handlers/internal/{multisig.test.ts → accounts.test.ts} +85 -82
- package/src/handlers/internal/{multisig.ts → accounts.ts} +9 -9
- package/src/handlers/internal/sponsorship.ts +20 -20
- package/src/handlers/relay.test.ts +48 -46
- package/src/handlers/relay.ts +26 -26
- package/src/internal/Auth.test.ts +6 -2
- package/src/internal/Auth.ts +4 -10
- package/src/internal/EarnRates.ts +4 -6
- package/src/internal/EarnVaults.ts +2 -2
- package/src/internal/Log.test-d.ts +1 -0
- package/src/internal/Log.test.ts +4 -6
- package/src/internal/Log.ts +2 -6
- package/src/internal/Response.ts +0 -3
- package/src/internal/Schema.test.ts +42 -0
- package/src/internal/Schema.ts +36 -1
- package/src/internal/ZoneAccess.test.ts +515 -312
- package/src/internal/ZoneAccess.ts +410 -158
- package/src/internal/ZoneDelegation.test.ts +1 -41
- package/src/internal/ZoneDelegation.ts +10 -48
- package/src/internal/ZoneDelegationApproval.test.ts +22 -0
- package/src/internal/{ZoneKeyApproval.ts → ZoneDelegationApproval.ts} +4 -11
- package/src/internal/ZoneKeyRewrite.ts +231 -0
- package/src/internal/rewards/Campaigns.ts +2 -0
- package/src/internal/rewards/Distributions.ts +8 -12
- package/src/internal/rewards/Monitor.test.ts +64 -0
- package/src/internal/rewards/Monitor.ts +27 -4
- package/src/internal/rewards/Runner.ts +9 -1
- package/src/internal/routes/Action.ts +5 -6
- package/src/internal/routes/Deposit.ts +8 -12
- package/src/internal/routes/DepositAddress.ts +13 -19
- package/src/internal/routes/Policy.ts +2 -1
- package/src/internal/routes/Provider.ts +8 -8
- package/src/internal/routes/Reconciliation.ts +3 -2
- package/src/internal/routes/Transfer.ts +16 -24
- package/src/internal/routes/UniversalDepositAddress.ts +9 -12
- package/src/internal/routes/providers/SquidOrder.ts +3 -2
- package/src/internal/routes/providers/relay.ts +4 -3
- package/dist/admin/apps/zone-key-requests.d.ts +0 -406
- package/dist/admin/apps/zone-key-requests.d.ts.map +0 -1
- package/dist/admin/apps/zone-key-requests.js +0 -183
- package/dist/admin/apps/zone-key-requests.js.map +0 -1
- package/dist/db/tables/zoneKeyRequests.d.ts +0 -289
- package/dist/db/tables/zoneKeyRequests.d.ts.map +0 -1
- package/dist/db/tables/zoneKeyRequests.js.map +0 -1
- package/dist/handlers/internal/multisig.d.ts +0 -7
- package/dist/handlers/internal/multisig.d.ts.map +0 -1
- package/dist/internal/ZoneKeyApproval.d.ts.map +0 -1
- package/dist/internal/ZoneKeyApproval.js +0 -21
- package/dist/internal/ZoneKeyApproval.js.map +0 -1
- package/src/admin/apps/zone-key-requests.test.ts +0 -272
- package/src/admin/apps/zone-key-requests.ts +0 -231
- package/src/internal/ZoneKeyApproval.test.ts +0 -46
|
@@ -37,7 +37,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
37
37
|
} | {
|
|
38
38
|
output: {
|
|
39
39
|
error: {
|
|
40
|
-
code: "
|
|
40
|
+
code: "query_invalid";
|
|
41
41
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
42
42
|
message: string;
|
|
43
43
|
};
|
|
@@ -61,14 +61,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
61
61
|
} | {
|
|
62
62
|
output: {
|
|
63
63
|
error: {
|
|
64
|
-
code: "
|
|
64
|
+
code: "api_key_malformed";
|
|
65
65
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
66
66
|
message: string;
|
|
67
67
|
};
|
|
68
68
|
requestId: string;
|
|
69
69
|
};
|
|
70
70
|
outputFormat: "json";
|
|
71
|
-
status:
|
|
71
|
+
status: 400;
|
|
72
72
|
input: {
|
|
73
73
|
query?: {
|
|
74
74
|
cursor?: string | string[];
|
|
@@ -85,14 +85,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
85
85
|
} | {
|
|
86
86
|
output: {
|
|
87
87
|
error: {
|
|
88
|
-
code: "
|
|
88
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
89
89
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
90
90
|
message: string;
|
|
91
91
|
};
|
|
92
92
|
requestId: string;
|
|
93
93
|
};
|
|
94
94
|
outputFormat: "json";
|
|
95
|
-
status:
|
|
95
|
+
status: 401;
|
|
96
96
|
input: {
|
|
97
97
|
query?: {
|
|
98
98
|
cursor?: string | string[];
|
|
@@ -109,14 +109,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
109
109
|
} | {
|
|
110
110
|
output: {
|
|
111
111
|
error: {
|
|
112
|
-
code: "
|
|
112
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
113
113
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
114
114
|
message: string;
|
|
115
115
|
};
|
|
116
116
|
requestId: string;
|
|
117
117
|
};
|
|
118
118
|
outputFormat: "json";
|
|
119
|
-
status:
|
|
119
|
+
status: 403;
|
|
120
120
|
input: {
|
|
121
121
|
query?: {
|
|
122
122
|
cursor?: string | string[];
|
|
@@ -133,14 +133,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
133
133
|
} | {
|
|
134
134
|
output: {
|
|
135
135
|
error: {
|
|
136
|
-
code: "
|
|
136
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
137
137
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
138
138
|
message: string;
|
|
139
139
|
};
|
|
140
140
|
requestId: string;
|
|
141
141
|
};
|
|
142
142
|
outputFormat: "json";
|
|
143
|
-
status:
|
|
143
|
+
status: 429;
|
|
144
144
|
input: {
|
|
145
145
|
query?: {
|
|
146
146
|
cursor?: string | string[];
|
|
@@ -255,14 +255,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
255
255
|
$get: {
|
|
256
256
|
output: {
|
|
257
257
|
error: {
|
|
258
|
-
code: "
|
|
258
|
+
code: "upstream_error";
|
|
259
259
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
260
260
|
message: string;
|
|
261
261
|
};
|
|
262
262
|
requestId: string;
|
|
263
263
|
};
|
|
264
264
|
outputFormat: "json";
|
|
265
|
-
status:
|
|
265
|
+
status: 502;
|
|
266
266
|
input: {
|
|
267
267
|
query?: {
|
|
268
268
|
cursor?: string | string[];
|
|
@@ -274,14 +274,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
274
274
|
} | {
|
|
275
275
|
output: {
|
|
276
276
|
error: {
|
|
277
|
-
code: "
|
|
277
|
+
code: "query_invalid";
|
|
278
278
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
279
279
|
message: string;
|
|
280
280
|
};
|
|
281
281
|
requestId: string;
|
|
282
282
|
};
|
|
283
283
|
outputFormat: "json";
|
|
284
|
-
status:
|
|
284
|
+
status: 400;
|
|
285
285
|
input: {
|
|
286
286
|
query?: {
|
|
287
287
|
cursor?: string | string[];
|
|
@@ -293,14 +293,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
293
293
|
} | {
|
|
294
294
|
output: {
|
|
295
295
|
error: {
|
|
296
|
-
code: "
|
|
296
|
+
code: "api_key_malformed";
|
|
297
297
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
298
298
|
message: string;
|
|
299
299
|
};
|
|
300
300
|
requestId: string;
|
|
301
301
|
};
|
|
302
302
|
outputFormat: "json";
|
|
303
|
-
status:
|
|
303
|
+
status: 400;
|
|
304
304
|
input: {
|
|
305
305
|
query?: {
|
|
306
306
|
cursor?: string | string[];
|
|
@@ -312,14 +312,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
312
312
|
} | {
|
|
313
313
|
output: {
|
|
314
314
|
error: {
|
|
315
|
-
code: "
|
|
315
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
316
316
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
317
317
|
message: string;
|
|
318
318
|
};
|
|
319
319
|
requestId: string;
|
|
320
320
|
};
|
|
321
321
|
outputFormat: "json";
|
|
322
|
-
status:
|
|
322
|
+
status: 401;
|
|
323
323
|
input: {
|
|
324
324
|
query?: {
|
|
325
325
|
cursor?: string | string[];
|
|
@@ -331,14 +331,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
331
331
|
} | {
|
|
332
332
|
output: {
|
|
333
333
|
error: {
|
|
334
|
-
code: "
|
|
334
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
335
335
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
336
336
|
message: string;
|
|
337
337
|
};
|
|
338
338
|
requestId: string;
|
|
339
339
|
};
|
|
340
340
|
outputFormat: "json";
|
|
341
|
-
status:
|
|
341
|
+
status: 403;
|
|
342
342
|
input: {
|
|
343
343
|
query?: {
|
|
344
344
|
cursor?: string | string[];
|
|
@@ -350,14 +350,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
350
350
|
} | {
|
|
351
351
|
output: {
|
|
352
352
|
error: {
|
|
353
|
-
code: "
|
|
353
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
354
354
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
355
355
|
message: string;
|
|
356
356
|
};
|
|
357
357
|
requestId: string;
|
|
358
358
|
};
|
|
359
359
|
outputFormat: "json";
|
|
360
|
-
status:
|
|
360
|
+
status: 429;
|
|
361
361
|
input: {
|
|
362
362
|
query?: {
|
|
363
363
|
cursor?: string | string[];
|
|
@@ -521,14 +521,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
521
521
|
$get: {
|
|
522
522
|
output: {
|
|
523
523
|
error: {
|
|
524
|
-
code: "
|
|
524
|
+
code: "upstream_error";
|
|
525
525
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
526
526
|
message: string;
|
|
527
527
|
};
|
|
528
528
|
requestId: string;
|
|
529
529
|
};
|
|
530
530
|
outputFormat: "json";
|
|
531
|
-
status:
|
|
531
|
+
status: 502;
|
|
532
532
|
input: {
|
|
533
533
|
query: {
|
|
534
534
|
amount: string | string[];
|
|
@@ -546,14 +546,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
546
546
|
} | {
|
|
547
547
|
output: {
|
|
548
548
|
error: {
|
|
549
|
-
code: "
|
|
549
|
+
code: "query_invalid";
|
|
550
550
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
551
551
|
message: string;
|
|
552
552
|
};
|
|
553
553
|
requestId: string;
|
|
554
554
|
};
|
|
555
555
|
outputFormat: "json";
|
|
556
|
-
status:
|
|
556
|
+
status: 400;
|
|
557
557
|
input: {
|
|
558
558
|
query: {
|
|
559
559
|
amount: string | string[];
|
|
@@ -571,14 +571,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
571
571
|
} | {
|
|
572
572
|
output: {
|
|
573
573
|
error: {
|
|
574
|
-
code: "
|
|
574
|
+
code: "api_key_malformed";
|
|
575
575
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
576
576
|
message: string;
|
|
577
577
|
};
|
|
578
578
|
requestId: string;
|
|
579
579
|
};
|
|
580
580
|
outputFormat: "json";
|
|
581
|
-
status:
|
|
581
|
+
status: 400;
|
|
582
582
|
input: {
|
|
583
583
|
query: {
|
|
584
584
|
amount: string | string[];
|
|
@@ -596,14 +596,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
596
596
|
} | {
|
|
597
597
|
output: {
|
|
598
598
|
error: {
|
|
599
|
-
code: "
|
|
599
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
600
600
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
601
601
|
message: string;
|
|
602
602
|
};
|
|
603
603
|
requestId: string;
|
|
604
604
|
};
|
|
605
605
|
outputFormat: "json";
|
|
606
|
-
status:
|
|
606
|
+
status: 401;
|
|
607
607
|
input: {
|
|
608
608
|
query: {
|
|
609
609
|
amount: string | string[];
|
|
@@ -621,14 +621,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
621
621
|
} | {
|
|
622
622
|
output: {
|
|
623
623
|
error: {
|
|
624
|
-
code: "
|
|
624
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
625
625
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
626
626
|
message: string;
|
|
627
627
|
};
|
|
628
628
|
requestId: string;
|
|
629
629
|
};
|
|
630
630
|
outputFormat: "json";
|
|
631
|
-
status:
|
|
631
|
+
status: 403;
|
|
632
632
|
input: {
|
|
633
633
|
query: {
|
|
634
634
|
amount: string | string[];
|
|
@@ -646,14 +646,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
646
646
|
} | {
|
|
647
647
|
output: {
|
|
648
648
|
error: {
|
|
649
|
-
code: "
|
|
649
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
650
650
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
651
651
|
message: string;
|
|
652
652
|
};
|
|
653
653
|
requestId: string;
|
|
654
654
|
};
|
|
655
655
|
outputFormat: "json";
|
|
656
|
-
status:
|
|
656
|
+
status: 429;
|
|
657
657
|
input: {
|
|
658
658
|
query: {
|
|
659
659
|
amount: string | string[];
|
|
@@ -977,14 +977,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
977
977
|
$get: {
|
|
978
978
|
output: {
|
|
979
979
|
error: {
|
|
980
|
-
code: "
|
|
980
|
+
code: "upstream_error";
|
|
981
981
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
982
982
|
message: string;
|
|
983
983
|
};
|
|
984
984
|
requestId: string;
|
|
985
985
|
};
|
|
986
986
|
outputFormat: "json";
|
|
987
|
-
status:
|
|
987
|
+
status: 502;
|
|
988
988
|
input: {
|
|
989
989
|
param: {
|
|
990
990
|
id: string;
|
|
@@ -993,14 +993,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
993
993
|
} | {
|
|
994
994
|
output: {
|
|
995
995
|
error: {
|
|
996
|
-
code: "
|
|
996
|
+
code: "api_key_malformed";
|
|
997
997
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
998
998
|
message: string;
|
|
999
999
|
};
|
|
1000
1000
|
requestId: string;
|
|
1001
1001
|
};
|
|
1002
1002
|
outputFormat: "json";
|
|
1003
|
-
status:
|
|
1003
|
+
status: 400;
|
|
1004
1004
|
input: {
|
|
1005
1005
|
param: {
|
|
1006
1006
|
id: string;
|
|
@@ -1009,14 +1009,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1009
1009
|
} | {
|
|
1010
1010
|
output: {
|
|
1011
1011
|
error: {
|
|
1012
|
-
code: "
|
|
1012
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1013
1013
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1014
1014
|
message: string;
|
|
1015
1015
|
};
|
|
1016
1016
|
requestId: string;
|
|
1017
1017
|
};
|
|
1018
1018
|
outputFormat: "json";
|
|
1019
|
-
status:
|
|
1019
|
+
status: 401;
|
|
1020
1020
|
input: {
|
|
1021
1021
|
param: {
|
|
1022
1022
|
id: string;
|
|
@@ -1025,14 +1025,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1025
1025
|
} | {
|
|
1026
1026
|
output: {
|
|
1027
1027
|
error: {
|
|
1028
|
-
code: "
|
|
1028
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1029
1029
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1030
1030
|
message: string;
|
|
1031
1031
|
};
|
|
1032
1032
|
requestId: string;
|
|
1033
1033
|
};
|
|
1034
1034
|
outputFormat: "json";
|
|
1035
|
-
status:
|
|
1035
|
+
status: 403;
|
|
1036
1036
|
input: {
|
|
1037
1037
|
param: {
|
|
1038
1038
|
id: string;
|
|
@@ -1041,14 +1041,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1041
1041
|
} | {
|
|
1042
1042
|
output: {
|
|
1043
1043
|
error: {
|
|
1044
|
-
code: "
|
|
1044
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1045
1045
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1046
1046
|
message: string;
|
|
1047
1047
|
};
|
|
1048
1048
|
requestId: string;
|
|
1049
1049
|
};
|
|
1050
1050
|
outputFormat: "json";
|
|
1051
|
-
status:
|
|
1051
|
+
status: 429;
|
|
1052
1052
|
input: {
|
|
1053
1053
|
param: {
|
|
1054
1054
|
id: string;
|
|
@@ -1228,14 +1228,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1228
1228
|
$post: {
|
|
1229
1229
|
output: {
|
|
1230
1230
|
error: {
|
|
1231
|
-
code: "
|
|
1231
|
+
code: "body_invalid";
|
|
1232
1232
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1233
1233
|
message: string;
|
|
1234
1234
|
};
|
|
1235
1235
|
requestId: string;
|
|
1236
1236
|
};
|
|
1237
1237
|
outputFormat: "json";
|
|
1238
|
-
status:
|
|
1238
|
+
status: 400;
|
|
1239
1239
|
input: {
|
|
1240
1240
|
param: {
|
|
1241
1241
|
id: string;
|
|
@@ -1250,14 +1250,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1250
1250
|
} | {
|
|
1251
1251
|
output: {
|
|
1252
1252
|
error: {
|
|
1253
|
-
code: "
|
|
1253
|
+
code: "upstream_error";
|
|
1254
1254
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1255
1255
|
message: string;
|
|
1256
1256
|
};
|
|
1257
1257
|
requestId: string;
|
|
1258
1258
|
};
|
|
1259
1259
|
outputFormat: "json";
|
|
1260
|
-
status:
|
|
1260
|
+
status: 502;
|
|
1261
1261
|
input: {
|
|
1262
1262
|
param: {
|
|
1263
1263
|
id: string;
|
|
@@ -1272,14 +1272,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1272
1272
|
} | {
|
|
1273
1273
|
output: {
|
|
1274
1274
|
error: {
|
|
1275
|
-
code: "
|
|
1275
|
+
code: "payload_too_large";
|
|
1276
1276
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1277
1277
|
message: string;
|
|
1278
1278
|
};
|
|
1279
1279
|
requestId: string;
|
|
1280
1280
|
};
|
|
1281
1281
|
outputFormat: "json";
|
|
1282
|
-
status:
|
|
1282
|
+
status: 413;
|
|
1283
1283
|
input: {
|
|
1284
1284
|
param: {
|
|
1285
1285
|
id: string;
|
|
@@ -1294,14 +1294,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1294
1294
|
} | {
|
|
1295
1295
|
output: {
|
|
1296
1296
|
error: {
|
|
1297
|
-
code: "
|
|
1297
|
+
code: "api_key_malformed";
|
|
1298
1298
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1299
1299
|
message: string;
|
|
1300
1300
|
};
|
|
1301
1301
|
requestId: string;
|
|
1302
1302
|
};
|
|
1303
1303
|
outputFormat: "json";
|
|
1304
|
-
status:
|
|
1304
|
+
status: 400;
|
|
1305
1305
|
input: {
|
|
1306
1306
|
param: {
|
|
1307
1307
|
id: string;
|
|
@@ -1316,14 +1316,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1316
1316
|
} | {
|
|
1317
1317
|
output: {
|
|
1318
1318
|
error: {
|
|
1319
|
-
code: "
|
|
1319
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1320
1320
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1321
1321
|
message: string;
|
|
1322
1322
|
};
|
|
1323
1323
|
requestId: string;
|
|
1324
1324
|
};
|
|
1325
1325
|
outputFormat: "json";
|
|
1326
|
-
status:
|
|
1326
|
+
status: 401;
|
|
1327
1327
|
input: {
|
|
1328
1328
|
param: {
|
|
1329
1329
|
id: string;
|
|
@@ -1338,14 +1338,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1338
1338
|
} | {
|
|
1339
1339
|
output: {
|
|
1340
1340
|
error: {
|
|
1341
|
-
code: "
|
|
1341
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1342
1342
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1343
1343
|
message: string;
|
|
1344
1344
|
};
|
|
1345
1345
|
requestId: string;
|
|
1346
1346
|
};
|
|
1347
1347
|
outputFormat: "json";
|
|
1348
|
-
status:
|
|
1348
|
+
status: 403;
|
|
1349
1349
|
input: {
|
|
1350
1350
|
param: {
|
|
1351
1351
|
id: string;
|
|
@@ -1360,14 +1360,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1360
1360
|
} | {
|
|
1361
1361
|
output: {
|
|
1362
1362
|
error: {
|
|
1363
|
-
code: "
|
|
1363
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1364
1364
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1365
1365
|
message: string;
|
|
1366
1366
|
};
|
|
1367
1367
|
requestId: string;
|
|
1368
1368
|
};
|
|
1369
1369
|
outputFormat: "json";
|
|
1370
|
-
status:
|
|
1370
|
+
status: 429;
|
|
1371
1371
|
input: {
|
|
1372
1372
|
param: {
|
|
1373
1373
|
id: string;
|
|
@@ -1382,14 +1382,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1382
1382
|
} | {
|
|
1383
1383
|
output: {
|
|
1384
1384
|
error: {
|
|
1385
|
-
code: "
|
|
1385
|
+
code: "unauthorized";
|
|
1386
1386
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1387
1387
|
message: string;
|
|
1388
1388
|
};
|
|
1389
1389
|
requestId: string;
|
|
1390
1390
|
};
|
|
1391
1391
|
outputFormat: "json";
|
|
1392
|
-
status:
|
|
1392
|
+
status: 401;
|
|
1393
1393
|
input: {
|
|
1394
1394
|
param: {
|
|
1395
1395
|
id: string;
|
|
@@ -1709,14 +1709,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1709
1709
|
$post: {
|
|
1710
1710
|
output: {
|
|
1711
1711
|
error: {
|
|
1712
|
-
code: "
|
|
1712
|
+
code: "body_invalid";
|
|
1713
1713
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1714
1714
|
message: string;
|
|
1715
1715
|
};
|
|
1716
1716
|
requestId: string;
|
|
1717
1717
|
};
|
|
1718
1718
|
outputFormat: "json";
|
|
1719
|
-
status:
|
|
1719
|
+
status: 400;
|
|
1720
1720
|
input: {
|
|
1721
1721
|
header: {
|
|
1722
1722
|
'idempotency-key': string;
|
|
@@ -1738,14 +1738,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1738
1738
|
} | {
|
|
1739
1739
|
output: {
|
|
1740
1740
|
error: {
|
|
1741
|
-
code: "
|
|
1741
|
+
code: "upstream_error";
|
|
1742
1742
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1743
1743
|
message: string;
|
|
1744
1744
|
};
|
|
1745
1745
|
requestId: string;
|
|
1746
1746
|
};
|
|
1747
1747
|
outputFormat: "json";
|
|
1748
|
-
status:
|
|
1748
|
+
status: 502;
|
|
1749
1749
|
input: {
|
|
1750
1750
|
header: {
|
|
1751
1751
|
'idempotency-key': string;
|
|
@@ -1767,14 +1767,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1767
1767
|
} | {
|
|
1768
1768
|
output: {
|
|
1769
1769
|
error: {
|
|
1770
|
-
code: "
|
|
1770
|
+
code: "payload_too_large";
|
|
1771
1771
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1772
1772
|
message: string;
|
|
1773
1773
|
};
|
|
1774
1774
|
requestId: string;
|
|
1775
1775
|
};
|
|
1776
1776
|
outputFormat: "json";
|
|
1777
|
-
status:
|
|
1777
|
+
status: 413;
|
|
1778
1778
|
input: {
|
|
1779
1779
|
header: {
|
|
1780
1780
|
'idempotency-key': string;
|
|
@@ -1796,14 +1796,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1796
1796
|
} | {
|
|
1797
1797
|
output: {
|
|
1798
1798
|
error: {
|
|
1799
|
-
code: "
|
|
1799
|
+
code: "api_key_malformed";
|
|
1800
1800
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1801
1801
|
message: string;
|
|
1802
1802
|
};
|
|
1803
1803
|
requestId: string;
|
|
1804
1804
|
};
|
|
1805
1805
|
outputFormat: "json";
|
|
1806
|
-
status:
|
|
1806
|
+
status: 400;
|
|
1807
1807
|
input: {
|
|
1808
1808
|
header: {
|
|
1809
1809
|
'idempotency-key': string;
|
|
@@ -1825,14 +1825,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1825
1825
|
} | {
|
|
1826
1826
|
output: {
|
|
1827
1827
|
error: {
|
|
1828
|
-
code: "
|
|
1828
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1829
1829
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1830
1830
|
message: string;
|
|
1831
1831
|
};
|
|
1832
1832
|
requestId: string;
|
|
1833
1833
|
};
|
|
1834
1834
|
outputFormat: "json";
|
|
1835
|
-
status:
|
|
1835
|
+
status: 401;
|
|
1836
1836
|
input: {
|
|
1837
1837
|
header: {
|
|
1838
1838
|
'idempotency-key': string;
|
|
@@ -1854,14 +1854,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1854
1854
|
} | {
|
|
1855
1855
|
output: {
|
|
1856
1856
|
error: {
|
|
1857
|
-
code: "
|
|
1857
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1858
1858
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1859
1859
|
message: string;
|
|
1860
1860
|
};
|
|
1861
1861
|
requestId: string;
|
|
1862
1862
|
};
|
|
1863
1863
|
outputFormat: "json";
|
|
1864
|
-
status:
|
|
1864
|
+
status: 403;
|
|
1865
1865
|
input: {
|
|
1866
1866
|
header: {
|
|
1867
1867
|
'idempotency-key': string;
|
|
@@ -1883,14 +1883,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1883
1883
|
} | {
|
|
1884
1884
|
output: {
|
|
1885
1885
|
error: {
|
|
1886
|
-
code: "
|
|
1886
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1887
1887
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1888
1888
|
message: string;
|
|
1889
1889
|
};
|
|
1890
1890
|
requestId: string;
|
|
1891
1891
|
};
|
|
1892
1892
|
outputFormat: "json";
|
|
1893
|
-
status:
|
|
1893
|
+
status: 429;
|
|
1894
1894
|
input: {
|
|
1895
1895
|
header: {
|
|
1896
1896
|
'idempotency-key': string;
|
|
@@ -1912,14 +1912,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1912
1912
|
} | {
|
|
1913
1913
|
output: {
|
|
1914
1914
|
error: {
|
|
1915
|
-
code: "
|
|
1915
|
+
code: "unauthorized";
|
|
1916
1916
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1917
1917
|
message: string;
|
|
1918
1918
|
};
|
|
1919
1919
|
requestId: string;
|
|
1920
1920
|
};
|
|
1921
1921
|
outputFormat: "json";
|
|
1922
|
-
status:
|
|
1922
|
+
status: 401;
|
|
1923
1923
|
input: {
|
|
1924
1924
|
header: {
|
|
1925
1925
|
'idempotency-key': string;
|
|
@@ -1941,14 +1941,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1941
1941
|
} | {
|
|
1942
1942
|
output: {
|
|
1943
1943
|
error: {
|
|
1944
|
-
code: "
|
|
1944
|
+
code: "quote_not_available";
|
|
1945
1945
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1946
1946
|
message: string;
|
|
1947
1947
|
};
|
|
1948
1948
|
requestId: string;
|
|
1949
1949
|
};
|
|
1950
1950
|
outputFormat: "json";
|
|
1951
|
-
status:
|
|
1951
|
+
status: 404;
|
|
1952
1952
|
input: {
|
|
1953
1953
|
header: {
|
|
1954
1954
|
'idempotency-key': string;
|
|
@@ -1970,14 +1970,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1970
1970
|
} | {
|
|
1971
1971
|
output: {
|
|
1972
1972
|
error: {
|
|
1973
|
-
code: "
|
|
1973
|
+
code: "route_policy_changed";
|
|
1974
1974
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1975
1975
|
message: string;
|
|
1976
1976
|
};
|
|
1977
1977
|
requestId: string;
|
|
1978
1978
|
};
|
|
1979
1979
|
outputFormat: "json";
|
|
1980
|
-
status:
|
|
1980
|
+
status: 409;
|
|
1981
1981
|
input: {
|
|
1982
1982
|
header: {
|
|
1983
1983
|
'idempotency-key': string;
|
|
@@ -1999,14 +1999,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
1999
1999
|
} | {
|
|
2000
2000
|
output: {
|
|
2001
2001
|
error: {
|
|
2002
|
-
code: "
|
|
2002
|
+
code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
|
|
2003
2003
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2004
2004
|
message: string;
|
|
2005
2005
|
};
|
|
2006
2006
|
requestId: string;
|
|
2007
2007
|
};
|
|
2008
2008
|
outputFormat: "json";
|
|
2009
|
-
status:
|
|
2009
|
+
status: 403;
|
|
2010
2010
|
input: {
|
|
2011
2011
|
header: {
|
|
2012
2012
|
'idempotency-key': string;
|
|
@@ -2317,6 +2317,13 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2317
2317
|
value: string;
|
|
2318
2318
|
}[];
|
|
2319
2319
|
type: "evm:calls";
|
|
2320
|
+
} | {
|
|
2321
|
+
calls: {
|
|
2322
|
+
data: string;
|
|
2323
|
+
to: string;
|
|
2324
|
+
value: string;
|
|
2325
|
+
}[];
|
|
2326
|
+
type: "tron:calls";
|
|
2320
2327
|
} | {
|
|
2321
2328
|
networkPassphrase: "Public Global Stellar Network ; September 2015";
|
|
2322
2329
|
recovery?: {
|
|
@@ -2333,13 +2340,6 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2333
2340
|
} | undefined;
|
|
2334
2341
|
type: "stellar:xdr";
|
|
2335
2342
|
xdr: string;
|
|
2336
|
-
} | {
|
|
2337
|
-
calls: {
|
|
2338
|
-
data: string;
|
|
2339
|
-
to: string;
|
|
2340
|
-
value: string;
|
|
2341
|
-
}[];
|
|
2342
|
-
type: "tron:calls";
|
|
2343
2343
|
};
|
|
2344
2344
|
};
|
|
2345
2345
|
outputFormat: "json";
|
|
@@ -2369,14 +2369,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2369
2369
|
$post: {
|
|
2370
2370
|
output: {
|
|
2371
2371
|
error: {
|
|
2372
|
-
code: "
|
|
2372
|
+
code: "body_invalid";
|
|
2373
2373
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2374
2374
|
message: string;
|
|
2375
2375
|
};
|
|
2376
2376
|
requestId: string;
|
|
2377
2377
|
};
|
|
2378
2378
|
outputFormat: "json";
|
|
2379
|
-
status:
|
|
2379
|
+
status: 400;
|
|
2380
2380
|
input: {
|
|
2381
2381
|
header: {
|
|
2382
2382
|
'idempotency-key': string;
|
|
@@ -2396,14 +2396,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2396
2396
|
} | {
|
|
2397
2397
|
output: {
|
|
2398
2398
|
error: {
|
|
2399
|
-
code: "
|
|
2399
|
+
code: "payload_too_large";
|
|
2400
2400
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2401
2401
|
message: string;
|
|
2402
2402
|
};
|
|
2403
2403
|
requestId: string;
|
|
2404
2404
|
};
|
|
2405
2405
|
outputFormat: "json";
|
|
2406
|
-
status:
|
|
2406
|
+
status: 413;
|
|
2407
2407
|
input: {
|
|
2408
2408
|
header: {
|
|
2409
2409
|
'idempotency-key': string;
|
|
@@ -2423,14 +2423,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2423
2423
|
} | {
|
|
2424
2424
|
output: {
|
|
2425
2425
|
error: {
|
|
2426
|
-
code: "
|
|
2426
|
+
code: "api_key_malformed";
|
|
2427
2427
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2428
2428
|
message: string;
|
|
2429
2429
|
};
|
|
2430
2430
|
requestId: string;
|
|
2431
2431
|
};
|
|
2432
2432
|
outputFormat: "json";
|
|
2433
|
-
status:
|
|
2433
|
+
status: 400;
|
|
2434
2434
|
input: {
|
|
2435
2435
|
header: {
|
|
2436
2436
|
'idempotency-key': string;
|
|
@@ -2450,14 +2450,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2450
2450
|
} | {
|
|
2451
2451
|
output: {
|
|
2452
2452
|
error: {
|
|
2453
|
-
code: "
|
|
2453
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2454
2454
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2455
2455
|
message: string;
|
|
2456
2456
|
};
|
|
2457
2457
|
requestId: string;
|
|
2458
2458
|
};
|
|
2459
2459
|
outputFormat: "json";
|
|
2460
|
-
status:
|
|
2460
|
+
status: 401;
|
|
2461
2461
|
input: {
|
|
2462
2462
|
header: {
|
|
2463
2463
|
'idempotency-key': string;
|
|
@@ -2477,14 +2477,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2477
2477
|
} | {
|
|
2478
2478
|
output: {
|
|
2479
2479
|
error: {
|
|
2480
|
-
code: "
|
|
2480
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
2481
2481
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2482
2482
|
message: string;
|
|
2483
2483
|
};
|
|
2484
2484
|
requestId: string;
|
|
2485
2485
|
};
|
|
2486
2486
|
outputFormat: "json";
|
|
2487
|
-
status:
|
|
2487
|
+
status: 403;
|
|
2488
2488
|
input: {
|
|
2489
2489
|
header: {
|
|
2490
2490
|
'idempotency-key': string;
|
|
@@ -2504,14 +2504,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2504
2504
|
} | {
|
|
2505
2505
|
output: {
|
|
2506
2506
|
error: {
|
|
2507
|
-
code: "
|
|
2507
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2508
2508
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2509
2509
|
message: string;
|
|
2510
2510
|
};
|
|
2511
2511
|
requestId: string;
|
|
2512
2512
|
};
|
|
2513
2513
|
outputFormat: "json";
|
|
2514
|
-
status:
|
|
2514
|
+
status: 429;
|
|
2515
2515
|
input: {
|
|
2516
2516
|
header: {
|
|
2517
2517
|
'idempotency-key': string;
|
|
@@ -2562,14 +2562,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2562
2562
|
$post: {
|
|
2563
2563
|
output: {
|
|
2564
2564
|
error: {
|
|
2565
|
-
code: "
|
|
2565
|
+
code: "body_invalid";
|
|
2566
2566
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2567
2567
|
message: string;
|
|
2568
2568
|
};
|
|
2569
2569
|
requestId: string;
|
|
2570
2570
|
};
|
|
2571
2571
|
outputFormat: "json";
|
|
2572
|
-
status:
|
|
2572
|
+
status: 400;
|
|
2573
2573
|
input: {
|
|
2574
2574
|
header: {
|
|
2575
2575
|
'idempotency-key': string;
|
|
@@ -2591,14 +2591,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2591
2591
|
} | {
|
|
2592
2592
|
output: {
|
|
2593
2593
|
error: {
|
|
2594
|
-
code: "
|
|
2594
|
+
code: "payload_too_large";
|
|
2595
2595
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2596
2596
|
message: string;
|
|
2597
2597
|
};
|
|
2598
2598
|
requestId: string;
|
|
2599
2599
|
};
|
|
2600
2600
|
outputFormat: "json";
|
|
2601
|
-
status:
|
|
2601
|
+
status: 413;
|
|
2602
2602
|
input: {
|
|
2603
2603
|
header: {
|
|
2604
2604
|
'idempotency-key': string;
|
|
@@ -2620,14 +2620,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2620
2620
|
} | {
|
|
2621
2621
|
output: {
|
|
2622
2622
|
error: {
|
|
2623
|
-
code: "
|
|
2623
|
+
code: "api_key_malformed";
|
|
2624
2624
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2625
2625
|
message: string;
|
|
2626
2626
|
};
|
|
2627
2627
|
requestId: string;
|
|
2628
2628
|
};
|
|
2629
2629
|
outputFormat: "json";
|
|
2630
|
-
status:
|
|
2630
|
+
status: 400;
|
|
2631
2631
|
input: {
|
|
2632
2632
|
header: {
|
|
2633
2633
|
'idempotency-key': string;
|
|
@@ -2649,14 +2649,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2649
2649
|
} | {
|
|
2650
2650
|
output: {
|
|
2651
2651
|
error: {
|
|
2652
|
-
code: "
|
|
2652
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2653
2653
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2654
2654
|
message: string;
|
|
2655
2655
|
};
|
|
2656
2656
|
requestId: string;
|
|
2657
2657
|
};
|
|
2658
2658
|
outputFormat: "json";
|
|
2659
|
-
status:
|
|
2659
|
+
status: 401;
|
|
2660
2660
|
input: {
|
|
2661
2661
|
header: {
|
|
2662
2662
|
'idempotency-key': string;
|
|
@@ -2678,14 +2678,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2678
2678
|
} | {
|
|
2679
2679
|
output: {
|
|
2680
2680
|
error: {
|
|
2681
|
-
code: "
|
|
2681
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
2682
2682
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2683
2683
|
message: string;
|
|
2684
2684
|
};
|
|
2685
2685
|
requestId: string;
|
|
2686
2686
|
};
|
|
2687
2687
|
outputFormat: "json";
|
|
2688
|
-
status:
|
|
2688
|
+
status: 403;
|
|
2689
2689
|
input: {
|
|
2690
2690
|
header: {
|
|
2691
2691
|
'idempotency-key': string;
|
|
@@ -2707,14 +2707,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2707
2707
|
} | {
|
|
2708
2708
|
output: {
|
|
2709
2709
|
error: {
|
|
2710
|
-
code: "
|
|
2710
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2711
2711
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2712
2712
|
message: string;
|
|
2713
2713
|
};
|
|
2714
2714
|
requestId: string;
|
|
2715
2715
|
};
|
|
2716
2716
|
outputFormat: "json";
|
|
2717
|
-
status:
|
|
2717
|
+
status: 429;
|
|
2718
2718
|
input: {
|
|
2719
2719
|
header: {
|
|
2720
2720
|
'idempotency-key': string;
|
|
@@ -2818,14 +2818,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2818
2818
|
$get: {
|
|
2819
2819
|
output: {
|
|
2820
2820
|
error: {
|
|
2821
|
-
code: "
|
|
2821
|
+
code: "upstream_error";
|
|
2822
2822
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2823
2823
|
message: string;
|
|
2824
2824
|
};
|
|
2825
2825
|
requestId: string;
|
|
2826
2826
|
};
|
|
2827
2827
|
outputFormat: "json";
|
|
2828
|
-
status:
|
|
2828
|
+
status: 502;
|
|
2829
2829
|
input: {
|
|
2830
2830
|
query: {
|
|
2831
2831
|
amount: string | string[];
|
|
@@ -2840,14 +2840,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2840
2840
|
} | {
|
|
2841
2841
|
output: {
|
|
2842
2842
|
error: {
|
|
2843
|
-
code: "
|
|
2843
|
+
code: "query_invalid";
|
|
2844
2844
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2845
2845
|
message: string;
|
|
2846
2846
|
};
|
|
2847
2847
|
requestId: string;
|
|
2848
2848
|
};
|
|
2849
2849
|
outputFormat: "json";
|
|
2850
|
-
status:
|
|
2850
|
+
status: 400;
|
|
2851
2851
|
input: {
|
|
2852
2852
|
query: {
|
|
2853
2853
|
amount: string | string[];
|
|
@@ -2862,14 +2862,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2862
2862
|
} | {
|
|
2863
2863
|
output: {
|
|
2864
2864
|
error: {
|
|
2865
|
-
code: "
|
|
2865
|
+
code: "api_key_malformed";
|
|
2866
2866
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2867
2867
|
message: string;
|
|
2868
2868
|
};
|
|
2869
2869
|
requestId: string;
|
|
2870
2870
|
};
|
|
2871
2871
|
outputFormat: "json";
|
|
2872
|
-
status:
|
|
2872
|
+
status: 400;
|
|
2873
2873
|
input: {
|
|
2874
2874
|
query: {
|
|
2875
2875
|
amount: string | string[];
|
|
@@ -2884,14 +2884,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2884
2884
|
} | {
|
|
2885
2885
|
output: {
|
|
2886
2886
|
error: {
|
|
2887
|
-
code: "
|
|
2887
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2888
2888
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2889
2889
|
message: string;
|
|
2890
2890
|
};
|
|
2891
2891
|
requestId: string;
|
|
2892
2892
|
};
|
|
2893
2893
|
outputFormat: "json";
|
|
2894
|
-
status:
|
|
2894
|
+
status: 401;
|
|
2895
2895
|
input: {
|
|
2896
2896
|
query: {
|
|
2897
2897
|
amount: string | string[];
|
|
@@ -2906,14 +2906,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2906
2906
|
} | {
|
|
2907
2907
|
output: {
|
|
2908
2908
|
error: {
|
|
2909
|
-
code: "
|
|
2909
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
2910
2910
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2911
2911
|
message: string;
|
|
2912
2912
|
};
|
|
2913
2913
|
requestId: string;
|
|
2914
2914
|
};
|
|
2915
2915
|
outputFormat: "json";
|
|
2916
|
-
status:
|
|
2916
|
+
status: 403;
|
|
2917
2917
|
input: {
|
|
2918
2918
|
query: {
|
|
2919
2919
|
amount: string | string[];
|
|
@@ -2928,14 +2928,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
2928
2928
|
} | {
|
|
2929
2929
|
output: {
|
|
2930
2930
|
error: {
|
|
2931
|
-
code: "
|
|
2931
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2932
2932
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2933
2933
|
message: string;
|
|
2934
2934
|
};
|
|
2935
2935
|
requestId: string;
|
|
2936
2936
|
};
|
|
2937
2937
|
outputFormat: "json";
|
|
2938
|
-
status:
|
|
2938
|
+
status: 429;
|
|
2939
2939
|
input: {
|
|
2940
2940
|
query: {
|
|
2941
2941
|
amount: string | string[];
|
|
@@ -3154,14 +3154,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3154
3154
|
$post: {
|
|
3155
3155
|
output: {
|
|
3156
3156
|
error: {
|
|
3157
|
-
code: "
|
|
3157
|
+
code: "body_invalid";
|
|
3158
3158
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3159
3159
|
message: string;
|
|
3160
3160
|
};
|
|
3161
3161
|
requestId: string;
|
|
3162
3162
|
};
|
|
3163
3163
|
outputFormat: "json";
|
|
3164
|
-
status:
|
|
3164
|
+
status: 400;
|
|
3165
3165
|
input: {
|
|
3166
3166
|
header: {
|
|
3167
3167
|
'idempotency-key': string;
|
|
@@ -3180,14 +3180,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3180
3180
|
} | {
|
|
3181
3181
|
output: {
|
|
3182
3182
|
error: {
|
|
3183
|
-
code: "
|
|
3183
|
+
code: "upstream_error";
|
|
3184
3184
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3185
3185
|
message: string;
|
|
3186
3186
|
};
|
|
3187
3187
|
requestId: string;
|
|
3188
3188
|
};
|
|
3189
3189
|
outputFormat: "json";
|
|
3190
|
-
status:
|
|
3190
|
+
status: 502;
|
|
3191
3191
|
input: {
|
|
3192
3192
|
header: {
|
|
3193
3193
|
'idempotency-key': string;
|
|
@@ -3206,14 +3206,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3206
3206
|
} | {
|
|
3207
3207
|
output: {
|
|
3208
3208
|
error: {
|
|
3209
|
-
code: "
|
|
3209
|
+
code: "payload_too_large";
|
|
3210
3210
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3211
3211
|
message: string;
|
|
3212
3212
|
};
|
|
3213
3213
|
requestId: string;
|
|
3214
3214
|
};
|
|
3215
3215
|
outputFormat: "json";
|
|
3216
|
-
status:
|
|
3216
|
+
status: 413;
|
|
3217
3217
|
input: {
|
|
3218
3218
|
header: {
|
|
3219
3219
|
'idempotency-key': string;
|
|
@@ -3232,14 +3232,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3232
3232
|
} | {
|
|
3233
3233
|
output: {
|
|
3234
3234
|
error: {
|
|
3235
|
-
code: "
|
|
3235
|
+
code: "api_key_malformed";
|
|
3236
3236
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3237
3237
|
message: string;
|
|
3238
3238
|
};
|
|
3239
3239
|
requestId: string;
|
|
3240
3240
|
};
|
|
3241
3241
|
outputFormat: "json";
|
|
3242
|
-
status:
|
|
3242
|
+
status: 400;
|
|
3243
3243
|
input: {
|
|
3244
3244
|
header: {
|
|
3245
3245
|
'idempotency-key': string;
|
|
@@ -3258,14 +3258,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3258
3258
|
} | {
|
|
3259
3259
|
output: {
|
|
3260
3260
|
error: {
|
|
3261
|
-
code: "
|
|
3261
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
3262
3262
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3263
3263
|
message: string;
|
|
3264
3264
|
};
|
|
3265
3265
|
requestId: string;
|
|
3266
3266
|
};
|
|
3267
3267
|
outputFormat: "json";
|
|
3268
|
-
status:
|
|
3268
|
+
status: 401;
|
|
3269
3269
|
input: {
|
|
3270
3270
|
header: {
|
|
3271
3271
|
'idempotency-key': string;
|
|
@@ -3284,14 +3284,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3284
3284
|
} | {
|
|
3285
3285
|
output: {
|
|
3286
3286
|
error: {
|
|
3287
|
-
code: "
|
|
3287
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
3288
3288
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3289
3289
|
message: string;
|
|
3290
3290
|
};
|
|
3291
3291
|
requestId: string;
|
|
3292
3292
|
};
|
|
3293
3293
|
outputFormat: "json";
|
|
3294
|
-
status:
|
|
3294
|
+
status: 403;
|
|
3295
3295
|
input: {
|
|
3296
3296
|
header: {
|
|
3297
3297
|
'idempotency-key': string;
|
|
@@ -3310,14 +3310,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3310
3310
|
} | {
|
|
3311
3311
|
output: {
|
|
3312
3312
|
error: {
|
|
3313
|
-
code: "
|
|
3313
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3314
3314
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3315
3315
|
message: string;
|
|
3316
3316
|
};
|
|
3317
3317
|
requestId: string;
|
|
3318
3318
|
};
|
|
3319
3319
|
outputFormat: "json";
|
|
3320
|
-
status:
|
|
3320
|
+
status: 429;
|
|
3321
3321
|
input: {
|
|
3322
3322
|
header: {
|
|
3323
3323
|
'idempotency-key': string;
|
|
@@ -3336,14 +3336,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3336
3336
|
} | {
|
|
3337
3337
|
output: {
|
|
3338
3338
|
error: {
|
|
3339
|
-
code: "
|
|
3339
|
+
code: "unauthorized";
|
|
3340
3340
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3341
3341
|
message: string;
|
|
3342
3342
|
};
|
|
3343
3343
|
requestId: string;
|
|
3344
3344
|
};
|
|
3345
3345
|
outputFormat: "json";
|
|
3346
|
-
status:
|
|
3346
|
+
status: 401;
|
|
3347
3347
|
input: {
|
|
3348
3348
|
header: {
|
|
3349
3349
|
'idempotency-key': string;
|
|
@@ -3362,14 +3362,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3362
3362
|
} | {
|
|
3363
3363
|
output: {
|
|
3364
3364
|
error: {
|
|
3365
|
-
code: "
|
|
3365
|
+
code: "quote_not_available";
|
|
3366
3366
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3367
3367
|
message: string;
|
|
3368
3368
|
};
|
|
3369
3369
|
requestId: string;
|
|
3370
3370
|
};
|
|
3371
3371
|
outputFormat: "json";
|
|
3372
|
-
status:
|
|
3372
|
+
status: 404;
|
|
3373
3373
|
input: {
|
|
3374
3374
|
header: {
|
|
3375
3375
|
'idempotency-key': string;
|
|
@@ -3388,14 +3388,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3388
3388
|
} | {
|
|
3389
3389
|
output: {
|
|
3390
3390
|
error: {
|
|
3391
|
-
code: "
|
|
3391
|
+
code: "route_policy_changed";
|
|
3392
3392
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3393
3393
|
message: string;
|
|
3394
3394
|
};
|
|
3395
3395
|
requestId: string;
|
|
3396
3396
|
};
|
|
3397
3397
|
outputFormat: "json";
|
|
3398
|
-
status:
|
|
3398
|
+
status: 409;
|
|
3399
3399
|
input: {
|
|
3400
3400
|
header: {
|
|
3401
3401
|
'idempotency-key': string;
|
|
@@ -3414,14 +3414,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3414
3414
|
} | {
|
|
3415
3415
|
output: {
|
|
3416
3416
|
error: {
|
|
3417
|
-
code: "
|
|
3417
|
+
code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
|
|
3418
3418
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3419
3419
|
message: string;
|
|
3420
3420
|
};
|
|
3421
3421
|
requestId: string;
|
|
3422
3422
|
};
|
|
3423
3423
|
outputFormat: "json";
|
|
3424
|
-
status:
|
|
3424
|
+
status: 403;
|
|
3425
3425
|
input: {
|
|
3426
3426
|
header: {
|
|
3427
3427
|
'idempotency-key': string;
|
|
@@ -3440,7 +3440,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3440
3440
|
} | {
|
|
3441
3441
|
output: {
|
|
3442
3442
|
error: {
|
|
3443
|
-
code: "
|
|
3443
|
+
code: "amount_too_low";
|
|
3444
3444
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3445
3445
|
message: string;
|
|
3446
3446
|
};
|
|
@@ -3742,14 +3742,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3742
3742
|
$get: {
|
|
3743
3743
|
output: {
|
|
3744
3744
|
error: {
|
|
3745
|
-
code: "
|
|
3745
|
+
code: "upstream_error";
|
|
3746
3746
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3747
3747
|
message: string;
|
|
3748
3748
|
};
|
|
3749
3749
|
requestId: string;
|
|
3750
3750
|
};
|
|
3751
3751
|
outputFormat: "json";
|
|
3752
|
-
status:
|
|
3752
|
+
status: 502;
|
|
3753
3753
|
input: {
|
|
3754
3754
|
query?: {
|
|
3755
3755
|
cursor?: string | string[];
|
|
@@ -3759,14 +3759,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3759
3759
|
} | {
|
|
3760
3760
|
output: {
|
|
3761
3761
|
error: {
|
|
3762
|
-
code: "
|
|
3762
|
+
code: "query_invalid";
|
|
3763
3763
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3764
3764
|
message: string;
|
|
3765
3765
|
};
|
|
3766
3766
|
requestId: string;
|
|
3767
3767
|
};
|
|
3768
3768
|
outputFormat: "json";
|
|
3769
|
-
status:
|
|
3769
|
+
status: 400;
|
|
3770
3770
|
input: {
|
|
3771
3771
|
query?: {
|
|
3772
3772
|
cursor?: string | string[];
|
|
@@ -3776,14 +3776,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3776
3776
|
} | {
|
|
3777
3777
|
output: {
|
|
3778
3778
|
error: {
|
|
3779
|
-
code: "
|
|
3779
|
+
code: "api_key_malformed";
|
|
3780
3780
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3781
3781
|
message: string;
|
|
3782
3782
|
};
|
|
3783
3783
|
requestId: string;
|
|
3784
3784
|
};
|
|
3785
3785
|
outputFormat: "json";
|
|
3786
|
-
status:
|
|
3786
|
+
status: 400;
|
|
3787
3787
|
input: {
|
|
3788
3788
|
query?: {
|
|
3789
3789
|
cursor?: string | string[];
|
|
@@ -3793,14 +3793,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3793
3793
|
} | {
|
|
3794
3794
|
output: {
|
|
3795
3795
|
error: {
|
|
3796
|
-
code: "
|
|
3796
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
3797
3797
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3798
3798
|
message: string;
|
|
3799
3799
|
};
|
|
3800
3800
|
requestId: string;
|
|
3801
3801
|
};
|
|
3802
3802
|
outputFormat: "json";
|
|
3803
|
-
status:
|
|
3803
|
+
status: 401;
|
|
3804
3804
|
input: {
|
|
3805
3805
|
query?: {
|
|
3806
3806
|
cursor?: string | string[];
|
|
@@ -3810,14 +3810,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3810
3810
|
} | {
|
|
3811
3811
|
output: {
|
|
3812
3812
|
error: {
|
|
3813
|
-
code: "
|
|
3813
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
3814
3814
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3815
3815
|
message: string;
|
|
3816
3816
|
};
|
|
3817
3817
|
requestId: string;
|
|
3818
3818
|
};
|
|
3819
3819
|
outputFormat: "json";
|
|
3820
|
-
status:
|
|
3820
|
+
status: 403;
|
|
3821
3821
|
input: {
|
|
3822
3822
|
query?: {
|
|
3823
3823
|
cursor?: string | string[];
|
|
@@ -3827,14 +3827,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3827
3827
|
} | {
|
|
3828
3828
|
output: {
|
|
3829
3829
|
error: {
|
|
3830
|
-
code: "
|
|
3830
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3831
3831
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3832
3832
|
message: string;
|
|
3833
3833
|
};
|
|
3834
3834
|
requestId: string;
|
|
3835
3835
|
};
|
|
3836
3836
|
outputFormat: "json";
|
|
3837
|
-
status:
|
|
3837
|
+
status: 429;
|
|
3838
3838
|
input: {
|
|
3839
3839
|
query?: {
|
|
3840
3840
|
cursor?: string | string[];
|
|
@@ -3919,14 +3919,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3919
3919
|
$get: {
|
|
3920
3920
|
output: {
|
|
3921
3921
|
error: {
|
|
3922
|
-
code: "
|
|
3922
|
+
code: "upstream_error";
|
|
3923
3923
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3924
3924
|
message: string;
|
|
3925
3925
|
};
|
|
3926
3926
|
requestId: string;
|
|
3927
3927
|
};
|
|
3928
3928
|
outputFormat: "json";
|
|
3929
|
-
status:
|
|
3929
|
+
status: 502;
|
|
3930
3930
|
input: {
|
|
3931
3931
|
param: {
|
|
3932
3932
|
id: string;
|
|
@@ -3935,14 +3935,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3935
3935
|
} | {
|
|
3936
3936
|
output: {
|
|
3937
3937
|
error: {
|
|
3938
|
-
code: "
|
|
3938
|
+
code: "api_key_malformed";
|
|
3939
3939
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3940
3940
|
message: string;
|
|
3941
3941
|
};
|
|
3942
3942
|
requestId: string;
|
|
3943
3943
|
};
|
|
3944
3944
|
outputFormat: "json";
|
|
3945
|
-
status:
|
|
3945
|
+
status: 400;
|
|
3946
3946
|
input: {
|
|
3947
3947
|
param: {
|
|
3948
3948
|
id: string;
|
|
@@ -3951,14 +3951,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3951
3951
|
} | {
|
|
3952
3952
|
output: {
|
|
3953
3953
|
error: {
|
|
3954
|
-
code: "
|
|
3954
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
3955
3955
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3956
3956
|
message: string;
|
|
3957
3957
|
};
|
|
3958
3958
|
requestId: string;
|
|
3959
3959
|
};
|
|
3960
3960
|
outputFormat: "json";
|
|
3961
|
-
status:
|
|
3961
|
+
status: 401;
|
|
3962
3962
|
input: {
|
|
3963
3963
|
param: {
|
|
3964
3964
|
id: string;
|
|
@@ -3967,14 +3967,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3967
3967
|
} | {
|
|
3968
3968
|
output: {
|
|
3969
3969
|
error: {
|
|
3970
|
-
code: "
|
|
3970
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
3971
3971
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3972
3972
|
message: string;
|
|
3973
3973
|
};
|
|
3974
3974
|
requestId: string;
|
|
3975
3975
|
};
|
|
3976
3976
|
outputFormat: "json";
|
|
3977
|
-
status:
|
|
3977
|
+
status: 403;
|
|
3978
3978
|
input: {
|
|
3979
3979
|
param: {
|
|
3980
3980
|
id: string;
|
|
@@ -3983,14 +3983,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
3983
3983
|
} | {
|
|
3984
3984
|
output: {
|
|
3985
3985
|
error: {
|
|
3986
|
-
code: "
|
|
3986
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3987
3987
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3988
3988
|
message: string;
|
|
3989
3989
|
};
|
|
3990
3990
|
requestId: string;
|
|
3991
3991
|
};
|
|
3992
3992
|
outputFormat: "json";
|
|
3993
|
-
status:
|
|
3993
|
+
status: 429;
|
|
3994
3994
|
input: {
|
|
3995
3995
|
param: {
|
|
3996
3996
|
id: string;
|
|
@@ -4110,14 +4110,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4110
4110
|
} | {
|
|
4111
4111
|
output: {
|
|
4112
4112
|
error: {
|
|
4113
|
-
code: "
|
|
4113
|
+
code: "upstream_error";
|
|
4114
4114
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4115
4115
|
message: string;
|
|
4116
4116
|
};
|
|
4117
4117
|
requestId: string;
|
|
4118
4118
|
};
|
|
4119
4119
|
outputFormat: "json";
|
|
4120
|
-
status:
|
|
4120
|
+
status: 502;
|
|
4121
4121
|
input: {
|
|
4122
4122
|
param: {
|
|
4123
4123
|
id: string;
|
|
@@ -4126,14 +4126,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4126
4126
|
} | {
|
|
4127
4127
|
output: {
|
|
4128
4128
|
error: {
|
|
4129
|
-
code: "
|
|
4129
|
+
code: "api_key_malformed";
|
|
4130
4130
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4131
4131
|
message: string;
|
|
4132
4132
|
};
|
|
4133
4133
|
requestId: string;
|
|
4134
4134
|
};
|
|
4135
4135
|
outputFormat: "json";
|
|
4136
|
-
status:
|
|
4136
|
+
status: 400;
|
|
4137
4137
|
input: {
|
|
4138
4138
|
param: {
|
|
4139
4139
|
id: string;
|
|
@@ -4142,14 +4142,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4142
4142
|
} | {
|
|
4143
4143
|
output: {
|
|
4144
4144
|
error: {
|
|
4145
|
-
code: "
|
|
4145
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
4146
4146
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4147
4147
|
message: string;
|
|
4148
4148
|
};
|
|
4149
4149
|
requestId: string;
|
|
4150
4150
|
};
|
|
4151
4151
|
outputFormat: "json";
|
|
4152
|
-
status:
|
|
4152
|
+
status: 401;
|
|
4153
4153
|
input: {
|
|
4154
4154
|
param: {
|
|
4155
4155
|
id: string;
|
|
@@ -4158,14 +4158,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4158
4158
|
} | {
|
|
4159
4159
|
output: {
|
|
4160
4160
|
error: {
|
|
4161
|
-
code: "
|
|
4161
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
4162
4162
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4163
4163
|
message: string;
|
|
4164
4164
|
};
|
|
4165
4165
|
requestId: string;
|
|
4166
4166
|
};
|
|
4167
4167
|
outputFormat: "json";
|
|
4168
|
-
status:
|
|
4168
|
+
status: 403;
|
|
4169
4169
|
input: {
|
|
4170
4170
|
param: {
|
|
4171
4171
|
id: string;
|
|
@@ -4174,14 +4174,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4174
4174
|
} | {
|
|
4175
4175
|
output: {
|
|
4176
4176
|
error: {
|
|
4177
|
-
code: "
|
|
4177
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
4178
4178
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4179
4179
|
message: string;
|
|
4180
4180
|
};
|
|
4181
4181
|
requestId: string;
|
|
4182
4182
|
};
|
|
4183
4183
|
outputFormat: "json";
|
|
4184
|
-
status:
|
|
4184
|
+
status: 429;
|
|
4185
4185
|
input: {
|
|
4186
4186
|
param: {
|
|
4187
4187
|
id: string;
|
|
@@ -4274,14 +4274,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4274
4274
|
$post: {
|
|
4275
4275
|
output: {
|
|
4276
4276
|
error: {
|
|
4277
|
-
code: "
|
|
4277
|
+
code: "body_invalid";
|
|
4278
4278
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4279
4279
|
message: string;
|
|
4280
4280
|
};
|
|
4281
4281
|
requestId: string;
|
|
4282
4282
|
};
|
|
4283
4283
|
outputFormat: "json";
|
|
4284
|
-
status:
|
|
4284
|
+
status: 400;
|
|
4285
4285
|
input: {
|
|
4286
4286
|
header: {
|
|
4287
4287
|
'idempotency-key': string;
|
|
@@ -4302,14 +4302,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4302
4302
|
} | {
|
|
4303
4303
|
output: {
|
|
4304
4304
|
error: {
|
|
4305
|
-
code: "
|
|
4305
|
+
code: "upstream_error";
|
|
4306
4306
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4307
4307
|
message: string;
|
|
4308
4308
|
};
|
|
4309
4309
|
requestId: string;
|
|
4310
4310
|
};
|
|
4311
4311
|
outputFormat: "json";
|
|
4312
|
-
status:
|
|
4312
|
+
status: 502;
|
|
4313
4313
|
input: {
|
|
4314
4314
|
header: {
|
|
4315
4315
|
'idempotency-key': string;
|
|
@@ -4330,14 +4330,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4330
4330
|
} | {
|
|
4331
4331
|
output: {
|
|
4332
4332
|
error: {
|
|
4333
|
-
code: "
|
|
4333
|
+
code: "payload_too_large";
|
|
4334
4334
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4335
4335
|
message: string;
|
|
4336
4336
|
};
|
|
4337
4337
|
requestId: string;
|
|
4338
4338
|
};
|
|
4339
4339
|
outputFormat: "json";
|
|
4340
|
-
status:
|
|
4340
|
+
status: 413;
|
|
4341
4341
|
input: {
|
|
4342
4342
|
header: {
|
|
4343
4343
|
'idempotency-key': string;
|
|
@@ -4358,14 +4358,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4358
4358
|
} | {
|
|
4359
4359
|
output: {
|
|
4360
4360
|
error: {
|
|
4361
|
-
code: "
|
|
4361
|
+
code: "api_key_malformed";
|
|
4362
4362
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4363
4363
|
message: string;
|
|
4364
4364
|
};
|
|
4365
4365
|
requestId: string;
|
|
4366
4366
|
};
|
|
4367
4367
|
outputFormat: "json";
|
|
4368
|
-
status:
|
|
4368
|
+
status: 400;
|
|
4369
4369
|
input: {
|
|
4370
4370
|
header: {
|
|
4371
4371
|
'idempotency-key': string;
|
|
@@ -4386,14 +4386,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4386
4386
|
} | {
|
|
4387
4387
|
output: {
|
|
4388
4388
|
error: {
|
|
4389
|
-
code: "
|
|
4389
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
4390
4390
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4391
4391
|
message: string;
|
|
4392
4392
|
};
|
|
4393
4393
|
requestId: string;
|
|
4394
4394
|
};
|
|
4395
4395
|
outputFormat: "json";
|
|
4396
|
-
status:
|
|
4396
|
+
status: 401;
|
|
4397
4397
|
input: {
|
|
4398
4398
|
header: {
|
|
4399
4399
|
'idempotency-key': string;
|
|
@@ -4414,14 +4414,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4414
4414
|
} | {
|
|
4415
4415
|
output: {
|
|
4416
4416
|
error: {
|
|
4417
|
-
code: "
|
|
4417
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
4418
4418
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4419
4419
|
message: string;
|
|
4420
4420
|
};
|
|
4421
4421
|
requestId: string;
|
|
4422
4422
|
};
|
|
4423
4423
|
outputFormat: "json";
|
|
4424
|
-
status:
|
|
4424
|
+
status: 403;
|
|
4425
4425
|
input: {
|
|
4426
4426
|
header: {
|
|
4427
4427
|
'idempotency-key': string;
|
|
@@ -4442,14 +4442,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4442
4442
|
} | {
|
|
4443
4443
|
output: {
|
|
4444
4444
|
error: {
|
|
4445
|
-
code: "
|
|
4445
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
4446
4446
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4447
4447
|
message: string;
|
|
4448
4448
|
};
|
|
4449
4449
|
requestId: string;
|
|
4450
4450
|
};
|
|
4451
4451
|
outputFormat: "json";
|
|
4452
|
-
status:
|
|
4452
|
+
status: 429;
|
|
4453
4453
|
input: {
|
|
4454
4454
|
header: {
|
|
4455
4455
|
'idempotency-key': string;
|
|
@@ -4470,14 +4470,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4470
4470
|
} | {
|
|
4471
4471
|
output: {
|
|
4472
4472
|
error: {
|
|
4473
|
-
code: "
|
|
4473
|
+
code: "unauthorized";
|
|
4474
4474
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4475
4475
|
message: string;
|
|
4476
4476
|
};
|
|
4477
4477
|
requestId: string;
|
|
4478
4478
|
};
|
|
4479
4479
|
outputFormat: "json";
|
|
4480
|
-
status:
|
|
4480
|
+
status: 401;
|
|
4481
4481
|
input: {
|
|
4482
4482
|
header: {
|
|
4483
4483
|
'idempotency-key': string;
|
|
@@ -4498,14 +4498,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4498
4498
|
} | {
|
|
4499
4499
|
output: {
|
|
4500
4500
|
error: {
|
|
4501
|
-
code: "
|
|
4501
|
+
code: "quote_not_available";
|
|
4502
4502
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4503
4503
|
message: string;
|
|
4504
4504
|
};
|
|
4505
4505
|
requestId: string;
|
|
4506
4506
|
};
|
|
4507
4507
|
outputFormat: "json";
|
|
4508
|
-
status:
|
|
4508
|
+
status: 404;
|
|
4509
4509
|
input: {
|
|
4510
4510
|
header: {
|
|
4511
4511
|
'idempotency-key': string;
|
|
@@ -4526,14 +4526,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4526
4526
|
} | {
|
|
4527
4527
|
output: {
|
|
4528
4528
|
error: {
|
|
4529
|
-
code: "
|
|
4529
|
+
code: "route_policy_changed";
|
|
4530
4530
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4531
4531
|
message: string;
|
|
4532
4532
|
};
|
|
4533
4533
|
requestId: string;
|
|
4534
4534
|
};
|
|
4535
4535
|
outputFormat: "json";
|
|
4536
|
-
status:
|
|
4536
|
+
status: 409;
|
|
4537
4537
|
input: {
|
|
4538
4538
|
header: {
|
|
4539
4539
|
'idempotency-key': string;
|
|
@@ -4554,14 +4554,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4554
4554
|
} | {
|
|
4555
4555
|
output: {
|
|
4556
4556
|
error: {
|
|
4557
|
-
code: "
|
|
4557
|
+
code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
|
|
4558
4558
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4559
4559
|
message: string;
|
|
4560
4560
|
};
|
|
4561
4561
|
requestId: string;
|
|
4562
4562
|
};
|
|
4563
4563
|
outputFormat: "json";
|
|
4564
|
-
status:
|
|
4564
|
+
status: 403;
|
|
4565
4565
|
input: {
|
|
4566
4566
|
header: {
|
|
4567
4567
|
'idempotency-key': string;
|
|
@@ -4582,7 +4582,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4582
4582
|
} | {
|
|
4583
4583
|
output: {
|
|
4584
4584
|
error: {
|
|
4585
|
-
code: "
|
|
4585
|
+
code: "amount_too_low";
|
|
4586
4586
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4587
4587
|
message: string;
|
|
4588
4588
|
};
|
|
@@ -4823,14 +4823,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4823
4823
|
$get: {
|
|
4824
4824
|
output: {
|
|
4825
4825
|
error: {
|
|
4826
|
-
code: "
|
|
4826
|
+
code: "upstream_error";
|
|
4827
4827
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4828
4828
|
message: string;
|
|
4829
4829
|
};
|
|
4830
4830
|
requestId: string;
|
|
4831
4831
|
};
|
|
4832
4832
|
outputFormat: "json";
|
|
4833
|
-
status:
|
|
4833
|
+
status: 502;
|
|
4834
4834
|
input: {
|
|
4835
4835
|
query?: {
|
|
4836
4836
|
cursor?: string | string[];
|
|
@@ -4840,14 +4840,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4840
4840
|
} | {
|
|
4841
4841
|
output: {
|
|
4842
4842
|
error: {
|
|
4843
|
-
code: "
|
|
4843
|
+
code: "query_invalid";
|
|
4844
4844
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4845
4845
|
message: string;
|
|
4846
4846
|
};
|
|
4847
4847
|
requestId: string;
|
|
4848
4848
|
};
|
|
4849
4849
|
outputFormat: "json";
|
|
4850
|
-
status:
|
|
4850
|
+
status: 400;
|
|
4851
4851
|
input: {
|
|
4852
4852
|
query?: {
|
|
4853
4853
|
cursor?: string | string[];
|
|
@@ -4857,14 +4857,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4857
4857
|
} | {
|
|
4858
4858
|
output: {
|
|
4859
4859
|
error: {
|
|
4860
|
-
code: "
|
|
4860
|
+
code: "api_key_malformed";
|
|
4861
4861
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4862
4862
|
message: string;
|
|
4863
4863
|
};
|
|
4864
4864
|
requestId: string;
|
|
4865
4865
|
};
|
|
4866
4866
|
outputFormat: "json";
|
|
4867
|
-
status:
|
|
4867
|
+
status: 400;
|
|
4868
4868
|
input: {
|
|
4869
4869
|
query?: {
|
|
4870
4870
|
cursor?: string | string[];
|
|
@@ -4874,14 +4874,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4874
4874
|
} | {
|
|
4875
4875
|
output: {
|
|
4876
4876
|
error: {
|
|
4877
|
-
code: "
|
|
4877
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
4878
4878
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4879
4879
|
message: string;
|
|
4880
4880
|
};
|
|
4881
4881
|
requestId: string;
|
|
4882
4882
|
};
|
|
4883
4883
|
outputFormat: "json";
|
|
4884
|
-
status:
|
|
4884
|
+
status: 401;
|
|
4885
4885
|
input: {
|
|
4886
4886
|
query?: {
|
|
4887
4887
|
cursor?: string | string[];
|
|
@@ -4891,14 +4891,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4891
4891
|
} | {
|
|
4892
4892
|
output: {
|
|
4893
4893
|
error: {
|
|
4894
|
-
code: "
|
|
4894
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
4895
4895
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4896
4896
|
message: string;
|
|
4897
4897
|
};
|
|
4898
4898
|
requestId: string;
|
|
4899
4899
|
};
|
|
4900
4900
|
outputFormat: "json";
|
|
4901
|
-
status:
|
|
4901
|
+
status: 403;
|
|
4902
4902
|
input: {
|
|
4903
4903
|
query?: {
|
|
4904
4904
|
cursor?: string | string[];
|
|
@@ -4908,14 +4908,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
4908
4908
|
} | {
|
|
4909
4909
|
output: {
|
|
4910
4910
|
error: {
|
|
4911
|
-
code: "
|
|
4911
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
4912
4912
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4913
4913
|
message: string;
|
|
4914
4914
|
};
|
|
4915
4915
|
requestId: string;
|
|
4916
4916
|
};
|
|
4917
4917
|
outputFormat: "json";
|
|
4918
|
-
status:
|
|
4918
|
+
status: 429;
|
|
4919
4919
|
input: {
|
|
4920
4920
|
query?: {
|
|
4921
4921
|
cursor?: string | string[];
|
|
@@ -5007,14 +5007,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5007
5007
|
$get: {
|
|
5008
5008
|
output: {
|
|
5009
5009
|
error: {
|
|
5010
|
-
code: "
|
|
5010
|
+
code: "upstream_error";
|
|
5011
5011
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5012
5012
|
message: string;
|
|
5013
5013
|
};
|
|
5014
5014
|
requestId: string;
|
|
5015
5015
|
};
|
|
5016
5016
|
outputFormat: "json";
|
|
5017
|
-
status:
|
|
5017
|
+
status: 502;
|
|
5018
5018
|
input: {
|
|
5019
5019
|
param: {
|
|
5020
5020
|
id: string;
|
|
@@ -5023,14 +5023,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5023
5023
|
} | {
|
|
5024
5024
|
output: {
|
|
5025
5025
|
error: {
|
|
5026
|
-
code: "
|
|
5026
|
+
code: "api_key_malformed";
|
|
5027
5027
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5028
5028
|
message: string;
|
|
5029
5029
|
};
|
|
5030
5030
|
requestId: string;
|
|
5031
5031
|
};
|
|
5032
5032
|
outputFormat: "json";
|
|
5033
|
-
status:
|
|
5033
|
+
status: 400;
|
|
5034
5034
|
input: {
|
|
5035
5035
|
param: {
|
|
5036
5036
|
id: string;
|
|
@@ -5039,14 +5039,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5039
5039
|
} | {
|
|
5040
5040
|
output: {
|
|
5041
5041
|
error: {
|
|
5042
|
-
code: "
|
|
5042
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5043
5043
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5044
5044
|
message: string;
|
|
5045
5045
|
};
|
|
5046
5046
|
requestId: string;
|
|
5047
5047
|
};
|
|
5048
5048
|
outputFormat: "json";
|
|
5049
|
-
status:
|
|
5049
|
+
status: 401;
|
|
5050
5050
|
input: {
|
|
5051
5051
|
param: {
|
|
5052
5052
|
id: string;
|
|
@@ -5055,14 +5055,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5055
5055
|
} | {
|
|
5056
5056
|
output: {
|
|
5057
5057
|
error: {
|
|
5058
|
-
code: "
|
|
5058
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
5059
5059
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5060
5060
|
message: string;
|
|
5061
5061
|
};
|
|
5062
5062
|
requestId: string;
|
|
5063
5063
|
};
|
|
5064
5064
|
outputFormat: "json";
|
|
5065
|
-
status:
|
|
5065
|
+
status: 403;
|
|
5066
5066
|
input: {
|
|
5067
5067
|
param: {
|
|
5068
5068
|
id: string;
|
|
@@ -5071,14 +5071,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5071
5071
|
} | {
|
|
5072
5072
|
output: {
|
|
5073
5073
|
error: {
|
|
5074
|
-
code: "
|
|
5074
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
5075
5075
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5076
5076
|
message: string;
|
|
5077
5077
|
};
|
|
5078
5078
|
requestId: string;
|
|
5079
5079
|
};
|
|
5080
5080
|
outputFormat: "json";
|
|
5081
|
-
status:
|
|
5081
|
+
status: 429;
|
|
5082
5082
|
input: {
|
|
5083
5083
|
param: {
|
|
5084
5084
|
id: string;
|
|
@@ -5205,14 +5205,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5205
5205
|
} | {
|
|
5206
5206
|
output: {
|
|
5207
5207
|
error: {
|
|
5208
|
-
code: "
|
|
5208
|
+
code: "upstream_error";
|
|
5209
5209
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5210
5210
|
message: string;
|
|
5211
5211
|
};
|
|
5212
5212
|
requestId: string;
|
|
5213
5213
|
};
|
|
5214
5214
|
outputFormat: "json";
|
|
5215
|
-
status:
|
|
5215
|
+
status: 502;
|
|
5216
5216
|
input: {
|
|
5217
5217
|
param: {
|
|
5218
5218
|
id: string;
|
|
@@ -5221,14 +5221,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5221
5221
|
} | {
|
|
5222
5222
|
output: {
|
|
5223
5223
|
error: {
|
|
5224
|
-
code: "
|
|
5224
|
+
code: "api_key_malformed";
|
|
5225
5225
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5226
5226
|
message: string;
|
|
5227
5227
|
};
|
|
5228
5228
|
requestId: string;
|
|
5229
5229
|
};
|
|
5230
5230
|
outputFormat: "json";
|
|
5231
|
-
status:
|
|
5231
|
+
status: 400;
|
|
5232
5232
|
input: {
|
|
5233
5233
|
param: {
|
|
5234
5234
|
id: string;
|
|
@@ -5237,14 +5237,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5237
5237
|
} | {
|
|
5238
5238
|
output: {
|
|
5239
5239
|
error: {
|
|
5240
|
-
code: "
|
|
5240
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5241
5241
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5242
5242
|
message: string;
|
|
5243
5243
|
};
|
|
5244
5244
|
requestId: string;
|
|
5245
5245
|
};
|
|
5246
5246
|
outputFormat: "json";
|
|
5247
|
-
status:
|
|
5247
|
+
status: 401;
|
|
5248
5248
|
input: {
|
|
5249
5249
|
param: {
|
|
5250
5250
|
id: string;
|
|
@@ -5253,14 +5253,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5253
5253
|
} | {
|
|
5254
5254
|
output: {
|
|
5255
5255
|
error: {
|
|
5256
|
-
code: "
|
|
5256
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
5257
5257
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5258
5258
|
message: string;
|
|
5259
5259
|
};
|
|
5260
5260
|
requestId: string;
|
|
5261
5261
|
};
|
|
5262
5262
|
outputFormat: "json";
|
|
5263
|
-
status:
|
|
5263
|
+
status: 403;
|
|
5264
5264
|
input: {
|
|
5265
5265
|
param: {
|
|
5266
5266
|
id: string;
|
|
@@ -5269,14 +5269,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5269
5269
|
} | {
|
|
5270
5270
|
output: {
|
|
5271
5271
|
error: {
|
|
5272
|
-
code: "
|
|
5272
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
5273
5273
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5274
5274
|
message: string;
|
|
5275
5275
|
};
|
|
5276
5276
|
requestId: string;
|
|
5277
5277
|
};
|
|
5278
5278
|
outputFormat: "json";
|
|
5279
|
-
status:
|
|
5279
|
+
status: 429;
|
|
5280
5280
|
input: {
|
|
5281
5281
|
param: {
|
|
5282
5282
|
id: string;
|
|
@@ -5369,14 +5369,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5369
5369
|
$get: {
|
|
5370
5370
|
output: {
|
|
5371
5371
|
error: {
|
|
5372
|
-
code: "
|
|
5372
|
+
code: "upstream_error";
|
|
5373
5373
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5374
5374
|
message: string;
|
|
5375
5375
|
};
|
|
5376
5376
|
requestId: string;
|
|
5377
5377
|
};
|
|
5378
5378
|
outputFormat: "json";
|
|
5379
|
-
status:
|
|
5379
|
+
status: 502;
|
|
5380
5380
|
input: {
|
|
5381
5381
|
query?: {
|
|
5382
5382
|
depositAddress?: string | string[];
|
|
@@ -5394,14 +5394,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5394
5394
|
} | {
|
|
5395
5395
|
output: {
|
|
5396
5396
|
error: {
|
|
5397
|
-
code: "
|
|
5397
|
+
code: "query_invalid";
|
|
5398
5398
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5399
5399
|
message: string;
|
|
5400
5400
|
};
|
|
5401
5401
|
requestId: string;
|
|
5402
5402
|
};
|
|
5403
5403
|
outputFormat: "json";
|
|
5404
|
-
status:
|
|
5404
|
+
status: 400;
|
|
5405
5405
|
input: {
|
|
5406
5406
|
query?: {
|
|
5407
5407
|
depositAddress?: string | string[];
|
|
@@ -5419,14 +5419,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5419
5419
|
} | {
|
|
5420
5420
|
output: {
|
|
5421
5421
|
error: {
|
|
5422
|
-
code: "
|
|
5422
|
+
code: "api_key_malformed";
|
|
5423
5423
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5424
5424
|
message: string;
|
|
5425
5425
|
};
|
|
5426
5426
|
requestId: string;
|
|
5427
5427
|
};
|
|
5428
5428
|
outputFormat: "json";
|
|
5429
|
-
status:
|
|
5429
|
+
status: 400;
|
|
5430
5430
|
input: {
|
|
5431
5431
|
query?: {
|
|
5432
5432
|
depositAddress?: string | string[];
|
|
@@ -5444,14 +5444,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5444
5444
|
} | {
|
|
5445
5445
|
output: {
|
|
5446
5446
|
error: {
|
|
5447
|
-
code: "
|
|
5447
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5448
5448
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5449
5449
|
message: string;
|
|
5450
5450
|
};
|
|
5451
5451
|
requestId: string;
|
|
5452
5452
|
};
|
|
5453
5453
|
outputFormat: "json";
|
|
5454
|
-
status:
|
|
5454
|
+
status: 401;
|
|
5455
5455
|
input: {
|
|
5456
5456
|
query?: {
|
|
5457
5457
|
depositAddress?: string | string[];
|
|
@@ -5469,14 +5469,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5469
5469
|
} | {
|
|
5470
5470
|
output: {
|
|
5471
5471
|
error: {
|
|
5472
|
-
code: "
|
|
5472
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
5473
5473
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5474
5474
|
message: string;
|
|
5475
5475
|
};
|
|
5476
5476
|
requestId: string;
|
|
5477
5477
|
};
|
|
5478
5478
|
outputFormat: "json";
|
|
5479
|
-
status:
|
|
5479
|
+
status: 403;
|
|
5480
5480
|
input: {
|
|
5481
5481
|
query?: {
|
|
5482
5482
|
depositAddress?: string | string[];
|
|
@@ -5494,14 +5494,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5494
5494
|
} | {
|
|
5495
5495
|
output: {
|
|
5496
5496
|
error: {
|
|
5497
|
-
code: "
|
|
5497
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
5498
5498
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5499
5499
|
message: string;
|
|
5500
5500
|
};
|
|
5501
5501
|
requestId: string;
|
|
5502
5502
|
};
|
|
5503
5503
|
outputFormat: "json";
|
|
5504
|
-
status:
|
|
5504
|
+
status: 429;
|
|
5505
5505
|
input: {
|
|
5506
5506
|
query?: {
|
|
5507
5507
|
depositAddress?: string | string[];
|
|
@@ -5647,14 +5647,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5647
5647
|
$get: {
|
|
5648
5648
|
output: {
|
|
5649
5649
|
error: {
|
|
5650
|
-
code: "
|
|
5650
|
+
code: "upstream_error";
|
|
5651
5651
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5652
5652
|
message: string;
|
|
5653
5653
|
};
|
|
5654
5654
|
requestId: string;
|
|
5655
5655
|
};
|
|
5656
5656
|
outputFormat: "json";
|
|
5657
|
-
status:
|
|
5657
|
+
status: 502;
|
|
5658
5658
|
input: {
|
|
5659
5659
|
param: {
|
|
5660
5660
|
id: string;
|
|
@@ -5663,14 +5663,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5663
5663
|
} | {
|
|
5664
5664
|
output: {
|
|
5665
5665
|
error: {
|
|
5666
|
-
code: "
|
|
5666
|
+
code: "api_key_malformed";
|
|
5667
5667
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5668
5668
|
message: string;
|
|
5669
5669
|
};
|
|
5670
5670
|
requestId: string;
|
|
5671
5671
|
};
|
|
5672
5672
|
outputFormat: "json";
|
|
5673
|
-
status:
|
|
5673
|
+
status: 400;
|
|
5674
5674
|
input: {
|
|
5675
5675
|
param: {
|
|
5676
5676
|
id: string;
|
|
@@ -5679,14 +5679,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5679
5679
|
} | {
|
|
5680
5680
|
output: {
|
|
5681
5681
|
error: {
|
|
5682
|
-
code: "
|
|
5682
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5683
5683
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5684
5684
|
message: string;
|
|
5685
5685
|
};
|
|
5686
5686
|
requestId: string;
|
|
5687
5687
|
};
|
|
5688
5688
|
outputFormat: "json";
|
|
5689
|
-
status:
|
|
5689
|
+
status: 401;
|
|
5690
5690
|
input: {
|
|
5691
5691
|
param: {
|
|
5692
5692
|
id: string;
|
|
@@ -5695,14 +5695,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5695
5695
|
} | {
|
|
5696
5696
|
output: {
|
|
5697
5697
|
error: {
|
|
5698
|
-
code: "
|
|
5698
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
5699
5699
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5700
5700
|
message: string;
|
|
5701
5701
|
};
|
|
5702
5702
|
requestId: string;
|
|
5703
5703
|
};
|
|
5704
5704
|
outputFormat: "json";
|
|
5705
|
-
status:
|
|
5705
|
+
status: 403;
|
|
5706
5706
|
input: {
|
|
5707
5707
|
param: {
|
|
5708
5708
|
id: string;
|
|
@@ -5711,14 +5711,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5711
5711
|
} | {
|
|
5712
5712
|
output: {
|
|
5713
5713
|
error: {
|
|
5714
|
-
code: "
|
|
5714
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
5715
5715
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5716
5716
|
message: string;
|
|
5717
5717
|
};
|
|
5718
5718
|
requestId: string;
|
|
5719
5719
|
};
|
|
5720
5720
|
outputFormat: "json";
|
|
5721
|
-
status:
|
|
5721
|
+
status: 429;
|
|
5722
5722
|
input: {
|
|
5723
5723
|
param: {
|
|
5724
5724
|
id: string;
|
|
@@ -5862,14 +5862,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5862
5862
|
$post: {
|
|
5863
5863
|
output: {
|
|
5864
5864
|
error: {
|
|
5865
|
-
code: "
|
|
5865
|
+
code: "body_invalid";
|
|
5866
5866
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5867
5867
|
message: string;
|
|
5868
5868
|
};
|
|
5869
5869
|
requestId: string;
|
|
5870
5870
|
};
|
|
5871
5871
|
outputFormat: "json";
|
|
5872
|
-
status:
|
|
5872
|
+
status: 400;
|
|
5873
5873
|
input: {
|
|
5874
5874
|
header: {
|
|
5875
5875
|
'idempotency-key': string;
|
|
@@ -5893,14 +5893,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5893
5893
|
} | {
|
|
5894
5894
|
output: {
|
|
5895
5895
|
error: {
|
|
5896
|
-
code: "
|
|
5896
|
+
code: "upstream_error";
|
|
5897
5897
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5898
5898
|
message: string;
|
|
5899
5899
|
};
|
|
5900
5900
|
requestId: string;
|
|
5901
5901
|
};
|
|
5902
5902
|
outputFormat: "json";
|
|
5903
|
-
status:
|
|
5903
|
+
status: 502;
|
|
5904
5904
|
input: {
|
|
5905
5905
|
header: {
|
|
5906
5906
|
'idempotency-key': string;
|
|
@@ -5924,14 +5924,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5924
5924
|
} | {
|
|
5925
5925
|
output: {
|
|
5926
5926
|
error: {
|
|
5927
|
-
code: "
|
|
5927
|
+
code: "payload_too_large";
|
|
5928
5928
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5929
5929
|
message: string;
|
|
5930
5930
|
};
|
|
5931
5931
|
requestId: string;
|
|
5932
5932
|
};
|
|
5933
5933
|
outputFormat: "json";
|
|
5934
|
-
status:
|
|
5934
|
+
status: 413;
|
|
5935
5935
|
input: {
|
|
5936
5936
|
header: {
|
|
5937
5937
|
'idempotency-key': string;
|
|
@@ -5955,14 +5955,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5955
5955
|
} | {
|
|
5956
5956
|
output: {
|
|
5957
5957
|
error: {
|
|
5958
|
-
code: "
|
|
5958
|
+
code: "api_key_malformed";
|
|
5959
5959
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5960
5960
|
message: string;
|
|
5961
5961
|
};
|
|
5962
5962
|
requestId: string;
|
|
5963
5963
|
};
|
|
5964
5964
|
outputFormat: "json";
|
|
5965
|
-
status:
|
|
5965
|
+
status: 400;
|
|
5966
5966
|
input: {
|
|
5967
5967
|
header: {
|
|
5968
5968
|
'idempotency-key': string;
|
|
@@ -5986,14 +5986,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
5986
5986
|
} | {
|
|
5987
5987
|
output: {
|
|
5988
5988
|
error: {
|
|
5989
|
-
code: "
|
|
5989
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5990
5990
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5991
5991
|
message: string;
|
|
5992
5992
|
};
|
|
5993
5993
|
requestId: string;
|
|
5994
5994
|
};
|
|
5995
5995
|
outputFormat: "json";
|
|
5996
|
-
status:
|
|
5996
|
+
status: 401;
|
|
5997
5997
|
input: {
|
|
5998
5998
|
header: {
|
|
5999
5999
|
'idempotency-key': string;
|
|
@@ -6017,14 +6017,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6017
6017
|
} | {
|
|
6018
6018
|
output: {
|
|
6019
6019
|
error: {
|
|
6020
|
-
code: "
|
|
6020
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
6021
6021
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6022
6022
|
message: string;
|
|
6023
6023
|
};
|
|
6024
6024
|
requestId: string;
|
|
6025
6025
|
};
|
|
6026
6026
|
outputFormat: "json";
|
|
6027
|
-
status:
|
|
6027
|
+
status: 403;
|
|
6028
6028
|
input: {
|
|
6029
6029
|
header: {
|
|
6030
6030
|
'idempotency-key': string;
|
|
@@ -6048,14 +6048,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6048
6048
|
} | {
|
|
6049
6049
|
output: {
|
|
6050
6050
|
error: {
|
|
6051
|
-
code: "
|
|
6051
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
6052
6052
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6053
6053
|
message: string;
|
|
6054
6054
|
};
|
|
6055
6055
|
requestId: string;
|
|
6056
6056
|
};
|
|
6057
6057
|
outputFormat: "json";
|
|
6058
|
-
status:
|
|
6058
|
+
status: 429;
|
|
6059
6059
|
input: {
|
|
6060
6060
|
header: {
|
|
6061
6061
|
'idempotency-key': string;
|
|
@@ -6079,14 +6079,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6079
6079
|
} | {
|
|
6080
6080
|
output: {
|
|
6081
6081
|
error: {
|
|
6082
|
-
code: "
|
|
6082
|
+
code: "unauthorized";
|
|
6083
6083
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6084
6084
|
message: string;
|
|
6085
6085
|
};
|
|
6086
6086
|
requestId: string;
|
|
6087
6087
|
};
|
|
6088
6088
|
outputFormat: "json";
|
|
6089
|
-
status:
|
|
6089
|
+
status: 401;
|
|
6090
6090
|
input: {
|
|
6091
6091
|
header: {
|
|
6092
6092
|
'idempotency-key': string;
|
|
@@ -6110,14 +6110,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6110
6110
|
} | {
|
|
6111
6111
|
output: {
|
|
6112
6112
|
error: {
|
|
6113
|
-
code: "
|
|
6113
|
+
code: "quote_not_available";
|
|
6114
6114
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6115
6115
|
message: string;
|
|
6116
6116
|
};
|
|
6117
6117
|
requestId: string;
|
|
6118
6118
|
};
|
|
6119
6119
|
outputFormat: "json";
|
|
6120
|
-
status:
|
|
6120
|
+
status: 404;
|
|
6121
6121
|
input: {
|
|
6122
6122
|
header: {
|
|
6123
6123
|
'idempotency-key': string;
|
|
@@ -6141,14 +6141,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6141
6141
|
} | {
|
|
6142
6142
|
output: {
|
|
6143
6143
|
error: {
|
|
6144
|
-
code: "
|
|
6144
|
+
code: "route_policy_changed";
|
|
6145
6145
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6146
6146
|
message: string;
|
|
6147
6147
|
};
|
|
6148
6148
|
requestId: string;
|
|
6149
6149
|
};
|
|
6150
6150
|
outputFormat: "json";
|
|
6151
|
-
status:
|
|
6151
|
+
status: 409;
|
|
6152
6152
|
input: {
|
|
6153
6153
|
header: {
|
|
6154
6154
|
'idempotency-key': string;
|
|
@@ -6172,14 +6172,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6172
6172
|
} | {
|
|
6173
6173
|
output: {
|
|
6174
6174
|
error: {
|
|
6175
|
-
code: "
|
|
6175
|
+
code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
|
|
6176
6176
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6177
6177
|
message: string;
|
|
6178
6178
|
};
|
|
6179
6179
|
requestId: string;
|
|
6180
6180
|
};
|
|
6181
6181
|
outputFormat: "json";
|
|
6182
|
-
status:
|
|
6182
|
+
status: 403;
|
|
6183
6183
|
input: {
|
|
6184
6184
|
header: {
|
|
6185
6185
|
'idempotency-key': string;
|
|
@@ -6203,7 +6203,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6203
6203
|
} | {
|
|
6204
6204
|
output: {
|
|
6205
6205
|
error: {
|
|
6206
|
-
code: "
|
|
6206
|
+
code: "amount_too_low";
|
|
6207
6207
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6208
6208
|
message: string;
|
|
6209
6209
|
};
|
|
@@ -6465,14 +6465,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6465
6465
|
$get: {
|
|
6466
6466
|
output: {
|
|
6467
6467
|
error: {
|
|
6468
|
-
code: "
|
|
6468
|
+
code: "upstream_error";
|
|
6469
6469
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6470
6470
|
message: string;
|
|
6471
6471
|
};
|
|
6472
6472
|
requestId: string;
|
|
6473
6473
|
};
|
|
6474
6474
|
outputFormat: "json";
|
|
6475
|
-
status:
|
|
6475
|
+
status: 502;
|
|
6476
6476
|
input: {
|
|
6477
6477
|
query?: {
|
|
6478
6478
|
cursor?: string | string[];
|
|
@@ -6482,14 +6482,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6482
6482
|
} | {
|
|
6483
6483
|
output: {
|
|
6484
6484
|
error: {
|
|
6485
|
-
code: "
|
|
6485
|
+
code: "query_invalid";
|
|
6486
6486
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6487
6487
|
message: string;
|
|
6488
6488
|
};
|
|
6489
6489
|
requestId: string;
|
|
6490
6490
|
};
|
|
6491
6491
|
outputFormat: "json";
|
|
6492
|
-
status:
|
|
6492
|
+
status: 400;
|
|
6493
6493
|
input: {
|
|
6494
6494
|
query?: {
|
|
6495
6495
|
cursor?: string | string[];
|
|
@@ -6499,14 +6499,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6499
6499
|
} | {
|
|
6500
6500
|
output: {
|
|
6501
6501
|
error: {
|
|
6502
|
-
code: "
|
|
6502
|
+
code: "api_key_malformed";
|
|
6503
6503
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6504
6504
|
message: string;
|
|
6505
6505
|
};
|
|
6506
6506
|
requestId: string;
|
|
6507
6507
|
};
|
|
6508
6508
|
outputFormat: "json";
|
|
6509
|
-
status:
|
|
6509
|
+
status: 400;
|
|
6510
6510
|
input: {
|
|
6511
6511
|
query?: {
|
|
6512
6512
|
cursor?: string | string[];
|
|
@@ -6516,14 +6516,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6516
6516
|
} | {
|
|
6517
6517
|
output: {
|
|
6518
6518
|
error: {
|
|
6519
|
-
code: "
|
|
6519
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6520
6520
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6521
6521
|
message: string;
|
|
6522
6522
|
};
|
|
6523
6523
|
requestId: string;
|
|
6524
6524
|
};
|
|
6525
6525
|
outputFormat: "json";
|
|
6526
|
-
status:
|
|
6526
|
+
status: 401;
|
|
6527
6527
|
input: {
|
|
6528
6528
|
query?: {
|
|
6529
6529
|
cursor?: string | string[];
|
|
@@ -6533,14 +6533,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6533
6533
|
} | {
|
|
6534
6534
|
output: {
|
|
6535
6535
|
error: {
|
|
6536
|
-
code: "
|
|
6536
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
6537
6537
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6538
6538
|
message: string;
|
|
6539
6539
|
};
|
|
6540
6540
|
requestId: string;
|
|
6541
6541
|
};
|
|
6542
6542
|
outputFormat: "json";
|
|
6543
|
-
status:
|
|
6543
|
+
status: 403;
|
|
6544
6544
|
input: {
|
|
6545
6545
|
query?: {
|
|
6546
6546
|
cursor?: string | string[];
|
|
@@ -6550,14 +6550,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6550
6550
|
} | {
|
|
6551
6551
|
output: {
|
|
6552
6552
|
error: {
|
|
6553
|
-
code: "
|
|
6553
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
6554
6554
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6555
6555
|
message: string;
|
|
6556
6556
|
};
|
|
6557
6557
|
requestId: string;
|
|
6558
6558
|
};
|
|
6559
6559
|
outputFormat: "json";
|
|
6560
|
-
status:
|
|
6560
|
+
status: 429;
|
|
6561
6561
|
input: {
|
|
6562
6562
|
query?: {
|
|
6563
6563
|
cursor?: string | string[];
|
|
@@ -6649,14 +6649,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6649
6649
|
$get: {
|
|
6650
6650
|
output: {
|
|
6651
6651
|
error: {
|
|
6652
|
-
code: "
|
|
6652
|
+
code: "upstream_error";
|
|
6653
6653
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6654
6654
|
message: string;
|
|
6655
6655
|
};
|
|
6656
6656
|
requestId: string;
|
|
6657
6657
|
};
|
|
6658
6658
|
outputFormat: "json";
|
|
6659
|
-
status:
|
|
6659
|
+
status: 502;
|
|
6660
6660
|
input: {
|
|
6661
6661
|
param: {
|
|
6662
6662
|
id: string;
|
|
@@ -6665,14 +6665,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6665
6665
|
} | {
|
|
6666
6666
|
output: {
|
|
6667
6667
|
error: {
|
|
6668
|
-
code: "
|
|
6668
|
+
code: "api_key_malformed";
|
|
6669
6669
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6670
6670
|
message: string;
|
|
6671
6671
|
};
|
|
6672
6672
|
requestId: string;
|
|
6673
6673
|
};
|
|
6674
6674
|
outputFormat: "json";
|
|
6675
|
-
status:
|
|
6675
|
+
status: 400;
|
|
6676
6676
|
input: {
|
|
6677
6677
|
param: {
|
|
6678
6678
|
id: string;
|
|
@@ -6681,14 +6681,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6681
6681
|
} | {
|
|
6682
6682
|
output: {
|
|
6683
6683
|
error: {
|
|
6684
|
-
code: "
|
|
6684
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6685
6685
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6686
6686
|
message: string;
|
|
6687
6687
|
};
|
|
6688
6688
|
requestId: string;
|
|
6689
6689
|
};
|
|
6690
6690
|
outputFormat: "json";
|
|
6691
|
-
status:
|
|
6691
|
+
status: 401;
|
|
6692
6692
|
input: {
|
|
6693
6693
|
param: {
|
|
6694
6694
|
id: string;
|
|
@@ -6697,14 +6697,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6697
6697
|
} | {
|
|
6698
6698
|
output: {
|
|
6699
6699
|
error: {
|
|
6700
|
-
code: "
|
|
6700
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
6701
6701
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6702
6702
|
message: string;
|
|
6703
6703
|
};
|
|
6704
6704
|
requestId: string;
|
|
6705
6705
|
};
|
|
6706
6706
|
outputFormat: "json";
|
|
6707
|
-
status:
|
|
6707
|
+
status: 403;
|
|
6708
6708
|
input: {
|
|
6709
6709
|
param: {
|
|
6710
6710
|
id: string;
|
|
@@ -6713,14 +6713,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6713
6713
|
} | {
|
|
6714
6714
|
output: {
|
|
6715
6715
|
error: {
|
|
6716
|
-
code: "
|
|
6716
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
6717
6717
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6718
6718
|
message: string;
|
|
6719
6719
|
};
|
|
6720
6720
|
requestId: string;
|
|
6721
6721
|
};
|
|
6722
6722
|
outputFormat: "json";
|
|
6723
|
-
status:
|
|
6723
|
+
status: 429;
|
|
6724
6724
|
input: {
|
|
6725
6725
|
param: {
|
|
6726
6726
|
id: string;
|
|
@@ -6847,14 +6847,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6847
6847
|
} | {
|
|
6848
6848
|
output: {
|
|
6849
6849
|
error: {
|
|
6850
|
-
code: "
|
|
6850
|
+
code: "upstream_error";
|
|
6851
6851
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6852
6852
|
message: string;
|
|
6853
6853
|
};
|
|
6854
6854
|
requestId: string;
|
|
6855
6855
|
};
|
|
6856
6856
|
outputFormat: "json";
|
|
6857
|
-
status:
|
|
6857
|
+
status: 502;
|
|
6858
6858
|
input: {
|
|
6859
6859
|
param: {
|
|
6860
6860
|
id: string;
|
|
@@ -6863,14 +6863,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6863
6863
|
} | {
|
|
6864
6864
|
output: {
|
|
6865
6865
|
error: {
|
|
6866
|
-
code: "
|
|
6866
|
+
code: "api_key_malformed";
|
|
6867
6867
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6868
6868
|
message: string;
|
|
6869
6869
|
};
|
|
6870
6870
|
requestId: string;
|
|
6871
6871
|
};
|
|
6872
6872
|
outputFormat: "json";
|
|
6873
|
-
status:
|
|
6873
|
+
status: 400;
|
|
6874
6874
|
input: {
|
|
6875
6875
|
param: {
|
|
6876
6876
|
id: string;
|
|
@@ -6879,14 +6879,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6879
6879
|
} | {
|
|
6880
6880
|
output: {
|
|
6881
6881
|
error: {
|
|
6882
|
-
code: "
|
|
6882
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6883
6883
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6884
6884
|
message: string;
|
|
6885
6885
|
};
|
|
6886
6886
|
requestId: string;
|
|
6887
6887
|
};
|
|
6888
6888
|
outputFormat: "json";
|
|
6889
|
-
status:
|
|
6889
|
+
status: 401;
|
|
6890
6890
|
input: {
|
|
6891
6891
|
param: {
|
|
6892
6892
|
id: string;
|
|
@@ -6895,14 +6895,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6895
6895
|
} | {
|
|
6896
6896
|
output: {
|
|
6897
6897
|
error: {
|
|
6898
|
-
code: "
|
|
6898
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
6899
6899
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6900
6900
|
message: string;
|
|
6901
6901
|
};
|
|
6902
6902
|
requestId: string;
|
|
6903
6903
|
};
|
|
6904
6904
|
outputFormat: "json";
|
|
6905
|
-
status:
|
|
6905
|
+
status: 403;
|
|
6906
6906
|
input: {
|
|
6907
6907
|
param: {
|
|
6908
6908
|
id: string;
|
|
@@ -6911,14 +6911,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
|
|
|
6911
6911
|
} | {
|
|
6912
6912
|
output: {
|
|
6913
6913
|
error: {
|
|
6914
|
-
code: "
|
|
6914
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
6915
6915
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6916
6916
|
message: string;
|
|
6917
6917
|
};
|
|
6918
6918
|
requestId: string;
|
|
6919
6919
|
};
|
|
6920
6920
|
outputFormat: "json";
|
|
6921
|
-
status:
|
|
6921
|
+
status: 429;
|
|
6922
6922
|
input: {
|
|
6923
6923
|
param: {
|
|
6924
6924
|
id: string;
|