tapimo 0.15.1 → 0.18.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 +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
|
@@ -1248,85 +1248,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1248
1248
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks": {
|
|
1249
1249
|
$post: {
|
|
1250
1250
|
output: {
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
expiresAt?: string | undefined;
|
|
1256
|
-
failureCount: number;
|
|
1257
|
-
filters: {
|
|
1258
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1259
|
-
};
|
|
1260
|
-
id: string;
|
|
1261
|
-
lastDeliveryAt?: string | undefined;
|
|
1262
|
-
status: "active" | "disabled" | "paused";
|
|
1263
|
-
updatedAt: string;
|
|
1264
|
-
context?: {
|
|
1265
|
-
description?: string | undefined;
|
|
1266
|
-
metadata?: {
|
|
1267
|
-
[x: string]: string;
|
|
1268
|
-
} | undefined;
|
|
1269
|
-
title?: string | undefined;
|
|
1270
|
-
} | undefined;
|
|
1271
|
-
destination: {
|
|
1272
|
-
type: "url";
|
|
1273
|
-
url: string;
|
|
1274
|
-
};
|
|
1275
|
-
secret: string;
|
|
1276
|
-
} | {
|
|
1277
|
-
chainId: number;
|
|
1278
|
-
createdAt: string;
|
|
1279
|
-
environment?: "production" | "sandbox" | undefined;
|
|
1280
|
-
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
1281
|
-
expiresAt?: string | undefined;
|
|
1282
|
-
failureCount: number;
|
|
1283
|
-
filters: {
|
|
1284
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1285
|
-
};
|
|
1286
|
-
id: string;
|
|
1287
|
-
lastDeliveryAt?: string | undefined;
|
|
1288
|
-
status: "active" | "disabled" | "paused";
|
|
1289
|
-
updatedAt: string;
|
|
1290
|
-
context?: {
|
|
1291
|
-
description?: string | undefined;
|
|
1292
|
-
metadata?: {
|
|
1293
|
-
[x: string]: string;
|
|
1294
|
-
} | undefined;
|
|
1295
|
-
title?: string | undefined;
|
|
1296
|
-
} | undefined;
|
|
1297
|
-
destination: {
|
|
1298
|
-
type: "slack";
|
|
1299
|
-
url: "https://hooks.slack.com/…";
|
|
1300
|
-
};
|
|
1301
|
-
} | {
|
|
1302
|
-
chainId: number;
|
|
1303
|
-
createdAt: string;
|
|
1304
|
-
environment?: "production" | "sandbox" | undefined;
|
|
1305
|
-
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
1306
|
-
expiresAt?: string | undefined;
|
|
1307
|
-
failureCount: number;
|
|
1308
|
-
filters: {
|
|
1309
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1310
|
-
};
|
|
1311
|
-
id: string;
|
|
1312
|
-
lastDeliveryAt?: string | undefined;
|
|
1313
|
-
status: "active" | "disabled" | "paused";
|
|
1314
|
-
updatedAt: string;
|
|
1315
|
-
context?: {
|
|
1316
|
-
description?: string | undefined;
|
|
1317
|
-
metadata?: {
|
|
1318
|
-
[x: string]: string;
|
|
1319
|
-
} | undefined;
|
|
1320
|
-
title?: string | undefined;
|
|
1321
|
-
} | undefined;
|
|
1322
|
-
destination: {
|
|
1323
|
-
token: "[redacted]";
|
|
1324
|
-
type: "betterstack";
|
|
1325
|
-
url: string;
|
|
1251
|
+
error: {
|
|
1252
|
+
code: "chain_id_unsupported";
|
|
1253
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1254
|
+
message: string;
|
|
1326
1255
|
};
|
|
1256
|
+
requestId: string;
|
|
1327
1257
|
};
|
|
1328
1258
|
outputFormat: "json";
|
|
1329
|
-
status:
|
|
1259
|
+
status: 400;
|
|
1330
1260
|
input: {
|
|
1331
1261
|
param: {
|
|
1332
1262
|
orgId: string;
|
|
@@ -1700,14 +1630,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1700
1630
|
} | {
|
|
1701
1631
|
output: {
|
|
1702
1632
|
error: {
|
|
1703
|
-
code: "
|
|
1633
|
+
code: "upstream_error";
|
|
1704
1634
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1705
1635
|
message: string;
|
|
1706
1636
|
};
|
|
1707
1637
|
requestId: string;
|
|
1708
1638
|
};
|
|
1709
1639
|
outputFormat: "json";
|
|
1710
|
-
status:
|
|
1640
|
+
status: 502;
|
|
1711
1641
|
input: {
|
|
1712
1642
|
param: {
|
|
1713
1643
|
orgId: string;
|
|
@@ -2081,7 +2011,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2081
2011
|
} | {
|
|
2082
2012
|
output: {
|
|
2083
2013
|
error: {
|
|
2084
|
-
code: "
|
|
2014
|
+
code: "api_key_malformed";
|
|
2085
2015
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2086
2016
|
message: string;
|
|
2087
2017
|
};
|
|
@@ -2462,14 +2392,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2462
2392
|
} | {
|
|
2463
2393
|
output: {
|
|
2464
2394
|
error: {
|
|
2465
|
-
code: "
|
|
2395
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2466
2396
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2467
2397
|
message: string;
|
|
2468
2398
|
};
|
|
2469
2399
|
requestId: string;
|
|
2470
2400
|
};
|
|
2471
2401
|
outputFormat: "json";
|
|
2472
|
-
status:
|
|
2402
|
+
status: 401;
|
|
2473
2403
|
input: {
|
|
2474
2404
|
param: {
|
|
2475
2405
|
orgId: string;
|
|
@@ -3224,14 +3154,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3224
3154
|
} | {
|
|
3225
3155
|
output: {
|
|
3226
3156
|
error: {
|
|
3227
|
-
code: "
|
|
3157
|
+
code: "webhooks_not_enabled";
|
|
3228
3158
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3229
3159
|
message: string;
|
|
3230
3160
|
};
|
|
3231
3161
|
requestId: string;
|
|
3232
3162
|
};
|
|
3233
3163
|
outputFormat: "json";
|
|
3234
|
-
status:
|
|
3164
|
+
status: 404;
|
|
3235
3165
|
input: {
|
|
3236
3166
|
param: {
|
|
3237
3167
|
orgId: string;
|
|
@@ -3605,7 +3535,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3605
3535
|
} | {
|
|
3606
3536
|
output: {
|
|
3607
3537
|
error: {
|
|
3608
|
-
code: "
|
|
3538
|
+
code: "event_type_unsupported";
|
|
3609
3539
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3610
3540
|
message: string;
|
|
3611
3541
|
};
|
|
@@ -3986,7 +3916,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3986
3916
|
} | {
|
|
3987
3917
|
output: {
|
|
3988
3918
|
error: {
|
|
3989
|
-
code: "
|
|
3919
|
+
code: "url_invalid";
|
|
3990
3920
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3991
3921
|
message: string;
|
|
3992
3922
|
};
|
|
@@ -4367,14 +4297,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4367
4297
|
} | {
|
|
4368
4298
|
output: {
|
|
4369
4299
|
error: {
|
|
4370
|
-
code: "
|
|
4300
|
+
code: "filters_invalid";
|
|
4371
4301
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4372
4302
|
message: string;
|
|
4373
4303
|
};
|
|
4374
4304
|
requestId: string;
|
|
4375
4305
|
};
|
|
4376
4306
|
outputFormat: "json";
|
|
4377
|
-
status:
|
|
4307
|
+
status: 400;
|
|
4378
4308
|
input: {
|
|
4379
4309
|
param: {
|
|
4380
4310
|
orgId: string;
|
|
@@ -4748,7 +4678,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4748
4678
|
} | {
|
|
4749
4679
|
output: {
|
|
4750
4680
|
error: {
|
|
4751
|
-
code: "
|
|
4681
|
+
code: "limit_exceeded";
|
|
4752
4682
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4753
4683
|
message: string;
|
|
4754
4684
|
};
|
|
@@ -5129,14 +5059,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5129
5059
|
} | {
|
|
5130
5060
|
output: {
|
|
5131
5061
|
error: {
|
|
5132
|
-
code: "
|
|
5062
|
+
code: "param_invalid";
|
|
5133
5063
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5134
5064
|
message: string;
|
|
5135
5065
|
};
|
|
5136
5066
|
requestId: string;
|
|
5137
5067
|
};
|
|
5138
5068
|
outputFormat: "json";
|
|
5139
|
-
status:
|
|
5069
|
+
status: 400;
|
|
5140
5070
|
input: {
|
|
5141
5071
|
param: {
|
|
5142
5072
|
orgId: string;
|
|
@@ -5891,14 +5821,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5891
5821
|
} | {
|
|
5892
5822
|
output: {
|
|
5893
5823
|
error: {
|
|
5894
|
-
code: "
|
|
5824
|
+
code: "forbidden";
|
|
5895
5825
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5896
5826
|
message: string;
|
|
5897
5827
|
};
|
|
5898
5828
|
requestId: string;
|
|
5899
5829
|
};
|
|
5900
5830
|
outputFormat: "json";
|
|
5901
|
-
status:
|
|
5831
|
+
status: 403;
|
|
5902
5832
|
input: {
|
|
5903
5833
|
param: {
|
|
5904
5834
|
orgId: string;
|
|
@@ -6271,15 +6201,85 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6271
6201
|
};
|
|
6272
6202
|
} | {
|
|
6273
6203
|
output: {
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6204
|
+
chainId: number;
|
|
6205
|
+
createdAt: string;
|
|
6206
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6207
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6208
|
+
expiresAt?: string | undefined;
|
|
6209
|
+
failureCount: number;
|
|
6210
|
+
filters: {
|
|
6211
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
6212
|
+
};
|
|
6213
|
+
id: string;
|
|
6214
|
+
lastDeliveryAt?: string | undefined;
|
|
6215
|
+
status: "active" | "disabled" | "paused";
|
|
6216
|
+
updatedAt: string;
|
|
6217
|
+
context?: {
|
|
6218
|
+
description?: string | undefined;
|
|
6219
|
+
metadata?: {
|
|
6220
|
+
[x: string]: string;
|
|
6221
|
+
} | undefined;
|
|
6222
|
+
title?: string | undefined;
|
|
6223
|
+
} | undefined;
|
|
6224
|
+
destination: {
|
|
6225
|
+
type: "url";
|
|
6226
|
+
url: string;
|
|
6227
|
+
};
|
|
6228
|
+
secret: string;
|
|
6229
|
+
} | {
|
|
6230
|
+
chainId: number;
|
|
6231
|
+
createdAt: string;
|
|
6232
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6233
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6234
|
+
expiresAt?: string | undefined;
|
|
6235
|
+
failureCount: number;
|
|
6236
|
+
filters: {
|
|
6237
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
6238
|
+
};
|
|
6239
|
+
id: string;
|
|
6240
|
+
lastDeliveryAt?: string | undefined;
|
|
6241
|
+
status: "active" | "disabled" | "paused";
|
|
6242
|
+
updatedAt: string;
|
|
6243
|
+
context?: {
|
|
6244
|
+
description?: string | undefined;
|
|
6245
|
+
metadata?: {
|
|
6246
|
+
[x: string]: string;
|
|
6247
|
+
} | undefined;
|
|
6248
|
+
title?: string | undefined;
|
|
6249
|
+
} | undefined;
|
|
6250
|
+
destination: {
|
|
6251
|
+
type: "slack";
|
|
6252
|
+
url: "https://hooks.slack.com/…";
|
|
6253
|
+
};
|
|
6254
|
+
} | {
|
|
6255
|
+
chainId: number;
|
|
6256
|
+
createdAt: string;
|
|
6257
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6258
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6259
|
+
expiresAt?: string | undefined;
|
|
6260
|
+
failureCount: number;
|
|
6261
|
+
filters: {
|
|
6262
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
6263
|
+
};
|
|
6264
|
+
id: string;
|
|
6265
|
+
lastDeliveryAt?: string | undefined;
|
|
6266
|
+
status: "active" | "disabled" | "paused";
|
|
6267
|
+
updatedAt: string;
|
|
6268
|
+
context?: {
|
|
6269
|
+
description?: string | undefined;
|
|
6270
|
+
metadata?: {
|
|
6271
|
+
[x: string]: string;
|
|
6272
|
+
} | undefined;
|
|
6273
|
+
title?: string | undefined;
|
|
6274
|
+
} | undefined;
|
|
6275
|
+
destination: {
|
|
6276
|
+
token: "[redacted]";
|
|
6277
|
+
type: "betterstack";
|
|
6278
|
+
url: string;
|
|
6278
6279
|
};
|
|
6279
|
-
requestId: string;
|
|
6280
6280
|
};
|
|
6281
6281
|
outputFormat: "json";
|
|
6282
|
-
status:
|
|
6282
|
+
status: 200;
|
|
6283
6283
|
input: {
|
|
6284
6284
|
param: {
|
|
6285
6285
|
orgId: string;
|
|
@@ -6656,42 +6656,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6656
6656
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks": {
|
|
6657
6657
|
$get: {
|
|
6658
6658
|
output: {
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
failureCount: number;
|
|
6666
|
-
filters: {
|
|
6667
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
6668
|
-
};
|
|
6669
|
-
id: string;
|
|
6670
|
-
lastDeliveryAt?: string | undefined;
|
|
6671
|
-
status: "active" | "disabled" | "paused";
|
|
6672
|
-
updatedAt: string;
|
|
6673
|
-
context?: {
|
|
6674
|
-
description?: string | undefined;
|
|
6675
|
-
metadata?: {
|
|
6676
|
-
[x: string]: string;
|
|
6677
|
-
} | undefined;
|
|
6678
|
-
title?: string | undefined;
|
|
6679
|
-
} | undefined;
|
|
6680
|
-
destination: {
|
|
6681
|
-
type: "url";
|
|
6682
|
-
url: string;
|
|
6683
|
-
} | {
|
|
6684
|
-
type: "slack";
|
|
6685
|
-
url: "https://hooks.slack.com/…";
|
|
6686
|
-
} | {
|
|
6687
|
-
token: "[redacted]";
|
|
6688
|
-
type: "betterstack";
|
|
6689
|
-
url: string;
|
|
6690
|
-
};
|
|
6691
|
-
}[];
|
|
6659
|
+
error: {
|
|
6660
|
+
code: "upstream_error";
|
|
6661
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
6662
|
+
message: string;
|
|
6663
|
+
};
|
|
6664
|
+
requestId: string;
|
|
6692
6665
|
};
|
|
6693
6666
|
outputFormat: "json";
|
|
6694
|
-
status:
|
|
6667
|
+
status: 502;
|
|
6695
6668
|
input: {
|
|
6696
6669
|
param: {
|
|
6697
6670
|
orgId: string;
|
|
@@ -6716,14 +6689,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6716
6689
|
} | {
|
|
6717
6690
|
output: {
|
|
6718
6691
|
error: {
|
|
6719
|
-
code: "
|
|
6692
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6720
6693
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6721
6694
|
message: string;
|
|
6722
6695
|
};
|
|
6723
6696
|
requestId: string;
|
|
6724
6697
|
};
|
|
6725
6698
|
outputFormat: "json";
|
|
6726
|
-
status:
|
|
6699
|
+
status: 401;
|
|
6727
6700
|
input: {
|
|
6728
6701
|
param: {
|
|
6729
6702
|
orgId: string;
|
|
@@ -6732,14 +6705,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6732
6705
|
} | {
|
|
6733
6706
|
output: {
|
|
6734
6707
|
error: {
|
|
6735
|
-
code: "
|
|
6708
|
+
code: "webhooks_not_enabled";
|
|
6736
6709
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6737
6710
|
message: string;
|
|
6738
6711
|
};
|
|
6739
6712
|
requestId: string;
|
|
6740
6713
|
};
|
|
6741
6714
|
outputFormat: "json";
|
|
6742
|
-
status:
|
|
6715
|
+
status: 404;
|
|
6743
6716
|
input: {
|
|
6744
6717
|
param: {
|
|
6745
6718
|
orgId: string;
|
|
@@ -6748,14 +6721,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6748
6721
|
} | {
|
|
6749
6722
|
output: {
|
|
6750
6723
|
error: {
|
|
6751
|
-
code: "
|
|
6724
|
+
code: "param_invalid";
|
|
6752
6725
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6753
6726
|
message: string;
|
|
6754
6727
|
};
|
|
6755
6728
|
requestId: string;
|
|
6756
6729
|
};
|
|
6757
6730
|
outputFormat: "json";
|
|
6758
|
-
status:
|
|
6731
|
+
status: 400;
|
|
6759
6732
|
input: {
|
|
6760
6733
|
param: {
|
|
6761
6734
|
orgId: string;
|
|
@@ -6780,14 +6753,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6780
6753
|
} | {
|
|
6781
6754
|
output: {
|
|
6782
6755
|
error: {
|
|
6783
|
-
code: "
|
|
6756
|
+
code: "forbidden";
|
|
6784
6757
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6785
6758
|
message: string;
|
|
6786
6759
|
};
|
|
6787
6760
|
requestId: string;
|
|
6788
6761
|
};
|
|
6789
6762
|
outputFormat: "json";
|
|
6790
|
-
status:
|
|
6763
|
+
status: 403;
|
|
6791
6764
|
input: {
|
|
6792
6765
|
param: {
|
|
6793
6766
|
orgId: string;
|
|
@@ -6795,15 +6768,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6795
6768
|
};
|
|
6796
6769
|
} | {
|
|
6797
6770
|
output: {
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6771
|
+
data: {
|
|
6772
|
+
chainId: number;
|
|
6773
|
+
createdAt: string;
|
|
6774
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6775
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6776
|
+
expiresAt?: string | undefined;
|
|
6777
|
+
failureCount: number;
|
|
6778
|
+
filters: {
|
|
6779
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
6780
|
+
};
|
|
6781
|
+
id: string;
|
|
6782
|
+
lastDeliveryAt?: string | undefined;
|
|
6783
|
+
status: "active" | "disabled" | "paused";
|
|
6784
|
+
updatedAt: string;
|
|
6785
|
+
context?: {
|
|
6786
|
+
description?: string | undefined;
|
|
6787
|
+
metadata?: {
|
|
6788
|
+
[x: string]: string;
|
|
6789
|
+
} | undefined;
|
|
6790
|
+
title?: string | undefined;
|
|
6791
|
+
} | undefined;
|
|
6792
|
+
destination: {
|
|
6793
|
+
type: "url";
|
|
6794
|
+
url: string;
|
|
6795
|
+
} | {
|
|
6796
|
+
type: "slack";
|
|
6797
|
+
url: "https://hooks.slack.com/…";
|
|
6798
|
+
} | {
|
|
6799
|
+
token: "[redacted]";
|
|
6800
|
+
type: "betterstack";
|
|
6801
|
+
url: string;
|
|
6802
|
+
};
|
|
6803
|
+
}[];
|
|
6804
6804
|
};
|
|
6805
6805
|
outputFormat: "json";
|
|
6806
|
-
status:
|
|
6806
|
+
status: 200;
|
|
6807
6807
|
input: {
|
|
6808
6808
|
param: {
|
|
6809
6809
|
orgId: string;
|
|
@@ -6815,26 +6815,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6815
6815
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries": {
|
|
6816
6816
|
$get: {
|
|
6817
6817
|
output: {
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
requestUrl: string;
|
|
6825
|
-
responseMs?: number | undefined;
|
|
6826
|
-
responseStatus?: number | undefined;
|
|
6827
|
-
status: "failed" | "pending" | "succeeded";
|
|
6828
|
-
subscriptionId: string;
|
|
6829
|
-
}[];
|
|
6830
|
-
meta?: {
|
|
6831
|
-
totalCountCapped: boolean;
|
|
6832
|
-
totalCount: number;
|
|
6833
|
-
} | undefined;
|
|
6834
|
-
nextCursor: string | null;
|
|
6818
|
+
error: {
|
|
6819
|
+
code: "upstream_error";
|
|
6820
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
6821
|
+
message: string;
|
|
6822
|
+
};
|
|
6823
|
+
requestId: string;
|
|
6835
6824
|
};
|
|
6836
6825
|
outputFormat: "json";
|
|
6837
|
-
status:
|
|
6826
|
+
status: 502;
|
|
6838
6827
|
input: {
|
|
6839
6828
|
param: {
|
|
6840
6829
|
id: string;
|
|
@@ -6851,7 +6840,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6851
6840
|
} | {
|
|
6852
6841
|
output: {
|
|
6853
6842
|
error: {
|
|
6854
|
-
code: "
|
|
6843
|
+
code: "query_invalid";
|
|
6855
6844
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6856
6845
|
message: string;
|
|
6857
6846
|
};
|
|
@@ -6875,7 +6864,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6875
6864
|
} | {
|
|
6876
6865
|
output: {
|
|
6877
6866
|
error: {
|
|
6878
|
-
code: "
|
|
6867
|
+
code: "api_key_malformed";
|
|
6879
6868
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6880
6869
|
message: string;
|
|
6881
6870
|
};
|
|
@@ -6899,14 +6888,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6899
6888
|
} | {
|
|
6900
6889
|
output: {
|
|
6901
6890
|
error: {
|
|
6902
|
-
code: "
|
|
6891
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6903
6892
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6904
6893
|
message: string;
|
|
6905
6894
|
};
|
|
6906
6895
|
requestId: string;
|
|
6907
6896
|
};
|
|
6908
6897
|
outputFormat: "json";
|
|
6909
|
-
status:
|
|
6898
|
+
status: 401;
|
|
6910
6899
|
input: {
|
|
6911
6900
|
param: {
|
|
6912
6901
|
id: string;
|
|
@@ -6923,14 +6912,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6923
6912
|
} | {
|
|
6924
6913
|
output: {
|
|
6925
6914
|
error: {
|
|
6926
|
-
code: "
|
|
6915
|
+
code: "webhooks_not_enabled";
|
|
6927
6916
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6928
6917
|
message: string;
|
|
6929
6918
|
};
|
|
6930
6919
|
requestId: string;
|
|
6931
6920
|
};
|
|
6932
6921
|
outputFormat: "json";
|
|
6933
|
-
status:
|
|
6922
|
+
status: 404;
|
|
6934
6923
|
input: {
|
|
6935
6924
|
param: {
|
|
6936
6925
|
id: string;
|
|
@@ -6947,14 +6936,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6947
6936
|
} | {
|
|
6948
6937
|
output: {
|
|
6949
6938
|
error: {
|
|
6950
|
-
code: "
|
|
6939
|
+
code: "param_invalid";
|
|
6951
6940
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6952
6941
|
message: string;
|
|
6953
6942
|
};
|
|
6954
6943
|
requestId: string;
|
|
6955
6944
|
};
|
|
6956
6945
|
outputFormat: "json";
|
|
6957
|
-
status:
|
|
6946
|
+
status: 400;
|
|
6958
6947
|
input: {
|
|
6959
6948
|
param: {
|
|
6960
6949
|
id: string;
|
|
@@ -6971,7 +6960,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6971
6960
|
} | {
|
|
6972
6961
|
output: {
|
|
6973
6962
|
error: {
|
|
6974
|
-
code: "
|
|
6963
|
+
code: "webhook_not_found";
|
|
6975
6964
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6976
6965
|
message: string;
|
|
6977
6966
|
};
|
|
@@ -6995,7 +6984,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6995
6984
|
} | {
|
|
6996
6985
|
output: {
|
|
6997
6986
|
error: {
|
|
6998
|
-
code: "
|
|
6987
|
+
code: "organization_not_found";
|
|
6999
6988
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7000
6989
|
message: string;
|
|
7001
6990
|
};
|
|
@@ -7019,14 +7008,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7019
7008
|
} | {
|
|
7020
7009
|
output: {
|
|
7021
7010
|
error: {
|
|
7022
|
-
code: "
|
|
7011
|
+
code: "forbidden";
|
|
7023
7012
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7024
7013
|
message: string;
|
|
7025
7014
|
};
|
|
7026
7015
|
requestId: string;
|
|
7027
7016
|
};
|
|
7028
7017
|
outputFormat: "json";
|
|
7029
|
-
status:
|
|
7018
|
+
status: 403;
|
|
7030
7019
|
input: {
|
|
7031
7020
|
param: {
|
|
7032
7021
|
id: string;
|
|
@@ -7042,15 +7031,26 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7042
7031
|
};
|
|
7043
7032
|
} | {
|
|
7044
7033
|
output: {
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7034
|
+
data: {
|
|
7035
|
+
attempt: number;
|
|
7036
|
+
createdAt: string;
|
|
7037
|
+
error?: string | undefined;
|
|
7038
|
+
eventId: string;
|
|
7039
|
+
id: string;
|
|
7040
|
+
requestUrl: string;
|
|
7041
|
+
responseMs?: number | undefined;
|
|
7042
|
+
responseStatus?: number | undefined;
|
|
7043
|
+
status: "failed" | "pending" | "succeeded";
|
|
7044
|
+
subscriptionId: string;
|
|
7045
|
+
}[];
|
|
7046
|
+
meta?: {
|
|
7047
|
+
totalCountCapped: boolean;
|
|
7048
|
+
totalCount: number;
|
|
7049
|
+
} | undefined;
|
|
7050
|
+
nextCursor: string | null;
|
|
7051
7051
|
};
|
|
7052
7052
|
outputFormat: "json";
|
|
7053
|
-
status:
|
|
7053
|
+
status: 200;
|
|
7054
7054
|
input: {
|
|
7055
7055
|
param: {
|
|
7056
7056
|
id: string;
|
|
@@ -7069,6 +7069,168 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7069
7069
|
} & {
|
|
7070
7070
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId": {
|
|
7071
7071
|
$get: {
|
|
7072
|
+
output: {
|
|
7073
|
+
error: {
|
|
7074
|
+
code: "upstream_error";
|
|
7075
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7076
|
+
message: string;
|
|
7077
|
+
};
|
|
7078
|
+
requestId: string;
|
|
7079
|
+
};
|
|
7080
|
+
outputFormat: "json";
|
|
7081
|
+
status: 502;
|
|
7082
|
+
input: {
|
|
7083
|
+
param: {
|
|
7084
|
+
deliveryId: string;
|
|
7085
|
+
id: string;
|
|
7086
|
+
orgId: string;
|
|
7087
|
+
};
|
|
7088
|
+
};
|
|
7089
|
+
} | {
|
|
7090
|
+
output: {
|
|
7091
|
+
error: {
|
|
7092
|
+
code: "api_key_malformed";
|
|
7093
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7094
|
+
message: string;
|
|
7095
|
+
};
|
|
7096
|
+
requestId: string;
|
|
7097
|
+
};
|
|
7098
|
+
outputFormat: "json";
|
|
7099
|
+
status: 400;
|
|
7100
|
+
input: {
|
|
7101
|
+
param: {
|
|
7102
|
+
deliveryId: string;
|
|
7103
|
+
id: string;
|
|
7104
|
+
orgId: string;
|
|
7105
|
+
};
|
|
7106
|
+
};
|
|
7107
|
+
} | {
|
|
7108
|
+
output: {
|
|
7109
|
+
error: {
|
|
7110
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7111
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7112
|
+
message: string;
|
|
7113
|
+
};
|
|
7114
|
+
requestId: string;
|
|
7115
|
+
};
|
|
7116
|
+
outputFormat: "json";
|
|
7117
|
+
status: 401;
|
|
7118
|
+
input: {
|
|
7119
|
+
param: {
|
|
7120
|
+
deliveryId: string;
|
|
7121
|
+
id: string;
|
|
7122
|
+
orgId: string;
|
|
7123
|
+
};
|
|
7124
|
+
};
|
|
7125
|
+
} | {
|
|
7126
|
+
output: {
|
|
7127
|
+
error: {
|
|
7128
|
+
code: "webhooks_not_enabled";
|
|
7129
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7130
|
+
message: string;
|
|
7131
|
+
};
|
|
7132
|
+
requestId: string;
|
|
7133
|
+
};
|
|
7134
|
+
outputFormat: "json";
|
|
7135
|
+
status: 404;
|
|
7136
|
+
input: {
|
|
7137
|
+
param: {
|
|
7138
|
+
deliveryId: string;
|
|
7139
|
+
id: string;
|
|
7140
|
+
orgId: string;
|
|
7141
|
+
};
|
|
7142
|
+
};
|
|
7143
|
+
} | {
|
|
7144
|
+
output: {
|
|
7145
|
+
error: {
|
|
7146
|
+
code: "param_invalid";
|
|
7147
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7148
|
+
message: string;
|
|
7149
|
+
};
|
|
7150
|
+
requestId: string;
|
|
7151
|
+
};
|
|
7152
|
+
outputFormat: "json";
|
|
7153
|
+
status: 400;
|
|
7154
|
+
input: {
|
|
7155
|
+
param: {
|
|
7156
|
+
deliveryId: string;
|
|
7157
|
+
id: string;
|
|
7158
|
+
orgId: string;
|
|
7159
|
+
};
|
|
7160
|
+
};
|
|
7161
|
+
} | {
|
|
7162
|
+
output: {
|
|
7163
|
+
error: {
|
|
7164
|
+
code: "webhook_not_found";
|
|
7165
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7166
|
+
message: string;
|
|
7167
|
+
};
|
|
7168
|
+
requestId: string;
|
|
7169
|
+
};
|
|
7170
|
+
outputFormat: "json";
|
|
7171
|
+
status: 404;
|
|
7172
|
+
input: {
|
|
7173
|
+
param: {
|
|
7174
|
+
deliveryId: string;
|
|
7175
|
+
id: string;
|
|
7176
|
+
orgId: string;
|
|
7177
|
+
};
|
|
7178
|
+
};
|
|
7179
|
+
} | {
|
|
7180
|
+
output: {
|
|
7181
|
+
error: {
|
|
7182
|
+
code: "delivery_not_found";
|
|
7183
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7184
|
+
message: string;
|
|
7185
|
+
};
|
|
7186
|
+
requestId: string;
|
|
7187
|
+
};
|
|
7188
|
+
outputFormat: "json";
|
|
7189
|
+
status: 404;
|
|
7190
|
+
input: {
|
|
7191
|
+
param: {
|
|
7192
|
+
deliveryId: string;
|
|
7193
|
+
id: string;
|
|
7194
|
+
orgId: string;
|
|
7195
|
+
};
|
|
7196
|
+
};
|
|
7197
|
+
} | {
|
|
7198
|
+
output: {
|
|
7199
|
+
error: {
|
|
7200
|
+
code: "organization_not_found";
|
|
7201
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7202
|
+
message: string;
|
|
7203
|
+
};
|
|
7204
|
+
requestId: string;
|
|
7205
|
+
};
|
|
7206
|
+
outputFormat: "json";
|
|
7207
|
+
status: 404;
|
|
7208
|
+
input: {
|
|
7209
|
+
param: {
|
|
7210
|
+
deliveryId: string;
|
|
7211
|
+
id: string;
|
|
7212
|
+
orgId: string;
|
|
7213
|
+
};
|
|
7214
|
+
};
|
|
7215
|
+
} | {
|
|
7216
|
+
output: {
|
|
7217
|
+
error: {
|
|
7218
|
+
code: "forbidden";
|
|
7219
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7220
|
+
message: string;
|
|
7221
|
+
};
|
|
7222
|
+
requestId: string;
|
|
7223
|
+
};
|
|
7224
|
+
outputFormat: "json";
|
|
7225
|
+
status: 403;
|
|
7226
|
+
input: {
|
|
7227
|
+
param: {
|
|
7228
|
+
deliveryId: string;
|
|
7229
|
+
id: string;
|
|
7230
|
+
orgId: string;
|
|
7231
|
+
};
|
|
7232
|
+
};
|
|
7233
|
+
} | {
|
|
7072
7234
|
output: {
|
|
7073
7235
|
attempt: number;
|
|
7074
7236
|
createdAt: string;
|
|
@@ -7456,205 +7618,61 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7456
7618
|
baseUnits: string;
|
|
7457
7619
|
currency: string;
|
|
7458
7620
|
decimals: number;
|
|
7459
|
-
formatted: string;
|
|
7460
|
-
};
|
|
7461
|
-
sourceAmountMax?: {
|
|
7462
|
-
baseUnits: string;
|
|
7463
|
-
currency: string;
|
|
7464
|
-
decimals: number;
|
|
7465
|
-
formatted: string;
|
|
7466
|
-
} | undefined;
|
|
7467
|
-
sourceChain: {
|
|
7468
|
-
addressFormat: "base58" | "base58check" | "hex";
|
|
7469
|
-
id: string;
|
|
7470
|
-
kind: "evm" | "solana" | "tron";
|
|
7471
|
-
name: string;
|
|
7472
|
-
};
|
|
7473
|
-
sourceToken: {
|
|
7474
|
-
address: string;
|
|
7475
|
-
currency: string;
|
|
7476
|
-
decimals: number;
|
|
7477
|
-
name: string;
|
|
7478
|
-
standard: string;
|
|
7479
|
-
symbol: string;
|
|
7480
|
-
tokenKey: string;
|
|
7481
|
-
verified: boolean;
|
|
7482
|
-
};
|
|
7483
|
-
sourceTransactionHashes?: string[] | undefined;
|
|
7484
|
-
subsidize: boolean;
|
|
7485
|
-
status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
|
|
7486
|
-
statusReason?: {
|
|
7487
|
-
code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
7488
|
-
message: string;
|
|
7489
|
-
} | undefined;
|
|
7490
|
-
updatedAt: string;
|
|
7491
|
-
version: number;
|
|
7492
|
-
};
|
|
7493
|
-
type: "routes:transfer.updated";
|
|
7494
|
-
} | {
|
|
7495
|
-
chainId: number;
|
|
7496
|
-
context?: {
|
|
7497
|
-
description?: string | undefined;
|
|
7498
|
-
metadata?: {
|
|
7499
|
-
[x: string]: string;
|
|
7500
|
-
} | undefined;
|
|
7501
|
-
title?: string | undefined;
|
|
7502
|
-
} | undefined;
|
|
7503
|
-
createdAt: string;
|
|
7504
|
-
id: string;
|
|
7505
|
-
subscriptionId: string;
|
|
7506
|
-
data: {
|
|
7507
|
-
ping: true;
|
|
7508
|
-
};
|
|
7509
|
-
type: "ping";
|
|
7510
|
-
};
|
|
7511
|
-
};
|
|
7512
|
-
outputFormat: "json";
|
|
7513
|
-
status: 200;
|
|
7514
|
-
input: {
|
|
7515
|
-
param: {
|
|
7516
|
-
deliveryId: string;
|
|
7517
|
-
id: string;
|
|
7518
|
-
orgId: string;
|
|
7519
|
-
};
|
|
7520
|
-
};
|
|
7521
|
-
} | {
|
|
7522
|
-
output: {
|
|
7523
|
-
error: {
|
|
7524
|
-
code: "api_key_malformed";
|
|
7525
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7526
|
-
message: string;
|
|
7527
|
-
};
|
|
7528
|
-
requestId: string;
|
|
7529
|
-
};
|
|
7530
|
-
outputFormat: "json";
|
|
7531
|
-
status: 400;
|
|
7532
|
-
input: {
|
|
7533
|
-
param: {
|
|
7534
|
-
deliveryId: string;
|
|
7535
|
-
id: string;
|
|
7536
|
-
orgId: string;
|
|
7537
|
-
};
|
|
7538
|
-
};
|
|
7539
|
-
} | {
|
|
7540
|
-
output: {
|
|
7541
|
-
error: {
|
|
7542
|
-
code: "param_invalid";
|
|
7543
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7544
|
-
message: string;
|
|
7545
|
-
};
|
|
7546
|
-
requestId: string;
|
|
7547
|
-
};
|
|
7548
|
-
outputFormat: "json";
|
|
7549
|
-
status: 400;
|
|
7550
|
-
input: {
|
|
7551
|
-
param: {
|
|
7552
|
-
deliveryId: string;
|
|
7553
|
-
id: string;
|
|
7554
|
-
orgId: string;
|
|
7555
|
-
};
|
|
7556
|
-
};
|
|
7557
|
-
} | {
|
|
7558
|
-
output: {
|
|
7559
|
-
error: {
|
|
7560
|
-
code: "api_key_invalid" | "api_key_missing";
|
|
7561
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7562
|
-
message: string;
|
|
7563
|
-
};
|
|
7564
|
-
requestId: string;
|
|
7565
|
-
};
|
|
7566
|
-
outputFormat: "json";
|
|
7567
|
-
status: 401;
|
|
7568
|
-
input: {
|
|
7569
|
-
param: {
|
|
7570
|
-
deliveryId: string;
|
|
7571
|
-
id: string;
|
|
7572
|
-
orgId: string;
|
|
7573
|
-
};
|
|
7574
|
-
};
|
|
7575
|
-
} | {
|
|
7576
|
-
output: {
|
|
7577
|
-
error: {
|
|
7578
|
-
code: "forbidden";
|
|
7579
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7580
|
-
message: string;
|
|
7581
|
-
};
|
|
7582
|
-
requestId: string;
|
|
7583
|
-
};
|
|
7584
|
-
outputFormat: "json";
|
|
7585
|
-
status: 403;
|
|
7586
|
-
input: {
|
|
7587
|
-
param: {
|
|
7588
|
-
deliveryId: string;
|
|
7589
|
-
id: string;
|
|
7590
|
-
orgId: string;
|
|
7591
|
-
};
|
|
7592
|
-
};
|
|
7593
|
-
} | {
|
|
7594
|
-
output: {
|
|
7595
|
-
error: {
|
|
7596
|
-
code: "organization_not_found";
|
|
7597
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7598
|
-
message: string;
|
|
7599
|
-
};
|
|
7600
|
-
requestId: string;
|
|
7601
|
-
};
|
|
7602
|
-
outputFormat: "json";
|
|
7603
|
-
status: 404;
|
|
7604
|
-
input: {
|
|
7605
|
-
param: {
|
|
7606
|
-
deliveryId: string;
|
|
7607
|
-
id: string;
|
|
7608
|
-
orgId: string;
|
|
7609
|
-
};
|
|
7610
|
-
};
|
|
7611
|
-
} | {
|
|
7612
|
-
output: {
|
|
7613
|
-
error: {
|
|
7614
|
-
code: "webhooks_not_enabled";
|
|
7615
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7616
|
-
message: string;
|
|
7617
|
-
};
|
|
7618
|
-
requestId: string;
|
|
7619
|
-
};
|
|
7620
|
-
outputFormat: "json";
|
|
7621
|
-
status: 404;
|
|
7622
|
-
input: {
|
|
7623
|
-
param: {
|
|
7624
|
-
deliveryId: string;
|
|
7625
|
-
id: string;
|
|
7626
|
-
orgId: string;
|
|
7627
|
-
};
|
|
7628
|
-
};
|
|
7629
|
-
} | {
|
|
7630
|
-
output: {
|
|
7631
|
-
error: {
|
|
7632
|
-
code: "webhook_not_found";
|
|
7633
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7634
|
-
message: string;
|
|
7635
|
-
};
|
|
7636
|
-
requestId: string;
|
|
7637
|
-
};
|
|
7638
|
-
outputFormat: "json";
|
|
7639
|
-
status: 404;
|
|
7640
|
-
input: {
|
|
7641
|
-
param: {
|
|
7642
|
-
deliveryId: string;
|
|
7621
|
+
formatted: string;
|
|
7622
|
+
};
|
|
7623
|
+
sourceAmountMax?: {
|
|
7624
|
+
baseUnits: string;
|
|
7625
|
+
currency: string;
|
|
7626
|
+
decimals: number;
|
|
7627
|
+
formatted: string;
|
|
7628
|
+
} | undefined;
|
|
7629
|
+
sourceChain: {
|
|
7630
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
7631
|
+
id: string;
|
|
7632
|
+
kind: "evm" | "solana" | "tron";
|
|
7633
|
+
name: string;
|
|
7634
|
+
};
|
|
7635
|
+
sourceToken: {
|
|
7636
|
+
address: string;
|
|
7637
|
+
currency: string;
|
|
7638
|
+
decimals: number;
|
|
7639
|
+
name: string;
|
|
7640
|
+
standard: string;
|
|
7641
|
+
symbol: string;
|
|
7642
|
+
tokenKey: string;
|
|
7643
|
+
verified: boolean;
|
|
7644
|
+
};
|
|
7645
|
+
sourceTransactionHashes?: string[] | undefined;
|
|
7646
|
+
subsidize: boolean;
|
|
7647
|
+
status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
|
|
7648
|
+
statusReason?: {
|
|
7649
|
+
code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
7650
|
+
message: string;
|
|
7651
|
+
} | undefined;
|
|
7652
|
+
updatedAt: string;
|
|
7653
|
+
version: number;
|
|
7654
|
+
};
|
|
7655
|
+
type: "routes:transfer.updated";
|
|
7656
|
+
} | {
|
|
7657
|
+
chainId: number;
|
|
7658
|
+
context?: {
|
|
7659
|
+
description?: string | undefined;
|
|
7660
|
+
metadata?: {
|
|
7661
|
+
[x: string]: string;
|
|
7662
|
+
} | undefined;
|
|
7663
|
+
title?: string | undefined;
|
|
7664
|
+
} | undefined;
|
|
7665
|
+
createdAt: string;
|
|
7643
7666
|
id: string;
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
error: {
|
|
7650
|
-
code: "delivery_not_found";
|
|
7651
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7652
|
-
message: string;
|
|
7667
|
+
subscriptionId: string;
|
|
7668
|
+
data: {
|
|
7669
|
+
ping: true;
|
|
7670
|
+
};
|
|
7671
|
+
type: "ping";
|
|
7653
7672
|
};
|
|
7654
|
-
requestId: string;
|
|
7655
7673
|
};
|
|
7656
7674
|
outputFormat: "json";
|
|
7657
|
-
status:
|
|
7675
|
+
status: 200;
|
|
7658
7676
|
input: {
|
|
7659
7677
|
param: {
|
|
7660
7678
|
deliveryId: string;
|
|
@@ -7662,7 +7680,11 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7662
7680
|
orgId: string;
|
|
7663
7681
|
};
|
|
7664
7682
|
};
|
|
7665
|
-
}
|
|
7683
|
+
};
|
|
7684
|
+
};
|
|
7685
|
+
} & {
|
|
7686
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId/retry": {
|
|
7687
|
+
$post: {
|
|
7666
7688
|
output: {
|
|
7667
7689
|
error: {
|
|
7668
7690
|
code: "upstream_error";
|
|
@@ -7680,27 +7702,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7680
7702
|
orgId: string;
|
|
7681
7703
|
};
|
|
7682
7704
|
};
|
|
7683
|
-
};
|
|
7684
|
-
};
|
|
7685
|
-
} & {
|
|
7686
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId/retry": {
|
|
7687
|
-
$post: {
|
|
7688
|
-
output: {
|
|
7689
|
-
delivered: boolean;
|
|
7690
|
-
error?: string | undefined;
|
|
7691
|
-
eventId: string;
|
|
7692
|
-
responseMs?: number | undefined;
|
|
7693
|
-
responseStatus?: number | undefined;
|
|
7694
|
-
};
|
|
7695
|
-
outputFormat: "json";
|
|
7696
|
-
status: 200;
|
|
7697
|
-
input: {
|
|
7698
|
-
param: {
|
|
7699
|
-
deliveryId: string;
|
|
7700
|
-
id: string;
|
|
7701
|
-
orgId: string;
|
|
7702
|
-
};
|
|
7703
|
-
};
|
|
7704
7705
|
} | {
|
|
7705
7706
|
output: {
|
|
7706
7707
|
error: {
|
|
@@ -7722,14 +7723,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7722
7723
|
} | {
|
|
7723
7724
|
output: {
|
|
7724
7725
|
error: {
|
|
7725
|
-
code: "
|
|
7726
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7726
7727
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7727
7728
|
message: string;
|
|
7728
7729
|
};
|
|
7729
7730
|
requestId: string;
|
|
7730
7731
|
};
|
|
7731
7732
|
outputFormat: "json";
|
|
7732
|
-
status:
|
|
7733
|
+
status: 401;
|
|
7733
7734
|
input: {
|
|
7734
7735
|
param: {
|
|
7735
7736
|
deliveryId: string;
|
|
@@ -7740,14 +7741,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7740
7741
|
} | {
|
|
7741
7742
|
output: {
|
|
7742
7743
|
error: {
|
|
7743
|
-
code: "
|
|
7744
|
+
code: "webhooks_not_enabled";
|
|
7744
7745
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7745
7746
|
message: string;
|
|
7746
7747
|
};
|
|
7747
7748
|
requestId: string;
|
|
7748
7749
|
};
|
|
7749
7750
|
outputFormat: "json";
|
|
7750
|
-
status:
|
|
7751
|
+
status: 404;
|
|
7751
7752
|
input: {
|
|
7752
7753
|
param: {
|
|
7753
7754
|
deliveryId: string;
|
|
@@ -7758,14 +7759,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7758
7759
|
} | {
|
|
7759
7760
|
output: {
|
|
7760
7761
|
error: {
|
|
7761
|
-
code: "
|
|
7762
|
+
code: "param_invalid";
|
|
7762
7763
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7763
7764
|
message: string;
|
|
7764
7765
|
};
|
|
7765
7766
|
requestId: string;
|
|
7766
7767
|
};
|
|
7767
7768
|
outputFormat: "json";
|
|
7768
|
-
status:
|
|
7769
|
+
status: 400;
|
|
7769
7770
|
input: {
|
|
7770
7771
|
param: {
|
|
7771
7772
|
deliveryId: string;
|
|
@@ -7776,7 +7777,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7776
7777
|
} | {
|
|
7777
7778
|
output: {
|
|
7778
7779
|
error: {
|
|
7779
|
-
code: "
|
|
7780
|
+
code: "webhook_not_found";
|
|
7780
7781
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7781
7782
|
message: string;
|
|
7782
7783
|
};
|
|
@@ -7793,15 +7794,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7793
7794
|
};
|
|
7794
7795
|
} | {
|
|
7795
7796
|
output: {
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
requestId: string;
|
|
7797
|
+
delivered: boolean;
|
|
7798
|
+
error?: string | undefined;
|
|
7799
|
+
eventId: string;
|
|
7800
|
+
responseMs?: number | undefined;
|
|
7801
|
+
responseStatus?: number | undefined;
|
|
7802
7802
|
};
|
|
7803
7803
|
outputFormat: "json";
|
|
7804
|
-
status:
|
|
7804
|
+
status: 200;
|
|
7805
7805
|
input: {
|
|
7806
7806
|
param: {
|
|
7807
7807
|
deliveryId: string;
|
|
@@ -7812,7 +7812,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7812
7812
|
} | {
|
|
7813
7813
|
output: {
|
|
7814
7814
|
error: {
|
|
7815
|
-
code: "
|
|
7815
|
+
code: "delivery_not_found";
|
|
7816
7816
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7817
7817
|
message: string;
|
|
7818
7818
|
};
|
|
@@ -7830,7 +7830,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7830
7830
|
} | {
|
|
7831
7831
|
output: {
|
|
7832
7832
|
error: {
|
|
7833
|
-
code: "
|
|
7833
|
+
code: "organization_not_found";
|
|
7834
7834
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7835
7835
|
message: string;
|
|
7836
7836
|
};
|
|
@@ -7848,14 +7848,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7848
7848
|
} | {
|
|
7849
7849
|
output: {
|
|
7850
7850
|
error: {
|
|
7851
|
-
code: "
|
|
7851
|
+
code: "forbidden";
|
|
7852
7852
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7853
7853
|
message: string;
|
|
7854
7854
|
};
|
|
7855
7855
|
requestId: string;
|
|
7856
7856
|
};
|
|
7857
7857
|
outputFormat: "json";
|
|
7858
|
-
status:
|
|
7858
|
+
status: 403;
|
|
7859
7859
|
input: {
|
|
7860
7860
|
param: {
|
|
7861
7861
|
deliveryId: string;
|
|
@@ -7869,40 +7869,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7869
7869
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
|
|
7870
7870
|
$patch: {
|
|
7871
7871
|
output: {
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
expiresAt?: string | undefined;
|
|
7877
|
-
failureCount: number;
|
|
7878
|
-
filters: {
|
|
7879
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
7880
|
-
};
|
|
7881
|
-
id: string;
|
|
7882
|
-
lastDeliveryAt?: string | undefined;
|
|
7883
|
-
status: "active" | "disabled" | "paused";
|
|
7884
|
-
updatedAt: string;
|
|
7885
|
-
context?: {
|
|
7886
|
-
description?: string | undefined;
|
|
7887
|
-
metadata?: {
|
|
7888
|
-
[x: string]: string;
|
|
7889
|
-
} | undefined;
|
|
7890
|
-
title?: string | undefined;
|
|
7891
|
-
} | undefined;
|
|
7892
|
-
destination: {
|
|
7893
|
-
type: "url";
|
|
7894
|
-
url: string;
|
|
7895
|
-
} | {
|
|
7896
|
-
type: "slack";
|
|
7897
|
-
url: "https://hooks.slack.com/…";
|
|
7898
|
-
} | {
|
|
7899
|
-
token: "[redacted]";
|
|
7900
|
-
type: "betterstack";
|
|
7901
|
-
url: string;
|
|
7872
|
+
error: {
|
|
7873
|
+
code: "upstream_error";
|
|
7874
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7875
|
+
message: string;
|
|
7902
7876
|
};
|
|
7877
|
+
requestId: string;
|
|
7903
7878
|
};
|
|
7904
7879
|
outputFormat: "json";
|
|
7905
|
-
status:
|
|
7880
|
+
status: 502;
|
|
7906
7881
|
input: {
|
|
7907
7882
|
param: {
|
|
7908
7883
|
id: string;
|
|
@@ -7937,14 +7912,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7937
7912
|
} | {
|
|
7938
7913
|
output: {
|
|
7939
7914
|
error: {
|
|
7940
|
-
code: "
|
|
7915
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7941
7916
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7942
7917
|
message: string;
|
|
7943
7918
|
};
|
|
7944
7919
|
requestId: string;
|
|
7945
7920
|
};
|
|
7946
7921
|
outputFormat: "json";
|
|
7947
|
-
status:
|
|
7922
|
+
status: 401;
|
|
7948
7923
|
input: {
|
|
7949
7924
|
param: {
|
|
7950
7925
|
id: string;
|
|
@@ -7979,14 +7954,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7979
7954
|
} | {
|
|
7980
7955
|
output: {
|
|
7981
7956
|
error: {
|
|
7982
|
-
code: "
|
|
7957
|
+
code: "webhooks_not_enabled";
|
|
7983
7958
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7984
7959
|
message: string;
|
|
7985
7960
|
};
|
|
7986
7961
|
requestId: string;
|
|
7987
7962
|
};
|
|
7988
7963
|
outputFormat: "json";
|
|
7989
|
-
status:
|
|
7964
|
+
status: 404;
|
|
7990
7965
|
input: {
|
|
7991
7966
|
param: {
|
|
7992
7967
|
id: string;
|
|
@@ -8000,14 +7975,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8000
7975
|
} | {
|
|
8001
7976
|
output: {
|
|
8002
7977
|
error: {
|
|
8003
|
-
code: "
|
|
7978
|
+
code: "param_invalid";
|
|
8004
7979
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8005
7980
|
message: string;
|
|
8006
7981
|
};
|
|
8007
7982
|
requestId: string;
|
|
8008
7983
|
};
|
|
8009
7984
|
outputFormat: "json";
|
|
8010
|
-
status:
|
|
7985
|
+
status: 400;
|
|
8011
7986
|
input: {
|
|
8012
7987
|
param: {
|
|
8013
7988
|
id: string;
|
|
@@ -8021,7 +7996,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8021
7996
|
} | {
|
|
8022
7997
|
output: {
|
|
8023
7998
|
error: {
|
|
8024
|
-
code: "
|
|
7999
|
+
code: "webhook_not_found";
|
|
8025
8000
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8026
8001
|
message: string;
|
|
8027
8002
|
};
|
|
@@ -8042,7 +8017,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8042
8017
|
} | {
|
|
8043
8018
|
output: {
|
|
8044
8019
|
error: {
|
|
8045
|
-
code: "
|
|
8020
|
+
code: "organization_not_found";
|
|
8046
8021
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8047
8022
|
message: string;
|
|
8048
8023
|
};
|
|
@@ -8063,14 +8038,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8063
8038
|
} | {
|
|
8064
8039
|
output: {
|
|
8065
8040
|
error: {
|
|
8066
|
-
code: "
|
|
8041
|
+
code: "forbidden";
|
|
8067
8042
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8068
8043
|
message: string;
|
|
8069
8044
|
};
|
|
8070
8045
|
requestId: string;
|
|
8071
8046
|
};
|
|
8072
8047
|
outputFormat: "json";
|
|
8073
|
-
status:
|
|
8048
|
+
status: 403;
|
|
8074
8049
|
input: {
|
|
8075
8050
|
param: {
|
|
8076
8051
|
id: string;
|
|
@@ -8083,15 +8058,40 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8083
8058
|
};
|
|
8084
8059
|
} | {
|
|
8085
8060
|
output: {
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8061
|
+
chainId: number;
|
|
8062
|
+
createdAt: string;
|
|
8063
|
+
environment?: "production" | "sandbox" | undefined;
|
|
8064
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
8065
|
+
expiresAt?: string | undefined;
|
|
8066
|
+
failureCount: number;
|
|
8067
|
+
filters: {
|
|
8068
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
8069
|
+
};
|
|
8070
|
+
id: string;
|
|
8071
|
+
lastDeliveryAt?: string | undefined;
|
|
8072
|
+
status: "active" | "disabled" | "paused";
|
|
8073
|
+
updatedAt: string;
|
|
8074
|
+
context?: {
|
|
8075
|
+
description?: string | undefined;
|
|
8076
|
+
metadata?: {
|
|
8077
|
+
[x: string]: string;
|
|
8078
|
+
} | undefined;
|
|
8079
|
+
title?: string | undefined;
|
|
8080
|
+
} | undefined;
|
|
8081
|
+
destination: {
|
|
8082
|
+
type: "url";
|
|
8083
|
+
url: string;
|
|
8084
|
+
} | {
|
|
8085
|
+
type: "slack";
|
|
8086
|
+
url: "https://hooks.slack.com/…";
|
|
8087
|
+
} | {
|
|
8088
|
+
token: "[redacted]";
|
|
8089
|
+
type: "betterstack";
|
|
8090
|
+
url: string;
|
|
8090
8091
|
};
|
|
8091
|
-
requestId: string;
|
|
8092
8092
|
};
|
|
8093
8093
|
outputFormat: "json";
|
|
8094
|
-
status:
|
|
8094
|
+
status: 200;
|
|
8095
8095
|
input: {
|
|
8096
8096
|
param: {
|
|
8097
8097
|
id: string;
|
|
@@ -8108,10 +8108,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8108
8108
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
|
|
8109
8109
|
$delete: {
|
|
8110
8110
|
output: {
|
|
8111
|
-
|
|
8111
|
+
error: {
|
|
8112
|
+
code: "upstream_error";
|
|
8113
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
8114
|
+
message: string;
|
|
8115
|
+
};
|
|
8116
|
+
requestId: string;
|
|
8112
8117
|
};
|
|
8113
8118
|
outputFormat: "json";
|
|
8114
|
-
status:
|
|
8119
|
+
status: 502;
|
|
8115
8120
|
input: {
|
|
8116
8121
|
param: {
|
|
8117
8122
|
id: string;
|
|
@@ -8138,14 +8143,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8138
8143
|
} | {
|
|
8139
8144
|
output: {
|
|
8140
8145
|
error: {
|
|
8141
|
-
code: "
|
|
8146
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
8142
8147
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8143
8148
|
message: string;
|
|
8144
8149
|
};
|
|
8145
8150
|
requestId: string;
|
|
8146
8151
|
};
|
|
8147
8152
|
outputFormat: "json";
|
|
8148
|
-
status:
|
|
8153
|
+
status: 401;
|
|
8149
8154
|
input: {
|
|
8150
8155
|
param: {
|
|
8151
8156
|
id: string;
|
|
@@ -8155,14 +8160,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8155
8160
|
} | {
|
|
8156
8161
|
output: {
|
|
8157
8162
|
error: {
|
|
8158
|
-
code: "
|
|
8163
|
+
code: "webhooks_not_enabled";
|
|
8159
8164
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8160
8165
|
message: string;
|
|
8161
8166
|
};
|
|
8162
8167
|
requestId: string;
|
|
8163
8168
|
};
|
|
8164
8169
|
outputFormat: "json";
|
|
8165
|
-
status:
|
|
8170
|
+
status: 404;
|
|
8166
8171
|
input: {
|
|
8167
8172
|
param: {
|
|
8168
8173
|
id: string;
|
|
@@ -8172,14 +8177,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8172
8177
|
} | {
|
|
8173
8178
|
output: {
|
|
8174
8179
|
error: {
|
|
8175
|
-
code: "
|
|
8180
|
+
code: "param_invalid";
|
|
8176
8181
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8177
8182
|
message: string;
|
|
8178
8183
|
};
|
|
8179
8184
|
requestId: string;
|
|
8180
8185
|
};
|
|
8181
8186
|
outputFormat: "json";
|
|
8182
|
-
status:
|
|
8187
|
+
status: 400;
|
|
8183
8188
|
input: {
|
|
8184
8189
|
param: {
|
|
8185
8190
|
id: string;
|
|
@@ -8189,7 +8194,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8189
8194
|
} | {
|
|
8190
8195
|
output: {
|
|
8191
8196
|
error: {
|
|
8192
|
-
code: "
|
|
8197
|
+
code: "webhook_not_found";
|
|
8193
8198
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8194
8199
|
message: string;
|
|
8195
8200
|
};
|
|
@@ -8206,7 +8211,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8206
8211
|
} | {
|
|
8207
8212
|
output: {
|
|
8208
8213
|
error: {
|
|
8209
|
-
code: "
|
|
8214
|
+
code: "organization_not_found";
|
|
8210
8215
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8211
8216
|
message: string;
|
|
8212
8217
|
};
|
|
@@ -8223,14 +8228,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8223
8228
|
} | {
|
|
8224
8229
|
output: {
|
|
8225
8230
|
error: {
|
|
8226
|
-
code: "
|
|
8231
|
+
code: "forbidden";
|
|
8227
8232
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8228
8233
|
message: string;
|
|
8229
8234
|
};
|
|
8230
8235
|
requestId: string;
|
|
8231
8236
|
};
|
|
8232
8237
|
outputFormat: "json";
|
|
8233
|
-
status:
|
|
8238
|
+
status: 403;
|
|
8234
8239
|
input: {
|
|
8235
8240
|
param: {
|
|
8236
8241
|
id: string;
|
|
@@ -8239,15 +8244,10 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8239
8244
|
};
|
|
8240
8245
|
} | {
|
|
8241
8246
|
output: {
|
|
8242
|
-
|
|
8243
|
-
code: "upstream_error";
|
|
8244
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
8245
|
-
message: string;
|
|
8246
|
-
};
|
|
8247
|
-
requestId: string;
|
|
8247
|
+
id: string;
|
|
8248
8248
|
};
|
|
8249
8249
|
outputFormat: "json";
|
|
8250
|
-
status:
|
|
8250
|
+
status: 200;
|
|
8251
8251
|
input: {
|
|
8252
8252
|
param: {
|
|
8253
8253
|
id: string;
|