import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CommissionBatchSelectObjectSchema as CommissionBatchSelectObjectSchema } from './objects/CommissionBatchSelect.schema';
import { CommissionBatchIncludeObjectSchema as CommissionBatchIncludeObjectSchema } from './objects/CommissionBatchInclude.schema';
import { CommissionBatchUpdateInputObjectSchema as CommissionBatchUpdateInputObjectSchema } from './objects/CommissionBatchUpdateInput.schema';
import { CommissionBatchUncheckedUpdateInputObjectSchema as CommissionBatchUncheckedUpdateInputObjectSchema } from './objects/CommissionBatchUncheckedUpdateInput.schema';
import { CommissionBatchWhereUniqueInputObjectSchema as CommissionBatchWhereUniqueInputObjectSchema } from './objects/CommissionBatchWhereUniqueInput.schema';

export const CommissionBatchUpdateOneSchema: z.ZodType<Prisma.CommissionBatchUpdateArgs> = z.object({ select: CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchIncludeObjectSchema.optional(), data: z.union([CommissionBatchUpdateInputObjectSchema, CommissionBatchUncheckedUpdateInputObjectSchema]), where: CommissionBatchWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.CommissionBatchUpdateArgs>;

export const CommissionBatchUpdateOneZodSchema = z.object({ select: CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchIncludeObjectSchema.optional(), data: z.union([CommissionBatchUpdateInputObjectSchema, CommissionBatchUncheckedUpdateInputObjectSchema]), where: CommissionBatchWhereUniqueInputObjectSchema }).strict();