import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { TelnyxSettingsIncludeObjectSchema as TelnyxSettingsIncludeObjectSchema } from './objects/TelnyxSettingsInclude.schema'; import { TelnyxSettingsOrderByWithRelationInputObjectSchema as TelnyxSettingsOrderByWithRelationInputObjectSchema } from './objects/TelnyxSettingsOrderByWithRelationInput.schema'; import { TelnyxSettingsWhereInputObjectSchema as TelnyxSettingsWhereInputObjectSchema } from './objects/TelnyxSettingsWhereInput.schema'; import { TelnyxSettingsWhereUniqueInputObjectSchema as TelnyxSettingsWhereUniqueInputObjectSchema } from './objects/TelnyxSettingsWhereUniqueInput.schema'; import { TelnyxSettingsScalarFieldEnumSchema } from './enums/TelnyxSettingsScalarFieldEnum.schema'; // Select schema needs to be in file to prevent circular imports //------------------------------------------------------ export const TelnyxSettingsFindManySelectSchema: z.ZodType = z.object({ id: z.boolean().optional(), userId: z.boolean().optional(), apiKey: z.boolean().optional(), accountSid: z.boolean().optional(), phoneNumber: z.boolean().optional(), texmlApplicationId: z.boolean().optional(), messagingProfileId: z.boolean().optional(), webhookPublicKey: z.boolean().optional(), greetingMessage: z.boolean().optional(), user: z.boolean().optional() }).strict() as unknown as z.ZodType; export const TelnyxSettingsFindManySelectZodSchema = z.object({ id: z.boolean().optional(), userId: z.boolean().optional(), apiKey: z.boolean().optional(), accountSid: z.boolean().optional(), phoneNumber: z.boolean().optional(), texmlApplicationId: z.boolean().optional(), messagingProfileId: z.boolean().optional(), webhookPublicKey: z.boolean().optional(), greetingMessage: z.boolean().optional(), user: z.boolean().optional() }).strict(); export const TelnyxSettingsFindManySchema: z.ZodType = z.object({ select: TelnyxSettingsFindManySelectSchema.optional(), include: z.lazy(() => TelnyxSettingsIncludeObjectSchema.optional()), orderBy: z.union([TelnyxSettingsOrderByWithRelationInputObjectSchema, TelnyxSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TelnyxSettingsWhereInputObjectSchema.optional(), cursor: TelnyxSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([TelnyxSettingsScalarFieldEnumSchema, TelnyxSettingsScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType; export const TelnyxSettingsFindManyZodSchema = z.object({ select: TelnyxSettingsFindManySelectSchema.optional(), include: z.lazy(() => TelnyxSettingsIncludeObjectSchema.optional()), orderBy: z.union([TelnyxSettingsOrderByWithRelationInputObjectSchema, TelnyxSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TelnyxSettingsWhereInputObjectSchema.optional(), cursor: TelnyxSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([TelnyxSettingsScalarFieldEnumSchema, TelnyxSettingsScalarFieldEnumSchema.array()]).optional() }).strict();