UNPKG

@unkey/api

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.

24 lines 1.31 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { KeyResponseData } from "./keyresponsedata.js"; import { Meta } from "./meta.js"; import { Pagination } from "./pagination.js"; export type V2ApisListKeysResponseBody = { /** * Metadata object included in every API response. This provides context about the request and is essential for debugging, audit trails, and support inquiries. The `requestId` is particularly important when troubleshooting issues with the Unkey support team. */ meta: Meta; /** * Array of API keys with complete configuration and metadata. */ data: Array<KeyResponseData>; /** * Pagination metadata for list endpoints. Provides information necessary to traverse through large result sets efficiently using cursor-based pagination. */ pagination?: Pagination | undefined; }; /** @internal */ export declare const V2ApisListKeysResponseBody$inboundSchema: z.ZodType<V2ApisListKeysResponseBody, z.ZodTypeDef, unknown>; export declare function v2ApisListKeysResponseBodyFromJSON(jsonString: string): SafeParseResult<V2ApisListKeysResponseBody, SDKValidationError>; //# sourceMappingURL=v2apislistkeysresponsebody.d.ts.map