/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as Merge from "../../..";
/**
 * # The TimeOffBalance Object
 * ### Description
 * The `TimeOffBalance` object is used to represent current balances for an employee's Time Off plan.
 *
 * ### Usage Example
 * Fetch from the `LIST TimeOffBalances` endpoint and filter by `ID` to show all time off balances.
 */
export interface TimeOffBalance {
    id?: string;
    /** The third-party API ID of the matching object. */
    remoteId?: string;
    /** The employee the balance belongs to. */
    employee?: Merge.hris.TimeOffBalanceEmployee;
    /** The current remaining PTO balance, always measured in terms of hours. */
    balance?: number;
    /** The amount of PTO used in terms of hours. */
    used?: number;
    /**
     * The policy type of this time off balance.
     *
     * * `VACATION` - VACATION
     * * `SICK` - SICK
     * * `PERSONAL` - PERSONAL
     * * `JURY_DUTY` - JURY_DUTY
     * * `VOLUNTEER` - VOLUNTEER
     * * `BEREAVEMENT` - BEREAVEMENT
     */
    policyType?: Merge.hris.TimeOffBalancePolicyType;
    /** Indicates whether or not this object has been deleted in the third party platform. */
    remoteWasDeleted?: boolean;
    createdAt?: Date;
    /** This is the datetime that this object was last updated by Merge */
    modifiedAt?: Date;
    fieldMappings?: Record<string, unknown>;
    remoteData?: Merge.hris.RemoteData[];
}
