import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PaymentCreateWithoutCommissionBatchItemsInputObjectSchema as PaymentCreateWithoutCommissionBatchItemsInputObjectSchema } from './PaymentCreateWithoutCommissionBatchItemsInput.schema';
import { PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema as PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema } from './PaymentUncheckedCreateWithoutCommissionBatchItemsInput.schema';
import { PaymentCreateOrConnectWithoutCommissionBatchItemsInputObjectSchema as PaymentCreateOrConnectWithoutCommissionBatchItemsInputObjectSchema } from './PaymentCreateOrConnectWithoutCommissionBatchItemsInput.schema';
import { PaymentWhereUniqueInputObjectSchema as PaymentWhereUniqueInputObjectSchema } from './PaymentWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => PaymentCreateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => PaymentCreateOrConnectWithoutCommissionBatchItemsInputObjectSchema).optional(),
  connect: z.lazy(() => PaymentWhereUniqueInputObjectSchema).optional()
}).strict();
export const PaymentCreateNestedOneWithoutCommissionBatchItemsInputObjectSchema: z.ZodType<Prisma.PaymentCreateNestedOneWithoutCommissionBatchItemsInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentCreateNestedOneWithoutCommissionBatchItemsInput>;
export const PaymentCreateNestedOneWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema();
