import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientUpdateWithoutClaimsInputObjectSchema as PatientUpdateWithoutClaimsInputObjectSchema } from './PatientUpdateWithoutClaimsInput.schema';
import { PatientUncheckedUpdateWithoutClaimsInputObjectSchema as PatientUncheckedUpdateWithoutClaimsInputObjectSchema } from './PatientUncheckedUpdateWithoutClaimsInput.schema';
import { PatientCreateWithoutClaimsInputObjectSchema as PatientCreateWithoutClaimsInputObjectSchema } from './PatientCreateWithoutClaimsInput.schema';
import { PatientUncheckedCreateWithoutClaimsInputObjectSchema as PatientUncheckedCreateWithoutClaimsInputObjectSchema } from './PatientUncheckedCreateWithoutClaimsInput.schema';
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => PatientUpdateWithoutClaimsInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutClaimsInputObjectSchema)]),
  create: z.union([z.lazy(() => PatientCreateWithoutClaimsInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutClaimsInputObjectSchema)]),
  where: z.lazy(() => PatientWhereInputObjectSchema).optional()
}).strict();
export const PatientUpsertWithoutClaimsInputObjectSchema: z.ZodType<Prisma.PatientUpsertWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpsertWithoutClaimsInput>;
export const PatientUpsertWithoutClaimsInputObjectZodSchema = makeSchema();
