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

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => PatientUpdateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutCloudFoldersInputObjectSchema)]),
  create: z.union([z.lazy(() => PatientCreateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema)]),
  where: z.lazy(() => PatientWhereInputObjectSchema).optional()
}).strict();
export const PatientUpsertWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.PatientUpsertWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpsertWithoutCloudFoldersInput>;
export const PatientUpsertWithoutCloudFoldersInputObjectZodSchema = makeSchema();
