import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { TwilioSettingsOrderByWithRelationInputObjectSchema as TwilioSettingsOrderByWithRelationInputObjectSchema } from './objects/TwilioSettingsOrderByWithRelationInput.schema';
import { TwilioSettingsWhereInputObjectSchema as TwilioSettingsWhereInputObjectSchema } from './objects/TwilioSettingsWhereInput.schema';
import { TwilioSettingsWhereUniqueInputObjectSchema as TwilioSettingsWhereUniqueInputObjectSchema } from './objects/TwilioSettingsWhereUniqueInput.schema';
import { TwilioSettingsCountAggregateInputObjectSchema as TwilioSettingsCountAggregateInputObjectSchema } from './objects/TwilioSettingsCountAggregateInput.schema';

export const TwilioSettingsCountSchema: z.ZodType<Prisma.TwilioSettingsCountArgs> = z.object({ orderBy: z.union([TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), TwilioSettingsCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.TwilioSettingsCountArgs>;

export const TwilioSettingsCountZodSchema = z.object({ orderBy: z.union([TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), TwilioSettingsCountAggregateInputObjectSchema ]).optional() }).strict();