tapimo 0.0.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -16
- package/dist/ApiKey.d.ts +14 -11
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +11 -12
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +207 -0
- package/dist/ApiKeys.d.ts.map +1 -0
- package/dist/ApiKeys.js +282 -0
- package/dist/ApiKeys.js.map +1 -0
- package/dist/App.d.ts +6771 -3819
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +145 -317
- package/dist/App.js.map +1 -1
- package/dist/Handler.d.ts +86 -0
- package/dist/Handler.d.ts.map +1 -0
- package/dist/Handler.js +83 -0
- package/dist/Handler.js.map +1 -0
- package/dist/Scope.d.ts +14 -4
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +16 -4
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +5 -7
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +11 -4
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/Access.d.ts +1 -3
- package/dist/admin/Access.d.ts.map +1 -1
- package/dist/admin/Access.js +1 -3
- package/dist/admin/Access.js.map +1 -1
- package/dist/admin/App.d.ts +167 -205
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +2 -4
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +105 -5
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +75 -9
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +6 -0
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +35 -149
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +18 -39
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +1 -1
- package/dist/apps/data/App.d.ts +19176 -0
- package/dist/apps/data/App.d.ts.map +1 -0
- package/dist/apps/data/App.js +236 -0
- package/dist/apps/data/App.js.map +1 -0
- package/dist/apps/data/index.d.ts +3 -0
- package/dist/apps/data/index.d.ts.map +1 -0
- package/dist/apps/data/index.js +3 -0
- package/dist/apps/data/index.js.map +1 -0
- package/dist/apps/{activities.d.ts → data/routes/activities.d.ts} +32 -32
- package/dist/apps/{activities.d.ts.map → data/routes/activities.d.ts.map} +1 -1
- package/dist/apps/{activities.js → data/routes/activities.js} +13 -13
- package/dist/apps/data/routes/activities.js.map +1 -0
- package/dist/apps/{addresses.d.ts → data/routes/addresses.d.ts} +22 -22
- package/dist/apps/{addresses.d.ts.map → data/routes/addresses.d.ts.map} +1 -1
- package/dist/apps/{addresses.js → data/routes/addresses.js} +5 -5
- package/dist/apps/data/routes/addresses.js.map +1 -0
- package/dist/apps/{balances.d.ts → data/routes/balances.d.ts} +49 -49
- package/dist/apps/data/routes/balances.d.ts.map +1 -0
- package/dist/apps/{balances.js → data/routes/balances.js} +42 -11
- package/dist/apps/data/routes/balances.js.map +1 -0
- package/dist/apps/{blocks.d.ts → data/routes/blocks.d.ts} +47 -47
- package/dist/apps/data/routes/blocks.d.ts.map +1 -0
- package/dist/apps/{blocks.js → data/routes/blocks.js} +13 -13
- package/dist/apps/data/routes/blocks.js.map +1 -0
- package/dist/apps/{coingecko.d.ts → data/routes/coingecko.d.ts} +183 -183
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -0
- package/dist/apps/{coingecko.js → data/routes/coingecko.js} +13 -13
- package/dist/apps/data/routes/coingecko.js.map +1 -0
- package/dist/apps/{exchanges.d.ts → data/routes/exchanges.d.ts} +460 -460
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -0
- package/dist/apps/{exchanges.js → data/routes/exchanges.js} +19 -19
- package/dist/apps/data/routes/exchanges.js.map +1 -0
- package/dist/apps/{fee-amm.d.ts → data/routes/fee-amm.d.ts} +94 -94
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -0
- package/dist/apps/{fee-amm.js → data/routes/fee-amm.js} +17 -17
- package/dist/apps/data/routes/fee-amm.js.map +1 -0
- package/dist/apps/{indexer.d.ts → data/routes/indexer.d.ts} +4 -4
- package/dist/apps/data/routes/indexer.d.ts.map +1 -0
- package/dist/apps/{indexer.js → data/routes/indexer.js} +13 -9
- package/dist/apps/data/routes/indexer.js.map +1 -0
- package/dist/apps/{receipts.d.ts → data/routes/receipts.d.ts} +6 -6
- package/dist/apps/data/routes/receipts.d.ts.map +1 -0
- package/dist/apps/{receipts.js → data/routes/receipts.js} +12 -12
- package/dist/apps/data/routes/receipts.js.map +1 -0
- package/dist/apps/{rpc.d.ts → data/routes/rpc.d.ts} +4 -4
- package/dist/apps/data/routes/rpc.d.ts.map +1 -0
- package/dist/apps/{rpc.js → data/routes/rpc.js} +6 -6
- package/dist/apps/data/routes/rpc.js.map +1 -0
- package/dist/apps/{tokenlist.d.ts → data/routes/tokenlist.d.ts} +4 -4
- package/dist/apps/data/routes/tokenlist.d.ts.map +1 -0
- package/dist/apps/{tokenlist.js → data/routes/tokenlist.js} +8 -8
- package/dist/apps/data/routes/tokenlist.js.map +1 -0
- package/dist/apps/{tokens.d.ts → data/routes/tokens.d.ts} +11 -11
- package/dist/apps/data/routes/tokens.d.ts.map +1 -0
- package/dist/apps/{tokens.js → data/routes/tokens.js} +19 -19
- package/dist/apps/data/routes/tokens.js.map +1 -0
- package/dist/apps/{transactions.d.ts → data/routes/transactions.d.ts} +288 -288
- package/dist/apps/data/routes/transactions.d.ts.map +1 -0
- package/dist/apps/{transactions.js → data/routes/transactions.js} +13 -13
- package/dist/apps/data/routes/transactions.js.map +1 -0
- package/dist/apps/{transfers.d.ts → data/routes/transfers.d.ts} +35 -35
- package/dist/apps/data/routes/transfers.d.ts.map +1 -0
- package/dist/apps/{transfers.js → data/routes/transfers.js} +13 -13
- package/dist/apps/data/routes/transfers.js.map +1 -0
- package/dist/apps/{verified-tokens.d.ts → data/routes/verified-tokens.d.ts} +42 -42
- package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -0
- package/dist/apps/{verified-tokens.js → data/routes/verified-tokens.js} +9 -9
- package/dist/apps/data/routes/verified-tokens.js.map +1 -0
- package/dist/apps/{webhooks.d.ts → data/routes/webhooks.d.ts} +66 -63
- package/dist/apps/{webhooks.d.ts.map → data/routes/webhooks.d.ts.map} +1 -1
- package/dist/apps/{webhooks.js → data/routes/webhooks.js} +67 -59
- package/dist/apps/data/routes/webhooks.js.map +1 -0
- package/dist/apps/docs/App.d.ts +27 -0
- package/dist/apps/docs/App.d.ts.map +1 -0
- package/dist/apps/docs/App.js +122 -0
- package/dist/apps/docs/App.js.map +1 -0
- package/dist/{internal/OpenApi.fonts.d.ts → apps/docs/fonts.d.ts} +1 -1
- package/dist/apps/docs/fonts.d.ts.map +1 -0
- package/dist/{internal/OpenApi.fonts.js → apps/docs/fonts.js} +1 -1
- package/dist/apps/docs/fonts.js.map +1 -0
- package/dist/apps/docs/index.d.ts +2 -0
- package/dist/apps/docs/index.d.ts.map +1 -0
- package/dist/apps/docs/index.js +2 -0
- package/dist/apps/docs/index.js.map +1 -0
- package/dist/{internal/OpenApi.logo.d.ts → apps/docs/logo.d.ts} +1 -1
- package/dist/apps/docs/logo.d.ts.map +1 -0
- package/dist/{internal/OpenApi.logo.js → apps/docs/logo.js} +1 -1
- package/dist/apps/docs/logo.js.map +1 -0
- package/dist/apps/index.d.ts +4 -0
- package/dist/apps/index.d.ts.map +1 -0
- package/dist/apps/index.js +4 -0
- package/dist/apps/index.js.map +1 -0
- package/dist/apps/metadata.d.ts +7 -0
- package/dist/apps/metadata.d.ts.map +1 -0
- package/dist/apps/metadata.js +15 -0
- package/dist/apps/metadata.js.map +1 -0
- package/dist/apps/platform/App.d.ts +2985 -0
- package/dist/apps/platform/App.d.ts.map +1 -0
- package/dist/apps/platform/App.js +74 -0
- package/dist/apps/platform/App.js.map +1 -0
- package/dist/apps/platform/index.d.ts +2 -0
- package/dist/apps/platform/index.d.ts.map +1 -0
- package/dist/apps/platform/index.js +2 -0
- package/dist/apps/platform/index.js.map +1 -0
- package/dist/apps/platform/routes/api-keys.d.ts +681 -0
- package/dist/apps/platform/routes/api-keys.d.ts.map +1 -0
- package/dist/apps/platform/routes/api-keys.js +328 -0
- package/dist/apps/platform/routes/api-keys.js.map +1 -0
- package/dist/apps/platform/routes/invitations.d.ts +733 -0
- package/dist/apps/platform/routes/invitations.d.ts.map +1 -0
- package/dist/apps/platform/routes/invitations.js +413 -0
- package/dist/apps/platform/routes/invitations.js.map +1 -0
- package/dist/apps/platform/routes/me.d.ts +95 -0
- package/dist/apps/platform/routes/me.d.ts.map +1 -0
- package/dist/apps/platform/routes/me.js +81 -0
- package/dist/apps/platform/routes/me.js.map +1 -0
- package/dist/apps/platform/routes/members.d.ts +554 -0
- package/dist/apps/platform/routes/members.d.ts.map +1 -0
- package/dist/apps/platform/routes/members.js +251 -0
- package/dist/apps/platform/routes/members.js.map +1 -0
- package/dist/apps/platform/routes/orgs.d.ts +582 -0
- package/dist/apps/platform/routes/orgs.d.ts.map +1 -0
- package/dist/apps/platform/routes/orgs.js +265 -0
- package/dist/apps/platform/routes/orgs.js.map +1 -0
- package/dist/apps/platform/routes/projects.d.ts +740 -0
- package/dist/apps/platform/routes/projects.d.ts.map +1 -0
- package/dist/apps/platform/routes/projects.js +286 -0
- package/dist/apps/platform/routes/projects.js.map +1 -0
- package/dist/apps/relay/App.d.ts +41 -0
- package/dist/apps/relay/App.d.ts.map +1 -0
- package/dist/apps/relay/App.js +103 -0
- package/dist/apps/relay/App.js.map +1 -0
- package/dist/apps/relay/Sponsorships.d.ts +107 -0
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -0
- package/dist/apps/relay/Sponsorships.js +193 -0
- package/dist/apps/relay/Sponsorships.js.map +1 -0
- package/dist/apps/relay/index.d.ts +3 -0
- package/dist/apps/relay/index.d.ts.map +1 -0
- package/dist/apps/relay/index.js +3 -0
- package/dist/apps/relay/index.js.map +1 -0
- package/dist/{Cli.d.ts → cli/Cli.d.ts} +13 -2
- package/dist/cli/Cli.d.ts.map +1 -0
- package/dist/cli/Cli.js +19 -0
- package/dist/cli/Cli.js.map +1 -0
- package/dist/cli/bin.d.ts +3 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +4 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/commands/admin.d.ts +15 -0
- package/dist/cli/commands/admin.d.ts.map +1 -0
- package/dist/cli/commands/admin.js +60 -0
- package/dist/cli/commands/admin.js.map +1 -0
- package/dist/cloudflare.d.ts +7 -0
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +9 -0
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +113 -0
- package/dist/db/Db.d.ts.map +1 -0
- package/dist/db/Db.js +402 -0
- package/dist/db/Db.js.map +1 -0
- package/dist/db/Schema.d.ts +168 -0
- package/dist/db/Schema.d.ts.map +1 -0
- package/dist/db/Schema.js +229 -0
- package/dist/db/Schema.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +84 -0
- package/dist/db/tables/invitations.d.ts.map +1 -0
- package/dist/db/tables/invitations.js +165 -0
- package/dist/db/tables/invitations.js.map +1 -0
- package/dist/db/tables/memberships.d.ts +108 -0
- package/dist/db/tables/memberships.d.ts.map +1 -0
- package/dist/db/tables/memberships.js +153 -0
- package/dist/db/tables/memberships.js.map +1 -0
- package/dist/db/tables/organizations.d.ts +123 -0
- package/dist/db/tables/organizations.d.ts.map +1 -0
- package/dist/db/tables/organizations.js +170 -0
- package/dist/db/tables/organizations.js.map +1 -0
- package/dist/db/tables/projects.d.ts +65 -0
- package/dist/db/tables/projects.d.ts.map +1 -0
- package/dist/db/tables/projects.js +75 -0
- package/dist/db/tables/projects.js.map +1 -0
- package/dist/db/tables/sponsoredTransactions.d.ts +120 -0
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -0
- package/dist/db/tables/sponsoredTransactions.js +161 -0
- package/dist/db/tables/sponsoredTransactions.js.map +1 -0
- package/dist/db/tables/users.d.ts +48 -0
- package/dist/db/tables/users.d.ts.map +1 -0
- package/dist/db/tables/users.js +65 -0
- package/dist/db/tables/users.js.map +1 -0
- package/dist/db/tables/verifiedTokens.d.ts +53 -0
- package/dist/db/tables/verifiedTokens.d.ts.map +1 -0
- package/dist/db/tables/verifiedTokens.js +74 -0
- package/dist/db/tables/verifiedTokens.js.map +1 -0
- package/dist/db/tables/webhookDeliveries.d.ts +71 -0
- package/dist/db/tables/webhookDeliveries.d.ts.map +1 -0
- package/dist/db/tables/webhookDeliveries.js +119 -0
- package/dist/db/tables/webhookDeliveries.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +158 -0
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -0
- package/dist/db/tables/webhookSubscriptions.js +272 -0
- package/dist/db/tables/webhookSubscriptions.js.map +1 -0
- package/dist/handlers/internal/executionError.d.ts +25 -0
- package/dist/handlers/internal/executionError.d.ts.map +1 -0
- package/dist/handlers/internal/executionError.js +186 -0
- package/dist/handlers/internal/executionError.js.map +1 -0
- package/dist/handlers/internal/multisig.d.ts +233 -0
- package/dist/handlers/internal/multisig.d.ts.map +1 -0
- package/dist/handlers/internal/multisig.js +542 -0
- package/dist/handlers/internal/multisig.js.map +1 -0
- package/dist/handlers/internal/requestListener.d.ts +124 -0
- package/dist/handlers/internal/requestListener.d.ts.map +1 -0
- package/dist/handlers/internal/requestListener.js +173 -0
- package/dist/handlers/internal/requestListener.js.map +1 -0
- package/dist/handlers/internal/sponsorship.d.ts +113 -0
- package/dist/handlers/internal/sponsorship.d.ts.map +1 -0
- package/dist/handlers/internal/sponsorship.js +128 -0
- package/dist/handlers/internal/sponsorship.js.map +1 -0
- package/dist/handlers/internal/types.d.ts +284 -0
- package/dist/handlers/internal/types.d.ts.map +1 -0
- package/dist/handlers/internal/types.js +2 -0
- package/dist/handlers/internal/types.js.map +1 -0
- package/dist/handlers/internal/utils.d.ts +34 -0
- package/dist/handlers/internal/utils.d.ts.map +1 -0
- package/dist/handlers/internal/utils.js +131 -0
- package/dist/handlers/internal/utils.js.map +1 -0
- package/dist/handlers/relay.d.ts +123 -0
- package/dist/handlers/relay.d.ts.map +1 -0
- package/dist/handlers/relay.js +1278 -0
- package/dist/handlers/relay.js.map +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/Auth.d.ts +224 -16
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +572 -33
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Log.d.ts +7 -3
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +4 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +0 -19
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +0 -57
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/RpcSchema.d.ts +10 -0
- package/dist/internal/RpcSchema.d.ts.map +1 -0
- package/dist/internal/RpcSchema.js +2 -0
- package/dist/internal/RpcSchema.js.map +1 -0
- package/dist/internal/Store.d.ts +49 -4
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +81 -5
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/VerifiedTokens.d.ts +15 -34
- package/dist/internal/VerifiedTokens.d.ts.map +1 -1
- package/dist/internal/VerifiedTokens.js +115 -159
- package/dist/internal/VerifiedTokens.js.map +1 -1
- package/dist/internal/Viem.d.ts +84 -0
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Webhooks.d.ts +50 -36
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +92 -205
- package/dist/internal/Webhooks.js.map +1 -1
- package/package.json +37 -6
- package/src/ApiKey.test.ts +3 -3
- package/src/ApiKey.ts +11 -12
- package/src/ApiKeys.test.ts +278 -0
- package/src/ApiKeys.ts +358 -0
- package/src/App.test-d.ts +1 -1
- package/src/App.test.ts +40508 -19083
- package/src/App.ts +239 -416
- package/src/Client.test-d.ts +307 -16
- package/src/Handler.ts +154 -0
- package/src/Scope.ts +17 -4
- package/src/Webhooks.test.ts +8 -7
- package/src/Webhooks.ts +13 -7
- package/src/admin/Access.ts +1 -3
- package/src/admin/App.ts +19 -24
- package/src/admin/apps/api-keys.test.ts +70 -18
- package/src/admin/apps/api-keys.ts +92 -9
- package/src/admin/apps/scopes.test.ts +8 -0
- package/src/admin/apps/verified-tokens.test.ts +3 -30
- package/src/admin/apps/verified-tokens.ts +18 -37
- package/src/admin/ui.generated.ts +1 -1
- package/src/apps/composition.test.ts +66 -0
- package/src/apps/data/App.ts +295 -0
- package/src/apps/data/index.ts +2 -0
- package/src/apps/{activities.test.ts → data/routes/activities.test.ts} +3 -3
- package/src/apps/{activities.ts → data/routes/activities.ts} +15 -15
- package/src/apps/{addresses.ts → data/routes/addresses.ts} +6 -6
- package/src/apps/{balances.test.ts → data/routes/balances.test.ts} +6 -5
- package/src/apps/{balances.ts → data/routes/balances.ts} +46 -12
- package/src/apps/{blocks.test.ts → data/routes/blocks.test.ts} +4 -4
- package/src/apps/{blocks.ts → data/routes/blocks.ts} +14 -14
- package/src/apps/{coingecko.test.ts → data/routes/coingecko.test.ts} +2 -2
- package/src/apps/{coingecko.ts → data/routes/coingecko.ts} +14 -14
- package/src/apps/{exchanges.test.ts → data/routes/exchanges.test.ts} +2 -2
- package/src/apps/{exchanges.ts → data/routes/exchanges.ts} +20 -20
- package/src/apps/{fee-amm.test.ts → data/routes/fee-amm.test.ts} +3 -3
- package/src/apps/{fee-amm.ts → data/routes/fee-amm.ts} +18 -18
- package/src/apps/{indexer.test.ts → data/routes/indexer.test.ts} +27 -6
- package/src/apps/{indexer.ts → data/routes/indexer.ts} +13 -10
- package/src/apps/{receipts.test.ts → data/routes/receipts.test.ts} +4 -4
- package/src/apps/{receipts.ts → data/routes/receipts.ts} +13 -13
- package/src/apps/{rpc.test.ts → data/routes/rpc.test.ts} +142 -13
- package/src/apps/{rpc.ts → data/routes/rpc.ts} +7 -7
- package/src/apps/{tokenlist.test.ts → data/routes/tokenlist.test.ts} +8 -10
- package/src/apps/{tokenlist.ts → data/routes/tokenlist.ts} +9 -9
- package/src/apps/{tokens.test.ts → data/routes/tokens.test.ts} +6 -5
- package/src/apps/{tokens.ts → data/routes/tokens.ts} +20 -20
- package/src/apps/{transactions.test.ts → data/routes/transactions.test.ts} +4 -4
- package/src/apps/{transactions.ts → data/routes/transactions.ts} +15 -15
- package/src/apps/{transfers.test.ts → data/routes/transfers.test.ts} +3 -3
- package/src/apps/{transfers.ts → data/routes/transfers.ts} +15 -15
- package/src/apps/{verified-tokens.test.ts → data/routes/verified-tokens.test.ts} +27 -15
- package/src/apps/{verified-tokens.ts → data/routes/verified-tokens.ts} +10 -10
- package/src/apps/{webhooks.test.ts → data/routes/webhooks.test.ts} +137 -150
- package/src/apps/{webhooks.ts → data/routes/webhooks.ts} +83 -81
- package/src/apps/docs/App.ts +136 -0
- package/src/apps/docs/index.ts +1 -0
- package/src/apps/index.ts +3 -0
- package/src/apps/metadata.ts +23 -0
- package/src/apps/platform/App.ts +130 -0
- package/src/apps/platform/index.ts +1 -0
- package/src/apps/platform/routes/api-keys.test.ts +330 -0
- package/src/apps/platform/routes/api-keys.ts +427 -0
- package/src/apps/platform/routes/invitations.test.ts +361 -0
- package/src/apps/platform/routes/invitations.ts +519 -0
- package/src/apps/platform/routes/me.test.ts +121 -0
- package/src/apps/platform/routes/me.ts +106 -0
- package/src/apps/platform/routes/members.test.ts +195 -0
- package/src/apps/platform/routes/members.ts +313 -0
- package/src/apps/platform/routes/orgs.test.ts +313 -0
- package/src/apps/platform/routes/orgs.ts +343 -0
- package/src/apps/platform/routes/projects.test.ts +181 -0
- package/src/apps/platform/routes/projects.ts +367 -0
- package/src/apps/relay/App.test.ts +484 -0
- package/src/apps/relay/App.ts +128 -0
- package/src/apps/relay/Sponsorships.test.ts +375 -0
- package/src/apps/relay/Sponsorships.ts +305 -0
- package/src/apps/relay/index.ts +2 -0
- package/src/{Cli.test.ts → cli/Cli.test.ts} +10 -9
- package/src/{Cli.ts → cli/Cli.ts} +16 -9
- package/src/cli/bin.ts +4 -0
- package/src/cli/commands/admin.test.ts +71 -0
- package/src/cli/commands/admin.ts +60 -0
- package/src/cloudflare.ts +10 -0
- package/src/db/Db.test.ts +84 -0
- package/src/db/Db.ts +542 -0
- package/src/db/Schema.ts +301 -0
- package/src/db/tables/invitations.ts +198 -0
- package/src/db/tables/memberships.ts +208 -0
- package/src/db/tables/organizations.test.ts +160 -0
- package/src/db/tables/organizations.ts +232 -0
- package/src/db/tables/projects.ts +107 -0
- package/src/db/tables/sponsoredTransactions.test.ts +218 -0
- package/src/db/tables/sponsoredTransactions.ts +236 -0
- package/src/db/tables/users.ts +85 -0
- package/src/db/tables/verifiedTokens.ts +111 -0
- package/src/db/tables/webhookDeliveries.ts +159 -0
- package/src/db/tables/webhookSubscriptions.ts +358 -0
- package/src/handlers/internal/executionError.ts +207 -0
- package/src/handlers/internal/multisig.test.ts +818 -0
- package/src/handlers/internal/multisig.ts +823 -0
- package/src/handlers/internal/requestListener.ts +273 -0
- package/src/handlers/internal/sponsorship.ts +245 -0
- package/src/handlers/internal/types.ts +378 -0
- package/src/handlers/internal/utils.ts +153 -0
- package/src/handlers/relay.test.ts +2035 -0
- package/src/handlers/relay.ts +1623 -0
- package/src/index.ts +4 -2
- package/src/internal/Auth.test.ts +337 -21
- package/src/internal/Auth.ts +783 -44
- package/src/internal/Cursor.test.ts +3 -2
- package/src/internal/Log.test.ts +1 -1
- package/src/internal/Log.ts +11 -3
- package/src/internal/MetricSink.ts +1 -1
- package/src/internal/OpenApi.ts +0 -59
- package/src/internal/RateLimit.test.ts +1 -1
- package/src/internal/RpcSchema.ts +10 -0
- package/src/internal/Store.test.ts +150 -10
- package/src/internal/Store.ts +136 -11
- package/src/internal/Tidx.local.test.ts +1 -1
- package/src/internal/VerifiedTokens.test.ts +99 -115
- package/src/internal/VerifiedTokens.ts +123 -175
- package/src/internal/WebhookDestination.test.ts +1 -1
- package/src/internal/Webhooks.test.ts +111 -111
- package/src/internal/Webhooks.ts +103 -221
- package/dist/ApiKeySource.d.ts +0 -166
- package/dist/ApiKeySource.d.ts.map +0 -1
- package/dist/ApiKeySource.js +0 -234
- package/dist/ApiKeySource.js.map +0 -1
- package/dist/Cli.d.ts.map +0 -1
- package/dist/Cli.js +0 -13
- package/dist/Cli.js.map +0 -1
- package/dist/apps/activities.js.map +0 -1
- package/dist/apps/addresses.js.map +0 -1
- package/dist/apps/balances.d.ts.map +0 -1
- package/dist/apps/balances.js.map +0 -1
- package/dist/apps/blocks.d.ts.map +0 -1
- package/dist/apps/blocks.js.map +0 -1
- package/dist/apps/coingecko.d.ts.map +0 -1
- package/dist/apps/coingecko.js.map +0 -1
- package/dist/apps/exchanges.d.ts.map +0 -1
- package/dist/apps/exchanges.js.map +0 -1
- package/dist/apps/fee-amm.d.ts.map +0 -1
- package/dist/apps/fee-amm.js.map +0 -1
- package/dist/apps/indexer.d.ts.map +0 -1
- package/dist/apps/indexer.js.map +0 -1
- package/dist/apps/receipts.d.ts.map +0 -1
- package/dist/apps/receipts.js.map +0 -1
- package/dist/apps/rpc.d.ts.map +0 -1
- package/dist/apps/rpc.js.map +0 -1
- package/dist/apps/tokenlist.d.ts.map +0 -1
- package/dist/apps/tokenlist.js.map +0 -1
- package/dist/apps/tokens.d.ts.map +0 -1
- package/dist/apps/tokens.js.map +0 -1
- package/dist/apps/transactions.d.ts.map +0 -1
- package/dist/apps/transactions.js.map +0 -1
- package/dist/apps/transfers.d.ts.map +0 -1
- package/dist/apps/transfers.js.map +0 -1
- package/dist/apps/verified-tokens.d.ts.map +0 -1
- package/dist/apps/verified-tokens.js.map +0 -1
- package/dist/apps/webhooks.js.map +0 -1
- package/dist/internal/OpenApi.fonts.d.ts.map +0 -1
- package/dist/internal/OpenApi.fonts.js.map +0 -1
- package/dist/internal/OpenApi.logo.d.ts.map +0 -1
- package/dist/internal/OpenApi.logo.js.map +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000000.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000001.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000002.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000003.svg +0 -1
- package/seeds/31318/verified-tokens.json +0 -30
- package/seeds/4217/icons/0x20c0000000000000000000000000000000000000.svg +0 -25
- package/seeds/4217/icons/0x20c000000000000000000000048c8f36df1c9a4a.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000000520792dcccccccc.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000000a6da882d075a4c3.svg +0 -4
- package/seeds/4217/icons/0x20c000000000000000000000111111111e910f0f.svg +0 -30
- package/seeds/4217/icons/0x20c00000000000000000000014f22ca97301eb73.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000001621e21f71cf12fb.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000002f52d5cc21a3207b.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000003158081efd85bfc2.svg +0 -11
- package/seeds/4217/icons/0x20c0000000000000000000003554d28269e0f3c2.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000383a23bacb546ab9.svg +0 -1
- package/seeds/4217/icons/0x20c00000000000000000000042109aef2f8b28e1.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000005c0bac7cef389a11.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000006fd9a167923ba194.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000007f7ba549dd0251b9.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000008191667423f70e67.svg +0 -5
- package/seeds/4217/icons/0x20c0000000000000000000008ee4fcff88888888.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000009a4a4b17e0dc6651.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000ab02d39df30bd17e.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000ae247a1130450f09.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000aeed2ec36a54d0e5.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000b9537d11c60e8b50.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000bd95bfb69fbe6ce3.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000c412ec89d0c08be5.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000f047dd7018e50367.png +0 -0
- package/seeds/4217/verified-tokens.json +0 -177
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000000.svg +0 -25
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000001.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000002.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000003.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000009e8d7eb59b783726.svg +0 -1
- package/seeds/42431/icons/0x20c000000000000000000000d72572838bbee59c.svg +0 -1
- package/seeds/42431/verified-tokens.json +0 -44
- package/seeds/openrpc/README.md +0 -27
- package/seeds/openrpc/execution-apis.json +0 -8989
- package/src/ApiKeySource.test-d.ts +0 -11
- package/src/ApiKeySource.test.ts +0 -295
- package/src/ApiKeySource.ts +0 -303
- /package/src/{internal/OpenApi.fonts.ts → apps/docs/fonts.ts} +0 -0
- /package/src/{internal/OpenApi.logo.ts → apps/docs/logo.ts} +0 -0
|
@@ -0,0 +1,740 @@
|
|
|
1
|
+
import * as z from 'zod/mini';
|
|
2
|
+
import type * as App from '../../../App.js';
|
|
3
|
+
import * as Response from '../../../internal/Response.js';
|
|
4
|
+
/** Zod schemas owned by the projects resource. */
|
|
5
|
+
export declare namespace schema {
|
|
6
|
+
/** One project: an app or integration within an organization. */
|
|
7
|
+
const Project: z.ZodMiniObject<{
|
|
8
|
+
createdAt: z.ZodMiniString<string>;
|
|
9
|
+
environments: z.ZodMiniArray<z.ZodMiniEnum<{
|
|
10
|
+
production: "production";
|
|
11
|
+
sandbox: "sandbox";
|
|
12
|
+
}>>;
|
|
13
|
+
id: z.ZodMiniString<string>;
|
|
14
|
+
name: z.ZodMiniString<string>;
|
|
15
|
+
orgId: z.ZodMiniString<string>;
|
|
16
|
+
updatedAt: z.ZodMiniString<string>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
/** Path parameters addressing an organization's project collection. */
|
|
19
|
+
const Params: z.ZodMiniObject<{
|
|
20
|
+
orgId: z.ZodMiniString<string>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
/** Path parameters addressing one project. */
|
|
23
|
+
const ProjectParams: z.ZodMiniObject<{
|
|
24
|
+
orgId: z.ZodMiniString<string>;
|
|
25
|
+
projectId: z.ZodMiniString<string>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
/** Request body creating or renaming a project. */
|
|
28
|
+
const ProjectBody: z.ZodMiniObject<{
|
|
29
|
+
name: z.ZodMiniString<string>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
/** Schemas for the deleteProject operation. */
|
|
32
|
+
namespace deleteProject {
|
|
33
|
+
/** Confirmation that the project was deleted. */
|
|
34
|
+
const Response: z.ZodMiniObject<{
|
|
35
|
+
id: z.ZodMiniString<string>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
}
|
|
38
|
+
/** Schemas for the listProjects operation. */
|
|
39
|
+
namespace listProjects {
|
|
40
|
+
/** Non-paginated list of an organization's projects. */
|
|
41
|
+
const Response: z.ZodMiniObject<{
|
|
42
|
+
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
43
|
+
createdAt: z.ZodMiniString<string>;
|
|
44
|
+
environments: z.ZodMiniArray<z.ZodMiniEnum<{
|
|
45
|
+
production: "production";
|
|
46
|
+
sandbox: "sandbox";
|
|
47
|
+
}>>;
|
|
48
|
+
id: z.ZodMiniString<string>;
|
|
49
|
+
name: z.ZodMiniString<string>;
|
|
50
|
+
orgId: z.ZodMiniString<string>;
|
|
51
|
+
updatedAt: z.ZodMiniString<string>;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Mounts the `/orgs/:orgId/projects` resource: projects nested under their
|
|
58
|
+
* owning organization. Access follows the org scope (owning session or super
|
|
59
|
+
* admin); inaccessible or absent ids render `404`.
|
|
60
|
+
*/
|
|
61
|
+
export declare function projects(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
62
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
|
|
63
|
+
$get: {
|
|
64
|
+
output: {
|
|
65
|
+
data: {
|
|
66
|
+
createdAt: string;
|
|
67
|
+
environments: ("production" | "sandbox")[];
|
|
68
|
+
id: string;
|
|
69
|
+
name: string;
|
|
70
|
+
orgId: string;
|
|
71
|
+
updatedAt: string;
|
|
72
|
+
}[];
|
|
73
|
+
};
|
|
74
|
+
outputFormat: "json";
|
|
75
|
+
status: 200;
|
|
76
|
+
input: {
|
|
77
|
+
param: {
|
|
78
|
+
orgId: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
} | {
|
|
82
|
+
output: {
|
|
83
|
+
error: {
|
|
84
|
+
code: "api_key_malformed";
|
|
85
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
86
|
+
message: string;
|
|
87
|
+
};
|
|
88
|
+
requestId: string;
|
|
89
|
+
};
|
|
90
|
+
outputFormat: "json";
|
|
91
|
+
status: 400;
|
|
92
|
+
input: {
|
|
93
|
+
param: {
|
|
94
|
+
orgId: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
} | {
|
|
98
|
+
output: {
|
|
99
|
+
error: {
|
|
100
|
+
code: "param_invalid";
|
|
101
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
102
|
+
message: string;
|
|
103
|
+
};
|
|
104
|
+
requestId: string;
|
|
105
|
+
};
|
|
106
|
+
outputFormat: "json";
|
|
107
|
+
status: 400;
|
|
108
|
+
input: {
|
|
109
|
+
param: {
|
|
110
|
+
orgId: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
} | {
|
|
114
|
+
output: {
|
|
115
|
+
error: {
|
|
116
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
117
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
118
|
+
message: string;
|
|
119
|
+
};
|
|
120
|
+
requestId: string;
|
|
121
|
+
};
|
|
122
|
+
outputFormat: "json";
|
|
123
|
+
status: 401;
|
|
124
|
+
input: {
|
|
125
|
+
param: {
|
|
126
|
+
orgId: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
} | {
|
|
130
|
+
output: {
|
|
131
|
+
error: {
|
|
132
|
+
code: "forbidden";
|
|
133
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
134
|
+
message: string;
|
|
135
|
+
};
|
|
136
|
+
requestId: string;
|
|
137
|
+
};
|
|
138
|
+
outputFormat: "json";
|
|
139
|
+
status: 403;
|
|
140
|
+
input: {
|
|
141
|
+
param: {
|
|
142
|
+
orgId: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
} | {
|
|
146
|
+
output: {
|
|
147
|
+
error: {
|
|
148
|
+
code: "organization_not_found";
|
|
149
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
150
|
+
message: string;
|
|
151
|
+
};
|
|
152
|
+
requestId: string;
|
|
153
|
+
};
|
|
154
|
+
outputFormat: "json";
|
|
155
|
+
status: 404;
|
|
156
|
+
input: {
|
|
157
|
+
param: {
|
|
158
|
+
orgId: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
} | {
|
|
162
|
+
output: {
|
|
163
|
+
error: {
|
|
164
|
+
code: "upstream_error";
|
|
165
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
166
|
+
message: string;
|
|
167
|
+
};
|
|
168
|
+
requestId: string;
|
|
169
|
+
};
|
|
170
|
+
outputFormat: "json";
|
|
171
|
+
status: 502;
|
|
172
|
+
input: {
|
|
173
|
+
param: {
|
|
174
|
+
orgId: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
} & {
|
|
180
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
|
|
181
|
+
$post: {
|
|
182
|
+
output: {
|
|
183
|
+
createdAt: string;
|
|
184
|
+
environments: ("production" | "sandbox")[];
|
|
185
|
+
id: string;
|
|
186
|
+
name: string;
|
|
187
|
+
orgId: string;
|
|
188
|
+
updatedAt: string;
|
|
189
|
+
};
|
|
190
|
+
outputFormat: "json";
|
|
191
|
+
status: 200;
|
|
192
|
+
input: {
|
|
193
|
+
param: {
|
|
194
|
+
orgId: string;
|
|
195
|
+
};
|
|
196
|
+
} & {
|
|
197
|
+
json: {
|
|
198
|
+
name: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
} | {
|
|
202
|
+
output: {
|
|
203
|
+
error: {
|
|
204
|
+
code: "api_key_malformed";
|
|
205
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
206
|
+
message: string;
|
|
207
|
+
};
|
|
208
|
+
requestId: string;
|
|
209
|
+
};
|
|
210
|
+
outputFormat: "json";
|
|
211
|
+
status: 400;
|
|
212
|
+
input: {
|
|
213
|
+
param: {
|
|
214
|
+
orgId: string;
|
|
215
|
+
};
|
|
216
|
+
} & {
|
|
217
|
+
json: {
|
|
218
|
+
name: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
} | {
|
|
222
|
+
output: {
|
|
223
|
+
error: {
|
|
224
|
+
code: "param_invalid";
|
|
225
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
226
|
+
message: string;
|
|
227
|
+
};
|
|
228
|
+
requestId: string;
|
|
229
|
+
};
|
|
230
|
+
outputFormat: "json";
|
|
231
|
+
status: 400;
|
|
232
|
+
input: {
|
|
233
|
+
param: {
|
|
234
|
+
orgId: string;
|
|
235
|
+
};
|
|
236
|
+
} & {
|
|
237
|
+
json: {
|
|
238
|
+
name: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
} | {
|
|
242
|
+
output: {
|
|
243
|
+
error: {
|
|
244
|
+
code: "body_invalid";
|
|
245
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
246
|
+
message: string;
|
|
247
|
+
};
|
|
248
|
+
requestId: string;
|
|
249
|
+
};
|
|
250
|
+
outputFormat: "json";
|
|
251
|
+
status: 400;
|
|
252
|
+
input: {
|
|
253
|
+
param: {
|
|
254
|
+
orgId: string;
|
|
255
|
+
};
|
|
256
|
+
} & {
|
|
257
|
+
json: {
|
|
258
|
+
name: string;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
} | {
|
|
262
|
+
output: {
|
|
263
|
+
error: {
|
|
264
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
265
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
266
|
+
message: string;
|
|
267
|
+
};
|
|
268
|
+
requestId: string;
|
|
269
|
+
};
|
|
270
|
+
outputFormat: "json";
|
|
271
|
+
status: 401;
|
|
272
|
+
input: {
|
|
273
|
+
param: {
|
|
274
|
+
orgId: string;
|
|
275
|
+
};
|
|
276
|
+
} & {
|
|
277
|
+
json: {
|
|
278
|
+
name: string;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
} | {
|
|
282
|
+
output: {
|
|
283
|
+
error: {
|
|
284
|
+
code: "forbidden";
|
|
285
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
286
|
+
message: string;
|
|
287
|
+
};
|
|
288
|
+
requestId: string;
|
|
289
|
+
};
|
|
290
|
+
outputFormat: "json";
|
|
291
|
+
status: 403;
|
|
292
|
+
input: {
|
|
293
|
+
param: {
|
|
294
|
+
orgId: string;
|
|
295
|
+
};
|
|
296
|
+
} & {
|
|
297
|
+
json: {
|
|
298
|
+
name: string;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
} | {
|
|
302
|
+
output: {
|
|
303
|
+
error: {
|
|
304
|
+
code: "organization_not_found";
|
|
305
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
306
|
+
message: string;
|
|
307
|
+
};
|
|
308
|
+
requestId: string;
|
|
309
|
+
};
|
|
310
|
+
outputFormat: "json";
|
|
311
|
+
status: 404;
|
|
312
|
+
input: {
|
|
313
|
+
param: {
|
|
314
|
+
orgId: string;
|
|
315
|
+
};
|
|
316
|
+
} & {
|
|
317
|
+
json: {
|
|
318
|
+
name: string;
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
} | {
|
|
322
|
+
output: {
|
|
323
|
+
error: {
|
|
324
|
+
code: "upstream_error";
|
|
325
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
326
|
+
message: string;
|
|
327
|
+
};
|
|
328
|
+
requestId: string;
|
|
329
|
+
};
|
|
330
|
+
outputFormat: "json";
|
|
331
|
+
status: 502;
|
|
332
|
+
input: {
|
|
333
|
+
param: {
|
|
334
|
+
orgId: string;
|
|
335
|
+
};
|
|
336
|
+
} & {
|
|
337
|
+
json: {
|
|
338
|
+
name: string;
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
} & {
|
|
344
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
345
|
+
$get: {
|
|
346
|
+
output: {
|
|
347
|
+
createdAt: string;
|
|
348
|
+
environments: ("production" | "sandbox")[];
|
|
349
|
+
id: string;
|
|
350
|
+
name: string;
|
|
351
|
+
orgId: string;
|
|
352
|
+
updatedAt: string;
|
|
353
|
+
};
|
|
354
|
+
outputFormat: "json";
|
|
355
|
+
status: 200;
|
|
356
|
+
input: {
|
|
357
|
+
param: {
|
|
358
|
+
orgId: string;
|
|
359
|
+
projectId: string;
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
} | {
|
|
363
|
+
output: {
|
|
364
|
+
error: {
|
|
365
|
+
code: "api_key_malformed";
|
|
366
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
367
|
+
message: string;
|
|
368
|
+
};
|
|
369
|
+
requestId: string;
|
|
370
|
+
};
|
|
371
|
+
outputFormat: "json";
|
|
372
|
+
status: 400;
|
|
373
|
+
input: {
|
|
374
|
+
param: {
|
|
375
|
+
orgId: string;
|
|
376
|
+
projectId: string;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
} | {
|
|
380
|
+
output: {
|
|
381
|
+
error: {
|
|
382
|
+
code: "param_invalid";
|
|
383
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
384
|
+
message: string;
|
|
385
|
+
};
|
|
386
|
+
requestId: string;
|
|
387
|
+
};
|
|
388
|
+
outputFormat: "json";
|
|
389
|
+
status: 400;
|
|
390
|
+
input: {
|
|
391
|
+
param: {
|
|
392
|
+
orgId: string;
|
|
393
|
+
projectId: string;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
} | {
|
|
397
|
+
output: {
|
|
398
|
+
error: {
|
|
399
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
400
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
401
|
+
message: string;
|
|
402
|
+
};
|
|
403
|
+
requestId: string;
|
|
404
|
+
};
|
|
405
|
+
outputFormat: "json";
|
|
406
|
+
status: 401;
|
|
407
|
+
input: {
|
|
408
|
+
param: {
|
|
409
|
+
orgId: string;
|
|
410
|
+
projectId: string;
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
} | {
|
|
414
|
+
output: {
|
|
415
|
+
error: {
|
|
416
|
+
code: "forbidden";
|
|
417
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
418
|
+
message: string;
|
|
419
|
+
};
|
|
420
|
+
requestId: string;
|
|
421
|
+
};
|
|
422
|
+
outputFormat: "json";
|
|
423
|
+
status: 403;
|
|
424
|
+
input: {
|
|
425
|
+
param: {
|
|
426
|
+
orgId: string;
|
|
427
|
+
projectId: string;
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
} | {
|
|
431
|
+
output: {
|
|
432
|
+
error: {
|
|
433
|
+
code: "organization_not_found" | "project_not_found";
|
|
434
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
435
|
+
message: string;
|
|
436
|
+
};
|
|
437
|
+
requestId: string;
|
|
438
|
+
};
|
|
439
|
+
outputFormat: "json";
|
|
440
|
+
status: 404;
|
|
441
|
+
input: {
|
|
442
|
+
param: {
|
|
443
|
+
orgId: string;
|
|
444
|
+
projectId: string;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
} & {
|
|
450
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
451
|
+
$patch: {
|
|
452
|
+
output: {
|
|
453
|
+
createdAt: string;
|
|
454
|
+
environments: ("production" | "sandbox")[];
|
|
455
|
+
id: string;
|
|
456
|
+
name: string;
|
|
457
|
+
orgId: string;
|
|
458
|
+
updatedAt: string;
|
|
459
|
+
};
|
|
460
|
+
outputFormat: "json";
|
|
461
|
+
status: 200;
|
|
462
|
+
input: {
|
|
463
|
+
param: {
|
|
464
|
+
orgId: string;
|
|
465
|
+
projectId: string;
|
|
466
|
+
};
|
|
467
|
+
} & {
|
|
468
|
+
json: {
|
|
469
|
+
name: string;
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
} | {
|
|
473
|
+
output: {
|
|
474
|
+
error: {
|
|
475
|
+
code: "api_key_malformed";
|
|
476
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
477
|
+
message: string;
|
|
478
|
+
};
|
|
479
|
+
requestId: string;
|
|
480
|
+
};
|
|
481
|
+
outputFormat: "json";
|
|
482
|
+
status: 400;
|
|
483
|
+
input: {
|
|
484
|
+
param: {
|
|
485
|
+
orgId: string;
|
|
486
|
+
projectId: string;
|
|
487
|
+
};
|
|
488
|
+
} & {
|
|
489
|
+
json: {
|
|
490
|
+
name: string;
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
} | {
|
|
494
|
+
output: {
|
|
495
|
+
error: {
|
|
496
|
+
code: "param_invalid";
|
|
497
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
498
|
+
message: string;
|
|
499
|
+
};
|
|
500
|
+
requestId: string;
|
|
501
|
+
};
|
|
502
|
+
outputFormat: "json";
|
|
503
|
+
status: 400;
|
|
504
|
+
input: {
|
|
505
|
+
param: {
|
|
506
|
+
orgId: string;
|
|
507
|
+
projectId: string;
|
|
508
|
+
};
|
|
509
|
+
} & {
|
|
510
|
+
json: {
|
|
511
|
+
name: string;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
} | {
|
|
515
|
+
output: {
|
|
516
|
+
error: {
|
|
517
|
+
code: "body_invalid";
|
|
518
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
519
|
+
message: string;
|
|
520
|
+
};
|
|
521
|
+
requestId: string;
|
|
522
|
+
};
|
|
523
|
+
outputFormat: "json";
|
|
524
|
+
status: 400;
|
|
525
|
+
input: {
|
|
526
|
+
param: {
|
|
527
|
+
orgId: string;
|
|
528
|
+
projectId: string;
|
|
529
|
+
};
|
|
530
|
+
} & {
|
|
531
|
+
json: {
|
|
532
|
+
name: string;
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
} | {
|
|
536
|
+
output: {
|
|
537
|
+
error: {
|
|
538
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
539
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
540
|
+
message: string;
|
|
541
|
+
};
|
|
542
|
+
requestId: string;
|
|
543
|
+
};
|
|
544
|
+
outputFormat: "json";
|
|
545
|
+
status: 401;
|
|
546
|
+
input: {
|
|
547
|
+
param: {
|
|
548
|
+
orgId: string;
|
|
549
|
+
projectId: string;
|
|
550
|
+
};
|
|
551
|
+
} & {
|
|
552
|
+
json: {
|
|
553
|
+
name: string;
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
} | {
|
|
557
|
+
output: {
|
|
558
|
+
error: {
|
|
559
|
+
code: "forbidden";
|
|
560
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
561
|
+
message: string;
|
|
562
|
+
};
|
|
563
|
+
requestId: string;
|
|
564
|
+
};
|
|
565
|
+
outputFormat: "json";
|
|
566
|
+
status: 403;
|
|
567
|
+
input: {
|
|
568
|
+
param: {
|
|
569
|
+
orgId: string;
|
|
570
|
+
projectId: string;
|
|
571
|
+
};
|
|
572
|
+
} & {
|
|
573
|
+
json: {
|
|
574
|
+
name: string;
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
} | {
|
|
578
|
+
output: {
|
|
579
|
+
error: {
|
|
580
|
+
code: "organization_not_found" | "project_not_found";
|
|
581
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
582
|
+
message: string;
|
|
583
|
+
};
|
|
584
|
+
requestId: string;
|
|
585
|
+
};
|
|
586
|
+
outputFormat: "json";
|
|
587
|
+
status: 404;
|
|
588
|
+
input: {
|
|
589
|
+
param: {
|
|
590
|
+
orgId: string;
|
|
591
|
+
projectId: string;
|
|
592
|
+
};
|
|
593
|
+
} & {
|
|
594
|
+
json: {
|
|
595
|
+
name: string;
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
} | {
|
|
599
|
+
output: {
|
|
600
|
+
error: {
|
|
601
|
+
code: "upstream_error";
|
|
602
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
603
|
+
message: string;
|
|
604
|
+
};
|
|
605
|
+
requestId: string;
|
|
606
|
+
};
|
|
607
|
+
outputFormat: "json";
|
|
608
|
+
status: 502;
|
|
609
|
+
input: {
|
|
610
|
+
param: {
|
|
611
|
+
orgId: string;
|
|
612
|
+
projectId: string;
|
|
613
|
+
};
|
|
614
|
+
} & {
|
|
615
|
+
json: {
|
|
616
|
+
name: string;
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
} & {
|
|
622
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
623
|
+
$delete: {
|
|
624
|
+
output: {
|
|
625
|
+
id: string;
|
|
626
|
+
};
|
|
627
|
+
outputFormat: "json";
|
|
628
|
+
status: 200;
|
|
629
|
+
input: {
|
|
630
|
+
param: {
|
|
631
|
+
orgId: string;
|
|
632
|
+
projectId: string;
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
} | {
|
|
636
|
+
output: {
|
|
637
|
+
error: {
|
|
638
|
+
code: "api_key_malformed";
|
|
639
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
640
|
+
message: string;
|
|
641
|
+
};
|
|
642
|
+
requestId: string;
|
|
643
|
+
};
|
|
644
|
+
outputFormat: "json";
|
|
645
|
+
status: 400;
|
|
646
|
+
input: {
|
|
647
|
+
param: {
|
|
648
|
+
orgId: string;
|
|
649
|
+
projectId: string;
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
} | {
|
|
653
|
+
output: {
|
|
654
|
+
error: {
|
|
655
|
+
code: "param_invalid";
|
|
656
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
657
|
+
message: string;
|
|
658
|
+
};
|
|
659
|
+
requestId: string;
|
|
660
|
+
};
|
|
661
|
+
outputFormat: "json";
|
|
662
|
+
status: 400;
|
|
663
|
+
input: {
|
|
664
|
+
param: {
|
|
665
|
+
orgId: string;
|
|
666
|
+
projectId: string;
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
} | {
|
|
670
|
+
output: {
|
|
671
|
+
error: {
|
|
672
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
673
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
674
|
+
message: string;
|
|
675
|
+
};
|
|
676
|
+
requestId: string;
|
|
677
|
+
};
|
|
678
|
+
outputFormat: "json";
|
|
679
|
+
status: 401;
|
|
680
|
+
input: {
|
|
681
|
+
param: {
|
|
682
|
+
orgId: string;
|
|
683
|
+
projectId: string;
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
} | {
|
|
687
|
+
output: {
|
|
688
|
+
error: {
|
|
689
|
+
code: "forbidden";
|
|
690
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
691
|
+
message: string;
|
|
692
|
+
};
|
|
693
|
+
requestId: string;
|
|
694
|
+
};
|
|
695
|
+
outputFormat: "json";
|
|
696
|
+
status: 403;
|
|
697
|
+
input: {
|
|
698
|
+
param: {
|
|
699
|
+
orgId: string;
|
|
700
|
+
projectId: string;
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
} | {
|
|
704
|
+
output: {
|
|
705
|
+
error: {
|
|
706
|
+
code: "organization_not_found" | "project_not_found";
|
|
707
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
708
|
+
message: string;
|
|
709
|
+
};
|
|
710
|
+
requestId: string;
|
|
711
|
+
};
|
|
712
|
+
outputFormat: "json";
|
|
713
|
+
status: 404;
|
|
714
|
+
input: {
|
|
715
|
+
param: {
|
|
716
|
+
orgId: string;
|
|
717
|
+
projectId: string;
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
} | {
|
|
721
|
+
output: {
|
|
722
|
+
error: {
|
|
723
|
+
code: "upstream_error";
|
|
724
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
725
|
+
message: string;
|
|
726
|
+
};
|
|
727
|
+
requestId: string;
|
|
728
|
+
};
|
|
729
|
+
outputFormat: "json";
|
|
730
|
+
status: 502;
|
|
731
|
+
input: {
|
|
732
|
+
param: {
|
|
733
|
+
orgId: string;
|
|
734
|
+
projectId: string;
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
}, "/", "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}">;
|
|
740
|
+
//# sourceMappingURL=projects.d.ts.map
|