Skip to main content

CrmServiceDateAvailability

Stentor API Reference


Stentor API Reference / stentor-models/src / CrmServiceDateAvailability

Interface: CrmServiceDateAvailability

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

Properties​

date​

date: DateTime

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

Typically, just the date is used, tz and time are not needed.


available​

available: boolean

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

If the day has any availability for appointments.


remainingAppointments?​

optional remainingAppointments?: number

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

The number of remaining available appointments.


blockedTimeSlots?​

optional blockedTimeSlots?: CrmServiceTimeAvailability[]

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

Blocked time slots for the day.

These are only blocked times during their normal business hours.

Note​

  • This is only for future consideration.

timeSlots?​

optional timeSlots?: CrmServiceTimeAvailability[]

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

Every bookable window that day, open or full, in time order.

Only set by CRMs offering live slots.