import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { ProcedureTimeslotIncludeObjectSchema as ProcedureTimeslotIncludeObjectSchema } from './objects/ProcedureTimeslotInclude.schema';
import { ProcedureTimeslotOrderByWithRelationInputObjectSchema as ProcedureTimeslotOrderByWithRelationInputObjectSchema } from './objects/ProcedureTimeslotOrderByWithRelationInput.schema';
import { ProcedureTimeslotWhereInputObjectSchema as ProcedureTimeslotWhereInputObjectSchema } from './objects/ProcedureTimeslotWhereInput.schema';
import { ProcedureTimeslotWhereUniqueInputObjectSchema as ProcedureTimeslotWhereUniqueInputObjectSchema } from './objects/ProcedureTimeslotWhereUniqueInput.schema';
import { ProcedureTimeslotScalarFieldEnumSchema } from './enums/ProcedureTimeslotScalarFieldEnum.schema';

// Select schema needs to be in file to prevent circular imports
//------------------------------------------------------

export const ProcedureTimeslotFindFirstSelectSchema: z.ZodType<Prisma.ProcedureTimeslotSelect> = z.object({
    id: z.boolean().optional(),
    userId: z.boolean().optional(),
    data: z.boolean().optional(),
    user: z.boolean().optional()
  }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotSelect>;

export const ProcedureTimeslotFindFirstSelectZodSchema = z.object({
    id: z.boolean().optional(),
    userId: z.boolean().optional(),
    data: z.boolean().optional(),
    user: z.boolean().optional()
  }).strict();

export const ProcedureTimeslotFindFirstSchema: z.ZodType<Prisma.ProcedureTimeslotFindFirstArgs> = z.object({ select: ProcedureTimeslotFindFirstSelectSchema.optional(), include: z.lazy(() => ProcedureTimeslotIncludeObjectSchema.optional()), orderBy: z.union([ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ProcedureTimeslotScalarFieldEnumSchema, ProcedureTimeslotScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotFindFirstArgs>;

export const ProcedureTimeslotFindFirstZodSchema = z.object({ select: ProcedureTimeslotFindFirstSelectSchema.optional(), include: z.lazy(() => ProcedureTimeslotIncludeObjectSchema.optional()), orderBy: z.union([ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ProcedureTimeslotScalarFieldEnumSchema, ProcedureTimeslotScalarFieldEnumSchema.array()]).optional() }).strict();