import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { DatabaseBackupOrderByWithRelationInputObjectSchema as DatabaseBackupOrderByWithRelationInputObjectSchema } from './objects/DatabaseBackupOrderByWithRelationInput.schema';
import { DatabaseBackupWhereInputObjectSchema as DatabaseBackupWhereInputObjectSchema } from './objects/DatabaseBackupWhereInput.schema';
import { DatabaseBackupWhereUniqueInputObjectSchema as DatabaseBackupWhereUniqueInputObjectSchema } from './objects/DatabaseBackupWhereUniqueInput.schema';
import { DatabaseBackupCountAggregateInputObjectSchema as DatabaseBackupCountAggregateInputObjectSchema } from './objects/DatabaseBackupCountAggregateInput.schema';

export const DatabaseBackupCountSchema: z.ZodType<Prisma.DatabaseBackupCountArgs> = z.object({ orderBy: z.union([DatabaseBackupOrderByWithRelationInputObjectSchema, DatabaseBackupOrderByWithRelationInputObjectSchema.array()]).optional(), where: DatabaseBackupWhereInputObjectSchema.optional(), cursor: DatabaseBackupWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), DatabaseBackupCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.DatabaseBackupCountArgs>;

export const DatabaseBackupCountZodSchema = z.object({ orderBy: z.union([DatabaseBackupOrderByWithRelationInputObjectSchema, DatabaseBackupOrderByWithRelationInputObjectSchema.array()]).optional(), where: DatabaseBackupWhereInputObjectSchema.optional(), cursor: DatabaseBackupWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), DatabaseBackupCountAggregateInputObjectSchema ]).optional() }).strict();