import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutInsuranceCredentialsInputObjectSchema as UserCreateWithoutInsuranceCredentialsInputObjectSchema } from './UserCreateWithoutInsuranceCredentialsInput.schema';
import { UserUncheckedCreateWithoutInsuranceCredentialsInputObjectSchema as UserUncheckedCreateWithoutInsuranceCredentialsInputObjectSchema } from './UserUncheckedCreateWithoutInsuranceCredentialsInput.schema';
import { UserCreateOrConnectWithoutInsuranceCredentialsInputObjectSchema as UserCreateOrConnectWithoutInsuranceCredentialsInputObjectSchema } from './UserCreateOrConnectWithoutInsuranceCredentialsInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutInsuranceCredentialsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutInsuranceCredentialsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutInsuranceCredentialsInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional()
}).strict();
export const UserCreateNestedOneWithoutInsuranceCredentialsInputObjectSchema: z.ZodType<Prisma.UserCreateNestedOneWithoutInsuranceCredentialsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateNestedOneWithoutInsuranceCredentialsInput>;
export const UserCreateNestedOneWithoutInsuranceCredentialsInputObjectZodSchema = makeSchema();
