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

/**
 * Model cms_certified_students
 * 
 */
export type cms_certified_studentsModel = runtime.Types.Result.DefaultSelection<Prisma.$cms_certified_studentsPayload>

export type AggregateCms_certified_students = {
  _count: Cms_certified_studentsCountAggregateOutputType | null
  _avg: Cms_certified_studentsAvgAggregateOutputType | null
  _sum: Cms_certified_studentsSumAggregateOutputType | null
  _min: Cms_certified_studentsMinAggregateOutputType | null
  _max: Cms_certified_studentsMaxAggregateOutputType | null
}

export type Cms_certified_studentsAvgAggregateOutputType = {
  id: number | null
  page_id: number | null
  sort_order: number | null
}

export type Cms_certified_studentsSumAggregateOutputType = {
  id: bigint | null
  page_id: bigint | null
  sort_order: number | null
}

export type Cms_certified_studentsMinAggregateOutputType = {
  id: bigint | null
  page_id: bigint | null
  level_name: string | null
  student_name: string | null
  image: string | null
  sort_order: number | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
}

export type Cms_certified_studentsMaxAggregateOutputType = {
  id: bigint | null
  page_id: bigint | null
  level_name: string | null
  student_name: string | null
  image: string | null
  sort_order: number | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
}

export type Cms_certified_studentsCountAggregateOutputType = {
  id: number
  page_id: number
  level_name: number
  student_name: number
  image: number
  sort_order: number
  status: number
  created_at: number
  updated_at: number
  _all: number
}


export type Cms_certified_studentsAvgAggregateInputType = {
  id?: true
  page_id?: true
  sort_order?: true
}

export type Cms_certified_studentsSumAggregateInputType = {
  id?: true
  page_id?: true
  sort_order?: true
}

export type Cms_certified_studentsMinAggregateInputType = {
  id?: true
  page_id?: true
  level_name?: true
  student_name?: true
  image?: true
  sort_order?: true
  status?: true
  created_at?: true
  updated_at?: true
}

export type Cms_certified_studentsMaxAggregateInputType = {
  id?: true
  page_id?: true
  level_name?: true
  student_name?: true
  image?: true
  sort_order?: true
  status?: true
  created_at?: true
  updated_at?: true
}

export type Cms_certified_studentsCountAggregateInputType = {
  id?: true
  page_id?: true
  level_name?: true
  student_name?: true
  image?: true
  sort_order?: true
  status?: true
  created_at?: true
  updated_at?: true
  _all?: true
}

export type Cms_certified_studentsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which cms_certified_students to aggregate.
   */
  where?: Prisma.cms_certified_studentsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of cms_certified_students to fetch.
   */
  orderBy?: Prisma.cms_certified_studentsOrderByWithRelationInput | Prisma.cms_certified_studentsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.cms_certified_studentsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` cms_certified_students 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` cms_certified_students.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned cms_certified_students
  **/
  _count?: true | Cms_certified_studentsCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Cms_certified_studentsAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Cms_certified_studentsSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Cms_certified_studentsMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Cms_certified_studentsMaxAggregateInputType
}

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




export type cms_certified_studentsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.cms_certified_studentsWhereInput
  orderBy?: Prisma.cms_certified_studentsOrderByWithAggregationInput | Prisma.cms_certified_studentsOrderByWithAggregationInput[]
  by: Prisma.Cms_certified_studentsScalarFieldEnum[] | Prisma.Cms_certified_studentsScalarFieldEnum
  having?: Prisma.cms_certified_studentsScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Cms_certified_studentsCountAggregateInputType | true
  _avg?: Cms_certified_studentsAvgAggregateInputType
  _sum?: Cms_certified_studentsSumAggregateInputType
  _min?: Cms_certified_studentsMinAggregateInputType
  _max?: Cms_certified_studentsMaxAggregateInputType
}

