# Holidays, the caller's time off, and balances for a window

Team workspaces only. from and to are inclusive YYYY-MM-DD and can cover at most a year. holidays are the calendar expanded into the window, including yearly repeats. A one-off holiday on a date wins over a yearly one. timeOff is the caller's pending and approved requests, one object per calendar day in the window, and never another member's. balances are the caller's active policies for each calendar year the window touches. Remaining days can be negative when an allowance was lowered after time was approved.

Canonical: https://easerix.com/docs/developers/api/croncrunch/time-off/timeOffCoverage

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="croncrunch" operations={[{"path":"/v1/time-off/coverage","method":"get"}]} />
    </>
  );
}
