import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PaymentWhereInputObjectSchema as PaymentWhereInputObjectSchema } from './PaymentWhereInput.schema'; import { PaymentUpdateWithoutServiceLinesInputObjectSchema as PaymentUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUpdateWithoutServiceLinesInput.schema'; import { PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema as PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUncheckedUpdateWithoutServiceLinesInput.schema' const makeSchema = () => z.object({ where: z.lazy(() => PaymentWhereInputObjectSchema).optional(), data: z.union([z.lazy(() => PaymentUpdateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema)]) }).strict(); export const PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectZodSchema = makeSchema();