import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { LabRxTemplateCreateWithoutUserInputObjectSchema as LabRxTemplateCreateWithoutUserInputObjectSchema } from './LabRxTemplateCreateWithoutUserInput.schema';
import { LabRxTemplateUncheckedCreateWithoutUserInputObjectSchema as LabRxTemplateUncheckedCreateWithoutUserInputObjectSchema } from './LabRxTemplateUncheckedCreateWithoutUserInput.schema';
import { LabRxTemplateCreateOrConnectWithoutUserInputObjectSchema as LabRxTemplateCreateOrConnectWithoutUserInputObjectSchema } from './LabRxTemplateCreateOrConnectWithoutUserInput.schema';
import { LabRxTemplateCreateManyUserInputEnvelopeObjectSchema as LabRxTemplateCreateManyUserInputEnvelopeObjectSchema } from './LabRxTemplateCreateManyUserInputEnvelope.schema';
import { LabRxTemplateWhereUniqueInputObjectSchema as LabRxTemplateWhereUniqueInputObjectSchema } from './LabRxTemplateWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => LabRxTemplateCreateWithoutUserInputObjectSchema), z.lazy(() => LabRxTemplateCreateWithoutUserInputObjectSchema).array(), z.lazy(() => LabRxTemplateUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => LabRxTemplateUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => LabRxTemplateCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => LabRxTemplateCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => LabRxTemplateCreateManyUserInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => LabRxTemplateWhereUniqueInputObjectSchema), z.lazy(() => LabRxTemplateWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const LabRxTemplateUncheckedCreateNestedManyWithoutUserInputObjectSchema: z.ZodType<Prisma.LabRxTemplateUncheckedCreateNestedManyWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.LabRxTemplateUncheckedCreateNestedManyWithoutUserInput>;
export const LabRxTemplateUncheckedCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema();