export type Cms_certified_studentsGroupByOutputType = {
  id: bigint
  page_id: bigint
  level_name: string
  student_name: string
  image: string | null
  sort_order: number | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
  _count: Cms_certified_studentsCountAggregateOutputType | null
  _avg: Cms_certified_studentsAvgAggregateOutputType | null
  _sum: Cms_certified_studentsSumAggregateOutputType | null
  _min: Cms_certified_studentsMinAggregateOutputType | null
  _max: Cms_certified_studentsMaxAggregateOutputType | null
}

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



export type cms_certified_studentsWhereInput = {
  AND?: Prisma.cms_certified_studentsWhereInput | Prisma.cms_certified_studentsWhereInput[]
  OR?: Prisma.cms_certified_studentsWhereInput[]
  NOT?: Prisma.cms_certified_studentsWhereInput | Prisma.cms_certified_studentsWhereInput[]
  id?: Prisma.BigIntFilter<"cms_certified_students"> | bigint | number
  page_id?: Prisma.BigIntFilter<"cms_certified_students"> | bigint | number
  level_name?: Prisma.StringFilter<"cms_certified_students"> | string
  student_name?: Prisma.StringFilter<"cms_certified_students"> | string
  image?: Prisma.StringNullableFilter<"cms_certified_students"> | string | null
  sort_order?: Prisma.IntNullableFilter<"cms_certified_students"> | number | null
  status?: Prisma.BoolNullableFilter<"cms_certified_students"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"cms_certified_students"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"cms_certified_students"> | Date | string | null
  cms_pages?: Prisma.XOR<Prisma.Cms_pagesScalarRelationFilter, Prisma.cms_pagesWhereInput>
}

export type cms_certified_studentsOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  level_name?: Prisma.SortOrder
  student_name?: Prisma.SortOrder
  image?: Prisma.SortOrderInput | Prisma.SortOrder
  sort_order?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  cms_pages?: Prisma.cms_pagesOrderByWithRelationInput
}

export type cms_certified_studentsWhereUniqueInput = Prisma.AtLeast<{
  id?: bigint | number
  AND?: Prisma.cms_certified_studentsWhereInput | Prisma.cms_certified_studentsWhereInput[]
  OR?: Prisma.cms_certified_studentsWhereInput[]
  NOT?: Prisma.cms_certified_studentsWhereInput | Prisma.cms_certified_studentsWhereInput[]
  page_id?: Prisma.BigIntFilter<"cms_certified_students"> | bigint | number
  level_name?: Prisma.StringFilter<"cms_certified_students"> | string
  student_name?: Prisma.StringFilter<"cms_certified_students"> | string
  image?: Prisma.StringNullableFilter<"cms_certified_students"> | string | null
  sort_order?: Prisma.IntNullableFilter<"cms_certified_students"> | number | null
  status?: Prisma.BoolNullableFilter<"cms_certified_students"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"cms_certified_students"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"cms_certified_students"> | Date | string | null
  cms_pages?: Prisma.XOR<Prisma.Cms_pagesScalarRelationFilter, Prisma.cms_pagesWhereInput>
}, "id">

export type cms_certified_studentsOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  level_name?: Prisma.SortOrder
  student_name?: Prisma.SortOrder
  image?: Prisma.SortOrderInput | Prisma.SortOrder
  sort_order?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.cms_certified_studentsCountOrderByAggregateInput
  _avg?: Prisma.cms_certified_studentsAvgOrderByAggregateInput
  _max?: Prisma.cms_certified_studentsMaxOrderByAggregateInput
  _min?: Prisma.cms_certified_studentsMinOrderByAggregateInput
  _sum?: Prisma.cms_certified_studentsSumOrderByAggregateInput
}

