tapimo 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +13987 -5755
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js.map +1 -1
- package/dist/admin/App.d.ts +910 -412
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +4 -0
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/early-access.d.ts +148 -0
- package/dist/admin/apps/early-access.d.ts.map +1 -0
- package/dist/admin/apps/early-access.js +133 -0
- package/dist/admin/apps/early-access.js.map +1 -0
- package/dist/admin/apps/verified-tokens.d.ts +643 -118
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +214 -1
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +45 -33
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/App.d.ts +3733 -2428
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +11 -6
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +34 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +193 -2
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +71 -0
- package/dist/apps/data/FxOracle.d.ts.map +1 -0
- package/dist/apps/data/FxOracle.js +97 -0
- package/dist/apps/data/FxOracle.js.map +1 -0
- package/dist/apps/data/index.d.ts +1 -0
- package/dist/apps/data/index.d.ts.map +1 -1
- package/dist/apps/data/index.js +1 -0
- package/dist/apps/data/index.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +3575 -1358
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +230 -88
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +963 -342
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/addresses.js +11 -9
- package/dist/apps/data/routes/addresses.js.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +108 -57
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +88 -45
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +169 -169
- package/dist/apps/data/routes/exchanges.d.ts +952 -201
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +518 -76
- 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/funding.d.ts +8 -2
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +32 -6
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +5 -5
- package/dist/apps/data/routes/receipts.d.ts +392 -315
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +152 -77
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +166 -173
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +14 -12
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +277 -536
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +96 -77
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +82 -17
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +70 -13
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +307 -0
- package/dist/apps/data/routes/valuation.d.ts.map +1 -0
- package/dist/apps/data/routes/valuation.js +292 -0
- package/dist/apps/data/routes/valuation.js.map +1 -0
- package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/verified-tokens.js +7 -5
- package/dist/apps/data/routes/verified-tokens.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +459 -479
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +124 -25
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/management/App.d.ts +8606 -1681
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +12 -1
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +23 -0
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +5 -3
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +88 -48
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +10 -2
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +218 -0
- package/dist/apps/management/routes/faucet.d.ts.map +1 -0
- package/dist/apps/management/routes/faucet.js +139 -0
- package/dist/apps/management/routes/faucet.js.map +1 -0
- package/dist/apps/management/routes/invitations.d.ts +121 -121
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +3 -0
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/invite-links.d.ts +197 -168
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
- package/dist/apps/management/routes/invite-links.js +26 -1
- package/dist/apps/management/routes/invite-links.js.map +1 -1
- package/dist/apps/management/routes/me.d.ts +2 -0
- package/dist/apps/management/routes/me.d.ts.map +1 -1
- package/dist/apps/management/routes/me.js +4 -0
- package/dist/apps/management/routes/me.js.map +1 -1
- package/dist/apps/management/routes/members.d.ts +49 -49
- package/dist/apps/management/routes/orgs.d.ts +91 -91
- package/dist/apps/management/routes/projects.d.ts +115 -115
- package/dist/apps/management/routes/usage.d.ts +35 -32
- package/dist/apps/management/routes/usage.d.ts.map +1 -1
- package/dist/apps/management/routes/usage.js +4 -0
- package/dist/apps/management/routes/usage.js.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.d.ts +697 -0
- package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -0
- package/dist/apps/management/routes/verified-token-requests.js +271 -0
- package/dist/apps/management/routes/verified-token-requests.js.map +1 -0
- package/dist/apps/management/routes/webhooks.d.ts +6977 -0
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -0
- package/dist/apps/management/routes/webhooks.js +573 -0
- package/dist/apps/management/routes/webhooks.js.map +1 -0
- package/dist/apps/mcp.d.ts +9 -2
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +9 -4
- package/dist/apps/mcp.js.map +1 -1
- package/dist/cli/Cli.d.ts.map +1 -1
- package/dist/cli/Cli.js +7 -2
- package/dist/cli/Cli.js.map +1 -1
- package/dist/db/Db.d.ts +4 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +83 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +41 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +45 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/earlyAccess.d.ts +50 -0
- package/dist/db/tables/earlyAccess.d.ts.map +1 -0
- package/dist/db/tables/earlyAccess.js +63 -0
- package/dist/db/tables/earlyAccess.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +12 -1
- package/dist/db/tables/invitations.d.ts.map +1 -1
- package/dist/db/tables/invitations.js +23 -0
- package/dist/db/tables/invitations.js.map +1 -1
- package/dist/db/tables/inviteLinks.d.ts +10 -2
- package/dist/db/tables/inviteLinks.d.ts.map +1 -1
- package/dist/db/tables/inviteLinks.js +10 -1
- package/dist/db/tables/inviteLinks.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +2 -0
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +2 -0
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.d.ts +94 -0
- package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -0
- package/dist/db/tables/verifiedTokenRequests.js +120 -0
- package/dist/db/tables/verifiedTokenRequests.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +14 -0
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +16 -0
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/Auth.d.ts +43 -2
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +60 -45
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/FundingQuotes.d.ts +69 -15
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +74 -25
- package/dist/internal/FundingQuotes.js.map +1 -1
- package/dist/internal/Log.d.ts +19 -1
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +2 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +9 -0
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +2 -2
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +3 -0
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Schema.d.ts +14 -5
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +23 -5
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Value.d.ts +18 -0
- package/dist/internal/Value.d.ts.map +1 -1
- package/dist/internal/Value.js +11 -1
- package/dist/internal/Value.js.map +1 -1
- package/dist/internal/VerifiedTokens.d.ts.map +1 -1
- package/dist/internal/VerifiedTokens.js +10 -1
- package/dist/internal/VerifiedTokens.js.map +1 -1
- package/dist/internal/Viem.d.ts +1 -1
- package/dist/internal/Webhooks.d.ts +24 -3
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +34 -8
- package/dist/internal/Webhooks.js.map +1 -1
- package/package.json +2 -2
- package/src/App.ts +9 -1
- package/src/Client.test-d.ts +638 -6
- package/src/admin/App.ts +4 -0
- package/src/admin/apps/early-access.test.ts +125 -0
- package/src/admin/apps/early-access.ts +175 -0
- package/src/admin/apps/verified-tokens.test.ts +201 -0
- package/src/admin/apps/verified-tokens.ts +532 -286
- package/src/admin/ui/plugin.ts +2 -1
- package/src/admin/ui/src/lib/early-access.ts +63 -0
- package/src/admin/ui/src/lib/verified-tokens.ts +79 -0
- package/src/admin/ui/src/routeTree.gen.ts +33 -2
- package/src/admin/ui/src/routes/__root.tsx +2 -1
- package/src/admin/ui/src/routes/early-access.tsx +157 -0
- package/src/admin/ui/src/routes/verified-tokens.tsx +230 -19
- package/src/admin/ui.generated.ts +48 -33
- package/src/apps/data/App.ts +22 -14
- package/src/apps/data/FundingQuoteProviders.test.ts +298 -0
- package/src/apps/data/FundingQuoteProviders.ts +257 -4
- package/src/apps/data/FxOracle.test.ts +118 -0
- package/src/apps/data/FxOracle.ts +153 -0
- package/src/apps/data/index.ts +1 -0
- package/src/apps/data/routes/activities.test.ts +173 -3
- package/src/apps/data/routes/activities.ts +403 -132
- package/src/apps/data/routes/addresses.ts +19 -9
- package/src/apps/data/routes/balances.test.ts +144 -11
- package/src/apps/data/routes/balances.ts +140 -51
- package/src/apps/data/routes/exchanges.test.ts +540 -9
- package/src/apps/data/routes/exchanges.ts +690 -103
- package/src/apps/data/routes/funding.test.ts +84 -0
- package/src/apps/data/routes/funding.ts +38 -6
- package/src/apps/data/routes/receipts.test.ts +125 -23
- package/src/apps/data/routes/receipts.ts +205 -100
- package/src/apps/data/routes/tokens.test.ts +43 -0
- package/src/apps/data/routes/tokens.ts +27 -12
- package/src/apps/data/routes/transactions.test.ts +72 -19
- package/src/apps/data/routes/transactions.ts +162 -92
- package/src/apps/data/routes/transfers.test.ts +146 -4
- package/src/apps/data/routes/transfers.ts +91 -13
- package/src/apps/data/routes/valuation.test.ts +422 -0
- package/src/apps/data/routes/valuation.ts +423 -0
- package/src/apps/data/routes/verified-tokens.ts +14 -2
- package/src/apps/data/routes/webhooks.test.ts +56 -8
- package/src/apps/data/routes/webhooks.ts +144 -27
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +13 -0
- package/src/apps/management/routes/api-keys.test.ts +87 -0
- package/src/apps/management/routes/api-keys.ts +4 -3
- package/src/apps/management/routes/billing.test.ts +112 -1
- package/src/apps/management/routes/billing.ts +7 -2
- package/src/apps/management/routes/faucet.test.ts +79 -0
- package/src/apps/management/routes/faucet.ts +185 -0
- package/src/apps/management/routes/invitations.test.ts +172 -0
- package/src/apps/management/routes/invitations.ts +3 -0
- package/src/apps/management/routes/invite-links.test.ts +117 -0
- package/src/apps/management/routes/invite-links.ts +43 -1
- package/src/apps/management/routes/me.test.ts +140 -88
- package/src/apps/management/routes/me.ts +6 -0
- package/src/apps/management/routes/usage.test.ts +6 -0
- package/src/apps/management/routes/usage.ts +7 -0
- package/src/apps/management/routes/verified-token-requests.test.ts +377 -0
- package/src/apps/management/routes/verified-token-requests.ts +397 -0
- package/src/apps/management/routes/webhooks.test.ts +426 -0
- package/src/apps/management/routes/webhooks.ts +672 -0
- package/src/apps/mcp.test.ts +13 -0
- package/src/apps/mcp.ts +18 -5
- package/src/cli/Cli.test.ts +36 -0
- package/src/cli/Cli.ts +7 -2
- package/src/db/Db.test.ts +19 -0
- package/src/db/Db.ts +95 -0
- package/src/db/Schema.ts +53 -0
- package/src/db/tables/earlyAccess.ts +86 -0
- package/src/db/tables/invitations.ts +26 -1
- package/src/db/tables/inviteLinks.ts +22 -3
- package/src/db/tables/sponsoredTransactions.ts +4 -0
- package/src/db/tables/verifiedTokenRequests.test.ts +200 -0
- package/src/db/tables/verifiedTokenRequests.ts +182 -0
- package/src/db/tables/webhookSubscriptions.ts +31 -0
- package/src/internal/Auth.ts +73 -45
- package/src/internal/FundingQuotes.test.ts +143 -1
- package/src/internal/FundingQuotes.ts +95 -28
- package/src/internal/Log.test-d.ts +21 -0
- package/src/internal/Log.test.ts +50 -0
- package/src/internal/Log.ts +24 -1
- package/src/internal/MetricSink.test.ts +160 -0
- package/src/internal/MetricSink.ts +10 -0
- package/src/internal/OpenApi.ts +3 -0
- package/src/internal/Schema.ts +50 -5
- package/src/internal/Value.test.ts +20 -0
- package/src/internal/Value.ts +24 -1
- package/src/internal/VerifiedTokens.ts +9 -1
- package/src/internal/Webhooks.test.ts +140 -0
- package/src/internal/Webhooks.ts +53 -9
|
@@ -149,6 +149,116 @@ export declare namespace schema {
|
|
|
149
149
|
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
|
|
150
150
|
}, z.core.$strict>;
|
|
151
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* A verification request with reviewer context: the management wire shape
|
|
154
|
+
* plus the requesting org's name and the reviewing admin's email.
|
|
155
|
+
*/
|
|
156
|
+
const Request: z.ZodMiniObject<{
|
|
157
|
+
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
158
|
+
currency: z.ZodMiniString<string>;
|
|
159
|
+
decimals: z.ZodMiniNumber<number>;
|
|
160
|
+
logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
161
|
+
name: z.ZodMiniString<string>;
|
|
162
|
+
symbol: z.ZodMiniString<string>;
|
|
163
|
+
chainId: z.ZodMiniNumber<number>;
|
|
164
|
+
createdAt: z.ZodMiniString<string>;
|
|
165
|
+
id: z.ZodMiniString<string>;
|
|
166
|
+
logo: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
167
|
+
note: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
168
|
+
orgId: z.ZodMiniString<string>;
|
|
169
|
+
requestedBy: z.ZodMiniString<string>;
|
|
170
|
+
reviewNote: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
171
|
+
reviewedAt: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
172
|
+
status: z.ZodMiniEnum<{
|
|
173
|
+
approved: "approved";
|
|
174
|
+
denied: "denied";
|
|
175
|
+
pending: "pending";
|
|
176
|
+
}>;
|
|
177
|
+
updatedAt: z.ZodMiniString<string>;
|
|
178
|
+
orgName: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
179
|
+
reviewedBy: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
180
|
+
}, z.core.$strip>;
|
|
181
|
+
/** Path parameters addressing one verification request. */
|
|
182
|
+
const RequestParams: z.ZodMiniObject<{
|
|
183
|
+
requestId: z.ZodMiniString<string>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
/** Schemas for the listVerifiedTokenRequests operation. */
|
|
186
|
+
namespace listVerifiedTokenRequests {
|
|
187
|
+
/** Query parameters for the request queue. */
|
|
188
|
+
const Query: z.ZodMiniObject<{
|
|
189
|
+
status: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
190
|
+
approved: "approved";
|
|
191
|
+
denied: "denied";
|
|
192
|
+
pending: "pending";
|
|
193
|
+
}>>;
|
|
194
|
+
}, z.core.$strict>;
|
|
195
|
+
/** Response: requests in the selected status, oldest first. */
|
|
196
|
+
const Response: z.ZodMiniObject<{
|
|
197
|
+
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
198
|
+
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
199
|
+
currency: z.ZodMiniString<string>;
|
|
200
|
+
decimals: z.ZodMiniNumber<number>;
|
|
201
|
+
logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
202
|
+
name: z.ZodMiniString<string>;
|
|
203
|
+
symbol: z.ZodMiniString<string>;
|
|
204
|
+
chainId: z.ZodMiniNumber<number>;
|
|
205
|
+
createdAt: z.ZodMiniString<string>;
|
|
206
|
+
id: z.ZodMiniString<string>;
|
|
207
|
+
logo: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
208
|
+
note: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
209
|
+
orgId: z.ZodMiniString<string>;
|
|
210
|
+
requestedBy: z.ZodMiniString<string>;
|
|
211
|
+
reviewNote: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
212
|
+
reviewedAt: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
213
|
+
status: z.ZodMiniEnum<{
|
|
214
|
+
approved: "approved";
|
|
215
|
+
denied: "denied";
|
|
216
|
+
pending: "pending";
|
|
217
|
+
}>;
|
|
218
|
+
updatedAt: z.ZodMiniString<string>;
|
|
219
|
+
orgName: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
220
|
+
reviewedBy: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
}
|
|
224
|
+
/** Schemas for the denyVerifiedTokenRequest operation. */
|
|
225
|
+
namespace denyVerifiedTokenRequest {
|
|
226
|
+
/** Request body for a denial. */
|
|
227
|
+
const Body: z.ZodMiniObject<{
|
|
228
|
+
reviewNote: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
}
|
|
231
|
+
/** Response shared by the approve and deny operations. */
|
|
232
|
+
namespace reviewVerifiedTokenRequest {
|
|
233
|
+
/** The reviewed request. */
|
|
234
|
+
const Response: z.ZodMiniObject<{
|
|
235
|
+
data: z.ZodMiniObject<{
|
|
236
|
+
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
237
|
+
currency: z.ZodMiniString<string>;
|
|
238
|
+
decimals: z.ZodMiniNumber<number>;
|
|
239
|
+
logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
240
|
+
name: z.ZodMiniString<string>;
|
|
241
|
+
symbol: z.ZodMiniString<string>;
|
|
242
|
+
chainId: z.ZodMiniNumber<number>;
|
|
243
|
+
createdAt: z.ZodMiniString<string>;
|
|
244
|
+
id: z.ZodMiniString<string>;
|
|
245
|
+
logo: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
246
|
+
note: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
247
|
+
orgId: z.ZodMiniString<string>;
|
|
248
|
+
requestedBy: z.ZodMiniString<string>;
|
|
249
|
+
reviewNote: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
250
|
+
reviewedAt: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
251
|
+
status: z.ZodMiniEnum<{
|
|
252
|
+
approved: "approved";
|
|
253
|
+
denied: "denied";
|
|
254
|
+
pending: "pending";
|
|
255
|
+
}>;
|
|
256
|
+
updatedAt: z.ZodMiniString<string>;
|
|
257
|
+
orgName: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
258
|
+
reviewedBy: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
}
|
|
152
262
|
/** Schemas for the replaceVerifiedTokens operation. */
|
|
153
263
|
namespace replaceVerifiedTokens {
|
|
154
264
|
/** Query parameters for a bulk replace. */
|
|
@@ -194,6 +304,8 @@ export declare namespace schema {
|
|
|
194
304
|
* - `PATCH /:address` partially updates a token (`404` if absent).
|
|
195
305
|
* - `DELETE /:address` removes a token (`404` if absent).
|
|
196
306
|
* - `PUT /:address/logo` uploads a curated logo SVG (gated on `assets`).
|
|
307
|
+
* - `GET /requests` lists organization verification requests.
|
|
308
|
+
* - `POST /requests/:requestId/approve|deny` reviews a request.
|
|
197
309
|
*/
|
|
198
310
|
export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
199
311
|
"/": {
|
|
@@ -224,14 +336,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
224
336
|
$post: {
|
|
225
337
|
output: {
|
|
226
338
|
error: {
|
|
227
|
-
code: "
|
|
339
|
+
code: "upstream_error";
|
|
228
340
|
details?: readonly Response.error.Detail[] | undefined;
|
|
229
341
|
message: string;
|
|
230
342
|
};
|
|
231
343
|
requestId: string;
|
|
232
344
|
};
|
|
233
345
|
outputFormat: "json";
|
|
234
|
-
status:
|
|
346
|
+
status: 502;
|
|
235
347
|
input: {
|
|
236
348
|
json: {
|
|
237
349
|
address: `0x${string}`;
|
|
@@ -247,7 +359,7 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
247
359
|
} | {
|
|
248
360
|
output: {
|
|
249
361
|
error: {
|
|
250
|
-
code: "
|
|
362
|
+
code: "verified_token_not_found";
|
|
251
363
|
details?: readonly Response.error.Detail[] | undefined;
|
|
252
364
|
message: string;
|
|
253
365
|
};
|
|
@@ -270,14 +382,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
270
382
|
} | {
|
|
271
383
|
output: {
|
|
272
384
|
error: {
|
|
273
|
-
code: "
|
|
385
|
+
code: "assets_not_enabled";
|
|
274
386
|
details?: readonly Response.error.Detail[] | undefined;
|
|
275
387
|
message: string;
|
|
276
388
|
};
|
|
277
389
|
requestId: string;
|
|
278
390
|
};
|
|
279
391
|
outputFormat: "json";
|
|
280
|
-
status:
|
|
392
|
+
status: 404;
|
|
281
393
|
input: {
|
|
282
394
|
json: {
|
|
283
395
|
address: `0x${string}`;
|
|
@@ -292,15 +404,19 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
292
404
|
};
|
|
293
405
|
} | {
|
|
294
406
|
output: {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
407
|
+
data: {
|
|
408
|
+
address: `0x${string}`;
|
|
409
|
+
currency: string;
|
|
410
|
+
decimals: number;
|
|
411
|
+
logoUri?: string | undefined;
|
|
412
|
+
name: string;
|
|
413
|
+
symbol: string;
|
|
414
|
+
id: string;
|
|
299
415
|
};
|
|
300
|
-
|
|
416
|
+
version: string;
|
|
301
417
|
};
|
|
302
418
|
outputFormat: "json";
|
|
303
|
-
status:
|
|
419
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
304
420
|
input: {
|
|
305
421
|
json: {
|
|
306
422
|
address: `0x${string}`;
|
|
@@ -316,14 +432,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
316
432
|
} | {
|
|
317
433
|
output: {
|
|
318
434
|
error: {
|
|
319
|
-
code:
|
|
435
|
+
code: string;
|
|
320
436
|
details?: readonly Response.error.Detail[] | undefined;
|
|
321
437
|
message: string;
|
|
322
438
|
};
|
|
323
439
|
requestId: string;
|
|
324
440
|
};
|
|
325
441
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
442
|
+
status: 400 | 413 | 415;
|
|
327
443
|
input: {
|
|
328
444
|
json: {
|
|
329
445
|
address: `0x${string}`;
|
|
@@ -339,14 +455,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
339
455
|
} | {
|
|
340
456
|
output: {
|
|
341
457
|
error: {
|
|
342
|
-
code: "
|
|
458
|
+
code: "duplicate_address";
|
|
343
459
|
details?: readonly Response.error.Detail[] | undefined;
|
|
344
460
|
message: string;
|
|
345
461
|
};
|
|
346
462
|
requestId: string;
|
|
347
463
|
};
|
|
348
464
|
outputFormat: "json";
|
|
349
|
-
status:
|
|
465
|
+
status: 409;
|
|
350
466
|
input: {
|
|
351
467
|
json: {
|
|
352
468
|
address: `0x${string}`;
|
|
@@ -361,19 +477,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
361
477
|
};
|
|
362
478
|
} | {
|
|
363
479
|
output: {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
logoUri?: string | undefined;
|
|
369
|
-
name: string;
|
|
370
|
-
symbol: string;
|
|
371
|
-
id: string;
|
|
480
|
+
error: {
|
|
481
|
+
code: "duplicate_symbol";
|
|
482
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
483
|
+
message: string;
|
|
372
484
|
};
|
|
373
|
-
|
|
485
|
+
requestId: string;
|
|
374
486
|
};
|
|
375
487
|
outputFormat: "json";
|
|
376
|
-
status:
|
|
488
|
+
status: 409;
|
|
377
489
|
input: {
|
|
378
490
|
json: {
|
|
379
491
|
address: `0x${string}`;
|
|
@@ -389,14 +501,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
389
501
|
} | {
|
|
390
502
|
output: {
|
|
391
503
|
error: {
|
|
392
|
-
code:
|
|
504
|
+
code: "version_mismatch";
|
|
393
505
|
details?: readonly Response.error.Detail[] | undefined;
|
|
394
506
|
message: string;
|
|
395
507
|
};
|
|
396
508
|
requestId: string;
|
|
397
509
|
};
|
|
398
510
|
outputFormat: "json";
|
|
399
|
-
status:
|
|
511
|
+
status: 412;
|
|
400
512
|
input: {
|
|
401
513
|
json: {
|
|
402
514
|
address: `0x${string}`;
|
|
@@ -416,14 +528,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
416
528
|
$put: {
|
|
417
529
|
output: {
|
|
418
530
|
error: {
|
|
419
|
-
code: "
|
|
531
|
+
code: "upstream_error";
|
|
420
532
|
details?: readonly Response.error.Detail[] | undefined;
|
|
421
533
|
message: string;
|
|
422
534
|
};
|
|
423
535
|
requestId: string;
|
|
424
536
|
};
|
|
425
537
|
outputFormat: "json";
|
|
426
|
-
status:
|
|
538
|
+
status: 502;
|
|
427
539
|
input: {
|
|
428
540
|
query: {
|
|
429
541
|
chainId: string | string[];
|
|
@@ -443,14 +555,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
443
555
|
} | {
|
|
444
556
|
output: {
|
|
445
557
|
error: {
|
|
446
|
-
code: "
|
|
558
|
+
code: "verified_token_not_found";
|
|
447
559
|
details?: readonly Response.error.Detail[] | undefined;
|
|
448
560
|
message: string;
|
|
449
561
|
};
|
|
450
562
|
requestId: string;
|
|
451
563
|
};
|
|
452
564
|
outputFormat: "json";
|
|
453
|
-
status:
|
|
565
|
+
status: 404;
|
|
454
566
|
input: {
|
|
455
567
|
query: {
|
|
456
568
|
chainId: string | string[];
|
|
@@ -470,14 +582,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
470
582
|
} | {
|
|
471
583
|
output: {
|
|
472
584
|
error: {
|
|
473
|
-
code:
|
|
585
|
+
code: string;
|
|
474
586
|
details?: readonly Response.error.Detail[] | undefined;
|
|
475
587
|
message: string;
|
|
476
588
|
};
|
|
477
589
|
requestId: string;
|
|
478
590
|
};
|
|
479
591
|
outputFormat: "json";
|
|
480
|
-
status:
|
|
592
|
+
status: 400 | 413 | 415;
|
|
481
593
|
input: {
|
|
482
594
|
query: {
|
|
483
595
|
chainId: string | string[];
|
|
@@ -497,14 +609,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
497
609
|
} | {
|
|
498
610
|
output: {
|
|
499
611
|
error: {
|
|
500
|
-
code: "
|
|
612
|
+
code: "duplicate_address";
|
|
501
613
|
details?: readonly Response.error.Detail[] | undefined;
|
|
502
614
|
message: string;
|
|
503
615
|
};
|
|
504
616
|
requestId: string;
|
|
505
617
|
};
|
|
506
618
|
outputFormat: "json";
|
|
507
|
-
status:
|
|
619
|
+
status: 409;
|
|
508
620
|
input: {
|
|
509
621
|
query: {
|
|
510
622
|
chainId: string | string[];
|
|
@@ -524,14 +636,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
524
636
|
} | {
|
|
525
637
|
output: {
|
|
526
638
|
error: {
|
|
527
|
-
code: "
|
|
639
|
+
code: "duplicate_symbol";
|
|
528
640
|
details?: readonly Response.error.Detail[] | undefined;
|
|
529
641
|
message: string;
|
|
530
642
|
};
|
|
531
643
|
requestId: string;
|
|
532
644
|
};
|
|
533
645
|
outputFormat: "json";
|
|
534
|
-
status:
|
|
646
|
+
status: 409;
|
|
535
647
|
input: {
|
|
536
648
|
query: {
|
|
537
649
|
chainId: string | string[];
|
|
@@ -550,19 +662,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
550
662
|
};
|
|
551
663
|
} | {
|
|
552
664
|
output: {
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
symbol: string;
|
|
560
|
-
id: string;
|
|
561
|
-
}[];
|
|
562
|
-
version: string;
|
|
665
|
+
error: {
|
|
666
|
+
code: "version_mismatch";
|
|
667
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
668
|
+
message: string;
|
|
669
|
+
};
|
|
670
|
+
requestId: string;
|
|
563
671
|
};
|
|
564
672
|
outputFormat: "json";
|
|
565
|
-
status:
|
|
673
|
+
status: 412;
|
|
566
674
|
input: {
|
|
567
675
|
query: {
|
|
568
676
|
chainId: string | string[];
|
|
@@ -581,15 +689,19 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
581
689
|
};
|
|
582
690
|
} | {
|
|
583
691
|
output: {
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
692
|
+
data: {
|
|
693
|
+
address: `0x${string}`;
|
|
694
|
+
currency: string;
|
|
695
|
+
decimals: number;
|
|
696
|
+
logoUri?: string | undefined;
|
|
697
|
+
name: string;
|
|
698
|
+
symbol: string;
|
|
699
|
+
id: string;
|
|
700
|
+
}[];
|
|
701
|
+
version: string;
|
|
590
702
|
};
|
|
591
703
|
outputFormat: "json";
|
|
592
|
-
status:
|
|
704
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
593
705
|
input: {
|
|
594
706
|
query: {
|
|
595
707
|
chainId: string | string[];
|
|
@@ -613,14 +725,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
613
725
|
$patch: {
|
|
614
726
|
output: {
|
|
615
727
|
error: {
|
|
616
|
-
code: "
|
|
728
|
+
code: "upstream_error";
|
|
617
729
|
details?: readonly Response.error.Detail[] | undefined;
|
|
618
730
|
message: string;
|
|
619
731
|
};
|
|
620
732
|
requestId: string;
|
|
621
733
|
};
|
|
622
734
|
outputFormat: "json";
|
|
623
|
-
status:
|
|
735
|
+
status: 502;
|
|
624
736
|
input: {
|
|
625
737
|
param: {
|
|
626
738
|
address: `0x${string}`;
|
|
@@ -641,14 +753,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
641
753
|
} | {
|
|
642
754
|
output: {
|
|
643
755
|
error: {
|
|
644
|
-
code: "
|
|
756
|
+
code: "verified_token_not_found";
|
|
645
757
|
details?: readonly Response.error.Detail[] | undefined;
|
|
646
758
|
message: string;
|
|
647
759
|
};
|
|
648
760
|
requestId: string;
|
|
649
761
|
};
|
|
650
762
|
outputFormat: "json";
|
|
651
|
-
status:
|
|
763
|
+
status: 404;
|
|
652
764
|
input: {
|
|
653
765
|
param: {
|
|
654
766
|
address: `0x${string}`;
|
|
@@ -668,15 +780,19 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
668
780
|
};
|
|
669
781
|
} | {
|
|
670
782
|
output: {
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
783
|
+
data: {
|
|
784
|
+
address: `0x${string}`;
|
|
785
|
+
currency: string;
|
|
786
|
+
decimals: number;
|
|
787
|
+
logoUri?: string | undefined;
|
|
788
|
+
name: string;
|
|
789
|
+
symbol: string;
|
|
790
|
+
id: string;
|
|
675
791
|
};
|
|
676
|
-
|
|
792
|
+
version: string;
|
|
677
793
|
};
|
|
678
794
|
outputFormat: "json";
|
|
679
|
-
status:
|
|
795
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
680
796
|
input: {
|
|
681
797
|
param: {
|
|
682
798
|
address: `0x${string}`;
|
|
@@ -697,14 +813,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
697
813
|
} | {
|
|
698
814
|
output: {
|
|
699
815
|
error: {
|
|
700
|
-
code:
|
|
816
|
+
code: string;
|
|
701
817
|
details?: readonly Response.error.Detail[] | undefined;
|
|
702
818
|
message: string;
|
|
703
819
|
};
|
|
704
820
|
requestId: string;
|
|
705
821
|
};
|
|
706
822
|
outputFormat: "json";
|
|
707
|
-
status:
|
|
823
|
+
status: 400 | 413 | 415;
|
|
708
824
|
input: {
|
|
709
825
|
param: {
|
|
710
826
|
address: `0x${string}`;
|
|
@@ -725,14 +841,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
725
841
|
} | {
|
|
726
842
|
output: {
|
|
727
843
|
error: {
|
|
728
|
-
code: "
|
|
844
|
+
code: "duplicate_address";
|
|
729
845
|
details?: readonly Response.error.Detail[] | undefined;
|
|
730
846
|
message: string;
|
|
731
847
|
};
|
|
732
848
|
requestId: string;
|
|
733
849
|
};
|
|
734
850
|
outputFormat: "json";
|
|
735
|
-
status:
|
|
851
|
+
status: 409;
|
|
736
852
|
input: {
|
|
737
853
|
param: {
|
|
738
854
|
address: `0x${string}`;
|
|
@@ -752,19 +868,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
752
868
|
};
|
|
753
869
|
} | {
|
|
754
870
|
output: {
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
logoUri?: string | undefined;
|
|
760
|
-
name: string;
|
|
761
|
-
symbol: string;
|
|
762
|
-
id: string;
|
|
871
|
+
error: {
|
|
872
|
+
code: "duplicate_symbol";
|
|
873
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
874
|
+
message: string;
|
|
763
875
|
};
|
|
764
|
-
|
|
876
|
+
requestId: string;
|
|
765
877
|
};
|
|
766
878
|
outputFormat: "json";
|
|
767
|
-
status:
|
|
879
|
+
status: 409;
|
|
768
880
|
input: {
|
|
769
881
|
param: {
|
|
770
882
|
address: `0x${string}`;
|
|
@@ -785,14 +897,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
785
897
|
} | {
|
|
786
898
|
output: {
|
|
787
899
|
error: {
|
|
788
|
-
code:
|
|
900
|
+
code: "version_mismatch";
|
|
789
901
|
details?: readonly Response.error.Detail[] | undefined;
|
|
790
902
|
message: string;
|
|
791
903
|
};
|
|
792
904
|
requestId: string;
|
|
793
905
|
};
|
|
794
906
|
outputFormat: "json";
|
|
795
|
-
status:
|
|
907
|
+
status: 412;
|
|
796
908
|
input: {
|
|
797
909
|
param: {
|
|
798
910
|
address: `0x${string}`;
|
|
@@ -817,14 +929,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
817
929
|
$delete: {
|
|
818
930
|
output: {
|
|
819
931
|
error: {
|
|
820
|
-
code: "
|
|
932
|
+
code: "upstream_error";
|
|
821
933
|
details?: readonly Response.error.Detail[] | undefined;
|
|
822
934
|
message: string;
|
|
823
935
|
};
|
|
824
936
|
requestId: string;
|
|
825
937
|
};
|
|
826
938
|
outputFormat: "json";
|
|
827
|
-
status:
|
|
939
|
+
status: 502;
|
|
828
940
|
input: {
|
|
829
941
|
param: {
|
|
830
942
|
address: `0x${string}`;
|
|
@@ -837,14 +949,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
837
949
|
} | {
|
|
838
950
|
output: {
|
|
839
951
|
error: {
|
|
840
|
-
code: "
|
|
952
|
+
code: "verified_token_not_found";
|
|
841
953
|
details?: readonly Response.error.Detail[] | undefined;
|
|
842
954
|
message: string;
|
|
843
955
|
};
|
|
844
956
|
requestId: string;
|
|
845
957
|
};
|
|
846
958
|
outputFormat: "json";
|
|
847
|
-
status:
|
|
959
|
+
status: 404;
|
|
848
960
|
input: {
|
|
849
961
|
param: {
|
|
850
962
|
address: `0x${string}`;
|
|
@@ -857,14 +969,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
857
969
|
} | {
|
|
858
970
|
output: {
|
|
859
971
|
error: {
|
|
860
|
-
code:
|
|
972
|
+
code: string;
|
|
861
973
|
details?: readonly Response.error.Detail[] | undefined;
|
|
862
974
|
message: string;
|
|
863
975
|
};
|
|
864
976
|
requestId: string;
|
|
865
977
|
};
|
|
866
978
|
outputFormat: "json";
|
|
867
|
-
status:
|
|
979
|
+
status: 400 | 413 | 415;
|
|
868
980
|
input: {
|
|
869
981
|
param: {
|
|
870
982
|
address: `0x${string}`;
|
|
@@ -877,14 +989,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
877
989
|
} | {
|
|
878
990
|
output: {
|
|
879
991
|
error: {
|
|
880
|
-
code: "
|
|
992
|
+
code: "duplicate_address";
|
|
881
993
|
details?: readonly Response.error.Detail[] | undefined;
|
|
882
994
|
message: string;
|
|
883
995
|
};
|
|
884
996
|
requestId: string;
|
|
885
997
|
};
|
|
886
998
|
outputFormat: "json";
|
|
887
|
-
status:
|
|
999
|
+
status: 409;
|
|
888
1000
|
input: {
|
|
889
1001
|
param: {
|
|
890
1002
|
address: `0x${string}`;
|
|
@@ -897,14 +1009,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
897
1009
|
} | {
|
|
898
1010
|
output: {
|
|
899
1011
|
error: {
|
|
900
|
-
code: "
|
|
1012
|
+
code: "duplicate_symbol";
|
|
901
1013
|
details?: readonly Response.error.Detail[] | undefined;
|
|
902
1014
|
message: string;
|
|
903
1015
|
};
|
|
904
1016
|
requestId: string;
|
|
905
1017
|
};
|
|
906
1018
|
outputFormat: "json";
|
|
907
|
-
status:
|
|
1019
|
+
status: 409;
|
|
908
1020
|
input: {
|
|
909
1021
|
param: {
|
|
910
1022
|
address: `0x${string}`;
|
|
@@ -916,10 +1028,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
916
1028
|
};
|
|
917
1029
|
} | {
|
|
918
1030
|
output: {
|
|
919
|
-
|
|
1031
|
+
error: {
|
|
1032
|
+
code: "version_mismatch";
|
|
1033
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1034
|
+
message: string;
|
|
1035
|
+
};
|
|
1036
|
+
requestId: string;
|
|
920
1037
|
};
|
|
921
1038
|
outputFormat: "json";
|
|
922
|
-
status:
|
|
1039
|
+
status: 412;
|
|
923
1040
|
input: {
|
|
924
1041
|
param: {
|
|
925
1042
|
address: `0x${string}`;
|
|
@@ -931,15 +1048,10 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
931
1048
|
};
|
|
932
1049
|
} | {
|
|
933
1050
|
output: {
|
|
934
|
-
|
|
935
|
-
code: string;
|
|
936
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
937
|
-
message: string;
|
|
938
|
-
};
|
|
939
|
-
requestId: string;
|
|
1051
|
+
version: string;
|
|
940
1052
|
};
|
|
941
1053
|
outputFormat: "json";
|
|
942
|
-
status:
|
|
1054
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
943
1055
|
input: {
|
|
944
1056
|
param: {
|
|
945
1057
|
address: `0x${string}`;
|
|
@@ -954,6 +1066,19 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
954
1066
|
} & {
|
|
955
1067
|
"/:address/logo": {
|
|
956
1068
|
$get: {
|
|
1069
|
+
output: ArrayBuffer;
|
|
1070
|
+
outputFormat: "body";
|
|
1071
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1072
|
+
input: {
|
|
1073
|
+
param: {
|
|
1074
|
+
address: `0x${string}`;
|
|
1075
|
+
};
|
|
1076
|
+
} & {
|
|
1077
|
+
query: {
|
|
1078
|
+
chainId: string | string[];
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
} | {
|
|
957
1082
|
output: {
|
|
958
1083
|
error: {
|
|
959
1084
|
code: "logo_not_found";
|
|
@@ -973,19 +1098,6 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
973
1098
|
chainId: string | string[];
|
|
974
1099
|
};
|
|
975
1100
|
};
|
|
976
|
-
} | {
|
|
977
|
-
output: ArrayBuffer;
|
|
978
|
-
outputFormat: "body";
|
|
979
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
980
|
-
input: {
|
|
981
|
-
param: {
|
|
982
|
-
address: `0x${string}`;
|
|
983
|
-
};
|
|
984
|
-
} & {
|
|
985
|
-
query: {
|
|
986
|
-
chainId: string | string[];
|
|
987
|
-
};
|
|
988
|
-
};
|
|
989
1101
|
};
|
|
990
1102
|
};
|
|
991
1103
|
} & {
|
|
@@ -1033,14 +1145,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
1033
1145
|
} | {
|
|
1034
1146
|
output: {
|
|
1035
1147
|
error: {
|
|
1036
|
-
code: "
|
|
1148
|
+
code: "unsupported_media_type";
|
|
1037
1149
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1038
1150
|
message: string;
|
|
1039
1151
|
};
|
|
1040
1152
|
requestId: string;
|
|
1041
1153
|
};
|
|
1042
1154
|
outputFormat: "json";
|
|
1043
|
-
status:
|
|
1155
|
+
status: 415;
|
|
1044
1156
|
input: {
|
|
1045
1157
|
param: {
|
|
1046
1158
|
address: `0x${string}`;
|
|
@@ -1053,14 +1165,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
1053
1165
|
} | {
|
|
1054
1166
|
output: {
|
|
1055
1167
|
error: {
|
|
1056
|
-
code: "
|
|
1168
|
+
code: "payload_too_large";
|
|
1057
1169
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1058
1170
|
message: string;
|
|
1059
1171
|
};
|
|
1060
1172
|
requestId: string;
|
|
1061
1173
|
};
|
|
1062
1174
|
outputFormat: "json";
|
|
1063
|
-
status:
|
|
1175
|
+
status: 413;
|
|
1064
1176
|
input: {
|
|
1065
1177
|
param: {
|
|
1066
1178
|
address: `0x${string}`;
|
|
@@ -1088,5 +1200,418 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
1088
1200
|
};
|
|
1089
1201
|
};
|
|
1090
1202
|
};
|
|
1091
|
-
}
|
|
1203
|
+
} & {
|
|
1204
|
+
"/requests": {
|
|
1205
|
+
$get: {
|
|
1206
|
+
output: {
|
|
1207
|
+
data: {
|
|
1208
|
+
address: `0x${string}`;
|
|
1209
|
+
currency: string;
|
|
1210
|
+
decimals: number;
|
|
1211
|
+
logoUri?: string | undefined;
|
|
1212
|
+
name: string;
|
|
1213
|
+
symbol: string;
|
|
1214
|
+
chainId: number;
|
|
1215
|
+
createdAt: string;
|
|
1216
|
+
id: string;
|
|
1217
|
+
logo?: string | undefined;
|
|
1218
|
+
note: string | null;
|
|
1219
|
+
orgId: string;
|
|
1220
|
+
requestedBy: string;
|
|
1221
|
+
reviewNote: string | null;
|
|
1222
|
+
reviewedAt: string | null;
|
|
1223
|
+
status: "approved" | "denied" | "pending";
|
|
1224
|
+
updatedAt: string;
|
|
1225
|
+
orgName: string | null;
|
|
1226
|
+
reviewedBy: string | null;
|
|
1227
|
+
}[];
|
|
1228
|
+
};
|
|
1229
|
+
outputFormat: "json";
|
|
1230
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1231
|
+
input: {
|
|
1232
|
+
query?: {
|
|
1233
|
+
status?: string | string[];
|
|
1234
|
+
} | undefined;
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
} & {
|
|
1239
|
+
"/requests/:requestId/approve": {
|
|
1240
|
+
$post: {
|
|
1241
|
+
output: {
|
|
1242
|
+
error: {
|
|
1243
|
+
code: "upstream_error";
|
|
1244
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1245
|
+
message: string;
|
|
1246
|
+
};
|
|
1247
|
+
requestId: string;
|
|
1248
|
+
};
|
|
1249
|
+
outputFormat: "json";
|
|
1250
|
+
status: 502;
|
|
1251
|
+
input: {
|
|
1252
|
+
param: {
|
|
1253
|
+
requestId: string;
|
|
1254
|
+
};
|
|
1255
|
+
};
|
|
1256
|
+
} | {
|
|
1257
|
+
output: {
|
|
1258
|
+
error: {
|
|
1259
|
+
code: "verified_token_not_found";
|
|
1260
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1261
|
+
message: string;
|
|
1262
|
+
};
|
|
1263
|
+
requestId: string;
|
|
1264
|
+
};
|
|
1265
|
+
outputFormat: "json";
|
|
1266
|
+
status: 404;
|
|
1267
|
+
input: {
|
|
1268
|
+
param: {
|
|
1269
|
+
requestId: string;
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
} | {
|
|
1273
|
+
output: {
|
|
1274
|
+
error: {
|
|
1275
|
+
code: "request_not_pending";
|
|
1276
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1277
|
+
message: string;
|
|
1278
|
+
};
|
|
1279
|
+
requestId: string;
|
|
1280
|
+
};
|
|
1281
|
+
outputFormat: "json";
|
|
1282
|
+
status: 409;
|
|
1283
|
+
input: {
|
|
1284
|
+
param: {
|
|
1285
|
+
requestId: string;
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
} | {
|
|
1289
|
+
output: {
|
|
1290
|
+
error: {
|
|
1291
|
+
code: "verified_token_request_not_found";
|
|
1292
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1293
|
+
message: string;
|
|
1294
|
+
};
|
|
1295
|
+
requestId: string;
|
|
1296
|
+
};
|
|
1297
|
+
outputFormat: "json";
|
|
1298
|
+
status: 404;
|
|
1299
|
+
input: {
|
|
1300
|
+
param: {
|
|
1301
|
+
requestId: string;
|
|
1302
|
+
};
|
|
1303
|
+
};
|
|
1304
|
+
} | {
|
|
1305
|
+
output: {
|
|
1306
|
+
error: {
|
|
1307
|
+
code: "assets_not_enabled";
|
|
1308
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1309
|
+
message: string;
|
|
1310
|
+
};
|
|
1311
|
+
requestId: string;
|
|
1312
|
+
};
|
|
1313
|
+
outputFormat: "json";
|
|
1314
|
+
status: 404;
|
|
1315
|
+
input: {
|
|
1316
|
+
param: {
|
|
1317
|
+
requestId: string;
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
} | {
|
|
1321
|
+
output: {
|
|
1322
|
+
error: {
|
|
1323
|
+
code: string;
|
|
1324
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1325
|
+
message: string;
|
|
1326
|
+
};
|
|
1327
|
+
requestId: string;
|
|
1328
|
+
};
|
|
1329
|
+
outputFormat: "json";
|
|
1330
|
+
status: 400 | 413 | 415;
|
|
1331
|
+
input: {
|
|
1332
|
+
param: {
|
|
1333
|
+
requestId: string;
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
} | {
|
|
1337
|
+
output: {
|
|
1338
|
+
error: {
|
|
1339
|
+
code: "duplicate_address";
|
|
1340
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1341
|
+
message: string;
|
|
1342
|
+
};
|
|
1343
|
+
requestId: string;
|
|
1344
|
+
};
|
|
1345
|
+
outputFormat: "json";
|
|
1346
|
+
status: 409;
|
|
1347
|
+
input: {
|
|
1348
|
+
param: {
|
|
1349
|
+
requestId: string;
|
|
1350
|
+
};
|
|
1351
|
+
};
|
|
1352
|
+
} | {
|
|
1353
|
+
output: {
|
|
1354
|
+
error: {
|
|
1355
|
+
code: "duplicate_symbol";
|
|
1356
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1357
|
+
message: string;
|
|
1358
|
+
};
|
|
1359
|
+
requestId: string;
|
|
1360
|
+
};
|
|
1361
|
+
outputFormat: "json";
|
|
1362
|
+
status: 409;
|
|
1363
|
+
input: {
|
|
1364
|
+
param: {
|
|
1365
|
+
requestId: string;
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
} | {
|
|
1369
|
+
output: {
|
|
1370
|
+
error: {
|
|
1371
|
+
code: "version_mismatch";
|
|
1372
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1373
|
+
message: string;
|
|
1374
|
+
};
|
|
1375
|
+
requestId: string;
|
|
1376
|
+
};
|
|
1377
|
+
outputFormat: "json";
|
|
1378
|
+
status: 412;
|
|
1379
|
+
input: {
|
|
1380
|
+
param: {
|
|
1381
|
+
requestId: string;
|
|
1382
|
+
};
|
|
1383
|
+
};
|
|
1384
|
+
} | {
|
|
1385
|
+
output: {
|
|
1386
|
+
data: {
|
|
1387
|
+
address: `0x${string}`;
|
|
1388
|
+
currency: string;
|
|
1389
|
+
decimals: number;
|
|
1390
|
+
logoUri?: string | undefined;
|
|
1391
|
+
name: string;
|
|
1392
|
+
symbol: string;
|
|
1393
|
+
chainId: number;
|
|
1394
|
+
createdAt: string;
|
|
1395
|
+
id: string;
|
|
1396
|
+
logo?: string | undefined;
|
|
1397
|
+
note: string | null;
|
|
1398
|
+
orgId: string;
|
|
1399
|
+
requestedBy: string;
|
|
1400
|
+
reviewNote: string | null;
|
|
1401
|
+
reviewedAt: string | null;
|
|
1402
|
+
status: "approved" | "denied" | "pending";
|
|
1403
|
+
updatedAt: string;
|
|
1404
|
+
orgName: string | null;
|
|
1405
|
+
reviewedBy: string | null;
|
|
1406
|
+
};
|
|
1407
|
+
};
|
|
1408
|
+
outputFormat: "json";
|
|
1409
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1410
|
+
input: {
|
|
1411
|
+
param: {
|
|
1412
|
+
requestId: string;
|
|
1413
|
+
};
|
|
1414
|
+
};
|
|
1415
|
+
};
|
|
1416
|
+
};
|
|
1417
|
+
} & {
|
|
1418
|
+
"/requests/:requestId/deny": {
|
|
1419
|
+
$post: {
|
|
1420
|
+
output: {
|
|
1421
|
+
error: {
|
|
1422
|
+
code: "upstream_error";
|
|
1423
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1424
|
+
message: string;
|
|
1425
|
+
};
|
|
1426
|
+
requestId: string;
|
|
1427
|
+
};
|
|
1428
|
+
outputFormat: "json";
|
|
1429
|
+
status: 502;
|
|
1430
|
+
input: {
|
|
1431
|
+
param: {
|
|
1432
|
+
requestId: string;
|
|
1433
|
+
};
|
|
1434
|
+
} & {
|
|
1435
|
+
json: {
|
|
1436
|
+
reviewNote?: string | undefined;
|
|
1437
|
+
};
|
|
1438
|
+
};
|
|
1439
|
+
} | {
|
|
1440
|
+
output: {
|
|
1441
|
+
error: {
|
|
1442
|
+
code: "verified_token_not_found";
|
|
1443
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1444
|
+
message: string;
|
|
1445
|
+
};
|
|
1446
|
+
requestId: string;
|
|
1447
|
+
};
|
|
1448
|
+
outputFormat: "json";
|
|
1449
|
+
status: 404;
|
|
1450
|
+
input: {
|
|
1451
|
+
param: {
|
|
1452
|
+
requestId: string;
|
|
1453
|
+
};
|
|
1454
|
+
} & {
|
|
1455
|
+
json: {
|
|
1456
|
+
reviewNote?: string | undefined;
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1459
|
+
} | {
|
|
1460
|
+
output: {
|
|
1461
|
+
error: {
|
|
1462
|
+
code: "request_not_pending";
|
|
1463
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1464
|
+
message: string;
|
|
1465
|
+
};
|
|
1466
|
+
requestId: string;
|
|
1467
|
+
};
|
|
1468
|
+
outputFormat: "json";
|
|
1469
|
+
status: 409;
|
|
1470
|
+
input: {
|
|
1471
|
+
param: {
|
|
1472
|
+
requestId: string;
|
|
1473
|
+
};
|
|
1474
|
+
} & {
|
|
1475
|
+
json: {
|
|
1476
|
+
reviewNote?: string | undefined;
|
|
1477
|
+
};
|
|
1478
|
+
};
|
|
1479
|
+
} | {
|
|
1480
|
+
output: {
|
|
1481
|
+
error: {
|
|
1482
|
+
code: "verified_token_request_not_found";
|
|
1483
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1484
|
+
message: string;
|
|
1485
|
+
};
|
|
1486
|
+
requestId: string;
|
|
1487
|
+
};
|
|
1488
|
+
outputFormat: "json";
|
|
1489
|
+
status: 404;
|
|
1490
|
+
input: {
|
|
1491
|
+
param: {
|
|
1492
|
+
requestId: string;
|
|
1493
|
+
};
|
|
1494
|
+
} & {
|
|
1495
|
+
json: {
|
|
1496
|
+
reviewNote?: string | undefined;
|
|
1497
|
+
};
|
|
1498
|
+
};
|
|
1499
|
+
} | {
|
|
1500
|
+
output: {
|
|
1501
|
+
error: {
|
|
1502
|
+
code: string;
|
|
1503
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1504
|
+
message: string;
|
|
1505
|
+
};
|
|
1506
|
+
requestId: string;
|
|
1507
|
+
};
|
|
1508
|
+
outputFormat: "json";
|
|
1509
|
+
status: 400 | 413 | 415;
|
|
1510
|
+
input: {
|
|
1511
|
+
param: {
|
|
1512
|
+
requestId: string;
|
|
1513
|
+
};
|
|
1514
|
+
} & {
|
|
1515
|
+
json: {
|
|
1516
|
+
reviewNote?: string | undefined;
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
} | {
|
|
1520
|
+
output: {
|
|
1521
|
+
error: {
|
|
1522
|
+
code: "duplicate_address";
|
|
1523
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1524
|
+
message: string;
|
|
1525
|
+
};
|
|
1526
|
+
requestId: string;
|
|
1527
|
+
};
|
|
1528
|
+
outputFormat: "json";
|
|
1529
|
+
status: 409;
|
|
1530
|
+
input: {
|
|
1531
|
+
param: {
|
|
1532
|
+
requestId: string;
|
|
1533
|
+
};
|
|
1534
|
+
} & {
|
|
1535
|
+
json: {
|
|
1536
|
+
reviewNote?: string | undefined;
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
} | {
|
|
1540
|
+
output: {
|
|
1541
|
+
error: {
|
|
1542
|
+
code: "duplicate_symbol";
|
|
1543
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1544
|
+
message: string;
|
|
1545
|
+
};
|
|
1546
|
+
requestId: string;
|
|
1547
|
+
};
|
|
1548
|
+
outputFormat: "json";
|
|
1549
|
+
status: 409;
|
|
1550
|
+
input: {
|
|
1551
|
+
param: {
|
|
1552
|
+
requestId: string;
|
|
1553
|
+
};
|
|
1554
|
+
} & {
|
|
1555
|
+
json: {
|
|
1556
|
+
reviewNote?: string | undefined;
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
} | {
|
|
1560
|
+
output: {
|
|
1561
|
+
error: {
|
|
1562
|
+
code: "version_mismatch";
|
|
1563
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1564
|
+
message: string;
|
|
1565
|
+
};
|
|
1566
|
+
requestId: string;
|
|
1567
|
+
};
|
|
1568
|
+
outputFormat: "json";
|
|
1569
|
+
status: 412;
|
|
1570
|
+
input: {
|
|
1571
|
+
param: {
|
|
1572
|
+
requestId: string;
|
|
1573
|
+
};
|
|
1574
|
+
} & {
|
|
1575
|
+
json: {
|
|
1576
|
+
reviewNote?: string | undefined;
|
|
1577
|
+
};
|
|
1578
|
+
};
|
|
1579
|
+
} | {
|
|
1580
|
+
output: {
|
|
1581
|
+
data: {
|
|
1582
|
+
address: `0x${string}`;
|
|
1583
|
+
currency: string;
|
|
1584
|
+
decimals: number;
|
|
1585
|
+
logoUri?: string | undefined;
|
|
1586
|
+
name: string;
|
|
1587
|
+
symbol: string;
|
|
1588
|
+
chainId: number;
|
|
1589
|
+
createdAt: string;
|
|
1590
|
+
id: string;
|
|
1591
|
+
logo?: string | undefined;
|
|
1592
|
+
note: string | null;
|
|
1593
|
+
orgId: string;
|
|
1594
|
+
requestedBy: string;
|
|
1595
|
+
reviewNote: string | null;
|
|
1596
|
+
reviewedAt: string | null;
|
|
1597
|
+
status: "approved" | "denied" | "pending";
|
|
1598
|
+
updatedAt: string;
|
|
1599
|
+
orgName: string | null;
|
|
1600
|
+
reviewedBy: string | null;
|
|
1601
|
+
};
|
|
1602
|
+
};
|
|
1603
|
+
outputFormat: "json";
|
|
1604
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1605
|
+
input: {
|
|
1606
|
+
param: {
|
|
1607
|
+
requestId: string;
|
|
1608
|
+
};
|
|
1609
|
+
} & {
|
|
1610
|
+
json: {
|
|
1611
|
+
reviewNote?: string | undefined;
|
|
1612
|
+
};
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
}, "/", "/requests/:requestId/deny">;
|
|
1092
1617
|
//# sourceMappingURL=verified-tokens.d.ts.map
|