import * as z from 'zod/mini'; import * as Response from '../../internal/Response.js'; import type * as App from '../App.js'; /** Zod schemas owned by the admin verified-tokens handler. */ export declare namespace schema { /** A curated verified TIP-20 token entry (shared with the public read API). */ const Token: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; id: z.ZodMiniString; }, z.core.$strip>; /** Verified-token write/input fields without the server-derived `id`. */ const Input: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; }, z.core.$strip>; /** Path parameters addressing a single verified token. */ const Params: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; }, z.core.$strip>; /** Schemas for the listVerifiedTokens operation. */ namespace listVerifiedTokens { /** Query parameters for the verified-token list. */ const Query: z.ZodMiniObject<{ chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; }, z.core.$strict>; /** Response: the curated list and the current snapshot version. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; id: z.ZodMiniString; }, z.core.$strip>>; version: z.ZodMiniNullable>; }, z.core.$strip>; } /** Schemas for the createVerifiedToken operation. */ namespace createVerifiedToken { /** Request body for creating a verified token. */ const Body: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; logo: z.ZodMiniOptional>; }, z.core.$strip>; /** Response after a successful create. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; id: z.ZodMiniString; }, z.core.$strip>; version: z.ZodMiniString; }, z.core.$strip>; } /** Schemas for the patchVerifiedToken operation. */ namespace patchVerifiedToken { /** Query parameters for a verified-token patch. */ const Query: z.ZodMiniObject<{ chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; }, z.core.$strict>; /** Request body for partially updating a verified token. */ const Body: z.ZodMiniObject<{ currency: z.ZodMiniOptional>; decimals: z.ZodMiniOptional>; logoUri: z.ZodMiniOptional>; name: z.ZodMiniOptional>; symbol: z.ZodMiniOptional>; }, z.core.$strip>; /** Response after a successful patch. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; id: z.ZodMiniString; }, z.core.$strip>; version: z.ZodMiniString; }, z.core.$strip>; } /** Schemas for the deleteVerifiedToken operation. */ namespace deleteVerifiedToken { /** Query parameters for a verified-token delete. */ const Query: z.ZodMiniObject<{ chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; }, z.core.$strict>; /** Response after a successful delete. */ const Response: z.ZodMiniObject<{ version: z.ZodMiniString; }, z.core.$strip>; } /** Schemas for the uploadVerifiedTokenLogo operation. */ namespace uploadVerifiedTokenLogo { /** Query parameters for a logo upload. */ const Query: z.ZodMiniObject<{ chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; }, z.core.$strict>; /** Response after a successful logo upload. */ const Response: z.ZodMiniObject<{ key: z.ZodMiniString; path: z.ZodMiniString; }, z.core.$strip>; } /** Schemas for the getVerifiedTokenLogo operation. */ namespace getVerifiedTokenLogo { /** Query parameters for a logo read. */ const Query: z.ZodMiniObject<{ chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; }, z.core.$strict>; } /** * A verification request with reviewer context: the management wire shape * plus the requesting org's name and the reviewing admin's email. */ const Request: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; chainId: z.ZodMiniNumber; createdAt: z.ZodMiniISODateTime; id: z.ZodMiniString; logo: z.ZodMiniOptional>; note: z.ZodMiniNullable>; orgId: z.ZodMiniString; requestedBy: z.ZodMiniString; reviewNote: z.ZodMiniNullable>; reviewedAt: z.ZodMiniNullable; status: z.ZodMiniEnum<{ approved: "approved"; denied: "denied"; pending: "pending"; }>; updatedAt: z.ZodMiniISODateTime; orgName: z.ZodMiniNullable>; reviewedBy: z.ZodMiniNullable>; }, z.core.$strip>; /** Path parameters addressing one verification request. */ const RequestParams: z.ZodMiniObject<{ requestId: z.ZodMiniString; }, z.core.$strip>; /** Schemas for the listVerifiedTokenRequests operation. */ namespace listVerifiedTokenRequests { /** Query parameters for the request queue. */ const Query: z.ZodMiniObject<{ status: z.ZodMiniDefault>; }, z.core.$strict>; /** Response: requests in the selected status, oldest first. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; chainId: z.ZodMiniNumber; createdAt: z.ZodMiniISODateTime; id: z.ZodMiniString; logo: z.ZodMiniOptional>; note: z.ZodMiniNullable>; orgId: z.ZodMiniString; requestedBy: z.ZodMiniString; reviewNote: z.ZodMiniNullable>; reviewedAt: z.ZodMiniNullable; status: z.ZodMiniEnum<{ approved: "approved"; denied: "denied"; pending: "pending"; }>; updatedAt: z.ZodMiniISODateTime; orgName: z.ZodMiniNullable>; reviewedBy: z.ZodMiniNullable>; }, z.core.$strip>>; }, z.core.$strip>; } /** Schemas for the denyVerifiedTokenRequest operation. */ namespace denyVerifiedTokenRequest { /** Request body for a denial. */ const Body: z.ZodMiniObject<{ reviewNote: z.ZodMiniOptional>; }, z.core.$strip>; } /** Response shared by the approve and deny operations. */ namespace reviewVerifiedTokenRequest { /** The reviewed request. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; chainId: z.ZodMiniNumber; createdAt: z.ZodMiniISODateTime; id: z.ZodMiniString; logo: z.ZodMiniOptional>; note: z.ZodMiniNullable>; orgId: z.ZodMiniString; requestedBy: z.ZodMiniString; reviewNote: z.ZodMiniNullable>; reviewedAt: z.ZodMiniNullable; status: z.ZodMiniEnum<{ approved: "approved"; denied: "denied"; pending: "pending"; }>; updatedAt: z.ZodMiniISODateTime; orgName: z.ZodMiniNullable>; reviewedBy: z.ZodMiniNullable>; }, z.core.$strip>; }, z.core.$strip>; } /** Schemas for the replaceVerifiedTokens operation. */ namespace replaceVerifiedTokens { /** Query parameters for a bulk replace. */ const Query: z.ZodMiniObject<{ chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; }, z.core.$strict>; /** Request body for replacing a chain's entire verified list. */ const Body: z.ZodMiniObject<{ tokens: z.ZodMiniArray, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; }, z.core.$strip>>; }, z.core.$strip>; /** Response after a successful bulk replace. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; logoUri: z.ZodMiniOptional; name: z.ZodMiniString; symbol: z.ZodMiniString; id: z.ZodMiniString; }, z.core.$strip>>; version: z.ZodMiniString; }, z.core.$strip>; } } /** * Management routes for the curated verified-token list, backed by the app * database (snapshot rows). Mutations accept an optional `If-Match` * precondition (`412` on mismatch). * * - `POST /` creates a token (`409` on a duplicate address or symbol). * - `PUT /` replaces a chain's entire list (seed/rollback). * - `PATCH /:address` partially updates a token (`404` if absent). * - `DELETE /:address` removes a token (`404` if absent). * - `PUT /:address/logo` uploads a curated logo SVG (gated on `assets`). * - `GET /requests` lists organization verification requests. * - `POST /requests/:requestId/approve|deny` reviews a request. */ export declare function verifiedTokens(): import("hono/hono-base").HonoBase; //# sourceMappingURL=verified-tokens.d.ts.map