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

/**
 * Model HeaderSetting
 * 
 */
export type HeaderSettingModel = runtime.Types.Result.DefaultSelection<Prisma.$HeaderSettingPayload>

export type AggregateHeaderSetting = {
  _count: HeaderSettingCountAggregateOutputType | null
  _min: HeaderSettingMinAggregateOutputType | null
  _max: HeaderSettingMaxAggregateOutputType | null
}

export type HeaderSettingMinAggregateOutputType = {
  id: string | null
  code: string | null
  description: string | null
  status: $Enums.SettingStatus | null
  createdAt: Date | null
  modifiedAt: Date | null
}

export type HeaderSettingMaxAggregateOutputType = {
  id: string | null
  code: string | null
  description: string | null
  status: $Enums.SettingStatus | null
  createdAt: Date | null
  modifiedAt: Date | null
}

export type HeaderSettingCountAggregateOutputType = {
  id: number
  code: number
  description: number
  status: number
  createdAt: number
  modifiedAt: number
  _all: number
}


export type HeaderSettingMinAggregateInputType = {
  id?: true
  code?: true
  description?: true
  status?: true
  createdAt?: true
  modifiedAt?: true
}

export type HeaderSettingMaxAggregateInputType = {
  id?: true
  code?: true
  description?: true
  status?: true
  createdAt?: true
  modifiedAt?: true
}

export type HeaderSettingCountAggregateInputType = {
  id?: true
  code?: true
  description?: true
  status?: true
  createdAt?: true
  modifiedAt?: true
  _all?: true
}

export type HeaderSettingAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which HeaderSetting to aggregate.
   */
  where?: Prisma.HeaderSettingWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of HeaderSettings to fetch.
   */
  orderBy?: Prisma.HeaderSettingOrderByWithRelationInput | Prisma.HeaderSettingOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.HeaderSettingWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` HeaderSettings 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` HeaderSettings.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned HeaderSettings
  **/
  _count?: true | HeaderSettingCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: HeaderSettingMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: HeaderSettingMaxAggregateInputType
}

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




export type HeaderSettingGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.HeaderSettingWhereInput
  orderBy?: Prisma.HeaderSettingOrderByWithAggregationInput | Prisma.HeaderSettingOrderByWithAggregationInput[]
  by: Prisma.HeaderSettingScalarFieldEnum[] | Prisma.HeaderSettingScalarFieldEnum
  having?: Prisma.HeaderSettingScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: HeaderSettingCountAggregateInputType | true
  _min?: HeaderSettingMinAggregateInputType
  _max?: HeaderSettingMaxAggregateInputType
}

export type HeaderSettingGroupByOutputType = {
  id: string
  code: string
  description: string | null
  status: $Enums.SettingStatus
  createdAt: Date
  modifiedAt: Date
  _count: HeaderSettingCountAggregateOutputType | null
  _min: HeaderSettingMinAggregateOutputType | null
  _max: HeaderSettingMaxAggregateOutputType | null
}

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



export type HeaderSettingWhereInput = {
  AND?: Prisma.HeaderSettingWhereInput | Prisma.HeaderSettingWhereInput[]
  OR?: Prisma.HeaderSettingWhereInput[]
  NOT?: Prisma.HeaderSettingWhereInput | Prisma.HeaderSettingWhereInput[]
  id?: Prisma.StringFilter<"HeaderSetting"> | string
  code?: Prisma.StringFilter<"HeaderSetting"> | string
  description?: Prisma.StringNullableFilter<"HeaderSetting"> | string | null
  status?: Prisma.EnumSettingStatusFilter<"HeaderSetting"> | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFilter<"HeaderSetting"> | Date | string
  modifiedAt?: Prisma.DateTimeFilter<"HeaderSetting"> | Date | string
  details?: Prisma.DetailSettingListRelationFilter
}

export type HeaderSettingOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
  details?: Prisma.DetailSettingOrderByRelationAggregateInput
}

export type HeaderSettingWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  code?: string
  AND?: Prisma.HeaderSettingWhereInput | Prisma.HeaderSettingWhereInput[]
  OR?: Prisma.HeaderSettingWhereInput[]
  NOT?: Prisma.HeaderSettingWhereInput | Prisma.HeaderSettingWhereInput[]
  description?: Prisma.StringNullableFilter<"HeaderSetting"> | string | null
  status?: Prisma.EnumSettingStatusFilter<"HeaderSetting"> | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFilter<"HeaderSetting"> | Date | string
  modifiedAt?: Prisma.DateTimeFilter<"HeaderSetting"> | Date | string
  details?: Prisma.DetailSettingListRelationFilter
}, "id" | "code">

