import type * as Merge from "../../../index"; /** * # The Department Object * ### Description * The `Department` object is used to represent a department within a company. * ### Usage Example * Fetch from the `LIST Departments` endpoint and view the departments within a company. */ export interface Department { 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 department's name. */ name?: string; /** 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.ats.RemoteData[]; }