import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema';
import { PatientUpdateWithoutCloudFoldersInputObjectSchema as PatientUpdateWithoutCloudFoldersInputObjectSchema } from './PatientUpdateWithoutCloudFoldersInput.schema';
import { PatientUncheckedUpdateWithoutCloudFoldersInputObjectSchema as PatientUncheckedUpdateWithoutCloudFoldersInputObjectSchema } from './PatientUncheckedUpdateWithoutCloudFoldersInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => PatientWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => PatientUpdateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutCloudFoldersInputObjectSchema)])
}).strict();
export const PatientUpdateToOneWithWhereWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.PatientUpdateToOneWithWhereWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpdateToOneWithWhereWithoutCloudFoldersInput>;
export const PatientUpdateToOneWithWhereWithoutCloudFoldersInputObjectZodSchema = makeSchema();
