import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutBackupDestinationsInputObjectSchema as UserCreateWithoutBackupDestinationsInputObjectSchema } from './UserCreateWithoutBackupDestinationsInput.schema';
import { UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema as UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema } from './UserUncheckedCreateWithoutBackupDestinationsInput.schema';
import { UserCreateOrConnectWithoutBackupDestinationsInputObjectSchema as UserCreateOrConnectWithoutBackupDestinationsInputObjectSchema } from './UserCreateOrConnectWithoutBackupDestinationsInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutBackupDestinationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutBackupDestinationsInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional()
}).strict();
export const UserCreateNestedOneWithoutBackupDestinationsInputObjectSchema: z.ZodType<Prisma.UserCreateNestedOneWithoutBackupDestinationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateNestedOneWithoutBackupDestinationsInput>;
export const UserCreateNestedOneWithoutBackupDestinationsInputObjectZodSchema = makeSchema();
