CrmServiceAvailabilityOptions
Stentor API Reference / stentor-models/src / CrmServiceAvailabilityOptions
Interface: CrmServiceAvailabilityOptions
Defined in: packages/stentor-models/src/Services/CrmService.ts:181
Settings for the availability of the CRM service.
Extendsβ
Propertiesβ
availableDays?β
optionalavailableDays?:DayOfWeek[]
Defined in: packages/stentor-models/src/Services/CrmService.ts:95
The days of the week they are available to schedule appointments through the scheduler.
Inherited fromβ
CrmServiceAvailabilitySettings.availableDays
blockedDays?β
optionalblockedDays?:DateTime[]
Defined in: packages/stentor-models/src/Services/CrmService.ts:99
These are holidays or any other days specific to the business that they are not available for appointments.
Inherited fromβ
CrmServiceAvailabilitySettings.blockedDays
maxTotalDailyAppointments?β
optionalmaxTotalDailyAppointments?:number
Defined in: packages/stentor-models/src/Services/CrmService.ts:103
Maximum total number of appointments a day that can be scheduled through the scheduler.
Inherited fromβ
CrmServiceAvailabilitySettings.maxTotalDailyAppointments
delayedJobTypes?β
optionaldelayedJobTypes?:string[]
Defined in: packages/stentor-models/src/Services/CrmService.ts:107
Job types, where we only schedule a few days (3) ahead
Inherited fromβ
CrmServiceAvailabilitySettings.delayedJobTypes
availabilityClasses?β
optionalavailabilityClasses?:AvailabilityClass[]
Defined in: packages/stentor-models/src/Services/CrmService.ts:111
The customer specific "availability classes" that describes the scheduling strategy for job types.
Inherited fromβ
CrmServiceAvailabilitySettings.availabilityClasses
defaultAvailabilityClass?β
optionaldefaultAvailabilityClass?:string
Defined in: packages/stentor-models/src/Services/CrmService.ts:115
The default availability class (when the AI cannot figure it out)
Inherited fromβ
CrmServiceAvailabilitySettings.defaultAvailabilityClass
defaultBusyDays?β
optionaldefaultBusyDays?:BusyDayDescription
Defined in: packages/stentor-models/src/Services/CrmService.ts:119
The default busy days for the business. This is used when the FSM/Scheduling backend does not provide busy days
Inherited fromβ
CrmServiceAvailabilitySettings.defaultBusyDays
jobTypeClasses?β
optionaljobTypeClasses?:JobTypeAvailabilityClass[]
Defined in: packages/stentor-models/src/Services/CrmService.ts:123
Deterministic job type -> class mapping. Beats the LLM's guess.
Inherited fromβ
CrmServiceAvailabilitySettings.jobTypeClasses
forceAvailabilityClass?β
optionalforceAvailabilityClass?:string
Defined in: packages/stentor-models/src/Services/CrmService.ts:131
Forces every booking in this scope into the given class, regardless of job type.
This is deliberately NOT defaultAvailabilityClass: that field is a fallback (it loses to jobType.class), so it cannot express "force". Used by campaign booking widgets, which carry their own availability settings.
Inherited fromβ
CrmServiceAvailabilitySettings.forceAvailabilityClass
jobType?β
optionaljobType?:CrmServiceJobType
Defined in: packages/stentor-models/src/Services/CrmService.ts:188
Job Type to filter availability by.
This allows to display availability for a specific job type, which can be different.