export type cms_certified_studentsScalarWhereWithAggregatesInput = {
  AND?: Prisma.cms_certified_studentsScalarWhereWithAggregatesInput | Prisma.cms_certified_studentsScalarWhereWithAggregatesInput[]
  OR?: Prisma.cms_certified_studentsScalarWhereWithAggregatesInput[]
  NOT?: Prisma.cms_certified_studentsScalarWhereWithAggregatesInput | Prisma.cms_certified_studentsScalarWhereWithAggregatesInput[]
  id?: Prisma.BigIntWithAggregatesFilter<"cms_certified_students"> | bigint | number
  page_id?: Prisma.BigIntWithAggregatesFilter<"cms_certified_students"> | bigint | number
  level_name?: Prisma.StringWithAggregatesFilter<"cms_certified_students"> | string
  student_name?: Prisma.StringWithAggregatesFilter<"cms_certified_students"> | string
  image?: Prisma.StringNullableWithAggregatesFilter<"cms_certified_students"> | string | null
  sort_order?: Prisma.IntNullableWithAggregatesFilter<"cms_certified_students"> | number | null
  status?: Prisma.BoolNullableWithAggregatesFilter<"cms_certified_students"> | boolean | null
  created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"cms_certified_students"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"cms_certified_students"> | Date | string | null
}

export type cms_certified_studentsCreateInput = {
  id?: bigint | number
  level_name: string
  student_name: string
  image?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
  cms_pages: Prisma.cms_pagesCreateNestedOneWithoutCms_certified_studentsInput
}

export type cms_certified_studentsUncheckedCreateInput = {
  id?: bigint | number
  page_id: bigint | number
  level_name: string
  student_name: string
  image?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_certified_studentsUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  level_name?: Prisma.StringFieldUpdateOperationsInput | string
  student_name?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  cms_pages?: Prisma.cms_pagesUpdateOneRequiredWithoutCms_certified_studentsNestedInput
}

export type cms_certified_studentsUncheckedUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  page_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  level_name?: Prisma.StringFieldUpdateOperationsInput | string
  student_name?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type cms_certified_studentsCreateManyInput = {
  id?: bigint | number
  page_id: bigint | number
  level_name: string
  student_name: string
  image?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_certified_studentsUpdateManyMutationInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  level_name?: Prisma.StringFieldUpdateOperationsInput | string
  student_name?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type cms_certified_studentsUncheckedUpdateManyInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  page_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  level_name?: Prisma.StringFieldUpdateOperationsInput | string
  student_name?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type Cms_certified_studentsListRelationFilter = {
  every?: Prisma.cms_certified_studentsWhereInput
  some?: Prisma.cms_certified_studentsWhereInput
  none?: Prisma.cms_certified_studentsWhereInput
}

export type cms_certified_studentsOrderByRelationAggregateInput = {
  _count?: Prisma.SortOrder
}

export type cms_certified_studentsCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  level_name?: Prisma.SortOrder
  student_name?: Prisma.SortOrder
  image?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type cms_certified_studentsAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
}

export type cms_certified_studentsMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  level_name?: Prisma.SortOrder
  student_name?: Prisma.SortOrder
  image?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type cms_certified_studentsMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  level_name?: Prisma.SortOrder
  student_name?: Prisma.SortOrder
  image?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type cms_certified_studentsSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
}

export type cms_certified_studentsCreateNestedManyWithoutCms_pagesInput = {
  create?: Prisma.XOR<Prisma.cms_certified_studentsCreateWithoutCms_pagesInput, Prisma.cms_certified_studentsUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_certified_studentsCreateWithoutCms_pagesInput[] | Prisma.cms_certified_studentsUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_certified_studentsCreateOrConnectWithoutCms_pagesInput | Prisma.cms_certified_studentsCreateOrConnectWithoutCms_pagesInput[]
  createMany?: Prisma.cms_certified_studentsCreateManyCms_pagesInputEnvelope
  connect?: Prisma.cms_certified_studentsWhereUniqueInput | Prisma.cms_certified_studentsWhereUniqueInput[]
}

export type cms_certified_studentsUncheckedCreateNestedManyWithoutCms_pagesInput = {
  create?: Prisma.XOR<Prisma.cms_certified_studentsCreateWithoutCms_pagesInput, Prisma.cms_certified_studentsUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_certified_studentsCreateWithoutCms_pagesInput[] | Prisma.cms_certified_studentsUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_certified_studentsCreateOrConnectWithoutCms_pagesInput | Prisma.cms_certified_studentsCreateOrConnectWithoutCms_pagesInput[]
  createMany?: Prisma.cms_certified_studentsCreateManyCms_pagesInputEnvelope
  connect?: Prisma.cms_certified_studentsWhereUniqueInput | Prisma.cms_certified_studentsWhereUniqueInput[]
}

