import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientCreateWithoutPaymentInputObjectSchema as PatientCreateWithoutPaymentInputObjectSchema } from './PatientCreateWithoutPaymentInput.schema'; import { PatientUncheckedCreateWithoutPaymentInputObjectSchema as PatientUncheckedCreateWithoutPaymentInputObjectSchema } from './PatientUncheckedCreateWithoutPaymentInput.schema'; import { PatientCreateOrConnectWithoutPaymentInputObjectSchema as PatientCreateOrConnectWithoutPaymentInputObjectSchema } from './PatientCreateOrConnectWithoutPaymentInput.schema'; import { PatientUpsertWithoutPaymentInputObjectSchema as PatientUpsertWithoutPaymentInputObjectSchema } from './PatientUpsertWithoutPaymentInput.schema'; import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; import { PatientUpdateToOneWithWhereWithoutPaymentInputObjectSchema as PatientUpdateToOneWithWhereWithoutPaymentInputObjectSchema } from './PatientUpdateToOneWithWhereWithoutPaymentInput.schema'; import { PatientUpdateWithoutPaymentInputObjectSchema as PatientUpdateWithoutPaymentInputObjectSchema } from './PatientUpdateWithoutPaymentInput.schema'; import { PatientUncheckedUpdateWithoutPaymentInputObjectSchema as PatientUncheckedUpdateWithoutPaymentInputObjectSchema } from './PatientUncheckedUpdateWithoutPaymentInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => PatientCreateWithoutPaymentInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutPaymentInputObjectSchema)]).optional(), connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutPaymentInputObjectSchema).optional(), upsert: z.lazy(() => PatientUpsertWithoutPaymentInputObjectSchema).optional(), connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional(), update: z.union([z.lazy(() => PatientUpdateToOneWithWhereWithoutPaymentInputObjectSchema), z.lazy(() => PatientUpdateWithoutPaymentInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutPaymentInputObjectSchema)]).optional() }).strict(); export const PatientUpdateOneRequiredWithoutPaymentNestedInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientUpdateOneRequiredWithoutPaymentNestedInputObjectZodSchema = makeSchema();