import type * as ElevenLabs from "../index"; /** * A closure or time-off entry. */ export interface HolidayResponseModel { /** Display name of the closure or time off. */ name: string; /** First day of the closure or time off, inclusive. */ startDate: ElevenLabs.DateModel; /** Last day of the closure or time off, inclusive. */ endDate: ElevenLabs.DateModel; /** 'closed' for no availability, or 'override' to use override_hours instead of the regular hours. */ holidayType?: ElevenLabs.HolidayType; /** Replacement working hours when holiday_type is 'override'. */ overrideHours?: ElevenLabs.TimeRangeModel[]; /** What the entry applies to: a location, a staff member, or an asset. */ timeOffType: ElevenLabs.TimeOffType; /** The staff member or asset ID; required when time_off_type is 'staff' or 'asset'. */ resourceId?: string; /** For LOCATION type: the location this closure applies to. */ locationId?: string; /** Optional note on why the closure or time off happens, up to 500 characters. */ reason?: string; /** The closure or time-off entry's ID. */ id: string; /** When the entry was created, as a Unix timestamp in seconds. */ createdAtUnix: number; /** When the entry was last updated, as a Unix timestamp in seconds. */ updatedAtUnix: number; }