AvailabilityWindowDefinition
Stentor API Reference / stentor-models/src / AvailabilityWindowDefinition
Interface: AvailabilityWindowDefinition
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:9
An arrival window a business offers, as wall-clock times in the business's timezone.
Businesses offer wide windows ("8 AM to 12 PM") rather than point slots, so the dispatcher can fit the job in. A point slot is a narrow window.
Properties​
start​
start:
string
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:13
Start of the window, "HH:mm" 24-hour, business timezone.
end​
end:
string
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:17
End of the window, "HH:mm" 24-hour, business timezone.
classIds?​
optionalclassIds?:string[]
Defined in: packages/stentor-models/src/Services/AvailabilityWindow.ts:21
Restrict this window to these AvailabilityClass ids. Absent means every class.