import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PaymentWhereInputObjectSchema as PaymentWhereInputObjectSchema } from './PaymentWhereInput.schema'; import { PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema as PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema } from './PaymentUpdateWithoutCommissionBatchItemsInput.schema'; import { PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema as PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema } from './PaymentUncheckedUpdateWithoutCommissionBatchItemsInput.schema' const makeSchema = () => z.object({ where: z.lazy(() => PaymentWhereInputObjectSchema).optional(), data: z.union([z.lazy(() => PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema)]) }).strict(); export const PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema();