tapimo 0.9.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ApiKey.d.ts +2 -1
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKeys.d.ts +4 -2
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +26 -1
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +4292 -3708
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +1 -0
- package/dist/App.js.map +1 -1
- package/dist/Webhooks.d.ts +21 -20
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +66 -23
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +91 -84
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +26 -17
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +6 -0
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +4 -2
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +168 -168
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +69 -69
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +26 -0
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/apps/Zones.d.ts +4280 -84
- package/dist/apps/Zones.d.ts.map +1 -1
- package/dist/apps/Zones.js +30 -10
- package/dist/apps/Zones.js.map +1 -1
- package/dist/apps/data/App.d.ts +5799 -4929
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +4 -5
- package/dist/apps/data/FxOracle.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.js +19 -4
- package/dist/apps/data/FxOracle.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +3391 -492
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +372 -29
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +853 -339
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +10 -10
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +145 -83
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +123 -123
- package/dist/apps/data/routes/coingecko.d.ts +169 -169
- package/dist/apps/data/routes/earn.d.ts +455 -1
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +369 -45
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +114 -118
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +24 -24
- package/dist/apps/data/routes/indexer.d.ts +35 -34
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +3 -2
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +68 -47
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +5 -1
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +12 -12
- package/dist/apps/data/routes/tokens.d.ts +461 -459
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +313 -305
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +25 -23
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +108 -86
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +618 -105
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +21 -21
- package/dist/apps/data/routes/valuation.d.ts.map +1 -1
- package/dist/apps/data/routes/valuation.js +2 -2
- package/dist/apps/data/routes/valuation.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +519 -868
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +642 -353
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/data/routes/zones.d.ts.map +1 -1
- package/dist/apps/data/routes/zones.js +4 -2
- package/dist/apps/data/routes/zones.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/providers.d.ts +13 -13
- package/dist/apps/funding/routes/quotes.d.ts +89 -89
- package/dist/apps/funding/routes/transfers.d.ts +36 -36
- package/dist/apps/funding/routes/transfers.js +1 -1
- package/dist/apps/funding/routes/transfers.js.map +1 -1
- package/dist/apps/management/App.d.ts +11 -309
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +74 -74
- package/dist/apps/management/routes/billing.js +1 -1
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +35 -35
- package/dist/apps/management/routes/faucet.js +2 -2
- package/dist/apps/management/routes/faucet.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +134 -134
- package/dist/apps/management/routes/invite-links.d.ts +80 -80
- package/dist/apps/management/routes/members.d.ts +69 -69
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/projects.d.ts +60 -60
- package/dist/apps/management/routes/usage.d.ts +72 -72
- package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
- package/dist/apps/management/routes/webhooks.d.ts +203 -618
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +4 -1
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +56 -44
- package/dist/apps/mpp/App.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.d.ts +3 -0
- package/dist/apps/mpp/Mpp.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.js +3 -0
- package/dist/apps/mpp/Mpp.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Adapter.js +9 -2
- package/dist/apps/mpp/internal/Adapter.js.map +1 -1
- package/dist/db/Db.d.ts +4 -2
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +75 -15
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +19 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +24 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +4 -1
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/webhookQueueEvents.d.ts +122 -0
- package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -0
- package/dist/db/tables/webhookQueueEvents.js +160 -0
- package/dist/db/tables/webhookQueueEvents.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +58 -3
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +86 -3
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/Auth.d.ts +3 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +6 -4
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +139 -3
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +144 -4
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +4 -6
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +15 -14
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Schema.js +1 -1
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Store.d.ts +2 -1
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +57 -18
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Tidx.d.ts +1 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +1 -3
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Value.d.ts +2 -0
- package/dist/internal/Value.d.ts.map +1 -1
- package/dist/internal/Value.js +25 -0
- package/dist/internal/Value.js.map +1 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +2 -1
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/WebhookDestination.d.ts +2 -0
- package/dist/internal/WebhookDestination.d.ts.map +1 -1
- package/dist/internal/WebhookDestination.js +11 -0
- package/dist/internal/WebhookDestination.js.map +1 -1
- package/dist/internal/WebhookTransfer.d.ts +75 -0
- package/dist/internal/WebhookTransfer.d.ts.map +1 -0
- package/dist/internal/WebhookTransfer.js +299 -0
- package/dist/internal/WebhookTransfer.js.map +1 -0
- package/dist/internal/Webhooks.d.ts +176 -0
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +216 -20
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +4 -0
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Provider.js +11 -7
- package/dist/internal/funding/Provider.js.map +1 -1
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +128 -0
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts +6 -4
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +71 -9
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +4 -4
- package/src/ApiKeys.test.ts +20 -0
- package/src/ApiKeys.ts +28 -1
- package/src/App.test.ts +10 -8
- package/src/App.ts +1 -0
- package/src/Client.test-d.ts +61 -5
- package/src/Webhooks.bench.ts +714 -0
- package/src/Webhooks.memory.bench.ts +250 -0
- package/src/Webhooks.test.ts +77 -6
- package/src/Webhooks.ts +85 -29
- package/src/admin/apps/api-keys.test.ts +9 -0
- package/src/admin/apps/api-keys.ts +15 -0
- package/src/admin/ui/src/lib/query-client.ts +3 -2
- package/src/admin/ui/src/routes/api-keys.tsx +31 -9
- package/src/admin/ui.generated.ts +69 -69
- package/src/analytics/Analytics.test.ts +8 -0
- package/src/analytics/Analytics.ts +26 -0
- package/src/apps/Zones.test.ts +23 -5
- package/src/apps/Zones.ts +31 -10
- package/src/apps/composition.test.ts +1 -0
- package/src/apps/data/App.test.ts +2 -2
- package/src/apps/data/FxOracle.test.ts +18 -0
- package/src/apps/data/FxOracle.ts +28 -5
- package/src/apps/data/routes/activities.bench.ts +41 -0
- package/src/apps/data/routes/activities.test.ts +122 -2
- package/src/apps/data/routes/activities.ts +435 -32
- package/src/apps/data/routes/balances.bench.ts +21 -0
- package/src/apps/data/routes/balances.test.ts +119 -10
- package/src/apps/data/routes/balances.ts +164 -97
- package/src/apps/data/routes/blocks.bench.ts +34 -0
- package/src/apps/data/routes/blocks.test.ts +12 -6
- package/src/apps/data/routes/coingecko.bench.ts +53 -0
- package/src/apps/data/routes/earn.bench.ts +71 -0
- package/src/apps/data/routes/earn.test.ts +197 -0
- package/src/apps/data/routes/earn.ts +487 -45
- package/src/apps/data/routes/exchanges.bench.ts +85 -0
- package/src/apps/data/routes/exchanges.test.ts +7 -6
- package/src/apps/data/routes/exchanges.ts +124 -117
- package/src/apps/data/routes/fee-amm.bench.ts +13 -0
- package/src/apps/data/routes/indexer.bench.ts +8 -0
- package/src/apps/data/routes/indexer.test.ts +2 -1
- package/src/apps/data/routes/indexer.ts +3 -2
- package/src/apps/data/routes/receipts.bench.ts +39 -0
- package/src/apps/data/routes/receipts.test.ts +24 -7
- package/src/apps/data/routes/receipts.ts +67 -50
- package/src/apps/data/routes/rpc.bench.ts +14 -0
- package/src/apps/data/routes/rpc.test.ts +27 -0
- package/src/apps/data/routes/rpc.ts +5 -1
- package/src/apps/data/routes/tokenlist.bench.ts +3 -0
- package/src/apps/data/routes/tokens.bench.ts +76 -0
- package/src/apps/data/routes/tokens.test.ts +51 -0
- package/src/apps/data/routes/transactions.bench.ts +40 -0
- package/src/apps/data/routes/transactions.test.ts +42 -0
- package/src/apps/data/routes/transactions.ts +44 -39
- package/src/apps/data/routes/transfers.bench.ts +28 -0
- package/src/apps/data/routes/transfers.test.ts +402 -24
- package/src/apps/data/routes/transfers.ts +708 -101
- package/src/apps/data/routes/valuation.bench.ts +14 -0
- package/src/apps/data/routes/valuation.test.ts +26 -0
- package/src/apps/data/routes/valuation.ts +6 -2
- package/src/apps/data/routes/verified-tokens.bench.ts +8 -0
- package/src/apps/data/routes/webhooks.bench.ts +26 -0
- package/src/apps/data/routes/webhooks.scan.test.ts +326 -0
- package/src/apps/data/routes/webhooks.test.ts +466 -135
- package/src/apps/data/routes/webhooks.ts +820 -429
- package/src/apps/data/routes/zones.bench.ts +32 -0
- package/src/apps/data/routes/zones.test.ts +1 -1
- package/src/apps/data/routes/zones.ts +7 -2
- package/src/apps/funding/routes/chains.test.ts +1 -1
- package/src/apps/funding/routes/deposit-addresses.test.ts +1 -1
- package/src/apps/funding/routes/deposit-addresses.ts +1 -1
- package/src/apps/funding/routes/providers.test.ts +1 -1
- package/src/apps/funding/routes/quotes.test.ts +2 -2
- package/src/apps/funding/routes/transfers.test.ts +3 -6
- package/src/apps/funding/routes/transfers.ts +1 -1
- package/src/apps/management/routes/billing.ts +1 -1
- package/src/apps/management/routes/faucet.ts +2 -2
- package/src/apps/management/routes/me.test.ts +31 -0
- package/src/apps/mcp.ts +4 -1
- package/src/apps/mpp/Mpp.test.ts +13 -1
- package/src/apps/mpp/Mpp.ts +8 -0
- package/src/apps/mpp/internal/Adapter.ts +10 -2
- package/src/db/Db.test.ts +40 -6
- package/src/db/Db.ts +114 -19
- package/src/db/Schema.ts +32 -0
- package/src/db/tables/sponsoredTransactions.ts +9 -2
- package/src/db/tables/webhookQueueEvents.ts +285 -0
- package/src/db/tables/webhookSubscriptions.ts +131 -4
- package/src/internal/Auth.test.ts +61 -50
- package/src/internal/Auth.ts +9 -4
- package/src/internal/EarnVaults.test.ts +2 -2
- package/src/internal/MetricSink.test.ts +575 -0
- package/src/internal/MetricSink.ts +325 -10
- package/src/internal/RateLimit.test.ts +23 -18
- package/src/internal/RateLimit.ts +23 -15
- package/src/internal/Schema.ts +1 -1
- package/src/internal/Store.test.ts +99 -13
- package/src/internal/Store.ts +52 -17
- package/src/internal/Tidx.test.ts +4 -4
- package/src/internal/Tidx.ts +1 -3
- package/src/internal/Value.test.ts +25 -0
- package/src/internal/Value.ts +29 -0
- package/src/internal/Viem.test.ts +8 -0
- package/src/internal/Viem.ts +2 -1
- package/src/internal/WebhookDestination.test.ts +20 -0
- package/src/internal/WebhookDestination.ts +10 -0
- package/src/internal/WebhookTransfer.test.ts +89 -0
- package/src/internal/WebhookTransfer.ts +430 -0
- package/src/internal/Webhooks.test.ts +616 -0
- package/src/internal/Webhooks.ts +412 -24
- package/src/internal/funding/Provider.test.ts +48 -8
- package/src/internal/funding/Provider.ts +12 -7
- package/src/internal/funding/Reconciliation.local.test.ts +3 -1
- package/src/internal/funding/Reconciliation.test.ts +1240 -0
- package/src/internal/funding/Reconciliation.ts +136 -0
- package/src/internal/funding/SourceObservation.test.ts +1 -0
- package/src/internal/funding/providers/index.test.ts +73 -3
- package/src/internal/funding/providers/relay.test.ts +2 -9
- package/src/internal/funding/providers/relay.ts +72 -13
|
@@ -151,14 +151,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
151
151
|
$post: {
|
|
152
152
|
output: {
|
|
153
153
|
error: {
|
|
154
|
-
code: "
|
|
154
|
+
code: "upstream_error";
|
|
155
155
|
details?: readonly Response.error.Detail[] | undefined;
|
|
156
156
|
message: string;
|
|
157
157
|
};
|
|
158
158
|
requestId: string;
|
|
159
159
|
};
|
|
160
160
|
outputFormat: "json";
|
|
161
|
-
status:
|
|
161
|
+
status: 502;
|
|
162
162
|
input: {
|
|
163
163
|
param: {
|
|
164
164
|
orgId: string;
|
|
@@ -175,14 +175,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
175
175
|
} | {
|
|
176
176
|
output: {
|
|
177
177
|
error: {
|
|
178
|
-
code: "
|
|
178
|
+
code: "api_key_malformed";
|
|
179
179
|
details?: readonly Response.error.Detail[] | undefined;
|
|
180
180
|
message: string;
|
|
181
181
|
};
|
|
182
182
|
requestId: string;
|
|
183
183
|
};
|
|
184
184
|
outputFormat: "json";
|
|
185
|
-
status:
|
|
185
|
+
status: 400;
|
|
186
186
|
input: {
|
|
187
187
|
param: {
|
|
188
188
|
orgId: string;
|
|
@@ -199,14 +199,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
199
199
|
} | {
|
|
200
200
|
output: {
|
|
201
201
|
error: {
|
|
202
|
-
code: "
|
|
202
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
203
203
|
details?: readonly Response.error.Detail[] | undefined;
|
|
204
204
|
message: string;
|
|
205
205
|
};
|
|
206
206
|
requestId: string;
|
|
207
207
|
};
|
|
208
208
|
outputFormat: "json";
|
|
209
|
-
status:
|
|
209
|
+
status: 401;
|
|
210
210
|
input: {
|
|
211
211
|
param: {
|
|
212
212
|
orgId: string;
|
|
@@ -223,14 +223,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
223
223
|
} | {
|
|
224
224
|
output: {
|
|
225
225
|
error: {
|
|
226
|
-
code: "
|
|
226
|
+
code: "forbidden";
|
|
227
227
|
details?: readonly Response.error.Detail[] | undefined;
|
|
228
228
|
message: string;
|
|
229
229
|
};
|
|
230
230
|
requestId: string;
|
|
231
231
|
};
|
|
232
232
|
outputFormat: "json";
|
|
233
|
-
status:
|
|
233
|
+
status: 403;
|
|
234
234
|
input: {
|
|
235
235
|
param: {
|
|
236
236
|
orgId: string;
|
|
@@ -247,14 +247,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
247
247
|
} | {
|
|
248
248
|
output: {
|
|
249
249
|
error: {
|
|
250
|
-
code: "
|
|
250
|
+
code: "organization_not_found" | "project_not_found";
|
|
251
251
|
details?: readonly Response.error.Detail[] | undefined;
|
|
252
252
|
message: string;
|
|
253
253
|
};
|
|
254
254
|
requestId: string;
|
|
255
255
|
};
|
|
256
256
|
outputFormat: "json";
|
|
257
|
-
status:
|
|
257
|
+
status: 404;
|
|
258
258
|
input: {
|
|
259
259
|
param: {
|
|
260
260
|
orgId: string;
|
|
@@ -271,14 +271,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
271
271
|
} | {
|
|
272
272
|
output: {
|
|
273
273
|
error: {
|
|
274
|
-
code: "
|
|
274
|
+
code: "param_invalid";
|
|
275
275
|
details?: readonly Response.error.Detail[] | undefined;
|
|
276
276
|
message: string;
|
|
277
277
|
};
|
|
278
278
|
requestId: string;
|
|
279
279
|
};
|
|
280
280
|
outputFormat: "json";
|
|
281
|
-
status:
|
|
281
|
+
status: 400;
|
|
282
282
|
input: {
|
|
283
283
|
param: {
|
|
284
284
|
orgId: string;
|
|
@@ -295,14 +295,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
295
295
|
} | {
|
|
296
296
|
output: {
|
|
297
297
|
error: {
|
|
298
|
-
code: "
|
|
298
|
+
code: "body_invalid";
|
|
299
299
|
details?: readonly Response.error.Detail[] | undefined;
|
|
300
300
|
message: string;
|
|
301
301
|
};
|
|
302
302
|
requestId: string;
|
|
303
303
|
};
|
|
304
304
|
outputFormat: "json";
|
|
305
|
-
status:
|
|
305
|
+
status: 400;
|
|
306
306
|
input: {
|
|
307
307
|
param: {
|
|
308
308
|
orgId: string;
|
|
@@ -402,14 +402,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
402
402
|
$get: {
|
|
403
403
|
output: {
|
|
404
404
|
error: {
|
|
405
|
-
code: "
|
|
405
|
+
code: "upstream_error";
|
|
406
406
|
details?: readonly Response.error.Detail[] | undefined;
|
|
407
407
|
message: string;
|
|
408
408
|
};
|
|
409
409
|
requestId: string;
|
|
410
410
|
};
|
|
411
411
|
outputFormat: "json";
|
|
412
|
-
status:
|
|
412
|
+
status: 502;
|
|
413
413
|
input: {
|
|
414
414
|
param: {
|
|
415
415
|
orgId: string;
|
|
@@ -423,14 +423,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
423
423
|
} | {
|
|
424
424
|
output: {
|
|
425
425
|
error: {
|
|
426
|
-
code: "
|
|
426
|
+
code: "api_key_malformed";
|
|
427
427
|
details?: readonly Response.error.Detail[] | undefined;
|
|
428
428
|
message: string;
|
|
429
429
|
};
|
|
430
430
|
requestId: string;
|
|
431
431
|
};
|
|
432
432
|
outputFormat: "json";
|
|
433
|
-
status:
|
|
433
|
+
status: 400;
|
|
434
434
|
input: {
|
|
435
435
|
param: {
|
|
436
436
|
orgId: string;
|
|
@@ -444,14 +444,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
444
444
|
} | {
|
|
445
445
|
output: {
|
|
446
446
|
error: {
|
|
447
|
-
code: "
|
|
447
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
448
448
|
details?: readonly Response.error.Detail[] | undefined;
|
|
449
449
|
message: string;
|
|
450
450
|
};
|
|
451
451
|
requestId: string;
|
|
452
452
|
};
|
|
453
453
|
outputFormat: "json";
|
|
454
|
-
status:
|
|
454
|
+
status: 401;
|
|
455
455
|
input: {
|
|
456
456
|
param: {
|
|
457
457
|
orgId: string;
|
|
@@ -465,14 +465,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
465
465
|
} | {
|
|
466
466
|
output: {
|
|
467
467
|
error: {
|
|
468
|
-
code: "
|
|
468
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
469
469
|
details?: readonly Response.error.Detail[] | undefined;
|
|
470
470
|
message: string;
|
|
471
471
|
};
|
|
472
472
|
requestId: string;
|
|
473
473
|
};
|
|
474
474
|
outputFormat: "json";
|
|
475
|
-
status:
|
|
475
|
+
status: 403;
|
|
476
476
|
input: {
|
|
477
477
|
param: {
|
|
478
478
|
orgId: string;
|
|
@@ -486,14 +486,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
486
486
|
} | {
|
|
487
487
|
output: {
|
|
488
488
|
error: {
|
|
489
|
-
code: "
|
|
489
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
490
490
|
details?: readonly Response.error.Detail[] | undefined;
|
|
491
491
|
message: string;
|
|
492
492
|
};
|
|
493
493
|
requestId: string;
|
|
494
494
|
};
|
|
495
495
|
outputFormat: "json";
|
|
496
|
-
status:
|
|
496
|
+
status: 429;
|
|
497
497
|
input: {
|
|
498
498
|
param: {
|
|
499
499
|
orgId: string;
|
|
@@ -507,14 +507,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
507
507
|
} | {
|
|
508
508
|
output: {
|
|
509
509
|
error: {
|
|
510
|
-
code: "
|
|
510
|
+
code: "query_invalid";
|
|
511
511
|
details?: readonly Response.error.Detail[] | undefined;
|
|
512
512
|
message: string;
|
|
513
513
|
};
|
|
514
514
|
requestId: string;
|
|
515
515
|
};
|
|
516
516
|
outputFormat: "json";
|
|
517
|
-
status:
|
|
517
|
+
status: 400;
|
|
518
518
|
input: {
|
|
519
519
|
param: {
|
|
520
520
|
orgId: string;
|
|
@@ -528,14 +528,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
528
528
|
} | {
|
|
529
529
|
output: {
|
|
530
530
|
error: {
|
|
531
|
-
code: "
|
|
531
|
+
code: "organization_not_found" | "project_not_found";
|
|
532
532
|
details?: readonly Response.error.Detail[] | undefined;
|
|
533
533
|
message: string;
|
|
534
534
|
};
|
|
535
535
|
requestId: string;
|
|
536
536
|
};
|
|
537
537
|
outputFormat: "json";
|
|
538
|
-
status:
|
|
538
|
+
status: 404;
|
|
539
539
|
input: {
|
|
540
540
|
param: {
|
|
541
541
|
orgId: string;
|
|
@@ -549,14 +549,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
549
549
|
} | {
|
|
550
550
|
output: {
|
|
551
551
|
error: {
|
|
552
|
-
code: "
|
|
552
|
+
code: "param_invalid";
|
|
553
553
|
details?: readonly Response.error.Detail[] | undefined;
|
|
554
554
|
message: string;
|
|
555
555
|
};
|
|
556
556
|
requestId: string;
|
|
557
557
|
};
|
|
558
558
|
outputFormat: "json";
|
|
559
|
-
status:
|
|
559
|
+
status: 400;
|
|
560
560
|
input: {
|
|
561
561
|
param: {
|
|
562
562
|
orgId: string;
|
|
@@ -624,14 +624,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
624
624
|
$get: {
|
|
625
625
|
output: {
|
|
626
626
|
error: {
|
|
627
|
-
code: "
|
|
627
|
+
code: "upstream_error";
|
|
628
628
|
details?: readonly Response.error.Detail[] | undefined;
|
|
629
629
|
message: string;
|
|
630
630
|
};
|
|
631
631
|
requestId: string;
|
|
632
632
|
};
|
|
633
633
|
outputFormat: "json";
|
|
634
|
-
status:
|
|
634
|
+
status: 502;
|
|
635
635
|
input: {
|
|
636
636
|
param: {
|
|
637
637
|
orgId: string;
|
|
@@ -644,14 +644,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
644
644
|
} | {
|
|
645
645
|
output: {
|
|
646
646
|
error: {
|
|
647
|
-
code: "
|
|
647
|
+
code: "api_key_malformed";
|
|
648
648
|
details?: readonly Response.error.Detail[] | undefined;
|
|
649
649
|
message: string;
|
|
650
650
|
};
|
|
651
651
|
requestId: string;
|
|
652
652
|
};
|
|
653
653
|
outputFormat: "json";
|
|
654
|
-
status:
|
|
654
|
+
status: 400;
|
|
655
655
|
input: {
|
|
656
656
|
param: {
|
|
657
657
|
orgId: string;
|
|
@@ -664,14 +664,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
664
664
|
} | {
|
|
665
665
|
output: {
|
|
666
666
|
error: {
|
|
667
|
-
code: "
|
|
667
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
668
668
|
details?: readonly Response.error.Detail[] | undefined;
|
|
669
669
|
message: string;
|
|
670
670
|
};
|
|
671
671
|
requestId: string;
|
|
672
672
|
};
|
|
673
673
|
outputFormat: "json";
|
|
674
|
-
status:
|
|
674
|
+
status: 401;
|
|
675
675
|
input: {
|
|
676
676
|
param: {
|
|
677
677
|
orgId: string;
|
|
@@ -684,14 +684,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
684
684
|
} | {
|
|
685
685
|
output: {
|
|
686
686
|
error: {
|
|
687
|
-
code: "
|
|
687
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
688
688
|
details?: readonly Response.error.Detail[] | undefined;
|
|
689
689
|
message: string;
|
|
690
690
|
};
|
|
691
691
|
requestId: string;
|
|
692
692
|
};
|
|
693
693
|
outputFormat: "json";
|
|
694
|
-
status:
|
|
694
|
+
status: 403;
|
|
695
695
|
input: {
|
|
696
696
|
param: {
|
|
697
697
|
orgId: string;
|
|
@@ -704,14 +704,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
704
704
|
} | {
|
|
705
705
|
output: {
|
|
706
706
|
error: {
|
|
707
|
-
code: "
|
|
707
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
708
708
|
details?: readonly Response.error.Detail[] | undefined;
|
|
709
709
|
message: string;
|
|
710
710
|
};
|
|
711
711
|
requestId: string;
|
|
712
712
|
};
|
|
713
713
|
outputFormat: "json";
|
|
714
|
-
status:
|
|
714
|
+
status: 429;
|
|
715
715
|
input: {
|
|
716
716
|
param: {
|
|
717
717
|
orgId: string;
|
|
@@ -724,14 +724,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
724
724
|
} | {
|
|
725
725
|
output: {
|
|
726
726
|
error: {
|
|
727
|
-
code: "
|
|
727
|
+
code: "query_invalid";
|
|
728
728
|
details?: readonly Response.error.Detail[] | undefined;
|
|
729
729
|
message: string;
|
|
730
730
|
};
|
|
731
731
|
requestId: string;
|
|
732
732
|
};
|
|
733
733
|
outputFormat: "json";
|
|
734
|
-
status:
|
|
734
|
+
status: 400;
|
|
735
735
|
input: {
|
|
736
736
|
param: {
|
|
737
737
|
orgId: string;
|
|
@@ -744,14 +744,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
744
744
|
} | {
|
|
745
745
|
output: {
|
|
746
746
|
error: {
|
|
747
|
-
code: "
|
|
747
|
+
code: "organization_not_found";
|
|
748
748
|
details?: readonly Response.error.Detail[] | undefined;
|
|
749
749
|
message: string;
|
|
750
750
|
};
|
|
751
751
|
requestId: string;
|
|
752
752
|
};
|
|
753
753
|
outputFormat: "json";
|
|
754
|
-
status:
|
|
754
|
+
status: 404;
|
|
755
755
|
input: {
|
|
756
756
|
param: {
|
|
757
757
|
orgId: string;
|
|
@@ -764,14 +764,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
764
764
|
} | {
|
|
765
765
|
output: {
|
|
766
766
|
error: {
|
|
767
|
-
code: "
|
|
767
|
+
code: "param_invalid";
|
|
768
768
|
details?: readonly Response.error.Detail[] | undefined;
|
|
769
769
|
message: string;
|
|
770
770
|
};
|
|
771
771
|
requestId: string;
|
|
772
772
|
};
|
|
773
773
|
outputFormat: "json";
|
|
774
|
-
status:
|
|
774
|
+
status: 400;
|
|
775
775
|
input: {
|
|
776
776
|
param: {
|
|
777
777
|
orgId: string;
|
|
@@ -836,14 +836,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
836
836
|
$patch: {
|
|
837
837
|
output: {
|
|
838
838
|
error: {
|
|
839
|
-
code: "
|
|
839
|
+
code: "upstream_error";
|
|
840
840
|
details?: readonly Response.error.Detail[] | undefined;
|
|
841
841
|
message: string;
|
|
842
842
|
};
|
|
843
843
|
requestId: string;
|
|
844
844
|
};
|
|
845
845
|
outputFormat: "json";
|
|
846
|
-
status:
|
|
846
|
+
status: 502;
|
|
847
847
|
input: {
|
|
848
848
|
param: {
|
|
849
849
|
keyId: string;
|
|
@@ -858,14 +858,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
858
858
|
} | {
|
|
859
859
|
output: {
|
|
860
860
|
error: {
|
|
861
|
-
code: "
|
|
861
|
+
code: "api_key_malformed";
|
|
862
862
|
details?: readonly Response.error.Detail[] | undefined;
|
|
863
863
|
message: string;
|
|
864
864
|
};
|
|
865
865
|
requestId: string;
|
|
866
866
|
};
|
|
867
867
|
outputFormat: "json";
|
|
868
|
-
status:
|
|
868
|
+
status: 400;
|
|
869
869
|
input: {
|
|
870
870
|
param: {
|
|
871
871
|
keyId: string;
|
|
@@ -880,14 +880,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
880
880
|
} | {
|
|
881
881
|
output: {
|
|
882
882
|
error: {
|
|
883
|
-
code: "
|
|
883
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
884
884
|
details?: readonly Response.error.Detail[] | undefined;
|
|
885
885
|
message: string;
|
|
886
886
|
};
|
|
887
887
|
requestId: string;
|
|
888
888
|
};
|
|
889
889
|
outputFormat: "json";
|
|
890
|
-
status:
|
|
890
|
+
status: 401;
|
|
891
891
|
input: {
|
|
892
892
|
param: {
|
|
893
893
|
keyId: string;
|
|
@@ -902,14 +902,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
902
902
|
} | {
|
|
903
903
|
output: {
|
|
904
904
|
error: {
|
|
905
|
-
code: "
|
|
905
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
906
906
|
details?: readonly Response.error.Detail[] | undefined;
|
|
907
907
|
message: string;
|
|
908
908
|
};
|
|
909
909
|
requestId: string;
|
|
910
910
|
};
|
|
911
911
|
outputFormat: "json";
|
|
912
|
-
status:
|
|
912
|
+
status: 403;
|
|
913
913
|
input: {
|
|
914
914
|
param: {
|
|
915
915
|
keyId: string;
|
|
@@ -924,14 +924,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
924
924
|
} | {
|
|
925
925
|
output: {
|
|
926
926
|
error: {
|
|
927
|
-
code: "
|
|
927
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
928
928
|
details?: readonly Response.error.Detail[] | undefined;
|
|
929
929
|
message: string;
|
|
930
930
|
};
|
|
931
931
|
requestId: string;
|
|
932
932
|
};
|
|
933
933
|
outputFormat: "json";
|
|
934
|
-
status:
|
|
934
|
+
status: 429;
|
|
935
935
|
input: {
|
|
936
936
|
param: {
|
|
937
937
|
keyId: string;
|
|
@@ -946,14 +946,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
946
946
|
} | {
|
|
947
947
|
output: {
|
|
948
948
|
error: {
|
|
949
|
-
code: "
|
|
949
|
+
code: "organization_not_found" | "project_not_found";
|
|
950
950
|
details?: readonly Response.error.Detail[] | undefined;
|
|
951
951
|
message: string;
|
|
952
952
|
};
|
|
953
953
|
requestId: string;
|
|
954
954
|
};
|
|
955
955
|
outputFormat: "json";
|
|
956
|
-
status:
|
|
956
|
+
status: 404;
|
|
957
957
|
input: {
|
|
958
958
|
param: {
|
|
959
959
|
keyId: string;
|
|
@@ -990,14 +990,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
990
990
|
} | {
|
|
991
991
|
output: {
|
|
992
992
|
error: {
|
|
993
|
-
code: "
|
|
993
|
+
code: "body_invalid";
|
|
994
994
|
details?: readonly Response.error.Detail[] | undefined;
|
|
995
995
|
message: string;
|
|
996
996
|
};
|
|
997
997
|
requestId: string;
|
|
998
998
|
};
|
|
999
999
|
outputFormat: "json";
|
|
1000
|
-
status:
|
|
1000
|
+
status: 400;
|
|
1001
1001
|
input: {
|
|
1002
1002
|
param: {
|
|
1003
1003
|
keyId: string;
|
|
@@ -1088,14 +1088,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1088
1088
|
$delete: {
|
|
1089
1089
|
output: {
|
|
1090
1090
|
error: {
|
|
1091
|
-
code: "
|
|
1091
|
+
code: "upstream_error";
|
|
1092
1092
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1093
1093
|
message: string;
|
|
1094
1094
|
};
|
|
1095
1095
|
requestId: string;
|
|
1096
1096
|
};
|
|
1097
1097
|
outputFormat: "json";
|
|
1098
|
-
status:
|
|
1098
|
+
status: 502;
|
|
1099
1099
|
input: {
|
|
1100
1100
|
param: {
|
|
1101
1101
|
keyId: string;
|
|
@@ -1106,14 +1106,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1106
1106
|
} | {
|
|
1107
1107
|
output: {
|
|
1108
1108
|
error: {
|
|
1109
|
-
code: "
|
|
1109
|
+
code: "api_key_malformed";
|
|
1110
1110
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1111
1111
|
message: string;
|
|
1112
1112
|
};
|
|
1113
1113
|
requestId: string;
|
|
1114
1114
|
};
|
|
1115
1115
|
outputFormat: "json";
|
|
1116
|
-
status:
|
|
1116
|
+
status: 400;
|
|
1117
1117
|
input: {
|
|
1118
1118
|
param: {
|
|
1119
1119
|
keyId: string;
|
|
@@ -1124,14 +1124,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1124
1124
|
} | {
|
|
1125
1125
|
output: {
|
|
1126
1126
|
error: {
|
|
1127
|
-
code: "
|
|
1127
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1128
1128
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1129
1129
|
message: string;
|
|
1130
1130
|
};
|
|
1131
1131
|
requestId: string;
|
|
1132
1132
|
};
|
|
1133
1133
|
outputFormat: "json";
|
|
1134
|
-
status:
|
|
1134
|
+
status: 401;
|
|
1135
1135
|
input: {
|
|
1136
1136
|
param: {
|
|
1137
1137
|
keyId: string;
|
|
@@ -1142,14 +1142,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1142
1142
|
} | {
|
|
1143
1143
|
output: {
|
|
1144
1144
|
error: {
|
|
1145
|
-
code: "
|
|
1145
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1146
1146
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1147
1147
|
message: string;
|
|
1148
1148
|
};
|
|
1149
1149
|
requestId: string;
|
|
1150
1150
|
};
|
|
1151
1151
|
outputFormat: "json";
|
|
1152
|
-
status:
|
|
1152
|
+
status: 403;
|
|
1153
1153
|
input: {
|
|
1154
1154
|
param: {
|
|
1155
1155
|
keyId: string;
|
|
@@ -1160,14 +1160,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1160
1160
|
} | {
|
|
1161
1161
|
output: {
|
|
1162
1162
|
error: {
|
|
1163
|
-
code: "
|
|
1163
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1164
1164
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1165
1165
|
message: string;
|
|
1166
1166
|
};
|
|
1167
1167
|
requestId: string;
|
|
1168
1168
|
};
|
|
1169
1169
|
outputFormat: "json";
|
|
1170
|
-
status:
|
|
1170
|
+
status: 429;
|
|
1171
1171
|
input: {
|
|
1172
1172
|
param: {
|
|
1173
1173
|
keyId: string;
|
|
@@ -1178,14 +1178,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1178
1178
|
} | {
|
|
1179
1179
|
output: {
|
|
1180
1180
|
error: {
|
|
1181
|
-
code: "
|
|
1181
|
+
code: "organization_not_found" | "project_not_found";
|
|
1182
1182
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1183
1183
|
message: string;
|
|
1184
1184
|
};
|
|
1185
1185
|
requestId: string;
|
|
1186
1186
|
};
|
|
1187
1187
|
outputFormat: "json";
|
|
1188
|
-
status:
|
|
1188
|
+
status: 404;
|
|
1189
1189
|
input: {
|
|
1190
1190
|
param: {
|
|
1191
1191
|
keyId: string;
|
|
@@ -1196,14 +1196,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1196
1196
|
} | {
|
|
1197
1197
|
output: {
|
|
1198
1198
|
error: {
|
|
1199
|
-
code: "
|
|
1199
|
+
code: "param_invalid";
|
|
1200
1200
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1201
1201
|
message: string;
|
|
1202
1202
|
};
|
|
1203
1203
|
requestId: string;
|
|
1204
1204
|
};
|
|
1205
1205
|
outputFormat: "json";
|
|
1206
|
-
status:
|
|
1206
|
+
status: 400;
|
|
1207
1207
|
input: {
|
|
1208
1208
|
param: {
|
|
1209
1209
|
keyId: string;
|
|
@@ -554,7 +554,7 @@ export function billing() {
|
|
|
554
554
|
Auth.policy({
|
|
555
555
|
apiKey: false,
|
|
556
556
|
mpp: false,
|
|
557
|
-
public: { rateLimit: {
|
|
557
|
+
public: { rateLimit: { limit: 600, period: 'minute' } },
|
|
558
558
|
session: false,
|
|
559
559
|
}), OpenApi.describeRoute({ hide: true, summary: 'Stripe webhook' }), async (c) => {
|
|
560
560
|
const billing = c.get('billing');
|