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

const makeSchema = () => z.object({
  where: z.lazy(() => UserWhereUniqueInputObjectSchema),
  create: z.union([z.lazy(() => UserCreateWithoutBackupDestinationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema)])
}).strict();
export const UserCreateOrConnectWithoutBackupDestinationsInputObjectSchema: z.ZodType<Prisma.UserCreateOrConnectWithoutBackupDestinationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateOrConnectWithoutBackupDestinationsInput>;
export const UserCreateOrConnectWithoutBackupDestinationsInputObjectZodSchema = makeSchema();
