import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CommissionBatchCreateWithoutNpiProviderInputObjectSchema as CommissionBatchCreateWithoutNpiProviderInputObjectSchema } from './CommissionBatchCreateWithoutNpiProviderInput.schema';
import { CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema as CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema } from './CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema';
import { CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema as CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema } from './CommissionBatchCreateOrConnectWithoutNpiProviderInput.schema';
import { CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema as CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema } from './CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput.schema';
import { CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema as CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema } from './CommissionBatchCreateManyNpiProviderInputEnvelope.schema';
import { CommissionBatchWhereUniqueInputObjectSchema as CommissionBatchWhereUniqueInputObjectSchema } from './CommissionBatchWhereUniqueInput.schema';
import { CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema as CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema } from './CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput.schema';
import { CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectSchema as CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectSchema } from './CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput.schema';
import { CommissionBatchScalarWhereInputObjectSchema as CommissionBatchScalarWhereInputObjectSchema } from './CommissionBatchScalarWhereInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CommissionBatchCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(),
  upsert: z.union([z.lazy(() => CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema).optional(),
  set: z.union([z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(),
  disconnect: z.union([z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(),
  delete: z.union([z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(),
  connect: z.union([z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(),
  update: z.union([z.lazy(() => CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema).array()]).optional(),
  updateMany: z.union([z.lazy(() => CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectSchema).array()]).optional(),
  deleteMany: z.union([z.lazy(() => CommissionBatchScalarWhereInputObjectSchema), z.lazy(() => CommissionBatchScalarWhereInputObjectSchema).array()]).optional()
}).strict();
export const CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectSchema: z.ZodType<Prisma.CommissionBatchUpdateManyWithoutNpiProviderNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.CommissionBatchUpdateManyWithoutNpiProviderNestedInput>;
export const CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectZodSchema = makeSchema();
