
/* !!! 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_contact` 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_contact
 * 
 */
export type cms_contactModel = runtime.Types.Result.DefaultSelection<Prisma.$cms_contactPayload>

export type AggregateCms_contact = {
  _count: Cms_contactCountAggregateOutputType | null
  _avg: Cms_contactAvgAggregateOutputType | null
  _sum: Cms_contactSumAggregateOutputType | null
  _min: Cms_contactMinAggregateOutputType | null
  _max: Cms_contactMaxAggregateOutputType | null
}

export type Cms_contactAvgAggregateOutputType = {
  id: number | null
  page_id: number | null
}

export type Cms_contactSumAggregateOutputType = {
  id: bigint | null
  page_id: bigint | null
}

export type Cms_contactMinAggregateOutputType = {
  id: bigint | null
  page_id: bigint | null
  section_name: string | null
  html_content: string | null
  in_person_heading: string | null
  in_person_content: string | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
}

export type Cms_contactMaxAggregateOutputType = {
  id: bigint | null
  page_id: bigint | null
  section_name: string | null
  html_content: string | null
  in_person_heading: string | null
  in_person_content: string | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
}

export type Cms_contactCountAggregateOutputType = {
  id: number
  page_id: number
  section_name: number
  html_content: number
  in_person_heading: number
  in_person_content: number
  status: number
  created_at: number
  updated_at: number
  _all: number
}


export type Cms_contactAvgAggregateInputType = {
  id?: true
  page_id?: true
}

export type Cms_contactSumAggregateInputType = {
  id?: true
  page_id?: true
}

export type Cms_contactMinAggregateInputType = {
  id?: true
  page_id?: true
  section_name?: true
  html_content?: true
  in_person_heading?: true
  in_person_content?: true
  status?: true
  created_at?: true
  updated_at?: true
}

export type Cms_contactMaxAggregateInputType = {
  id?: true
  page_id?: true
  section_name?: true
  html_content?: true
  in_person_heading?: true
  in_person_content?: true
  status?: true
  created_at?: true
  updated_at?: true
}

export type Cms_contactCountAggregateInputType = {
  id?: true
  page_id?: true
  section_name?: true
  html_content?: true
  in_person_heading?: true
  in_person_content?: true
  status?: true
  created_at?: true
  updated_at?: true
  _all?: true
}

