Skip to content

CreateEventTypePolicyInput

enabled
name
eventTypeId
selector

Members the policy applies to. Null applies to everyone.

blackoutRanges

Dates on which the event type cannot be booked.

lengthUnit

Unit of minLengthDays and maxLengthDays.

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.

advanceNoticeDays

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

advanceNoticeUnit

Unit of advanceNoticeDays.

enforcement

What happens when a booking breaks this policy. Null reads as WARN.