chore: more fields event-types apiv2 (#15031)
This commit is contained in:
1 parent
46f67bba9b
commit
0a0c5ef61e
5 files changed
+92
-14
No files matched your search
@@ -15,6 +15,10 @@ export const createEventTypeInput = z.object({
|
||||
locations: imports.eventTypeLocations,
|
||||
metadata: imports.EventTypeMetaDataSchema.optional(),
|
||||
disableGuests: z.boolean().optional(),
|
||||
slotInterval: z.number().nullish(),
|
||||
minimumBookingNotice: z.number().int().min(0).optional(),
|
||||
beforeEventBuffer: z.number().int().optional(),
|
||||
afterEventBuffer: z.number().int().optional(),
|
||||
})
|
||||
.partial({ hidden: true, locations: true })
|
||||
.refine((data) => (data.teamId ? data.teamId && data.schedulingType : true), {
|
||||
|
||||
Reference in new issue
Block a user