
/* !!! 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_training_approach` 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_training_approach
 * 
 */
export type cms_training_approachModel = runtime.Types.Result.DefaultSelection<Prisma.$cms_training_approachPayload>

export type AggregateCms_training_approach = {
  _count: Cms_training_approachCountAggregateOutputType | null
  _avg: Cms_training_approachAvgAggregateOutputType | null
  _sum: Cms_training_approachSumAggregateOutputType | null
  _min: Cms_training_approachMinAggregateOutputType | null
  _max: Cms_training_approachMaxAggregateOutputType | null
}

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

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

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

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

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


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

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

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

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

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

export type Cms_training_approachAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which cms_training_approach to aggregate.
   */
  where?: Prisma.cms_training_approachWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of cms_training_approaches to fetch.
   */
  orderBy?: Prisma.cms_training_approachOrderByWithRelationInput | Prisma.cms_training_approachOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.cms_training_approachWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` cms_training_approaches 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_training_approaches.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned cms_training_approaches
  **/
  _count?: true | Cms_training_approachCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Cms_training_approachAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Cms_training_approachSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Cms_training_approachMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Cms_training_approachMaxAggregateInputType
}

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




export type cms_training_approachGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.cms_training_approachWhereInput
  orderBy?: Prisma.cms_training_approachOrderByWithAggregationInput | Prisma.cms_training_approachOrderByWithAggregationInput[]
  by: Prisma.Cms_training_approachScalarFieldEnum[] | Prisma.Cms_training_approachScalarFieldEnum
  having?: Prisma.cms_training_approachScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Cms_training_approachCountAggregateInputType | true
  _avg?: Cms_training_approachAvgAggregateInputType
  _sum?: Cms_training_approachSumAggregateInputType
  _min?: Cms_training_approachMinAggregateInputType
  _max?: Cms_training_approachMaxAggregateInputType
}

export type Cms_training_approachGroupByOutputType = {
  id: bigint
  page_id: bigint
  title: string
  description: string | null
  image: string | null
  sort_order: number | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
  _count: Cms_training_approachCountAggregateOutputType | null
  _avg: Cms_training_approachAvgAggregateOutputType | null
  _sum: Cms_training_approachSumAggregateOutputType | null
  _min: Cms_training_approachMinAggregateOutputType | null
  _max: Cms_training_approachMaxAggregateOutputType | null
}

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



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

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

export type cms_training_approachOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  description?: Prisma.SortOrderInput | 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_training_approachCountOrderByAggregateInput
  _avg?: Prisma.cms_training_approachAvgOrderByAggregateInput
  _max?: Prisma.cms_training_approachMaxOrderByAggregateInput
  _min?: Prisma.cms_training_approachMinOrderByAggregateInput
  _sum?: Prisma.cms_training_approachSumOrderByAggregateInput
}

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

export type cms_training_approachCreateInput = {
  id?: bigint | number
  title: string
  description?: string | null
  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_training_approachInput
}

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

export type cms_training_approachUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  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_training_approachNestedInput
}

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

export type cms_training_approachUpdateManyMutationInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  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_training_approachUncheckedUpdateManyInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  page_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  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_training_approachListRelationFilter = {
  every?: Prisma.cms_training_approachWhereInput
  some?: Prisma.cms_training_approachWhereInput
  none?: Prisma.cms_training_approachWhereInput
}

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

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

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

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

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

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

export type cms_training_approachCreateNestedManyWithoutCms_pagesInput = {
  create?: Prisma.XOR<Prisma.cms_training_approachCreateWithoutCms_pagesInput, Prisma.cms_training_approachUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_training_approachCreateWithoutCms_pagesInput[] | Prisma.cms_training_approachUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_training_approachCreateOrConnectWithoutCms_pagesInput | Prisma.cms_training_approachCreateOrConnectWithoutCms_pagesInput[]
  createMany?: Prisma.cms_training_approachCreateManyCms_pagesInputEnvelope
  connect?: Prisma.cms_training_approachWhereUniqueInput | Prisma.cms_training_approachWhereUniqueInput[]
}

export type cms_training_approachUncheckedCreateNestedManyWithoutCms_pagesInput = {
  create?: Prisma.XOR<Prisma.cms_training_approachCreateWithoutCms_pagesInput, Prisma.cms_training_approachUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_training_approachCreateWithoutCms_pagesInput[] | Prisma.cms_training_approachUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_training_approachCreateOrConnectWithoutCms_pagesInput | Prisma.cms_training_approachCreateOrConnectWithoutCms_pagesInput[]
  createMany?: Prisma.cms_training_approachCreateManyCms_pagesInputEnvelope
  connect?: Prisma.cms_training_approachWhereUniqueInput | Prisma.cms_training_approachWhereUniqueInput[]
}

export type cms_training_approachUpdateManyWithoutCms_pagesNestedInput = {
  create?: Prisma.XOR<Prisma.cms_training_approachCreateWithoutCms_pagesInput, Prisma.cms_training_approachUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_training_approachCreateWithoutCms_pagesInput[] | Prisma.cms_training_approachUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_training_approachCreateOrConnectWithoutCms_pagesInput | Prisma.cms_training_approachCreateOrConnectWithoutCms_pagesInput[]
  upsert?: Prisma.cms_training_approachUpsertWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_training_approachUpsertWithWhereUniqueWithoutCms_pagesInput[]
  createMany?: Prisma.cms_training_approachCreateManyCms_pagesInputEnvelope
  set?: Prisma.cms_training_approachWhereUniqueInput | Prisma.cms_training_approachWhereUniqueInput[]
  disconnect?: Prisma.cms_training_approachWhereUniqueInput | Prisma.cms_training_approachWhereUniqueInput[]
  delete?: Prisma.cms_training_approachWhereUniqueInput | Prisma.cms_training_approachWhereUniqueInput[]
  connect?: Prisma.cms_training_approachWhereUniqueInput | Prisma.cms_training_approachWhereUniqueInput[]
  update?: Prisma.cms_training_approachUpdateWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_training_approachUpdateWithWhereUniqueWithoutCms_pagesInput[]
  updateMany?: Prisma.cms_training_approachUpdateManyWithWhereWithoutCms_pagesInput | Prisma.cms_training_approachUpdateManyWithWhereWithoutCms_pagesInput[]
  deleteMany?: Prisma.cms_training_approachScalarWhereInput | Prisma.cms_training_approachScalarWhereInput[]
}

export type cms_training_approachUncheckedUpdateManyWithoutCms_pagesNestedInput = {
  create?: Prisma.XOR<Prisma.cms_training_approachCreateWithoutCms_pagesInput, Prisma.cms_training_approachUncheckedCreateWithoutCms_pagesInput> | Prisma.cms_training_approachCreateWithoutCms_pagesInput[] | Prisma.cms_training_approachUncheckedCreateWithoutCms_pagesInput[]
  connectOrCreate?: Prisma.cms_training_approachCreateOrConnectWithoutCms_pagesInput | Prisma.cms_training_approachCreateOrConnectWithoutCms_pagesInput[]
  upsert?: Prisma.cms_training_approachUpsertWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_training_approachUpsertWithWhereUniqueWithoutCms_pagesInput[]
  createMany?: Prisma.cms_training_approachCreateManyCms_pagesInputEnvelope
  set?: Prisma.cms_training_approachWhereUniqueInput | Prisma.cms_training_approachWhereUniqueInput[]
  disconnect?: Prisma.cms_training_approachWhereUniqueInput | Prisma.cms_training_approachWhereUniqueInput[]
  delete?: Prisma.cms_training_approachWhereUniqueInput | Prisma.cms_training_approachWhereUniqueInput[]
  connect?: Prisma.cms_training_approachWhereUniqueInput | Prisma.cms_training_approachWhereUniqueInput[]
  update?: Prisma.cms_training_approachUpdateWithWhereUniqueWithoutCms_pagesInput | Prisma.cms_training_approachUpdateWithWhereUniqueWithoutCms_pagesInput[]
  updateMany?: Prisma.cms_training_approachUpdateManyWithWhereWithoutCms_pagesInput | Prisma.cms_training_approachUpdateManyWithWhereWithoutCms_pagesInput[]
  deleteMany?: Prisma.cms_training_approachScalarWhereInput | Prisma.cms_training_approachScalarWhereInput[]
}

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

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

export type cms_training_approachCreateOrConnectWithoutCms_pagesInput = {
  where: Prisma.cms_training_approachWhereUniqueInput
  create: Prisma.XOR<Prisma.cms_training_approachCreateWithoutCms_pagesInput, Prisma.cms_training_approachUncheckedCreateWithoutCms_pagesInput>
}

export type cms_training_approachCreateManyCms_pagesInputEnvelope = {
  data: Prisma.cms_training_approachCreateManyCms_pagesInput | Prisma.cms_training_approachCreateManyCms_pagesInput[]
  skipDuplicates?: boolean
}

export type cms_training_approachUpsertWithWhereUniqueWithoutCms_pagesInput = {
  where: Prisma.cms_training_approachWhereUniqueInput
  update: Prisma.XOR<Prisma.cms_training_approachUpdateWithoutCms_pagesInput, Prisma.cms_training_approachUncheckedUpdateWithoutCms_pagesInput>
  create: Prisma.XOR<Prisma.cms_training_approachCreateWithoutCms_pagesInput, Prisma.cms_training_approachUncheckedCreateWithoutCms_pagesInput>
}

export type cms_training_approachUpdateWithWhereUniqueWithoutCms_pagesInput = {
  where: Prisma.cms_training_approachWhereUniqueInput
  data: Prisma.XOR<Prisma.cms_training_approachUpdateWithoutCms_pagesInput, Prisma.cms_training_approachUncheckedUpdateWithoutCms_pagesInput>
}

export type cms_training_approachUpdateManyWithWhereWithoutCms_pagesInput = {
  where: Prisma.cms_training_approachScalarWhereInput
  data: Prisma.XOR<Prisma.cms_training_approachUpdateManyMutationInput, Prisma.cms_training_approachUncheckedUpdateManyWithoutCms_pagesInput>
}

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

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

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

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

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

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

export type cms_training_approachOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "page_id" | "title" | "description" | "image" | "sort_order" | "status" | "created_at" | "updated_at", ExtArgs["result"]["cms_training_approach"]>
export type cms_training_approachInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}
export type cms_training_approachIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}
export type cms_training_approachIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}

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

export type cms_training_approachGetPayload<S extends boolean | null | undefined | cms_training_approachDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$cms_training_approachPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

// Custom InputTypes
/**
 * cms_training_approach findUnique
 */
export type cms_training_approachFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_training_approach
   */
  select?: Prisma.cms_training_approachSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_training_approach
   */
  omit?: Prisma.cms_training_approachOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_training_approachInclude<ExtArgs> | null
  /**
   * Filter, which cms_training_approach to fetch.
   */
  where: Prisma.cms_training_approachWhereUniqueInput
}

/**
 * cms_training_approach findUniqueOrThrow
 */
export type cms_training_approachFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_training_approach
   */
  select?: Prisma.cms_training_approachSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_training_approach
   */
  omit?: Prisma.cms_training_approachOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_training_approachInclude<ExtArgs> | null
  /**
   * Filter, which cms_training_approach to fetch.
   */
  where: Prisma.cms_training_approachWhereUniqueInput
}

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

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

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

/**
 * cms_training_approach create
 */
export type cms_training_approachCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_training_approach
   */
  select?: Prisma.cms_training_approachSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_training_approach
   */
  omit?: Prisma.cms_training_approachOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_training_approachInclude<ExtArgs> | null
  /**
   * The data needed to create a cms_training_approach.
   */
  data: Prisma.XOR<Prisma.cms_training_approachCreateInput, Prisma.cms_training_approachUncheckedCreateInput>
}

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

/**
 * cms_training_approach createManyAndReturn
 */
export type cms_training_approachCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_training_approach
   */
  select?: Prisma.cms_training_approachSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the cms_training_approach
   */
  omit?: Prisma.cms_training_approachOmit<ExtArgs> | null
  /**
   * The data used to create many cms_training_approaches.
   */
  data: Prisma.cms_training_approachCreateManyInput | Prisma.cms_training_approachCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_training_approachIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * cms_training_approach update
 */
export type cms_training_approachUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_training_approach
   */
  select?: Prisma.cms_training_approachSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_training_approach
   */
  omit?: Prisma.cms_training_approachOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_training_approachInclude<ExtArgs> | null
  /**
   * The data needed to update a cms_training_approach.
   */
  data: Prisma.XOR<Prisma.cms_training_approachUpdateInput, Prisma.cms_training_approachUncheckedUpdateInput>
  /**
   * Choose, which cms_training_approach to update.
   */
  where: Prisma.cms_training_approachWhereUniqueInput
}

/**
 * cms_training_approach updateMany
 */
export type cms_training_approachUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update cms_training_approaches.
   */
  data: Prisma.XOR<Prisma.cms_training_approachUpdateManyMutationInput, Prisma.cms_training_approachUncheckedUpdateManyInput>
  /**
   * Filter which cms_training_approaches to update
   */
  where?: Prisma.cms_training_approachWhereInput
  /**
   * Limit how many cms_training_approaches to update.
   */
  limit?: number
}

/**
 * cms_training_approach updateManyAndReturn
 */
export type cms_training_approachUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_training_approach
   */
  select?: Prisma.cms_training_approachSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the cms_training_approach
   */
  omit?: Prisma.cms_training_approachOmit<ExtArgs> | null
  /**
   * The data used to update cms_training_approaches.
   */
  data: Prisma.XOR<Prisma.cms_training_approachUpdateManyMutationInput, Prisma.cms_training_approachUncheckedUpdateManyInput>
  /**
   * Filter which cms_training_approaches to update
   */
  where?: Prisma.cms_training_approachWhereInput
  /**
   * Limit how many cms_training_approaches to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_training_approachIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * cms_training_approach upsert
 */
export type cms_training_approachUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_training_approach
   */
  select?: Prisma.cms_training_approachSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_training_approach
   */
  omit?: Prisma.cms_training_approachOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_training_approachInclude<ExtArgs> | null
  /**
   * The filter to search for the cms_training_approach to update in case it exists.
   */
  where: Prisma.cms_training_approachWhereUniqueInput
  /**
   * In case the cms_training_approach found by the `where` argument doesn't exist, create a new cms_training_approach with this data.
   */
  create: Prisma.XOR<Prisma.cms_training_approachCreateInput, Prisma.cms_training_approachUncheckedCreateInput>
  /**
   * In case the cms_training_approach was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.cms_training_approachUpdateInput, Prisma.cms_training_approachUncheckedUpdateInput>
}

/**
 * cms_training_approach delete
 */
export type cms_training_approachDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_training_approach
   */
  select?: Prisma.cms_training_approachSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_training_approach
   */
  omit?: Prisma.cms_training_approachOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_training_approachInclude<ExtArgs> | null
  /**
   * Filter which cms_training_approach to delete.
   */
  where: Prisma.cms_training_approachWhereUniqueInput
}

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

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