tapimo 0.12.0 → 0.14.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/dist/App.d.ts +11333 -9563
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +39 -3
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +2 -0
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +17 -0
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.js +2 -2
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +1064 -924
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +80 -0
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +54 -0
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +63 -15
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.js +2 -1
- package/dist/admin/apps/earn-vaults.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +92 -3
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/organizations.js +69 -7
- package/dist/admin/apps/organizations.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +7 -7
- 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 +151 -151
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/Zones.d.ts +28 -28
- package/dist/apps/Zones.js +7 -7
- package/dist/apps/data/App.d.ts +2909 -2523
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +26 -21
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/ZoneSelection.d.ts +8 -8
- package/dist/apps/data/ZoneSelection.d.ts.map +1 -1
- package/dist/apps/data/ZoneSelection.js +1 -1
- package/dist/apps/data/ZoneSelection.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +588 -584
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +1561 -1239
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +22 -22
- package/dist/apps/data/routes/balances.d.ts +26 -26
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +43 -16
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +44 -44
- package/dist/apps/data/routes/blocks.d.ts.map +1 -1
- package/dist/apps/data/routes/blocks.js +21 -11
- package/dist/apps/data/routes/blocks.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +3 -3
- package/dist/apps/data/routes/earn.d.ts +201 -25
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +434 -75
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +160 -145
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +180 -114
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +2 -2
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +18 -19
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts +155 -55
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +28 -10
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +13 -13
- package/dist/apps/data/routes/tokens.d.ts +5 -5
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +51 -20
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +7 -2
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +37 -17
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +13 -13
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +18 -12
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +31 -31
- package/dist/apps/data/routes/valuation.d.ts.map +1 -1
- package/dist/apps/data/routes/valuation.js +12 -7
- package/dist/apps/data/routes/valuation.js.map +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +8 -8
- package/dist/apps/data/routes/webhooks.d.ts +816 -113
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +47 -5
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +14 -14
- package/dist/apps/data/routes/zones.js +1 -1
- package/dist/apps/funding/App.d.ts +466 -44
- package/dist/apps/funding/App.d.ts.map +1 -1
- package/dist/apps/funding/App.js +1 -1
- package/dist/apps/funding/App.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.d.ts +17 -17
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +17 -12
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/transfers.d.ts +650 -57
- package/dist/apps/funding/routes/transfers.d.ts.map +1 -1
- package/dist/apps/funding/routes/transfers.js +238 -24
- package/dist/apps/funding/routes/transfers.js.map +1 -1
- package/dist/apps/management/App.d.ts +5120 -4152
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/Billing.d.ts +1 -1
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +17 -1
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +632 -81
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +236 -4
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +76 -76
- package/dist/apps/management/routes/faucet.d.ts +6 -6
- package/dist/apps/management/routes/invitations.d.ts +24 -24
- package/dist/apps/management/routes/invite-links.d.ts +4 -4
- package/dist/apps/management/routes/members.d.ts +16 -16
- package/dist/apps/management/routes/orgs.d.ts +20 -20
- package/dist/apps/management/routes/projects.d.ts +4 -4
- package/dist/apps/management/routes/usage.d.ts +8 -8
- package/dist/apps/management/routes/verified-token-requests.d.ts +17 -17
- package/dist/apps/management/routes/webhooks.d.ts +675 -25
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +21 -21
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +115 -23
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +27 -1
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +34 -1
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +11 -5
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +21 -3
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/fundingCatalog.d.ts +4 -2
- package/dist/db/tables/fundingCatalog.d.ts.map +1 -1
- package/dist/db/tables/fundingCatalog.js +5 -1
- package/dist/db/tables/fundingCatalog.js.map +1 -1
- package/dist/db/tables/fundingTransferTransactions.d.ts +38 -0
- package/dist/db/tables/fundingTransferTransactions.d.ts.map +1 -1
- package/dist/db/tables/fundingTransferTransactions.js +44 -3
- package/dist/db/tables/fundingTransferTransactions.js.map +1 -1
- package/dist/db/tables/fundingTransfers.d.ts +17 -0
- package/dist/db/tables/fundingTransfers.d.ts.map +1 -1
- package/dist/db/tables/fundingTransfers.js +21 -0
- package/dist/db/tables/fundingTransfers.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +24 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +27 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.d.ts +25 -1
- package/dist/db/tables/projects.d.ts.map +1 -1
- package/dist/db/tables/projects.js +26 -0
- package/dist/db/tables/projects.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +44 -0
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +146 -13
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +10 -6
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +9 -6
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/handlers/internal/utils.d.ts.map +1 -1
- package/dist/handlers/internal/utils.js +9 -0
- package/dist/handlers/internal/utils.js.map +1 -1
- package/dist/internal/Auth.d.ts +3 -1
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +6 -3
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/EarnVaults.d.ts +3 -3
- package/dist/internal/EarnVaults.js +5 -5
- package/dist/internal/EarnVaults.js.map +1 -1
- package/dist/internal/Fetch.d.ts +23 -0
- package/dist/internal/Fetch.d.ts.map +1 -0
- package/dist/internal/Fetch.js +26 -0
- package/dist/internal/Fetch.js.map +1 -0
- package/dist/internal/Log.d.ts +4 -2
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +16 -3
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +5 -3
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +13 -3
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Response.d.ts +1 -1
- package/dist/internal/Response.d.ts.map +1 -1
- package/dist/internal/Schema.d.ts +6 -3
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +8 -2
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Store.d.ts +16 -3
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +82 -16
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +7 -2
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Timeout.d.ts +36 -0
- package/dist/internal/Timeout.d.ts.map +1 -0
- package/dist/internal/Timeout.js +37 -0
- package/dist/internal/Timeout.js.map +1 -0
- package/dist/internal/Timing.d.ts +9 -0
- package/dist/internal/Timing.d.ts.map +1 -1
- package/dist/internal/Timing.js +7 -0
- package/dist/internal/Timing.js.map +1 -1
- package/dist/internal/Viem.d.ts +16 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +12 -2
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/WebhookDestination.d.ts.map +1 -1
- package/dist/internal/WebhookDestination.js +3 -0
- package/dist/internal/WebhookDestination.js.map +1 -1
- package/dist/internal/funding/Action.d.ts +9 -0
- package/dist/internal/funding/Action.d.ts.map +1 -1
- package/dist/internal/funding/Action.js +16 -8
- package/dist/internal/funding/Action.js.map +1 -1
- package/dist/internal/funding/Catalog.d.ts +9 -2
- package/dist/internal/funding/Catalog.d.ts.map +1 -1
- package/dist/internal/funding/Catalog.js +19 -8
- package/dist/internal/funding/Catalog.js.map +1 -1
- package/dist/internal/funding/DepositWebhook.d.ts.map +1 -1
- package/dist/internal/funding/DepositWebhook.js +2 -1
- package/dist/internal/funding/DepositWebhook.js.map +1 -1
- package/dist/internal/funding/Evidence.d.ts.map +1 -1
- package/dist/internal/funding/Evidence.js +2 -10
- package/dist/internal/funding/Evidence.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +108 -13
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Provider.js +34 -8
- package/dist/internal/funding/Provider.js.map +1 -1
- package/dist/internal/funding/SourceObservation.d.ts.map +1 -1
- package/dist/internal/funding/SourceObservation.js +5 -7
- package/dist/internal/funding/SourceObservation.js.map +1 -1
- package/dist/internal/funding/Transfer.d.ts +114 -18
- package/dist/internal/funding/Transfer.d.ts.map +1 -1
- package/dist/internal/funding/Transfer.js +185 -55
- package/dist/internal/funding/Transfer.js.map +1 -1
- package/dist/internal/funding/TransferReconciliation.d.ts +52 -0
- package/dist/internal/funding/TransferReconciliation.d.ts.map +1 -0
- package/dist/internal/funding/TransferReconciliation.js +192 -0
- package/dist/internal/funding/TransferReconciliation.js.map +1 -0
- package/dist/internal/funding/TransferWebhook.d.ts +21 -0
- package/dist/internal/funding/TransferWebhook.d.ts.map +1 -0
- package/dist/internal/funding/TransferWebhook.js +43 -0
- package/dist/internal/funding/TransferWebhook.js.map +1 -0
- package/dist/internal/funding/index.d.ts +1 -0
- package/dist/internal/funding/index.d.ts.map +1 -1
- package/dist/internal/funding/index.js +1 -0
- package/dist/internal/funding/index.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +3 -12
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/dist/internal/funding/providers/stargate.d.ts +127 -9
- package/dist/internal/funding/providers/stargate.d.ts.map +1 -1
- package/dist/internal/funding/providers/stargate.js +548 -112
- package/dist/internal/funding/providers/stargate.js.map +1 -1
- package/dist/internal/index.d.ts +1 -0
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/index.js +1 -0
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/webhookDestinations/slack.d.ts.map +1 -1
- package/dist/internal/webhookDestinations/slack.js +16 -0
- package/dist/internal/webhookDestinations/slack.js.map +1 -1
- package/package.json +2 -2
- package/src/App.test.ts +100 -0
- package/src/App.ts +43 -3
- package/src/Client.test-d.ts +129 -2
- package/src/Scope.test.ts +20 -0
- package/src/Scope.ts +16 -0
- package/src/Webhooks.ts +2 -2
- package/src/admin/apps/api-keys.test.ts +75 -0
- package/src/admin/apps/api-keys.ts +64 -0
- package/src/admin/apps/earn-vaults.test.ts +1 -1
- package/src/admin/apps/earn-vaults.ts +2 -1
- package/src/admin/apps/organizations.test.ts +53 -1
- package/src/admin/apps/organizations.ts +90 -5
- package/src/admin/ui/src/lib/api-keys.ts +19 -0
- package/src/admin/ui/src/lib/organizations.test.ts +112 -1
- package/src/admin/ui/src/lib/organizations.ts +55 -0
- package/src/admin/ui/src/routes/api-keys.tsx +89 -2
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +116 -0
- package/src/admin/ui.generated.ts +189 -151
- package/src/apps/Zones.test.ts +7 -7
- package/src/apps/Zones.ts +7 -7
- package/src/apps/composition.test.ts +2 -1
- package/src/apps/data/App.test.ts +41 -0
- package/src/apps/data/App.ts +30 -21
- package/src/apps/data/ZoneSelection.test.ts +2 -2
- package/src/apps/data/ZoneSelection.ts +8 -8
- package/src/apps/data/routes/activities.test.ts +1526 -12
- package/src/apps/data/routes/activities.ts +1774 -1356
- package/src/apps/data/routes/balances.ts +133 -97
- package/src/apps/data/routes/blocks.test.ts +533 -0
- package/src/apps/data/routes/blocks.ts +35 -16
- package/src/apps/data/routes/earn.test.ts +373 -16
- package/src/apps/data/routes/earn.ts +548 -79
- package/src/apps/data/routes/earn.zone-access.test.ts +6 -6
- package/src/apps/data/routes/exchanges.test.ts +740 -15
- package/src/apps/data/routes/exchanges.ts +954 -753
- package/src/apps/data/routes/fee-amm.ts +17 -18
- package/src/apps/data/routes/receipts.ts +47 -16
- package/src/apps/data/routes/tokens.test.ts +578 -0
- package/src/apps/data/routes/tokens.ts +283 -225
- package/src/apps/data/routes/transactions.ts +68 -29
- package/src/apps/data/routes/transfers.test.ts +421 -0
- package/src/apps/data/routes/transfers.ts +45 -27
- package/src/apps/data/routes/valuation.ts +94 -78
- package/src/apps/data/routes/webhooks.test.ts +21 -5
- package/src/apps/data/routes/webhooks.ts +63 -8
- package/src/apps/data/routes/zones.test.ts +2 -2
- package/src/apps/data/routes/zones.ts +1 -1
- package/src/apps/funding/App.ts +12 -2
- package/src/apps/funding/routes/deposit-addresses.test.ts +29 -7
- package/src/apps/funding/routes/deposit-addresses.ts +19 -14
- package/src/apps/funding/routes/quotes.test.ts +5 -9
- package/src/apps/funding/routes/transfers.test.ts +901 -23
- package/src/apps/funding/routes/transfers.ts +347 -64
- package/src/apps/management/Billing.ts +18 -5
- package/src/apps/management/routes/api-keys.test.ts +220 -0
- package/src/apps/management/routes/api-keys.ts +280 -3
- package/src/apps/management/routes/webhooks.test.ts +3 -3
- package/src/apps/management/routes/webhooks.ts +24 -25
- package/src/apps/relay/App.test.ts +212 -1
- package/src/apps/relay/App.ts +158 -29
- package/src/apps/relay/Sponsorships.ts +24 -1
- package/src/db/Db.ts +48 -1
- package/src/db/Schema.ts +22 -4
- package/src/db/tables/earnVaults.test.ts +9 -9
- package/src/db/tables/fundingCatalog.test.ts +16 -2
- package/src/db/tables/fundingCatalog.ts +9 -3
- package/src/db/tables/fundingTransferTransactions.test.ts +43 -0
- package/src/db/tables/fundingTransferTransactions.ts +79 -3
- package/src/db/tables/fundingTransfers.test.ts +26 -0
- package/src/db/tables/fundingTransfers.ts +36 -0
- package/src/db/tables/organizations.test.ts +41 -0
- package/src/db/tables/organizations.ts +49 -0
- package/src/db/tables/projects.test.ts +55 -0
- package/src/db/tables/projects.ts +46 -1
- package/src/db/tables/sponsoredTransactions.test.ts +338 -0
- package/src/db/tables/sponsoredTransactions.ts +197 -13
- package/src/db/tables/webhookSubscriptions.ts +18 -11
- package/src/handlers/internal/utils.test.ts +53 -0
- package/src/handlers/internal/utils.ts +15 -0
- package/src/internal/Auth.ts +12 -4
- package/src/internal/EarnVaults.capabilities.test.ts +2 -2
- package/src/internal/EarnVaults.test.ts +1 -1
- package/src/internal/EarnVaults.ts +5 -5
- package/src/internal/Fetch.test.ts +46 -0
- package/src/internal/Fetch.ts +56 -0
- package/src/internal/Log.test-d.ts +2 -0
- package/src/internal/Log.test.ts +21 -0
- package/src/internal/Log.ts +22 -5
- package/src/internal/OpenApi.ts +14 -4
- package/src/internal/Response.ts +1 -1
- package/src/internal/Schema.test.ts +2 -0
- package/src/internal/Schema.ts +12 -2
- package/src/internal/Store.test.ts +178 -0
- package/src/internal/Store.ts +104 -18
- package/src/internal/Tidx.test.ts +2 -1
- package/src/internal/Tidx.ts +7 -2
- package/src/internal/Timeout.test.ts +35 -0
- package/src/internal/Timeout.ts +73 -0
- package/src/internal/Timing.ts +16 -0
- package/src/internal/Viem.ts +39 -3
- package/src/internal/WebhookDestination.ts +3 -0
- package/src/internal/Webhooks.test.ts +45 -0
- package/src/internal/funding/Action.test.ts +41 -1
- package/src/internal/funding/Action.ts +69 -41
- package/src/internal/funding/Catalog.test.ts +34 -0
- package/src/internal/funding/Catalog.ts +28 -11
- package/src/internal/funding/DepositWebhook.ts +2 -1
- package/src/internal/funding/Evidence.ts +2 -13
- package/src/internal/funding/Provider.test.ts +73 -0
- package/src/internal/funding/Provider.ts +125 -28
- package/src/internal/funding/SourceObservation.ts +5 -9
- package/src/internal/funding/Transfer.test.ts +155 -0
- package/src/internal/funding/Transfer.ts +387 -147
- package/src/internal/funding/TransferReconciliation.test.ts +147 -0
- package/src/internal/funding/TransferReconciliation.ts +264 -0
- package/src/internal/funding/TransferWebhook.test.ts +128 -0
- package/src/internal/funding/TransferWebhook.ts +67 -0
- package/src/internal/funding/index.test.ts +1 -0
- package/src/internal/funding/index.ts +1 -0
- package/src/internal/funding/providers/index.test.ts +4 -167
- package/src/internal/funding/providers/relay.test.ts +2 -2
- package/src/internal/funding/providers/relay.ts +3 -15
- package/src/internal/funding/providers/stargate.test.ts +328 -0
- package/src/internal/funding/providers/stargate.ts +807 -135
- package/src/internal/index.test.ts +1 -0
- package/src/internal/index.ts +1 -0
- package/src/internal/webhookDestinations/slack.ts +15 -0
package/dist/admin/App.d.ts
CHANGED
|
@@ -196,6 +196,12 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
196
196
|
description: string | null;
|
|
197
197
|
id: `0x${string}`;
|
|
198
198
|
instantLiquidity: string | null;
|
|
199
|
+
instantLiquidityValue?: {
|
|
200
|
+
amount: string;
|
|
201
|
+
currency: string;
|
|
202
|
+
decimals: number;
|
|
203
|
+
formatted: string;
|
|
204
|
+
} | null | undefined;
|
|
199
205
|
label: string;
|
|
200
206
|
sharePrice: {
|
|
201
207
|
amount: string;
|
|
@@ -358,6 +364,12 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
358
364
|
};
|
|
359
365
|
id: `0x${string}`;
|
|
360
366
|
instantLiquidity: string | null;
|
|
367
|
+
instantLiquidityValue?: {
|
|
368
|
+
amount: string;
|
|
369
|
+
currency: string;
|
|
370
|
+
decimals: number;
|
|
371
|
+
formatted: string;
|
|
372
|
+
} | null | undefined;
|
|
361
373
|
label: string;
|
|
362
374
|
sharePrice: {
|
|
363
375
|
amount: string;
|
|
@@ -566,6 +578,12 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
566
578
|
description: string | null;
|
|
567
579
|
id: `0x${string}`;
|
|
568
580
|
instantLiquidity: string | null;
|
|
581
|
+
instantLiquidityValue?: {
|
|
582
|
+
amount: string;
|
|
583
|
+
currency: string;
|
|
584
|
+
decimals: number;
|
|
585
|
+
formatted: string;
|
|
586
|
+
} | null | undefined;
|
|
569
587
|
label: string;
|
|
570
588
|
sharePrice: {
|
|
571
589
|
amount: string;
|
|
@@ -856,6 +874,55 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
856
874
|
};
|
|
857
875
|
};
|
|
858
876
|
};
|
|
877
|
+
} & {
|
|
878
|
+
"/:id/rotate": {
|
|
879
|
+
$post: {
|
|
880
|
+
output: {
|
|
881
|
+
error: {
|
|
882
|
+
code: "not_found";
|
|
883
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
884
|
+
message: string;
|
|
885
|
+
};
|
|
886
|
+
requestId: string;
|
|
887
|
+
};
|
|
888
|
+
outputFormat: "json";
|
|
889
|
+
status: 404;
|
|
890
|
+
input: {
|
|
891
|
+
param: {
|
|
892
|
+
id: string;
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
} | {
|
|
896
|
+
output: {
|
|
897
|
+
allowedIps: readonly string[];
|
|
898
|
+
billingActive?: boolean | undefined;
|
|
899
|
+
environment: "production" | "sandbox";
|
|
900
|
+
id: string;
|
|
901
|
+
name?: string | undefined;
|
|
902
|
+
orgId: string;
|
|
903
|
+
projectId?: string | undefined;
|
|
904
|
+
rateLimits?: {
|
|
905
|
+
[x: string]: {
|
|
906
|
+
limit: number;
|
|
907
|
+
period: "minute" | "second";
|
|
908
|
+
};
|
|
909
|
+
} | undefined;
|
|
910
|
+
scopes: readonly string[];
|
|
911
|
+
createdAt: string;
|
|
912
|
+
createdBy?: string | undefined;
|
|
913
|
+
expiresAt?: string | undefined;
|
|
914
|
+
tokenLast4: string;
|
|
915
|
+
token: string;
|
|
916
|
+
};
|
|
917
|
+
outputFormat: "json";
|
|
918
|
+
status: 200;
|
|
919
|
+
input: {
|
|
920
|
+
param: {
|
|
921
|
+
id: string;
|
|
922
|
+
};
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
};
|
|
859
926
|
} & {
|
|
860
927
|
"/:id": {
|
|
861
928
|
$patch: {
|
|
@@ -944,51 +1011,30 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
944
1011
|
}, "/api-keys"> | import("hono/types").MergeSchemaPath<{
|
|
945
1012
|
"/": {
|
|
946
1013
|
$get: {
|
|
947
|
-
output: {
|
|
948
|
-
error: {
|
|
949
|
-
code: "upstream_error";
|
|
950
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
951
|
-
message: string;
|
|
952
|
-
};
|
|
953
|
-
requestId: string;
|
|
954
|
-
};
|
|
955
|
-
outputFormat: "json";
|
|
956
|
-
status: 502;
|
|
957
|
-
input: {
|
|
958
|
-
query?: {
|
|
959
|
-
cursor?: string | string[];
|
|
960
|
-
limit?: string | string[];
|
|
961
|
-
query?: string | string[];
|
|
962
|
-
} | undefined;
|
|
963
|
-
};
|
|
964
|
-
} | {
|
|
965
1014
|
output: {
|
|
966
1015
|
data: {
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
1016
|
+
address: `0x${string}`;
|
|
1017
|
+
currency: string;
|
|
1018
|
+
decimals: number;
|
|
1019
|
+
logoUri?: string | undefined;
|
|
970
1020
|
name: string;
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
memberCount: number;
|
|
974
|
-
projectCount: number;
|
|
1021
|
+
symbol: string;
|
|
1022
|
+
id: string;
|
|
975
1023
|
}[];
|
|
976
|
-
|
|
1024
|
+
version: string | null;
|
|
977
1025
|
};
|
|
978
1026
|
outputFormat: "json";
|
|
979
|
-
status:
|
|
1027
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
980
1028
|
input: {
|
|
981
|
-
query
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
query?: string | string[];
|
|
985
|
-
} | undefined;
|
|
1029
|
+
query: {
|
|
1030
|
+
chainId: string | string[];
|
|
1031
|
+
};
|
|
986
1032
|
};
|
|
987
1033
|
};
|
|
988
1034
|
};
|
|
989
1035
|
} & {
|
|
990
|
-
"
|
|
991
|
-
$
|
|
1036
|
+
"/": {
|
|
1037
|
+
$post: {
|
|
992
1038
|
output: {
|
|
993
1039
|
error: {
|
|
994
1040
|
code: "upstream_error";
|
|
@@ -1000,14 +1046,21 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1000
1046
|
outputFormat: "json";
|
|
1001
1047
|
status: 502;
|
|
1002
1048
|
input: {
|
|
1003
|
-
|
|
1004
|
-
|
|
1049
|
+
json: {
|
|
1050
|
+
address: `0x${string}`;
|
|
1051
|
+
currency: string;
|
|
1052
|
+
decimals: number;
|
|
1053
|
+
logoUri?: string | undefined;
|
|
1054
|
+
name: string;
|
|
1055
|
+
symbol: string;
|
|
1056
|
+
chainId: unknown;
|
|
1057
|
+
logo?: string | undefined;
|
|
1005
1058
|
};
|
|
1006
1059
|
};
|
|
1007
1060
|
} | {
|
|
1008
1061
|
output: {
|
|
1009
1062
|
error: {
|
|
1010
|
-
code: "
|
|
1063
|
+
code: "verified_token_not_found";
|
|
1011
1064
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1012
1065
|
message: string;
|
|
1013
1066
|
};
|
|
@@ -1016,114 +1069,164 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1016
1069
|
outputFormat: "json";
|
|
1017
1070
|
status: 404;
|
|
1018
1071
|
input: {
|
|
1019
|
-
|
|
1020
|
-
|
|
1072
|
+
json: {
|
|
1073
|
+
address: `0x${string}`;
|
|
1074
|
+
currency: string;
|
|
1075
|
+
decimals: number;
|
|
1076
|
+
logoUri?: string | undefined;
|
|
1077
|
+
name: string;
|
|
1078
|
+
symbol: string;
|
|
1079
|
+
chainId: unknown;
|
|
1080
|
+
logo?: string | undefined;
|
|
1021
1081
|
};
|
|
1022
1082
|
};
|
|
1023
1083
|
} | {
|
|
1024
1084
|
output: {
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
updatedAt: string;
|
|
1030
|
-
userId: string | null;
|
|
1031
|
-
memberCount: number;
|
|
1032
|
-
projectCount: number;
|
|
1033
|
-
billing: {
|
|
1034
|
-
enabledSources: ("stripe" | "tempo")[];
|
|
1035
|
-
production: {
|
|
1036
|
-
settings: {
|
|
1037
|
-
currency: "usd";
|
|
1038
|
-
period: "month";
|
|
1039
|
-
spendLimit: string | null;
|
|
1040
|
-
txFeeLimit: string | null;
|
|
1041
|
-
updatedAt: string;
|
|
1042
|
-
} | null;
|
|
1043
|
-
source: {
|
|
1044
|
-
status: "active" | "canceled" | "none" | "past_due";
|
|
1045
|
-
stripeCustomerId: string;
|
|
1046
|
-
updatedAt: string;
|
|
1047
|
-
} | null;
|
|
1048
|
-
};
|
|
1049
|
-
sandbox: {
|
|
1050
|
-
settings: {
|
|
1051
|
-
currency: "usd";
|
|
1052
|
-
period: "month";
|
|
1053
|
-
spendLimit: string | null;
|
|
1054
|
-
txFeeLimit: string | null;
|
|
1055
|
-
updatedAt: string;
|
|
1056
|
-
} | null;
|
|
1057
|
-
source: {
|
|
1058
|
-
status: "active" | "canceled" | "none" | "past_due";
|
|
1059
|
-
stripeCustomerId: string;
|
|
1060
|
-
updatedAt: string;
|
|
1061
|
-
} | null;
|
|
1062
|
-
};
|
|
1085
|
+
error: {
|
|
1086
|
+
code: "assets_not_enabled";
|
|
1087
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1088
|
+
message: string;
|
|
1063
1089
|
};
|
|
1090
|
+
requestId: string;
|
|
1064
1091
|
};
|
|
1065
1092
|
outputFormat: "json";
|
|
1066
|
-
status:
|
|
1093
|
+
status: 404;
|
|
1067
1094
|
input: {
|
|
1068
|
-
|
|
1069
|
-
|
|
1095
|
+
json: {
|
|
1096
|
+
address: `0x${string}`;
|
|
1097
|
+
currency: string;
|
|
1098
|
+
decimals: number;
|
|
1099
|
+
logoUri?: string | undefined;
|
|
1100
|
+
name: string;
|
|
1101
|
+
symbol: string;
|
|
1102
|
+
chainId: unknown;
|
|
1103
|
+
logo?: string | undefined;
|
|
1070
1104
|
};
|
|
1071
1105
|
};
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1106
|
+
} | {
|
|
1107
|
+
output: {
|
|
1108
|
+
data: {
|
|
1109
|
+
address: `0x${string}`;
|
|
1110
|
+
currency: string;
|
|
1111
|
+
decimals: number;
|
|
1112
|
+
logoUri?: string | undefined;
|
|
1113
|
+
name: string;
|
|
1114
|
+
symbol: string;
|
|
1115
|
+
id: string;
|
|
1116
|
+
};
|
|
1117
|
+
version: string;
|
|
1118
|
+
};
|
|
1119
|
+
outputFormat: "json";
|
|
1120
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1121
|
+
input: {
|
|
1122
|
+
json: {
|
|
1123
|
+
address: `0x${string}`;
|
|
1124
|
+
currency: string;
|
|
1125
|
+
decimals: number;
|
|
1126
|
+
logoUri?: string | undefined;
|
|
1127
|
+
name: string;
|
|
1128
|
+
symbol: string;
|
|
1129
|
+
chainId: unknown;
|
|
1130
|
+
logo?: string | undefined;
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
} | {
|
|
1077
1134
|
output: {
|
|
1078
1135
|
error: {
|
|
1079
|
-
code:
|
|
1136
|
+
code: string;
|
|
1080
1137
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1081
1138
|
message: string;
|
|
1082
1139
|
};
|
|
1083
1140
|
requestId: string;
|
|
1084
1141
|
};
|
|
1085
1142
|
outputFormat: "json";
|
|
1086
|
-
status:
|
|
1143
|
+
status: 400 | 413 | 415;
|
|
1087
1144
|
input: {
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1145
|
+
json: {
|
|
1146
|
+
address: `0x${string}`;
|
|
1147
|
+
currency: string;
|
|
1148
|
+
decimals: number;
|
|
1149
|
+
logoUri?: string | undefined;
|
|
1150
|
+
name: string;
|
|
1151
|
+
symbol: string;
|
|
1152
|
+
chainId: unknown;
|
|
1153
|
+
logo?: string | undefined;
|
|
1091
1154
|
};
|
|
1092
1155
|
};
|
|
1093
1156
|
} | {
|
|
1094
1157
|
output: {
|
|
1095
1158
|
error: {
|
|
1096
|
-
code: "
|
|
1159
|
+
code: "duplicate_address";
|
|
1097
1160
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1098
1161
|
message: string;
|
|
1099
1162
|
};
|
|
1100
1163
|
requestId: string;
|
|
1101
1164
|
};
|
|
1102
1165
|
outputFormat: "json";
|
|
1103
|
-
status:
|
|
1166
|
+
status: 409;
|
|
1104
1167
|
input: {
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1168
|
+
json: {
|
|
1169
|
+
address: `0x${string}`;
|
|
1170
|
+
currency: string;
|
|
1171
|
+
decimals: number;
|
|
1172
|
+
logoUri?: string | undefined;
|
|
1173
|
+
name: string;
|
|
1174
|
+
symbol: string;
|
|
1175
|
+
chainId: unknown;
|
|
1176
|
+
logo?: string | undefined;
|
|
1108
1177
|
};
|
|
1109
1178
|
};
|
|
1110
1179
|
} | {
|
|
1111
1180
|
output: {
|
|
1112
|
-
|
|
1181
|
+
error: {
|
|
1182
|
+
code: "duplicate_symbol";
|
|
1183
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1184
|
+
message: string;
|
|
1185
|
+
};
|
|
1186
|
+
requestId: string;
|
|
1113
1187
|
};
|
|
1114
1188
|
outputFormat: "json";
|
|
1115
|
-
status:
|
|
1189
|
+
status: 409;
|
|
1116
1190
|
input: {
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1191
|
+
json: {
|
|
1192
|
+
address: `0x${string}`;
|
|
1193
|
+
currency: string;
|
|
1194
|
+
decimals: number;
|
|
1195
|
+
logoUri?: string | undefined;
|
|
1196
|
+
name: string;
|
|
1197
|
+
symbol: string;
|
|
1198
|
+
chainId: unknown;
|
|
1199
|
+
logo?: string | undefined;
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
} | {
|
|
1203
|
+
output: {
|
|
1204
|
+
error: {
|
|
1205
|
+
code: "version_mismatch";
|
|
1206
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1207
|
+
message: string;
|
|
1208
|
+
};
|
|
1209
|
+
requestId: string;
|
|
1210
|
+
};
|
|
1211
|
+
outputFormat: "json";
|
|
1212
|
+
status: 412;
|
|
1213
|
+
input: {
|
|
1214
|
+
json: {
|
|
1215
|
+
address: `0x${string}`;
|
|
1216
|
+
currency: string;
|
|
1217
|
+
decimals: number;
|
|
1218
|
+
logoUri?: string | undefined;
|
|
1219
|
+
name: string;
|
|
1220
|
+
symbol: string;
|
|
1221
|
+
chainId: unknown;
|
|
1222
|
+
logo?: string | undefined;
|
|
1120
1223
|
};
|
|
1121
1224
|
};
|
|
1122
1225
|
};
|
|
1123
1226
|
};
|
|
1124
1227
|
} & {
|
|
1125
|
-
"
|
|
1126
|
-
$
|
|
1228
|
+
"/": {
|
|
1229
|
+
$put: {
|
|
1127
1230
|
output: {
|
|
1128
1231
|
error: {
|
|
1129
1232
|
code: "upstream_error";
|
|
@@ -1135,15 +1238,25 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1135
1238
|
outputFormat: "json";
|
|
1136
1239
|
status: 502;
|
|
1137
1240
|
input: {
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1241
|
+
query: {
|
|
1242
|
+
chainId: string | string[];
|
|
1243
|
+
};
|
|
1244
|
+
} & {
|
|
1245
|
+
json: {
|
|
1246
|
+
tokens: {
|
|
1247
|
+
address: `0x${string}`;
|
|
1248
|
+
currency: string;
|
|
1249
|
+
decimals: number;
|
|
1250
|
+
logoUri?: string | undefined;
|
|
1251
|
+
name: string;
|
|
1252
|
+
symbol: string;
|
|
1253
|
+
}[];
|
|
1141
1254
|
};
|
|
1142
1255
|
};
|
|
1143
1256
|
} | {
|
|
1144
1257
|
output: {
|
|
1145
1258
|
error: {
|
|
1146
|
-
code: "
|
|
1259
|
+
code: "verified_token_not_found";
|
|
1147
1260
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1148
1261
|
message: string;
|
|
1149
1262
|
};
|
|
@@ -1152,98 +1265,165 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1152
1265
|
outputFormat: "json";
|
|
1153
1266
|
status: 404;
|
|
1154
1267
|
input: {
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1268
|
+
query: {
|
|
1269
|
+
chainId: string | string[];
|
|
1270
|
+
};
|
|
1271
|
+
} & {
|
|
1272
|
+
json: {
|
|
1273
|
+
tokens: {
|
|
1274
|
+
address: `0x${string}`;
|
|
1275
|
+
currency: string;
|
|
1276
|
+
decimals: number;
|
|
1277
|
+
logoUri?: string | undefined;
|
|
1278
|
+
name: string;
|
|
1279
|
+
symbol: string;
|
|
1280
|
+
}[];
|
|
1158
1281
|
};
|
|
1159
1282
|
};
|
|
1160
1283
|
} | {
|
|
1161
1284
|
output: {
|
|
1162
|
-
|
|
1285
|
+
error: {
|
|
1286
|
+
code: string;
|
|
1287
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1288
|
+
message: string;
|
|
1289
|
+
};
|
|
1290
|
+
requestId: string;
|
|
1163
1291
|
};
|
|
1164
1292
|
outputFormat: "json";
|
|
1165
|
-
status:
|
|
1293
|
+
status: 400 | 413 | 415;
|
|
1166
1294
|
input: {
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1295
|
+
query: {
|
|
1296
|
+
chainId: string | string[];
|
|
1297
|
+
};
|
|
1298
|
+
} & {
|
|
1299
|
+
json: {
|
|
1300
|
+
tokens: {
|
|
1301
|
+
address: `0x${string}`;
|
|
1302
|
+
currency: string;
|
|
1303
|
+
decimals: number;
|
|
1304
|
+
logoUri?: string | undefined;
|
|
1305
|
+
name: string;
|
|
1306
|
+
symbol: string;
|
|
1307
|
+
}[];
|
|
1170
1308
|
};
|
|
1171
1309
|
};
|
|
1172
|
-
}
|
|
1173
|
-
};
|
|
1174
|
-
} & {
|
|
1175
|
-
"/:orgId/members": {
|
|
1176
|
-
$get: {
|
|
1310
|
+
} | {
|
|
1177
1311
|
output: {
|
|
1178
1312
|
error: {
|
|
1179
|
-
code: "
|
|
1313
|
+
code: "duplicate_address";
|
|
1180
1314
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1181
1315
|
message: string;
|
|
1182
1316
|
};
|
|
1183
1317
|
requestId: string;
|
|
1184
1318
|
};
|
|
1185
1319
|
outputFormat: "json";
|
|
1186
|
-
status:
|
|
1320
|
+
status: 409;
|
|
1187
1321
|
input: {
|
|
1188
|
-
|
|
1189
|
-
|
|
1322
|
+
query: {
|
|
1323
|
+
chainId: string | string[];
|
|
1190
1324
|
};
|
|
1191
1325
|
} & {
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1326
|
+
json: {
|
|
1327
|
+
tokens: {
|
|
1328
|
+
address: `0x${string}`;
|
|
1329
|
+
currency: string;
|
|
1330
|
+
decimals: number;
|
|
1331
|
+
logoUri?: string | undefined;
|
|
1332
|
+
name: string;
|
|
1333
|
+
symbol: string;
|
|
1334
|
+
}[];
|
|
1335
|
+
};
|
|
1196
1336
|
};
|
|
1197
1337
|
} | {
|
|
1198
1338
|
output: {
|
|
1199
1339
|
error: {
|
|
1200
|
-
code: "
|
|
1340
|
+
code: "duplicate_symbol";
|
|
1201
1341
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1202
1342
|
message: string;
|
|
1203
1343
|
};
|
|
1204
1344
|
requestId: string;
|
|
1205
1345
|
};
|
|
1206
1346
|
outputFormat: "json";
|
|
1207
|
-
status:
|
|
1347
|
+
status: 409;
|
|
1208
1348
|
input: {
|
|
1209
|
-
|
|
1210
|
-
|
|
1349
|
+
query: {
|
|
1350
|
+
chainId: string | string[];
|
|
1211
1351
|
};
|
|
1212
1352
|
} & {
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1353
|
+
json: {
|
|
1354
|
+
tokens: {
|
|
1355
|
+
address: `0x${string}`;
|
|
1356
|
+
currency: string;
|
|
1357
|
+
decimals: number;
|
|
1358
|
+
logoUri?: string | undefined;
|
|
1359
|
+
name: string;
|
|
1360
|
+
symbol: string;
|
|
1361
|
+
}[];
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
} | {
|
|
1365
|
+
output: {
|
|
1366
|
+
error: {
|
|
1367
|
+
code: "version_mismatch";
|
|
1368
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1369
|
+
message: string;
|
|
1370
|
+
};
|
|
1371
|
+
requestId: string;
|
|
1372
|
+
};
|
|
1373
|
+
outputFormat: "json";
|
|
1374
|
+
status: 412;
|
|
1375
|
+
input: {
|
|
1376
|
+
query: {
|
|
1377
|
+
chainId: string | string[];
|
|
1378
|
+
};
|
|
1379
|
+
} & {
|
|
1380
|
+
json: {
|
|
1381
|
+
tokens: {
|
|
1382
|
+
address: `0x${string}`;
|
|
1383
|
+
currency: string;
|
|
1384
|
+
decimals: number;
|
|
1385
|
+
logoUri?: string | undefined;
|
|
1386
|
+
name: string;
|
|
1387
|
+
symbol: string;
|
|
1388
|
+
}[];
|
|
1389
|
+
};
|
|
1217
1390
|
};
|
|
1218
1391
|
} | {
|
|
1219
1392
|
output: {
|
|
1220
1393
|
data: {
|
|
1221
|
-
address: string
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1394
|
+
address: `0x${string}`;
|
|
1395
|
+
currency: string;
|
|
1396
|
+
decimals: number;
|
|
1397
|
+
logoUri?: string | undefined;
|
|
1398
|
+
name: string;
|
|
1399
|
+
symbol: string;
|
|
1400
|
+
id: string;
|
|
1227
1401
|
}[];
|
|
1228
|
-
|
|
1402
|
+
version: string;
|
|
1229
1403
|
};
|
|
1230
1404
|
outputFormat: "json";
|
|
1231
|
-
status:
|
|
1405
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1232
1406
|
input: {
|
|
1233
|
-
|
|
1234
|
-
|
|
1407
|
+
query: {
|
|
1408
|
+
chainId: string | string[];
|
|
1235
1409
|
};
|
|
1236
1410
|
} & {
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1411
|
+
json: {
|
|
1412
|
+
tokens: {
|
|
1413
|
+
address: `0x${string}`;
|
|
1414
|
+
currency: string;
|
|
1415
|
+
decimals: number;
|
|
1416
|
+
logoUri?: string | undefined;
|
|
1417
|
+
name: string;
|
|
1418
|
+
symbol: string;
|
|
1419
|
+
}[];
|
|
1420
|
+
};
|
|
1241
1421
|
};
|
|
1242
1422
|
};
|
|
1243
1423
|
};
|
|
1244
1424
|
} & {
|
|
1245
|
-
"/:
|
|
1246
|
-
$
|
|
1425
|
+
"/:address": {
|
|
1426
|
+
$patch: {
|
|
1247
1427
|
output: {
|
|
1248
1428
|
error: {
|
|
1249
1429
|
code: "upstream_error";
|
|
@@ -1256,18 +1436,25 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1256
1436
|
status: 502;
|
|
1257
1437
|
input: {
|
|
1258
1438
|
param: {
|
|
1259
|
-
|
|
1439
|
+
address: `0x${string}`;
|
|
1260
1440
|
};
|
|
1261
1441
|
} & {
|
|
1262
|
-
query
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1442
|
+
query: {
|
|
1443
|
+
chainId: string | string[];
|
|
1444
|
+
};
|
|
1445
|
+
} & {
|
|
1446
|
+
json: {
|
|
1447
|
+
currency?: string | undefined;
|
|
1448
|
+
decimals?: number | undefined;
|
|
1449
|
+
logoUri?: string | undefined;
|
|
1450
|
+
name?: string | undefined;
|
|
1451
|
+
symbol?: string | undefined;
|
|
1452
|
+
};
|
|
1266
1453
|
};
|
|
1267
1454
|
} | {
|
|
1268
1455
|
output: {
|
|
1269
1456
|
error: {
|
|
1270
|
-
code: "
|
|
1457
|
+
code: "verified_token_not_found";
|
|
1271
1458
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1272
1459
|
message: string;
|
|
1273
1460
|
};
|
|
@@ -1277,187 +1464,170 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1277
1464
|
status: 404;
|
|
1278
1465
|
input: {
|
|
1279
1466
|
param: {
|
|
1280
|
-
|
|
1467
|
+
address: `0x${string}`;
|
|
1281
1468
|
};
|
|
1282
1469
|
} & {
|
|
1283
|
-
query
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1470
|
+
query: {
|
|
1471
|
+
chainId: string | string[];
|
|
1472
|
+
};
|
|
1473
|
+
} & {
|
|
1474
|
+
json: {
|
|
1475
|
+
currency?: string | undefined;
|
|
1476
|
+
decimals?: number | undefined;
|
|
1477
|
+
logoUri?: string | undefined;
|
|
1478
|
+
name?: string | undefined;
|
|
1479
|
+
symbol?: string | undefined;
|
|
1480
|
+
};
|
|
1287
1481
|
};
|
|
1288
1482
|
} | {
|
|
1289
1483
|
output: {
|
|
1290
1484
|
data: {
|
|
1291
|
-
|
|
1292
|
-
|
|
1485
|
+
address: `0x${string}`;
|
|
1486
|
+
currency: string;
|
|
1487
|
+
decimals: number;
|
|
1488
|
+
logoUri?: string | undefined;
|
|
1293
1489
|
name: string;
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1490
|
+
symbol: string;
|
|
1491
|
+
id: string;
|
|
1492
|
+
};
|
|
1493
|
+
version: string;
|
|
1297
1494
|
};
|
|
1298
1495
|
outputFormat: "json";
|
|
1299
|
-
status:
|
|
1496
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1300
1497
|
input: {
|
|
1301
1498
|
param: {
|
|
1302
|
-
|
|
1499
|
+
address: `0x${string}`;
|
|
1303
1500
|
};
|
|
1304
1501
|
} & {
|
|
1305
|
-
query
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1502
|
+
query: {
|
|
1503
|
+
chainId: string | string[];
|
|
1504
|
+
};
|
|
1505
|
+
} & {
|
|
1506
|
+
json: {
|
|
1507
|
+
currency?: string | undefined;
|
|
1508
|
+
decimals?: number | undefined;
|
|
1509
|
+
logoUri?: string | undefined;
|
|
1510
|
+
name?: string | undefined;
|
|
1511
|
+
symbol?: string | undefined;
|
|
1512
|
+
};
|
|
1309
1513
|
};
|
|
1310
|
-
}
|
|
1311
|
-
};
|
|
1312
|
-
} & {
|
|
1313
|
-
"/:orgId/api-keys": {
|
|
1314
|
-
$get: {
|
|
1514
|
+
} | {
|
|
1315
1515
|
output: {
|
|
1316
1516
|
error: {
|
|
1317
|
-
code:
|
|
1517
|
+
code: string;
|
|
1318
1518
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1319
1519
|
message: string;
|
|
1320
1520
|
};
|
|
1321
1521
|
requestId: string;
|
|
1322
1522
|
};
|
|
1323
1523
|
outputFormat: "json";
|
|
1324
|
-
status:
|
|
1524
|
+
status: 400 | 413 | 415;
|
|
1325
1525
|
input: {
|
|
1326
1526
|
param: {
|
|
1327
|
-
|
|
1527
|
+
address: `0x${string}`;
|
|
1528
|
+
};
|
|
1529
|
+
} & {
|
|
1530
|
+
query: {
|
|
1531
|
+
chainId: string | string[];
|
|
1532
|
+
};
|
|
1533
|
+
} & {
|
|
1534
|
+
json: {
|
|
1535
|
+
currency?: string | undefined;
|
|
1536
|
+
decimals?: number | undefined;
|
|
1537
|
+
logoUri?: string | undefined;
|
|
1538
|
+
name?: string | undefined;
|
|
1539
|
+
symbol?: string | undefined;
|
|
1328
1540
|
};
|
|
1329
1541
|
};
|
|
1330
1542
|
} | {
|
|
1331
1543
|
output: {
|
|
1332
1544
|
error: {
|
|
1333
|
-
code: "
|
|
1545
|
+
code: "duplicate_address";
|
|
1334
1546
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1335
1547
|
message: string;
|
|
1336
1548
|
};
|
|
1337
1549
|
requestId: string;
|
|
1338
1550
|
};
|
|
1339
1551
|
outputFormat: "json";
|
|
1340
|
-
status:
|
|
1552
|
+
status: 409;
|
|
1341
1553
|
input: {
|
|
1342
1554
|
param: {
|
|
1343
|
-
|
|
1555
|
+
address: `0x${string}`;
|
|
1344
1556
|
};
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1557
|
+
} & {
|
|
1558
|
+
query: {
|
|
1559
|
+
chainId: string | string[];
|
|
1560
|
+
};
|
|
1561
|
+
} & {
|
|
1562
|
+
json: {
|
|
1563
|
+
currency?: string | undefined;
|
|
1564
|
+
decimals?: number | undefined;
|
|
1565
|
+
logoUri?: string | undefined;
|
|
1353
1566
|
name?: string | undefined;
|
|
1354
|
-
|
|
1355
|
-
projectId?: string | undefined;
|
|
1356
|
-
rateLimits?: {
|
|
1357
|
-
[x: string]: {
|
|
1358
|
-
limit: number;
|
|
1359
|
-
period: "minute" | "second";
|
|
1360
|
-
};
|
|
1361
|
-
} | undefined;
|
|
1362
|
-
scopes: readonly string[];
|
|
1363
|
-
createdAt: string;
|
|
1364
|
-
createdBy?: string | undefined;
|
|
1365
|
-
expiresAt?: string | undefined;
|
|
1366
|
-
tokenLast4: string;
|
|
1367
|
-
}[];
|
|
1368
|
-
};
|
|
1369
|
-
outputFormat: "json";
|
|
1370
|
-
status: 200;
|
|
1371
|
-
input: {
|
|
1372
|
-
param: {
|
|
1373
|
-
orgId: string;
|
|
1567
|
+
symbol?: string | undefined;
|
|
1374
1568
|
};
|
|
1375
1569
|
};
|
|
1376
|
-
}
|
|
1377
|
-
};
|
|
1378
|
-
} & {
|
|
1379
|
-
"/:orgId/usage": {
|
|
1380
|
-
$get: {
|
|
1570
|
+
} | {
|
|
1381
1571
|
output: {
|
|
1382
1572
|
error: {
|
|
1383
|
-
code: "
|
|
1573
|
+
code: "duplicate_symbol";
|
|
1384
1574
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1385
1575
|
message: string;
|
|
1386
1576
|
};
|
|
1387
1577
|
requestId: string;
|
|
1388
1578
|
};
|
|
1389
1579
|
outputFormat: "json";
|
|
1390
|
-
status:
|
|
1580
|
+
status: 409;
|
|
1391
1581
|
input: {
|
|
1392
1582
|
param: {
|
|
1393
|
-
|
|
1583
|
+
address: `0x${string}`;
|
|
1394
1584
|
};
|
|
1395
1585
|
} & {
|
|
1396
|
-
query
|
|
1397
|
-
|
|
1398
|
-
}
|
|
1586
|
+
query: {
|
|
1587
|
+
chainId: string | string[];
|
|
1588
|
+
};
|
|
1589
|
+
} & {
|
|
1590
|
+
json: {
|
|
1591
|
+
currency?: string | undefined;
|
|
1592
|
+
decimals?: number | undefined;
|
|
1593
|
+
logoUri?: string | undefined;
|
|
1594
|
+
name?: string | undefined;
|
|
1595
|
+
symbol?: string | undefined;
|
|
1596
|
+
};
|
|
1399
1597
|
};
|
|
1400
1598
|
} | {
|
|
1401
1599
|
output: {
|
|
1402
1600
|
error: {
|
|
1403
|
-
code: "
|
|
1601
|
+
code: "version_mismatch";
|
|
1404
1602
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1405
1603
|
message: string;
|
|
1406
1604
|
};
|
|
1407
1605
|
requestId: string;
|
|
1408
1606
|
};
|
|
1409
1607
|
outputFormat: "json";
|
|
1410
|
-
status:
|
|
1608
|
+
status: 412;
|
|
1411
1609
|
input: {
|
|
1412
1610
|
param: {
|
|
1413
|
-
|
|
1611
|
+
address: `0x${string}`;
|
|
1414
1612
|
};
|
|
1415
1613
|
} & {
|
|
1416
|
-
query
|
|
1417
|
-
|
|
1418
|
-
} | undefined;
|
|
1419
|
-
};
|
|
1420
|
-
} | {
|
|
1421
|
-
output: {
|
|
1422
|
-
byError: {
|
|
1423
|
-
code: string;
|
|
1424
|
-
requests: number;
|
|
1425
|
-
}[];
|
|
1426
|
-
byRoute: {
|
|
1427
|
-
errors: number;
|
|
1428
|
-
requests: number;
|
|
1429
|
-
averageDurationMs: number;
|
|
1430
|
-
route: string;
|
|
1431
|
-
}[];
|
|
1432
|
-
byStatus: {
|
|
1433
|
-
requests: number;
|
|
1434
|
-
status: number;
|
|
1435
|
-
}[];
|
|
1436
|
-
from: string;
|
|
1437
|
-
period: "24h" | "30d" | "7d";
|
|
1438
|
-
to: string;
|
|
1439
|
-
totals: {
|
|
1440
|
-
errors: number;
|
|
1441
|
-
requests: number;
|
|
1442
|
-
averageDurationMs: number;
|
|
1614
|
+
query: {
|
|
1615
|
+
chainId: string | string[];
|
|
1443
1616
|
};
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1617
|
+
} & {
|
|
1618
|
+
json: {
|
|
1619
|
+
currency?: string | undefined;
|
|
1620
|
+
decimals?: number | undefined;
|
|
1621
|
+
logoUri?: string | undefined;
|
|
1622
|
+
name?: string | undefined;
|
|
1623
|
+
symbol?: string | undefined;
|
|
1450
1624
|
};
|
|
1451
|
-
} & {
|
|
1452
|
-
query?: {
|
|
1453
|
-
period?: string | string[];
|
|
1454
|
-
} | undefined;
|
|
1455
1625
|
};
|
|
1456
1626
|
};
|
|
1457
1627
|
};
|
|
1458
1628
|
} & {
|
|
1459
|
-
"/:
|
|
1460
|
-
$
|
|
1629
|
+
"/:address": {
|
|
1630
|
+
$delete: {
|
|
1461
1631
|
output: {
|
|
1462
1632
|
error: {
|
|
1463
1633
|
code: "upstream_error";
|
|
@@ -1470,13 +1640,17 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1470
1640
|
status: 502;
|
|
1471
1641
|
input: {
|
|
1472
1642
|
param: {
|
|
1473
|
-
|
|
1643
|
+
address: `0x${string}`;
|
|
1644
|
+
};
|
|
1645
|
+
} & {
|
|
1646
|
+
query: {
|
|
1647
|
+
chainId: string | string[];
|
|
1474
1648
|
};
|
|
1475
1649
|
};
|
|
1476
1650
|
} | {
|
|
1477
1651
|
output: {
|
|
1478
1652
|
error: {
|
|
1479
|
-
code: "
|
|
1653
|
+
code: "verified_token_not_found";
|
|
1480
1654
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1481
1655
|
message: string;
|
|
1482
1656
|
};
|
|
@@ -1486,120 +1660,141 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1486
1660
|
status: 404;
|
|
1487
1661
|
input: {
|
|
1488
1662
|
param: {
|
|
1489
|
-
|
|
1663
|
+
address: `0x${string}`;
|
|
1664
|
+
};
|
|
1665
|
+
} & {
|
|
1666
|
+
query: {
|
|
1667
|
+
chainId: string | string[];
|
|
1490
1668
|
};
|
|
1491
1669
|
};
|
|
1492
1670
|
} | {
|
|
1493
1671
|
output: {
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
period: "month";
|
|
1672
|
+
error: {
|
|
1673
|
+
code: string;
|
|
1674
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1675
|
+
message: string;
|
|
1499
1676
|
};
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1677
|
+
requestId: string;
|
|
1678
|
+
};
|
|
1679
|
+
outputFormat: "json";
|
|
1680
|
+
status: 400 | 413 | 415;
|
|
1681
|
+
input: {
|
|
1682
|
+
param: {
|
|
1683
|
+
address: `0x${string}`;
|
|
1505
1684
|
};
|
|
1506
|
-
|
|
1685
|
+
} & {
|
|
1686
|
+
query: {
|
|
1687
|
+
chainId: string | string[];
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1690
|
+
} | {
|
|
1691
|
+
output: {
|
|
1692
|
+
error: {
|
|
1693
|
+
code: "duplicate_address";
|
|
1694
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1695
|
+
message: string;
|
|
1696
|
+
};
|
|
1697
|
+
requestId: string;
|
|
1507
1698
|
};
|
|
1508
1699
|
outputFormat: "json";
|
|
1509
|
-
status:
|
|
1700
|
+
status: 409;
|
|
1510
1701
|
input: {
|
|
1511
1702
|
param: {
|
|
1512
|
-
|
|
1703
|
+
address: `0x${string}`;
|
|
1704
|
+
};
|
|
1705
|
+
} & {
|
|
1706
|
+
query: {
|
|
1707
|
+
chainId: string | string[];
|
|
1513
1708
|
};
|
|
1514
1709
|
};
|
|
1515
|
-
}
|
|
1516
|
-
};
|
|
1517
|
-
} & {
|
|
1518
|
-
"/:orgId/webhooks": {
|
|
1519
|
-
$get: {
|
|
1710
|
+
} | {
|
|
1520
1711
|
output: {
|
|
1521
1712
|
error: {
|
|
1522
|
-
code: "
|
|
1713
|
+
code: "duplicate_symbol";
|
|
1523
1714
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1524
1715
|
message: string;
|
|
1525
1716
|
};
|
|
1526
1717
|
requestId: string;
|
|
1527
1718
|
};
|
|
1528
1719
|
outputFormat: "json";
|
|
1529
|
-
status:
|
|
1720
|
+
status: 409;
|
|
1530
1721
|
input: {
|
|
1531
1722
|
param: {
|
|
1532
|
-
|
|
1723
|
+
address: `0x${string}`;
|
|
1724
|
+
};
|
|
1725
|
+
} & {
|
|
1726
|
+
query: {
|
|
1727
|
+
chainId: string | string[];
|
|
1533
1728
|
};
|
|
1534
1729
|
};
|
|
1535
1730
|
} | {
|
|
1536
1731
|
output: {
|
|
1537
1732
|
error: {
|
|
1538
|
-
code: "
|
|
1733
|
+
code: "version_mismatch";
|
|
1539
1734
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1540
1735
|
message: string;
|
|
1541
1736
|
};
|
|
1542
1737
|
requestId: string;
|
|
1543
1738
|
};
|
|
1544
1739
|
outputFormat: "json";
|
|
1545
|
-
status:
|
|
1740
|
+
status: 412;
|
|
1546
1741
|
input: {
|
|
1547
1742
|
param: {
|
|
1548
|
-
|
|
1743
|
+
address: `0x${string}`;
|
|
1744
|
+
};
|
|
1745
|
+
} & {
|
|
1746
|
+
query: {
|
|
1747
|
+
chainId: string | string[];
|
|
1549
1748
|
};
|
|
1550
1749
|
};
|
|
1551
1750
|
} | {
|
|
1552
1751
|
output: {
|
|
1553
|
-
|
|
1554
|
-
failures: {
|
|
1555
|
-
attempt: number;
|
|
1556
|
-
createdAt: string;
|
|
1557
|
-
error: string | null;
|
|
1558
|
-
id: string;
|
|
1559
|
-
responseStatus: number | null;
|
|
1560
|
-
subscriptionId: string;
|
|
1561
|
-
}[];
|
|
1562
|
-
failuresTruncated: boolean;
|
|
1563
|
-
from: string;
|
|
1564
|
-
subscriptions: {
|
|
1565
|
-
chainId: number;
|
|
1566
|
-
createdAt: string;
|
|
1567
|
-
destination: string;
|
|
1568
|
-
eventType: string;
|
|
1569
|
-
failureCount: number;
|
|
1570
|
-
id: string;
|
|
1571
|
-
lastDeliveryAt: string | null;
|
|
1572
|
-
status: "active" | "disabled" | "paused";
|
|
1573
|
-
}[];
|
|
1574
|
-
to: string;
|
|
1752
|
+
version: string;
|
|
1575
1753
|
};
|
|
1576
1754
|
outputFormat: "json";
|
|
1577
|
-
status:
|
|
1755
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1578
1756
|
input: {
|
|
1579
1757
|
param: {
|
|
1580
|
-
|
|
1758
|
+
address: `0x${string}`;
|
|
1759
|
+
};
|
|
1760
|
+
} & {
|
|
1761
|
+
query: {
|
|
1762
|
+
chainId: string | string[];
|
|
1581
1763
|
};
|
|
1582
1764
|
};
|
|
1583
1765
|
};
|
|
1584
1766
|
};
|
|
1585
|
-
}
|
|
1586
|
-
"/": {
|
|
1767
|
+
} & {
|
|
1768
|
+
"/:address/logo": {
|
|
1587
1769
|
$get: {
|
|
1588
|
-
output:
|
|
1589
|
-
|
|
1770
|
+
output: ArrayBuffer;
|
|
1771
|
+
outputFormat: "body";
|
|
1772
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1773
|
+
input: {
|
|
1774
|
+
param: {
|
|
1590
1775
|
address: `0x${string}`;
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1776
|
+
};
|
|
1777
|
+
} & {
|
|
1778
|
+
query: {
|
|
1779
|
+
chainId: string | string[];
|
|
1780
|
+
};
|
|
1781
|
+
};
|
|
1782
|
+
} | {
|
|
1783
|
+
output: {
|
|
1784
|
+
error: {
|
|
1785
|
+
code: "logo_not_found";
|
|
1786
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1787
|
+
message: string;
|
|
1788
|
+
};
|
|
1789
|
+
requestId: string;
|
|
1599
1790
|
};
|
|
1600
1791
|
outputFormat: "json";
|
|
1601
|
-
status:
|
|
1792
|
+
status: 404;
|
|
1602
1793
|
input: {
|
|
1794
|
+
param: {
|
|
1795
|
+
address: `0x${string}`;
|
|
1796
|
+
};
|
|
1797
|
+
} & {
|
|
1603
1798
|
query: {
|
|
1604
1799
|
chainId: string | string[];
|
|
1605
1800
|
};
|
|
@@ -1607,34 +1802,31 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1607
1802
|
};
|
|
1608
1803
|
};
|
|
1609
1804
|
} & {
|
|
1610
|
-
"/": {
|
|
1611
|
-
$
|
|
1805
|
+
"/:address/logo": {
|
|
1806
|
+
$put: {
|
|
1612
1807
|
output: {
|
|
1613
1808
|
error: {
|
|
1614
|
-
code: "
|
|
1809
|
+
code: "body_invalid";
|
|
1615
1810
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1616
1811
|
message: string;
|
|
1617
1812
|
};
|
|
1618
1813
|
requestId: string;
|
|
1619
1814
|
};
|
|
1620
1815
|
outputFormat: "json";
|
|
1621
|
-
status:
|
|
1816
|
+
status: 400;
|
|
1622
1817
|
input: {
|
|
1623
|
-
|
|
1818
|
+
param: {
|
|
1624
1819
|
address: `0x${string}`;
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
symbol: string;
|
|
1630
|
-
chainId: unknown;
|
|
1631
|
-
logo?: string | undefined;
|
|
1820
|
+
};
|
|
1821
|
+
} & {
|
|
1822
|
+
query: {
|
|
1823
|
+
chainId: string | string[];
|
|
1632
1824
|
};
|
|
1633
1825
|
};
|
|
1634
1826
|
} | {
|
|
1635
1827
|
output: {
|
|
1636
1828
|
error: {
|
|
1637
|
-
code: "
|
|
1829
|
+
code: "assets_not_enabled";
|
|
1638
1830
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1639
1831
|
message: string;
|
|
1640
1832
|
};
|
|
@@ -1643,41 +1835,75 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1643
1835
|
outputFormat: "json";
|
|
1644
1836
|
status: 404;
|
|
1645
1837
|
input: {
|
|
1646
|
-
|
|
1838
|
+
param: {
|
|
1647
1839
|
address: `0x${string}`;
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
symbol: string;
|
|
1653
|
-
chainId: unknown;
|
|
1654
|
-
logo?: string | undefined;
|
|
1840
|
+
};
|
|
1841
|
+
} & {
|
|
1842
|
+
query: {
|
|
1843
|
+
chainId: string | string[];
|
|
1655
1844
|
};
|
|
1656
1845
|
};
|
|
1657
1846
|
} | {
|
|
1658
1847
|
output: {
|
|
1659
1848
|
error: {
|
|
1660
|
-
code: "
|
|
1849
|
+
code: "unsupported_media_type";
|
|
1661
1850
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1662
1851
|
message: string;
|
|
1663
1852
|
};
|
|
1664
1853
|
requestId: string;
|
|
1665
1854
|
};
|
|
1666
1855
|
outputFormat: "json";
|
|
1667
|
-
status:
|
|
1856
|
+
status: 415;
|
|
1668
1857
|
input: {
|
|
1669
|
-
|
|
1858
|
+
param: {
|
|
1670
1859
|
address: `0x${string}`;
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1860
|
+
};
|
|
1861
|
+
} & {
|
|
1862
|
+
query: {
|
|
1863
|
+
chainId: string | string[];
|
|
1864
|
+
};
|
|
1865
|
+
};
|
|
1866
|
+
} | {
|
|
1867
|
+
output: {
|
|
1868
|
+
error: {
|
|
1869
|
+
code: "payload_too_large";
|
|
1870
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1871
|
+
message: string;
|
|
1872
|
+
};
|
|
1873
|
+
requestId: string;
|
|
1874
|
+
};
|
|
1875
|
+
outputFormat: "json";
|
|
1876
|
+
status: 413;
|
|
1877
|
+
input: {
|
|
1878
|
+
param: {
|
|
1879
|
+
address: `0x${string}`;
|
|
1880
|
+
};
|
|
1881
|
+
} & {
|
|
1882
|
+
query: {
|
|
1883
|
+
chainId: string | string[];
|
|
1678
1884
|
};
|
|
1679
1885
|
};
|
|
1680
1886
|
} | {
|
|
1887
|
+
output: {
|
|
1888
|
+
key: string;
|
|
1889
|
+
path: string;
|
|
1890
|
+
};
|
|
1891
|
+
outputFormat: "json";
|
|
1892
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1893
|
+
input: {
|
|
1894
|
+
param: {
|
|
1895
|
+
address: `0x${string}`;
|
|
1896
|
+
};
|
|
1897
|
+
} & {
|
|
1898
|
+
query: {
|
|
1899
|
+
chainId: string | string[];
|
|
1900
|
+
};
|
|
1901
|
+
};
|
|
1902
|
+
};
|
|
1903
|
+
};
|
|
1904
|
+
} & {
|
|
1905
|
+
"/requests": {
|
|
1906
|
+
$get: {
|
|
1681
1907
|
output: {
|
|
1682
1908
|
data: {
|
|
1683
1909
|
address: `0x${string}`;
|
|
@@ -1686,74 +1912,68 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1686
1912
|
logoUri?: string | undefined;
|
|
1687
1913
|
name: string;
|
|
1688
1914
|
symbol: string;
|
|
1915
|
+
chainId: number;
|
|
1916
|
+
createdAt: string;
|
|
1689
1917
|
id: string;
|
|
1690
|
-
|
|
1691
|
-
|
|
1918
|
+
logo?: string | undefined;
|
|
1919
|
+
note: string | null;
|
|
1920
|
+
orgId: string;
|
|
1921
|
+
requestedBy: string;
|
|
1922
|
+
reviewNote: string | null;
|
|
1923
|
+
reviewedAt: string | null;
|
|
1924
|
+
status: "approved" | "denied" | "pending";
|
|
1925
|
+
updatedAt: string;
|
|
1926
|
+
orgName: string | null;
|
|
1927
|
+
reviewedBy: string | null;
|
|
1928
|
+
}[];
|
|
1692
1929
|
};
|
|
1693
1930
|
outputFormat: "json";
|
|
1694
1931
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1695
1932
|
input: {
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
decimals: number;
|
|
1700
|
-
logoUri?: string | undefined;
|
|
1701
|
-
name: string;
|
|
1702
|
-
symbol: string;
|
|
1703
|
-
chainId: unknown;
|
|
1704
|
-
logo?: string | undefined;
|
|
1705
|
-
};
|
|
1933
|
+
query?: {
|
|
1934
|
+
status?: string | string[];
|
|
1935
|
+
} | undefined;
|
|
1706
1936
|
};
|
|
1707
|
-
}
|
|
1937
|
+
};
|
|
1938
|
+
};
|
|
1939
|
+
} & {
|
|
1940
|
+
"/requests/:requestId/approve": {
|
|
1941
|
+
$post: {
|
|
1708
1942
|
output: {
|
|
1709
1943
|
error: {
|
|
1710
|
-
code:
|
|
1944
|
+
code: "upstream_error";
|
|
1711
1945
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1712
1946
|
message: string;
|
|
1713
1947
|
};
|
|
1714
1948
|
requestId: string;
|
|
1715
1949
|
};
|
|
1716
1950
|
outputFormat: "json";
|
|
1717
|
-
status:
|
|
1951
|
+
status: 502;
|
|
1718
1952
|
input: {
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
currency: string;
|
|
1722
|
-
decimals: number;
|
|
1723
|
-
logoUri?: string | undefined;
|
|
1724
|
-
name: string;
|
|
1725
|
-
symbol: string;
|
|
1726
|
-
chainId: unknown;
|
|
1727
|
-
logo?: string | undefined;
|
|
1953
|
+
param: {
|
|
1954
|
+
requestId: string;
|
|
1728
1955
|
};
|
|
1729
1956
|
};
|
|
1730
1957
|
} | {
|
|
1731
1958
|
output: {
|
|
1732
1959
|
error: {
|
|
1733
|
-
code: "
|
|
1960
|
+
code: "verified_token_not_found";
|
|
1734
1961
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1735
1962
|
message: string;
|
|
1736
1963
|
};
|
|
1737
1964
|
requestId: string;
|
|
1738
1965
|
};
|
|
1739
1966
|
outputFormat: "json";
|
|
1740
|
-
status:
|
|
1967
|
+
status: 404;
|
|
1741
1968
|
input: {
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
currency: string;
|
|
1745
|
-
decimals: number;
|
|
1746
|
-
logoUri?: string | undefined;
|
|
1747
|
-
name: string;
|
|
1748
|
-
symbol: string;
|
|
1749
|
-
chainId: unknown;
|
|
1750
|
-
logo?: string | undefined;
|
|
1969
|
+
param: {
|
|
1970
|
+
requestId: string;
|
|
1751
1971
|
};
|
|
1752
1972
|
};
|
|
1753
1973
|
} | {
|
|
1754
1974
|
output: {
|
|
1755
1975
|
error: {
|
|
1756
|
-
code: "
|
|
1976
|
+
code: "request_not_pending";
|
|
1757
1977
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1758
1978
|
message: string;
|
|
1759
1979
|
};
|
|
@@ -1762,75 +1982,30 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1762
1982
|
outputFormat: "json";
|
|
1763
1983
|
status: 409;
|
|
1764
1984
|
input: {
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
currency: string;
|
|
1768
|
-
decimals: number;
|
|
1769
|
-
logoUri?: string | undefined;
|
|
1770
|
-
name: string;
|
|
1771
|
-
symbol: string;
|
|
1772
|
-
chainId: unknown;
|
|
1773
|
-
logo?: string | undefined;
|
|
1985
|
+
param: {
|
|
1986
|
+
requestId: string;
|
|
1774
1987
|
};
|
|
1775
1988
|
};
|
|
1776
1989
|
} | {
|
|
1777
1990
|
output: {
|
|
1778
1991
|
error: {
|
|
1779
|
-
code: "
|
|
1780
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1781
|
-
message: string;
|
|
1782
|
-
};
|
|
1783
|
-
requestId: string;
|
|
1784
|
-
};
|
|
1785
|
-
outputFormat: "json";
|
|
1786
|
-
status: 412;
|
|
1787
|
-
input: {
|
|
1788
|
-
json: {
|
|
1789
|
-
address: `0x${string}`;
|
|
1790
|
-
currency: string;
|
|
1791
|
-
decimals: number;
|
|
1792
|
-
logoUri?: string | undefined;
|
|
1793
|
-
name: string;
|
|
1794
|
-
symbol: string;
|
|
1795
|
-
chainId: unknown;
|
|
1796
|
-
logo?: string | undefined;
|
|
1797
|
-
};
|
|
1798
|
-
};
|
|
1799
|
-
};
|
|
1800
|
-
};
|
|
1801
|
-
} & {
|
|
1802
|
-
"/": {
|
|
1803
|
-
$put: {
|
|
1804
|
-
output: {
|
|
1805
|
-
error: {
|
|
1806
|
-
code: "upstream_error";
|
|
1992
|
+
code: "verified_token_request_not_found";
|
|
1807
1993
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1808
1994
|
message: string;
|
|
1809
1995
|
};
|
|
1810
1996
|
requestId: string;
|
|
1811
1997
|
};
|
|
1812
1998
|
outputFormat: "json";
|
|
1813
|
-
status:
|
|
1999
|
+
status: 404;
|
|
1814
2000
|
input: {
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
};
|
|
1818
|
-
} & {
|
|
1819
|
-
json: {
|
|
1820
|
-
tokens: {
|
|
1821
|
-
address: `0x${string}`;
|
|
1822
|
-
currency: string;
|
|
1823
|
-
decimals: number;
|
|
1824
|
-
logoUri?: string | undefined;
|
|
1825
|
-
name: string;
|
|
1826
|
-
symbol: string;
|
|
1827
|
-
}[];
|
|
2001
|
+
param: {
|
|
2002
|
+
requestId: string;
|
|
1828
2003
|
};
|
|
1829
2004
|
};
|
|
1830
2005
|
} | {
|
|
1831
2006
|
output: {
|
|
1832
2007
|
error: {
|
|
1833
|
-
code: "
|
|
2008
|
+
code: "assets_not_enabled";
|
|
1834
2009
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1835
2010
|
message: string;
|
|
1836
2011
|
};
|
|
@@ -1839,19 +2014,8 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1839
2014
|
outputFormat: "json";
|
|
1840
2015
|
status: 404;
|
|
1841
2016
|
input: {
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
};
|
|
1845
|
-
} & {
|
|
1846
|
-
json: {
|
|
1847
|
-
tokens: {
|
|
1848
|
-
address: `0x${string}`;
|
|
1849
|
-
currency: string;
|
|
1850
|
-
decimals: number;
|
|
1851
|
-
logoUri?: string | undefined;
|
|
1852
|
-
name: string;
|
|
1853
|
-
symbol: string;
|
|
1854
|
-
}[];
|
|
2017
|
+
param: {
|
|
2018
|
+
requestId: string;
|
|
1855
2019
|
};
|
|
1856
2020
|
};
|
|
1857
2021
|
} | {
|
|
@@ -1866,19 +2030,8 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1866
2030
|
outputFormat: "json";
|
|
1867
2031
|
status: 400 | 413 | 415;
|
|
1868
2032
|
input: {
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
};
|
|
1872
|
-
} & {
|
|
1873
|
-
json: {
|
|
1874
|
-
tokens: {
|
|
1875
|
-
address: `0x${string}`;
|
|
1876
|
-
currency: string;
|
|
1877
|
-
decimals: number;
|
|
1878
|
-
logoUri?: string | undefined;
|
|
1879
|
-
name: string;
|
|
1880
|
-
symbol: string;
|
|
1881
|
-
}[];
|
|
2033
|
+
param: {
|
|
2034
|
+
requestId: string;
|
|
1882
2035
|
};
|
|
1883
2036
|
};
|
|
1884
2037
|
} | {
|
|
@@ -1893,19 +2046,8 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1893
2046
|
outputFormat: "json";
|
|
1894
2047
|
status: 409;
|
|
1895
2048
|
input: {
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
};
|
|
1899
|
-
} & {
|
|
1900
|
-
json: {
|
|
1901
|
-
tokens: {
|
|
1902
|
-
address: `0x${string}`;
|
|
1903
|
-
currency: string;
|
|
1904
|
-
decimals: number;
|
|
1905
|
-
logoUri?: string | undefined;
|
|
1906
|
-
name: string;
|
|
1907
|
-
symbol: string;
|
|
1908
|
-
}[];
|
|
2049
|
+
param: {
|
|
2050
|
+
requestId: string;
|
|
1909
2051
|
};
|
|
1910
2052
|
};
|
|
1911
2053
|
} | {
|
|
@@ -1920,19 +2062,8 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1920
2062
|
outputFormat: "json";
|
|
1921
2063
|
status: 409;
|
|
1922
2064
|
input: {
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
};
|
|
1926
|
-
} & {
|
|
1927
|
-
json: {
|
|
1928
|
-
tokens: {
|
|
1929
|
-
address: `0x${string}`;
|
|
1930
|
-
currency: string;
|
|
1931
|
-
decimals: number;
|
|
1932
|
-
logoUri?: string | undefined;
|
|
1933
|
-
name: string;
|
|
1934
|
-
symbol: string;
|
|
1935
|
-
}[];
|
|
2065
|
+
param: {
|
|
2066
|
+
requestId: string;
|
|
1936
2067
|
};
|
|
1937
2068
|
};
|
|
1938
2069
|
} | {
|
|
@@ -1947,19 +2078,8 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1947
2078
|
outputFormat: "json";
|
|
1948
2079
|
status: 412;
|
|
1949
2080
|
input: {
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
};
|
|
1953
|
-
} & {
|
|
1954
|
-
json: {
|
|
1955
|
-
tokens: {
|
|
1956
|
-
address: `0x${string}`;
|
|
1957
|
-
currency: string;
|
|
1958
|
-
decimals: number;
|
|
1959
|
-
logoUri?: string | undefined;
|
|
1960
|
-
name: string;
|
|
1961
|
-
symbol: string;
|
|
1962
|
-
}[];
|
|
2081
|
+
param: {
|
|
2082
|
+
requestId: string;
|
|
1963
2083
|
};
|
|
1964
2084
|
};
|
|
1965
2085
|
} | {
|
|
@@ -1971,33 +2091,33 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1971
2091
|
logoUri?: string | undefined;
|
|
1972
2092
|
name: string;
|
|
1973
2093
|
symbol: string;
|
|
2094
|
+
chainId: number;
|
|
2095
|
+
createdAt: string;
|
|
1974
2096
|
id: string;
|
|
1975
|
-
|
|
1976
|
-
|
|
2097
|
+
logo?: string | undefined;
|
|
2098
|
+
note: string | null;
|
|
2099
|
+
orgId: string;
|
|
2100
|
+
requestedBy: string;
|
|
2101
|
+
reviewNote: string | null;
|
|
2102
|
+
reviewedAt: string | null;
|
|
2103
|
+
status: "approved" | "denied" | "pending";
|
|
2104
|
+
updatedAt: string;
|
|
2105
|
+
orgName: string | null;
|
|
2106
|
+
reviewedBy: string | null;
|
|
2107
|
+
};
|
|
1977
2108
|
};
|
|
1978
2109
|
outputFormat: "json";
|
|
1979
2110
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1980
2111
|
input: {
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
};
|
|
1984
|
-
} & {
|
|
1985
|
-
json: {
|
|
1986
|
-
tokens: {
|
|
1987
|
-
address: `0x${string}`;
|
|
1988
|
-
currency: string;
|
|
1989
|
-
decimals: number;
|
|
1990
|
-
logoUri?: string | undefined;
|
|
1991
|
-
name: string;
|
|
1992
|
-
symbol: string;
|
|
1993
|
-
}[];
|
|
2112
|
+
param: {
|
|
2113
|
+
requestId: string;
|
|
1994
2114
|
};
|
|
1995
2115
|
};
|
|
1996
2116
|
};
|
|
1997
2117
|
};
|
|
1998
2118
|
} & {
|
|
1999
|
-
"/:
|
|
2000
|
-
$
|
|
2119
|
+
"/requests/:requestId/deny": {
|
|
2120
|
+
$post: {
|
|
2001
2121
|
output: {
|
|
2002
2122
|
error: {
|
|
2003
2123
|
code: "upstream_error";
|
|
@@ -2010,79 +2130,71 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2010
2130
|
status: 502;
|
|
2011
2131
|
input: {
|
|
2012
2132
|
param: {
|
|
2013
|
-
|
|
2014
|
-
};
|
|
2015
|
-
} & {
|
|
2016
|
-
|
|
2017
|
-
|
|
2133
|
+
requestId: string;
|
|
2134
|
+
};
|
|
2135
|
+
} & {
|
|
2136
|
+
json: {
|
|
2137
|
+
reviewNote?: string | undefined;
|
|
2138
|
+
};
|
|
2139
|
+
};
|
|
2140
|
+
} | {
|
|
2141
|
+
output: {
|
|
2142
|
+
error: {
|
|
2143
|
+
code: "verified_token_not_found";
|
|
2144
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2145
|
+
message: string;
|
|
2146
|
+
};
|
|
2147
|
+
requestId: string;
|
|
2148
|
+
};
|
|
2149
|
+
outputFormat: "json";
|
|
2150
|
+
status: 404;
|
|
2151
|
+
input: {
|
|
2152
|
+
param: {
|
|
2153
|
+
requestId: string;
|
|
2018
2154
|
};
|
|
2019
2155
|
} & {
|
|
2020
2156
|
json: {
|
|
2021
|
-
|
|
2022
|
-
decimals?: number | undefined;
|
|
2023
|
-
logoUri?: string | undefined;
|
|
2024
|
-
name?: string | undefined;
|
|
2025
|
-
symbol?: string | undefined;
|
|
2157
|
+
reviewNote?: string | undefined;
|
|
2026
2158
|
};
|
|
2027
2159
|
};
|
|
2028
2160
|
} | {
|
|
2029
2161
|
output: {
|
|
2030
2162
|
error: {
|
|
2031
|
-
code: "
|
|
2163
|
+
code: "request_not_pending";
|
|
2032
2164
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2033
2165
|
message: string;
|
|
2034
2166
|
};
|
|
2035
2167
|
requestId: string;
|
|
2036
2168
|
};
|
|
2037
2169
|
outputFormat: "json";
|
|
2038
|
-
status:
|
|
2170
|
+
status: 409;
|
|
2039
2171
|
input: {
|
|
2040
2172
|
param: {
|
|
2041
|
-
|
|
2042
|
-
};
|
|
2043
|
-
} & {
|
|
2044
|
-
query: {
|
|
2045
|
-
chainId: string | string[];
|
|
2173
|
+
requestId: string;
|
|
2046
2174
|
};
|
|
2047
2175
|
} & {
|
|
2048
2176
|
json: {
|
|
2049
|
-
|
|
2050
|
-
decimals?: number | undefined;
|
|
2051
|
-
logoUri?: string | undefined;
|
|
2052
|
-
name?: string | undefined;
|
|
2053
|
-
symbol?: string | undefined;
|
|
2177
|
+
reviewNote?: string | undefined;
|
|
2054
2178
|
};
|
|
2055
2179
|
};
|
|
2056
2180
|
} | {
|
|
2057
2181
|
output: {
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
logoUri?: string | undefined;
|
|
2063
|
-
name: string;
|
|
2064
|
-
symbol: string;
|
|
2065
|
-
id: string;
|
|
2182
|
+
error: {
|
|
2183
|
+
code: "verified_token_request_not_found";
|
|
2184
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2185
|
+
message: string;
|
|
2066
2186
|
};
|
|
2067
|
-
|
|
2187
|
+
requestId: string;
|
|
2068
2188
|
};
|
|
2069
2189
|
outputFormat: "json";
|
|
2070
|
-
status:
|
|
2190
|
+
status: 404;
|
|
2071
2191
|
input: {
|
|
2072
2192
|
param: {
|
|
2073
|
-
|
|
2074
|
-
};
|
|
2075
|
-
} & {
|
|
2076
|
-
query: {
|
|
2077
|
-
chainId: string | string[];
|
|
2193
|
+
requestId: string;
|
|
2078
2194
|
};
|
|
2079
2195
|
} & {
|
|
2080
2196
|
json: {
|
|
2081
|
-
|
|
2082
|
-
decimals?: number | undefined;
|
|
2083
|
-
logoUri?: string | undefined;
|
|
2084
|
-
name?: string | undefined;
|
|
2085
|
-
symbol?: string | undefined;
|
|
2197
|
+
reviewNote?: string | undefined;
|
|
2086
2198
|
};
|
|
2087
2199
|
};
|
|
2088
2200
|
} | {
|
|
@@ -2098,19 +2210,11 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2098
2210
|
status: 400 | 413 | 415;
|
|
2099
2211
|
input: {
|
|
2100
2212
|
param: {
|
|
2101
|
-
|
|
2102
|
-
};
|
|
2103
|
-
} & {
|
|
2104
|
-
query: {
|
|
2105
|
-
chainId: string | string[];
|
|
2213
|
+
requestId: string;
|
|
2106
2214
|
};
|
|
2107
2215
|
} & {
|
|
2108
2216
|
json: {
|
|
2109
|
-
|
|
2110
|
-
decimals?: number | undefined;
|
|
2111
|
-
logoUri?: string | undefined;
|
|
2112
|
-
name?: string | undefined;
|
|
2113
|
-
symbol?: string | undefined;
|
|
2217
|
+
reviewNote?: string | undefined;
|
|
2114
2218
|
};
|
|
2115
2219
|
};
|
|
2116
2220
|
} | {
|
|
@@ -2126,19 +2230,11 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2126
2230
|
status: 409;
|
|
2127
2231
|
input: {
|
|
2128
2232
|
param: {
|
|
2129
|
-
|
|
2130
|
-
};
|
|
2131
|
-
} & {
|
|
2132
|
-
query: {
|
|
2133
|
-
chainId: string | string[];
|
|
2233
|
+
requestId: string;
|
|
2134
2234
|
};
|
|
2135
2235
|
} & {
|
|
2136
2236
|
json: {
|
|
2137
|
-
|
|
2138
|
-
decimals?: number | undefined;
|
|
2139
|
-
logoUri?: string | undefined;
|
|
2140
|
-
name?: string | undefined;
|
|
2141
|
-
symbol?: string | undefined;
|
|
2237
|
+
reviewNote?: string | undefined;
|
|
2142
2238
|
};
|
|
2143
2239
|
};
|
|
2144
2240
|
} | {
|
|
@@ -2154,19 +2250,11 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2154
2250
|
status: 409;
|
|
2155
2251
|
input: {
|
|
2156
2252
|
param: {
|
|
2157
|
-
|
|
2158
|
-
};
|
|
2159
|
-
} & {
|
|
2160
|
-
query: {
|
|
2161
|
-
chainId: string | string[];
|
|
2253
|
+
requestId: string;
|
|
2162
2254
|
};
|
|
2163
2255
|
} & {
|
|
2164
2256
|
json: {
|
|
2165
|
-
|
|
2166
|
-
decimals?: number | undefined;
|
|
2167
|
-
logoUri?: string | undefined;
|
|
2168
|
-
name?: string | undefined;
|
|
2169
|
-
symbol?: string | undefined;
|
|
2257
|
+
reviewNote?: string | undefined;
|
|
2170
2258
|
};
|
|
2171
2259
|
};
|
|
2172
2260
|
} | {
|
|
@@ -2182,26 +2270,53 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2182
2270
|
status: 412;
|
|
2183
2271
|
input: {
|
|
2184
2272
|
param: {
|
|
2185
|
-
|
|
2273
|
+
requestId: string;
|
|
2186
2274
|
};
|
|
2187
2275
|
} & {
|
|
2188
|
-
|
|
2189
|
-
|
|
2276
|
+
json: {
|
|
2277
|
+
reviewNote?: string | undefined;
|
|
2278
|
+
};
|
|
2279
|
+
};
|
|
2280
|
+
} | {
|
|
2281
|
+
output: {
|
|
2282
|
+
data: {
|
|
2283
|
+
address: `0x${string}`;
|
|
2284
|
+
currency: string;
|
|
2285
|
+
decimals: number;
|
|
2286
|
+
logoUri?: string | undefined;
|
|
2287
|
+
name: string;
|
|
2288
|
+
symbol: string;
|
|
2289
|
+
chainId: number;
|
|
2290
|
+
createdAt: string;
|
|
2291
|
+
id: string;
|
|
2292
|
+
logo?: string | undefined;
|
|
2293
|
+
note: string | null;
|
|
2294
|
+
orgId: string;
|
|
2295
|
+
requestedBy: string;
|
|
2296
|
+
reviewNote: string | null;
|
|
2297
|
+
reviewedAt: string | null;
|
|
2298
|
+
status: "approved" | "denied" | "pending";
|
|
2299
|
+
updatedAt: string;
|
|
2300
|
+
orgName: string | null;
|
|
2301
|
+
reviewedBy: string | null;
|
|
2302
|
+
};
|
|
2303
|
+
};
|
|
2304
|
+
outputFormat: "json";
|
|
2305
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2306
|
+
input: {
|
|
2307
|
+
param: {
|
|
2308
|
+
requestId: string;
|
|
2190
2309
|
};
|
|
2191
2310
|
} & {
|
|
2192
2311
|
json: {
|
|
2193
|
-
|
|
2194
|
-
decimals?: number | undefined;
|
|
2195
|
-
logoUri?: string | undefined;
|
|
2196
|
-
name?: string | undefined;
|
|
2197
|
-
symbol?: string | undefined;
|
|
2312
|
+
reviewNote?: string | undefined;
|
|
2198
2313
|
};
|
|
2199
2314
|
};
|
|
2200
2315
|
};
|
|
2201
2316
|
};
|
|
2202
|
-
}
|
|
2203
|
-
"
|
|
2204
|
-
$
|
|
2317
|
+
}, "/verified-tokens"> | import("hono/types").MergeSchemaPath<{
|
|
2318
|
+
"/": {
|
|
2319
|
+
$get: {
|
|
2205
2320
|
output: {
|
|
2206
2321
|
error: {
|
|
2207
2322
|
code: "upstream_error";
|
|
@@ -2213,306 +2328,298 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2213
2328
|
outputFormat: "json";
|
|
2214
2329
|
status: 502;
|
|
2215
2330
|
input: {
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
chainId: string | string[];
|
|
2222
|
-
};
|
|
2331
|
+
query?: {
|
|
2332
|
+
cursor?: string | string[];
|
|
2333
|
+
limit?: string | string[];
|
|
2334
|
+
query?: string | string[];
|
|
2335
|
+
} | undefined;
|
|
2223
2336
|
};
|
|
2224
2337
|
} | {
|
|
2338
|
+
output: {
|
|
2339
|
+
data: {
|
|
2340
|
+
createdAt: string;
|
|
2341
|
+
createdBy: string | null;
|
|
2342
|
+
id: string;
|
|
2343
|
+
name: string;
|
|
2344
|
+
updatedAt: string;
|
|
2345
|
+
userId: string | null;
|
|
2346
|
+
memberCount: number;
|
|
2347
|
+
projectCount: number;
|
|
2348
|
+
}[];
|
|
2349
|
+
nextCursor: string | null;
|
|
2350
|
+
};
|
|
2351
|
+
outputFormat: "json";
|
|
2352
|
+
status: 200;
|
|
2353
|
+
input: {
|
|
2354
|
+
query?: {
|
|
2355
|
+
cursor?: string | string[];
|
|
2356
|
+
limit?: string | string[];
|
|
2357
|
+
query?: string | string[];
|
|
2358
|
+
} | undefined;
|
|
2359
|
+
};
|
|
2360
|
+
};
|
|
2361
|
+
};
|
|
2362
|
+
} & {
|
|
2363
|
+
"/:orgId": {
|
|
2364
|
+
$get: {
|
|
2225
2365
|
output: {
|
|
2226
2366
|
error: {
|
|
2227
|
-
code: "
|
|
2367
|
+
code: "upstream_error";
|
|
2228
2368
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2229
2369
|
message: string;
|
|
2230
2370
|
};
|
|
2231
2371
|
requestId: string;
|
|
2232
2372
|
};
|
|
2233
2373
|
outputFormat: "json";
|
|
2234
|
-
status:
|
|
2374
|
+
status: 502;
|
|
2235
2375
|
input: {
|
|
2236
2376
|
param: {
|
|
2237
|
-
|
|
2238
|
-
};
|
|
2239
|
-
} & {
|
|
2240
|
-
query: {
|
|
2241
|
-
chainId: string | string[];
|
|
2377
|
+
orgId: string;
|
|
2242
2378
|
};
|
|
2243
2379
|
};
|
|
2244
2380
|
} | {
|
|
2245
2381
|
output: {
|
|
2246
2382
|
error: {
|
|
2247
|
-
code:
|
|
2383
|
+
code: "not_found";
|
|
2248
2384
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2249
2385
|
message: string;
|
|
2250
2386
|
};
|
|
2251
2387
|
requestId: string;
|
|
2252
2388
|
};
|
|
2253
2389
|
outputFormat: "json";
|
|
2254
|
-
status:
|
|
2390
|
+
status: 404;
|
|
2255
2391
|
input: {
|
|
2256
2392
|
param: {
|
|
2257
|
-
|
|
2258
|
-
};
|
|
2259
|
-
} & {
|
|
2260
|
-
query: {
|
|
2261
|
-
chainId: string | string[];
|
|
2393
|
+
orgId: string;
|
|
2262
2394
|
};
|
|
2263
2395
|
};
|
|
2264
2396
|
} | {
|
|
2265
2397
|
output: {
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2398
|
+
createdAt: string;
|
|
2399
|
+
createdBy: string | null;
|
|
2400
|
+
id: string;
|
|
2401
|
+
name: string;
|
|
2402
|
+
updatedAt: string;
|
|
2403
|
+
userId: string | null;
|
|
2404
|
+
memberCount: number;
|
|
2405
|
+
projectCount: number;
|
|
2406
|
+
billing: {
|
|
2407
|
+
enabledSources: ("stripe" | "tempo")[];
|
|
2408
|
+
production: {
|
|
2409
|
+
settings: {
|
|
2410
|
+
currency: "usd";
|
|
2411
|
+
period: "month";
|
|
2412
|
+
spendLimit: string | null;
|
|
2413
|
+
txFeeLimit: string | null;
|
|
2414
|
+
updatedAt: string;
|
|
2415
|
+
} | null;
|
|
2416
|
+
source: {
|
|
2417
|
+
status: "active" | "canceled" | "none" | "past_due";
|
|
2418
|
+
stripeCustomerId: string;
|
|
2419
|
+
updatedAt: string;
|
|
2420
|
+
} | null;
|
|
2421
|
+
};
|
|
2422
|
+
sandbox: {
|
|
2423
|
+
settings: {
|
|
2424
|
+
currency: "usd";
|
|
2425
|
+
period: "month";
|
|
2426
|
+
spendLimit: string | null;
|
|
2427
|
+
txFeeLimit: string | null;
|
|
2428
|
+
updatedAt: string;
|
|
2429
|
+
} | null;
|
|
2430
|
+
source: {
|
|
2431
|
+
status: "active" | "canceled" | "none" | "past_due";
|
|
2432
|
+
stripeCustomerId: string;
|
|
2433
|
+
updatedAt: string;
|
|
2434
|
+
} | null;
|
|
2435
|
+
};
|
|
2436
|
+
};
|
|
2437
|
+
sponsorshipSubsidy: {
|
|
2438
|
+
durationDays: 90 | null;
|
|
2439
|
+
projectSpendLimit: string | null;
|
|
2270
2440
|
};
|
|
2271
|
-
requestId: string;
|
|
2272
2441
|
};
|
|
2273
2442
|
outputFormat: "json";
|
|
2274
|
-
status:
|
|
2443
|
+
status: 200;
|
|
2275
2444
|
input: {
|
|
2276
2445
|
param: {
|
|
2277
|
-
|
|
2278
|
-
};
|
|
2279
|
-
} & {
|
|
2280
|
-
query: {
|
|
2281
|
-
chainId: string | string[];
|
|
2446
|
+
orgId: string;
|
|
2282
2447
|
};
|
|
2283
2448
|
};
|
|
2284
|
-
}
|
|
2449
|
+
};
|
|
2450
|
+
};
|
|
2451
|
+
} & {
|
|
2452
|
+
"/:orgId/sponsorship": {
|
|
2453
|
+
$put: {
|
|
2285
2454
|
output: {
|
|
2286
2455
|
error: {
|
|
2287
|
-
code: "
|
|
2456
|
+
code: "upstream_error";
|
|
2288
2457
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2289
2458
|
message: string;
|
|
2290
2459
|
};
|
|
2291
2460
|
requestId: string;
|
|
2292
2461
|
};
|
|
2293
2462
|
outputFormat: "json";
|
|
2294
|
-
status:
|
|
2463
|
+
status: 502;
|
|
2295
2464
|
input: {
|
|
2296
2465
|
param: {
|
|
2297
|
-
|
|
2466
|
+
orgId: string;
|
|
2298
2467
|
};
|
|
2299
2468
|
} & {
|
|
2300
|
-
|
|
2301
|
-
|
|
2469
|
+
json: {
|
|
2470
|
+
enabled: true;
|
|
2471
|
+
projectSpendLimit?: string | undefined;
|
|
2472
|
+
} | {
|
|
2473
|
+
enabled: false;
|
|
2302
2474
|
};
|
|
2303
2475
|
};
|
|
2304
2476
|
} | {
|
|
2305
2477
|
output: {
|
|
2306
2478
|
error: {
|
|
2307
|
-
code: "
|
|
2479
|
+
code: "not_found";
|
|
2308
2480
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2309
2481
|
message: string;
|
|
2310
2482
|
};
|
|
2311
2483
|
requestId: string;
|
|
2312
2484
|
};
|
|
2313
2485
|
outputFormat: "json";
|
|
2314
|
-
status:
|
|
2486
|
+
status: 404;
|
|
2315
2487
|
input: {
|
|
2316
2488
|
param: {
|
|
2317
|
-
|
|
2489
|
+
orgId: string;
|
|
2318
2490
|
};
|
|
2319
2491
|
} & {
|
|
2320
|
-
|
|
2321
|
-
|
|
2492
|
+
json: {
|
|
2493
|
+
enabled: true;
|
|
2494
|
+
projectSpendLimit?: string | undefined;
|
|
2495
|
+
} | {
|
|
2496
|
+
enabled: false;
|
|
2322
2497
|
};
|
|
2323
2498
|
};
|
|
2324
2499
|
} | {
|
|
2325
2500
|
output: {
|
|
2326
|
-
|
|
2501
|
+
durationDays: 90 | null;
|
|
2502
|
+
projectSpendLimit: string | null;
|
|
2327
2503
|
};
|
|
2328
2504
|
outputFormat: "json";
|
|
2329
|
-
status:
|
|
2505
|
+
status: 200;
|
|
2330
2506
|
input: {
|
|
2331
2507
|
param: {
|
|
2332
|
-
|
|
2508
|
+
orgId: string;
|
|
2333
2509
|
};
|
|
2334
2510
|
} & {
|
|
2335
|
-
|
|
2336
|
-
|
|
2511
|
+
json: {
|
|
2512
|
+
enabled: true;
|
|
2513
|
+
projectSpendLimit?: string | undefined;
|
|
2514
|
+
} | {
|
|
2515
|
+
enabled: false;
|
|
2337
2516
|
};
|
|
2338
2517
|
};
|
|
2339
2518
|
};
|
|
2340
2519
|
};
|
|
2341
2520
|
} & {
|
|
2342
|
-
"/:
|
|
2343
|
-
$
|
|
2344
|
-
output: ArrayBuffer;
|
|
2345
|
-
outputFormat: "body";
|
|
2346
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2347
|
-
input: {
|
|
2348
|
-
param: {
|
|
2349
|
-
address: `0x${string}`;
|
|
2350
|
-
};
|
|
2351
|
-
} & {
|
|
2352
|
-
query: {
|
|
2353
|
-
chainId: string | string[];
|
|
2354
|
-
};
|
|
2355
|
-
};
|
|
2356
|
-
} | {
|
|
2521
|
+
"/:orgId/billing-sources/:source": {
|
|
2522
|
+
$put: {
|
|
2357
2523
|
output: {
|
|
2358
2524
|
error: {
|
|
2359
|
-
code: "
|
|
2525
|
+
code: "upstream_error";
|
|
2360
2526
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2361
2527
|
message: string;
|
|
2362
2528
|
};
|
|
2363
2529
|
requestId: string;
|
|
2364
2530
|
};
|
|
2365
2531
|
outputFormat: "json";
|
|
2366
|
-
status:
|
|
2532
|
+
status: 502;
|
|
2367
2533
|
input: {
|
|
2368
2534
|
param: {
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
} & {
|
|
2372
|
-
query: {
|
|
2373
|
-
chainId: string | string[];
|
|
2535
|
+
orgId: string;
|
|
2536
|
+
source: "stripe" | "tempo";
|
|
2374
2537
|
};
|
|
2375
2538
|
};
|
|
2376
|
-
}
|
|
2377
|
-
};
|
|
2378
|
-
} & {
|
|
2379
|
-
"/:address/logo": {
|
|
2380
|
-
$put: {
|
|
2539
|
+
} | {
|
|
2381
2540
|
output: {
|
|
2382
2541
|
error: {
|
|
2383
|
-
code: "
|
|
2542
|
+
code: "not_found";
|
|
2384
2543
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2385
2544
|
message: string;
|
|
2386
2545
|
};
|
|
2387
2546
|
requestId: string;
|
|
2388
2547
|
};
|
|
2389
2548
|
outputFormat: "json";
|
|
2390
|
-
status:
|
|
2549
|
+
status: 404;
|
|
2391
2550
|
input: {
|
|
2392
2551
|
param: {
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
} & {
|
|
2396
|
-
query: {
|
|
2397
|
-
chainId: string | string[];
|
|
2552
|
+
orgId: string;
|
|
2553
|
+
source: "stripe" | "tempo";
|
|
2398
2554
|
};
|
|
2399
2555
|
};
|
|
2400
2556
|
} | {
|
|
2401
2557
|
output: {
|
|
2402
|
-
|
|
2403
|
-
code: "assets_not_enabled";
|
|
2404
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
2405
|
-
message: string;
|
|
2406
|
-
};
|
|
2407
|
-
requestId: string;
|
|
2558
|
+
data: ("stripe" | "tempo")[];
|
|
2408
2559
|
};
|
|
2409
2560
|
outputFormat: "json";
|
|
2410
|
-
status:
|
|
2561
|
+
status: 200;
|
|
2411
2562
|
input: {
|
|
2412
2563
|
param: {
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
} & {
|
|
2416
|
-
query: {
|
|
2417
|
-
chainId: string | string[];
|
|
2564
|
+
orgId: string;
|
|
2565
|
+
source: "stripe" | "tempo";
|
|
2418
2566
|
};
|
|
2419
2567
|
};
|
|
2420
|
-
}
|
|
2568
|
+
};
|
|
2569
|
+
};
|
|
2570
|
+
} & {
|
|
2571
|
+
"/:orgId/billing-sources/:source": {
|
|
2572
|
+
$delete: {
|
|
2421
2573
|
output: {
|
|
2422
2574
|
error: {
|
|
2423
|
-
code: "
|
|
2575
|
+
code: "upstream_error";
|
|
2424
2576
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2425
2577
|
message: string;
|
|
2426
2578
|
};
|
|
2427
2579
|
requestId: string;
|
|
2428
2580
|
};
|
|
2429
2581
|
outputFormat: "json";
|
|
2430
|
-
status:
|
|
2582
|
+
status: 502;
|
|
2431
2583
|
input: {
|
|
2432
2584
|
param: {
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
} & {
|
|
2436
|
-
query: {
|
|
2437
|
-
chainId: string | string[];
|
|
2585
|
+
orgId: string;
|
|
2586
|
+
source: "stripe" | "tempo";
|
|
2438
2587
|
};
|
|
2439
2588
|
};
|
|
2440
2589
|
} | {
|
|
2441
2590
|
output: {
|
|
2442
2591
|
error: {
|
|
2443
|
-
code: "
|
|
2592
|
+
code: "not_found";
|
|
2444
2593
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2445
2594
|
message: string;
|
|
2446
2595
|
};
|
|
2447
2596
|
requestId: string;
|
|
2448
2597
|
};
|
|
2449
2598
|
outputFormat: "json";
|
|
2450
|
-
status:
|
|
2599
|
+
status: 404;
|
|
2451
2600
|
input: {
|
|
2452
2601
|
param: {
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
} & {
|
|
2456
|
-
query: {
|
|
2457
|
-
chainId: string | string[];
|
|
2602
|
+
orgId: string;
|
|
2603
|
+
source: "stripe" | "tempo";
|
|
2458
2604
|
};
|
|
2459
2605
|
};
|
|
2460
2606
|
} | {
|
|
2461
2607
|
output: {
|
|
2462
|
-
|
|
2463
|
-
path: string;
|
|
2608
|
+
data: ("stripe" | "tempo")[];
|
|
2464
2609
|
};
|
|
2465
2610
|
outputFormat: "json";
|
|
2466
|
-
status:
|
|
2611
|
+
status: 200;
|
|
2467
2612
|
input: {
|
|
2468
2613
|
param: {
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
} & {
|
|
2472
|
-
query: {
|
|
2473
|
-
chainId: string | string[];
|
|
2614
|
+
orgId: string;
|
|
2615
|
+
source: "stripe" | "tempo";
|
|
2474
2616
|
};
|
|
2475
2617
|
};
|
|
2476
2618
|
};
|
|
2477
2619
|
};
|
|
2478
2620
|
} & {
|
|
2479
|
-
"/
|
|
2621
|
+
"/:orgId/members": {
|
|
2480
2622
|
$get: {
|
|
2481
|
-
output: {
|
|
2482
|
-
data: {
|
|
2483
|
-
address: `0x${string}`;
|
|
2484
|
-
currency: string;
|
|
2485
|
-
decimals: number;
|
|
2486
|
-
logoUri?: string | undefined;
|
|
2487
|
-
name: string;
|
|
2488
|
-
symbol: string;
|
|
2489
|
-
chainId: number;
|
|
2490
|
-
createdAt: string;
|
|
2491
|
-
id: string;
|
|
2492
|
-
logo?: string | undefined;
|
|
2493
|
-
note: string | null;
|
|
2494
|
-
orgId: string;
|
|
2495
|
-
requestedBy: string;
|
|
2496
|
-
reviewNote: string | null;
|
|
2497
|
-
reviewedAt: string | null;
|
|
2498
|
-
status: "approved" | "denied" | "pending";
|
|
2499
|
-
updatedAt: string;
|
|
2500
|
-
orgName: string | null;
|
|
2501
|
-
reviewedBy: string | null;
|
|
2502
|
-
}[];
|
|
2503
|
-
};
|
|
2504
|
-
outputFormat: "json";
|
|
2505
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2506
|
-
input: {
|
|
2507
|
-
query?: {
|
|
2508
|
-
status?: string | string[];
|
|
2509
|
-
} | undefined;
|
|
2510
|
-
};
|
|
2511
|
-
};
|
|
2512
|
-
};
|
|
2513
|
-
} & {
|
|
2514
|
-
"/requests/:requestId/approve": {
|
|
2515
|
-
$post: {
|
|
2516
2623
|
output: {
|
|
2517
2624
|
error: {
|
|
2518
2625
|
code: "upstream_error";
|
|
@@ -2525,13 +2632,18 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2525
2632
|
status: 502;
|
|
2526
2633
|
input: {
|
|
2527
2634
|
param: {
|
|
2528
|
-
|
|
2635
|
+
orgId: string;
|
|
2529
2636
|
};
|
|
2637
|
+
} & {
|
|
2638
|
+
query?: {
|
|
2639
|
+
cursor?: string | string[];
|
|
2640
|
+
limit?: string | string[];
|
|
2641
|
+
} | undefined;
|
|
2530
2642
|
};
|
|
2531
2643
|
} | {
|
|
2532
2644
|
output: {
|
|
2533
2645
|
error: {
|
|
2534
|
-
code: "
|
|
2646
|
+
code: "not_found";
|
|
2535
2647
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2536
2648
|
message: string;
|
|
2537
2649
|
};
|
|
@@ -2541,45 +2653,67 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2541
2653
|
status: 404;
|
|
2542
2654
|
input: {
|
|
2543
2655
|
param: {
|
|
2544
|
-
|
|
2656
|
+
orgId: string;
|
|
2545
2657
|
};
|
|
2658
|
+
} & {
|
|
2659
|
+
query?: {
|
|
2660
|
+
cursor?: string | string[];
|
|
2661
|
+
limit?: string | string[];
|
|
2662
|
+
} | undefined;
|
|
2546
2663
|
};
|
|
2547
2664
|
} | {
|
|
2548
2665
|
output: {
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2666
|
+
data: {
|
|
2667
|
+
address: string | null;
|
|
2668
|
+
createdAt: string;
|
|
2669
|
+
email: string | null;
|
|
2670
|
+
role: "admin" | "member" | "owner";
|
|
2671
|
+
updatedAt: string;
|
|
2672
|
+
userId: string;
|
|
2673
|
+
}[];
|
|
2674
|
+
nextCursor: string | null;
|
|
2555
2675
|
};
|
|
2556
2676
|
outputFormat: "json";
|
|
2557
|
-
status:
|
|
2677
|
+
status: 200;
|
|
2558
2678
|
input: {
|
|
2559
2679
|
param: {
|
|
2560
|
-
|
|
2680
|
+
orgId: string;
|
|
2561
2681
|
};
|
|
2682
|
+
} & {
|
|
2683
|
+
query?: {
|
|
2684
|
+
cursor?: string | string[];
|
|
2685
|
+
limit?: string | string[];
|
|
2686
|
+
} | undefined;
|
|
2562
2687
|
};
|
|
2563
|
-
}
|
|
2688
|
+
};
|
|
2689
|
+
};
|
|
2690
|
+
} & {
|
|
2691
|
+
"/:orgId/projects": {
|
|
2692
|
+
$get: {
|
|
2564
2693
|
output: {
|
|
2565
2694
|
error: {
|
|
2566
|
-
code: "
|
|
2695
|
+
code: "upstream_error";
|
|
2567
2696
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2568
2697
|
message: string;
|
|
2569
2698
|
};
|
|
2570
2699
|
requestId: string;
|
|
2571
2700
|
};
|
|
2572
2701
|
outputFormat: "json";
|
|
2573
|
-
status:
|
|
2702
|
+
status: 502;
|
|
2574
2703
|
input: {
|
|
2575
2704
|
param: {
|
|
2576
|
-
|
|
2705
|
+
orgId: string;
|
|
2577
2706
|
};
|
|
2707
|
+
} & {
|
|
2708
|
+
query?: {
|
|
2709
|
+
cursor?: string | string[];
|
|
2710
|
+
limit?: string | string[];
|
|
2711
|
+
} | undefined;
|
|
2578
2712
|
};
|
|
2579
2713
|
} | {
|
|
2580
2714
|
output: {
|
|
2581
2715
|
error: {
|
|
2582
|
-
code: "
|
|
2716
|
+
code: "not_found";
|
|
2583
2717
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2584
2718
|
message: string;
|
|
2585
2719
|
};
|
|
@@ -2589,109 +2723,107 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2589
2723
|
status: 404;
|
|
2590
2724
|
input: {
|
|
2591
2725
|
param: {
|
|
2592
|
-
|
|
2593
|
-
};
|
|
2594
|
-
};
|
|
2595
|
-
} | {
|
|
2596
|
-
output: {
|
|
2597
|
-
error: {
|
|
2598
|
-
code: string;
|
|
2599
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
2600
|
-
message: string;
|
|
2601
|
-
};
|
|
2602
|
-
requestId: string;
|
|
2603
|
-
};
|
|
2604
|
-
outputFormat: "json";
|
|
2605
|
-
status: 400 | 413 | 415;
|
|
2606
|
-
input: {
|
|
2607
|
-
param: {
|
|
2608
|
-
requestId: string;
|
|
2609
|
-
};
|
|
2610
|
-
};
|
|
2611
|
-
} | {
|
|
2612
|
-
output: {
|
|
2613
|
-
error: {
|
|
2614
|
-
code: "duplicate_address";
|
|
2615
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
2616
|
-
message: string;
|
|
2726
|
+
orgId: string;
|
|
2617
2727
|
};
|
|
2618
|
-
|
|
2728
|
+
} & {
|
|
2729
|
+
query?: {
|
|
2730
|
+
cursor?: string | string[];
|
|
2731
|
+
limit?: string | string[];
|
|
2732
|
+
} | undefined;
|
|
2733
|
+
};
|
|
2734
|
+
} | {
|
|
2735
|
+
output: {
|
|
2736
|
+
data: {
|
|
2737
|
+
createdAt: string;
|
|
2738
|
+
id: string;
|
|
2739
|
+
name: string;
|
|
2740
|
+
updatedAt: string;
|
|
2741
|
+
}[];
|
|
2742
|
+
nextCursor: string | null;
|
|
2619
2743
|
};
|
|
2620
2744
|
outputFormat: "json";
|
|
2621
|
-
status:
|
|
2745
|
+
status: 200;
|
|
2622
2746
|
input: {
|
|
2623
2747
|
param: {
|
|
2624
|
-
|
|
2748
|
+
orgId: string;
|
|
2625
2749
|
};
|
|
2750
|
+
} & {
|
|
2751
|
+
query?: {
|
|
2752
|
+
cursor?: string | string[];
|
|
2753
|
+
limit?: string | string[];
|
|
2754
|
+
} | undefined;
|
|
2626
2755
|
};
|
|
2627
|
-
}
|
|
2756
|
+
};
|
|
2757
|
+
};
|
|
2758
|
+
} & {
|
|
2759
|
+
"/:orgId/api-keys": {
|
|
2760
|
+
$get: {
|
|
2628
2761
|
output: {
|
|
2629
2762
|
error: {
|
|
2630
|
-
code: "
|
|
2763
|
+
code: "upstream_error";
|
|
2631
2764
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2632
2765
|
message: string;
|
|
2633
2766
|
};
|
|
2634
2767
|
requestId: string;
|
|
2635
2768
|
};
|
|
2636
2769
|
outputFormat: "json";
|
|
2637
|
-
status:
|
|
2770
|
+
status: 502;
|
|
2638
2771
|
input: {
|
|
2639
2772
|
param: {
|
|
2640
|
-
|
|
2773
|
+
orgId: string;
|
|
2641
2774
|
};
|
|
2642
2775
|
};
|
|
2643
2776
|
} | {
|
|
2644
2777
|
output: {
|
|
2645
2778
|
error: {
|
|
2646
|
-
code: "
|
|
2779
|
+
code: "not_found";
|
|
2647
2780
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2648
2781
|
message: string;
|
|
2649
2782
|
};
|
|
2650
2783
|
requestId: string;
|
|
2651
2784
|
};
|
|
2652
2785
|
outputFormat: "json";
|
|
2653
|
-
status:
|
|
2786
|
+
status: 404;
|
|
2654
2787
|
input: {
|
|
2655
2788
|
param: {
|
|
2656
|
-
|
|
2789
|
+
orgId: string;
|
|
2657
2790
|
};
|
|
2658
2791
|
};
|
|
2659
2792
|
} | {
|
|
2660
2793
|
output: {
|
|
2661
2794
|
data: {
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
logoUri?: string | undefined;
|
|
2666
|
-
name: string;
|
|
2667
|
-
symbol: string;
|
|
2668
|
-
chainId: number;
|
|
2669
|
-
createdAt: string;
|
|
2795
|
+
allowedIps: readonly string[];
|
|
2796
|
+
billingActive?: boolean | undefined;
|
|
2797
|
+
environment: "production" | "sandbox";
|
|
2670
2798
|
id: string;
|
|
2671
|
-
|
|
2672
|
-
note: string | null;
|
|
2799
|
+
name?: string | undefined;
|
|
2673
2800
|
orgId: string;
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2801
|
+
projectId?: string | undefined;
|
|
2802
|
+
rateLimits?: {
|
|
2803
|
+
[x: string]: {
|
|
2804
|
+
limit: number;
|
|
2805
|
+
period: "minute" | "second";
|
|
2806
|
+
};
|
|
2807
|
+
} | undefined;
|
|
2808
|
+
scopes: readonly string[];
|
|
2809
|
+
createdAt: string;
|
|
2810
|
+
createdBy?: string | undefined;
|
|
2811
|
+
expiresAt?: string | undefined;
|
|
2812
|
+
tokenLast4: string;
|
|
2813
|
+
}[];
|
|
2682
2814
|
};
|
|
2683
2815
|
outputFormat: "json";
|
|
2684
|
-
status:
|
|
2816
|
+
status: 200;
|
|
2685
2817
|
input: {
|
|
2686
2818
|
param: {
|
|
2687
|
-
|
|
2819
|
+
orgId: string;
|
|
2688
2820
|
};
|
|
2689
2821
|
};
|
|
2690
2822
|
};
|
|
2691
2823
|
};
|
|
2692
2824
|
} & {
|
|
2693
|
-
"
|
|
2694
|
-
$
|
|
2825
|
+
"/:orgId/usage": {
|
|
2826
|
+
$get: {
|
|
2695
2827
|
output: {
|
|
2696
2828
|
error: {
|
|
2697
2829
|
code: "upstream_error";
|
|
@@ -2704,17 +2836,17 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2704
2836
|
status: 502;
|
|
2705
2837
|
input: {
|
|
2706
2838
|
param: {
|
|
2707
|
-
|
|
2839
|
+
orgId: string;
|
|
2708
2840
|
};
|
|
2709
2841
|
} & {
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
};
|
|
2842
|
+
query?: {
|
|
2843
|
+
period?: string | string[];
|
|
2844
|
+
} | undefined;
|
|
2713
2845
|
};
|
|
2714
2846
|
} | {
|
|
2715
2847
|
output: {
|
|
2716
2848
|
error: {
|
|
2717
|
-
code: "
|
|
2849
|
+
code: "not_found";
|
|
2718
2850
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2719
2851
|
message: string;
|
|
2720
2852
|
};
|
|
@@ -2724,171 +2856,179 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2724
2856
|
status: 404;
|
|
2725
2857
|
input: {
|
|
2726
2858
|
param: {
|
|
2727
|
-
|
|
2859
|
+
orgId: string;
|
|
2728
2860
|
};
|
|
2729
2861
|
} & {
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
};
|
|
2862
|
+
query?: {
|
|
2863
|
+
period?: string | string[];
|
|
2864
|
+
} | undefined;
|
|
2733
2865
|
};
|
|
2734
2866
|
} | {
|
|
2735
2867
|
output: {
|
|
2736
|
-
|
|
2737
|
-
code:
|
|
2738
|
-
|
|
2739
|
-
|
|
2868
|
+
byError: {
|
|
2869
|
+
code: string;
|
|
2870
|
+
requests: number;
|
|
2871
|
+
}[];
|
|
2872
|
+
byRoute: {
|
|
2873
|
+
errors: number;
|
|
2874
|
+
requests: number;
|
|
2875
|
+
averageDurationMs: number;
|
|
2876
|
+
route: string;
|
|
2877
|
+
}[];
|
|
2878
|
+
byStatus: {
|
|
2879
|
+
requests: number;
|
|
2880
|
+
status: number;
|
|
2881
|
+
}[];
|
|
2882
|
+
from: string;
|
|
2883
|
+
period: "24h" | "30d" | "7d";
|
|
2884
|
+
to: string;
|
|
2885
|
+
totals: {
|
|
2886
|
+
errors: number;
|
|
2887
|
+
requests: number;
|
|
2888
|
+
averageDurationMs: number;
|
|
2740
2889
|
};
|
|
2741
|
-
requestId: string;
|
|
2742
2890
|
};
|
|
2743
2891
|
outputFormat: "json";
|
|
2744
|
-
status:
|
|
2892
|
+
status: 200;
|
|
2745
2893
|
input: {
|
|
2746
2894
|
param: {
|
|
2747
|
-
|
|
2895
|
+
orgId: string;
|
|
2748
2896
|
};
|
|
2749
2897
|
} & {
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
};
|
|
2898
|
+
query?: {
|
|
2899
|
+
period?: string | string[];
|
|
2900
|
+
} | undefined;
|
|
2753
2901
|
};
|
|
2754
|
-
}
|
|
2902
|
+
};
|
|
2903
|
+
};
|
|
2904
|
+
} & {
|
|
2905
|
+
"/:orgId/sponsorship": {
|
|
2906
|
+
$get: {
|
|
2755
2907
|
output: {
|
|
2756
2908
|
error: {
|
|
2757
|
-
code: "
|
|
2909
|
+
code: "upstream_error";
|
|
2758
2910
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2759
2911
|
message: string;
|
|
2760
2912
|
};
|
|
2761
2913
|
requestId: string;
|
|
2762
2914
|
};
|
|
2763
2915
|
outputFormat: "json";
|
|
2764
|
-
status:
|
|
2916
|
+
status: 502;
|
|
2765
2917
|
input: {
|
|
2766
2918
|
param: {
|
|
2767
|
-
|
|
2768
|
-
};
|
|
2769
|
-
} & {
|
|
2770
|
-
json: {
|
|
2771
|
-
reviewNote?: string | undefined;
|
|
2919
|
+
orgId: string;
|
|
2772
2920
|
};
|
|
2773
2921
|
};
|
|
2774
2922
|
} | {
|
|
2775
2923
|
output: {
|
|
2776
2924
|
error: {
|
|
2777
|
-
code:
|
|
2925
|
+
code: "not_found";
|
|
2778
2926
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2779
2927
|
message: string;
|
|
2780
2928
|
};
|
|
2781
2929
|
requestId: string;
|
|
2782
2930
|
};
|
|
2783
2931
|
outputFormat: "json";
|
|
2784
|
-
status:
|
|
2932
|
+
status: 404;
|
|
2785
2933
|
input: {
|
|
2786
2934
|
param: {
|
|
2787
|
-
|
|
2788
|
-
};
|
|
2789
|
-
} & {
|
|
2790
|
-
json: {
|
|
2791
|
-
reviewNote?: string | undefined;
|
|
2935
|
+
orgId: string;
|
|
2792
2936
|
};
|
|
2793
2937
|
};
|
|
2794
2938
|
} | {
|
|
2795
2939
|
output: {
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2940
|
+
production: {
|
|
2941
|
+
committedSpend: string;
|
|
2942
|
+
currency: "usd";
|
|
2943
|
+
from: string;
|
|
2944
|
+
period: "month";
|
|
2800
2945
|
};
|
|
2801
|
-
|
|
2946
|
+
sandbox: {
|
|
2947
|
+
committedSpend: string;
|
|
2948
|
+
currency: "usd";
|
|
2949
|
+
from: string;
|
|
2950
|
+
period: "month";
|
|
2951
|
+
};
|
|
2952
|
+
to: string;
|
|
2802
2953
|
};
|
|
2803
2954
|
outputFormat: "json";
|
|
2804
|
-
status:
|
|
2955
|
+
status: 200;
|
|
2805
2956
|
input: {
|
|
2806
2957
|
param: {
|
|
2807
|
-
|
|
2808
|
-
};
|
|
2809
|
-
} & {
|
|
2810
|
-
json: {
|
|
2811
|
-
reviewNote?: string | undefined;
|
|
2958
|
+
orgId: string;
|
|
2812
2959
|
};
|
|
2813
2960
|
};
|
|
2814
|
-
}
|
|
2961
|
+
};
|
|
2962
|
+
};
|
|
2963
|
+
} & {
|
|
2964
|
+
"/:orgId/webhooks": {
|
|
2965
|
+
$get: {
|
|
2815
2966
|
output: {
|
|
2816
2967
|
error: {
|
|
2817
|
-
code: "
|
|
2968
|
+
code: "upstream_error";
|
|
2818
2969
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2819
2970
|
message: string;
|
|
2820
2971
|
};
|
|
2821
2972
|
requestId: string;
|
|
2822
2973
|
};
|
|
2823
2974
|
outputFormat: "json";
|
|
2824
|
-
status:
|
|
2975
|
+
status: 502;
|
|
2825
2976
|
input: {
|
|
2826
2977
|
param: {
|
|
2827
|
-
|
|
2828
|
-
};
|
|
2829
|
-
} & {
|
|
2830
|
-
json: {
|
|
2831
|
-
reviewNote?: string | undefined;
|
|
2978
|
+
orgId: string;
|
|
2832
2979
|
};
|
|
2833
2980
|
};
|
|
2834
2981
|
} | {
|
|
2835
2982
|
output: {
|
|
2836
2983
|
error: {
|
|
2837
|
-
code: "
|
|
2984
|
+
code: "not_found";
|
|
2838
2985
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2839
2986
|
message: string;
|
|
2840
2987
|
};
|
|
2841
2988
|
requestId: string;
|
|
2842
2989
|
};
|
|
2843
2990
|
outputFormat: "json";
|
|
2844
|
-
status:
|
|
2991
|
+
status: 404;
|
|
2845
2992
|
input: {
|
|
2846
2993
|
param: {
|
|
2847
|
-
|
|
2848
|
-
};
|
|
2849
|
-
} & {
|
|
2850
|
-
json: {
|
|
2851
|
-
reviewNote?: string | undefined;
|
|
2994
|
+
orgId: string;
|
|
2852
2995
|
};
|
|
2853
2996
|
};
|
|
2854
2997
|
} | {
|
|
2855
2998
|
output: {
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2999
|
+
failureCount: number;
|
|
3000
|
+
failures: {
|
|
3001
|
+
attempt: number;
|
|
3002
|
+
createdAt: string;
|
|
3003
|
+
error: string | null;
|
|
3004
|
+
id: string;
|
|
3005
|
+
responseStatus: number | null;
|
|
3006
|
+
subscriptionId: string;
|
|
3007
|
+
}[];
|
|
3008
|
+
failuresTruncated: boolean;
|
|
3009
|
+
from: string;
|
|
3010
|
+
subscriptions: {
|
|
2863
3011
|
chainId: number;
|
|
2864
3012
|
createdAt: string;
|
|
3013
|
+
destination: string;
|
|
3014
|
+
eventType: string;
|
|
3015
|
+
failureCount: number;
|
|
2865
3016
|
id: string;
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
reviewNote: string | null;
|
|
2871
|
-
reviewedAt: string | null;
|
|
2872
|
-
status: "approved" | "denied" | "pending";
|
|
2873
|
-
updatedAt: string;
|
|
2874
|
-
orgName: string | null;
|
|
2875
|
-
reviewedBy: string | null;
|
|
2876
|
-
};
|
|
3017
|
+
lastDeliveryAt: string | null;
|
|
3018
|
+
status: "active" | "disabled" | "paused";
|
|
3019
|
+
}[];
|
|
3020
|
+
to: string;
|
|
2877
3021
|
};
|
|
2878
3022
|
outputFormat: "json";
|
|
2879
|
-
status:
|
|
3023
|
+
status: 200;
|
|
2880
3024
|
input: {
|
|
2881
3025
|
param: {
|
|
2882
|
-
|
|
2883
|
-
};
|
|
2884
|
-
} & {
|
|
2885
|
-
json: {
|
|
2886
|
-
reviewNote?: string | undefined;
|
|
3026
|
+
orgId: string;
|
|
2887
3027
|
};
|
|
2888
3028
|
};
|
|
2889
3029
|
};
|
|
2890
3030
|
};
|
|
2891
|
-
}, "/
|
|
3031
|
+
}, "/organizations"> | {
|
|
2892
3032
|
"/config.json": {
|
|
2893
3033
|
$get: {
|
|
2894
3034
|
output: {
|