import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { TelnyxSettingsWhereInputObjectSchema as TelnyxSettingsWhereInputObjectSchema } from './objects/TelnyxSettingsWhereInput.schema'; import { TelnyxSettingsOrderByWithAggregationInputObjectSchema as TelnyxSettingsOrderByWithAggregationInputObjectSchema } from './objects/TelnyxSettingsOrderByWithAggregationInput.schema'; import { TelnyxSettingsScalarWhereWithAggregatesInputObjectSchema as TelnyxSettingsScalarWhereWithAggregatesInputObjectSchema } from './objects/TelnyxSettingsScalarWhereWithAggregatesInput.schema'; import { TelnyxSettingsScalarFieldEnumSchema } from './enums/TelnyxSettingsScalarFieldEnum.schema'; import { TelnyxSettingsCountAggregateInputObjectSchema as TelnyxSettingsCountAggregateInputObjectSchema } from './objects/TelnyxSettingsCountAggregateInput.schema'; import { TelnyxSettingsMinAggregateInputObjectSchema as TelnyxSettingsMinAggregateInputObjectSchema } from './objects/TelnyxSettingsMinAggregateInput.schema'; import { TelnyxSettingsMaxAggregateInputObjectSchema as TelnyxSettingsMaxAggregateInputObjectSchema } from './objects/TelnyxSettingsMaxAggregateInput.schema'; import { TelnyxSettingsAvgAggregateInputObjectSchema as TelnyxSettingsAvgAggregateInputObjectSchema } from './objects/TelnyxSettingsAvgAggregateInput.schema'; import { TelnyxSettingsSumAggregateInputObjectSchema as TelnyxSettingsSumAggregateInputObjectSchema } from './objects/TelnyxSettingsSumAggregateInput.schema'; export const TelnyxSettingsGroupBySchema: z.ZodType = z.object({ where: TelnyxSettingsWhereInputObjectSchema.optional(), orderBy: z.union([TelnyxSettingsOrderByWithAggregationInputObjectSchema, TelnyxSettingsOrderByWithAggregationInputObjectSchema.array()]).optional(), having: TelnyxSettingsScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(TelnyxSettingsScalarFieldEnumSchema), _count: z.union([ z.literal(true), TelnyxSettingsCountAggregateInputObjectSchema ]).optional(), _min: TelnyxSettingsMinAggregateInputObjectSchema.optional(), _max: TelnyxSettingsMaxAggregateInputObjectSchema.optional(), _avg: TelnyxSettingsAvgAggregateInputObjectSchema.optional(), _sum: TelnyxSettingsSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType; export const TelnyxSettingsGroupByZodSchema = z.object({ where: TelnyxSettingsWhereInputObjectSchema.optional(), orderBy: z.union([TelnyxSettingsOrderByWithAggregationInputObjectSchema, TelnyxSettingsOrderByWithAggregationInputObjectSchema.array()]).optional(), having: TelnyxSettingsScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(TelnyxSettingsScalarFieldEnumSchema), _count: z.union([ z.literal(true), TelnyxSettingsCountAggregateInputObjectSchema ]).optional(), _min: TelnyxSettingsMinAggregateInputObjectSchema.optional(), _max: TelnyxSettingsMaxAggregateInputObjectSchema.optional(), _avg: TelnyxSettingsAvgAggregateInputObjectSchema.optional(), _sum: TelnyxSettingsSumAggregateInputObjectSchema.optional() }).strict();