Skip to main content

BusyDayDescription

Stentor API Reference


Stentor API Reference / stentor-models/src / BusyDayDescription

Interface: BusyDayDescription

Defined in: packages/stentor-models/src/Form/FormField.ts:177

Properties​

availableDays?​

readonly optional availableDays: DayOfWeek[]

Defined in: packages/stentor-models/src/Form/FormField.ts:181

The days of the week that are available for appointments.


blockWeekends?​

readonly optional blockWeekends: boolean

Defined in: packages/stentor-models/src/Form/FormField.ts:187

Blocks all weekends

If provided, it will override the availableDays.


blockCurrentDay?​

readonly optional blockCurrentDay: boolean

Defined in: packages/stentor-models/src/Form/FormField.ts:194

Blocks the current day.

If it is a weekend and weekends are not blocked, it will be blocked. If it is a weekend and weekends are blocked, the it will be disregarded.


currentDayAvailableUntil?​

readonly optional currentDayAvailableUntil: string

Defined in: packages/stentor-models/src/Form/FormField.ts:198

Blocks the current day until the specified time. This is in the format of HH:MM.


blockNextBusinessDays?​

readonly optional blockNextBusinessDays: number

Defined in: packages/stentor-models/src/Form/FormField.ts:206

Blocks the next number of business days.

One business day will bock the next business day.

If this is set, it will override the availableDays, blockWeekends, and blockCurrentDay.