import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CommissionBatchCreateWithoutItemsInputObjectSchema as CommissionBatchCreateWithoutItemsInputObjectSchema } from './CommissionBatchCreateWithoutItemsInput.schema';
import { CommissionBatchUncheckedCreateWithoutItemsInputObjectSchema as CommissionBatchUncheckedCreateWithoutItemsInputObjectSchema } from './CommissionBatchUncheckedCreateWithoutItemsInput.schema';
import { CommissionBatchCreateOrConnectWithoutItemsInputObjectSchema as CommissionBatchCreateOrConnectWithoutItemsInputObjectSchema } from './CommissionBatchCreateOrConnectWithoutItemsInput.schema';
import { CommissionBatchUpsertWithoutItemsInputObjectSchema as CommissionBatchUpsertWithoutItemsInputObjectSchema } from './CommissionBatchUpsertWithoutItemsInput.schema';
import { CommissionBatchWhereUniqueInputObjectSchema as CommissionBatchWhereUniqueInputObjectSchema } from './CommissionBatchWhereUniqueInput.schema';
import { CommissionBatchUpdateToOneWithWhereWithoutItemsInputObjectSchema as CommissionBatchUpdateToOneWithWhereWithoutItemsInputObjectSchema } from './CommissionBatchUpdateToOneWithWhereWithoutItemsInput.schema';
import { CommissionBatchUpdateWithoutItemsInputObjectSchema as CommissionBatchUpdateWithoutItemsInputObjectSchema } from './CommissionBatchUpdateWithoutItemsInput.schema';
import { CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema as CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema } from './CommissionBatchUncheckedUpdateWithoutItemsInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CommissionBatchCreateWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutItemsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => CommissionBatchCreateOrConnectWithoutItemsInputObjectSchema).optional(),
  upsert: z.lazy(() => CommissionBatchUpsertWithoutItemsInputObjectSchema).optional(),
  connect: z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => CommissionBatchUpdateToOneWithWhereWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUpdateWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema)]).optional()
}).strict();
export const CommissionBatchUpdateOneRequiredWithoutItemsNestedInputObjectSchema: z.ZodType<Prisma.CommissionBatchUpdateOneRequiredWithoutItemsNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.CommissionBatchUpdateOneRequiredWithoutItemsNestedInput>;
export const CommissionBatchUpdateOneRequiredWithoutItemsNestedInputObjectZodSchema = makeSchema();
