import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineCreateWithoutClaimInputObjectSchema as ServiceLineCreateWithoutClaimInputObjectSchema } from './ServiceLineCreateWithoutClaimInput.schema';
import { ServiceLineUncheckedCreateWithoutClaimInputObjectSchema as ServiceLineUncheckedCreateWithoutClaimInputObjectSchema } from './ServiceLineUncheckedCreateWithoutClaimInput.schema';
import { ServiceLineCreateOrConnectWithoutClaimInputObjectSchema as ServiceLineCreateOrConnectWithoutClaimInputObjectSchema } from './ServiceLineCreateOrConnectWithoutClaimInput.schema';
import { ServiceLineUpsertWithWhereUniqueWithoutClaimInputObjectSchema as ServiceLineUpsertWithWhereUniqueWithoutClaimInputObjectSchema } from './ServiceLineUpsertWithWhereUniqueWithoutClaimInput.schema';
import { ServiceLineCreateManyClaimInputEnvelopeObjectSchema as ServiceLineCreateManyClaimInputEnvelopeObjectSchema } from './ServiceLineCreateManyClaimInputEnvelope.schema';
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema';
import { ServiceLineUpdateWithWhereUniqueWithoutClaimInputObjectSchema as ServiceLineUpdateWithWhereUniqueWithoutClaimInputObjectSchema } from './ServiceLineUpdateWithWhereUniqueWithoutClaimInput.schema';
import { ServiceLineUpdateManyWithWhereWithoutClaimInputObjectSchema as ServiceLineUpdateManyWithWhereWithoutClaimInputObjectSchema } from './ServiceLineUpdateManyWithWhereWithoutClaimInput.schema';
import { ServiceLineScalarWhereInputObjectSchema as ServiceLineScalarWhereInputObjectSchema } from './ServiceLineScalarWhereInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => ServiceLineCreateWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineCreateWithoutClaimInputObjectSchema).array(), z.lazy(() => ServiceLineUncheckedCreateWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutClaimInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => ServiceLineCreateOrConnectWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineCreateOrConnectWithoutClaimInputObjectSchema).array()]).optional(),
  upsert: z.union([z.lazy(() => ServiceLineUpsertWithWhereUniqueWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineUpsertWithWhereUniqueWithoutClaimInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => ServiceLineCreateManyClaimInputEnvelopeObjectSchema).optional(),
  set: z.union([z.lazy(() => ServiceLineWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineWhereUniqueInputObjectSchema).array()]).optional(),
  disconnect: z.union([z.lazy(() => ServiceLineWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineWhereUniqueInputObjectSchema).array()]).optional(),
  delete: z.union([z.lazy(() => ServiceLineWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineWhereUniqueInputObjectSchema).array()]).optional(),
  connect: z.union([z.lazy(() => ServiceLineWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineWhereUniqueInputObjectSchema).array()]).optional(),
  update: z.union([z.lazy(() => ServiceLineUpdateWithWhereUniqueWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineUpdateWithWhereUniqueWithoutClaimInputObjectSchema).array()]).optional(),
  updateMany: z.union([z.lazy(() => ServiceLineUpdateManyWithWhereWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineUpdateManyWithWhereWithoutClaimInputObjectSchema).array()]).optional(),
  deleteMany: z.union([z.lazy(() => ServiceLineScalarWhereInputObjectSchema), z.lazy(() => ServiceLineScalarWhereInputObjectSchema).array()]).optional()
}).strict();
export const ServiceLineUpdateManyWithoutClaimNestedInputObjectSchema: z.ZodType<Prisma.ServiceLineUpdateManyWithoutClaimNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUpdateManyWithoutClaimNestedInput>;
export const ServiceLineUpdateManyWithoutClaimNestedInputObjectZodSchema = makeSchema();
