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 PayrollDigestConflictErrorMetadata = { /** * The UUID of the existing payroll digest batch that already used this idempotency key. */ requestUuid?: string | undefined; }; export type PayrollDigestConflictErrorErrors = { /** * The key identifying the error source. */ errorKey?: string | undefined; /** * The error category. */ category?: string | undefined; /** * Human-readable error message. */ message?: string | undefined; metadata?: PayrollDigestConflictErrorMetadata | undefined; }; /** * Error response when a payroll digest idempotency key has already been used by the same partner. */ export type PayrollDigestConflictErrorData = { errors?: Array | undefined; }; /** * Error response when a payroll digest idempotency key has already been used by the same partner. */ export declare class PayrollDigestConflictError extends GustoEmbeddedError { errors?: Array | undefined; /** The original data that was passed to this error instance. */ data$: PayrollDigestConflictErrorData; constructor(err: PayrollDigestConflictErrorData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const PayrollDigestConflictErrorMetadata$inboundSchema: z.ZodType; export declare function payrollDigestConflictErrorMetadataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PayrollDigestConflictErrorErrors$inboundSchema: z.ZodType; export declare function payrollDigestConflictErrorErrorsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PayrollDigestConflictError$inboundSchema: z.ZodType; //# sourceMappingURL=payrolldigestconflicterror.d.ts.map