export type cms_certified_studentsUpdateManyWithoutCms_pagesNestedInput = {
  create?: Prisma.XOR<Prisma.cms_certified_studentsCreateWithoutCms_pagesInput, Prisma.cms_certified_studentsUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_certified_studentsCreateWithoutCms_pagesInput[] | Prisma.cms_certified_studentsUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_certified_studentsCreateOrConnectWithoutCms_pagesInput | Prisma.cms_certified_studentsCreateOrConnectWithoutCms_pagesInput[]
  upsert?: Prisma.cms_certified_studentsUpsertWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_certified_studentsUpsertWithWhereUniqueWithoutCms_pagesInput[]
  createMany?: Prisma.cms_certified_studentsCreateManyCms_pagesInputEnvelope
  set?: Prisma.cms_certified_studentsWhereUniqueInput | Prisma.cms_certified_studentsWhereUniqueInput[]
  disconnect?: Prisma.cms_certified_studentsWhereUniqueInput | Prisma.cms_certified_studentsWhereUniqueInput[]
  delete?: Prisma.cms_certified_studentsWhereUniqueInput | Prisma.cms_certified_studentsWhereUniqueInput[]
  connect?: Prisma.cms_certified_studentsWhereUniqueInput | Prisma.cms_certified_studentsWhereUniqueInput[]
  update?: Prisma.cms_certified_studentsUpdateWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_certified_studentsUpdateWithWhereUniqueWithoutCms_pagesInput[]
  updateMany?: Prisma.cms_certified_studentsUpdateManyWithWhereWithoutCms_pagesInput | Prisma.cms_certified_studentsUpdateManyWithWhereWithoutCms_pagesInput[]
  deleteMany?: Prisma.cms_certified_studentsScalarWhereInput | Prisma.cms_certified_studentsScalarWhereInput[]
}

export type cms_certified_studentsUncheckedUpdateManyWithoutCms_pagesNestedInput = {
  create?: Prisma.XOR<Prisma.cms_certified_studentsCreateWithoutCms_pagesInput, Prisma.cms_certified_studentsUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_certified_studentsCreateWithoutCms_pagesInput[] | Prisma.cms_certified_studentsUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_certified_studentsCreateOrConnectWithoutCms_pagesInput | Prisma.cms_certified_studentsCreateOrConnectWithoutCms_pagesInput[]
  upsert?: Prisma.cms_certified_studentsUpsertWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_certified_studentsUpsertWithWhereUniqueWithoutCms_pagesInput[]
  createMany?: Prisma.cms_certified_studentsCreateManyCms_pagesInputEnvelope
  set?: Prisma.cms_certified_studentsWhereUniqueInput | Prisma.cms_certified_studentsWhereUniqueInput[]
  disconnect?: Prisma.cms_certified_studentsWhereUniqueInput | Prisma.cms_certified_studentsWhereUniqueInput[]
  delete?: Prisma.cms_certified_studentsWhereUniqueInput | Prisma.cms_certified_studentsWhereUniqueInput[]
  connect?: Prisma.cms_certified_studentsWhereUniqueInput | Prisma.cms_certified_studentsWhereUniqueInput[]
  update?: Prisma.cms_certified_studentsUpdateWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_certified_studentsUpdateWithWhereUniqueWithoutCms_pagesInput[]
  updateMany?: Prisma.cms_certified_studentsUpdateManyWithWhereWithoutCms_pagesInput | Prisma.cms_certified_studentsUpdateManyWithWhereWithoutCms_pagesInput[]
  deleteMany?: Prisma.cms_certified_studentsScalarWhereInput | Prisma.cms_certified_studentsScalarWhereInput[]
}

