
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `SiteSetting` 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 SiteSetting
 * 
 */
export type SiteSettingModel = runtime.Types.Result.DefaultSelection<Prisma.$SiteSettingPayload>

export type AggregateSiteSetting = {
  _count: SiteSettingCountAggregateOutputType | null
  _min: SiteSettingMinAggregateOutputType | null
  _max: SiteSettingMaxAggregateOutputType | null
}

export type SiteSettingMinAggregateOutputType = {
  id: string | null
  key: string | null
  value: string | null
  updatedAt: Date | null
}

export type SiteSettingMaxAggregateOutputType = {
  id: string | null
  key: string | null
  value: string | null
  updatedAt: Date | null
}

export type SiteSettingCountAggregateOutputType = {
  id: number
  key: number
  value: number
  updatedAt: number
  _all: number
}


export type SiteSettingMinAggregateInputType = {
  id?: true
  key?: true
  value?: true
  updatedAt?: true
}

export type SiteSettingMaxAggregateInputType = {
  id?: true
  key?: true
  value?: true
  updatedAt?: true
}

export type SiteSettingCountAggregateInputType = {
  id?: true
  key?: true
  value?: true
  updatedAt?: true
  _all?: true
}

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

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




export type SiteSettingGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.SiteSettingWhereInput
  orderBy?: Prisma.SiteSettingOrderByWithAggregationInput | Prisma.SiteSettingOrderByWithAggregationInput[]
  by: Prisma.SiteSettingScalarFieldEnum[] | Prisma.SiteSettingScalarFieldEnum
  having?: Prisma.SiteSettingScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: SiteSettingCountAggregateInputType | true
  _min?: SiteSettingMinAggregateInputType
  _max?: SiteSettingMaxAggregateInputType
}

export type SiteSettingGroupByOutputType = {
  id: string
  key: string
  value: string
  updatedAt: Date
  _count: SiteSettingCountAggregateOutputType | null
  _min: SiteSettingMinAggregateOutputType | null
  _max: SiteSettingMaxAggregateOutputType | null
}

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



export type SiteSettingWhereInput = {
  AND?: Prisma.SiteSettingWhereInput | Prisma.SiteSettingWhereInput[]
  OR?: Prisma.SiteSettingWhereInput[]
  NOT?: Prisma.SiteSettingWhereInput | Prisma.SiteSettingWhereInput[]
  id?: Prisma.StringFilter<"SiteSetting"> | string
  key?: Prisma.StringFilter<"SiteSetting"> | string
  value?: Prisma.StringFilter<"SiteSetting"> | string
  updatedAt?: Prisma.DateTimeFilter<"SiteSetting"> | Date | string
}

export type SiteSettingOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  key?: Prisma.SortOrder
  value?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type SiteSettingWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  key?: string
  AND?: Prisma.SiteSettingWhereInput | Prisma.SiteSettingWhereInput[]
  OR?: Prisma.SiteSettingWhereInput[]
  NOT?: Prisma.SiteSettingWhereInput | Prisma.SiteSettingWhereInput[]
  value?: Prisma.StringFilter<"SiteSetting"> | string
  updatedAt?: Prisma.DateTimeFilter<"SiteSetting"> | Date | string
}, "id" | "key">

export type SiteSettingOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  key?: Prisma.SortOrder
  value?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  _count?: Prisma.SiteSettingCountOrderByAggregateInput
  _max?: Prisma.SiteSettingMaxOrderByAggregateInput
  _min?: Prisma.SiteSettingMinOrderByAggregateInput
}

export type SiteSettingScalarWhereWithAggregatesInput = {
  AND?: Prisma.SiteSettingScalarWhereWithAggregatesInput | Prisma.SiteSettingScalarWhereWithAggregatesInput[]
  OR?: Prisma.SiteSettingScalarWhereWithAggregatesInput[]
  NOT?: Prisma.SiteSettingScalarWhereWithAggregatesInput | Prisma.SiteSettingScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"SiteSetting"> | string
  key?: Prisma.StringWithAggregatesFilter<"SiteSetting"> | string
  value?: Prisma.StringWithAggregatesFilter<"SiteSetting"> | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"SiteSetting"> | Date | string
}

