Skip to content

UpdateEventTypePolicyInput

enabled
name
selector

Replaces the whole selector. Null applies the policy 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 resets it to WARN.