import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ClaimFileCreateWithoutClaimInputObjectSchema as ClaimFileCreateWithoutClaimInputObjectSchema } from './ClaimFileCreateWithoutClaimInput.schema';
import { ClaimFileUncheckedCreateWithoutClaimInputObjectSchema as ClaimFileUncheckedCreateWithoutClaimInputObjectSchema } from './ClaimFileUncheckedCreateWithoutClaimInput.schema';
import { ClaimFileCreateOrConnectWithoutClaimInputObjectSchema as ClaimFileCreateOrConnectWithoutClaimInputObjectSchema } from './ClaimFileCreateOrConnectWithoutClaimInput.schema';
import { ClaimFileUpsertWithWhereUniqueWithoutClaimInputObjectSchema as ClaimFileUpsertWithWhereUniqueWithoutClaimInputObjectSchema } from './ClaimFileUpsertWithWhereUniqueWithoutClaimInput.schema';
import { ClaimFileCreateManyClaimInputEnvelopeObjectSchema as ClaimFileCreateManyClaimInputEnvelopeObjectSchema } from './ClaimFileCreateManyClaimInputEnvelope.schema';
import { ClaimFileWhereUniqueInputObjectSchema as ClaimFileWhereUniqueInputObjectSchema } from './ClaimFileWhereUniqueInput.schema';
import { ClaimFileUpdateWithWhereUniqueWithoutClaimInputObjectSchema as ClaimFileUpdateWithWhereUniqueWithoutClaimInputObjectSchema } from './ClaimFileUpdateWithWhereUniqueWithoutClaimInput.schema';
import { ClaimFileUpdateManyWithWhereWithoutClaimInputObjectSchema as ClaimFileUpdateManyWithWhereWithoutClaimInputObjectSchema } from './ClaimFileUpdateManyWithWhereWithoutClaimInput.schema';
import { ClaimFileScalarWhereInputObjectSchema as ClaimFileScalarWhereInputObjectSchema } from './ClaimFileScalarWhereInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => ClaimFileCreateWithoutClaimInputObjectSchema), z.lazy(() => ClaimFileCreateWithoutClaimInputObjectSchema).array(), z.lazy(() => ClaimFileUncheckedCreateWithoutClaimInputObjectSchema), z.lazy(() => ClaimFileUncheckedCreateWithoutClaimInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => ClaimFileCreateOrConnectWithoutClaimInputObjectSchema), z.lazy(() => ClaimFileCreateOrConnectWithoutClaimInputObjectSchema).array()]).optional(),
  upsert: z.union([z.lazy(() => ClaimFileUpsertWithWhereUniqueWithoutClaimInputObjectSchema), z.lazy(() => ClaimFileUpsertWithWhereUniqueWithoutClaimInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => ClaimFileCreateManyClaimInputEnvelopeObjectSchema).optional(),
  set: z.union([z.lazy(() => ClaimFileWhereUniqueInputObjectSchema), z.lazy(() => ClaimFileWhereUniqueInputObjectSchema).array()]).optional(),
  disconnect: z.union([z.lazy(() => ClaimFileWhereUniqueInputObjectSchema), z.lazy(() => ClaimFileWhereUniqueInputObjectSchema).array()]).optional(),
  delete: z.union([z.lazy(() => ClaimFileWhereUniqueInputObjectSchema), z.lazy(() => ClaimFileWhereUniqueInputObjectSchema).array()]).optional(),
  connect: z.union([z.lazy(() => ClaimFileWhereUniqueInputObjectSchema), z.lazy(() => ClaimFileWhereUniqueInputObjectSchema).array()]).optional(),
  update: z.union([z.lazy(() => ClaimFileUpdateWithWhereUniqueWithoutClaimInputObjectSchema), z.lazy(() => ClaimFileUpdateWithWhereUniqueWithoutClaimInputObjectSchema).array()]).optional(),
  updateMany: z.union([z.lazy(() => ClaimFileUpdateManyWithWhereWithoutClaimInputObjectSchema), z.lazy(() => ClaimFileUpdateManyWithWhereWithoutClaimInputObjectSchema).array()]).optional(),
  deleteMany: z.union([z.lazy(() => ClaimFileScalarWhereInputObjectSchema), z.lazy(() => ClaimFileScalarWhereInputObjectSchema).array()]).optional()
}).strict();
export const ClaimFileUncheckedUpdateManyWithoutClaimNestedInputObjectSchema: z.ZodType<Prisma.ClaimFileUncheckedUpdateManyWithoutClaimNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimFileUncheckedUpdateManyWithoutClaimNestedInput>;
export const ClaimFileUncheckedUpdateManyWithoutClaimNestedInputObjectZodSchema = makeSchema();