export type SiteSettingCreateInput = {
  id?: string
  key: string
  value: string
  updatedAt?: Date | string
}

export type SiteSettingUncheckedCreateInput = {
  id?: string
  key: string
  value: string
  updatedAt?: Date | string
}

export type SiteSettingUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  key?: Prisma.StringFieldUpdateOperationsInput | string
  value?: Prisma.StringFieldUpdateOperationsInput | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type SiteSettingUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  key?: Prisma.StringFieldUpdateOperationsInput | string
  value?: Prisma.StringFieldUpdateOperationsInput | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type SiteSettingCreateManyInput = {
  id?: string
  key: string
  value: string
  updatedAt?: Date | string
}

export type SiteSettingUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  key?: Prisma.StringFieldUpdateOperationsInput | string
  value?: Prisma.StringFieldUpdateOperationsInput | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type SiteSettingUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  key?: Prisma.StringFieldUpdateOperationsInput | string
  value?: Prisma.StringFieldUpdateOperationsInput | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type SiteSettingCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  key?: Prisma.SortOrder
  value?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type SiteSettingMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  key?: Prisma.SortOrder
  value?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type SiteSettingMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  key?: Prisma.SortOrder
  value?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}



export type SiteSettingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  key?: boolean
  value?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["siteSetting"]>

export type SiteSettingSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  key?: boolean
  value?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["siteSetting"]>

export type SiteSettingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  key?: boolean
  value?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["siteSetting"]>

export type SiteSettingSelectScalar = {
  id?: boolean
  key?: boolean
  value?: boolean
  updatedAt?: boolean
}

export type SiteSettingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "key" | "value" | "updatedAt", ExtArgs["result"]["siteSetting"]>

export type $SiteSettingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "SiteSetting"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    key: string
    value: string
    updatedAt: Date
  }, ExtArgs["result"]["siteSetting"]>
  composites: {}
}

export type SiteSettingGetPayload<S extends boolean | null | undefined | SiteSettingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SiteSettingPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for SiteSetting.
 * 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__SiteSettingClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  /**
   * 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 SiteSetting model
 */
export interface SiteSettingFieldRefs {
  readonly id: Prisma.FieldRef<"SiteSetting", 'String'>
  readonly key: Prisma.FieldRef<"SiteSetting", 'String'>
  readonly value: Prisma.FieldRef<"SiteSetting", 'String'>
  readonly updatedAt: Prisma.FieldRef<"SiteSetting", 'DateTime'>
}
    

// Custom InputTypes
/**
 * SiteSetting findUnique
 */
export type SiteSettingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * Filter, which SiteSetting to fetch.
   */
  where: Prisma.SiteSettingWhereUniqueInput
}

/**
 * SiteSetting findUniqueOrThrow
 */
export type SiteSettingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * Filter, which SiteSetting to fetch.
   */
  where: Prisma.SiteSettingWhereUniqueInput
}

/**
 * SiteSetting findFirst
 */
export type SiteSettingFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * Filter, which SiteSetting to fetch.
   */
  where?: Prisma.SiteSettingWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of SiteSettings to fetch.
   */
  orderBy?: Prisma.SiteSettingOrderByWithRelationInput | Prisma.SiteSettingOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for SiteSettings.
   */
  cursor?: Prisma.SiteSettingWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` SiteSettings 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` SiteSettings.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of SiteSettings.
   */
  distinct?: Prisma.SiteSettingScalarFieldEnum | Prisma.SiteSettingScalarFieldEnum[]
}

/**
 * SiteSetting findFirstOrThrow
 */
