import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { OfficeContactCreateWithoutUserInputObjectSchema as OfficeContactCreateWithoutUserInputObjectSchema } from './OfficeContactCreateWithoutUserInput.schema'; import { OfficeContactUncheckedCreateWithoutUserInputObjectSchema as OfficeContactUncheckedCreateWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateWithoutUserInput.schema'; import { OfficeContactCreateOrConnectWithoutUserInputObjectSchema as OfficeContactCreateOrConnectWithoutUserInputObjectSchema } from './OfficeContactCreateOrConnectWithoutUserInput.schema'; import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './OfficeContactWhereUniqueInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]).optional(), connectOrCreate: z.lazy(() => OfficeContactCreateOrConnectWithoutUserInputObjectSchema).optional(), connect: z.lazy(() => OfficeContactWhereUniqueInputObjectSchema).optional() }).strict(); export const OfficeContactCreateNestedOneWithoutUserInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const OfficeContactCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema();