import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema'; import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema'; import { BoolWithAggregatesFilterObjectSchema as BoolWithAggregatesFilterObjectSchema } from './BoolWithAggregatesFilter.schema'; import { DateTimeWithAggregatesFilterObjectSchema as DateTimeWithAggregatesFilterObjectSchema } from './DateTimeWithAggregatesFilter.schema' const backupdestinationscalarwherewithaggregatesinputSchema = z.object({ AND: z.union([z.lazy(() => BackupDestinationScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => BackupDestinationScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), OR: z.lazy(() => BackupDestinationScalarWhereWithAggregatesInputObjectSchema).array().optional(), NOT: z.union([z.lazy(() => BackupDestinationScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => BackupDestinationScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), userId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), path: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(), isActive: z.union([z.lazy(() => BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional() }).strict(); export const BackupDestinationScalarWhereWithAggregatesInputObjectSchema: z.ZodType = backupdestinationscalarwherewithaggregatesinputSchema as unknown as z.ZodType; export const BackupDestinationScalarWhereWithAggregatesInputObjectZodSchema = backupdestinationscalarwherewithaggregatesinputSchema;