import * as z from "zod"; import * as models from "../index.js"; /** * Bad Request */ export type UnionApiErrorBadRequestData = { code?: models.UnionApiErrorBadRequestCode; /** * Error message */ message: string; }; /** * Bad Request */ export declare class UnionApiErrorBadRequest extends Error { code?: models.UnionApiErrorBadRequestCode; /** The original data that was passed to this error instance. */ data$: UnionApiErrorBadRequestData; constructor(err: UnionApiErrorBadRequestData); } /** @internal */ export declare const UnionApiErrorBadRequest$inboundSchema: z.ZodType; /** @internal */ export type UnionApiErrorBadRequest$Outbound = { code?: string; message: string; }; /** @internal */ export declare const UnionApiErrorBadRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace UnionApiErrorBadRequest$ { /** @deprecated use `UnionApiErrorBadRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UnionApiErrorBadRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UnionApiErrorBadRequest$Outbound` instead. */ type Outbound = UnionApiErrorBadRequest$Outbound; } //# sourceMappingURL=unionapierrorbadrequest.d.ts.map