SlotCapacityPolicy
Stentor API Reference / stentor-models/src / SlotCapacityPolicy
Interface: SlotCapacityPolicy
Defined in: packages/stentor-models/src/Form/FormField.ts:524
How many appointments a slot or a day may absorb.
Note​
- Reserved. Consumers must accept and persist this without acting on it; slot
consumption is not tracked yet, so
modeis currently always "NONE".
Properties​
mode​
mode:
"NONE"|"ON_SUBMIT"|"ON_CONFIRM"
Defined in: packages/stentor-models/src/Form/FormField.ts:532
When a slot is considered consumed.
- "NONE": capacity is not tracked, every generated slot stays selectable
- "ON_SUBMIT": a submitted lead consumes a slot
- "ON_CONFIRM": only an appointment confirmed by the business consumes a slot
perSlot?​
optionalperSlot?:number
Defined in: packages/stentor-models/src/Form/FormField.ts:537
How many appointments may share one slot. A business with several technicians can take more than one.
perDay?​
optionalperDay?:number
Defined in: packages/stentor-models/src/Form/FormField.ts:541
How many appointments may be taken across a whole day.