AvailabilityWindow
Stentor API Reference / stentor-models/src / AvailabilityWindow
Interface: AvailabilityWindow
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:47
A concrete arrival window on a date, as returned by the Availability API.
Every window is a request the business confirms; it is never a guaranteed appointment.
Propertiesβ
startβ
start:
string
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:51
ISO 8601 with offset, business timezone.
endβ
end:
string
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:55
ISO 8601 with offset, business timezone.
statusβ
status:
AvailabilityWindowStatus
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:56
basisβ
basis:
AvailabilityWindowBasis
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:57
confirmationβ
confirmation:
"business_confirms"
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:61
The business confirms every booking. Explicit so no consumer presents a window as a guaranteed booking.
classIdβ
classId:
string
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:65
AvailabilityClass.id the window was computed for.
remaining?β
optionalremaining?:number
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:69
Bookings left in the window for the class, when the class is capped.
bookingUrl?β
optionalbookingUrl?:string
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:73
Booking link that opens the form with this window pre-selected.