import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CommissionBatchItemWhereUniqueInputObjectSchema as CommissionBatchItemWhereUniqueInputObjectSchema } from './CommissionBatchItemWhereUniqueInput.schema';
import { CommissionBatchItemUpdateWithoutPaymentInputObjectSchema as CommissionBatchItemUpdateWithoutPaymentInputObjectSchema } from './CommissionBatchItemUpdateWithoutPaymentInput.schema';
import { CommissionBatchItemUncheckedUpdateWithoutPaymentInputObjectSchema as CommissionBatchItemUncheckedUpdateWithoutPaymentInputObjectSchema } from './CommissionBatchItemUncheckedUpdateWithoutPaymentInput.schema';
import { CommissionBatchItemCreateWithoutPaymentInputObjectSchema as CommissionBatchItemCreateWithoutPaymentInputObjectSchema } from './CommissionBatchItemCreateWithoutPaymentInput.schema';
import { CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema as CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema } from './CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema),
  update: z.union([z.lazy(() => CommissionBatchItemUpdateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedUpdateWithoutPaymentInputObjectSchema)]),
  create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema)])
}).strict();
export const CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInputObjectSchema: z.ZodType<Prisma.CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput>;
export const CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInputObjectZodSchema = makeSchema();
