import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { InsuranceCredentialWhereInputObjectSchema as InsuranceCredentialWhereInputObjectSchema } from './objects/InsuranceCredentialWhereInput.schema'; import { InsuranceCredentialOrderByWithAggregationInputObjectSchema as InsuranceCredentialOrderByWithAggregationInputObjectSchema } from './objects/InsuranceCredentialOrderByWithAggregationInput.schema'; import { InsuranceCredentialScalarWhereWithAggregatesInputObjectSchema as InsuranceCredentialScalarWhereWithAggregatesInputObjectSchema } from './objects/InsuranceCredentialScalarWhereWithAggregatesInput.schema'; import { InsuranceCredentialScalarFieldEnumSchema } from './enums/InsuranceCredentialScalarFieldEnum.schema'; import { InsuranceCredentialCountAggregateInputObjectSchema as InsuranceCredentialCountAggregateInputObjectSchema } from './objects/InsuranceCredentialCountAggregateInput.schema'; import { InsuranceCredentialMinAggregateInputObjectSchema as InsuranceCredentialMinAggregateInputObjectSchema } from './objects/InsuranceCredentialMinAggregateInput.schema'; import { InsuranceCredentialMaxAggregateInputObjectSchema as InsuranceCredentialMaxAggregateInputObjectSchema } from './objects/InsuranceCredentialMaxAggregateInput.schema'; import { InsuranceCredentialAvgAggregateInputObjectSchema as InsuranceCredentialAvgAggregateInputObjectSchema } from './objects/InsuranceCredentialAvgAggregateInput.schema'; import { InsuranceCredentialSumAggregateInputObjectSchema as InsuranceCredentialSumAggregateInputObjectSchema } from './objects/InsuranceCredentialSumAggregateInput.schema'; export const InsuranceCredentialGroupBySchema: z.ZodType = z.object({ where: InsuranceCredentialWhereInputObjectSchema.optional(), orderBy: z.union([InsuranceCredentialOrderByWithAggregationInputObjectSchema, InsuranceCredentialOrderByWithAggregationInputObjectSchema.array()]).optional(), having: InsuranceCredentialScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(InsuranceCredentialScalarFieldEnumSchema), _count: z.union([ z.literal(true), InsuranceCredentialCountAggregateInputObjectSchema ]).optional(), _min: InsuranceCredentialMinAggregateInputObjectSchema.optional(), _max: InsuranceCredentialMaxAggregateInputObjectSchema.optional(), _avg: InsuranceCredentialAvgAggregateInputObjectSchema.optional(), _sum: InsuranceCredentialSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType; export const InsuranceCredentialGroupByZodSchema = z.object({ where: InsuranceCredentialWhereInputObjectSchema.optional(), orderBy: z.union([InsuranceCredentialOrderByWithAggregationInputObjectSchema, InsuranceCredentialOrderByWithAggregationInputObjectSchema.array()]).optional(), having: InsuranceCredentialScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(InsuranceCredentialScalarFieldEnumSchema), _count: z.union([ z.literal(true), InsuranceCredentialCountAggregateInputObjectSchema ]).optional(), _min: InsuranceCredentialMinAggregateInputObjectSchema.optional(), _max: InsuranceCredentialMaxAggregateInputObjectSchema.optional(), _avg: InsuranceCredentialAvgAggregateInputObjectSchema.optional(), _sum: InsuranceCredentialSumAggregateInputObjectSchema.optional() }).strict();