chore: open disableGuests for event-types apiv2 (#15001)
* chore: open disableGuests for eventtypes apiv2 * fixup! chore: open disableGuests for eventtypes apiv2 * fixup! fixup! chore: open disableGuests for eventtypes apiv2 * chore: add disableGuests to create handler
This commit is contained in:
1 parent
1d309a6f09
commit
3942df369d
5 files changed
+54
-4
No files matched your search
@@ -14,6 +14,7 @@ export const createEventTypeInput = z.object({
|
||||
schedulingType: z.nativeEnum(SchedulingType).nullish(),
|
||||
locations: imports.eventTypeLocations,
|
||||
metadata: imports.EventTypeMetaDataSchema.optional(),
|
||||
disableGuests: z.boolean().optional(),
|
||||
})
|
||||
.partial({ hidden: true, locations: true })
|
||||
.refine((data) => (data.teamId ? data.teamId && data.schedulingType : true), {
|
||||
|
||||
Reference in new issue
Block a user