export type cms_certified_studentsCreateWithoutCms_pagesInput = {
  id?: bigint | number
  level_name: string
  student_name: string
  image?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_certified_studentsUncheckedCreateWithoutCms_pagesInput = {
  id?: bigint | number
  level_name: string
  student_name: string
  image?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_certified_studentsCreateOrConnectWithoutCms_pagesInput = {
  where: Prisma.cms_certified_studentsWhereUniqueInput
  create: Prisma.XOR<Prisma.cms_certified_studentsCreateWithoutCms_pagesInput, Prisma.cms_certified_studentsUncheckedCreateWithoutCms_pagesInput>
}

export type cms_certified_studentsCreateManyCms_pagesInputEnvelope = {
  data: Prisma.cms_certified_studentsCreateManyCms_pagesInput | Prisma.cms_certified_studentsCreateManyCms_pagesInput[]
  skipDuplicates?: boolean
}

export type cms_certified_studentsUpsertWithWhereUniqueWithoutCms_pagesInput = {
  where: Prisma.cms_certified_studentsWhereUniqueInput
  update: Prisma.XOR<Prisma.cms_certified_studentsUpdateWithoutCms_pagesInput, Prisma.cms_certified_studentsUncheckedUpdateWithoutCms_pagesInput>
  create: Prisma.XOR<Prisma.cms_certified_studentsCreateWithoutCms_pagesInput, Prisma.cms_certified_studentsUncheckedCreateWithoutCms_pagesInput>
}

export type cms_certified_studentsUpdateWithWhereUniqueWithoutCms_pagesInput = {
  where: Prisma.cms_certified_studentsWhereUniqueInput
  data: Prisma.XOR<Prisma.cms_certified_studentsUpdateWithoutCms_pagesInput, Prisma.cms_certified_studentsUncheckedUpdateWithoutCms_pagesInput>
}

export type cms_certified_studentsUpdateManyWithWhereWithoutCms_pagesInput = {
  where: Prisma.cms_certified_studentsScalarWhereInput
  data: Prisma.XOR<Prisma.cms_certified_studentsUpdateManyMutationInput, Prisma.cms_certified_studentsUncheckedUpdateManyWithoutCms_pagesInput>
}

export type cms_certified_studentsScalarWhereInput = {
  AND?: Prisma.cms_certified_studentsScalarWhereInput | Prisma.cms_certified_studentsScalarWhereInput[]
  OR?: Prisma.cms_certified_studentsScalarWhereInput[]
  NOT?: Prisma.cms_certified_studentsScalarWhereInput | Prisma.cms_certified_studentsScalarWhereInput[]
  id?: Prisma.BigIntFilter<"cms_certified_students"> | bigint | number
  page_id?: Prisma.BigIntFilter<"cms_certified_students"> | bigint | number
  level_name?: Prisma.StringFilter<"cms_certified_students"> | string
  student_name?: Prisma.StringFilter<"cms_certified_students"> | string
  image?: Prisma.StringNullableFilter<"cms_certified_students"> | string | null
  sort_order?: Prisma.IntNullableFilter<"cms_certified_students"> | number | null
  status?: Prisma.BoolNullableFilter<"cms_certified_students"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"cms_certified_students"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"cms_certified_students"> | Date | string | null
}

export type cms_certified_studentsCreateManyCms_pagesInput = {
  id?: bigint | number
  level_name: string
  student_name: string
  image?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_certified_studentsUpdateWithoutCms_pagesInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  level_name?: Prisma.StringFieldUpdateOperationsInput | string
  student_name?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type cms_certified_studentsUncheckedUpdateWithoutCms_pagesInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  level_name?: Prisma.StringFieldUpdateOperationsInput | string
  student_name?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type cms_certified_studentsUncheckedUpdateManyWithoutCms_pagesInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  level_name?: Prisma.StringFieldUpdateOperationsInput | string
  student_name?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}



export type cms_certified_studentsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  page_id?: boolean
  level_name?: boolean
  student_name?: boolean
  image?: boolean
  sort_order?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}, ExtArgs["result"]["cms_certified_students"]>

export type cms_certified_studentsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  page_id?: boolean
  level_name?: boolean
  student_name?: boolean
  image?: boolean
  sort_order?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}, ExtArgs["result"]["cms_certified_students"]>