export type HeaderSettingOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
  _count?: Prisma.HeaderSettingCountOrderByAggregateInput
  _max?: Prisma.HeaderSettingMaxOrderByAggregateInput
  _min?: Prisma.HeaderSettingMinOrderByAggregateInput
}

export type HeaderSettingScalarWhereWithAggregatesInput = {
  AND?: Prisma.HeaderSettingScalarWhereWithAggregatesInput | Prisma.HeaderSettingScalarWhereWithAggregatesInput[]
  OR?: Prisma.HeaderSettingScalarWhereWithAggregatesInput[]
  NOT?: Prisma.HeaderSettingScalarWhereWithAggregatesInput | Prisma.HeaderSettingScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"HeaderSetting"> | string
  code?: Prisma.StringWithAggregatesFilter<"HeaderSetting"> | string
  description?: Prisma.StringNullableWithAggregatesFilter<"HeaderSetting"> | string | null
  status?: Prisma.EnumSettingStatusWithAggregatesFilter<"HeaderSetting"> | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"HeaderSetting"> | Date | string
  modifiedAt?: Prisma.DateTimeWithAggregatesFilter<"HeaderSetting"> | Date | string
}

export type HeaderSettingCreateInput = {
  id?: string
  code: string
  description?: string | null
  status?: $Enums.SettingStatus
  createdAt?: Date | string
  modifiedAt?: Date | string
  details?: Prisma.DetailSettingCreateNestedManyWithoutHeaderInput
}

export type HeaderSettingUncheckedCreateInput = {
  id?: string
  code: string
  description?: string | null
  status?: $Enums.SettingStatus
  createdAt?: Date | string
  modifiedAt?: Date | string
  details?: Prisma.DetailSettingUncheckedCreateNestedManyWithoutHeaderInput
}

export type HeaderSettingUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  details?: Prisma.DetailSettingUpdateManyWithoutHeaderNestedInput
}

export type HeaderSettingUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  details?: Prisma.DetailSettingUncheckedUpdateManyWithoutHeaderNestedInput
}

export type HeaderSettingCreateManyInput = {
  id?: string
  code: string
  description?: string | null
  status?: $Enums.SettingStatus
  createdAt?: Date | string
  modifiedAt?: Date | string
}

export type HeaderSettingUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type HeaderSettingUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type HeaderSettingCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  description?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
}

export type HeaderSettingMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  description?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
}

export type HeaderSettingMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  description?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
}

export type HeaderSettingScalarRelationFilter = {
  is?: Prisma.HeaderSettingWhereInput
  isNot?: Prisma.HeaderSettingWhereInput
}

export type EnumSettingStatusFieldUpdateOperationsInput = {
  set?: $Enums.SettingStatus
}

export type HeaderSettingCreateNestedOneWithoutDetailsInput = {
  create?: Prisma.XOR<Prisma.HeaderSettingCreateWithoutDetailsInput, Prisma.HeaderSettingUncheckedCreateWithoutDetailsInput>
  connectOrCreate?: Prisma.HeaderSettingCreateOrConnectWithoutDetailsInput
  connect?: Prisma.HeaderSettingWhereUniqueInput
}

export type HeaderSettingUpdateOneRequiredWithoutDetailsNestedInput = {
  create?: Prisma.XOR<Prisma.HeaderSettingCreateWithoutDetailsInput, Prisma.HeaderSettingUncheckedCreateWithoutDetailsInput>
  connectOrCreate?: Prisma.HeaderSettingCreateOrConnectWithoutDetailsInput
  upsert?: Prisma.HeaderSettingUpsertWithoutDetailsInput
  connect?: Prisma.HeaderSettingWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.HeaderSettingUpdateToOneWithWhereWithoutDetailsInput, Prisma.HeaderSettingUpdateWithoutDetailsInput>, Prisma.HeaderSettingUncheckedUpdateWithoutDetailsInput>
}

export type HeaderSettingCreateWithoutDetailsInput = {
  id?: string
  code: string
  description?: string | null
  status?: $Enums.SettingStatus
  createdAt?: Date | string
  modifiedAt?: Date | string
}

export type HeaderSettingUncheckedCreateWithoutDetailsInput = {
  id?: string
  code: string
  description?: string | null
  status?: $Enums.SettingStatus
  createdAt?: Date | string
  modifiedAt?: Date | string
}

export type HeaderSettingCreateOrConnectWithoutDetailsInput = {
  where: Prisma.HeaderSettingWhereUniqueInput
  create: Prisma.XOR<Prisma.HeaderSettingCreateWithoutDetailsInput, Prisma.HeaderSettingUncheckedCreateWithoutDetailsInput>
}

