Natzar Partner API Reference - v1.0.0
    Preparing search index...

    Function blockDates

    • Take time off across a date range — a whole-day block per day, or the same window on each day. One exception row however long the leave. Extra hours inside it are left in place (blocks win), so lifting the block later gives them back.

      Parameters

      • document: ScheduleDocument
      • args: {
            from: string;
            to?: string | null;
            start?: number | null;
            end?: number | null;
            reason?: string | null;
        }

      Returns ScheduleDocument