export type cms_certified_studentsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  page_id?: boolean
  level_name?: boolean
  student_name?: boolean
  image?: boolean
  sort_order?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}, ExtArgs["result"]["cms_certified_students"]>

export type cms_certified_studentsSelectScalar = {
  id?: boolean
  page_id?: boolean
  level_name?: boolean
  student_name?: boolean
  image?: boolean
  sort_order?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
}

export type cms_certified_studentsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "page_id" | "level_name" | "student_name" | "image" | "sort_order" | "status" | "created_at" | "updated_at", ExtArgs["result"]["cms_certified_students"]>
export type cms_certified_studentsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}
export type cms_certified_studentsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}
export type cms_certified_studentsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}

export type $cms_certified_studentsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "cms_certified_students"
  objects: {
    cms_pages: Prisma.$cms_pagesPayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: bigint
    page_id: bigint
    level_name: string
    student_name: string
    image: string | null
    sort_order: number | null
    status: boolean | null
    created_at: Date | null
    updated_at: Date | null
  }, ExtArgs["result"]["cms_certified_students"]>
  composites: {}
}

export type cms_certified_studentsGetPayload<S extends boolean | null | undefined | cms_certified_studentsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$cms_certified_studentsPayload, S>

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

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

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

  /**
   * Find the first Cms_certified_students 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 {cms_certified_studentsFindFirstArgs} args - Arguments to find a Cms_certified_students
   * @example
   * // Get one Cms_certified_students
   * const cms_certified_students = await prisma.cms_certified_students.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends cms_certified_studentsFindFirstArgs>(args?: Prisma.SelectSubset<T, cms_certified_studentsFindFirstArgs<ExtArgs>>): Prisma.Prisma__cms_certified_studentsClient<runtime.Types.Result.GetResult<Prisma.$cms_certified_studentsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Cms_certified_students 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 {cms_certified_studentsFindFirstOrThrowArgs} args - Arguments to find a Cms_certified_students
   * @example
   * // Get one Cms_certified_students
   * const cms_certified_students = await prisma.cms_certified_students.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends cms_certified_studentsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, cms_certified_studentsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__cms_certified_studentsClient<runtime.Types.Result.GetResult<Prisma.$cms_certified_studentsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more Cms_certified_students 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 {cms_certified_studentsFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all Cms_certified_students
   * const cms_certified_students = await prisma.cms_certified_students.findMany()
   * 
   * // Get first 10 Cms_certified_students
   * const cms_certified_students = await prisma.cms_certified_students.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const cms_certified_studentsWithIdOnly = await prisma.cms_certified_students.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends cms_certified_studentsFindManyArgs>(args?: Prisma.SelectSubset<T, cms_certified_studentsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cms_certified_studentsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

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

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

  /**
   * Create many Cms_certified_students and returns the data saved in the database.
   * @param {cms_certified_studentsCreateManyAndReturnArgs} args - Arguments to create many Cms_certified_students.
   * @example
   * // Create many Cms_certified_students
   * const cms_certified_students = await prisma.cms_certified_students.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many Cms_certified_students and only return the `id`
   * const cms_certified_studentsWithIdOnly = await prisma.cms_certified_students.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 cms_certified_studentsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, cms_certified_studentsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cms_certified_studentsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

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

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

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

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

  /**
   * Update zero or more Cms_certified_students and returns the data updated in the database.
   * @param {cms_certified_studentsUpdateManyAndReturnArgs} args - Arguments to update many Cms_certified_students.
   * @example
   * // Update many Cms_certified_students
   * const cms_certified_students = await prisma.cms_certified_students.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more Cms_certified_students and only return the `id`
   * const cms_certified_studentsWithIdOnly = await prisma.cms_certified_students.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 cms_certified_studentsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, cms_certified_studentsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cms_certified_studentsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

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


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

  /**
   * Allows you to perform aggregations operations on a Cms_certified_students.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {Cms_certified_studentsAggregateArgs} 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 Cms_certified_studentsAggregateArgs>(args: Prisma.Subset<T, Cms_certified_studentsAggregateArgs>): Prisma.PrismaPromise<GetCms_certified_studentsAggregateType<T>>

  /**
   * Group by Cms_certified_students.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {cms_certified_studentsGroupByArgs} 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 cms_certified_studentsGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: cms_certified_studentsGroupByArgs['orderBy'] }
      : { orderBy?: cms_certified_studentsGroupByArgs['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, cms_certified_studentsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCms_certified_studentsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the cms_certified_students model
 */
