import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PaymentCreateWithoutServiceLineTransactionsInputObjectSchema as PaymentCreateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentCreateWithoutServiceLineTransactionsInput.schema'; import { PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema as PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentUncheckedCreateWithoutServiceLineTransactionsInput.schema'; import { PaymentCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema as PaymentCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema } from './PaymentCreateOrConnectWithoutServiceLineTransactionsInput.schema'; import { PaymentWhereUniqueInputObjectSchema as PaymentWhereUniqueInputObjectSchema } from './PaymentWhereUniqueInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => PaymentCreateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema)]).optional(), connectOrCreate: z.lazy(() => PaymentCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema).optional(), connect: z.lazy(() => PaymentWhereUniqueInputObjectSchema).optional() }).strict(); export const PaymentCreateNestedOneWithoutServiceLineTransactionsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PaymentCreateNestedOneWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema();