/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as Merge from "../../..";
/**
 * # The Group Object
 * ### Description
 * The `Group` object is used to represent any subset of employees, such as `PayGroup` or `Team`. Employees can be in multiple Groups.
 *
 * ### Usage Example
 * Fetch from the `LIST Employee` endpoint and expand groups to view an employee's groups.
 */
export interface Group {
    id?: string;
    /** The third-party API ID of the matching object. */
    remoteId?: string;
    /** The parent group for this group. */
    parentGroup?: string;
    /** The group name. */
    name?: string;
    /**
     * The group type
     *
     * * `TEAM` - TEAM
     * * `DEPARTMENT` - DEPARTMENT
     * * `COST_CENTER` - COST_CENTER
     * * `BUSINESS_UNIT` - BUSINESS_UNIT
     * * `GROUP` - GROUP
     */
    type?: Merge.hris.GroupType;
    /** 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[];
}
