UNPKG

@unkey/api

Version:

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

16 lines 976 B
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * 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. */ export type Meta = { /** * A unique id for this request. Always include this ID when contacting support about a specific API request. This identifier allows Unkey's support team to trace the exact request through logs and diagnostic systems to provide faster assistance. */ requestId: string; }; /** @internal */ export declare const Meta$inboundSchema: z.ZodType<Meta, z.ZodTypeDef, unknown>; export declare function metaFromJSON(jsonString: string): SafeParseResult<Meta, SDKValidationError>; //# sourceMappingURL=meta.d.ts.map