import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { StaffWhereInputObjectSchema as StaffWhereInputObjectSchema } from './StaffWhereInput.schema'; import { StaffUpdateWithoutAppointmentsInputObjectSchema as StaffUpdateWithoutAppointmentsInputObjectSchema } from './StaffUpdateWithoutAppointmentsInput.schema'; import { StaffUncheckedUpdateWithoutAppointmentsInputObjectSchema as StaffUncheckedUpdateWithoutAppointmentsInputObjectSchema } from './StaffUncheckedUpdateWithoutAppointmentsInput.schema' const makeSchema = () => z.object({ where: z.lazy(() => StaffWhereInputObjectSchema).optional(), data: z.union([z.lazy(() => StaffUpdateWithoutAppointmentsInputObjectSchema), z.lazy(() => StaffUncheckedUpdateWithoutAppointmentsInputObjectSchema)]) }).strict(); export const StaffUpdateToOneWithWhereWithoutAppointmentsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const StaffUpdateToOneWithWhereWithoutAppointmentsInputObjectZodSchema = makeSchema();