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 { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => PatientCreateWithoutPaymentInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutPaymentInputObjectSchema)]).optional(), connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutPaymentInputObjectSchema).optional(), connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional() }).strict(); export const PatientCreateNestedOneWithoutPaymentInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientCreateNestedOneWithoutPaymentInputObjectZodSchema = makeSchema();