UNPKG

@unkey/api

Version:

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

35 lines 1.61 kB
import * as z from "zod"; import * as components from "../components/index.js"; export type NotFoundErrorResponseData = { meta: components.Meta; error: components.BaseError; }; export declare class NotFoundErrorResponse extends Error { meta: components.Meta; error: components.BaseError; /** The original data that was passed to this error instance. */ data$: NotFoundErrorResponseData; constructor(err: NotFoundErrorResponseData); } /** @internal */ export declare const NotFoundErrorResponse$inboundSchema: z.ZodType<NotFoundErrorResponse, z.ZodTypeDef, unknown>; /** @internal */ export type NotFoundErrorResponse$Outbound = { meta: components.Meta$Outbound; error: components.BaseError$Outbound; }; /** @internal */ export declare const NotFoundErrorResponse$outboundSchema: z.ZodType<NotFoundErrorResponse$Outbound, z.ZodTypeDef, NotFoundErrorResponse>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace NotFoundErrorResponse$ { /** @deprecated use `NotFoundErrorResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType<NotFoundErrorResponse, z.ZodTypeDef, unknown>; /** @deprecated use `NotFoundErrorResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType<NotFoundErrorResponse$Outbound, z.ZodTypeDef, NotFoundErrorResponse>; /** @deprecated use `NotFoundErrorResponse$Outbound` instead. */ type Outbound = NotFoundErrorResponse$Outbound; } //# sourceMappingURL=notfounderrorresponse.d.ts.map