export type SiteSettingFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * Filter, which SiteSetting to fetch.
   */
  where?: Prisma.SiteSettingWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of SiteSettings to fetch.
   */
  orderBy?: Prisma.SiteSettingOrderByWithRelationInput | Prisma.SiteSettingOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for SiteSettings.
   */
  cursor?: Prisma.SiteSettingWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` SiteSettings 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` SiteSettings.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of SiteSettings.
   */
  distinct?: Prisma.SiteSettingScalarFieldEnum | Prisma.SiteSettingScalarFieldEnum[]
}

/**
 * SiteSetting findMany
 */
export type SiteSettingFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * Filter, which SiteSettings to fetch.
   */
  where?: Prisma.SiteSettingWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of SiteSettings to fetch.
   */
  orderBy?: Prisma.SiteSettingOrderByWithRelationInput | Prisma.SiteSettingOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing SiteSettings.
   */
  cursor?: Prisma.SiteSettingWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` SiteSettings 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` SiteSettings.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of SiteSettings.
   */
  distinct?: Prisma.SiteSettingScalarFieldEnum | Prisma.SiteSettingScalarFieldEnum[]
}

/**
 * SiteSetting create
 */
export type SiteSettingCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * The data needed to create a SiteSetting.
   */
  data: Prisma.XOR<Prisma.SiteSettingCreateInput, Prisma.SiteSettingUncheckedCreateInput>
}

/**
 * SiteSetting createMany
 */
export type SiteSettingCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many SiteSettings.
   */
  data: Prisma.SiteSettingCreateManyInput | Prisma.SiteSettingCreateManyInput[]
}

/**
 * SiteSetting createManyAndReturn
 */
export type SiteSettingCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * The data used to create many SiteSettings.
   */
  data: Prisma.SiteSettingCreateManyInput | Prisma.SiteSettingCreateManyInput[]
}

/**
 * SiteSetting update
 */
export type SiteSettingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * The data needed to update a SiteSetting.
   */
  data: Prisma.XOR<Prisma.SiteSettingUpdateInput, Prisma.SiteSettingUncheckedUpdateInput>
  /**
   * Choose, which SiteSetting to update.
   */
  where: Prisma.SiteSettingWhereUniqueInput
}

/**
 * SiteSetting updateMany
 */
export type SiteSettingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update SiteSettings.
   */
  data: Prisma.XOR<Prisma.SiteSettingUpdateManyMutationInput, Prisma.SiteSettingUncheckedUpdateManyInput>
  /**
   * Filter which SiteSettings to update
   */
  where?: Prisma.SiteSettingWhereInput
  /**
   * Limit how many SiteSettings to update.
   */
  limit?: number
}

/**
 * SiteSetting updateManyAndReturn
 */
export type SiteSettingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * The data used to update SiteSettings.
   */
  data: Prisma.XOR<Prisma.SiteSettingUpdateManyMutationInput, Prisma.SiteSettingUncheckedUpdateManyInput>
  /**
   * Filter which SiteSettings to update
   */
  where?: Prisma.SiteSettingWhereInput
  /**
   * Limit how many SiteSettings to update.
   */
  limit?: number
}

/**
 * SiteSetting upsert
 */
export type SiteSettingUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * The filter to search for the SiteSetting to update in case it exists.
   */
  where: Prisma.SiteSettingWhereUniqueInput
  /**
   * In case the SiteSetting found by the `where` argument doesn't exist, create a new SiteSetting with this data.
   */
  create: Prisma.XOR<Prisma.SiteSettingCreateInput, Prisma.SiteSettingUncheckedCreateInput>
  /**
   * In case the SiteSetting was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.SiteSettingUpdateInput, Prisma.SiteSettingUncheckedUpdateInput>
}

/**
 * SiteSetting delete
 */
export type SiteSettingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
  /**
   * Filter which SiteSetting to delete.
   */
  where: Prisma.SiteSettingWhereUniqueInput
}

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

/**
 * SiteSetting without action
 */
export type SiteSettingDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SiteSetting
   */
  select?: Prisma.SiteSettingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SiteSetting
   */
  omit?: Prisma.SiteSettingOmit<ExtArgs> | null
}
