import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
import { BoolFieldUpdateOperationsInputObjectSchema as BoolFieldUpdateOperationsInputObjectSchema } from './BoolFieldUpdateOperationsInput.schema';
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
import { UserUpdateOneRequiredWithoutBackupDestinationsNestedInputObjectSchema as UserUpdateOneRequiredWithoutBackupDestinationsNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutBackupDestinationsNestedInput.schema'

const makeSchema = () => z.object({
  path: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
  isActive: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
  createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
  user: z.lazy(() => UserUpdateOneRequiredWithoutBackupDestinationsNestedInputObjectSchema).optional()
}).strict();
export const BackupDestinationUpdateInputObjectSchema: z.ZodType<Prisma.BackupDestinationUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.BackupDestinationUpdateInput>;
export const BackupDestinationUpdateInputObjectZodSchema = makeSchema();
