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 { PaymentUpsertWithoutServiceLinesInputObjectSchema as PaymentUpsertWithoutServiceLinesInputObjectSchema } from './PaymentUpsertWithoutServiceLinesInput.schema'; import { PaymentWhereInputObjectSchema as PaymentWhereInputObjectSchema } from './PaymentWhereInput.schema'; import { PaymentWhereUniqueInputObjectSchema as PaymentWhereUniqueInputObjectSchema } from './PaymentWhereUniqueInput.schema'; import { PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectSchema as PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectSchema } from './PaymentUpdateToOneWithWhereWithoutServiceLinesInput.schema'; import { PaymentUpdateWithoutServiceLinesInputObjectSchema as PaymentUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUpdateWithoutServiceLinesInput.schema'; import { PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema as PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUncheckedUpdateWithoutServiceLinesInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => PaymentCreateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema)]).optional(), connectOrCreate: z.lazy(() => PaymentCreateOrConnectWithoutServiceLinesInputObjectSchema).optional(), upsert: z.lazy(() => PaymentUpsertWithoutServiceLinesInputObjectSchema).optional(), disconnect: z.union([z.boolean(), z.lazy(() => PaymentWhereInputObjectSchema)]).optional(), delete: z.union([z.boolean(), z.lazy(() => PaymentWhereInputObjectSchema)]).optional(), connect: z.lazy(() => PaymentWhereUniqueInputObjectSchema).optional(), update: z.union([z.lazy(() => PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUpdateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema)]).optional() }).strict(); export const PaymentUpdateOneWithoutServiceLinesNestedInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PaymentUpdateOneWithoutServiceLinesNestedInputObjectZodSchema = makeSchema();