@@ -77,65 +77,66 @@ model EventType {
77
77
profileId Int ?
78
78
profile Profile ? @relation (fields : [profileId ] , references : [id ] , onDelete : Cascade )
79
79
80
- team Team ? @relation (fields : [teamId ] , references : [id ] , onDelete : Cascade )
81
- teamId Int ?
82
- hashedLink HashedLink ?
83
- bookings Booking []
84
- availability Availability []
85
- webhooks Webhook []
86
- destinationCalendar DestinationCalendar ?
87
- eventName String ?
88
- customInputs EventTypeCustomInput []
89
- parentId Int ?
90
- parent EventType ? @relation (" managed_eventtype " , fields : [parentId ] , references : [id ] , onDelete : Cascade )
91
- children EventType [] @relation (" managed_eventtype " )
80
+ team Team ? @relation (fields : [teamId ] , references : [id ] , onDelete : Cascade )
81
+ teamId Int ?
82
+ hashedLink HashedLink ?
83
+ bookings Booking []
84
+ availability Availability []
85
+ webhooks Webhook []
86
+ destinationCalendar DestinationCalendar ?
87
+ eventName String ?
88
+ customInputs EventTypeCustomInput []
89
+ parentId Int ?
90
+ parent EventType ? @relation (" managed_eventtype " , fields : [parentId ] , references : [id ] , onDelete : Cascade )
91
+ children EventType [] @relation (" managed_eventtype " )
92
92
/// @zod.custom(imports.eventTypeBookingFields)
93
- bookingFields Json ?
94
- timeZone String ?
95
- periodType PeriodType @default (UNLIMITED )
93
+ bookingFields Json ?
94
+ timeZone String ?
95
+ periodType PeriodType @default (UNLIMITED )
96
96
/// @zod.custom(imports.coerceToDate)
97
- periodStartDate DateTime ?
97
+ periodStartDate DateTime ?
98
98
/// @zod.custom(imports.coerceToDate)
99
- periodEndDate DateTime ?
100
- periodDays Int ?
101
- periodCountCalendarDays Boolean ?
102
- lockTimeZoneToggleOnBookingPage Boolean @default (false )
103
- requiresConfirmation Boolean @default (false )
104
- requiresBookerEmailVerification Boolean @default (false )
99
+ periodEndDate DateTime ?
100
+ periodDays Int ?
101
+ periodCountCalendarDays Boolean ?
102
+ lockTimeZoneToggleOnBookingPage Boolean @default (false )
103
+ requiresConfirmation Boolean @default (false )
104
+ requiresBookerEmailVerification Boolean @default (false )
105
105
/// @zod.custom(imports.recurringEventType)
106
- recurringEvent Json ?
107
- disableGuests Boolean @default (false )
108
- hideCalendarNotes Boolean @default (false )
106
+ recurringEvent Json ?
107
+ disableGuests Boolean @default (false )
108
+ hideCalendarNotes Boolean @default (false )
109
109
/// @zod.min(0)
110
- minimumBookingNotice Int @default (120 )
111
- beforeEventBuffer Int @default (0 )
112
- afterEventBuffer Int @default (0 )
113
- seatsPerTimeSlot Int ?
114
- onlyShowFirstAvailableSlot Boolean @default (false )
115
- seatsShowAttendees Boolean ? @default (false )
116
- seatsShowAvailabilityCount Boolean ? @default (true )
117
- schedulingType SchedulingType ?
118
- schedule Schedule ? @relation (fields : [scheduleId ] , references : [id ] )
119
- scheduleId Int ?
110
+ minimumBookingNotice Int @default (120 )
111
+ beforeEventBuffer Int @default (0 )
112
+ afterEventBuffer Int @default (0 )
113
+ seatsPerTimeSlot Int ?
114
+ onlyShowFirstAvailableSlot Boolean @default (false )
115
+ seatsShowAttendees Boolean ? @default (false )
116
+ seatsShowAvailabilityCount Boolean ? @default (true )
117
+ schedulingType SchedulingType ?
118
+ schedule Schedule ? @relation (fields : [scheduleId ] , references : [id ] )
119
+ scheduleId Int ?
120
120
// price is deprecated. It has now moved to metadata.apps.stripe.price. Plan to drop this column.
121
- price Int @default (0 )
121
+ price Int @default (0 )
122
122
// currency is deprecated. It has now moved to metadata.apps.stripe.currency. Plan to drop this column.
123
- currency String @default (" usd " )
124
- slotInterval Int ?
123
+ currency String @default (" usd " )
124
+ slotInterval Int ?
125
125
/// @zod.custom(imports.EventTypeMetaDataSchema)
126
- metadata Json ?
126
+ metadata Json ?
127
127
/// @zod.custom(imports.successRedirectUrl)
128
- successRedirectUrl String ?
129
- forwardParamsSuccessRedirect Boolean ? @default (true )
130
- workflows WorkflowsOnEventTypes []
128
+ successRedirectUrl String ?
129
+ forwardParamsSuccessRedirect Boolean ? @default (true )
130
+ workflows WorkflowsOnEventTypes []
131
131
/// @zod.custom(imports.intervalLimitsType)
132
- bookingLimits Json ?
132
+ bookingLimits Json ?
133
133
/// @zod.custom(imports.intervalLimitsType)
134
- durationLimits Json ?
135
- isInstantEvent Boolean @default (false )
136
- assignAllTeamMembers Boolean @default (false )
137
- useEventTypeDestinationCalendarEmail Boolean @default (false )
138
- aiPhoneCallConfig AIPhoneCallConfiguration ?
134
+ durationLimits Json ?
135
+ isInstantEvent Boolean @default (false )
136
+ instantMeetingExpiryTimeOffsetInSeconds Int @default (90 )
137
+ assignAllTeamMembers Boolean @default (false )
138
+ useEventTypeDestinationCalendarEmail Boolean @default (false )
139
+ aiPhoneCallConfig AIPhoneCallConfiguration ?
139
140
140
141
secondaryEmailId Int ?
141
142
secondaryEmail SecondaryEmail ? @relation (fields : [secondaryEmailId ] , references : [id ] , onDelete : Cascade )
0 commit comments