
/* !!! 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_student_success` 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_student_success
 * 
 */
export type cms_student_successModel = runtime.Types.Result.DefaultSelection<Prisma.$cms_student_successPayload>

export type AggregateCms_student_success = {
  _count: Cms_student_successCountAggregateOutputType | null
  _avg: Cms_student_successAvgAggregateOutputType | null
  _sum: Cms_student_successSumAggregateOutputType | null
  _min: Cms_student_successMinAggregateOutputType | null
  _max: Cms_student_successMaxAggregateOutputType | null
}

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

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

export type Cms_student_successMinAggregateOutputType = {
  id: bigint | null
  page_id: bigint | null
  title: string | null
  image: string | null
  content_html: string | null
  sort_order: number | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
}

export type Cms_student_successMaxAggregateOutputType = {
  id: bigint | null
  page_id: bigint | null
  title: string | null
  image: string | null
  content_html: string | null
  sort_order: number | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
}

export type Cms_student_successCountAggregateOutputType = {
  id: number
  page_id: number
  title: number
  image: number
  content_html: number
  sort_order: number
  status: number
  created_at: number
  updated_at: number
  _all: number
}


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

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

export type Cms_student_successMinAggregateInputType = {
  id?: true
  page_id?: true
  title?: true
  image?: true
  content_html?: true
  sort_order?: true
  status?: true
  created_at?: true
  updated_at?: true
}

export type Cms_student_successMaxAggregateInputType = {
  id?: true
  page_id?: true
  title?: true
  image?: true
  content_html?: true
  sort_order?: true
  status?: true
  created_at?: true
  updated_at?: true
}

export type Cms_student_successCountAggregateInputType = {
  id?: true
  page_id?: true
  title?: true
  image?: true
  content_html?: true
  sort_order?: true
  status?: true
  created_at?: true
  updated_at?: true
  _all?: true
}