readonly fields: cms_certified_studentsFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for cms_certified_students.
 * 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__cms_certified_studentsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  cms_pages<T extends Prisma.cms_pagesDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.cms_pagesDefaultArgs<ExtArgs>>): Prisma.Prisma__cms_pagesClient<runtime.Types.Result.GetResult<Prisma.$cms_pagesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  /**
   * 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 cms_certified_students model
 */
export interface cms_certified_studentsFieldRefs {
  readonly id: Prisma.FieldRef<"cms_certified_students", 'BigInt'>
  readonly page_id: Prisma.FieldRef<"cms_certified_students", 'BigInt'>
  readonly level_name: Prisma.FieldRef<"cms_certified_students", 'String'>
  readonly student_name: Prisma.FieldRef<"cms_certified_students", 'String'>
  readonly image: Prisma.FieldRef<"cms_certified_students", 'String'>
  readonly sort_order: Prisma.FieldRef<"cms_certified_students", 'Int'>
  readonly status: Prisma.FieldRef<"cms_certified_students", 'Boolean'>
  readonly created_at: Prisma.FieldRef<"cms_certified_students", 'DateTime'>
  readonly updated_at: Prisma.FieldRef<"cms_certified_students", 'DateTime'>
}
    

// Custom InputTypes
/**
 * cms_certified_students findUnique
 */
export type cms_certified_studentsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsInclude<ExtArgs> | null
  /**
   * Filter, which cms_certified_students to fetch.
   */
  where: Prisma.cms_certified_studentsWhereUniqueInput
}

/**
 * cms_certified_students findUniqueOrThrow
 */
export type cms_certified_studentsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsInclude<ExtArgs> | null
  /**
   * Filter, which cms_certified_students to fetch.
   */
  where: Prisma.cms_certified_studentsWhereUniqueInput
}

/**
 * cms_certified_students findFirst
 */
export type cms_certified_studentsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsInclude<ExtArgs> | null
  /**
   * Filter, which cms_certified_students to fetch.
   */
  where?: Prisma.cms_certified_studentsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of cms_certified_students to fetch.
   */
  orderBy?: Prisma.cms_certified_studentsOrderByWithRelationInput | Prisma.cms_certified_studentsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for cms_certified_students.
   */
  cursor?: Prisma.cms_certified_studentsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` cms_certified_students 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` cms_certified_students.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of cms_certified_students.
   */
  distinct?: Prisma.Cms_certified_studentsScalarFieldEnum | Prisma.Cms_certified_studentsScalarFieldEnum[]
}

/**
 * cms_certified_students findFirstOrThrow
 */
export type cms_certified_studentsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsInclude<ExtArgs> | null
  /**
   * Filter, which cms_certified_students to fetch.
   */
  where?: Prisma.cms_certified_studentsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of cms_certified_students to fetch.
   */
  orderBy?: Prisma.cms_certified_studentsOrderByWithRelationInput | Prisma.cms_certified_studentsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for cms_certified_students.
   */
  cursor?: Prisma.cms_certified_studentsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` cms_certified_students 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` cms_certified_students.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of cms_certified_students.
   */
  distinct?: Prisma.Cms_certified_studentsScalarFieldEnum | Prisma.Cms_certified_studentsScalarFieldEnum[]
}

/**
 * cms_certified_students findMany
 */
