export type Company = { /** ID of the company */ id: number; /** Name of the company */ name: string; /** Default timezone of the company */ timezoneDefault: string; /** Currency of the company */ currency: string; /** Are time and lump sum entries with multiline descriptions allowed? */ allowEntriesTextMultiline: boolean; /** * Can time and lump sum entries be directly assigned to customers (or only to * projects)? */ allowEntriesForCustomers: boolean; /** Are entries of a single user allowed to overlap with each other? */ allowEntryOverlaps: boolean; /** * Does the duration of a time entry have to be equal to the difference * between start and end? */ forceLinkedEntryTimes: boolean; /** ID of the default customer */ defaultCustomersId: number | null; /** ID of the default service */ defaultServicesId: number | null; /** Is the absence module active for the company? */ moduleAbsence: boolean; /** Is the work-time module active for the company? */ moduleWorkTime: boolean; /** Is the entries-texts module active for the company? */ moduleEntriesTexts: boolean; /** Is the project-times module active for the company? */ moduleProjectTimes: boolean; /** Is the target-hours module active for the company? */ moduleTargetHours: boolean; /** Is the user-reports module active for the company? */ moduleUserReports: boolean; /** ID of the default nonbusiness group */ nonbusinessGroupDefault: number | null; /** ID of the default worktime regulation */ worktimeRegulationDefault: number | null; /** * Date from which worktime regulations are evaluated for the company in * YYYY-MM-DD format */ worktimeEvaluateRegulationsSince: string | null; /** Subtraction of missing break time */ worktimeForceBreaks: WorktimeForceBreaks; /** Number of days in the default holiday quota of the company */ holidaysCountDefault: number; /** * Are absences handled by reducing the target hours for the day? If not, time * is added to the worktime account for absences */ absenceReducesTargetHours: boolean; /** Default value for automatically compensated overtime per day (in minutes) */ compensateDayDefault: number; /** Default value for automatically compensated overtime per month (in hours) */ compensateMonthDefault: number; targetHoursDefault: { /** Default value for targethours on mondays */ monday: number; /** Default value for targethours on tuesdays */ tuesday: number; /** Default value for targethours on wednesdays */ wednesday: number; /** Default value for targethours on thursdays */ thursday: number; /** Default value for targethours on fridays */ friday: number; /** Default value for targethours on saturdays */ saturday: number; /** Default value for targethours on sundays */ sunday: number; }; /** Has the registration process been completed? */ onboardingComplete: boolean; }; export declare enum WorktimeForceBreaks { /** 0: no subtraction */ Off = 0, /** 1: full subtraction */ Full = 1, /** 2: full subtraction / floating subtraction as of 2022 */ Floating = 2 } //# sourceMappingURL=company.d.ts.map