import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { GustoEmbeddedError } from "./gustoembeddederror.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type Metadata = { /** * A categorization of the payroll blocker, e.g. "geocode_error" */ key?: string | undefined; }; export type PayrollBlockersErrorErrors = { /** * The string "base" */ errorKey?: string | undefined; /** * The string "payroll_blocker" */ category?: string | undefined; /** * Human readable description of the payroll blocker */ message?: string | undefined; metadata?: Metadata | undefined; }; /** * Payroll Blockers Error * * @remarks * * For detailed information, see the [Payroll Blockers guide](https://docs.gusto.com/embedded-payroll/docs/payroll-blockers) */ export type PayrollBlockersErrorData = { errors?: Array | undefined; }; /** * Payroll Blockers Error * * @remarks * * For detailed information, see the [Payroll Blockers guide](https://docs.gusto.com/embedded-payroll/docs/payroll-blockers) */ export declare class PayrollBlockersError extends GustoEmbeddedError { errors?: Array | undefined; /** The original data that was passed to this error instance. */ data$: PayrollBlockersErrorData; constructor(err: PayrollBlockersErrorData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const Metadata$inboundSchema: z.ZodType; export declare function metadataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PayrollBlockersErrorErrors$inboundSchema: z.ZodType; export declare function payrollBlockersErrorErrorsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PayrollBlockersError$inboundSchema: z.ZodType; //# sourceMappingURL=payrollblockerserror.d.ts.map