Skip to content

EventTypePolicy

Booking constraints for one event type, for the members its selector matches. Setting a constraint switches its rule on.

id
createdById
createdAt
updatedById
updatedAt
version
enabled
name
eventTypeId
blackoutRanges

Dates on which the event type cannot be booked.

lengthUnit

Unit of minLengthDays and maxLengthDays. Null reads as WORKING_DAYS.

minLengthDays

Shortest allowed booking, in lengthUnit.

maxLengthDays

Longest allowed booking, in lengthUnit.

minGapDays

Fewest days that must lie between a booking and the member’s nearest other event of this type, in minGapUnit.

minGapUnit

Unit of minGapDays. Null reads as WORKING_DAYS.

advanceNoticeDays

Fewest days between today and the start of a booking, in advanceNoticeUnit.

advanceNoticeUnit

Unit of advanceNoticeDays. Null reads as WORKING_DAYS.

enforcement

What happens when a booking breaks this policy. Null reads as WARN. Stored on every plan; a level above the workspace’s plan acts as WARN.