
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `AdmissionSubmission` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums"
import type * as Prisma from "../internal/prismaNamespace"

/**
 * Model AdmissionSubmission
 * 
 */
export type AdmissionSubmissionModel = runtime.Types.Result.DefaultSelection<Prisma.$AdmissionSubmissionPayload>

export type AggregateAdmissionSubmission = {
  _count: AdmissionSubmissionCountAggregateOutputType | null
  _min: AdmissionSubmissionMinAggregateOutputType | null
  _max: AdmissionSubmissionMaxAggregateOutputType | null
}

export type AdmissionSubmissionMinAggregateOutputType = {
  id: string | null
  studentFirstName: string | null
  studentLastName: string | null
  studentDob: string | null
  studentGender: string | null
  currentSchool: string | null
  gradeLevel: string | null
  program: string | null
  startDate: string | null
  parentName: string | null
  relationship: string | null
  email: string | null
  phone: string | null
  notes: string | null
  consent: boolean | null
  status: string | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type AdmissionSubmissionMaxAggregateOutputType = {
  id: string | null
  studentFirstName: string | null
  studentLastName: string | null
  studentDob: string | null
  studentGender: string | null
  currentSchool: string | null
  gradeLevel: string | null
  program: string | null
  startDate: string | null
  parentName: string | null
  relationship: string | null
  email: string | null
  phone: string | null
  notes: string | null
  consent: boolean | null
  status: string | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type AdmissionSubmissionCountAggregateOutputType = {
  id: number
  studentFirstName: number
  studentLastName: number
  studentDob: number
  studentGender: number
  currentSchool: number
  gradeLevel: number
  program: number
  startDate: number
  parentName: number
  relationship: number
  email: number
  phone: number
  notes: number
  consent: number
  status: number
  createdAt: number
  updatedAt: number
  _all: number
}


export type AdmissionSubmissionMinAggregateInputType = {
  id?: true
  studentFirstName?: true
  studentLastName?: true
  studentDob?: true
  studentGender?: true
  currentSchool?: true
  gradeLevel?: true
  program?: true
  startDate?: true
  parentName?: true
  relationship?: true
  email?: true
  phone?: true
  notes?: true
  consent?: true
  status?: true
  createdAt?: true
  updatedAt?: true
}

export type AdmissionSubmissionMaxAggregateInputType = {
  id?: true
  studentFirstName?: true
  studentLastName?: true
  studentDob?: true
  studentGender?: true
  currentSchool?: true
  gradeLevel?: true
  program?: true
  startDate?: true
  parentName?: true
  relationship?: true
  email?: true
  phone?: true
  notes?: true
  consent?: true
  status?: true
  createdAt?: true
  updatedAt?: true
}

export type AdmissionSubmissionCountAggregateInputType = {
  id?: true
  studentFirstName?: true
  studentLastName?: true
  studentDob?: true
  studentGender?: true
  currentSchool?: true
  gradeLevel?: true
  program?: true
  startDate?: true
  parentName?: true
  relationship?: true
  email?: true
  phone?: true
  notes?: true
  consent?: true
  status?: true
  createdAt?: true
  updatedAt?: true
  _all?: true
}

export type AdmissionSubmissionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which AdmissionSubmission to aggregate.
   */
  where?: Prisma.AdmissionSubmissionWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AdmissionSubmissions to fetch.
   */
  orderBy?: Prisma.AdmissionSubmissionOrderByWithRelationInput | Prisma.AdmissionSubmissionOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.AdmissionSubmissionWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AdmissionSubmissions from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` AdmissionSubmissions.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned AdmissionSubmissions
  **/
  _count?: true | AdmissionSubmissionCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: AdmissionSubmissionMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: AdmissionSubmissionMaxAggregateInputType
}

export type GetAdmissionSubmissionAggregateType<T extends AdmissionSubmissionAggregateArgs> = {
      [P in keyof T & keyof AggregateAdmissionSubmission]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateAdmissionSubmission[P]>
    : Prisma.GetScalarType<T[P], AggregateAdmissionSubmission[P]>
}




export type AdmissionSubmissionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.AdmissionSubmissionWhereInput
  orderBy?: Prisma.AdmissionSubmissionOrderByWithAggregationInput | Prisma.AdmissionSubmissionOrderByWithAggregationInput[]
  by: Prisma.AdmissionSubmissionScalarFieldEnum[] | Prisma.AdmissionSubmissionScalarFieldEnum
  having?: Prisma.AdmissionSubmissionScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: AdmissionSubmissionCountAggregateInputType | true
  _min?: AdmissionSubmissionMinAggregateInputType
  _max?: AdmissionSubmissionMaxAggregateInputType
}

export type AdmissionSubmissionGroupByOutputType = {
  id: string
  studentFirstName: string
  studentLastName: string
  studentDob: string
  studentGender: string
  currentSchool: string
  gradeLevel: string
  program: string
  startDate: string
  parentName: string
  relationship: string
  email: string
  phone: string
  notes: string
  consent: boolean
  status: string
  createdAt: Date
  updatedAt: Date
  _count: AdmissionSubmissionCountAggregateOutputType | null
  _min: AdmissionSubmissionMinAggregateOutputType | null
  _max: AdmissionSubmissionMaxAggregateOutputType | null
}

export type GetAdmissionSubmissionGroupByPayload<T extends AdmissionSubmissionGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<AdmissionSubmissionGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof AdmissionSubmissionGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], AdmissionSubmissionGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], AdmissionSubmissionGroupByOutputType[P]>
      }
    >
  >



export type AdmissionSubmissionWhereInput = {
  AND?: Prisma.AdmissionSubmissionWhereInput | Prisma.AdmissionSubmissionWhereInput[]
  OR?: Prisma.AdmissionSubmissionWhereInput[]
  NOT?: Prisma.AdmissionSubmissionWhereInput | Prisma.AdmissionSubmissionWhereInput[]
  id?: Prisma.StringFilter<"AdmissionSubmission"> | string
  studentFirstName?: Prisma.StringFilter<"AdmissionSubmission"> | string
  studentLastName?: Prisma.StringFilter<"AdmissionSubmission"> | string
  studentDob?: Prisma.StringFilter<"AdmissionSubmission"> | string
  studentGender?: Prisma.StringFilter<"AdmissionSubmission"> | string
  currentSchool?: Prisma.StringFilter<"AdmissionSubmission"> | string
  gradeLevel?: Prisma.StringFilter<"AdmissionSubmission"> | string
  program?: Prisma.StringFilter<"AdmissionSubmission"> | string
  startDate?: Prisma.StringFilter<"AdmissionSubmission"> | string
  parentName?: Prisma.StringFilter<"AdmissionSubmission"> | string
  relationship?: Prisma.StringFilter<"AdmissionSubmission"> | string
  email?: Prisma.StringFilter<"AdmissionSubmission"> | string
  phone?: Prisma.StringFilter<"AdmissionSubmission"> | string
  notes?: Prisma.StringFilter<"AdmissionSubmission"> | string
  consent?: Prisma.BoolFilter<"AdmissionSubmission"> | boolean
  status?: Prisma.StringFilter<"AdmissionSubmission"> | string
  createdAt?: Prisma.DateTimeFilter<"AdmissionSubmission"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"AdmissionSubmission"> | Date | string
}

export type AdmissionSubmissionOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  studentFirstName?: Prisma.SortOrder
  studentLastName?: Prisma.SortOrder
  studentDob?: Prisma.SortOrder
  studentGender?: Prisma.SortOrder
  currentSchool?: Prisma.SortOrder
  gradeLevel?: Prisma.SortOrder
  program?: Prisma.SortOrder
  startDate?: Prisma.SortOrder
  parentName?: Prisma.SortOrder
  relationship?: Prisma.SortOrder
  email?: Prisma.SortOrder
  phone?: Prisma.SortOrder
  notes?: Prisma.SortOrder
  consent?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type AdmissionSubmissionWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.AdmissionSubmissionWhereInput | Prisma.AdmissionSubmissionWhereInput[]
  OR?: Prisma.AdmissionSubmissionWhereInput[]
  NOT?: Prisma.AdmissionSubmissionWhereInput | Prisma.AdmissionSubmissionWhereInput[]
  studentFirstName?: Prisma.StringFilter<"AdmissionSubmission"> | string
  studentLastName?: Prisma.StringFilter<"AdmissionSubmission"> | string
  studentDob?: Prisma.StringFilter<"AdmissionSubmission"> | string
  studentGender?: Prisma.StringFilter<"AdmissionSubmission"> | string
  currentSchool?: Prisma.StringFilter<"AdmissionSubmission"> | string
  gradeLevel?: Prisma.StringFilter<"AdmissionSubmission"> | string
  program?: Prisma.StringFilter<"AdmissionSubmission"> | string
  startDate?: Prisma.StringFilter<"AdmissionSubmission"> | string
  parentName?: Prisma.StringFilter<"AdmissionSubmission"> | string
  relationship?: Prisma.StringFilter<"AdmissionSubmission"> | string
  email?: Prisma.StringFilter<"AdmissionSubmission"> | string
  phone?: Prisma.StringFilter<"AdmissionSubmission"> | string
  notes?: Prisma.StringFilter<"AdmissionSubmission"> | string
  consent?: Prisma.BoolFilter<"AdmissionSubmission"> | boolean
  status?: Prisma.StringFilter<"AdmissionSubmission"> | string
  createdAt?: Prisma.DateTimeFilter<"AdmissionSubmission"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"AdmissionSubmission"> | Date | string
}, "id">

export type AdmissionSubmissionOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  studentFirstName?: Prisma.SortOrder
  studentLastName?: Prisma.SortOrder
  studentDob?: Prisma.SortOrder
  studentGender?: Prisma.SortOrder
  currentSchool?: Prisma.SortOrder
  gradeLevel?: Prisma.SortOrder
  program?: Prisma.SortOrder
  startDate?: Prisma.SortOrder
  parentName?: Prisma.SortOrder
  relationship?: Prisma.SortOrder
  email?: Prisma.SortOrder
  phone?: Prisma.SortOrder
  notes?: Prisma.SortOrder
  consent?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  _count?: Prisma.AdmissionSubmissionCountOrderByAggregateInput
  _max?: Prisma.AdmissionSubmissionMaxOrderByAggregateInput
  _min?: Prisma.AdmissionSubmissionMinOrderByAggregateInput
}

export type AdmissionSubmissionScalarWhereWithAggregatesInput = {
  AND?: Prisma.AdmissionSubmissionScalarWhereWithAggregatesInput | Prisma.AdmissionSubmissionScalarWhereWithAggregatesInput[]
  OR?: Prisma.AdmissionSubmissionScalarWhereWithAggregatesInput[]
  NOT?: Prisma.AdmissionSubmissionScalarWhereWithAggregatesInput | Prisma.AdmissionSubmissionScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  studentFirstName?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  studentLastName?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  studentDob?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  studentGender?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  currentSchool?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  gradeLevel?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  program?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  startDate?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  parentName?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  relationship?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  email?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  phone?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  notes?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  consent?: Prisma.BoolWithAggregatesFilter<"AdmissionSubmission"> | boolean
  status?: Prisma.StringWithAggregatesFilter<"AdmissionSubmission"> | string
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdmissionSubmission"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdmissionSubmission"> | Date | string
}

export type AdmissionSubmissionCreateInput = {
  id?: string
  studentFirstName: string
  studentLastName: string
  studentDob: string
  studentGender?: string
  currentSchool?: string
  gradeLevel: string
  program: string
  startDate: string
  parentName: string
  relationship: string
  email: string
  phone: string
  notes?: string
  consent?: boolean
  status?: string
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type AdmissionSubmissionUncheckedCreateInput = {
  id?: string
  studentFirstName: string
  studentLastName: string
  studentDob: string
  studentGender?: string
  currentSchool?: string
  gradeLevel: string
  program: string
  startDate: string
  parentName: string
  relationship: string
  email: string
  phone: string
  notes?: string
  consent?: boolean
  status?: string
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type AdmissionSubmissionUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  studentFirstName?: Prisma.StringFieldUpdateOperationsInput | string
  studentLastName?: Prisma.StringFieldUpdateOperationsInput | string
  studentDob?: Prisma.StringFieldUpdateOperationsInput | string
  studentGender?: Prisma.StringFieldUpdateOperationsInput | string
  currentSchool?: Prisma.StringFieldUpdateOperationsInput | string
  gradeLevel?: Prisma.StringFieldUpdateOperationsInput | string
  program?: Prisma.StringFieldUpdateOperationsInput | string
  startDate?: Prisma.StringFieldUpdateOperationsInput | string
  parentName?: Prisma.StringFieldUpdateOperationsInput | string
  relationship?: Prisma.StringFieldUpdateOperationsInput | string
  email?: Prisma.StringFieldUpdateOperationsInput | string
  phone?: Prisma.StringFieldUpdateOperationsInput | string
  notes?: Prisma.StringFieldUpdateOperationsInput | string
  consent?: Prisma.BoolFieldUpdateOperationsInput | boolean
  status?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type AdmissionSubmissionUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  studentFirstName?: Prisma.StringFieldUpdateOperationsInput | string
  studentLastName?: Prisma.StringFieldUpdateOperationsInput | string
  studentDob?: Prisma.StringFieldUpdateOperationsInput | string
  studentGender?: Prisma.StringFieldUpdateOperationsInput | string
  currentSchool?: Prisma.StringFieldUpdateOperationsInput | string
  gradeLevel?: Prisma.StringFieldUpdateOperationsInput | string
  program?: Prisma.StringFieldUpdateOperationsInput | string
  startDate?: Prisma.StringFieldUpdateOperationsInput | string
  parentName?: Prisma.StringFieldUpdateOperationsInput | string
  relationship?: Prisma.StringFieldUpdateOperationsInput | string
  email?: Prisma.StringFieldUpdateOperationsInput | string
  phone?: Prisma.StringFieldUpdateOperationsInput | string
  notes?: Prisma.StringFieldUpdateOperationsInput | string
  consent?: Prisma.BoolFieldUpdateOperationsInput | boolean
  status?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type AdmissionSubmissionCreateManyInput = {
  id?: string
  studentFirstName: string
  studentLastName: string
  studentDob: string
  studentGender?: string
  currentSchool?: string
  gradeLevel: string
  program: string
  startDate: string
  parentName: string
  relationship: string
  email: string
  phone: string
  notes?: string
  consent?: boolean
  status?: string
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type AdmissionSubmissionUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  studentFirstName?: Prisma.StringFieldUpdateOperationsInput | string
  studentLastName?: Prisma.StringFieldUpdateOperationsInput | string
  studentDob?: Prisma.StringFieldUpdateOperationsInput | string
  studentGender?: Prisma.StringFieldUpdateOperationsInput | string
  currentSchool?: Prisma.StringFieldUpdateOperationsInput | string
  gradeLevel?: Prisma.StringFieldUpdateOperationsInput | string
  program?: Prisma.StringFieldUpdateOperationsInput | string
  startDate?: Prisma.StringFieldUpdateOperationsInput | string
  parentName?: Prisma.StringFieldUpdateOperationsInput | string
  relationship?: Prisma.StringFieldUpdateOperationsInput | string
  email?: Prisma.StringFieldUpdateOperationsInput | string
  phone?: Prisma.StringFieldUpdateOperationsInput | string
  notes?: Prisma.StringFieldUpdateOperationsInput | string
  consent?: Prisma.BoolFieldUpdateOperationsInput | boolean
  status?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type AdmissionSubmissionUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  studentFirstName?: Prisma.StringFieldUpdateOperationsInput | string
  studentLastName?: Prisma.StringFieldUpdateOperationsInput | string
  studentDob?: Prisma.StringFieldUpdateOperationsInput | string
  studentGender?: Prisma.StringFieldUpdateOperationsInput | string
  currentSchool?: Prisma.StringFieldUpdateOperationsInput | string
  gradeLevel?: Prisma.StringFieldUpdateOperationsInput | string
  program?: Prisma.StringFieldUpdateOperationsInput | string
  startDate?: Prisma.StringFieldUpdateOperationsInput | string
  parentName?: Prisma.StringFieldUpdateOperationsInput | string
  relationship?: Prisma.StringFieldUpdateOperationsInput | string
  email?: Prisma.StringFieldUpdateOperationsInput | string
  phone?: Prisma.StringFieldUpdateOperationsInput | string
  notes?: Prisma.StringFieldUpdateOperationsInput | string
  consent?: Prisma.BoolFieldUpdateOperationsInput | boolean
  status?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type AdmissionSubmissionCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  studentFirstName?: Prisma.SortOrder
  studentLastName?: Prisma.SortOrder
  studentDob?: Prisma.SortOrder
  studentGender?: Prisma.SortOrder
  currentSchool?: Prisma.SortOrder
  gradeLevel?: Prisma.SortOrder
  program?: Prisma.SortOrder
  startDate?: Prisma.SortOrder
  parentName?: Prisma.SortOrder
  relationship?: Prisma.SortOrder
  email?: Prisma.SortOrder
  phone?: Prisma.SortOrder
  notes?: Prisma.SortOrder
  consent?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type AdmissionSubmissionMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  studentFirstName?: Prisma.SortOrder
  studentLastName?: Prisma.SortOrder
  studentDob?: Prisma.SortOrder
  studentGender?: Prisma.SortOrder
  currentSchool?: Prisma.SortOrder
  gradeLevel?: Prisma.SortOrder
  program?: Prisma.SortOrder
  startDate?: Prisma.SortOrder
  parentName?: Prisma.SortOrder
  relationship?: Prisma.SortOrder
  email?: Prisma.SortOrder
  phone?: Prisma.SortOrder
  notes?: Prisma.SortOrder
  consent?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type AdmissionSubmissionMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  studentFirstName?: Prisma.SortOrder
  studentLastName?: Prisma.SortOrder
  studentDob?: Prisma.SortOrder
  studentGender?: Prisma.SortOrder
  currentSchool?: Prisma.SortOrder
  gradeLevel?: Prisma.SortOrder
  program?: Prisma.SortOrder
  startDate?: Prisma.SortOrder
  parentName?: Prisma.SortOrder
  relationship?: Prisma.SortOrder
  email?: Prisma.SortOrder
  phone?: Prisma.SortOrder
  notes?: Prisma.SortOrder
  consent?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type BoolFieldUpdateOperationsInput = {
  set?: boolean
}



export type AdmissionSubmissionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  studentFirstName?: boolean
  studentLastName?: boolean
  studentDob?: boolean
  studentGender?: boolean
  currentSchool?: boolean
  gradeLevel?: boolean
  program?: boolean
  startDate?: boolean
  parentName?: boolean
  relationship?: boolean
  email?: boolean
  phone?: boolean
  notes?: boolean
  consent?: boolean
  status?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["admissionSubmission"]>

export type AdmissionSubmissionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  studentFirstName?: boolean
  studentLastName?: boolean
  studentDob?: boolean
  studentGender?: boolean
  currentSchool?: boolean
  gradeLevel?: boolean
  program?: boolean
  startDate?: boolean
  parentName?: boolean
  relationship?: boolean
  email?: boolean
  phone?: boolean
  notes?: boolean
  consent?: boolean
  status?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["admissionSubmission"]>

export type AdmissionSubmissionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  studentFirstName?: boolean
  studentLastName?: boolean
  studentDob?: boolean
  studentGender?: boolean
  currentSchool?: boolean
  gradeLevel?: boolean
  program?: boolean
  startDate?: boolean
  parentName?: boolean
  relationship?: boolean
  email?: boolean
  phone?: boolean
  notes?: boolean
  consent?: boolean
  status?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["admissionSubmission"]>

export type AdmissionSubmissionSelectScalar = {
  id?: boolean
  studentFirstName?: boolean
  studentLastName?: boolean
  studentDob?: boolean
  studentGender?: boolean
  currentSchool?: boolean
  gradeLevel?: boolean
  program?: boolean
  startDate?: boolean
  parentName?: boolean
  relationship?: boolean
  email?: boolean
  phone?: boolean
  notes?: boolean
  consent?: boolean
  status?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}

export type AdmissionSubmissionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "studentFirstName" | "studentLastName" | "studentDob" | "studentGender" | "currentSchool" | "gradeLevel" | "program" | "startDate" | "parentName" | "relationship" | "email" | "phone" | "notes" | "consent" | "status" | "createdAt" | "updatedAt", ExtArgs["result"]["admissionSubmission"]>

export type $AdmissionSubmissionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "AdmissionSubmission"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    studentFirstName: string
    studentLastName: string
    studentDob: string
    studentGender: string
    currentSchool: string
    gradeLevel: string
    program: string
    startDate: string
    parentName: string
    relationship: string
    email: string
    phone: string
    notes: string
    consent: boolean
    status: string
    createdAt: Date
    updatedAt: Date
  }, ExtArgs["result"]["admissionSubmission"]>
  composites: {}
}

export type AdmissionSubmissionGetPayload<S extends boolean | null | undefined | AdmissionSubmissionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload, S>

export type AdmissionSubmissionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<AdmissionSubmissionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: AdmissionSubmissionCountAggregateInputType | true
  }

export interface AdmissionSubmissionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdmissionSubmission'], meta: { name: 'AdmissionSubmission' } }
  /**
   * Find zero or one AdmissionSubmission that matches the filter.
   * @param {AdmissionSubmissionFindUniqueArgs} args - Arguments to find a AdmissionSubmission
   * @example
   * // Get one AdmissionSubmission
   * const admissionSubmission = await prisma.admissionSubmission.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends AdmissionSubmissionFindUniqueArgs>(args: Prisma.SelectSubset<T, AdmissionSubmissionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdmissionSubmissionClient<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one AdmissionSubmission that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {AdmissionSubmissionFindUniqueOrThrowArgs} args - Arguments to find a AdmissionSubmission
   * @example
   * // Get one AdmissionSubmission
   * const admissionSubmission = await prisma.admissionSubmission.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends AdmissionSubmissionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdmissionSubmissionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdmissionSubmissionClient<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first AdmissionSubmission that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AdmissionSubmissionFindFirstArgs} args - Arguments to find a AdmissionSubmission
   * @example
   * // Get one AdmissionSubmission
   * const admissionSubmission = await prisma.admissionSubmission.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends AdmissionSubmissionFindFirstArgs>(args?: Prisma.SelectSubset<T, AdmissionSubmissionFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdmissionSubmissionClient<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first AdmissionSubmission that matches the filter or
   * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AdmissionSubmissionFindFirstOrThrowArgs} args - Arguments to find a AdmissionSubmission
   * @example
   * // Get one AdmissionSubmission
   * const admissionSubmission = await prisma.admissionSubmission.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends AdmissionSubmissionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdmissionSubmissionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdmissionSubmissionClient<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more AdmissionSubmissions that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AdmissionSubmissionFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all AdmissionSubmissions
   * const admissionSubmissions = await prisma.admissionSubmission.findMany()
   * 
   * // Get first 10 AdmissionSubmissions
   * const admissionSubmissions = await prisma.admissionSubmission.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const admissionSubmissionWithIdOnly = await prisma.admissionSubmission.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends AdmissionSubmissionFindManyArgs>(args?: Prisma.SelectSubset<T, AdmissionSubmissionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a AdmissionSubmission.
   * @param {AdmissionSubmissionCreateArgs} args - Arguments to create a AdmissionSubmission.
   * @example
   * // Create one AdmissionSubmission
   * const AdmissionSubmission = await prisma.admissionSubmission.create({
   *   data: {
   *     // ... data to create a AdmissionSubmission
   *   }
   * })
   * 
   */
  create<T extends AdmissionSubmissionCreateArgs>(args: Prisma.SelectSubset<T, AdmissionSubmissionCreateArgs<ExtArgs>>): Prisma.Prisma__AdmissionSubmissionClient<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many AdmissionSubmissions.
   * @param {AdmissionSubmissionCreateManyArgs} args - Arguments to create many AdmissionSubmissions.
   * @example
   * // Create many AdmissionSubmissions
   * const admissionSubmission = await prisma.admissionSubmission.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends AdmissionSubmissionCreateManyArgs>(args?: Prisma.SelectSubset<T, AdmissionSubmissionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create many AdmissionSubmissions and returns the data saved in the database.
   * @param {AdmissionSubmissionCreateManyAndReturnArgs} args - Arguments to create many AdmissionSubmissions.
   * @example
   * // Create many AdmissionSubmissions
   * const admissionSubmission = await prisma.admissionSubmission.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many AdmissionSubmissions and only return the `id`
   * const admissionSubmissionWithIdOnly = await prisma.admissionSubmission.createManyAndReturn({
   *   select: { id: true },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  createManyAndReturn<T extends AdmissionSubmissionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdmissionSubmissionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

  /**
   * Delete a AdmissionSubmission.
   * @param {AdmissionSubmissionDeleteArgs} args - Arguments to delete one AdmissionSubmission.
   * @example
   * // Delete one AdmissionSubmission
   * const AdmissionSubmission = await prisma.admissionSubmission.delete({
   *   where: {
   *     // ... filter to delete one AdmissionSubmission
   *   }
   * })
   * 
   */
  delete<T extends AdmissionSubmissionDeleteArgs>(args: Prisma.SelectSubset<T, AdmissionSubmissionDeleteArgs<ExtArgs>>): Prisma.Prisma__AdmissionSubmissionClient<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one AdmissionSubmission.
   * @param {AdmissionSubmissionUpdateArgs} args - Arguments to update one AdmissionSubmission.
   * @example
   * // Update one AdmissionSubmission
   * const admissionSubmission = await prisma.admissionSubmission.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends AdmissionSubmissionUpdateArgs>(args: Prisma.SelectSubset<T, AdmissionSubmissionUpdateArgs<ExtArgs>>): Prisma.Prisma__AdmissionSubmissionClient<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more AdmissionSubmissions.
   * @param {AdmissionSubmissionDeleteManyArgs} args - Arguments to filter AdmissionSubmissions to delete.
   * @example
   * // Delete a few AdmissionSubmissions
   * const { count } = await prisma.admissionSubmission.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends AdmissionSubmissionDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdmissionSubmissionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more AdmissionSubmissions.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AdmissionSubmissionUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many AdmissionSubmissions
   * const admissionSubmission = await prisma.admissionSubmission.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends AdmissionSubmissionUpdateManyArgs>(args: Prisma.SelectSubset<T, AdmissionSubmissionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more AdmissionSubmissions and returns the data updated in the database.
   * @param {AdmissionSubmissionUpdateManyAndReturnArgs} args - Arguments to update many AdmissionSubmissions.
   * @example
   * // Update many AdmissionSubmissions
   * const admissionSubmission = await prisma.admissionSubmission.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more AdmissionSubmissions and only return the `id`
   * const admissionSubmissionWithIdOnly = await prisma.admissionSubmission.updateManyAndReturn({
   *   select: { id: true },
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  updateManyAndReturn<T extends AdmissionSubmissionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdmissionSubmissionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

  /**
   * Create or update one AdmissionSubmission.
   * @param {AdmissionSubmissionUpsertArgs} args - Arguments to update or create a AdmissionSubmission.
   * @example
   * // Update or create a AdmissionSubmission
   * const admissionSubmission = await prisma.admissionSubmission.upsert({
   *   create: {
   *     // ... data to create a AdmissionSubmission
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the AdmissionSubmission we want to update
   *   }
   * })
   */
  upsert<T extends AdmissionSubmissionUpsertArgs>(args: Prisma.SelectSubset<T, AdmissionSubmissionUpsertArgs<ExtArgs>>): Prisma.Prisma__AdmissionSubmissionClient<runtime.Types.Result.GetResult<Prisma.$AdmissionSubmissionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of AdmissionSubmissions.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AdmissionSubmissionCountArgs} args - Arguments to filter AdmissionSubmissions to count.
   * @example
   * // Count the number of AdmissionSubmissions
   * const count = await prisma.admissionSubmission.count({
   *   where: {
   *     // ... the filter for the AdmissionSubmissions we want to count
   *   }
   * })
  **/
  count<T extends AdmissionSubmissionCountArgs>(
    args?: Prisma.Subset<T, AdmissionSubmissionCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], AdmissionSubmissionCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a AdmissionSubmission.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AdmissionSubmissionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
   * @example
   * // Ordered by age ascending
   * // Where email contains prisma.io
   * // Limited to the 10 users
   * const aggregations = await prisma.user.aggregate({
   *   _avg: {
   *     age: true,
   *   },
   *   where: {
   *     email: {
   *       contains: "prisma.io",
   *     },
   *   },
   *   orderBy: {
   *     age: "asc",
   *   },
   *   take: 10,
   * })
  **/
  aggregate<T extends AdmissionSubmissionAggregateArgs>(args: Prisma.Subset<T, AdmissionSubmissionAggregateArgs>): Prisma.PrismaPromise<GetAdmissionSubmissionAggregateType<T>>

  /**
   * Group by AdmissionSubmission.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AdmissionSubmissionGroupByArgs} args - Group by arguments.
   * @example
   * // Group by city, order by createdAt, get count
   * const result = await prisma.user.groupBy({
   *   by: ['city', 'createdAt'],
   *   orderBy: {
   *     createdAt: true
   *   },
   *   _count: {
   *     _all: true
   *   },
   * })
   * 
  **/
  groupBy<
    T extends AdmissionSubmissionGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: AdmissionSubmissionGroupByArgs['orderBy'] }
      : { orderBy?: AdmissionSubmissionGroupByArgs['orderBy'] },
    OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
    ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
    ByValid extends Prisma.Has<ByFields, OrderFields>,
    HavingFields extends Prisma.GetHavingFields<T['having']>,
    HavingValid extends Prisma.Has<ByFields, HavingFields>,
    ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
    InputErrors extends ByEmpty extends Prisma.True
    ? `Error: "by" must not be empty.`
    : HavingValid extends Prisma.False
    ? {
        [P in HavingFields]: P extends ByFields
          ? never
          : P extends string
          ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
          : [
              Error,
              'Field ',
              P,
              ` in "having" needs to be provided in "by"`,
            ]
      }[HavingFields]
    : 'take' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "take", you also need to provide "orderBy"'
    : 'skip' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "skip", you also need to provide "orderBy"'
    : ByValid extends Prisma.True
    ? {}
    : {
        [P in OrderFields]: P extends ByFields
          ? never
          : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
      }[OrderFields]
  >(args: Prisma.SubsetIntersection<T, AdmissionSubmissionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdmissionSubmissionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the AdmissionSubmission model
 */
readonly fields: AdmissionSubmissionFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for AdmissionSubmission.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__AdmissionSubmissionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the AdmissionSubmission model
 */
export interface AdmissionSubmissionFieldRefs {
  readonly id: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly studentFirstName: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly studentLastName: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly studentDob: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly studentGender: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly currentSchool: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly gradeLevel: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly program: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly startDate: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly parentName: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly relationship: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly email: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly phone: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly notes: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly consent: Prisma.FieldRef<"AdmissionSubmission", 'Boolean'>
  readonly status: Prisma.FieldRef<"AdmissionSubmission", 'String'>
  readonly createdAt: Prisma.FieldRef<"AdmissionSubmission", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"AdmissionSubmission", 'DateTime'>
}
    

// Custom InputTypes
/**
 * AdmissionSubmission findUnique
 */
export type AdmissionSubmissionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * Filter, which AdmissionSubmission to fetch.
   */
  where: Prisma.AdmissionSubmissionWhereUniqueInput
}

/**
 * AdmissionSubmission findUniqueOrThrow
 */
export type AdmissionSubmissionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * Filter, which AdmissionSubmission to fetch.
   */
  where: Prisma.AdmissionSubmissionWhereUniqueInput
}

/**
 * AdmissionSubmission findFirst
 */
export type AdmissionSubmissionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * Filter, which AdmissionSubmission to fetch.
   */
  where?: Prisma.AdmissionSubmissionWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AdmissionSubmissions to fetch.
   */
  orderBy?: Prisma.AdmissionSubmissionOrderByWithRelationInput | Prisma.AdmissionSubmissionOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for AdmissionSubmissions.
   */
  cursor?: Prisma.AdmissionSubmissionWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AdmissionSubmissions from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` AdmissionSubmissions.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of AdmissionSubmissions.
   */
  distinct?: Prisma.AdmissionSubmissionScalarFieldEnum | Prisma.AdmissionSubmissionScalarFieldEnum[]
}

/**
 * AdmissionSubmission findFirstOrThrow
 */
export type AdmissionSubmissionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * Filter, which AdmissionSubmission to fetch.
   */
  where?: Prisma.AdmissionSubmissionWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AdmissionSubmissions to fetch.
   */
  orderBy?: Prisma.AdmissionSubmissionOrderByWithRelationInput | Prisma.AdmissionSubmissionOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for AdmissionSubmissions.
   */
  cursor?: Prisma.AdmissionSubmissionWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AdmissionSubmissions from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` AdmissionSubmissions.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of AdmissionSubmissions.
   */
  distinct?: Prisma.AdmissionSubmissionScalarFieldEnum | Prisma.AdmissionSubmissionScalarFieldEnum[]
}

/**
 * AdmissionSubmission findMany
 */
export type AdmissionSubmissionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * Filter, which AdmissionSubmissions to fetch.
   */
  where?: Prisma.AdmissionSubmissionWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AdmissionSubmissions to fetch.
   */
  orderBy?: Prisma.AdmissionSubmissionOrderByWithRelationInput | Prisma.AdmissionSubmissionOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing AdmissionSubmissions.
   */
  cursor?: Prisma.AdmissionSubmissionWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AdmissionSubmissions from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` AdmissionSubmissions.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of AdmissionSubmissions.
   */
  distinct?: Prisma.AdmissionSubmissionScalarFieldEnum | Prisma.AdmissionSubmissionScalarFieldEnum[]
}

