import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema as PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema } from './PaymentUpdateWithoutCommissionBatchItemsInput.schema';
import { PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema as PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema } from './PaymentUncheckedUpdateWithoutCommissionBatchItemsInput.schema';
import { PaymentCreateWithoutCommissionBatchItemsInputObjectSchema as PaymentCreateWithoutCommissionBatchItemsInputObjectSchema } from './PaymentCreateWithoutCommissionBatchItemsInput.schema';
import { PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema as PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema } from './PaymentUncheckedCreateWithoutCommissionBatchItemsInput.schema';
import { PaymentWhereInputObjectSchema as PaymentWhereInputObjectSchema } from './PaymentWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema)]),
  create: z.union([z.lazy(() => PaymentCreateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema)]),
  where: z.lazy(() => PaymentWhereInputObjectSchema).optional()
}).strict();
export const PaymentUpsertWithoutCommissionBatchItemsInputObjectSchema: z.ZodType<Prisma.PaymentUpsertWithoutCommissionBatchItemsInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentUpsertWithoutCommissionBatchItemsInput>;
export const PaymentUpsertWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema();
