import type * as Merge from "../../../index"; /** * # The Team Object * ### Description * The `Team` object is used to represent a subdivision of the company, usually a department. Each employee will be grouped into one specific Team. * * ### Usage Example * If you're building a way to filter by `Team`, you'd hit the `GET Teams` endpoint to fetch the `Teams`, and then use the `ID` of the team your user selects to filter the `GET Employees` endpoint. */ export interface Team { id?: string; /** The third-party API ID of the matching object. */ remoteId?: string; /** The datetime that this object was created by Merge. */ createdAt?: Date; /** The datetime that this object was modified by Merge. */ modifiedAt?: Date; /** The team's name. */ name?: string; /** The team's parent team. */ parentTeam?: Merge.hris.TeamParentTeam; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; }