import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { AiSettingsOrderByWithRelationInputObjectSchema as AiSettingsOrderByWithRelationInputObjectSchema } from './objects/AiSettingsOrderByWithRelationInput.schema'; import { AiSettingsWhereInputObjectSchema as AiSettingsWhereInputObjectSchema } from './objects/AiSettingsWhereInput.schema'; import { AiSettingsWhereUniqueInputObjectSchema as AiSettingsWhereUniqueInputObjectSchema } from './objects/AiSettingsWhereUniqueInput.schema'; import { AiSettingsCountAggregateInputObjectSchema as AiSettingsCountAggregateInputObjectSchema } from './objects/AiSettingsCountAggregateInput.schema'; export const AiSettingsCountSchema: z.ZodType = z.object({ orderBy: z.union([AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), AiSettingsCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType; export const AiSettingsCountZodSchema = z.object({ orderBy: z.union([AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), AiSettingsCountAggregateInputObjectSchema ]).optional() }).strict();