import type * as CandidApi from "../../../index"; /** * Structured information about an allocation that would be overdrafted. * Provides entity-specific details to display in a table format. */ export interface AllocationOverdraftDetail { /** The allocation target that would be overdrafted (service_line, claim, unattributed, etc.) */ allocationTarget: CandidApi.AllocationTarget; /** The amount in cents that the patient has currently paid toward this target (available to reallocate from) */ patientPaidAmountCents: number; /** The current balance in cents on this entity before the reallocation */ currentBalanceCents: number; /** The amount in cents by which the reallocation would overdraft (always positive) */ overageAmountCents: number; /** A descriptive error message explaining the overdraft condition */ errorMessage: string; }