import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Status of the recovery case */ export declare const RecoveryCaseStatus: { readonly Open: "open"; readonly RedebitInitiated: "redebit_initiated"; readonly WireInitiated: "wire_initiated"; readonly Recovered: "recovered"; readonly Lost: "lost"; }; /** * Status of the recovery case */ export type RecoveryCaseStatus = ClosedEnum; /** * Representation of a recovery case */ export type RecoveryCase = { /** * Unique identifier of an recovery case */ uuid: string; /** * Unique identifier of the company to which the recovery case belongs */ companyUuid?: string | undefined; /** * Status of the recovery case */ status?: RecoveryCaseStatus | undefined; /** * The latest bank error code for the recovery case. See [this doc](https://docs.gusto.com/embedded-payroll/docs/ach-codes-and-transaction-types) for a list of common ACH return codes. */ latestErrorCode?: string | null | undefined; /** * Date when funds were originally debited from the company's bank account */ originalDebitDate?: string | null | undefined; /** * Check date for the associated payroll or contractor payments */ checkDate?: string | undefined; /** * The uuid of the associated payroll for which the recovery case was created. If the recovery case was created for a contractor payment, this field will be null. */ payrollUuid?: string | null | undefined; /** * The uuids of the associated contractor payments for which the recovery case was created. If the recovery case was created for a payroll, this field will be null. */ contractorPaymentUuids?: Array | null | undefined; /** * Amount outstanding for the recovery case */ amountOutstanding?: string | undefined; /** * Total amount to be debited from the payroll or contractor payments */ eventTotalAmount?: string | undefined; }; /** @internal */ export declare const RecoveryCaseStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const RecoveryCase$inboundSchema: z.ZodType; export declare function recoveryCaseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=recoverycase.d.ts.map