import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CommissionBatchItemSelectObjectSchema as CommissionBatchItemSelectObjectSchema } from './objects/CommissionBatchItemSelect.schema';
import { CommissionBatchItemIncludeObjectSchema as CommissionBatchItemIncludeObjectSchema } from './objects/CommissionBatchItemInclude.schema';
import { CommissionBatchItemUpdateInputObjectSchema as CommissionBatchItemUpdateInputObjectSchema } from './objects/CommissionBatchItemUpdateInput.schema';
import { CommissionBatchItemUncheckedUpdateInputObjectSchema as CommissionBatchItemUncheckedUpdateInputObjectSchema } from './objects/CommissionBatchItemUncheckedUpdateInput.schema';
import { CommissionBatchItemWhereUniqueInputObjectSchema as CommissionBatchItemWhereUniqueInputObjectSchema } from './objects/CommissionBatchItemWhereUniqueInput.schema';

export const CommissionBatchItemUpdateOneSchema: z.ZodType<Prisma.CommissionBatchItemUpdateArgs> = z.object({ select: CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemIncludeObjectSchema.optional(), data: z.union([CommissionBatchItemUpdateInputObjectSchema, CommissionBatchItemUncheckedUpdateInputObjectSchema]), where: CommissionBatchItemWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemUpdateArgs>;

export const CommissionBatchItemUpdateOneZodSchema = z.object({ select: CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemIncludeObjectSchema.optional(), data: z.union([CommissionBatchItemUpdateInputObjectSchema, CommissionBatchItemUncheckedUpdateInputObjectSchema]), where: CommissionBatchItemWhereUniqueInputObjectSchema }).strict();