import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CommissionBatchWhereInputObjectSchema as CommissionBatchWhereInputObjectSchema } from './CommissionBatchWhereInput.schema';
import { CommissionBatchUpdateWithoutItemsInputObjectSchema as CommissionBatchUpdateWithoutItemsInputObjectSchema } from './CommissionBatchUpdateWithoutItemsInput.schema';
import { CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema as CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema } from './CommissionBatchUncheckedUpdateWithoutItemsInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => CommissionBatchWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => CommissionBatchUpdateWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema)])
}).strict();
export const CommissionBatchUpdateToOneWithWhereWithoutItemsInputObjectSchema: z.ZodType<Prisma.CommissionBatchUpdateToOneWithWhereWithoutItemsInput> = makeSchema() as unknown as z.ZodType<Prisma.CommissionBatchUpdateToOneWithWhereWithoutItemsInput>;
export const CommissionBatchUpdateToOneWithWhereWithoutItemsInputObjectZodSchema = makeSchema();
