import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema';
import { PatientUpdateWithoutGroupsInputObjectSchema as PatientUpdateWithoutGroupsInputObjectSchema } from './PatientUpdateWithoutGroupsInput.schema';
import { PatientUncheckedUpdateWithoutGroupsInputObjectSchema as PatientUncheckedUpdateWithoutGroupsInputObjectSchema } from './PatientUncheckedUpdateWithoutGroupsInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => PatientWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => PatientUpdateWithoutGroupsInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutGroupsInputObjectSchema)])
}).strict();
export const PatientUpdateToOneWithWhereWithoutGroupsInputObjectSchema: z.ZodType<Prisma.PatientUpdateToOneWithWhereWithoutGroupsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpdateToOneWithWhereWithoutGroupsInput>;
export const PatientUpdateToOneWithWhereWithoutGroupsInputObjectZodSchema = makeSchema();
