UNPKG

@unkey/api

Version:

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

24 lines 1.34 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Identity } from "./identity.js"; import { Meta } from "./meta.js"; import { Pagination } from "./pagination.js"; export type V2IdentitiesListIdentitiesResponseBody = { /** * 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; /** * List of identities matching the specified criteria. */ data: Array<Identity>; /** * Pagination metadata for list endpoints. Provides information necessary to traverse through large result sets efficiently using cursor-based pagination. */ pagination: Pagination; }; /** @internal */ export declare const V2IdentitiesListIdentitiesResponseBody$inboundSchema: z.ZodType<V2IdentitiesListIdentitiesResponseBody, z.ZodTypeDef, unknown>; export declare function v2IdentitiesListIdentitiesResponseBodyFromJSON(jsonString: string): SafeParseResult<V2IdentitiesListIdentitiesResponseBody, SDKValidationError>; //# sourceMappingURL=v2identitieslistidentitiesresponsebody.d.ts.map