Skip to main content

BlockedHoliday

Stentor API Reference


Stentor API Reference / stentor-models/src / BlockedHoliday

Interface: BlockedHoliday

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

A holiday that recurs every year.

Properties​

id​

id: string

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

Stable slug, e.g. "thanksgiving".


name​

name: string

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

Human readable name.


enabled?​

optional enabled?: boolean

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

When false the holiday is kept in the list but does not block anything. Defaults to true.


category?​

optional category?: "federal" | "business" | "custom"

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

Grouping for display.


rule​

rule: BlockedHolidayRule

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