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

    Interface DayBreakdown

    Everything the stored document says about ONE date, for a calendar's day view: which rules publish it, the extra hours and time off dated on it, and the resolved result. A click on the calendar needs the SOURCES (to offer "remove for this day" vs "edit the weekly pattern"), not just the outcome.

    interface DayBreakdown {
        date: string;
        rules: ScheduleRule[];
        opens: ScheduleException[];
        blocks: ScheduleException[];
        intervals: LocalInterval[];
        dayOff: boolean;
    }
    Index
    date: string
    rules: ScheduleRule[]

    Rules that publish this date (before exceptions are applied).

    open exceptions covering this date.

    block exceptions covering this date.

    intervals: LocalInterval[]

    The resolved availability — what patients can book against.

    dayOff: boolean

    A whole-day block covers this date.