export type HeaderSettingUpsertWithoutDetailsInput = {
  update: Prisma.XOR<Prisma.HeaderSettingUpdateWithoutDetailsInput, Prisma.HeaderSettingUncheckedUpdateWithoutDetailsInput>
  create: Prisma.XOR<Prisma.HeaderSettingCreateWithoutDetailsInput, Prisma.HeaderSettingUncheckedCreateWithoutDetailsInput>
  where?: Prisma.HeaderSettingWhereInput
}

export type HeaderSettingUpdateToOneWithWhereWithoutDetailsInput = {
  where?: Prisma.HeaderSettingWhereInput
  data: Prisma.XOR<Prisma.HeaderSettingUpdateWithoutDetailsInput, Prisma.HeaderSettingUncheckedUpdateWithoutDetailsInput>
}

export type HeaderSettingUpdateWithoutDetailsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type HeaderSettingUncheckedUpdateWithoutDetailsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}


/**
 * Count Type HeaderSettingCountOutputType
 */

export type HeaderSettingCountOutputType = {
  details: number
}

export type HeaderSettingCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  details?: boolean | HeaderSettingCountOutputTypeCountDetailsArgs
}

/**
 * HeaderSettingCountOutputType without action
 */
export type HeaderSettingCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HeaderSettingCountOutputType
   */
  select?: Prisma.HeaderSettingCountOutputTypeSelect<ExtArgs> | null
}

/**
 * HeaderSettingCountOutputType without action
 */
export type HeaderSettingCountOutputTypeCountDetailsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.DetailSettingWhereInput
}


export type HeaderSettingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  code?: boolean
  description?: boolean
  status?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
  details?: boolean | Prisma.HeaderSetting$detailsArgs<ExtArgs>
  _count?: boolean | Prisma.HeaderSettingCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["headerSetting"]>

export type HeaderSettingSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  code?: boolean
  description?: boolean
  status?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
}, ExtArgs["result"]["headerSetting"]>

export type HeaderSettingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  code?: boolean
  description?: boolean
  status?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
}, ExtArgs["result"]["headerSetting"]>

export type HeaderSettingSelectScalar = {
  id?: boolean
  code?: boolean
  description?: boolean
  status?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
}

export type HeaderSettingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "code" | "description" | "status" | "createdAt" | "modifiedAt", ExtArgs["result"]["headerSetting"]>
export type HeaderSettingInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  details?: boolean | Prisma.HeaderSetting$detailsArgs<ExtArgs>
  _count?: boolean | Prisma.HeaderSettingCountOutputTypeDefaultArgs<ExtArgs>
}
export type HeaderSettingIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type HeaderSettingIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}

export type $HeaderSettingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "HeaderSetting"
  objects: {
    details: Prisma.$DetailSettingPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    code: string
    description: string | null
    status: $Enums.SettingStatus
    createdAt: Date
    modifiedAt: Date
  }, ExtArgs["result"]["headerSetting"]>
  composites: {}
}

export type HeaderSettingGetPayload<S extends boolean | null | undefined | HeaderSettingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HeaderSettingPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for HeaderSetting.
 * 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__HeaderSettingClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  details<T extends Prisma.HeaderSetting$detailsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HeaderSetting$detailsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DetailSettingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  /**
   * 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 HeaderSetting model
 */
export interface HeaderSettingFieldRefs {
  readonly id: Prisma.FieldRef<"HeaderSetting", 'String'>
  readonly code: Prisma.FieldRef<"HeaderSetting", 'String'>
  readonly description: Prisma.FieldRef<"HeaderSetting", 'String'>
  readonly status: Prisma.FieldRef<"HeaderSetting", 'SettingStatus'>
  readonly createdAt: Prisma.FieldRef<"HeaderSetting", 'DateTime'>
  readonly modifiedAt: Prisma.FieldRef<"HeaderSetting", 'DateTime'>
}
    

// Custom InputTypes
/**
 * HeaderSetting findUnique
 */
export type HeaderSettingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HeaderSetting
   */
  select?: Prisma.HeaderSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HeaderSetting
   */
  omit?: Prisma.HeaderSettingOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.HeaderSettingInclude<ExtArgs> | null
  /**
   * Filter, which HeaderSetting to fetch.
   */
  where: Prisma.HeaderSettingWhereUniqueInput
}

/**
 * HeaderSetting findUniqueOrThrow
 */
export type HeaderSettingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HeaderSetting
   */
  select?: Prisma.HeaderSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HeaderSetting
   */
  omit?: Prisma.HeaderSettingOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.HeaderSettingInclude<ExtArgs> | null
  /**
   * Filter, which HeaderSetting to fetch.
   */
  where: Prisma.HeaderSettingWhereUniqueInput
}

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

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

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

