import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { DatabaseBackupCreateWithoutUserInputObjectSchema as DatabaseBackupCreateWithoutUserInputObjectSchema } from './DatabaseBackupCreateWithoutUserInput.schema';
import { DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema as DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema } from './DatabaseBackupUncheckedCreateWithoutUserInput.schema';
import { DatabaseBackupCreateOrConnectWithoutUserInputObjectSchema as DatabaseBackupCreateOrConnectWithoutUserInputObjectSchema } from './DatabaseBackupCreateOrConnectWithoutUserInput.schema';
import { DatabaseBackupUpsertWithWhereUniqueWithoutUserInputObjectSchema as DatabaseBackupUpsertWithWhereUniqueWithoutUserInputObjectSchema } from './DatabaseBackupUpsertWithWhereUniqueWithoutUserInput.schema';
import { DatabaseBackupCreateManyUserInputEnvelopeObjectSchema as DatabaseBackupCreateManyUserInputEnvelopeObjectSchema } from './DatabaseBackupCreateManyUserInputEnvelope.schema';
import { DatabaseBackupWhereUniqueInputObjectSchema as DatabaseBackupWhereUniqueInputObjectSchema } from './DatabaseBackupWhereUniqueInput.schema';
import { DatabaseBackupUpdateWithWhereUniqueWithoutUserInputObjectSchema as DatabaseBackupUpdateWithWhereUniqueWithoutUserInputObjectSchema } from './DatabaseBackupUpdateWithWhereUniqueWithoutUserInput.schema';
import { DatabaseBackupUpdateManyWithWhereWithoutUserInputObjectSchema as DatabaseBackupUpdateManyWithWhereWithoutUserInputObjectSchema } from './DatabaseBackupUpdateManyWithWhereWithoutUserInput.schema';
import { DatabaseBackupScalarWhereInputObjectSchema as DatabaseBackupScalarWhereInputObjectSchema } from './DatabaseBackupScalarWhereInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => DatabaseBackupCreateWithoutUserInputObjectSchema), z.lazy(() => DatabaseBackupCreateWithoutUserInputObjectSchema).array(), z.lazy(() => DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => DatabaseBackupCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => DatabaseBackupCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
  upsert: z.union([z.lazy(() => DatabaseBackupUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => DatabaseBackupUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => DatabaseBackupCreateManyUserInputEnvelopeObjectSchema).optional(),
  set: z.union([z.lazy(() => DatabaseBackupWhereUniqueInputObjectSchema), z.lazy(() => DatabaseBackupWhereUniqueInputObjectSchema).array()]).optional(),
  disconnect: z.union([z.lazy(() => DatabaseBackupWhereUniqueInputObjectSchema), z.lazy(() => DatabaseBackupWhereUniqueInputObjectSchema).array()]).optional(),
  delete: z.union([z.lazy(() => DatabaseBackupWhereUniqueInputObjectSchema), z.lazy(() => DatabaseBackupWhereUniqueInputObjectSchema).array()]).optional(),
  connect: z.union([z.lazy(() => DatabaseBackupWhereUniqueInputObjectSchema), z.lazy(() => DatabaseBackupWhereUniqueInputObjectSchema).array()]).optional(),
  update: z.union([z.lazy(() => DatabaseBackupUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => DatabaseBackupUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
  updateMany: z.union([z.lazy(() => DatabaseBackupUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => DatabaseBackupUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(),
  deleteMany: z.union([z.lazy(() => DatabaseBackupScalarWhereInputObjectSchema), z.lazy(() => DatabaseBackupScalarWhereInputObjectSchema).array()]).optional()
}).strict();
export const DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema: z.ZodType<Prisma.DatabaseBackupUpdateManyWithoutUserNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.DatabaseBackupUpdateManyWithoutUserNestedInput>;
export const DatabaseBackupUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema();