export type cms_certified_studentsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsInclude<ExtArgs> | null
  /**
   * Filter, which cms_certified_students to fetch.
   */
  where?: Prisma.cms_certified_studentsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of cms_certified_students to fetch.
   */
  orderBy?: Prisma.cms_certified_studentsOrderByWithRelationInput | Prisma.cms_certified_studentsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing cms_certified_students.
   */
  cursor?: Prisma.cms_certified_studentsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` cms_certified_students 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` cms_certified_students.
   */
  skip?: number
  distinct?: Prisma.Cms_certified_studentsScalarFieldEnum | Prisma.Cms_certified_studentsScalarFieldEnum[]
}

/**
 * cms_certified_students create
 */
export type cms_certified_studentsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsInclude<ExtArgs> | null
  /**
   * The data needed to create a cms_certified_students.
   */
  data: Prisma.XOR<Prisma.cms_certified_studentsCreateInput, Prisma.cms_certified_studentsUncheckedCreateInput>
}

/**
 * cms_certified_students createMany
 */
export type cms_certified_studentsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many cms_certified_students.
   */
  data: Prisma.cms_certified_studentsCreateManyInput | Prisma.cms_certified_studentsCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * cms_certified_students createManyAndReturn
 */
export type cms_certified_studentsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * The data used to create many cms_certified_students.
   */
  data: Prisma.cms_certified_studentsCreateManyInput | Prisma.cms_certified_studentsCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * cms_certified_students update
 */
export type cms_certified_studentsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsInclude<ExtArgs> | null
  /**
   * The data needed to update a cms_certified_students.
   */
  data: Prisma.XOR<Prisma.cms_certified_studentsUpdateInput, Prisma.cms_certified_studentsUncheckedUpdateInput>
  /**
   * Choose, which cms_certified_students to update.
   */
  where: Prisma.cms_certified_studentsWhereUniqueInput
}

/**
 * cms_certified_students updateMany
 */
export type cms_certified_studentsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update cms_certified_students.
   */
  data: Prisma.XOR<Prisma.cms_certified_studentsUpdateManyMutationInput, Prisma.cms_certified_studentsUncheckedUpdateManyInput>
  /**
   * Filter which cms_certified_students to update
   */
  where?: Prisma.cms_certified_studentsWhereInput
  /**
   * Limit how many cms_certified_students to update.
   */
  limit?: number
}

/**
 * cms_certified_students updateManyAndReturn
 */
export type cms_certified_studentsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * The data used to update cms_certified_students.
   */
  data: Prisma.XOR<Prisma.cms_certified_studentsUpdateManyMutationInput, Prisma.cms_certified_studentsUncheckedUpdateManyInput>
  /**
   * Filter which cms_certified_students to update
   */
  where?: Prisma.cms_certified_studentsWhereInput
  /**
   * Limit how many cms_certified_students to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * cms_certified_students upsert
 */
export type cms_certified_studentsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsInclude<ExtArgs> | null
  /**
   * The filter to search for the cms_certified_students to update in case it exists.
   */
  where: Prisma.cms_certified_studentsWhereUniqueInput
  /**
   * In case the cms_certified_students found by the `where` argument doesn't exist, create a new cms_certified_students with this data.
   */
  create: Prisma.XOR<Prisma.cms_certified_studentsCreateInput, Prisma.cms_certified_studentsUncheckedCreateInput>
  /**
   * In case the cms_certified_students was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.cms_certified_studentsUpdateInput, Prisma.cms_certified_studentsUncheckedUpdateInput>
}

/**
 * cms_certified_students delete
 */
export type cms_certified_studentsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsInclude<ExtArgs> | null
  /**
   * Filter which cms_certified_students to delete.
   */
  where: Prisma.cms_certified_studentsWhereUniqueInput
}

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

/**
 * cms_certified_students without action
 */
export type cms_certified_studentsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_certified_students
   */
  select?: Prisma.cms_certified_studentsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_certified_students
   */
  omit?: Prisma.cms_certified_studentsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_certified_studentsInclude<ExtArgs> | null
}
