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
|
@@ -145,15 +145,38 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
145
145
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/usage/requests": {
|
|
146
146
|
$get: {
|
|
147
147
|
output: {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
byKey: {
|
|
149
|
+
apiKeyId: string;
|
|
150
|
+
averageDurationMs: number;
|
|
151
|
+
errors: number;
|
|
152
|
+
requests: number;
|
|
153
|
+
}[];
|
|
154
|
+
byRoute: {
|
|
155
|
+
averageDurationMs: number;
|
|
156
|
+
errors: number;
|
|
157
|
+
requests: number;
|
|
158
|
+
route: string;
|
|
159
|
+
}[];
|
|
160
|
+
byStatus: {
|
|
161
|
+
requests: number;
|
|
162
|
+
status: number;
|
|
163
|
+
}[];
|
|
164
|
+
from: string;
|
|
165
|
+
interval: "day" | "hour";
|
|
166
|
+
series: {
|
|
167
|
+
errors: number;
|
|
168
|
+
requests: number;
|
|
169
|
+
time: string;
|
|
170
|
+
}[];
|
|
171
|
+
to: string;
|
|
172
|
+
totals: {
|
|
173
|
+
averageDurationMs: number;
|
|
174
|
+
errors: number;
|
|
175
|
+
requests: number;
|
|
152
176
|
};
|
|
153
|
-
requestId: string;
|
|
154
177
|
};
|
|
155
178
|
outputFormat: "json";
|
|
156
|
-
status:
|
|
179
|
+
status: 200;
|
|
157
180
|
input: {
|
|
158
181
|
param: {
|
|
159
182
|
orgId: string;
|
|
@@ -194,14 +217,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
194
217
|
} | {
|
|
195
218
|
output: {
|
|
196
219
|
error: {
|
|
197
|
-
code: "
|
|
220
|
+
code: "query_invalid";
|
|
198
221
|
details?: readonly Response.error.Detail[] | undefined;
|
|
199
222
|
message: string;
|
|
200
223
|
};
|
|
201
224
|
requestId: string;
|
|
202
225
|
};
|
|
203
226
|
outputFormat: "json";
|
|
204
|
-
status:
|
|
227
|
+
status: 400;
|
|
205
228
|
input: {
|
|
206
229
|
param: {
|
|
207
230
|
orgId: string;
|
|
@@ -218,14 +241,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
218
241
|
} | {
|
|
219
242
|
output: {
|
|
220
243
|
error: {
|
|
221
|
-
code: "
|
|
244
|
+
code: "param_invalid";
|
|
222
245
|
details?: readonly Response.error.Detail[] | undefined;
|
|
223
246
|
message: string;
|
|
224
247
|
};
|
|
225
248
|
requestId: string;
|
|
226
249
|
};
|
|
227
250
|
outputFormat: "json";
|
|
228
|
-
status:
|
|
251
|
+
status: 400;
|
|
229
252
|
input: {
|
|
230
253
|
param: {
|
|
231
254
|
orgId: string;
|
|
@@ -242,14 +265,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
242
265
|
} | {
|
|
243
266
|
output: {
|
|
244
267
|
error: {
|
|
245
|
-
code: "
|
|
268
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
246
269
|
details?: readonly Response.error.Detail[] | undefined;
|
|
247
270
|
message: string;
|
|
248
271
|
};
|
|
249
272
|
requestId: string;
|
|
250
273
|
};
|
|
251
274
|
outputFormat: "json";
|
|
252
|
-
status:
|
|
275
|
+
status: 401;
|
|
253
276
|
input: {
|
|
254
277
|
param: {
|
|
255
278
|
orgId: string;
|
|
@@ -266,14 +289,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
266
289
|
} | {
|
|
267
290
|
output: {
|
|
268
291
|
error: {
|
|
269
|
-
code: "
|
|
292
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
270
293
|
details?: readonly Response.error.Detail[] | undefined;
|
|
271
294
|
message: string;
|
|
272
295
|
};
|
|
273
296
|
requestId: string;
|
|
274
297
|
};
|
|
275
298
|
outputFormat: "json";
|
|
276
|
-
status:
|
|
299
|
+
status: 403;
|
|
277
300
|
input: {
|
|
278
301
|
param: {
|
|
279
302
|
orgId: string;
|
|
@@ -314,14 +337,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
314
337
|
} | {
|
|
315
338
|
output: {
|
|
316
339
|
error: {
|
|
317
|
-
code: "
|
|
340
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
318
341
|
details?: readonly Response.error.Detail[] | undefined;
|
|
319
342
|
message: string;
|
|
320
343
|
};
|
|
321
344
|
requestId: string;
|
|
322
345
|
};
|
|
323
346
|
outputFormat: "json";
|
|
324
|
-
status:
|
|
347
|
+
status: 429;
|
|
325
348
|
input: {
|
|
326
349
|
param: {
|
|
327
350
|
orgId: string;
|
|
@@ -361,38 +384,15 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
361
384
|
};
|
|
362
385
|
} | {
|
|
363
386
|
output: {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
requests: number;
|
|
369
|
-
}[];
|
|
370
|
-
byRoute: {
|
|
371
|
-
averageDurationMs: number;
|
|
372
|
-
errors: number;
|
|
373
|
-
requests: number;
|
|
374
|
-
route: string;
|
|
375
|
-
}[];
|
|
376
|
-
byStatus: {
|
|
377
|
-
requests: number;
|
|
378
|
-
status: number;
|
|
379
|
-
}[];
|
|
380
|
-
from: string;
|
|
381
|
-
interval: "day" | "hour";
|
|
382
|
-
series: {
|
|
383
|
-
errors: number;
|
|
384
|
-
requests: number;
|
|
385
|
-
time: string;
|
|
386
|
-
}[];
|
|
387
|
-
to: string;
|
|
388
|
-
totals: {
|
|
389
|
-
averageDurationMs: number;
|
|
390
|
-
errors: number;
|
|
391
|
-
requests: number;
|
|
387
|
+
error: {
|
|
388
|
+
code: "upstream_error";
|
|
389
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
390
|
+
message: string;
|
|
392
391
|
};
|
|
392
|
+
requestId: string;
|
|
393
393
|
};
|
|
394
394
|
outputFormat: "json";
|
|
395
|
-
status:
|
|
395
|
+
status: 502;
|
|
396
396
|
input: {
|
|
397
397
|
param: {
|
|
398
398
|
orgId: string;
|
|
@@ -412,15 +412,18 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
412
412
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/usage/sponsorships": {
|
|
413
413
|
$get: {
|
|
414
414
|
output: {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
415
|
+
data: {
|
|
416
|
+
count: number;
|
|
417
|
+
failed: number;
|
|
418
|
+
feeTotal: {
|
|
419
|
+
amount: string;
|
|
420
|
+
currency: "usd";
|
|
421
|
+
};
|
|
422
|
+
timestamp: string;
|
|
423
|
+
}[];
|
|
421
424
|
};
|
|
422
425
|
outputFormat: "json";
|
|
423
|
-
status:
|
|
426
|
+
status: 200;
|
|
424
427
|
input: {
|
|
425
428
|
param: {
|
|
426
429
|
orgId: string;
|
|
@@ -461,14 +464,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
461
464
|
} | {
|
|
462
465
|
output: {
|
|
463
466
|
error: {
|
|
464
|
-
code: "
|
|
467
|
+
code: "query_invalid";
|
|
465
468
|
details?: readonly Response.error.Detail[] | undefined;
|
|
466
469
|
message: string;
|
|
467
470
|
};
|
|
468
471
|
requestId: string;
|
|
469
472
|
};
|
|
470
473
|
outputFormat: "json";
|
|
471
|
-
status:
|
|
474
|
+
status: 400;
|
|
472
475
|
input: {
|
|
473
476
|
param: {
|
|
474
477
|
orgId: string;
|
|
@@ -485,14 +488,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
485
488
|
} | {
|
|
486
489
|
output: {
|
|
487
490
|
error: {
|
|
488
|
-
code: "
|
|
491
|
+
code: "param_invalid";
|
|
489
492
|
details?: readonly Response.error.Detail[] | undefined;
|
|
490
493
|
message: string;
|
|
491
494
|
};
|
|
492
495
|
requestId: string;
|
|
493
496
|
};
|
|
494
497
|
outputFormat: "json";
|
|
495
|
-
status:
|
|
498
|
+
status: 400;
|
|
496
499
|
input: {
|
|
497
500
|
param: {
|
|
498
501
|
orgId: string;
|
|
@@ -509,14 +512,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
509
512
|
} | {
|
|
510
513
|
output: {
|
|
511
514
|
error: {
|
|
512
|
-
code: "
|
|
515
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
513
516
|
details?: readonly Response.error.Detail[] | undefined;
|
|
514
517
|
message: string;
|
|
515
518
|
};
|
|
516
519
|
requestId: string;
|
|
517
520
|
};
|
|
518
521
|
outputFormat: "json";
|
|
519
|
-
status:
|
|
522
|
+
status: 401;
|
|
520
523
|
input: {
|
|
521
524
|
param: {
|
|
522
525
|
orgId: string;
|
|
@@ -533,14 +536,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
533
536
|
} | {
|
|
534
537
|
output: {
|
|
535
538
|
error: {
|
|
536
|
-
code: "
|
|
539
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
537
540
|
details?: readonly Response.error.Detail[] | undefined;
|
|
538
541
|
message: string;
|
|
539
542
|
};
|
|
540
543
|
requestId: string;
|
|
541
544
|
};
|
|
542
545
|
outputFormat: "json";
|
|
543
|
-
status:
|
|
546
|
+
status: 403;
|
|
544
547
|
input: {
|
|
545
548
|
param: {
|
|
546
549
|
orgId: string;
|
|
@@ -581,14 +584,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
581
584
|
} | {
|
|
582
585
|
output: {
|
|
583
586
|
error: {
|
|
584
|
-
code: "
|
|
587
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
585
588
|
details?: readonly Response.error.Detail[] | undefined;
|
|
586
589
|
message: string;
|
|
587
590
|
};
|
|
588
591
|
requestId: string;
|
|
589
592
|
};
|
|
590
593
|
outputFormat: "json";
|
|
591
|
-
status:
|
|
594
|
+
status: 429;
|
|
592
595
|
input: {
|
|
593
596
|
param: {
|
|
594
597
|
orgId: string;
|
|
@@ -604,18 +607,15 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
|
|
|
604
607
|
};
|
|
605
608
|
} | {
|
|
606
609
|
output: {
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
};
|
|
614
|
-
timestamp: string;
|
|
615
|
-
}[];
|
|
610
|
+
error: {
|
|
611
|
+
code: "upstream_error";
|
|
612
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
613
|
+
message: string;
|
|
614
|
+
};
|
|
615
|
+
requestId: string;
|
|
616
616
|
};
|
|
617
617
|
outputFormat: "json";
|
|
618
|
-
status:
|
|
618
|
+
status: 502;
|
|
619
619
|
input: {
|
|
620
620
|
param: {
|
|
621
621
|
orgId: string;
|
|
@@ -93,26 +93,15 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
93
93
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/verified-token-requests": {
|
|
94
94
|
$post: {
|
|
95
95
|
output: {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
chainId: number;
|
|
103
|
-
createdAt: string;
|
|
104
|
-
id: string;
|
|
105
|
-
logo?: string | undefined;
|
|
106
|
-
note: string | null;
|
|
107
|
-
orgId: string;
|
|
108
|
-
requestedBy: string;
|
|
109
|
-
reviewNote: string | null;
|
|
110
|
-
reviewedAt: string | null;
|
|
111
|
-
status: "approved" | "denied" | "pending";
|
|
112
|
-
updatedAt: string;
|
|
96
|
+
error: {
|
|
97
|
+
code: "api_key_malformed";
|
|
98
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
99
|
+
message: string;
|
|
100
|
+
};
|
|
101
|
+
requestId: string;
|
|
113
102
|
};
|
|
114
103
|
outputFormat: "json";
|
|
115
|
-
status:
|
|
104
|
+
status: 400;
|
|
116
105
|
input: {
|
|
117
106
|
param: {
|
|
118
107
|
orgId: string;
|
|
@@ -133,14 +122,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
133
122
|
} | {
|
|
134
123
|
output: {
|
|
135
124
|
error: {
|
|
136
|
-
code: "
|
|
125
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
137
126
|
details?: readonly Response.error.Detail[] | undefined;
|
|
138
127
|
message: string;
|
|
139
128
|
};
|
|
140
129
|
requestId: string;
|
|
141
130
|
};
|
|
142
131
|
outputFormat: "json";
|
|
143
|
-
status:
|
|
132
|
+
status: 401;
|
|
144
133
|
input: {
|
|
145
134
|
param: {
|
|
146
135
|
orgId: string;
|
|
@@ -161,14 +150,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
161
150
|
} | {
|
|
162
151
|
output: {
|
|
163
152
|
error: {
|
|
164
|
-
code: "
|
|
153
|
+
code: "upstream_error";
|
|
165
154
|
details?: readonly Response.error.Detail[] | undefined;
|
|
166
155
|
message: string;
|
|
167
156
|
};
|
|
168
157
|
requestId: string;
|
|
169
158
|
};
|
|
170
159
|
outputFormat: "json";
|
|
171
|
-
status:
|
|
160
|
+
status: 502;
|
|
172
161
|
input: {
|
|
173
162
|
param: {
|
|
174
163
|
orgId: string;
|
|
@@ -189,14 +178,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
189
178
|
} | {
|
|
190
179
|
output: {
|
|
191
180
|
error: {
|
|
192
|
-
code: "
|
|
181
|
+
code: "body_invalid";
|
|
193
182
|
details?: readonly Response.error.Detail[] | undefined;
|
|
194
183
|
message: string;
|
|
195
184
|
};
|
|
196
185
|
requestId: string;
|
|
197
186
|
};
|
|
198
187
|
outputFormat: "json";
|
|
199
|
-
status:
|
|
188
|
+
status: 400;
|
|
200
189
|
input: {
|
|
201
190
|
param: {
|
|
202
191
|
orgId: string;
|
|
@@ -384,15 +373,26 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
384
373
|
};
|
|
385
374
|
} | {
|
|
386
375
|
output: {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
376
|
+
address: `0x${string}`;
|
|
377
|
+
currency: string;
|
|
378
|
+
decimals: number;
|
|
379
|
+
logoUri?: string | undefined;
|
|
380
|
+
name: string;
|
|
381
|
+
symbol: string;
|
|
382
|
+
chainId: number;
|
|
383
|
+
createdAt: string;
|
|
384
|
+
id: string;
|
|
385
|
+
logo?: string | undefined;
|
|
386
|
+
note: string | null;
|
|
387
|
+
orgId: string;
|
|
388
|
+
requestedBy: string;
|
|
389
|
+
reviewNote: string | null;
|
|
390
|
+
reviewedAt: string | null;
|
|
391
|
+
status: "approved" | "denied" | "pending";
|
|
392
|
+
updatedAt: string;
|
|
393
393
|
};
|
|
394
394
|
outputFormat: "json";
|
|
395
|
-
status:
|
|
395
|
+
status: 200;
|
|
396
396
|
input: {
|
|
397
397
|
param: {
|
|
398
398
|
orgId: string;
|
|
@@ -416,28 +416,15 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
416
416
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/verified-token-requests": {
|
|
417
417
|
$get: {
|
|
418
418
|
output: {
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
symbol: string;
|
|
426
|
-
chainId: number;
|
|
427
|
-
createdAt: string;
|
|
428
|
-
id: string;
|
|
429
|
-
logo?: string | undefined;
|
|
430
|
-
note: string | null;
|
|
431
|
-
orgId: string;
|
|
432
|
-
requestedBy: string;
|
|
433
|
-
reviewNote: string | null;
|
|
434
|
-
reviewedAt: string | null;
|
|
435
|
-
status: "approved" | "denied" | "pending";
|
|
436
|
-
updatedAt: string;
|
|
437
|
-
}[];
|
|
419
|
+
error: {
|
|
420
|
+
code: "api_key_malformed";
|
|
421
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
422
|
+
message: string;
|
|
423
|
+
};
|
|
424
|
+
requestId: string;
|
|
438
425
|
};
|
|
439
426
|
outputFormat: "json";
|
|
440
|
-
status:
|
|
427
|
+
status: 400;
|
|
441
428
|
input: {
|
|
442
429
|
param: {
|
|
443
430
|
orgId: string;
|
|
@@ -446,14 +433,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
446
433
|
} | {
|
|
447
434
|
output: {
|
|
448
435
|
error: {
|
|
449
|
-
code: "
|
|
436
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
450
437
|
details?: readonly Response.error.Detail[] | undefined;
|
|
451
438
|
message: string;
|
|
452
439
|
};
|
|
453
440
|
requestId: string;
|
|
454
441
|
};
|
|
455
442
|
outputFormat: "json";
|
|
456
|
-
status:
|
|
443
|
+
status: 401;
|
|
457
444
|
input: {
|
|
458
445
|
param: {
|
|
459
446
|
orgId: string;
|
|
@@ -462,14 +449,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
462
449
|
} | {
|
|
463
450
|
output: {
|
|
464
451
|
error: {
|
|
465
|
-
code: "
|
|
452
|
+
code: "upstream_error";
|
|
466
453
|
details?: readonly Response.error.Detail[] | undefined;
|
|
467
454
|
message: string;
|
|
468
455
|
};
|
|
469
456
|
requestId: string;
|
|
470
457
|
};
|
|
471
458
|
outputFormat: "json";
|
|
472
|
-
status:
|
|
459
|
+
status: 502;
|
|
473
460
|
input: {
|
|
474
461
|
param: {
|
|
475
462
|
orgId: string;
|
|
@@ -478,14 +465,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
478
465
|
} | {
|
|
479
466
|
output: {
|
|
480
467
|
error: {
|
|
481
|
-
code: "
|
|
468
|
+
code: "param_invalid";
|
|
482
469
|
details?: readonly Response.error.Detail[] | undefined;
|
|
483
470
|
message: string;
|
|
484
471
|
};
|
|
485
472
|
requestId: string;
|
|
486
473
|
};
|
|
487
474
|
outputFormat: "json";
|
|
488
|
-
status:
|
|
475
|
+
status: 400;
|
|
489
476
|
input: {
|
|
490
477
|
param: {
|
|
491
478
|
orgId: string;
|
|
@@ -525,15 +512,28 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
525
512
|
};
|
|
526
513
|
} | {
|
|
527
514
|
output: {
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
515
|
+
data: {
|
|
516
|
+
address: `0x${string}`;
|
|
517
|
+
currency: string;
|
|
518
|
+
decimals: number;
|
|
519
|
+
logoUri?: string | undefined;
|
|
520
|
+
name: string;
|
|
521
|
+
symbol: string;
|
|
522
|
+
chainId: number;
|
|
523
|
+
createdAt: string;
|
|
524
|
+
id: string;
|
|
525
|
+
logo?: string | undefined;
|
|
526
|
+
note: string | null;
|
|
527
|
+
orgId: string;
|
|
528
|
+
requestedBy: string;
|
|
529
|
+
reviewNote: string | null;
|
|
530
|
+
reviewedAt: string | null;
|
|
531
|
+
status: "approved" | "denied" | "pending";
|
|
532
|
+
updatedAt: string;
|
|
533
|
+
}[];
|
|
534
534
|
};
|
|
535
535
|
outputFormat: "json";
|
|
536
|
-
status:
|
|
536
|
+
status: 200;
|
|
537
537
|
input: {
|
|
538
538
|
param: {
|
|
539
539
|
orgId: string;
|
|
@@ -545,10 +545,15 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
545
545
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/verified-token-requests/:requestId{vtr_[A-Za-z0-9_-]+}": {
|
|
546
546
|
$delete: {
|
|
547
547
|
output: {
|
|
548
|
-
|
|
548
|
+
error: {
|
|
549
|
+
code: "api_key_malformed";
|
|
550
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
551
|
+
message: string;
|
|
552
|
+
};
|
|
553
|
+
requestId: string;
|
|
549
554
|
};
|
|
550
555
|
outputFormat: "json";
|
|
551
|
-
status:
|
|
556
|
+
status: 400;
|
|
552
557
|
input: {
|
|
553
558
|
param: {
|
|
554
559
|
orgId: string;
|
|
@@ -558,14 +563,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
558
563
|
} | {
|
|
559
564
|
output: {
|
|
560
565
|
error: {
|
|
561
|
-
code: "
|
|
566
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
562
567
|
details?: readonly Response.error.Detail[] | undefined;
|
|
563
568
|
message: string;
|
|
564
569
|
};
|
|
565
570
|
requestId: string;
|
|
566
571
|
};
|
|
567
572
|
outputFormat: "json";
|
|
568
|
-
status:
|
|
573
|
+
status: 401;
|
|
569
574
|
input: {
|
|
570
575
|
param: {
|
|
571
576
|
orgId: string;
|
|
@@ -575,14 +580,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
575
580
|
} | {
|
|
576
581
|
output: {
|
|
577
582
|
error: {
|
|
578
|
-
code: "
|
|
583
|
+
code: "upstream_error";
|
|
579
584
|
details?: readonly Response.error.Detail[] | undefined;
|
|
580
585
|
message: string;
|
|
581
586
|
};
|
|
582
587
|
requestId: string;
|
|
583
588
|
};
|
|
584
589
|
outputFormat: "json";
|
|
585
|
-
status:
|
|
590
|
+
status: 502;
|
|
586
591
|
input: {
|
|
587
592
|
param: {
|
|
588
593
|
orgId: string;
|
|
@@ -592,14 +597,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
592
597
|
} | {
|
|
593
598
|
output: {
|
|
594
599
|
error: {
|
|
595
|
-
code: "
|
|
600
|
+
code: "param_invalid";
|
|
596
601
|
details?: readonly Response.error.Detail[] | undefined;
|
|
597
602
|
message: string;
|
|
598
603
|
};
|
|
599
604
|
requestId: string;
|
|
600
605
|
};
|
|
601
606
|
outputFormat: "json";
|
|
602
|
-
status:
|
|
607
|
+
status: 400;
|
|
603
608
|
input: {
|
|
604
609
|
param: {
|
|
605
610
|
orgId: string;
|
|
@@ -643,14 +648,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
643
648
|
} | {
|
|
644
649
|
output: {
|
|
645
650
|
error: {
|
|
646
|
-
code: "
|
|
651
|
+
code: "request_not_pending";
|
|
647
652
|
details?: readonly Response.error.Detail[] | undefined;
|
|
648
653
|
message: string;
|
|
649
654
|
};
|
|
650
655
|
requestId: string;
|
|
651
656
|
};
|
|
652
657
|
outputFormat: "json";
|
|
653
|
-
status:
|
|
658
|
+
status: 409;
|
|
654
659
|
input: {
|
|
655
660
|
param: {
|
|
656
661
|
orgId: string;
|
|
@@ -660,14 +665,14 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
660
665
|
} | {
|
|
661
666
|
output: {
|
|
662
667
|
error: {
|
|
663
|
-
code: "
|
|
668
|
+
code: "verified_token_request_not_found";
|
|
664
669
|
details?: readonly Response.error.Detail[] | undefined;
|
|
665
670
|
message: string;
|
|
666
671
|
};
|
|
667
672
|
requestId: string;
|
|
668
673
|
};
|
|
669
674
|
outputFormat: "json";
|
|
670
|
-
status:
|
|
675
|
+
status: 404;
|
|
671
676
|
input: {
|
|
672
677
|
param: {
|
|
673
678
|
orgId: string;
|
|
@@ -676,15 +681,10 @@ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBa
|
|
|
676
681
|
};
|
|
677
682
|
} | {
|
|
678
683
|
output: {
|
|
679
|
-
|
|
680
|
-
code: "upstream_error";
|
|
681
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
682
|
-
message: string;
|
|
683
|
-
};
|
|
684
|
-
requestId: string;
|
|
684
|
+
id: string;
|
|
685
685
|
};
|
|
686
686
|
outputFormat: "json";
|
|
687
|
-
status:
|
|
687
|
+
status: 200;
|
|
688
688
|
input: {
|
|
689
689
|
param: {
|
|
690
690
|
orgId: string;
|