export type Cms_student_successAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which cms_student_success to aggregate.
   */
  where?: Prisma.cms_student_successWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of cms_student_successes to fetch.
   */
  orderBy?: Prisma.cms_student_successOrderByWithRelationInput | Prisma.cms_student_successOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.cms_student_successWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` cms_student_successes 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_student_successes.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned cms_student_successes
  **/
  _count?: true | Cms_student_successCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Cms_student_successAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Cms_student_successSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Cms_student_successMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Cms_student_successMaxAggregateInputType
}

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




export type cms_student_successGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.cms_student_successWhereInput
  orderBy?: Prisma.cms_student_successOrderByWithAggregationInput | Prisma.cms_student_successOrderByWithAggregationInput[]
  by: Prisma.Cms_student_successScalarFieldEnum[] | Prisma.Cms_student_successScalarFieldEnum
  having?: Prisma.cms_student_successScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Cms_student_successCountAggregateInputType | true
  _avg?: Cms_student_successAvgAggregateInputType
  _sum?: Cms_student_successSumAggregateInputType
  _min?: Cms_student_successMinAggregateInputType
  _max?: Cms_student_successMaxAggregateInputType
}

export type Cms_student_successGroupByOutputType = {
  id: bigint
  page_id: bigint
  title: string
  image: string | null
  content_html: string | null
  sort_order: number | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
  _count: Cms_student_successCountAggregateOutputType | null
  _avg: Cms_student_successAvgAggregateOutputType | null
  _sum: Cms_student_successSumAggregateOutputType | null
  _min: Cms_student_successMinAggregateOutputType | null
  _max: Cms_student_successMaxAggregateOutputType | null
}

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



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

export type cms_student_successOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  image?: Prisma.SortOrderInput | Prisma.SortOrder
  content_html?: 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_student_successWhereUniqueInput = Prisma.AtLeast<{
  id?: bigint | number
  AND?: Prisma.cms_student_successWhereInput | Prisma.cms_student_successWhereInput[]
  OR?: Prisma.cms_student_successWhereInput[]
  NOT?: Prisma.cms_student_successWhereInput | Prisma.cms_student_successWhereInput[]
  page_id?: Prisma.BigIntFilter<"cms_student_success"> | bigint | number
  title?: Prisma.StringFilter<"cms_student_success"> | string
  image?: Prisma.StringNullableFilter<"cms_student_success"> | string | null
  content_html?: Prisma.StringNullableFilter<"cms_student_success"> | string | null
  sort_order?: Prisma.IntNullableFilter<"cms_student_success"> | number | null
  status?: Prisma.BoolNullableFilter<"cms_student_success"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"cms_student_success"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"cms_student_success"> | Date | string | null
  cms_pages?: Prisma.XOR<Prisma.Cms_pagesScalarRelationFilter, Prisma.cms_pagesWhereInput>
}, "id">

export type cms_student_successOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  image?: Prisma.SortOrderInput | Prisma.SortOrder
  content_html?: 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_student_successCountOrderByAggregateInput
  _avg?: Prisma.cms_student_successAvgOrderByAggregateInput
  _max?: Prisma.cms_student_successMaxOrderByAggregateInput
  _min?: Prisma.cms_student_successMinOrderByAggregateInput
  _sum?: Prisma.cms_student_successSumOrderByAggregateInput
}

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

export type cms_student_successCreateInput = {
  id?: bigint | number
  title: string
  image?: string | null
  content_html?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
  cms_pages: Prisma.cms_pagesCreateNestedOneWithoutCms_student_successInput
}

export type cms_student_successUncheckedCreateInput = {
  id?: bigint | number
  page_id: bigint | number
  title: string
  image?: string | null
  content_html?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_student_successUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content_html?: 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_student_successNestedInput
}

export type cms_student_successUncheckedUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  page_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content_html?: 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_student_successCreateManyInput = {
  id?: bigint | number
  page_id: bigint | number
  title: string
  image?: string | null
  content_html?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_student_successUpdateManyMutationInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content_html?: 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_student_successUncheckedUpdateManyInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  page_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content_html?: 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_student_successListRelationFilter = {
  every?: Prisma.cms_student_successWhereInput
  some?: Prisma.cms_student_successWhereInput
  none?: Prisma.cms_student_successWhereInput
}

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

export type cms_student_successCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  image?: Prisma.SortOrder
  content_html?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

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

export type cms_student_successMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  image?: Prisma.SortOrder
  content_html?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type cms_student_successMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  image?: Prisma.SortOrder
  content_html?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

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

export type cms_student_successCreateNestedManyWithoutCms_pagesInput = {
  create?: Prisma.XOR<Prisma.cms_student_successCreateWithoutCms_pagesInput, Prisma.cms_student_successUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_student_successCreateWithoutCms_pagesInput[] | Prisma.cms_student_successUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_student_successCreateOrConnectWithoutCms_pagesInput | Prisma.cms_student_successCreateOrConnectWithoutCms_pagesInput[]
  createMany?: Prisma.cms_student_successCreateManyCms_pagesInputEnvelope
  connect?: Prisma.cms_student_successWhereUniqueInput | Prisma.cms_student_successWhereUniqueInput[]
}

export type cms_student_successUncheckedCreateNestedManyWithoutCms_pagesInput = {
  create?: Prisma.XOR<Prisma.cms_student_successCreateWithoutCms_pagesInput, Prisma.cms_student_successUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_student_successCreateWithoutCms_pagesInput[] | Prisma.cms_student_successUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_student_successCreateOrConnectWithoutCms_pagesInput | Prisma.cms_student_successCreateOrConnectWithoutCms_pagesInput[]
  createMany?: Prisma.cms_student_successCreateManyCms_pagesInputEnvelope
  connect?: Prisma.cms_student_successWhereUniqueInput | Prisma.cms_student_successWhereUniqueInput[]
}

export type cms_student_successUpdateManyWithoutCms_pagesNestedInput = {
  create?: Prisma.XOR<Prisma.cms_student_successCreateWithoutCms_pagesInput, Prisma.cms_student_successUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_student_successCreateWithoutCms_pagesInput[] | Prisma.cms_student_successUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_student_successCreateOrConnectWithoutCms_pagesInput | Prisma.cms_student_successCreateOrConnectWithoutCms_pagesInput[]
  upsert?: Prisma.cms_student_successUpsertWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_student_successUpsertWithWhereUniqueWithoutCms_pagesInput[]
  createMany?: Prisma.cms_student_successCreateManyCms_pagesInputEnvelope
  set?: Prisma.cms_student_successWhereUniqueInput | Prisma.cms_student_successWhereUniqueInput[]
  disconnect?: Prisma.cms_student_successWhereUniqueInput | Prisma.cms_student_successWhereUniqueInput[]
  delete?: Prisma.cms_student_successWhereUniqueInput | Prisma.cms_student_successWhereUniqueInput[]
  connect?: Prisma.cms_student_successWhereUniqueInput | Prisma.cms_student_successWhereUniqueInput[]
  update?: Prisma.cms_student_successUpdateWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_student_successUpdateWithWhereUniqueWithoutCms_pagesInput[]
  updateMany?: Prisma.cms_student_successUpdateManyWithWhereWithoutCms_pagesInput | Prisma.cms_student_successUpdateManyWithWhereWithoutCms_pagesInput[]
  deleteMany?: Prisma.cms_student_successScalarWhereInput | Prisma.cms_student_successScalarWhereInput[]
}

export type cms_student_successUncheckedUpdateManyWithoutCms_pagesNestedInput = {
  create?: Prisma.XOR<Prisma.cms_student_successCreateWithoutCms_pagesInput, Prisma.cms_student_successUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_student_successCreateWithoutCms_pagesInput[] | Prisma.cms_student_successUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_student_successCreateOrConnectWithoutCms_pagesInput | Prisma.cms_student_successCreateOrConnectWithoutCms_pagesInput[]
  upsert?: Prisma.cms_student_successUpsertWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_student_successUpsertWithWhereUniqueWithoutCms_pagesInput[]
  createMany?: Prisma.cms_student_successCreateManyCms_pagesInputEnvelope
  set?: Prisma.cms_student_successWhereUniqueInput | Prisma.cms_student_successWhereUniqueInput[]
  disconnect?: Prisma.cms_student_successWhereUniqueInput | Prisma.cms_student_successWhereUniqueInput[]
  delete?: Prisma.cms_student_successWhereUniqueInput | Prisma.cms_student_successWhereUniqueInput[]
  connect?: Prisma.cms_student_successWhereUniqueInput | Prisma.cms_student_successWhereUniqueInput[]
  update?: Prisma.cms_student_successUpdateWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_student_successUpdateWithWhereUniqueWithoutCms_pagesInput[]
  updateMany?: Prisma.cms_student_successUpdateManyWithWhereWithoutCms_pagesInput | Prisma.cms_student_successUpdateManyWithWhereWithoutCms_pagesInput[]
  deleteMany?: Prisma.cms_student_successScalarWhereInput | Prisma.cms_student_successScalarWhereInput[]
}

export type cms_student_successCreateWithoutCms_pagesInput = {
  id?: bigint | number
  title: string
  image?: string | null
  content_html?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_student_successUncheckedCreateWithoutCms_pagesInput = {
  id?: bigint | number
  title: string
  image?: string | null
  content_html?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_student_successCreateOrConnectWithoutCms_pagesInput = {
  where: Prisma.cms_student_successWhereUniqueInput
  create: Prisma.XOR<Prisma.cms_student_successCreateWithoutCms_pagesInput, Prisma.cms_student_successUncheckedCreateWithoutCms_pagesInput>
}

export type cms_student_successCreateManyCms_pagesInputEnvelope = {
  data: Prisma.cms_student_successCreateManyCms_pagesInput | Prisma.cms_student_successCreateManyCms_pagesInput[]
  skipDuplicates?: boolean
}

export type cms_student_successUpsertWithWhereUniqueWithoutCms_pagesInput = {
  where: Prisma.cms_student_successWhereUniqueInput
  update: Prisma.XOR<Prisma.cms_student_successUpdateWithoutCms_pagesInput, Prisma.cms_student_successUncheckedUpdateWithoutCms_pagesInput>
  create: Prisma.XOR<Prisma.cms_student_successCreateWithoutCms_pagesInput, Prisma.cms_student_successUncheckedCreateWithoutCms_pagesInput>
}

export type cms_student_successUpdateWithWhereUniqueWithoutCms_pagesInput = {
  where: Prisma.cms_student_successWhereUniqueInput
  data: Prisma.XOR<Prisma.cms_student_successUpdateWithoutCms_pagesInput, Prisma.cms_student_successUncheckedUpdateWithoutCms_pagesInput>
}

export type cms_student_successUpdateManyWithWhereWithoutCms_pagesInput = {
  where: Prisma.cms_student_successScalarWhereInput
  data: Prisma.XOR<Prisma.cms_student_successUpdateManyMutationInput, Prisma.cms_student_successUncheckedUpdateManyWithoutCms_pagesInput>
}

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

export type cms_student_successCreateManyCms_pagesInput = {
  id?: bigint | number
  title: string
  image?: string | null
  content_html?: string | null
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_student_successUpdateWithoutCms_pagesInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content_html?: 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_student_successUncheckedUpdateWithoutCms_pagesInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content_html?: 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_student_successUncheckedUpdateManyWithoutCms_pagesInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content_html?: 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_student_successSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  page_id?: boolean
  title?: boolean
  image?: boolean
  content_html?: boolean
  sort_order?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}, ExtArgs["result"]["cms_student_success"]>

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

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

export type cms_student_successSelectScalar = {
  id?: boolean
  page_id?: boolean
  title?: boolean
  image?: boolean
  content_html?: boolean
  sort_order?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
}

export type cms_student_successOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "page_id" | "title" | "image" | "content_html" | "sort_order" | "status" | "created_at" | "updated_at", ExtArgs["result"]["cms_student_success"]>
export type cms_student_successInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}
export type cms_student_successIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}
export type cms_student_successIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}

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

export type cms_student_successGetPayload<S extends boolean | null | undefined | cms_student_successDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$cms_student_successPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for cms_student_success.
 * 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_student_successClient<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_student_success model
 */
export interface cms_student_successFieldRefs {
  readonly id: Prisma.FieldRef<"cms_student_success", 'BigInt'>
  readonly page_id: Prisma.FieldRef<"cms_student_success", 'BigInt'>
  readonly title: Prisma.FieldRef<"cms_student_success", 'String'>
  readonly image: Prisma.FieldRef<"cms_student_success", 'String'>
  readonly content_html: Prisma.FieldRef<"cms_student_success", 'String'>
  readonly sort_order: Prisma.FieldRef<"cms_student_success", 'Int'>
  readonly status: Prisma.FieldRef<"cms_student_success", 'Boolean'>
  readonly created_at: Prisma.FieldRef<"cms_student_success", 'DateTime'>
  readonly updated_at: Prisma.FieldRef<"cms_student_success", 'DateTime'>
}
    

// Custom InputTypes
/**
 * cms_student_success findUnique
 */
export type cms_student_successFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_student_success
   */
  select?: Prisma.cms_student_successSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_student_success
   */
  omit?: Prisma.cms_student_successOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_student_successInclude<ExtArgs> | null
  /**
   * Filter, which cms_student_success to fetch.
   */
  where: Prisma.cms_student_successWhereUniqueInput
}

/**
 * cms_student_success findUniqueOrThrow
 */
export type cms_student_successFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_student_success
   */
  select?: Prisma.cms_student_successSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_student_success
   */
  omit?: Prisma.cms_student_successOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_student_successInclude<ExtArgs> | null
  /**
   * Filter, which cms_student_success to fetch.
   */
  where: Prisma.cms_student_successWhereUniqueInput
}

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

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

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

/**
 * cms_student_success create
 */
export type cms_student_successCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_student_success
   */
  select?: Prisma.cms_student_successSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_student_success
   */
  omit?: Prisma.cms_student_successOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_student_successInclude<ExtArgs> | null
  /**
   * The data needed to create a cms_student_success.
   */
  data: Prisma.XOR<Prisma.cms_student_successCreateInput, Prisma.cms_student_successUncheckedCreateInput>
}

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

/**
 * cms_student_success createManyAndReturn
 */
export type cms_student_successCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_student_success
   */
  select?: Prisma.cms_student_successSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the cms_student_success
   */
  omit?: Prisma.cms_student_successOmit<ExtArgs> | null
  /**
   * The data used to create many cms_student_successes.
   */
  data: Prisma.cms_student_successCreateManyInput | Prisma.cms_student_successCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_student_successIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * cms_student_success update
 */
export type cms_student_successUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_student_success
   */
  select?: Prisma.cms_student_successSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_student_success
   */
  omit?: Prisma.cms_student_successOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_student_successInclude<ExtArgs> | null
  /**
   * The data needed to update a cms_student_success.
   */
  data: Prisma.XOR<Prisma.cms_student_successUpdateInput, Prisma.cms_student_successUncheckedUpdateInput>
  /**
   * Choose, which cms_student_success to update.
   */
  where: Prisma.cms_student_successWhereUniqueInput
}

/**
 * cms_student_success updateMany
 */
export type cms_student_successUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update cms_student_successes.
   */
  data: Prisma.XOR<Prisma.cms_student_successUpdateManyMutationInput, Prisma.cms_student_successUncheckedUpdateManyInput>
  /**
   * Filter which cms_student_successes to update
   */
  where?: Prisma.cms_student_successWhereInput
  /**
   * Limit how many cms_student_successes to update.
   */
  limit?: number
}

/**
 * cms_student_success updateManyAndReturn
 */
export type cms_student_successUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_student_success
   */
  select?: Prisma.cms_student_successSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the cms_student_success
   */
  omit?: Prisma.cms_student_successOmit<ExtArgs> | null
  /**
   * The data used to update cms_student_successes.
   */
  data: Prisma.XOR<Prisma.cms_student_successUpdateManyMutationInput, Prisma.cms_student_successUncheckedUpdateManyInput>
  /**
   * Filter which cms_student_successes to update
   */
  where?: Prisma.cms_student_successWhereInput
  /**
   * Limit how many cms_student_successes to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_student_successIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * cms_student_success upsert
 */
export type cms_student_successUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_student_success
   */
  select?: Prisma.cms_student_successSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_student_success
   */
  omit?: Prisma.cms_student_successOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_student_successInclude<ExtArgs> | null
  /**
   * The filter to search for the cms_student_success to update in case it exists.
   */
  where: Prisma.cms_student_successWhereUniqueInput
  /**
   * In case the cms_student_success found by the `where` argument doesn't exist, create a new cms_student_success with this data.
   */
  create: Prisma.XOR<Prisma.cms_student_successCreateInput, Prisma.cms_student_successUncheckedCreateInput>
  /**
   * In case the cms_student_success was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.cms_student_successUpdateInput, Prisma.cms_student_successUncheckedUpdateInput>
}

/**
 * cms_student_success delete
 */
export type cms_student_successDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_student_success
   */
  select?: Prisma.cms_student_successSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_student_success
   */
  omit?: Prisma.cms_student_successOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_student_successInclude<ExtArgs> | null
  /**
   * Filter which cms_student_success to delete.
   */
  where: Prisma.cms_student_successWhereUniqueInput
}

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

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