tapimo 0.15.1 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +137 -0
- package/dist/ApiKey.d.ts +1 -0
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +4 -2
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +37 -11
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +163 -10
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +13085 -11974
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +46 -15
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +1 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +1 -1
- package/dist/Scope.js.map +1 -1
- package/dist/admin/App.d.ts +893 -191
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +5 -1
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +70 -70
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +8 -3
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +66 -27
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.js +36 -7
- package/dist/admin/apps/earn-vaults.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +25 -25
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/organizations.js +5 -4
- package/dist/admin/apps/organizations.js.map +1 -1
- package/dist/admin/apps/route-policies.d.ts +632 -0
- package/dist/admin/apps/route-policies.d.ts.map +1 -0
- package/dist/admin/apps/route-policies.js +257 -0
- package/dist/admin/apps/route-policies.js.map +1 -0
- package/dist/admin/apps/routes-support.js +39 -3
- package/dist/admin/apps/routes-support.js.map +1 -1
- package/dist/admin/apps/routes.d.ts +529 -76
- package/dist/admin/apps/routes.d.ts.map +1 -1
- package/dist/admin/apps/routes.js +82 -1
- package/dist/admin/apps/routes.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +157 -157
- package/dist/admin/index.d.ts +0 -1
- package/dist/admin/index.d.ts.map +1 -1
- package/dist/admin/index.js +0 -1
- package/dist/admin/index.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +205 -201
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +65 -1
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/analytics/tables/requestEvents.d.ts +1 -1
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
- package/dist/analytics/tables/requestEvents.js +58 -59
- package/dist/analytics/tables/requestEvents.js.map +1 -1
- package/dist/apps/data/App.d.ts +2709 -2670
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +357 -357
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +50 -0
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +248 -248
- package/dist/apps/data/routes/balances.d.ts +22 -22
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +5 -7
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +125 -125
- package/dist/apps/data/routes/coingecko.d.ts +54 -54
- package/dist/apps/data/routes/earn.d.ts +103 -12
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +456 -220
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +267 -97
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +109 -127
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +83 -54
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +43 -43
- package/dist/apps/data/routes/receipts.d.ts +235 -235
- package/dist/apps/data/routes/rpc.d.ts +30 -30
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +11 -6
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +2 -0
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +30 -22
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +77 -77
- package/dist/apps/data/routes/valuation.d.ts +32 -32
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +1 -1
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/management/App.d.ts +2909 -2064
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +2 -0
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/Billing.d.ts +2 -4
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +65 -26
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +257 -245
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +70 -11
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +84 -84
- package/dist/apps/management/routes/cli.d.ts +912 -0
- package/dist/apps/management/routes/cli.d.ts.map +1 -0
- package/dist/apps/management/routes/cli.js +416 -0
- package/dist/apps/management/routes/cli.js.map +1 -0
- package/dist/apps/management/routes/faucet.d.ts +8 -8
- package/dist/apps/management/routes/invitations.d.ts +138 -138
- package/dist/apps/management/routes/invite-links.d.ts +172 -172
- package/dist/apps/management/routes/members.d.ts +16 -16
- package/dist/apps/management/routes/orgs.d.ts +104 -104
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +8 -2
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +125 -125
- package/dist/apps/management/routes/usage.d.ts +8 -8
- package/dist/apps/management/routes/verified-token-requests.d.ts +86 -86
- package/dist/apps/management/routes/webhooks.d.ts +485 -485
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/apps/mpp/internal/Policy.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Policy.js +4 -2
- package/dist/apps/mpp/internal/Policy.js.map +1 -1
- package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Sponsorship.js +6 -4
- package/dist/apps/mpp/internal/Sponsorship.js.map +1 -1
- package/dist/apps/relay/App.d.ts +8 -0
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +16 -4
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/relay/Sponsorships.d.ts +4 -6
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +71 -60
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/apps/routes/Access.d.ts +53 -0
- package/dist/apps/routes/Access.d.ts.map +1 -1
- package/dist/apps/routes/Access.js +121 -0
- package/dist/apps/routes/Access.js.map +1 -1
- package/dist/apps/routes/App.d.ts +397 -158
- package/dist/apps/routes/App.d.ts.map +1 -1
- package/dist/apps/routes/App.js.map +1 -1
- package/dist/apps/routes/routes/chains.d.ts +25 -25
- package/dist/apps/routes/routes/deposit-addresses.d.ts +169 -61
- package/dist/apps/routes/routes/deposit-addresses.d.ts.map +1 -1
- package/dist/apps/routes/routes/deposit-addresses.js +217 -32
- package/dist/apps/routes/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/routes/routes/quotes.d.ts +171 -81
- package/dist/apps/routes/routes/quotes.d.ts.map +1 -1
- package/dist/apps/routes/routes/quotes.js +101 -27
- package/dist/apps/routes/routes/quotes.js.map +1 -1
- package/dist/apps/routes/routes/transfers.d.ts +532 -480
- package/dist/apps/routes/routes/transfers.d.ts.map +1 -1
- package/dist/apps/routes/routes/transfers.js +182 -37
- package/dist/apps/routes/routes/transfers.js.map +1 -1
- package/dist/cli/ApiKeys.d.ts +120 -0
- package/dist/cli/ApiKeys.d.ts.map +1 -0
- package/dist/cli/ApiKeys.js +138 -0
- package/dist/cli/ApiKeys.js.map +1 -0
- package/dist/cli/Cli.d.ts +92 -34
- package/dist/cli/Cli.d.ts.map +1 -1
- package/dist/cli/Cli.js +188 -11
- package/dist/cli/Cli.js.map +1 -1
- package/dist/cli/Credentials.d.ts +95 -0
- package/dist/cli/Credentials.d.ts.map +1 -0
- package/dist/cli/Credentials.js +110 -0
- package/dist/cli/Credentials.js.map +1 -0
- package/dist/cli/Spec.d.ts +59 -0
- package/dist/cli/Spec.d.ts.map +1 -0
- package/dist/cli/Spec.js +77 -0
- package/dist/cli/Spec.js.map +1 -0
- package/dist/cli/bin.js +5 -1
- package/dist/cli/bin.js.map +1 -1
- package/dist/cli/commands/admin.d.ts +5 -5
- package/dist/cli/commands/admin.d.ts.map +1 -1
- package/dist/cli/commands/auth.d.ts +73 -0
- package/dist/cli/commands/auth.d.ts.map +1 -0
- package/dist/cli/commands/auth.js +204 -0
- package/dist/cli/commands/auth.js.map +1 -0
- package/dist/cli/commands/keys.d.ts +17 -0
- package/dist/cli/commands/keys.d.ts.map +1 -0
- package/dist/cli/commands/keys.js +109 -0
- package/dist/cli/commands/keys.js.map +1 -0
- package/dist/cloudflare.d.ts +27 -2
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +144 -17
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +23 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +413 -1
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +44 -1
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +56 -3
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/apiKeyAdmissions.d.ts +28 -2
- package/dist/db/tables/apiKeyAdmissions.d.ts.map +1 -1
- package/dist/db/tables/apiKeyAdmissions.js +65 -9
- package/dist/db/tables/apiKeyAdmissions.js.map +1 -1
- package/dist/db/tables/apiKeyOwnerTombstones.d.ts +2 -0
- package/dist/db/tables/apiKeyOwnerTombstones.d.ts.map +1 -1
- package/dist/db/tables/apiKeyOwnerTombstones.js +2 -2
- package/dist/db/tables/apiKeyOwnerTombstones.js.map +1 -1
- package/dist/db/tables/authAccounts.d.ts.map +1 -1
- package/dist/db/tables/authAccounts.js +1 -0
- package/dist/db/tables/authAccounts.js.map +1 -1
- package/dist/db/tables/earnVaults.d.ts +5 -1
- package/dist/db/tables/earnVaults.d.ts.map +1 -1
- package/dist/db/tables/earnVaults.js +12 -1
- package/dist/db/tables/earnVaults.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +4 -2
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +8 -34
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts +5 -1
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js +10 -2
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/rewardEligibilityAssociations.d.ts +13 -0
- package/dist/db/tables/rewardEligibilityAssociations.d.ts.map +1 -1
- package/dist/db/tables/rewardEligibilityAssociations.js +11 -0
- package/dist/db/tables/rewardEligibilityAssociations.js.map +1 -1
- package/dist/db/tables/rewardRuns.d.ts.map +1 -1
- package/dist/db/tables/rewardRuns.js +4 -0
- package/dist/db/tables/rewardRuns.js.map +1 -1
- package/dist/db/tables/rewardTransactionAttempts.d.ts.map +1 -1
- package/dist/db/tables/rewardTransactionAttempts.js +2 -0
- package/dist/db/tables/rewardTransactionAttempts.js.map +1 -1
- package/dist/db/tables/routesDepositAddresses.d.ts +29 -0
- package/dist/db/tables/routesDepositAddresses.d.ts.map +1 -1
- package/dist/db/tables/routesDepositAddresses.js +84 -31
- package/dist/db/tables/routesDepositAddresses.js.map +1 -1
- package/dist/db/tables/routesDeposits.d.ts.map +1 -1
- package/dist/db/tables/routesDeposits.js +31 -21
- package/dist/db/tables/routesDeposits.js.map +1 -1
- package/dist/db/tables/routesIdempotency.d.ts.map +1 -1
- package/dist/db/tables/routesIdempotency.js +2 -0
- package/dist/db/tables/routesIdempotency.js.map +1 -1
- package/dist/db/tables/routesPolicies.d.ts +58 -0
- package/dist/db/tables/routesPolicies.d.ts.map +1 -0
- package/dist/db/tables/routesPolicies.js +198 -0
- package/dist/db/tables/routesPolicies.js.map +1 -0
- package/dist/db/tables/routesTransferSubsidies.d.ts +22 -0
- package/dist/db/tables/routesTransferSubsidies.d.ts.map +1 -1
- package/dist/db/tables/routesTransferSubsidies.js +41 -0
- package/dist/db/tables/routesTransferSubsidies.js.map +1 -1
- package/dist/db/tables/routesTransferSubsidyNonces.d.ts.map +1 -1
- package/dist/db/tables/routesTransferSubsidyNonces.js +12 -4
- package/dist/db/tables/routesTransferSubsidyNonces.js.map +1 -1
- package/dist/db/tables/routesTransfers.d.ts +26 -1
- package/dist/db/tables/routesTransfers.d.ts.map +1 -1
- package/dist/db/tables/routesTransfers.js +36 -6
- package/dist/db/tables/routesTransfers.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +45 -13
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +144 -33
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/users.d.ts +2 -0
- package/dist/db/tables/users.d.ts.map +1 -1
- package/dist/db/tables/users.js +11 -0
- package/dist/db/tables/users.js.map +1 -1
- package/dist/handlers/internal/multisig.d.ts +1 -1
- package/dist/handlers/internal/multisig.d.ts.map +1 -1
- package/dist/handlers/internal/multisig.js +3 -2
- package/dist/handlers/internal/multisig.js.map +1 -1
- package/dist/handlers/relay.d.ts +2 -0
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +34 -15
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +57 -6
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +182 -78
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/BetterAuth.d.ts +22 -0
- package/dist/internal/BetterAuth.d.ts.map +1 -1
- package/dist/internal/BetterAuth.js +17 -14
- package/dist/internal/BetterAuth.js.map +1 -1
- package/dist/internal/Cache.d.ts +5 -0
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +3 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/CliAuth.d.ts +243 -0
- package/dist/internal/CliAuth.d.ts.map +1 -0
- package/dist/internal/CliAuth.js +249 -0
- package/dist/internal/CliAuth.js.map +1 -0
- package/dist/internal/EarnSharePrices.d.ts +1 -1
- package/dist/internal/EarnSharePrices.d.ts.map +1 -1
- package/dist/internal/EarnSharePrices.js +7 -3
- package/dist/internal/EarnSharePrices.js.map +1 -1
- package/dist/internal/EarnVaults.d.ts +47 -0
- package/dist/internal/EarnVaults.d.ts.map +1 -1
- package/dist/internal/EarnVaults.js +188 -4
- package/dist/internal/EarnVaults.js.map +1 -1
- package/dist/internal/EarnWithdrawals.d.ts +73 -0
- package/dist/internal/EarnWithdrawals.d.ts.map +1 -0
- package/dist/internal/EarnWithdrawals.js +189 -0
- package/dist/internal/EarnWithdrawals.js.map +1 -0
- package/dist/internal/ExecutionContext.d.ts +21 -0
- package/dist/internal/ExecutionContext.d.ts.map +1 -0
- package/dist/internal/ExecutionContext.js +16 -0
- package/dist/internal/ExecutionContext.js.map +1 -0
- package/dist/internal/Log.d.ts +7 -3
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +163 -130
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +26 -1
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +67 -0
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +174 -27
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Store.d.ts +6 -0
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +4 -5
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Timing.d.ts +6 -0
- package/dist/internal/Timing.d.ts.map +1 -1
- package/dist/internal/Timing.js +21 -1
- package/dist/internal/Timing.js.map +1 -1
- package/dist/internal/Tron.d.ts +124 -0
- package/dist/internal/Tron.d.ts.map +1 -0
- package/dist/internal/Tron.js +202 -0
- package/dist/internal/Tron.js.map +1 -0
- package/dist/internal/Viem.d.ts +4 -0
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +25 -6
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/rewards/Read.d.ts +2 -2
- package/dist/internal/rewards/Read.d.ts.map +1 -1
- package/dist/internal/rewards/Read.js +11 -2
- package/dist/internal/rewards/Read.js.map +1 -1
- package/dist/internal/routes/Action.d.ts +27 -0
- package/dist/internal/routes/Action.d.ts.map +1 -1
- package/dist/internal/routes/Action.js +49 -1
- package/dist/internal/routes/Action.js.map +1 -1
- package/dist/internal/routes/Chain.d.ts +2 -0
- package/dist/internal/routes/Chain.d.ts.map +1 -1
- package/dist/internal/routes/Chain.js +4 -0
- package/dist/internal/routes/Chain.js.map +1 -1
- package/dist/internal/routes/DepositAddress.d.ts.map +1 -1
- package/dist/internal/routes/DepositAddress.js +5 -0
- package/dist/internal/routes/DepositAddress.js.map +1 -1
- package/dist/internal/routes/Evidence.d.ts.map +1 -1
- package/dist/internal/routes/Evidence.js +6 -2
- package/dist/internal/routes/Evidence.js.map +1 -1
- package/dist/internal/routes/EvmTransferSettlement.d.ts +17 -0
- package/dist/internal/routes/EvmTransferSettlement.d.ts.map +1 -0
- package/dist/internal/routes/EvmTransferSettlement.js +196 -0
- package/dist/internal/routes/EvmTransferSettlement.js.map +1 -0
- package/dist/internal/routes/Policy.d.ts +161 -0
- package/dist/internal/routes/Policy.d.ts.map +1 -0
- package/dist/internal/routes/Policy.js +249 -0
- package/dist/internal/routes/Policy.js.map +1 -0
- package/dist/internal/routes/Provider.d.ts +66 -3
- package/dist/internal/routes/Provider.d.ts.map +1 -1
- package/dist/internal/routes/Provider.js +106 -27
- package/dist/internal/routes/Provider.js.map +1 -1
- package/dist/internal/routes/Quota.d.ts +57 -0
- package/dist/internal/routes/Quota.d.ts.map +1 -0
- package/dist/internal/routes/Quota.js +144 -0
- package/dist/internal/routes/Quota.js.map +1 -0
- package/dist/internal/routes/Reconciliation.d.ts.map +1 -1
- package/dist/internal/routes/Reconciliation.js +163 -47
- package/dist/internal/routes/Reconciliation.js.map +1 -1
- package/dist/internal/routes/SolanaTransferSettlement.d.ts +12 -0
- package/dist/internal/routes/SolanaTransferSettlement.d.ts.map +1 -0
- package/dist/internal/routes/SolanaTransferSettlement.js +220 -0
- package/dist/internal/routes/SolanaTransferSettlement.js.map +1 -0
- package/dist/internal/routes/SolanaTransferSubsidy.d.ts +172 -0
- package/dist/internal/routes/SolanaTransferSubsidy.d.ts.map +1 -0
- package/dist/internal/routes/SolanaTransferSubsidy.js +564 -0
- package/dist/internal/routes/SolanaTransferSubsidy.js.map +1 -0
- package/dist/internal/routes/Subsidy.d.ts +2 -2
- package/dist/internal/routes/Subsidy.d.ts.map +1 -1
- package/dist/internal/routes/Subsidy.js +2 -2
- package/dist/internal/routes/Subsidy.js.map +1 -1
- package/dist/internal/routes/Transfer.d.ts +229 -1
- package/dist/internal/routes/Transfer.d.ts.map +1 -1
- package/dist/internal/routes/Transfer.js +644 -7
- package/dist/internal/routes/Transfer.js.map +1 -1
- package/dist/internal/routes/TransferReconciliation.d.ts +6 -0
- package/dist/internal/routes/TransferReconciliation.d.ts.map +1 -1
- package/dist/internal/routes/TransferReconciliation.js +83 -159
- package/dist/internal/routes/TransferReconciliation.js.map +1 -1
- package/dist/internal/routes/TransferSettlement.d.ts +45 -0
- package/dist/internal/routes/TransferSettlement.d.ts.map +1 -0
- package/dist/internal/routes/TransferSettlement.js +2 -0
- package/dist/internal/routes/TransferSettlement.js.map +1 -0
- package/dist/internal/routes/TransferSubsidy.d.ts +23 -8
- package/dist/internal/routes/TransferSubsidy.d.ts.map +1 -1
- package/dist/internal/routes/TransferSubsidy.js +64 -5
- package/dist/internal/routes/TransferSubsidy.js.map +1 -1
- package/dist/internal/routes/TronTransferSettlement.d.ts +12 -0
- package/dist/internal/routes/TronTransferSettlement.d.ts.map +1 -0
- package/dist/internal/routes/TronTransferSettlement.js +201 -0
- package/dist/internal/routes/TronTransferSettlement.js.map +1 -0
- package/dist/internal/routes/TronTransferSubsidy.d.ts +174 -0
- package/dist/internal/routes/TronTransferSubsidy.d.ts.map +1 -0
- package/dist/internal/routes/TronTransferSubsidy.js +439 -0
- package/dist/internal/routes/TronTransferSubsidy.js.map +1 -0
- package/dist/internal/routes/index.d.ts +3 -0
- package/dist/internal/routes/index.d.ts.map +1 -1
- package/dist/internal/routes/index.js +3 -0
- package/dist/internal/routes/index.js.map +1 -1
- package/dist/internal/routes/providers/across.d.ts +3 -0
- package/dist/internal/routes/providers/across.d.ts.map +1 -1
- package/dist/internal/routes/providers/across.js +11 -0
- package/dist/internal/routes/providers/across.js.map +1 -1
- package/dist/internal/routes/providers/legacyMesh.d.ts +29 -0
- package/dist/internal/routes/providers/legacyMesh.d.ts.map +1 -0
- package/dist/internal/routes/providers/legacyMesh.js +474 -0
- package/dist/internal/routes/providers/legacyMesh.js.map +1 -0
- package/dist/internal/routes/providers/legacyMeshDelivery.d.ts +59 -0
- package/dist/internal/routes/providers/legacyMeshDelivery.d.ts.map +1 -0
- package/dist/internal/routes/providers/legacyMeshDelivery.js +229 -0
- package/dist/internal/routes/providers/legacyMeshDelivery.js.map +1 -0
- package/dist/internal/routes/providers/legacyMeshOutbound.d.ts +19 -0
- package/dist/internal/routes/providers/legacyMeshOutbound.d.ts.map +1 -0
- package/dist/internal/routes/providers/legacyMeshOutbound.js +457 -0
- package/dist/internal/routes/providers/legacyMeshOutbound.js.map +1 -0
- package/dist/internal/routes/providers/legacyMeshOutboundDelivery.d.ts +123 -0
- package/dist/internal/routes/providers/legacyMeshOutboundDelivery.d.ts.map +1 -0
- package/dist/internal/routes/providers/legacyMeshOutboundDelivery.js +333 -0
- package/dist/internal/routes/providers/legacyMeshOutboundDelivery.js.map +1 -0
- package/dist/internal/routes/providers/propAmm.d.ts +70 -0
- package/dist/internal/routes/providers/propAmm.d.ts.map +1 -0
- package/dist/internal/routes/providers/propAmm.js +524 -0
- package/dist/internal/routes/providers/propAmm.js.map +1 -0
- package/dist/internal/routes/providers/relay.d.ts +3 -0
- package/dist/internal/routes/providers/relay.d.ts.map +1 -1
- package/dist/internal/routes/providers/relay.js +352 -41
- package/dist/internal/routes/providers/relay.js.map +1 -1
- package/dist/internal/routes/providers/rhino.d.ts +3 -0
- package/dist/internal/routes/providers/rhino.d.ts.map +1 -1
- package/dist/internal/routes/providers/rhino.js +11 -0
- package/dist/internal/routes/providers/rhino.js.map +1 -1
- package/dist/internal/routes/providers/squid.d.ts +3 -0
- package/dist/internal/routes/providers/squid.d.ts.map +1 -1
- package/dist/internal/routes/providers/squid.js +19 -0
- package/dist/internal/routes/providers/squid.js.map +1 -1
- package/dist/internal/routes/providers/stargate.d.ts.map +1 -1
- package/dist/internal/routes/providers/stargate.js +22 -9
- package/dist/internal/routes/providers/stargate.js.map +1 -1
- package/dist/internal/routes/providers/symbiosis.d.ts.map +1 -1
- package/dist/internal/routes/providers/symbiosis.js +13 -17
- package/dist/internal/routes/providers/symbiosis.js.map +1 -1
- package/dist/providers/index.d.ts +14 -0
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +6 -0
- package/dist/providers/index.js.map +1 -1
- package/package.json +16 -6
- package/src/ApiKey.ts +7 -3
- package/src/ApiKeys.test.ts +652 -8
- package/src/ApiKeys.ts +191 -11
- package/src/App.test.ts +405 -18
- package/src/App.ts +51 -15
- package/src/Client.test-d.ts +157 -10
- package/src/Client.test.ts +4 -4
- package/src/Scope.ts +1 -2
- package/src/admin/App.ts +11 -5
- package/src/admin/apps/api-keys.test.ts +98 -2
- package/src/admin/apps/api-keys.ts +21 -12
- package/src/admin/apps/earn-vaults.test.ts +76 -7
- package/src/admin/apps/earn-vaults.ts +47 -8
- package/src/admin/apps/organizations.test.ts +147 -31
- package/src/admin/apps/organizations.ts +5 -4
- package/src/admin/apps/route-policies.test.ts +220 -0
- package/src/admin/apps/route-policies.ts +322 -0
- package/src/admin/apps/routes-support.test.ts +107 -2
- package/src/admin/apps/routes-support.ts +43 -3
- package/src/admin/apps/routes.test.ts +150 -0
- package/src/admin/apps/routes.ts +97 -1
- package/src/admin/apps/scopes.test.ts +1 -1
- package/src/admin/index.ts +0 -1
- package/src/admin/ui/plugin.ts +2 -1
- package/src/admin/ui/src/components/Dialog.tsx +1 -1
- package/src/admin/ui/src/components/EarnVaultForm.tsx +45 -0
- package/src/admin/ui/src/components/RoutePicker.tsx +79 -0
- package/src/admin/ui/src/lib/earn-vaults.ts +1 -1
- package/src/admin/ui/src/lib/route-policies.test.ts +452 -0
- package/src/admin/ui/src/lib/route-policies.ts +232 -0
- package/src/admin/ui/src/lib/routes.ts +34 -0
- package/src/admin/ui/src/routeTree.gen.ts +21 -0
- package/src/admin/ui/src/routes/api-keys.tsx +21 -2
- package/src/admin/ui/src/routes/early-access.tsx +1 -0
- package/src/admin/ui/src/routes/earn.vaults.tsx +1 -0
- package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +22 -0
- package/src/admin/ui/src/routes/earn.vaults_.new.tsx +10 -0
- package/src/admin/ui/src/routes/organizations.tsx +1 -0
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +18 -3
- package/src/admin/ui/src/routes/route-policies.tsx +678 -0
- package/src/admin/ui/src/routes/routes.tsx +85 -2
- package/src/admin/ui/src/routes/routes_.support.tsx +6 -22
- package/src/admin/ui/src/routes/subsidies.tsx +1 -0
- package/src/admin/ui/src/routes/verified-tokens.tsx +1 -0
- package/src/admin/ui.generated.ts +258 -202
- package/src/analytics/Analytics.test.ts +4 -50
- package/src/analytics/Analytics.ts +65 -1
- package/src/analytics/tables/requestEvents.test.ts +402 -1
- package/src/analytics/tables/requestEvents.ts +62 -93
- package/src/apps/data/routes/activities.test.ts +315 -14
- package/src/apps/data/routes/activities.ts +60 -0
- package/src/apps/data/routes/balances.ts +5 -7
- package/src/apps/data/routes/earn.bench.ts +18 -0
- package/src/apps/data/routes/earn.local.test.ts +507 -0
- package/src/apps/data/routes/earn.test.ts +405 -127
- package/src/apps/data/routes/earn.ts +660 -270
- package/src/apps/data/routes/exchanges.bench.ts +3 -1
- package/src/apps/data/routes/exchanges.test.ts +166 -2
- package/src/apps/data/routes/exchanges.ts +308 -101
- package/src/apps/data/routes/fee-amm.test.ts +134 -2
- package/src/apps/data/routes/fee-amm.ts +122 -60
- package/src/apps/data/routes/receipts.test.ts +21 -18
- package/src/apps/data/routes/rpc.test.ts +2 -2
- package/src/apps/data/routes/tokens.provenance.test.ts +157 -0
- package/src/apps/data/routes/tokens.test.ts +4 -4
- package/src/apps/data/routes/tokens.ts +11 -6
- package/src/apps/data/routes/transactions.test.ts +29 -0
- package/src/apps/data/routes/transactions.ts +33 -22
- package/src/apps/data/routes/webhooks.test.ts +12 -3
- package/src/apps/data/routes/webhooks.ts +2 -1
- package/src/apps/management/App.ts +4 -0
- package/src/apps/management/Billing.test.ts +253 -27
- package/src/apps/management/Billing.ts +83 -29
- package/src/apps/management/routes/api-keys.test.ts +1 -1
- package/src/apps/management/routes/api-keys.ts +85 -11
- package/src/apps/management/routes/billing.test.ts +68 -4
- package/src/apps/management/routes/cli.test.ts +370 -0
- package/src/apps/management/routes/cli.ts +533 -0
- package/src/apps/management/routes/me.test.ts +14 -4
- package/src/apps/management/routes/orgs.test.ts +108 -4
- package/src/apps/management/routes/orgs.ts +7 -2
- package/src/apps/management/routes/usage.test.ts +2 -2
- package/src/apps/mpp/internal/Policy.test.ts +51 -4
- package/src/apps/mpp/internal/Policy.ts +6 -2
- package/src/apps/mpp/internal/Sponsorship.test.ts +29 -0
- package/src/apps/mpp/internal/Sponsorship.ts +6 -4
- package/src/apps/relay/App.test.ts +85 -1
- package/src/apps/relay/App.ts +28 -4
- package/src/apps/relay/Sponsorships.test.ts +97 -1
- package/src/apps/relay/Sponsorships.ts +77 -66
- package/src/apps/routes/Access.test.ts +319 -0
- package/src/apps/routes/Access.ts +147 -0
- package/src/apps/routes/App.ts +10 -0
- package/src/apps/routes/routes/chains.test.ts +3 -2
- package/src/apps/routes/routes/deposit-addresses.test.ts +978 -34
- package/src/apps/routes/routes/deposit-addresses.ts +243 -32
- package/src/apps/routes/routes/propAmm.local.test.ts +951 -0
- package/src/apps/routes/routes/quotes.test.ts +81 -8
- package/src/apps/routes/routes/quotes.ts +109 -27
- package/src/apps/routes/routes/transfers.test.ts +252 -15
- package/src/apps/routes/routes/transfers.ts +212 -33
- package/src/cli/ApiKeys.test.ts +265 -0
- package/src/cli/ApiKeys.ts +189 -0
- package/src/cli/Cli.test.ts +188 -0
- package/src/cli/Cli.ts +280 -12
- package/src/cli/Credentials.test.ts +122 -0
- package/src/cli/Credentials.ts +144 -0
- package/src/cli/Spec.test.ts +133 -0
- package/src/cli/Spec.ts +132 -0
- package/src/cli/bin.test.ts +49 -0
- package/src/cli/bin.ts +5 -1
- package/src/cli/commands/auth.test.ts +138 -0
- package/src/cli/commands/auth.ts +254 -0
- package/src/cli/commands/keys.test.ts +68 -0
- package/src/cli/commands/keys.ts +125 -0
- package/src/cloudflare.ts +184 -36
- package/src/db/Db.test.ts +877 -0
- package/src/db/Db.ts +498 -1
- package/src/db/Schema.ts +75 -4
- package/src/db/tables/apiKeyAdmissions.test.ts +57 -0
- package/src/db/tables/apiKeyAdmissions.ts +101 -11
- package/src/db/tables/apiKeyOwnerTombstones.ts +2 -2
- package/src/db/tables/authAccounts.test.ts +30 -0
- package/src/db/tables/authAccounts.ts +1 -0
- package/src/db/tables/earnVaults.test.ts +34 -0
- package/src/db/tables/earnVaults.ts +17 -2
- package/src/db/tables/organizations.test.ts +148 -84
- package/src/db/tables/organizations.ts +11 -43
- package/src/db/tables/requestUsage.ts +13 -2
- package/src/db/tables/rewardCampaigns.test.ts +163 -0
- package/src/db/tables/rewardEligibilityAssociations.test.ts +14 -0
- package/src/db/tables/rewardEligibilityAssociations.ts +24 -0
- package/src/db/tables/rewardRuns.ts +4 -0
- package/src/db/tables/rewardTransactionAttempts.ts +2 -0
- package/src/db/tables/routesDepositAddresses.test.ts +263 -0
- package/src/db/tables/routesDepositAddresses.ts +118 -34
- package/src/db/tables/routesDeposits.test.ts +66 -5
- package/src/db/tables/routesDeposits.ts +47 -26
- package/src/db/tables/routesIdempotency.test.ts +80 -0
- package/src/db/tables/routesIdempotency.ts +2 -0
- package/src/db/tables/routesPolicies.test.ts +143 -0
- package/src/db/tables/routesPolicies.ts +251 -0
- package/src/db/tables/routesTransferSubsidies.ts +64 -0
- package/src/db/tables/routesTransferSubsidyNonces.ts +16 -4
- package/src/db/tables/routesTransfers.test.ts +183 -2
- package/src/db/tables/routesTransfers.ts +65 -6
- package/src/db/tables/sponsoredTransactions.test.ts +351 -76
- package/src/db/tables/sponsoredTransactions.ts +182 -38
- package/src/db/tables/users.test.ts +51 -0
- package/src/db/tables/users.ts +12 -0
- package/src/handlers/internal/multisig.store.test.ts +120 -0
- package/src/handlers/internal/multisig.test.ts +389 -0
- package/src/handlers/internal/multisig.ts +13 -10
- package/src/handlers/relay.test.ts +259 -83
- package/src/handlers/relay.ts +36 -17
- package/src/internal/Auth.test.ts +291 -8
- package/src/internal/Auth.ts +227 -96
- package/src/internal/BetterAuth.test.ts +58 -22
- package/src/internal/BetterAuth.ts +23 -17
- package/src/internal/Cache.ts +3 -1
- package/src/internal/CliAuth.test.ts +279 -0
- package/src/internal/CliAuth.ts +319 -0
- package/src/internal/EarnSharePrices.test.ts +25 -0
- package/src/internal/EarnSharePrices.ts +9 -2
- package/src/internal/EarnVaults.test.ts +67 -0
- package/src/internal/EarnVaults.ts +299 -4
- package/src/internal/EarnWithdrawals.test.ts +315 -0
- package/src/internal/EarnWithdrawals.ts +266 -0
- package/src/internal/ExecutionContext.ts +31 -0
- package/src/internal/Log.test.ts +210 -0
- package/src/internal/Log.ts +180 -142
- package/src/internal/MetricSink.test.ts +190 -15
- package/src/internal/MetricSink.ts +27 -1
- package/src/internal/RateLimit.test.ts +144 -8
- package/src/internal/RateLimit.ts +254 -26
- package/src/internal/Store.ts +4 -5
- package/src/internal/Timing.test.ts +32 -0
- package/src/internal/Timing.ts +20 -1
- package/src/internal/Tron.test-d.ts +22 -0
- package/src/internal/Tron.test.ts +94 -0
- package/src/internal/Tron.ts +289 -0
- package/src/internal/Viem.rpc.test.ts +76 -0
- package/src/internal/Viem.ts +29 -6
- package/src/internal/rewards/Read.test.ts +109 -0
- package/src/internal/rewards/Read.ts +13 -4
- package/src/internal/routes/Action.test.ts +70 -0
- package/src/internal/routes/Action.ts +76 -1
- package/src/internal/routes/Chain.test.ts +18 -0
- package/src/internal/routes/Chain.ts +5 -0
- package/src/internal/routes/DepositAddress.ts +5 -0
- package/src/internal/routes/Evidence.test.ts +64 -0
- package/src/internal/routes/Evidence.ts +11 -3
- package/src/internal/routes/EvmTransferSettlement.ts +213 -0
- package/src/internal/routes/Policy.test.ts +316 -0
- package/src/internal/routes/Policy.ts +399 -0
- package/src/internal/routes/Provider.test.ts +103 -2
- package/src/internal/routes/Provider.ts +149 -27
- package/src/internal/routes/Quota.test.ts +149 -0
- package/src/internal/routes/Quota.ts +226 -0
- package/src/internal/routes/Reconciliation.local.test.ts +285 -0
- package/src/internal/routes/Reconciliation.test.ts +371 -13
- package/src/internal/routes/Reconciliation.ts +193 -42
- package/src/internal/routes/SolanaTransferSettlement.ts +232 -0
- package/src/internal/routes/SolanaTransferSubsidy.test.ts +471 -0
- package/src/internal/routes/SolanaTransferSubsidy.ts +760 -0
- package/src/internal/routes/SourceObservation.test.ts +221 -0
- package/src/internal/routes/Subsidy.local.test.ts +46 -0
- package/src/internal/routes/Subsidy.ts +4 -2
- package/src/internal/routes/Transfer.solana.test.ts +389 -0
- package/src/internal/routes/Transfer.test.ts +130 -1
- package/src/internal/routes/Transfer.tron.test.ts +172 -0
- package/src/internal/routes/Transfer.ts +866 -8
- package/src/internal/routes/TransferReconciliation.test.ts +26 -4
- package/src/internal/routes/TransferReconciliation.ts +91 -166
- package/src/internal/routes/TransferSettlement.ts +48 -0
- package/src/internal/routes/TransferSubsidy.local.test.ts +143 -0
- package/src/internal/routes/TransferSubsidy.test.ts +34 -4
- package/src/internal/routes/TransferSubsidy.ts +87 -12
- package/src/internal/routes/TronTransferSettlement.ts +212 -0
- package/src/internal/routes/TronTransferSubsidy.test.ts +109 -0
- package/src/internal/routes/TronTransferSubsidy.ts +619 -0
- package/src/internal/routes/index.test.ts +3 -0
- package/src/internal/routes/index.ts +3 -0
- package/src/internal/routes/providers/across.ts +13 -0
- package/src/internal/routes/providers/index.test.ts +141 -0
- package/src/internal/routes/providers/legacyMesh.test.ts +484 -0
- package/src/internal/routes/providers/legacyMesh.ts +633 -0
- package/src/internal/routes/providers/legacyMeshDelivery.test.ts +306 -0
- package/src/internal/routes/providers/legacyMeshDelivery.ts +320 -0
- package/src/internal/routes/providers/legacyMeshOutbound.test.ts +401 -0
- package/src/internal/routes/providers/legacyMeshOutbound.ts +566 -0
- package/src/internal/routes/providers/legacyMeshOutboundDelivery.ts +473 -0
- package/src/internal/routes/providers/propAmm.ts +640 -0
- package/src/internal/routes/providers/relay.test.ts +1263 -41
- package/src/internal/routes/providers/relay.ts +423 -38
- package/src/internal/routes/providers/rhino.ts +14 -1
- package/src/internal/routes/providers/squid.ts +21 -0
- package/src/internal/routes/providers/stargate.test.ts +105 -1
- package/src/internal/routes/providers/stargate.ts +22 -9
- package/src/internal/routes/providers/symbiosis.ts +13 -47
- package/src/providers/index.test.ts +2 -0
- package/src/providers/index.ts +18 -0
- package/dist/admin/Access.d.ts +0 -39
- package/dist/admin/Access.d.ts.map +0 -1
- package/dist/admin/Access.js +0 -73
- package/dist/admin/Access.js.map +0 -1
- package/src/admin/Access.test.ts +0 -130
- package/src/admin/Access.ts +0 -85
|
@@ -50,6 +50,7 @@ export declare namespace schema {
|
|
|
50
50
|
}>>;
|
|
51
51
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
52
52
|
scopes: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
53
|
+
sourceKeyId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
53
54
|
}, z.core.$strip>;
|
|
54
55
|
/** Schemas for the createApiKey operation. */
|
|
55
56
|
namespace createApiKey {
|
|
@@ -203,22 +204,15 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
203
204
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys": {
|
|
204
205
|
$post: {
|
|
205
206
|
output: {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
lastUsedAt?: string | undefined;
|
|
213
|
-
name?: string | undefined;
|
|
214
|
-
orgId: string;
|
|
215
|
-
projectId?: string | undefined;
|
|
216
|
-
scopes: string[];
|
|
217
|
-
tokenLast4: string;
|
|
218
|
-
token: string;
|
|
207
|
+
error: {
|
|
208
|
+
code: "api_key_malformed";
|
|
209
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
210
|
+
message: string;
|
|
211
|
+
};
|
|
212
|
+
requestId: string;
|
|
219
213
|
};
|
|
220
214
|
outputFormat: "json";
|
|
221
|
-
status:
|
|
215
|
+
status: 400;
|
|
222
216
|
input: {
|
|
223
217
|
param: {
|
|
224
218
|
orgId: string;
|
|
@@ -230,19 +224,20 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
230
224
|
environment?: "production" | "sandbox" | undefined;
|
|
231
225
|
name?: string | undefined;
|
|
232
226
|
scopes?: string[] | undefined;
|
|
227
|
+
sourceKeyId?: string | undefined;
|
|
233
228
|
};
|
|
234
229
|
};
|
|
235
230
|
} | {
|
|
236
231
|
output: {
|
|
237
232
|
error: {
|
|
238
|
-
code: "
|
|
233
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
239
234
|
details?: readonly Response.error.Detail[] | undefined;
|
|
240
235
|
message: string;
|
|
241
236
|
};
|
|
242
237
|
requestId: string;
|
|
243
238
|
};
|
|
244
239
|
outputFormat: "json";
|
|
245
|
-
status:
|
|
240
|
+
status: 401;
|
|
246
241
|
input: {
|
|
247
242
|
param: {
|
|
248
243
|
orgId: string;
|
|
@@ -254,19 +249,20 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
254
249
|
environment?: "production" | "sandbox" | undefined;
|
|
255
250
|
name?: string | undefined;
|
|
256
251
|
scopes?: string[] | undefined;
|
|
252
|
+
sourceKeyId?: string | undefined;
|
|
257
253
|
};
|
|
258
254
|
};
|
|
259
255
|
} | {
|
|
260
256
|
output: {
|
|
261
257
|
error: {
|
|
262
|
-
code: "
|
|
258
|
+
code: "upstream_error";
|
|
263
259
|
details?: readonly Response.error.Detail[] | undefined;
|
|
264
260
|
message: string;
|
|
265
261
|
};
|
|
266
262
|
requestId: string;
|
|
267
263
|
};
|
|
268
264
|
outputFormat: "json";
|
|
269
|
-
status:
|
|
265
|
+
status: 502;
|
|
270
266
|
input: {
|
|
271
267
|
param: {
|
|
272
268
|
orgId: string;
|
|
@@ -278,6 +274,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
278
274
|
environment?: "production" | "sandbox" | undefined;
|
|
279
275
|
name?: string | undefined;
|
|
280
276
|
scopes?: string[] | undefined;
|
|
277
|
+
sourceKeyId?: string | undefined;
|
|
281
278
|
};
|
|
282
279
|
};
|
|
283
280
|
} | {
|
|
@@ -302,19 +299,20 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
302
299
|
environment?: "production" | "sandbox" | undefined;
|
|
303
300
|
name?: string | undefined;
|
|
304
301
|
scopes?: string[] | undefined;
|
|
302
|
+
sourceKeyId?: string | undefined;
|
|
305
303
|
};
|
|
306
304
|
};
|
|
307
305
|
} | {
|
|
308
306
|
output: {
|
|
309
307
|
error: {
|
|
310
|
-
code: "
|
|
308
|
+
code: "param_invalid";
|
|
311
309
|
details?: readonly Response.error.Detail[] | undefined;
|
|
312
310
|
message: string;
|
|
313
311
|
};
|
|
314
312
|
requestId: string;
|
|
315
313
|
};
|
|
316
314
|
outputFormat: "json";
|
|
317
|
-
status:
|
|
315
|
+
status: 400;
|
|
318
316
|
input: {
|
|
319
317
|
param: {
|
|
320
318
|
orgId: string;
|
|
@@ -326,6 +324,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
326
324
|
environment?: "production" | "sandbox" | undefined;
|
|
327
325
|
name?: string | undefined;
|
|
328
326
|
scopes?: string[] | undefined;
|
|
327
|
+
sourceKeyId?: string | undefined;
|
|
329
328
|
};
|
|
330
329
|
};
|
|
331
330
|
} | {
|
|
@@ -350,19 +349,20 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
350
349
|
environment?: "production" | "sandbox" | undefined;
|
|
351
350
|
name?: string | undefined;
|
|
352
351
|
scopes?: string[] | undefined;
|
|
352
|
+
sourceKeyId?: string | undefined;
|
|
353
353
|
};
|
|
354
354
|
};
|
|
355
355
|
} | {
|
|
356
356
|
output: {
|
|
357
357
|
error: {
|
|
358
|
-
code: "
|
|
358
|
+
code: "organization_not_found" | "project_not_found";
|
|
359
359
|
details?: readonly Response.error.Detail[] | undefined;
|
|
360
360
|
message: string;
|
|
361
361
|
};
|
|
362
362
|
requestId: string;
|
|
363
363
|
};
|
|
364
364
|
outputFormat: "json";
|
|
365
|
-
status:
|
|
365
|
+
status: 404;
|
|
366
366
|
input: {
|
|
367
367
|
param: {
|
|
368
368
|
orgId: string;
|
|
@@ -374,12 +374,13 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
374
374
|
environment?: "production" | "sandbox" | undefined;
|
|
375
375
|
name?: string | undefined;
|
|
376
376
|
scopes?: string[] | undefined;
|
|
377
|
+
sourceKeyId?: string | undefined;
|
|
377
378
|
};
|
|
378
379
|
};
|
|
379
380
|
} | {
|
|
380
381
|
output: {
|
|
381
382
|
error: {
|
|
382
|
-
code: "
|
|
383
|
+
code: "api_keys_not_enabled";
|
|
383
384
|
details?: readonly Response.error.Detail[] | undefined;
|
|
384
385
|
message: string;
|
|
385
386
|
};
|
|
@@ -398,19 +399,20 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
398
399
|
environment?: "production" | "sandbox" | undefined;
|
|
399
400
|
name?: string | undefined;
|
|
400
401
|
scopes?: string[] | undefined;
|
|
402
|
+
sourceKeyId?: string | undefined;
|
|
401
403
|
};
|
|
402
404
|
};
|
|
403
405
|
} | {
|
|
404
406
|
output: {
|
|
405
407
|
error: {
|
|
406
|
-
code: "
|
|
408
|
+
code: "scope_not_issuable";
|
|
407
409
|
details?: readonly Response.error.Detail[] | undefined;
|
|
408
410
|
message: string;
|
|
409
411
|
};
|
|
410
412
|
requestId: string;
|
|
411
413
|
};
|
|
412
414
|
outputFormat: "json";
|
|
413
|
-
status:
|
|
415
|
+
status: 403;
|
|
414
416
|
input: {
|
|
415
417
|
param: {
|
|
416
418
|
orgId: string;
|
|
@@ -422,19 +424,27 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
422
424
|
environment?: "production" | "sandbox" | undefined;
|
|
423
425
|
name?: string | undefined;
|
|
424
426
|
scopes?: string[] | undefined;
|
|
427
|
+
sourceKeyId?: string | undefined;
|
|
425
428
|
};
|
|
426
429
|
};
|
|
427
430
|
} | {
|
|
428
431
|
output: {
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
432
|
+
allowedIps: readonly string[];
|
|
433
|
+
createdAt: string;
|
|
434
|
+
createdBy?: string | undefined;
|
|
435
|
+
environment: "production" | "sandbox";
|
|
436
|
+
expiresAt?: string | undefined;
|
|
437
|
+
id: string;
|
|
438
|
+
lastUsedAt?: string | undefined;
|
|
439
|
+
name?: string | undefined;
|
|
440
|
+
orgId: string;
|
|
441
|
+
projectId?: string | undefined;
|
|
442
|
+
scopes: string[];
|
|
443
|
+
tokenLast4: string;
|
|
444
|
+
token: string;
|
|
435
445
|
};
|
|
436
446
|
outputFormat: "json";
|
|
437
|
-
status:
|
|
447
|
+
status: 200;
|
|
438
448
|
input: {
|
|
439
449
|
param: {
|
|
440
450
|
orgId: string;
|
|
@@ -446,19 +456,20 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
446
456
|
environment?: "production" | "sandbox" | undefined;
|
|
447
457
|
name?: string | undefined;
|
|
448
458
|
scopes?: string[] | undefined;
|
|
459
|
+
sourceKeyId?: string | undefined;
|
|
449
460
|
};
|
|
450
461
|
};
|
|
451
462
|
} | {
|
|
452
463
|
output: {
|
|
453
464
|
error: {
|
|
454
|
-
code: "
|
|
465
|
+
code: "api_key_limit_reached";
|
|
455
466
|
details?: readonly Response.error.Detail[] | undefined;
|
|
456
467
|
message: string;
|
|
457
468
|
};
|
|
458
469
|
requestId: string;
|
|
459
470
|
};
|
|
460
471
|
outputFormat: "json";
|
|
461
|
-
status:
|
|
472
|
+
status: 409;
|
|
462
473
|
input: {
|
|
463
474
|
param: {
|
|
464
475
|
orgId: string;
|
|
@@ -470,6 +481,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
470
481
|
environment?: "production" | "sandbox" | undefined;
|
|
471
482
|
name?: string | undefined;
|
|
472
483
|
scopes?: string[] | undefined;
|
|
484
|
+
sourceKeyId?: string | undefined;
|
|
473
485
|
};
|
|
474
486
|
};
|
|
475
487
|
};
|
|
@@ -477,36 +489,6 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
477
489
|
} & {
|
|
478
490
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys": {
|
|
479
491
|
$get: {
|
|
480
|
-
output: {
|
|
481
|
-
data: {
|
|
482
|
-
allowedIps: readonly string[];
|
|
483
|
-
createdAt: string;
|
|
484
|
-
createdBy?: string | undefined;
|
|
485
|
-
environment: "production" | "sandbox";
|
|
486
|
-
expiresAt?: string | undefined;
|
|
487
|
-
id: string;
|
|
488
|
-
lastUsedAt?: string | undefined;
|
|
489
|
-
name?: string | undefined;
|
|
490
|
-
orgId: string;
|
|
491
|
-
projectId?: string | undefined;
|
|
492
|
-
scopes: string[];
|
|
493
|
-
tokenLast4: string;
|
|
494
|
-
}[];
|
|
495
|
-
};
|
|
496
|
-
outputFormat: "json";
|
|
497
|
-
status: 200;
|
|
498
|
-
input: {
|
|
499
|
-
param: {
|
|
500
|
-
orgId: string;
|
|
501
|
-
projectId: string;
|
|
502
|
-
};
|
|
503
|
-
} & {
|
|
504
|
-
query?: {
|
|
505
|
-
environment?: string | string[];
|
|
506
|
-
include?: string | string[];
|
|
507
|
-
} | undefined;
|
|
508
|
-
};
|
|
509
|
-
} | {
|
|
510
492
|
output: {
|
|
511
493
|
error: {
|
|
512
494
|
code: "api_key_malformed";
|
|
@@ -531,14 +513,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
531
513
|
} | {
|
|
532
514
|
output: {
|
|
533
515
|
error: {
|
|
534
|
-
code: "
|
|
516
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
535
517
|
details?: readonly Response.error.Detail[] | undefined;
|
|
536
518
|
message: string;
|
|
537
519
|
};
|
|
538
520
|
requestId: string;
|
|
539
521
|
};
|
|
540
522
|
outputFormat: "json";
|
|
541
|
-
status:
|
|
523
|
+
status: 401;
|
|
542
524
|
input: {
|
|
543
525
|
param: {
|
|
544
526
|
orgId: string;
|
|
@@ -553,14 +535,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
553
535
|
} | {
|
|
554
536
|
output: {
|
|
555
537
|
error: {
|
|
556
|
-
code: "
|
|
538
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
557
539
|
details?: readonly Response.error.Detail[] | undefined;
|
|
558
540
|
message: string;
|
|
559
541
|
};
|
|
560
542
|
requestId: string;
|
|
561
543
|
};
|
|
562
544
|
outputFormat: "json";
|
|
563
|
-
status:
|
|
545
|
+
status: 403;
|
|
564
546
|
input: {
|
|
565
547
|
param: {
|
|
566
548
|
orgId: string;
|
|
@@ -575,14 +557,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
575
557
|
} | {
|
|
576
558
|
output: {
|
|
577
559
|
error: {
|
|
578
|
-
code: "
|
|
560
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
579
561
|
details?: readonly Response.error.Detail[] | undefined;
|
|
580
562
|
message: string;
|
|
581
563
|
};
|
|
582
564
|
requestId: string;
|
|
583
565
|
};
|
|
584
566
|
outputFormat: "json";
|
|
585
|
-
status:
|
|
567
|
+
status: 429;
|
|
586
568
|
input: {
|
|
587
569
|
param: {
|
|
588
570
|
orgId: string;
|
|
@@ -597,14 +579,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
597
579
|
} | {
|
|
598
580
|
output: {
|
|
599
581
|
error: {
|
|
600
|
-
code: "
|
|
582
|
+
code: "query_invalid";
|
|
601
583
|
details?: readonly Response.error.Detail[] | undefined;
|
|
602
584
|
message: string;
|
|
603
585
|
};
|
|
604
586
|
requestId: string;
|
|
605
587
|
};
|
|
606
588
|
outputFormat: "json";
|
|
607
|
-
status:
|
|
589
|
+
status: 400;
|
|
608
590
|
input: {
|
|
609
591
|
param: {
|
|
610
592
|
orgId: string;
|
|
@@ -619,14 +601,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
619
601
|
} | {
|
|
620
602
|
output: {
|
|
621
603
|
error: {
|
|
622
|
-
code: "
|
|
604
|
+
code: "upstream_error";
|
|
623
605
|
details?: readonly Response.error.Detail[] | undefined;
|
|
624
606
|
message: string;
|
|
625
607
|
};
|
|
626
608
|
requestId: string;
|
|
627
609
|
};
|
|
628
610
|
outputFormat: "json";
|
|
629
|
-
status:
|
|
611
|
+
status: 502;
|
|
630
612
|
input: {
|
|
631
613
|
param: {
|
|
632
614
|
orgId: string;
|
|
@@ -641,14 +623,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
641
623
|
} | {
|
|
642
624
|
output: {
|
|
643
625
|
error: {
|
|
644
|
-
code: "
|
|
626
|
+
code: "param_invalid";
|
|
645
627
|
details?: readonly Response.error.Detail[] | undefined;
|
|
646
628
|
message: string;
|
|
647
629
|
};
|
|
648
630
|
requestId: string;
|
|
649
631
|
};
|
|
650
632
|
outputFormat: "json";
|
|
651
|
-
status:
|
|
633
|
+
status: 400;
|
|
652
634
|
input: {
|
|
653
635
|
param: {
|
|
654
636
|
orgId: string;
|
|
@@ -663,14 +645,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
663
645
|
} | {
|
|
664
646
|
output: {
|
|
665
647
|
error: {
|
|
666
|
-
code: "
|
|
648
|
+
code: "organization_not_found" | "project_not_found";
|
|
667
649
|
details?: readonly Response.error.Detail[] | undefined;
|
|
668
650
|
message: string;
|
|
669
651
|
};
|
|
670
652
|
requestId: string;
|
|
671
653
|
};
|
|
672
654
|
outputFormat: "json";
|
|
673
|
-
status:
|
|
655
|
+
status: 404;
|
|
674
656
|
input: {
|
|
675
657
|
param: {
|
|
676
658
|
orgId: string;
|
|
@@ -685,14 +667,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
685
667
|
} | {
|
|
686
668
|
output: {
|
|
687
669
|
error: {
|
|
688
|
-
code: "
|
|
670
|
+
code: "api_keys_not_enabled";
|
|
689
671
|
details?: readonly Response.error.Detail[] | undefined;
|
|
690
672
|
message: string;
|
|
691
673
|
};
|
|
692
674
|
requestId: string;
|
|
693
675
|
};
|
|
694
676
|
outputFormat: "json";
|
|
695
|
-
status:
|
|
677
|
+
status: 404;
|
|
696
678
|
input: {
|
|
697
679
|
param: {
|
|
698
680
|
orgId: string;
|
|
@@ -704,11 +686,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
704
686
|
include?: string | string[];
|
|
705
687
|
} | undefined;
|
|
706
688
|
};
|
|
707
|
-
}
|
|
708
|
-
};
|
|
709
|
-
} & {
|
|
710
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys": {
|
|
711
|
-
$get: {
|
|
689
|
+
} | {
|
|
712
690
|
output: {
|
|
713
691
|
data: {
|
|
714
692
|
allowedIps: readonly string[];
|
|
@@ -730,6 +708,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
730
708
|
input: {
|
|
731
709
|
param: {
|
|
732
710
|
orgId: string;
|
|
711
|
+
projectId: string;
|
|
733
712
|
};
|
|
734
713
|
} & {
|
|
735
714
|
query?: {
|
|
@@ -737,7 +716,11 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
737
716
|
include?: string | string[];
|
|
738
717
|
} | undefined;
|
|
739
718
|
};
|
|
740
|
-
}
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
} & {
|
|
722
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys": {
|
|
723
|
+
$get: {
|
|
741
724
|
output: {
|
|
742
725
|
error: {
|
|
743
726
|
code: "api_key_malformed";
|
|
@@ -761,14 +744,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
761
744
|
} | {
|
|
762
745
|
output: {
|
|
763
746
|
error: {
|
|
764
|
-
code: "
|
|
747
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
765
748
|
details?: readonly Response.error.Detail[] | undefined;
|
|
766
749
|
message: string;
|
|
767
750
|
};
|
|
768
751
|
requestId: string;
|
|
769
752
|
};
|
|
770
753
|
outputFormat: "json";
|
|
771
|
-
status:
|
|
754
|
+
status: 401;
|
|
772
755
|
input: {
|
|
773
756
|
param: {
|
|
774
757
|
orgId: string;
|
|
@@ -782,14 +765,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
782
765
|
} | {
|
|
783
766
|
output: {
|
|
784
767
|
error: {
|
|
785
|
-
code: "
|
|
768
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
786
769
|
details?: readonly Response.error.Detail[] | undefined;
|
|
787
770
|
message: string;
|
|
788
771
|
};
|
|
789
772
|
requestId: string;
|
|
790
773
|
};
|
|
791
774
|
outputFormat: "json";
|
|
792
|
-
status:
|
|
775
|
+
status: 403;
|
|
793
776
|
input: {
|
|
794
777
|
param: {
|
|
795
778
|
orgId: string;
|
|
@@ -803,14 +786,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
803
786
|
} | {
|
|
804
787
|
output: {
|
|
805
788
|
error: {
|
|
806
|
-
code: "
|
|
789
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
807
790
|
details?: readonly Response.error.Detail[] | undefined;
|
|
808
791
|
message: string;
|
|
809
792
|
};
|
|
810
793
|
requestId: string;
|
|
811
794
|
};
|
|
812
795
|
outputFormat: "json";
|
|
813
|
-
status:
|
|
796
|
+
status: 429;
|
|
814
797
|
input: {
|
|
815
798
|
param: {
|
|
816
799
|
orgId: string;
|
|
@@ -824,14 +807,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
824
807
|
} | {
|
|
825
808
|
output: {
|
|
826
809
|
error: {
|
|
827
|
-
code: "
|
|
810
|
+
code: "query_invalid";
|
|
828
811
|
details?: readonly Response.error.Detail[] | undefined;
|
|
829
812
|
message: string;
|
|
830
813
|
};
|
|
831
814
|
requestId: string;
|
|
832
815
|
};
|
|
833
816
|
outputFormat: "json";
|
|
834
|
-
status:
|
|
817
|
+
status: 400;
|
|
835
818
|
input: {
|
|
836
819
|
param: {
|
|
837
820
|
orgId: string;
|
|
@@ -845,14 +828,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
845
828
|
} | {
|
|
846
829
|
output: {
|
|
847
830
|
error: {
|
|
848
|
-
code: "
|
|
831
|
+
code: "upstream_error";
|
|
849
832
|
details?: readonly Response.error.Detail[] | undefined;
|
|
850
833
|
message: string;
|
|
851
834
|
};
|
|
852
835
|
requestId: string;
|
|
853
836
|
};
|
|
854
837
|
outputFormat: "json";
|
|
855
|
-
status:
|
|
838
|
+
status: 502;
|
|
856
839
|
input: {
|
|
857
840
|
param: {
|
|
858
841
|
orgId: string;
|
|
@@ -866,14 +849,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
866
849
|
} | {
|
|
867
850
|
output: {
|
|
868
851
|
error: {
|
|
869
|
-
code: "
|
|
852
|
+
code: "param_invalid";
|
|
870
853
|
details?: readonly Response.error.Detail[] | undefined;
|
|
871
854
|
message: string;
|
|
872
855
|
};
|
|
873
856
|
requestId: string;
|
|
874
857
|
};
|
|
875
858
|
outputFormat: "json";
|
|
876
|
-
status:
|
|
859
|
+
status: 400;
|
|
877
860
|
input: {
|
|
878
861
|
param: {
|
|
879
862
|
orgId: string;
|
|
@@ -887,14 +870,43 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
887
870
|
} | {
|
|
888
871
|
output: {
|
|
889
872
|
error: {
|
|
890
|
-
code: "
|
|
873
|
+
code: "api_keys_not_enabled";
|
|
891
874
|
details?: readonly Response.error.Detail[] | undefined;
|
|
892
875
|
message: string;
|
|
893
876
|
};
|
|
894
877
|
requestId: string;
|
|
895
878
|
};
|
|
896
879
|
outputFormat: "json";
|
|
897
|
-
status:
|
|
880
|
+
status: 404;
|
|
881
|
+
input: {
|
|
882
|
+
param: {
|
|
883
|
+
orgId: string;
|
|
884
|
+
};
|
|
885
|
+
} & {
|
|
886
|
+
query?: {
|
|
887
|
+
environment?: string | string[];
|
|
888
|
+
include?: string | string[];
|
|
889
|
+
} | undefined;
|
|
890
|
+
};
|
|
891
|
+
} | {
|
|
892
|
+
output: {
|
|
893
|
+
data: {
|
|
894
|
+
allowedIps: readonly string[];
|
|
895
|
+
createdAt: string;
|
|
896
|
+
createdBy?: string | undefined;
|
|
897
|
+
environment: "production" | "sandbox";
|
|
898
|
+
expiresAt?: string | undefined;
|
|
899
|
+
id: string;
|
|
900
|
+
lastUsedAt?: string | undefined;
|
|
901
|
+
name?: string | undefined;
|
|
902
|
+
orgId: string;
|
|
903
|
+
projectId?: string | undefined;
|
|
904
|
+
scopes: string[];
|
|
905
|
+
tokenLast4: string;
|
|
906
|
+
}[];
|
|
907
|
+
};
|
|
908
|
+
outputFormat: "json";
|
|
909
|
+
status: 200;
|
|
898
910
|
input: {
|
|
899
911
|
param: {
|
|
900
912
|
orgId: string;
|
|
@@ -908,14 +920,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
908
920
|
} | {
|
|
909
921
|
output: {
|
|
910
922
|
error: {
|
|
911
|
-
code: "
|
|
923
|
+
code: "organization_not_found";
|
|
912
924
|
details?: readonly Response.error.Detail[] | undefined;
|
|
913
925
|
message: string;
|
|
914
926
|
};
|
|
915
927
|
requestId: string;
|
|
916
928
|
};
|
|
917
929
|
outputFormat: "json";
|
|
918
|
-
status:
|
|
930
|
+
status: 404;
|
|
919
931
|
input: {
|
|
920
932
|
param: {
|
|
921
933
|
orgId: string;
|
|
@@ -931,30 +943,6 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
931
943
|
} & {
|
|
932
944
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}/rotate": {
|
|
933
945
|
$post: {
|
|
934
|
-
output: {
|
|
935
|
-
allowedIps: readonly string[];
|
|
936
|
-
createdAt: string;
|
|
937
|
-
createdBy?: string | undefined;
|
|
938
|
-
environment: "production" | "sandbox";
|
|
939
|
-
expiresAt?: string | undefined;
|
|
940
|
-
id: string;
|
|
941
|
-
lastUsedAt?: string | undefined;
|
|
942
|
-
name?: string | undefined;
|
|
943
|
-
orgId: string;
|
|
944
|
-
projectId?: string | undefined;
|
|
945
|
-
scopes: string[];
|
|
946
|
-
tokenLast4: string;
|
|
947
|
-
token: string;
|
|
948
|
-
};
|
|
949
|
-
outputFormat: "json";
|
|
950
|
-
status: 200;
|
|
951
|
-
input: {
|
|
952
|
-
param: {
|
|
953
|
-
keyId: string;
|
|
954
|
-
orgId: string;
|
|
955
|
-
};
|
|
956
|
-
};
|
|
957
|
-
} | {
|
|
958
946
|
output: {
|
|
959
947
|
error: {
|
|
960
948
|
code: "api_key_malformed";
|
|
@@ -974,14 +962,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
974
962
|
} | {
|
|
975
963
|
output: {
|
|
976
964
|
error: {
|
|
977
|
-
code: "
|
|
965
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
978
966
|
details?: readonly Response.error.Detail[] | undefined;
|
|
979
967
|
message: string;
|
|
980
968
|
};
|
|
981
969
|
requestId: string;
|
|
982
970
|
};
|
|
983
971
|
outputFormat: "json";
|
|
984
|
-
status:
|
|
972
|
+
status: 401;
|
|
985
973
|
input: {
|
|
986
974
|
param: {
|
|
987
975
|
keyId: string;
|
|
@@ -991,14 +979,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
991
979
|
} | {
|
|
992
980
|
output: {
|
|
993
981
|
error: {
|
|
994
|
-
code: "
|
|
982
|
+
code: "upstream_error";
|
|
995
983
|
details?: readonly Response.error.Detail[] | undefined;
|
|
996
984
|
message: string;
|
|
997
985
|
};
|
|
998
986
|
requestId: string;
|
|
999
987
|
};
|
|
1000
988
|
outputFormat: "json";
|
|
1001
|
-
status:
|
|
989
|
+
status: 502;
|
|
1002
990
|
input: {
|
|
1003
991
|
param: {
|
|
1004
992
|
keyId: string;
|
|
@@ -1008,14 +996,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1008
996
|
} | {
|
|
1009
997
|
output: {
|
|
1010
998
|
error: {
|
|
1011
|
-
code: "
|
|
999
|
+
code: "param_invalid";
|
|
1012
1000
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1013
1001
|
message: string;
|
|
1014
1002
|
};
|
|
1015
1003
|
requestId: string;
|
|
1016
1004
|
};
|
|
1017
1005
|
outputFormat: "json";
|
|
1018
|
-
status:
|
|
1006
|
+
status: 400;
|
|
1019
1007
|
input: {
|
|
1020
1008
|
param: {
|
|
1021
1009
|
keyId: string;
|
|
@@ -1025,7 +1013,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1025
1013
|
} | {
|
|
1026
1014
|
output: {
|
|
1027
1015
|
error: {
|
|
1028
|
-
code: "
|
|
1016
|
+
code: "forbidden";
|
|
1029
1017
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1030
1018
|
message: string;
|
|
1031
1019
|
};
|
|
@@ -1059,14 +1047,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1059
1047
|
} | {
|
|
1060
1048
|
output: {
|
|
1061
1049
|
error: {
|
|
1062
|
-
code: "
|
|
1050
|
+
code: "scope_not_issuable";
|
|
1063
1051
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1064
1052
|
message: string;
|
|
1065
1053
|
};
|
|
1066
1054
|
requestId: string;
|
|
1067
1055
|
};
|
|
1068
1056
|
outputFormat: "json";
|
|
1069
|
-
status:
|
|
1057
|
+
status: 403;
|
|
1070
1058
|
input: {
|
|
1071
1059
|
param: {
|
|
1072
1060
|
keyId: string;
|
|
@@ -1076,14 +1064,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1076
1064
|
} | {
|
|
1077
1065
|
output: {
|
|
1078
1066
|
error: {
|
|
1079
|
-
code: "
|
|
1067
|
+
code: "api_key_limit_reached";
|
|
1080
1068
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1081
1069
|
message: string;
|
|
1082
1070
|
};
|
|
1083
1071
|
requestId: string;
|
|
1084
1072
|
};
|
|
1085
1073
|
outputFormat: "json";
|
|
1086
|
-
status:
|
|
1074
|
+
status: 409;
|
|
1087
1075
|
input: {
|
|
1088
1076
|
param: {
|
|
1089
1077
|
keyId: string;
|
|
@@ -1093,14 +1081,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1093
1081
|
} | {
|
|
1094
1082
|
output: {
|
|
1095
1083
|
error: {
|
|
1096
|
-
code: "
|
|
1084
|
+
code: "organization_not_found";
|
|
1097
1085
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1098
1086
|
message: string;
|
|
1099
1087
|
};
|
|
1100
1088
|
requestId: string;
|
|
1101
1089
|
};
|
|
1102
1090
|
outputFormat: "json";
|
|
1103
|
-
status:
|
|
1091
|
+
status: 404;
|
|
1104
1092
|
input: {
|
|
1105
1093
|
param: {
|
|
1106
1094
|
keyId: string;
|
|
@@ -1110,27 +1098,35 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1110
1098
|
} | {
|
|
1111
1099
|
output: {
|
|
1112
1100
|
error: {
|
|
1113
|
-
code: "
|
|
1101
|
+
code: "api_key_not_found";
|
|
1114
1102
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1115
1103
|
message: string;
|
|
1116
1104
|
};
|
|
1117
1105
|
requestId: string;
|
|
1118
1106
|
};
|
|
1119
1107
|
outputFormat: "json";
|
|
1120
|
-
status:
|
|
1108
|
+
status: 404;
|
|
1121
1109
|
input: {
|
|
1122
1110
|
param: {
|
|
1123
1111
|
keyId: string;
|
|
1124
1112
|
orgId: string;
|
|
1125
1113
|
};
|
|
1126
1114
|
};
|
|
1127
|
-
}
|
|
1128
|
-
};
|
|
1129
|
-
} & {
|
|
1130
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1131
|
-
$delete: {
|
|
1115
|
+
} | {
|
|
1132
1116
|
output: {
|
|
1117
|
+
allowedIps: readonly string[];
|
|
1118
|
+
createdAt: string;
|
|
1119
|
+
createdBy?: string | undefined;
|
|
1120
|
+
environment: "production" | "sandbox";
|
|
1121
|
+
expiresAt?: string | undefined;
|
|
1133
1122
|
id: string;
|
|
1123
|
+
lastUsedAt?: string | undefined;
|
|
1124
|
+
name?: string | undefined;
|
|
1125
|
+
orgId: string;
|
|
1126
|
+
projectId?: string | undefined;
|
|
1127
|
+
scopes: string[];
|
|
1128
|
+
tokenLast4: string;
|
|
1129
|
+
token: string;
|
|
1134
1130
|
};
|
|
1135
1131
|
outputFormat: "json";
|
|
1136
1132
|
status: 200;
|
|
@@ -1140,7 +1136,11 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1140
1136
|
orgId: string;
|
|
1141
1137
|
};
|
|
1142
1138
|
};
|
|
1143
|
-
}
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
} & {
|
|
1142
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1143
|
+
$delete: {
|
|
1144
1144
|
output: {
|
|
1145
1145
|
error: {
|
|
1146
1146
|
code: "api_key_malformed";
|
|
@@ -1160,14 +1160,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1160
1160
|
} | {
|
|
1161
1161
|
output: {
|
|
1162
1162
|
error: {
|
|
1163
|
-
code: "
|
|
1163
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1164
1164
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1165
1165
|
message: string;
|
|
1166
1166
|
};
|
|
1167
1167
|
requestId: string;
|
|
1168
1168
|
};
|
|
1169
1169
|
outputFormat: "json";
|
|
1170
|
-
status:
|
|
1170
|
+
status: 401;
|
|
1171
1171
|
input: {
|
|
1172
1172
|
param: {
|
|
1173
1173
|
keyId: string;
|
|
@@ -1177,14 +1177,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1177
1177
|
} | {
|
|
1178
1178
|
output: {
|
|
1179
1179
|
error: {
|
|
1180
|
-
code: "
|
|
1180
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1181
1181
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1182
1182
|
message: string;
|
|
1183
1183
|
};
|
|
1184
1184
|
requestId: string;
|
|
1185
1185
|
};
|
|
1186
1186
|
outputFormat: "json";
|
|
1187
|
-
status:
|
|
1187
|
+
status: 403;
|
|
1188
1188
|
input: {
|
|
1189
1189
|
param: {
|
|
1190
1190
|
keyId: string;
|
|
@@ -1194,14 +1194,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1194
1194
|
} | {
|
|
1195
1195
|
output: {
|
|
1196
1196
|
error: {
|
|
1197
|
-
code: "
|
|
1197
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1198
1198
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1199
1199
|
message: string;
|
|
1200
1200
|
};
|
|
1201
1201
|
requestId: string;
|
|
1202
1202
|
};
|
|
1203
1203
|
outputFormat: "json";
|
|
1204
|
-
status:
|
|
1204
|
+
status: 429;
|
|
1205
1205
|
input: {
|
|
1206
1206
|
param: {
|
|
1207
1207
|
keyId: string;
|
|
@@ -1211,14 +1211,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1211
1211
|
} | {
|
|
1212
1212
|
output: {
|
|
1213
1213
|
error: {
|
|
1214
|
-
code: "
|
|
1214
|
+
code: "upstream_error";
|
|
1215
1215
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1216
1216
|
message: string;
|
|
1217
1217
|
};
|
|
1218
1218
|
requestId: string;
|
|
1219
1219
|
};
|
|
1220
1220
|
outputFormat: "json";
|
|
1221
|
-
status:
|
|
1221
|
+
status: 502;
|
|
1222
1222
|
input: {
|
|
1223
1223
|
param: {
|
|
1224
1224
|
keyId: string;
|
|
@@ -1228,14 +1228,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1228
1228
|
} | {
|
|
1229
1229
|
output: {
|
|
1230
1230
|
error: {
|
|
1231
|
-
code: "
|
|
1231
|
+
code: "param_invalid";
|
|
1232
1232
|
details?: readonly Response.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
|
keyId: string;
|
|
@@ -1245,14 +1245,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1245
1245
|
} | {
|
|
1246
1246
|
output: {
|
|
1247
1247
|
error: {
|
|
1248
|
-
code: "
|
|
1248
|
+
code: "forbidden";
|
|
1249
1249
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1250
1250
|
message: string;
|
|
1251
1251
|
};
|
|
1252
1252
|
requestId: string;
|
|
1253
1253
|
};
|
|
1254
1254
|
outputFormat: "json";
|
|
1255
|
-
status:
|
|
1255
|
+
status: 403;
|
|
1256
1256
|
input: {
|
|
1257
1257
|
param: {
|
|
1258
1258
|
keyId: string;
|
|
@@ -1262,14 +1262,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1262
1262
|
} | {
|
|
1263
1263
|
output: {
|
|
1264
1264
|
error: {
|
|
1265
|
-
code: "
|
|
1265
|
+
code: "api_keys_not_enabled";
|
|
1266
1266
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1267
1267
|
message: string;
|
|
1268
1268
|
};
|
|
1269
1269
|
requestId: string;
|
|
1270
1270
|
};
|
|
1271
1271
|
outputFormat: "json";
|
|
1272
|
-
status:
|
|
1272
|
+
status: 404;
|
|
1273
1273
|
input: {
|
|
1274
1274
|
param: {
|
|
1275
1275
|
keyId: string;
|
|
@@ -1279,38 +1279,23 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1279
1279
|
} | {
|
|
1280
1280
|
output: {
|
|
1281
1281
|
error: {
|
|
1282
|
-
code: "
|
|
1282
|
+
code: "api_key_not_found";
|
|
1283
1283
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1284
1284
|
message: string;
|
|
1285
1285
|
};
|
|
1286
1286
|
requestId: string;
|
|
1287
1287
|
};
|
|
1288
1288
|
outputFormat: "json";
|
|
1289
|
-
status:
|
|
1289
|
+
status: 404;
|
|
1290
1290
|
input: {
|
|
1291
1291
|
param: {
|
|
1292
1292
|
keyId: string;
|
|
1293
1293
|
orgId: string;
|
|
1294
1294
|
};
|
|
1295
1295
|
};
|
|
1296
|
-
}
|
|
1297
|
-
};
|
|
1298
|
-
} & {
|
|
1299
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1300
|
-
$patch: {
|
|
1296
|
+
} | {
|
|
1301
1297
|
output: {
|
|
1302
|
-
allowedIps: readonly string[];
|
|
1303
|
-
createdAt: string;
|
|
1304
|
-
createdBy?: string | undefined;
|
|
1305
|
-
environment: "production" | "sandbox";
|
|
1306
|
-
expiresAt?: string | undefined;
|
|
1307
1298
|
id: string;
|
|
1308
|
-
lastUsedAt?: string | undefined;
|
|
1309
|
-
name?: string | undefined;
|
|
1310
|
-
orgId: string;
|
|
1311
|
-
projectId?: string | undefined;
|
|
1312
|
-
scopes: string[];
|
|
1313
|
-
tokenLast4: string;
|
|
1314
1299
|
};
|
|
1315
1300
|
outputFormat: "json";
|
|
1316
1301
|
status: 200;
|
|
@@ -1318,14 +1303,13 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1318
1303
|
param: {
|
|
1319
1304
|
keyId: string;
|
|
1320
1305
|
orgId: string;
|
|
1321
|
-
projectId: string;
|
|
1322
|
-
};
|
|
1323
|
-
} & {
|
|
1324
|
-
json: {
|
|
1325
|
-
allowedIps: readonly string[];
|
|
1326
1306
|
};
|
|
1327
1307
|
};
|
|
1328
|
-
}
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
} & {
|
|
1311
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1312
|
+
$patch: {
|
|
1329
1313
|
output: {
|
|
1330
1314
|
error: {
|
|
1331
1315
|
code: "api_key_malformed";
|
|
@@ -1350,14 +1334,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1350
1334
|
} | {
|
|
1351
1335
|
output: {
|
|
1352
1336
|
error: {
|
|
1353
|
-
code: "
|
|
1337
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1354
1338
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1355
1339
|
message: string;
|
|
1356
1340
|
};
|
|
1357
1341
|
requestId: string;
|
|
1358
1342
|
};
|
|
1359
1343
|
outputFormat: "json";
|
|
1360
|
-
status:
|
|
1344
|
+
status: 401;
|
|
1361
1345
|
input: {
|
|
1362
1346
|
param: {
|
|
1363
1347
|
keyId: string;
|
|
@@ -1372,14 +1356,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1372
1356
|
} | {
|
|
1373
1357
|
output: {
|
|
1374
1358
|
error: {
|
|
1375
|
-
code: "
|
|
1359
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1376
1360
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1377
1361
|
message: string;
|
|
1378
1362
|
};
|
|
1379
1363
|
requestId: string;
|
|
1380
1364
|
};
|
|
1381
1365
|
outputFormat: "json";
|
|
1382
|
-
status:
|
|
1366
|
+
status: 403;
|
|
1383
1367
|
input: {
|
|
1384
1368
|
param: {
|
|
1385
1369
|
keyId: string;
|
|
@@ -1394,14 +1378,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1394
1378
|
} | {
|
|
1395
1379
|
output: {
|
|
1396
1380
|
error: {
|
|
1397
|
-
code: "
|
|
1381
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1398
1382
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1399
1383
|
message: string;
|
|
1400
1384
|
};
|
|
1401
1385
|
requestId: string;
|
|
1402
1386
|
};
|
|
1403
1387
|
outputFormat: "json";
|
|
1404
|
-
status:
|
|
1388
|
+
status: 429;
|
|
1405
1389
|
input: {
|
|
1406
1390
|
param: {
|
|
1407
1391
|
keyId: string;
|
|
@@ -1416,14 +1400,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1416
1400
|
} | {
|
|
1417
1401
|
output: {
|
|
1418
1402
|
error: {
|
|
1419
|
-
code: "
|
|
1403
|
+
code: "upstream_error";
|
|
1420
1404
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1421
1405
|
message: string;
|
|
1422
1406
|
};
|
|
1423
1407
|
requestId: string;
|
|
1424
1408
|
};
|
|
1425
1409
|
outputFormat: "json";
|
|
1426
|
-
status:
|
|
1410
|
+
status: 502;
|
|
1427
1411
|
input: {
|
|
1428
1412
|
param: {
|
|
1429
1413
|
keyId: string;
|
|
@@ -1438,14 +1422,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1438
1422
|
} | {
|
|
1439
1423
|
output: {
|
|
1440
1424
|
error: {
|
|
1441
|
-
code: "
|
|
1425
|
+
code: "body_invalid";
|
|
1442
1426
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1443
1427
|
message: string;
|
|
1444
1428
|
};
|
|
1445
1429
|
requestId: string;
|
|
1446
1430
|
};
|
|
1447
1431
|
outputFormat: "json";
|
|
1448
|
-
status:
|
|
1432
|
+
status: 400;
|
|
1449
1433
|
input: {
|
|
1450
1434
|
param: {
|
|
1451
1435
|
keyId: string;
|
|
@@ -1460,14 +1444,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1460
1444
|
} | {
|
|
1461
1445
|
output: {
|
|
1462
1446
|
error: {
|
|
1463
|
-
code: "
|
|
1447
|
+
code: "param_invalid";
|
|
1464
1448
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1465
1449
|
message: string;
|
|
1466
1450
|
};
|
|
1467
1451
|
requestId: string;
|
|
1468
1452
|
};
|
|
1469
1453
|
outputFormat: "json";
|
|
1470
|
-
status:
|
|
1454
|
+
status: 400;
|
|
1471
1455
|
input: {
|
|
1472
1456
|
param: {
|
|
1473
1457
|
keyId: string;
|
|
@@ -1482,14 +1466,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1482
1466
|
} | {
|
|
1483
1467
|
output: {
|
|
1484
1468
|
error: {
|
|
1485
|
-
code: "
|
|
1469
|
+
code: "forbidden";
|
|
1486
1470
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1487
1471
|
message: string;
|
|
1488
1472
|
};
|
|
1489
1473
|
requestId: string;
|
|
1490
1474
|
};
|
|
1491
1475
|
outputFormat: "json";
|
|
1492
|
-
status:
|
|
1476
|
+
status: 403;
|
|
1493
1477
|
input: {
|
|
1494
1478
|
param: {
|
|
1495
1479
|
keyId: string;
|
|
@@ -1504,7 +1488,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1504
1488
|
} | {
|
|
1505
1489
|
output: {
|
|
1506
1490
|
error: {
|
|
1507
|
-
code: "
|
|
1491
|
+
code: "organization_not_found" | "project_not_found";
|
|
1508
1492
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1509
1493
|
message: string;
|
|
1510
1494
|
};
|
|
@@ -1526,14 +1510,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1526
1510
|
} | {
|
|
1527
1511
|
output: {
|
|
1528
1512
|
error: {
|
|
1529
|
-
code: "
|
|
1513
|
+
code: "api_keys_not_enabled";
|
|
1530
1514
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1531
1515
|
message: string;
|
|
1532
1516
|
};
|
|
1533
1517
|
requestId: string;
|
|
1534
1518
|
};
|
|
1535
1519
|
outputFormat: "json";
|
|
1536
|
-
status:
|
|
1520
|
+
status: 404;
|
|
1537
1521
|
input: {
|
|
1538
1522
|
param: {
|
|
1539
1523
|
keyId: string;
|
|
@@ -1548,14 +1532,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1548
1532
|
} | {
|
|
1549
1533
|
output: {
|
|
1550
1534
|
error: {
|
|
1551
|
-
code: "
|
|
1535
|
+
code: "api_key_not_found";
|
|
1552
1536
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1553
1537
|
message: string;
|
|
1554
1538
|
};
|
|
1555
1539
|
requestId: string;
|
|
1556
1540
|
};
|
|
1557
1541
|
outputFormat: "json";
|
|
1558
|
-
status:
|
|
1542
|
+
status: 404;
|
|
1559
1543
|
input: {
|
|
1560
1544
|
param: {
|
|
1561
1545
|
keyId: string;
|
|
@@ -1567,11 +1551,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1567
1551
|
allowedIps: readonly string[];
|
|
1568
1552
|
};
|
|
1569
1553
|
};
|
|
1570
|
-
}
|
|
1571
|
-
};
|
|
1572
|
-
} & {
|
|
1573
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}/rotate": {
|
|
1574
|
-
$post: {
|
|
1554
|
+
} | {
|
|
1575
1555
|
output: {
|
|
1576
1556
|
allowedIps: readonly string[];
|
|
1577
1557
|
createdAt: string;
|
|
@@ -1585,7 +1565,6 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1585
1565
|
projectId?: string | undefined;
|
|
1586
1566
|
scopes: string[];
|
|
1587
1567
|
tokenLast4: string;
|
|
1588
|
-
token: string;
|
|
1589
1568
|
};
|
|
1590
1569
|
outputFormat: "json";
|
|
1591
1570
|
status: 200;
|
|
@@ -1595,8 +1574,16 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1595
1574
|
orgId: string;
|
|
1596
1575
|
projectId: string;
|
|
1597
1576
|
};
|
|
1577
|
+
} & {
|
|
1578
|
+
json: {
|
|
1579
|
+
allowedIps: readonly string[];
|
|
1580
|
+
};
|
|
1598
1581
|
};
|
|
1599
|
-
}
|
|
1582
|
+
};
|
|
1583
|
+
};
|
|
1584
|
+
} & {
|
|
1585
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}/rotate": {
|
|
1586
|
+
$post: {
|
|
1600
1587
|
output: {
|
|
1601
1588
|
error: {
|
|
1602
1589
|
code: "api_key_malformed";
|
|
@@ -1617,14 +1604,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1617
1604
|
} | {
|
|
1618
1605
|
output: {
|
|
1619
1606
|
error: {
|
|
1620
|
-
code: "
|
|
1607
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1621
1608
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1622
1609
|
message: string;
|
|
1623
1610
|
};
|
|
1624
1611
|
requestId: string;
|
|
1625
1612
|
};
|
|
1626
1613
|
outputFormat: "json";
|
|
1627
|
-
status:
|
|
1614
|
+
status: 401;
|
|
1628
1615
|
input: {
|
|
1629
1616
|
param: {
|
|
1630
1617
|
keyId: string;
|
|
@@ -1635,14 +1622,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1635
1622
|
} | {
|
|
1636
1623
|
output: {
|
|
1637
1624
|
error: {
|
|
1638
|
-
code: "
|
|
1625
|
+
code: "upstream_error";
|
|
1639
1626
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1640
1627
|
message: string;
|
|
1641
1628
|
};
|
|
1642
1629
|
requestId: string;
|
|
1643
1630
|
};
|
|
1644
1631
|
outputFormat: "json";
|
|
1645
|
-
status:
|
|
1632
|
+
status: 502;
|
|
1646
1633
|
input: {
|
|
1647
1634
|
param: {
|
|
1648
1635
|
keyId: string;
|
|
@@ -1653,14 +1640,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1653
1640
|
} | {
|
|
1654
1641
|
output: {
|
|
1655
1642
|
error: {
|
|
1656
|
-
code: "
|
|
1643
|
+
code: "param_invalid";
|
|
1657
1644
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1658
1645
|
message: string;
|
|
1659
1646
|
};
|
|
1660
1647
|
requestId: string;
|
|
1661
1648
|
};
|
|
1662
1649
|
outputFormat: "json";
|
|
1663
|
-
status:
|
|
1650
|
+
status: 400;
|
|
1664
1651
|
input: {
|
|
1665
1652
|
param: {
|
|
1666
1653
|
keyId: string;
|
|
@@ -1671,7 +1658,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1671
1658
|
} | {
|
|
1672
1659
|
output: {
|
|
1673
1660
|
error: {
|
|
1674
|
-
code: "
|
|
1661
|
+
code: "forbidden";
|
|
1675
1662
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1676
1663
|
message: string;
|
|
1677
1664
|
};
|
|
@@ -1725,14 +1712,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1725
1712
|
} | {
|
|
1726
1713
|
output: {
|
|
1727
1714
|
error: {
|
|
1728
|
-
code: "
|
|
1715
|
+
code: "scope_not_issuable";
|
|
1729
1716
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1730
1717
|
message: string;
|
|
1731
1718
|
};
|
|
1732
1719
|
requestId: string;
|
|
1733
1720
|
};
|
|
1734
1721
|
outputFormat: "json";
|
|
1735
|
-
status:
|
|
1722
|
+
status: 403;
|
|
1736
1723
|
input: {
|
|
1737
1724
|
param: {
|
|
1738
1725
|
keyId: string;
|
|
@@ -1761,14 +1748,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1761
1748
|
} | {
|
|
1762
1749
|
output: {
|
|
1763
1750
|
error: {
|
|
1764
|
-
code: "
|
|
1751
|
+
code: "api_key_not_found";
|
|
1765
1752
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1766
1753
|
message: string;
|
|
1767
1754
|
};
|
|
1768
1755
|
requestId: string;
|
|
1769
1756
|
};
|
|
1770
1757
|
outputFormat: "json";
|
|
1771
|
-
status:
|
|
1758
|
+
status: 404;
|
|
1772
1759
|
input: {
|
|
1773
1760
|
param: {
|
|
1774
1761
|
keyId: string;
|
|
@@ -1776,13 +1763,21 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1776
1763
|
projectId: string;
|
|
1777
1764
|
};
|
|
1778
1765
|
};
|
|
1779
|
-
}
|
|
1780
|
-
};
|
|
1781
|
-
} & {
|
|
1782
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1783
|
-
$delete: {
|
|
1766
|
+
} | {
|
|
1784
1767
|
output: {
|
|
1768
|
+
allowedIps: readonly string[];
|
|
1769
|
+
createdAt: string;
|
|
1770
|
+
createdBy?: string | undefined;
|
|
1771
|
+
environment: "production" | "sandbox";
|
|
1772
|
+
expiresAt?: string | undefined;
|
|
1785
1773
|
id: string;
|
|
1774
|
+
lastUsedAt?: string | undefined;
|
|
1775
|
+
name?: string | undefined;
|
|
1776
|
+
orgId: string;
|
|
1777
|
+
projectId?: string | undefined;
|
|
1778
|
+
scopes: string[];
|
|
1779
|
+
tokenLast4: string;
|
|
1780
|
+
token: string;
|
|
1786
1781
|
};
|
|
1787
1782
|
outputFormat: "json";
|
|
1788
1783
|
status: 200;
|
|
@@ -1793,7 +1788,11 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1793
1788
|
projectId: string;
|
|
1794
1789
|
};
|
|
1795
1790
|
};
|
|
1796
|
-
}
|
|
1791
|
+
};
|
|
1792
|
+
};
|
|
1793
|
+
} & {
|
|
1794
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1795
|
+
$delete: {
|
|
1797
1796
|
output: {
|
|
1798
1797
|
error: {
|
|
1799
1798
|
code: "api_key_malformed";
|
|
@@ -1814,14 +1813,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1814
1813
|
} | {
|
|
1815
1814
|
output: {
|
|
1816
1815
|
error: {
|
|
1817
|
-
code: "
|
|
1816
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1818
1817
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1819
1818
|
message: string;
|
|
1820
1819
|
};
|
|
1821
1820
|
requestId: string;
|
|
1822
1821
|
};
|
|
1823
1822
|
outputFormat: "json";
|
|
1824
|
-
status:
|
|
1823
|
+
status: 401;
|
|
1825
1824
|
input: {
|
|
1826
1825
|
param: {
|
|
1827
1826
|
keyId: string;
|
|
@@ -1832,14 +1831,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1832
1831
|
} | {
|
|
1833
1832
|
output: {
|
|
1834
1833
|
error: {
|
|
1835
|
-
code: "
|
|
1834
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1836
1835
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1837
1836
|
message: string;
|
|
1838
1837
|
};
|
|
1839
1838
|
requestId: string;
|
|
1840
1839
|
};
|
|
1841
1840
|
outputFormat: "json";
|
|
1842
|
-
status:
|
|
1841
|
+
status: 403;
|
|
1843
1842
|
input: {
|
|
1844
1843
|
param: {
|
|
1845
1844
|
keyId: string;
|
|
@@ -1850,14 +1849,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1850
1849
|
} | {
|
|
1851
1850
|
output: {
|
|
1852
1851
|
error: {
|
|
1853
|
-
code: "
|
|
1852
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1854
1853
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1855
1854
|
message: string;
|
|
1856
1855
|
};
|
|
1857
1856
|
requestId: string;
|
|
1858
1857
|
};
|
|
1859
1858
|
outputFormat: "json";
|
|
1860
|
-
status:
|
|
1859
|
+
status: 429;
|
|
1861
1860
|
input: {
|
|
1862
1861
|
param: {
|
|
1863
1862
|
keyId: string;
|
|
@@ -1868,14 +1867,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1868
1867
|
} | {
|
|
1869
1868
|
output: {
|
|
1870
1869
|
error: {
|
|
1871
|
-
code: "
|
|
1870
|
+
code: "upstream_error";
|
|
1872
1871
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1873
1872
|
message: string;
|
|
1874
1873
|
};
|
|
1875
1874
|
requestId: string;
|
|
1876
1875
|
};
|
|
1877
1876
|
outputFormat: "json";
|
|
1878
|
-
status:
|
|
1877
|
+
status: 502;
|
|
1879
1878
|
input: {
|
|
1880
1879
|
param: {
|
|
1881
1880
|
keyId: string;
|
|
@@ -1886,14 +1885,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1886
1885
|
} | {
|
|
1887
1886
|
output: {
|
|
1888
1887
|
error: {
|
|
1889
|
-
code: "
|
|
1888
|
+
code: "param_invalid";
|
|
1890
1889
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1891
1890
|
message: string;
|
|
1892
1891
|
};
|
|
1893
1892
|
requestId: string;
|
|
1894
1893
|
};
|
|
1895
1894
|
outputFormat: "json";
|
|
1896
|
-
status:
|
|
1895
|
+
status: 400;
|
|
1897
1896
|
input: {
|
|
1898
1897
|
param: {
|
|
1899
1898
|
keyId: string;
|
|
@@ -1904,14 +1903,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1904
1903
|
} | {
|
|
1905
1904
|
output: {
|
|
1906
1905
|
error: {
|
|
1907
|
-
code: "
|
|
1906
|
+
code: "forbidden";
|
|
1908
1907
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1909
1908
|
message: string;
|
|
1910
1909
|
};
|
|
1911
1910
|
requestId: string;
|
|
1912
1911
|
};
|
|
1913
1912
|
outputFormat: "json";
|
|
1914
|
-
status:
|
|
1913
|
+
status: 403;
|
|
1915
1914
|
input: {
|
|
1916
1915
|
param: {
|
|
1917
1916
|
keyId: string;
|
|
@@ -1922,7 +1921,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1922
1921
|
} | {
|
|
1923
1922
|
output: {
|
|
1924
1923
|
error: {
|
|
1925
|
-
code: "
|
|
1924
|
+
code: "organization_not_found" | "project_not_found";
|
|
1926
1925
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1927
1926
|
message: string;
|
|
1928
1927
|
};
|
|
@@ -1940,14 +1939,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1940
1939
|
} | {
|
|
1941
1940
|
output: {
|
|
1942
1941
|
error: {
|
|
1943
|
-
code: "
|
|
1942
|
+
code: "api_keys_not_enabled";
|
|
1944
1943
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1945
1944
|
message: string;
|
|
1946
1945
|
};
|
|
1947
1946
|
requestId: string;
|
|
1948
1947
|
};
|
|
1949
1948
|
outputFormat: "json";
|
|
1950
|
-
status:
|
|
1949
|
+
status: 404;
|
|
1951
1950
|
input: {
|
|
1952
1951
|
param: {
|
|
1953
1952
|
keyId: string;
|
|
@@ -1958,14 +1957,27 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1958
1957
|
} | {
|
|
1959
1958
|
output: {
|
|
1960
1959
|
error: {
|
|
1961
|
-
code: "
|
|
1960
|
+
code: "api_key_not_found";
|
|
1962
1961
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1963
1962
|
message: string;
|
|
1964
1963
|
};
|
|
1965
1964
|
requestId: string;
|
|
1966
1965
|
};
|
|
1967
1966
|
outputFormat: "json";
|
|
1968
|
-
status:
|
|
1967
|
+
status: 404;
|
|
1968
|
+
input: {
|
|
1969
|
+
param: {
|
|
1970
|
+
keyId: string;
|
|
1971
|
+
orgId: string;
|
|
1972
|
+
projectId: string;
|
|
1973
|
+
};
|
|
1974
|
+
};
|
|
1975
|
+
} | {
|
|
1976
|
+
output: {
|
|
1977
|
+
id: string;
|
|
1978
|
+
};
|
|
1979
|
+
outputFormat: "json";
|
|
1980
|
+
status: 200;
|
|
1969
1981
|
input: {
|
|
1970
1982
|
param: {
|
|
1971
1983
|
keyId: string;
|