export type Cms_contactAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which cms_contact to aggregate.
   */
  where?: Prisma.cms_contactWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of cms_contacts to fetch.
   */
  orderBy?: Prisma.cms_contactOrderByWithRelationInput | Prisma.cms_contactOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.cms_contactWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` cms_contacts 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_contacts.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned cms_contacts
  **/
  _count?: true | Cms_contactCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Cms_contactAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Cms_contactSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Cms_contactMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Cms_contactMaxAggregateInputType
}

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




export type cms_contactGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.cms_contactWhereInput
  orderBy?: Prisma.cms_contactOrderByWithAggregationInput | Prisma.cms_contactOrderByWithAggregationInput[]
  by: Prisma.Cms_contactScalarFieldEnum[] | Prisma.Cms_contactScalarFieldEnum
  having?: Prisma.cms_contactScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Cms_contactCountAggregateInputType | true
  _avg?: Cms_contactAvgAggregateInputType
  _sum?: Cms_contactSumAggregateInputType
  _min?: Cms_contactMinAggregateInputType
  _max?: Cms_contactMaxAggregateInputType
}

export type Cms_contactGroupByOutputType = {
  id: bigint
  page_id: bigint
  section_name: string | null
  html_content: string | null
  in_person_heading: string | null
  in_person_content: string | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
  _count: Cms_contactCountAggregateOutputType | null
  _avg: Cms_contactAvgAggregateOutputType | null
  _sum: Cms_contactSumAggregateOutputType | null
  _min: Cms_contactMinAggregateOutputType | null
  _max: Cms_contactMaxAggregateOutputType | null
}

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



export type cms_contactWhereInput = {
  AND?: Prisma.cms_contactWhereInput | Prisma.cms_contactWhereInput[]
  OR?: Prisma.cms_contactWhereInput[]
  NOT?: Prisma.cms_contactWhereInput | Prisma.cms_contactWhereInput[]
  id?: Prisma.BigIntFilter<"cms_contact"> | bigint | number
  page_id?: Prisma.BigIntFilter<"cms_contact"> | bigint | number
  section_name?: Prisma.StringNullableFilter<"cms_contact"> | string | null
  html_content?: Prisma.StringNullableFilter<"cms_contact"> | string | null
  in_person_heading?: Prisma.StringNullableFilter<"cms_contact"> | string | null
  in_person_content?: Prisma.StringNullableFilter<"cms_contact"> | string | null
  status?: Prisma.BoolNullableFilter<"cms_contact"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"cms_contact"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"cms_contact"> | Date | string | null
  cms_pages?: Prisma.XOR<Prisma.Cms_pagesScalarRelationFilter, Prisma.cms_pagesWhereInput>
}

export type cms_contactOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  section_name?: Prisma.SortOrderInput | Prisma.SortOrder
  html_content?: Prisma.SortOrderInput | Prisma.SortOrder
  in_person_heading?: Prisma.SortOrderInput | Prisma.SortOrder
  in_person_content?: 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_contactWhereUniqueInput = Prisma.AtLeast<{
  id?: bigint | number
  page_id?: bigint | number
  AND?: Prisma.cms_contactWhereInput | Prisma.cms_contactWhereInput[]
  OR?: Prisma.cms_contactWhereInput[]
  NOT?: Prisma.cms_contactWhereInput | Prisma.cms_contactWhereInput[]
  section_name?: Prisma.StringNullableFilter<"cms_contact"> | string | null
  html_content?: Prisma.StringNullableFilter<"cms_contact"> | string | null
  in_person_heading?: Prisma.StringNullableFilter<"cms_contact"> | string | null
  in_person_content?: Prisma.StringNullableFilter<"cms_contact"> | string | null
  status?: Prisma.BoolNullableFilter<"cms_contact"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"cms_contact"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"cms_contact"> | Date | string | null
  cms_pages?: Prisma.XOR<Prisma.Cms_pagesScalarRelationFilter, Prisma.cms_pagesWhereInput>
}, "id" | "page_id">

export type cms_contactOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  section_name?: Prisma.SortOrderInput | Prisma.SortOrder
  html_content?: Prisma.SortOrderInput | Prisma.SortOrder
  in_person_heading?: Prisma.SortOrderInput | Prisma.SortOrder
  in_person_content?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.cms_contactCountOrderByAggregateInput
  _avg?: Prisma.cms_contactAvgOrderByAggregateInput
  _max?: Prisma.cms_contactMaxOrderByAggregateInput
  _min?: Prisma.cms_contactMinOrderByAggregateInput
  _sum?: Prisma.cms_contactSumOrderByAggregateInput
}

export type cms_contactScalarWhereWithAggregatesInput = {
  AND?: Prisma.cms_contactScalarWhereWithAggregatesInput | Prisma.cms_contactScalarWhereWithAggregatesInput[]
  OR?: Prisma.cms_contactScalarWhereWithAggregatesInput[]
  NOT?: Prisma.cms_contactScalarWhereWithAggregatesInput | Prisma.cms_contactScalarWhereWithAggregatesInput[]
  id?: Prisma.BigIntWithAggregatesFilter<"cms_contact"> | bigint | number
  page_id?: Prisma.BigIntWithAggregatesFilter<"cms_contact"> | bigint | number
  section_name?: Prisma.StringNullableWithAggregatesFilter<"cms_contact"> | string | null
  html_content?: Prisma.StringNullableWithAggregatesFilter<"cms_contact"> | string | null
  in_person_heading?: Prisma.StringNullableWithAggregatesFilter<"cms_contact"> | string | null
  in_person_content?: Prisma.StringNullableWithAggregatesFilter<"cms_contact"> | string | null
  status?: Prisma.BoolNullableWithAggregatesFilter<"cms_contact"> | boolean | null
  created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"cms_contact"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"cms_contact"> | Date | string | null
}

export type cms_contactCreateInput = {
  id?: bigint | number
  section_name?: string | null
  html_content?: string | null
  in_person_heading?: string | null
  in_person_content?: string | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
  cms_pages: Prisma.cms_pagesCreateNestedOneWithoutCms_contactInput
}

export type cms_contactUncheckedCreateInput = {
  id?: bigint | number
  page_id: bigint | number
  section_name?: string | null
  html_content?: string | null
  in_person_heading?: string | null
  in_person_content?: string | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_contactUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  section_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  html_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_heading?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | 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_contactNestedInput
}

export type cms_contactUncheckedUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  page_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  section_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  html_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_heading?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type cms_contactCreateManyInput = {
  id?: bigint | number
  page_id: bigint | number
  section_name?: string | null
  html_content?: string | null
  in_person_heading?: string | null
  in_person_content?: string | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_contactUpdateManyMutationInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  section_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  html_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_heading?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type cms_contactUncheckedUpdateManyInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  page_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  section_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  html_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_heading?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type Cms_contactNullableScalarRelationFilter = {
  is?: Prisma.cms_contactWhereInput | null
  isNot?: Prisma.cms_contactWhereInput | null
}

export type cms_contactCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  section_name?: Prisma.SortOrder
  html_content?: Prisma.SortOrder
  in_person_heading?: Prisma.SortOrder
  in_person_content?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

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

export type cms_contactMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  section_name?: Prisma.SortOrder
  html_content?: Prisma.SortOrder
  in_person_heading?: Prisma.SortOrder
  in_person_content?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type cms_contactMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  page_id?: Prisma.SortOrder
  section_name?: Prisma.SortOrder
  html_content?: Prisma.SortOrder
  in_person_heading?: Prisma.SortOrder
  in_person_content?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

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

export type cms_contactCreateNestedOneWithoutCms_pagesInput = {
  create?: Prisma.XOR<Prisma.cms_contactCreateWithoutCms_pagesInput, Prisma.cms_contactUncheckedCreateWithoutCms_pagesInput>
  connectOrCreate?: Prisma.cms_contactCreateOrConnectWithoutCms_pagesInput
  connect?: Prisma.cms_contactWhereUniqueInput
}

export type cms_contactUncheckedCreateNestedOneWithoutCms_pagesInput = {
  create?: Prisma.XOR<Prisma.cms_contactCreateWithoutCms_pagesInput, Prisma.cms_contactUncheckedCreateWithoutCms_pagesInput>
  connectOrCreate?: Prisma.cms_contactCreateOrConnectWithoutCms_pagesInput
  connect?: Prisma.cms_contactWhereUniqueInput
}

export type cms_contactUpdateOneWithoutCms_pagesNestedInput = {
  create?: Prisma.XOR<Prisma.cms_contactCreateWithoutCms_pagesInput, Prisma.cms_contactUncheckedCreateWithoutCms_pagesInput>
  connectOrCreate?: Prisma.cms_contactCreateOrConnectWithoutCms_pagesInput
  upsert?: Prisma.cms_contactUpsertWithoutCms_pagesInput
  disconnect?: Prisma.cms_contactWhereInput | boolean
  delete?: Prisma.cms_contactWhereInput | boolean
  connect?: Prisma.cms_contactWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.cms_contactUpdateToOneWithWhereWithoutCms_pagesInput, Prisma.cms_contactUpdateWithoutCms_pagesInput>, Prisma.cms_contactUncheckedUpdateWithoutCms_pagesInput>
}

export type cms_contactUncheckedUpdateOneWithoutCms_pagesNestedInput = {
  create?: Prisma.XOR<Prisma.cms_contactCreateWithoutCms_pagesInput, Prisma.cms_contactUncheckedCreateWithoutCms_pagesInput>
  connectOrCreate?: Prisma.cms_contactCreateOrConnectWithoutCms_pagesInput
  upsert?: Prisma.cms_contactUpsertWithoutCms_pagesInput
  disconnect?: Prisma.cms_contactWhereInput | boolean
  delete?: Prisma.cms_contactWhereInput | boolean
  connect?: Prisma.cms_contactWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.cms_contactUpdateToOneWithWhereWithoutCms_pagesInput, Prisma.cms_contactUpdateWithoutCms_pagesInput>, Prisma.cms_contactUncheckedUpdateWithoutCms_pagesInput>
}

export type cms_contactCreateWithoutCms_pagesInput = {
  id?: bigint | number
  section_name?: string | null
  html_content?: string | null
  in_person_heading?: string | null
  in_person_content?: string | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_contactUncheckedCreateWithoutCms_pagesInput = {
  id?: bigint | number
  section_name?: string | null
  html_content?: string | null
  in_person_heading?: string | null
  in_person_content?: string | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type cms_contactCreateOrConnectWithoutCms_pagesInput = {
  where: Prisma.cms_contactWhereUniqueInput
  create: Prisma.XOR<Prisma.cms_contactCreateWithoutCms_pagesInput, Prisma.cms_contactUncheckedCreateWithoutCms_pagesInput>
}

export type cms_contactUpsertWithoutCms_pagesInput = {
  update: Prisma.XOR<Prisma.cms_contactUpdateWithoutCms_pagesInput, Prisma.cms_contactUncheckedUpdateWithoutCms_pagesInput>
  create: Prisma.XOR<Prisma.cms_contactCreateWithoutCms_pagesInput, Prisma.cms_contactUncheckedCreateWithoutCms_pagesInput>
  where?: Prisma.cms_contactWhereInput
}

export type cms_contactUpdateToOneWithWhereWithoutCms_pagesInput = {
  where?: Prisma.cms_contactWhereInput
  data: Prisma.XOR<Prisma.cms_contactUpdateWithoutCms_pagesInput, Prisma.cms_contactUncheckedUpdateWithoutCms_pagesInput>
}

export type cms_contactUpdateWithoutCms_pagesInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  section_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  html_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_heading?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type cms_contactUncheckedUpdateWithoutCms_pagesInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  section_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  html_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_heading?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  in_person_content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}



export type cms_contactSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  page_id?: boolean
  section_name?: boolean
  html_content?: boolean
  in_person_heading?: boolean
  in_person_content?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}, ExtArgs["result"]["cms_contact"]>

export type cms_contactSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  page_id?: boolean
  section_name?: boolean
  html_content?: boolean
  in_person_heading?: boolean
  in_person_content?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}, ExtArgs["result"]["cms_contact"]>

export type cms_contactSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  page_id?: boolean
  section_name?: boolean
  html_content?: boolean
  in_person_heading?: boolean
  in_person_content?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}, ExtArgs["result"]["cms_contact"]>

export type cms_contactSelectScalar = {
  id?: boolean
  page_id?: boolean
  section_name?: boolean
  html_content?: boolean
  in_person_heading?: boolean
  in_person_content?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
}

export type cms_contactOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "page_id" | "section_name" | "html_content" | "in_person_heading" | "in_person_content" | "status" | "created_at" | "updated_at", ExtArgs["result"]["cms_contact"]>
export type cms_contactInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}
export type cms_contactIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}
export type cms_contactIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  cms_pages?: boolean | Prisma.cms_pagesDefaultArgs<ExtArgs>
}

export type $cms_contactPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "cms_contact"
  objects: {
    cms_pages: Prisma.$cms_pagesPayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: bigint
    page_id: bigint
    section_name: string | null
    html_content: string | null
    in_person_heading: string | null
    in_person_content: string | null
    status: boolean | null
    created_at: Date | null
    updated_at: Date | null
  }, ExtArgs["result"]["cms_contact"]>
  composites: {}
}

export type cms_contactGetPayload<S extends boolean | null | undefined | cms_contactDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$cms_contactPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for cms_contact.
 * 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_contactClient<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_contact model
 */
export interface cms_contactFieldRefs {
  readonly id: Prisma.FieldRef<"cms_contact", 'BigInt'>
  readonly page_id: Prisma.FieldRef<"cms_contact", 'BigInt'>
  readonly section_name: Prisma.FieldRef<"cms_contact", 'String'>
  readonly html_content: Prisma.FieldRef<"cms_contact", 'String'>
  readonly in_person_heading: Prisma.FieldRef<"cms_contact", 'String'>
  readonly in_person_content: Prisma.FieldRef<"cms_contact", 'String'>
  readonly status: Prisma.FieldRef<"cms_contact", 'Boolean'>
  readonly created_at: Prisma.FieldRef<"cms_contact", 'DateTime'>
  readonly updated_at: Prisma.FieldRef<"cms_contact", 'DateTime'>
}
    

// Custom InputTypes
/**
 * cms_contact findUnique
 */
export type cms_contactFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_contact
   */
  select?: Prisma.cms_contactSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_contact
   */
  omit?: Prisma.cms_contactOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_contactInclude<ExtArgs> | null
  /**
   * Filter, which cms_contact to fetch.
   */
  where: Prisma.cms_contactWhereUniqueInput
}

/**
 * cms_contact findUniqueOrThrow
 */
export type cms_contactFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_contact
   */
  select?: Prisma.cms_contactSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_contact
   */
  omit?: Prisma.cms_contactOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_contactInclude<ExtArgs> | null
  /**
   * Filter, which cms_contact to fetch.
   */
  where: Prisma.cms_contactWhereUniqueInput
}

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

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

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

/**
 * cms_contact create
 */
export type cms_contactCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_contact
   */
  select?: Prisma.cms_contactSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_contact
   */
  omit?: Prisma.cms_contactOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_contactInclude<ExtArgs> | null
  /**
   * The data needed to create a cms_contact.
   */
  data: Prisma.XOR<Prisma.cms_contactCreateInput, Prisma.cms_contactUncheckedCreateInput>
}

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

/**
 * cms_contact createManyAndReturn
 */
export type cms_contactCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_contact
   */
  select?: Prisma.cms_contactSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the cms_contact
   */
  omit?: Prisma.cms_contactOmit<ExtArgs> | null
  /**
   * The data used to create many cms_contacts.
   */
  data: Prisma.cms_contactCreateManyInput | Prisma.cms_contactCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_contactIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * cms_contact update
 */
export type cms_contactUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_contact
   */
  select?: Prisma.cms_contactSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_contact
   */
  omit?: Prisma.cms_contactOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_contactInclude<ExtArgs> | null
  /**
   * The data needed to update a cms_contact.
   */
  data: Prisma.XOR<Prisma.cms_contactUpdateInput, Prisma.cms_contactUncheckedUpdateInput>
  /**
   * Choose, which cms_contact to update.
   */
  where: Prisma.cms_contactWhereUniqueInput
}

/**
 * cms_contact updateMany
 */
export type cms_contactUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update cms_contacts.
   */
  data: Prisma.XOR<Prisma.cms_contactUpdateManyMutationInput, Prisma.cms_contactUncheckedUpdateManyInput>
  /**
   * Filter which cms_contacts to update
   */
  where?: Prisma.cms_contactWhereInput
  /**
   * Limit how many cms_contacts to update.
   */
  limit?: number
}

/**
 * cms_contact updateManyAndReturn
 */
export type cms_contactUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_contact
   */
  select?: Prisma.cms_contactSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the cms_contact
   */
  omit?: Prisma.cms_contactOmit<ExtArgs> | null
  /**
   * The data used to update cms_contacts.
   */
  data: Prisma.XOR<Prisma.cms_contactUpdateManyMutationInput, Prisma.cms_contactUncheckedUpdateManyInput>
  /**
   * Filter which cms_contacts to update
   */
  where?: Prisma.cms_contactWhereInput
  /**
   * Limit how many cms_contacts to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_contactIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * cms_contact upsert
 */
export type cms_contactUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_contact
   */
  select?: Prisma.cms_contactSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_contact
   */
  omit?: Prisma.cms_contactOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_contactInclude<ExtArgs> | null
  /**
   * The filter to search for the cms_contact to update in case it exists.
   */
  where: Prisma.cms_contactWhereUniqueInput
  /**
   * In case the cms_contact found by the `where` argument doesn't exist, create a new cms_contact with this data.
   */
  create: Prisma.XOR<Prisma.cms_contactCreateInput, Prisma.cms_contactUncheckedCreateInput>
  /**
   * In case the cms_contact was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.cms_contactUpdateInput, Prisma.cms_contactUncheckedUpdateInput>
}

/**
 * cms_contact delete
 */
export type cms_contactDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the cms_contact
   */
  select?: Prisma.cms_contactSelect<ExtArgs> | null
  /**
   * Omit specific fields from the cms_contact
   */
  omit?: Prisma.cms_contactOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.cms_contactInclude<ExtArgs> | null
  /**
   * Filter which cms_contact to delete.
   */
  where: Prisma.cms_contactWhereUniqueInput
}

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

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