import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PaymentCreateWithoutServiceLinesInputObjectSchema as PaymentCreateWithoutServiceLinesInputObjectSchema } from './PaymentCreateWithoutServiceLinesInput.schema'; import { PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema as PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema } from './PaymentUncheckedCreateWithoutServiceLinesInput.schema'; import { PaymentCreateOrConnectWithoutServiceLinesInputObjectSchema as PaymentCreateOrConnectWithoutServiceLinesInputObjectSchema } from './PaymentCreateOrConnectWithoutServiceLinesInput.schema'; import { PaymentWhereUniqueInputObjectSchema as PaymentWhereUniqueInputObjectSchema } from './PaymentWhereUniqueInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => PaymentCreateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema)]).optional(), connectOrCreate: z.lazy(() => PaymentCreateOrConnectWithoutServiceLinesInputObjectSchema).optional(), connect: z.lazy(() => PaymentWhereUniqueInputObjectSchema).optional() }).strict(); export const PaymentCreateNestedOneWithoutServiceLinesInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PaymentCreateNestedOneWithoutServiceLinesInputObjectZodSchema = makeSchema();