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 ConflictErrorObjectErrors = { /** * Specifies where the error occurs. Typically this key identifies the attribute/parameter related to the error. */ errorKey: string; /** * Specifies the type of error. The category provides error groupings and can be used to build custom error handling in your integration. */ category: string; /** * Provides details about the error - generally this message can be surfaced to an end user. */ message?: string | undefined; }; /** * Conflict * * @remarks * * This error occurs when the resource version provided does not match the current version. Retrieve the latest version and retry. */ export type ConflictErrorObjectData = { errors: Array; }; /** * Conflict * * @remarks * * This error occurs when the resource version provided does not match the current version. Retrieve the latest version and retry. */ export declare class ConflictErrorObject extends GustoEmbeddedError { errors: Array; /** The original data that was passed to this error instance. */ data$: ConflictErrorObjectData; constructor(err: ConflictErrorObjectData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const ConflictErrorObjectErrors$inboundSchema: z.ZodType; export declare function conflictErrorObjectErrorsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ConflictErrorObject$inboundSchema: z.ZodType; //# sourceMappingURL=conflicterrorobject.d.ts.map