/**
 * AdmissionSubmission create
 */
export type AdmissionSubmissionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * The data needed to create a AdmissionSubmission.
   */
  data: Prisma.XOR<Prisma.AdmissionSubmissionCreateInput, Prisma.AdmissionSubmissionUncheckedCreateInput>
}

/**
 * AdmissionSubmission createMany
 */
export type AdmissionSubmissionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many AdmissionSubmissions.
   */
  data: Prisma.AdmissionSubmissionCreateManyInput | Prisma.AdmissionSubmissionCreateManyInput[]
}

/**
 * AdmissionSubmission createManyAndReturn
 */
export type AdmissionSubmissionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * The data used to create many AdmissionSubmissions.
   */
  data: Prisma.AdmissionSubmissionCreateManyInput | Prisma.AdmissionSubmissionCreateManyInput[]
}

/**
 * AdmissionSubmission update
 */
export type AdmissionSubmissionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * The data needed to update a AdmissionSubmission.
   */
  data: Prisma.XOR<Prisma.AdmissionSubmissionUpdateInput, Prisma.AdmissionSubmissionUncheckedUpdateInput>
  /**
   * Choose, which AdmissionSubmission to update.
   */
  where: Prisma.AdmissionSubmissionWhereUniqueInput
}

/**
 * AdmissionSubmission updateMany
 */
