import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema as CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema } from './CommissionBatchItemCreateWithoutCommissionBatchInput.schema';
import { CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema as CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema } from './CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema';
import { CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema as CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema } from './CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput.schema';
import { CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectSchema as CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectSchema } from './CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput.schema';
import { CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema as CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema } from './CommissionBatchItemCreateManyCommissionBatchInputEnvelope.schema';
import { CommissionBatchItemWhereUniqueInputObjectSchema as CommissionBatchItemWhereUniqueInputObjectSchema } from './CommissionBatchItemWhereUniqueInput.schema';
import { CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectSchema as CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectSchema } from './CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput.schema';
import { CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectSchema as CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectSchema } from './CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput.schema';
import { CommissionBatchItemScalarWhereInputObjectSchema as CommissionBatchItemScalarWhereInputObjectSchema } from './CommissionBatchItemScalarWhereInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema).array()]).optional(),
  upsert: z.union([z.lazy(() => CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema).optional(),
  set: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(),
  disconnect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(),
  delete: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(),
  connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(),
  update: z.union([z.lazy(() => CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectSchema).array()]).optional(),
  updateMany: z.union([z.lazy(() => CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectSchema).array()]).optional(),
  deleteMany: z.union([z.lazy(() => CommissionBatchItemScalarWhereInputObjectSchema), z.lazy(() => CommissionBatchItemScalarWhereInputObjectSchema).array()]).optional()
}).strict();
export const CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInputObjectSchema: z.ZodType<Prisma.CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput>;
export const CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInputObjectZodSchema = makeSchema();
