import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientUpdateWithoutPaymentInputObjectSchema as PatientUpdateWithoutPaymentInputObjectSchema } from './PatientUpdateWithoutPaymentInput.schema';
import { PatientUncheckedUpdateWithoutPaymentInputObjectSchema as PatientUncheckedUpdateWithoutPaymentInputObjectSchema } from './PatientUncheckedUpdateWithoutPaymentInput.schema';
import { PatientCreateWithoutPaymentInputObjectSchema as PatientCreateWithoutPaymentInputObjectSchema } from './PatientCreateWithoutPaymentInput.schema';
import { PatientUncheckedCreateWithoutPaymentInputObjectSchema as PatientUncheckedCreateWithoutPaymentInputObjectSchema } from './PatientUncheckedCreateWithoutPaymentInput.schema';
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => PatientUpdateWithoutPaymentInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutPaymentInputObjectSchema)]),
  create: z.union([z.lazy(() => PatientCreateWithoutPaymentInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutPaymentInputObjectSchema)]),
  where: z.lazy(() => PatientWhereInputObjectSchema).optional()
}).strict();
export const PatientUpsertWithoutPaymentInputObjectSchema: z.ZodType<Prisma.PatientUpsertWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpsertWithoutPaymentInput>;
export const PatientUpsertWithoutPaymentInputObjectZodSchema = makeSchema();