/**
 * HeaderSetting create
 */
export type HeaderSettingCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HeaderSetting
   */
  select?: Prisma.HeaderSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HeaderSetting
   */
  omit?: Prisma.HeaderSettingOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.HeaderSettingInclude<ExtArgs> | null
  /**
   * The data needed to create a HeaderSetting.
   */
  data: Prisma.XOR<Prisma.HeaderSettingCreateInput, Prisma.HeaderSettingUncheckedCreateInput>
}

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

/**
 * HeaderSetting createManyAndReturn
 */
export type HeaderSettingCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HeaderSetting
   */
  select?: Prisma.HeaderSettingSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the HeaderSetting
   */
  omit?: Prisma.HeaderSettingOmit<ExtArgs> | null
  /**
   * The data used to create many HeaderSettings.
   */
  data: Prisma.HeaderSettingCreateManyInput | Prisma.HeaderSettingCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * HeaderSetting update
 */
export type HeaderSettingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HeaderSetting
   */
  select?: Prisma.HeaderSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HeaderSetting
   */
  omit?: Prisma.HeaderSettingOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.HeaderSettingInclude<ExtArgs> | null
  /**
   * The data needed to update a HeaderSetting.
   */
  data: Prisma.XOR<Prisma.HeaderSettingUpdateInput, Prisma.HeaderSettingUncheckedUpdateInput>
  /**
   * Choose, which HeaderSetting to update.
   */
  where: Prisma.HeaderSettingWhereUniqueInput
}

/**
 * HeaderSetting updateMany
 */
export type HeaderSettingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update HeaderSettings.
   */
  data: Prisma.XOR<Prisma.HeaderSettingUpdateManyMutationInput, Prisma.HeaderSettingUncheckedUpdateManyInput>
  /**
   * Filter which HeaderSettings to update
   */
  where?: Prisma.HeaderSettingWhereInput
  /**
   * Limit how many HeaderSettings to update.
   */
  limit?: number
}

/**
 * HeaderSetting updateManyAndReturn
 */
export type HeaderSettingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HeaderSetting
   */
  select?: Prisma.HeaderSettingSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the HeaderSetting
   */
  omit?: Prisma.HeaderSettingOmit<ExtArgs> | null
  /**
   * The data used to update HeaderSettings.
   */
  data: Prisma.XOR<Prisma.HeaderSettingUpdateManyMutationInput, Prisma.HeaderSettingUncheckedUpdateManyInput>
  /**
   * Filter which HeaderSettings to update
   */
  where?: Prisma.HeaderSettingWhereInput
  /**
   * Limit how many HeaderSettings to update.
   */
  limit?: number
}

/**
 * HeaderSetting upsert
 */
export type HeaderSettingUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HeaderSetting
   */
  select?: Prisma.HeaderSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HeaderSetting
   */
  omit?: Prisma.HeaderSettingOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.HeaderSettingInclude<ExtArgs> | null
  /**
   * The filter to search for the HeaderSetting to update in case it exists.
   */
  where: Prisma.HeaderSettingWhereUniqueInput
  /**
   * In case the HeaderSetting found by the `where` argument doesn't exist, create a new HeaderSetting with this data.
   */
  create: Prisma.XOR<Prisma.HeaderSettingCreateInput, Prisma.HeaderSettingUncheckedCreateInput>
  /**
   * In case the HeaderSetting was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.HeaderSettingUpdateInput, Prisma.HeaderSettingUncheckedUpdateInput>
}

/**
 * HeaderSetting delete
 */
export type HeaderSettingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HeaderSetting
   */
  select?: Prisma.HeaderSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HeaderSetting
   */
  omit?: Prisma.HeaderSettingOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.HeaderSettingInclude<ExtArgs> | null
  /**
   * Filter which HeaderSetting to delete.
   */
  where: Prisma.HeaderSettingWhereUniqueInput
}

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

/**
 * HeaderSetting.details
 */
export type HeaderSetting$detailsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DetailSetting
   */
  select?: Prisma.DetailSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DetailSetting
   */
  omit?: Prisma.DetailSettingOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.DetailSettingInclude<ExtArgs> | null
  where?: Prisma.DetailSettingWhereInput
  orderBy?: Prisma.DetailSettingOrderByWithRelationInput | Prisma.DetailSettingOrderByWithRelationInput[]
  cursor?: Prisma.DetailSettingWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.DetailSettingScalarFieldEnum | Prisma.DetailSettingScalarFieldEnum[]
}

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