Skip to main content

RelativeHolidayRule

Stentor API Reference


Stentor API Reference / stentor-models/src / RelativeHolidayRule

Interface: RelativeHolidayRule

Defined in: packages/stentor-models/src/Services/CrmService.ts:87

A number of days from another holiday, e.g. the day after Thanksgiving.

Properties​

type​

type: "relative"

Defined in: packages/stentor-models/src/Services/CrmService.ts:88


holidayId​

holidayId: string

Defined in: packages/stentor-models/src/Services/CrmService.ts:92

BlockedHoliday.id of the holiday this one is relative to.


offsetDays​

offsetDays: number

Defined in: packages/stentor-models/src/Services/CrmService.ts:93