export type AdmissionSubmissionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update AdmissionSubmissions.
   */
  data: Prisma.XOR<Prisma.AdmissionSubmissionUpdateManyMutationInput, Prisma.AdmissionSubmissionUncheckedUpdateManyInput>
  /**
   * Filter which AdmissionSubmissions to update
   */
  where?: Prisma.AdmissionSubmissionWhereInput
  /**
   * Limit how many AdmissionSubmissions to update.
   */
  limit?: number
}

/**
 * AdmissionSubmission updateManyAndReturn
 */
export type AdmissionSubmissionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * The data used to update AdmissionSubmissions.
   */
  data: Prisma.XOR<Prisma.AdmissionSubmissionUpdateManyMutationInput, Prisma.AdmissionSubmissionUncheckedUpdateManyInput>
  /**
   * Filter which AdmissionSubmissions to update
   */
  where?: Prisma.AdmissionSubmissionWhereInput
  /**
   * Limit how many AdmissionSubmissions to update.
   */
  limit?: number
}

/**
 * AdmissionSubmission upsert
 */
export type AdmissionSubmissionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * The filter to search for the AdmissionSubmission to update in case it exists.
   */
  where: Prisma.AdmissionSubmissionWhereUniqueInput
  /**
   * In case the AdmissionSubmission found by the `where` argument doesn't exist, create a new AdmissionSubmission with this data.
   */
  create: Prisma.XOR<Prisma.AdmissionSubmissionCreateInput, Prisma.AdmissionSubmissionUncheckedCreateInput>
  /**
   * In case the AdmissionSubmission was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.AdmissionSubmissionUpdateInput, Prisma.AdmissionSubmissionUncheckedUpdateInput>
}

/**
 * AdmissionSubmission delete
 */
export type AdmissionSubmissionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
  /**
   * Filter which AdmissionSubmission to delete.
   */
  where: Prisma.AdmissionSubmissionWhereUniqueInput
}

/**
 * AdmissionSubmission deleteMany
 */
export type AdmissionSubmissionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which AdmissionSubmissions to delete
   */
  where?: Prisma.AdmissionSubmissionWhereInput
  /**
   * Limit how many AdmissionSubmissions to delete.
   */
  limit?: number
}

/**
 * AdmissionSubmission without action
 */
export type AdmissionSubmissionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AdmissionSubmission
   */
  select?: Prisma.AdmissionSubmissionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AdmissionSubmission
   */
  omit?: Prisma.AdmissionSubmissionOmit<ExtArgs> | null
}
