AvailabilityClass
Stentor API Reference / stentor-models/src / AvailabilityClass
Interface: AvailabilityClass
Defined in: packages/stentor-models/src/Services/CrmService.ts:17
Propertiesβ
idβ
id:
string
Defined in: packages/stentor-models/src/Services/CrmService.ts:21
ID for the availability class, typically the slugged name.
nameβ
name:
string
Defined in: packages/stentor-models/src/Services/CrmService.ts:25
Human readable name of the availability class
summaryβ
summary:
string
Defined in: packages/stentor-models/src/Services/CrmService.ts:29
Summary of the availability class. This is used to describe the availability class so the AI can match it to user input. It contains high level description as well as examples of input that would match to this class.
numberOfDaysOut?β
optionalnumberOfDaysOut:number
Defined in: packages/stentor-models/src/Services/CrmService.ts:37
Minimum number of days out that can be scheduled for this type.
This is independent of if the day is available or not.
Value of 0 is the default if not provided, meaning same day could be available.
appointmentsPerDay?β
optionalappointmentsPerDay:number
Defined in: packages/stentor-models/src/Services/CrmService.ts:43
Maximum number of appointments that can be scheduled per day for this type.
If not provided, it is assumed to be unlimited.
leadOnly?β
optionalleadOnly:boolean
Defined in: packages/stentor-models/src/Services/CrmService.ts:47
If true, this availability class is only for leads and not for appointments as they typically require more information and followup.