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

export type AggregateFaqs = {
  _count: FaqsCountAggregateOutputType | null
  _avg: FaqsAvgAggregateOutputType | null
  _sum: FaqsSumAggregateOutputType | null
  _min: FaqsMinAggregateOutputType | null
  _max: FaqsMaxAggregateOutputType | null
}

export type FaqsAvgAggregateOutputType = {
  id: number | null
  sort_order: number | null
}

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

export type FaqsMinAggregateOutputType = {
  id: bigint | null
  question: string | null
  answer: string | null
  sort_order: number | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
}

export type FaqsMaxAggregateOutputType = {
  id: bigint | null
  question: string | null
  answer: string | null
  sort_order: number | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
}

export type FaqsCountAggregateOutputType = {
  id: number
  question: number
  answer: number
  sort_order: number
  status: number
  created_at: number
  updated_at: number
  _all: number
}


export type FaqsAvgAggregateInputType = {
  id?: true
  sort_order?: true
}

export type FaqsSumAggregateInputType = {
  id?: true
  sort_order?: true
}

export type FaqsMinAggregateInputType = {
  id?: true
  question?: true
  answer?: true
  sort_order?: true
  status?: true
  created_at?: true
  updated_at?: true
}

export type FaqsMaxAggregateInputType = {
  id?: true
  question?: true
  answer?: true
  sort_order?: true
  status?: true
  created_at?: true
  updated_at?: true
}

export type FaqsCountAggregateInputType = {
  id?: true
  question?: true
  answer?: true
  sort_order?: true
  status?: true
  created_at?: true
  updated_at?: true
  _all?: true
}

export type FaqsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which faqs to aggregate.
   */
  where?: Prisma.faqsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of faqs to fetch.
   */
  orderBy?: Prisma.faqsOrderByWithRelationInput | Prisma.faqsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.faqsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` faqs 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` faqs.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned faqs
  **/
  _count?: true | FaqsCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: FaqsAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: FaqsSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: FaqsMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: FaqsMaxAggregateInputType
}

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




export type faqsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.faqsWhereInput
  orderBy?: Prisma.faqsOrderByWithAggregationInput | Prisma.faqsOrderByWithAggregationInput[]
  by: Prisma.FaqsScalarFieldEnum[] | Prisma.FaqsScalarFieldEnum
  having?: Prisma.faqsScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: FaqsCountAggregateInputType | true
  _avg?: FaqsAvgAggregateInputType
  _sum?: FaqsSumAggregateInputType
  _min?: FaqsMinAggregateInputType
  _max?: FaqsMaxAggregateInputType
}

export type FaqsGroupByOutputType = {
  id: bigint
  question: string
  answer: string
  sort_order: number | null
  status: boolean | null
  created_at: Date | null
  updated_at: Date | null
  _count: FaqsCountAggregateOutputType | null
  _avg: FaqsAvgAggregateOutputType | null
  _sum: FaqsSumAggregateOutputType | null
  _min: FaqsMinAggregateOutputType | null
  _max: FaqsMaxAggregateOutputType | null
}

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



export type faqsWhereInput = {
  AND?: Prisma.faqsWhereInput | Prisma.faqsWhereInput[]
  OR?: Prisma.faqsWhereInput[]
  NOT?: Prisma.faqsWhereInput | Prisma.faqsWhereInput[]
  id?: Prisma.BigIntFilter<"faqs"> | bigint | number
  question?: Prisma.StringFilter<"faqs"> | string
  answer?: Prisma.StringFilter<"faqs"> | string
  sort_order?: Prisma.IntNullableFilter<"faqs"> | number | null
  status?: Prisma.BoolNullableFilter<"faqs"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"faqs"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"faqs"> | Date | string | null
}

export type faqsOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  question?: Prisma.SortOrder
  answer?: Prisma.SortOrder
  sort_order?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
}

export type faqsWhereUniqueInput = Prisma.AtLeast<{
  id?: bigint | number
  AND?: Prisma.faqsWhereInput | Prisma.faqsWhereInput[]
  OR?: Prisma.faqsWhereInput[]
  NOT?: Prisma.faqsWhereInput | Prisma.faqsWhereInput[]
  question?: Prisma.StringFilter<"faqs"> | string
  answer?: Prisma.StringFilter<"faqs"> | string
  sort_order?: Prisma.IntNullableFilter<"faqs"> | number | null
  status?: Prisma.BoolNullableFilter<"faqs"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"faqs"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"faqs"> | Date | string | null
}, "id">

export type faqsOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  question?: Prisma.SortOrder
  answer?: Prisma.SortOrder
  sort_order?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.faqsCountOrderByAggregateInput
  _avg?: Prisma.faqsAvgOrderByAggregateInput
  _max?: Prisma.faqsMaxOrderByAggregateInput
  _min?: Prisma.faqsMinOrderByAggregateInput
  _sum?: Prisma.faqsSumOrderByAggregateInput
}

export type faqsScalarWhereWithAggregatesInput = {
  AND?: Prisma.faqsScalarWhereWithAggregatesInput | Prisma.faqsScalarWhereWithAggregatesInput[]
  OR?: Prisma.faqsScalarWhereWithAggregatesInput[]
  NOT?: Prisma.faqsScalarWhereWithAggregatesInput | Prisma.faqsScalarWhereWithAggregatesInput[]
  id?: Prisma.BigIntWithAggregatesFilter<"faqs"> | bigint | number
  question?: Prisma.StringWithAggregatesFilter<"faqs"> | string
  answer?: Prisma.StringWithAggregatesFilter<"faqs"> | string
  sort_order?: Prisma.IntNullableWithAggregatesFilter<"faqs"> | number | null
  status?: Prisma.BoolNullableWithAggregatesFilter<"faqs"> | boolean | null
  created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"faqs"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"faqs"> | Date | string | null
}

export type faqsCreateInput = {
  id?: bigint | number
  question: string
  answer: string
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type faqsUncheckedCreateInput = {
  id?: bigint | number
  question: string
  answer: string
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type faqsUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  question?: Prisma.StringFieldUpdateOperationsInput | string
  answer?: Prisma.StringFieldUpdateOperationsInput | string
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type faqsUncheckedUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  question?: Prisma.StringFieldUpdateOperationsInput | string
  answer?: Prisma.StringFieldUpdateOperationsInput | string
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type faqsCreateManyInput = {
  id?: bigint | number
  question: string
  answer: string
  sort_order?: number | null
  status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type faqsUpdateManyMutationInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  question?: Prisma.StringFieldUpdateOperationsInput | string
  answer?: Prisma.StringFieldUpdateOperationsInput | string
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type faqsUncheckedUpdateManyInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  question?: Prisma.StringFieldUpdateOperationsInput | string
  answer?: Prisma.StringFieldUpdateOperationsInput | string
  sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type faqsCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  question?: Prisma.SortOrder
  answer?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

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

export type faqsMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  question?: Prisma.SortOrder
  answer?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type faqsMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  question?: Prisma.SortOrder
  answer?: Prisma.SortOrder
  sort_order?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

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



export type faqsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  question?: boolean
  answer?: boolean
  sort_order?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
}, ExtArgs["result"]["faqs"]>

export type faqsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  question?: boolean
  answer?: boolean
  sort_order?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
}, ExtArgs["result"]["faqs"]>

export type faqsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  question?: boolean
  answer?: boolean
  sort_order?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
}, ExtArgs["result"]["faqs"]>

export type faqsSelectScalar = {
  id?: boolean
  question?: boolean
  answer?: boolean
  sort_order?: boolean
  status?: boolean
  created_at?: boolean
  updated_at?: boolean
}

export type faqsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "question" | "answer" | "sort_order" | "status" | "created_at" | "updated_at", ExtArgs["result"]["faqs"]>

export type $faqsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "faqs"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: bigint
    question: string
    answer: string
    sort_order: number | null
    status: boolean | null
    created_at: Date | null
    updated_at: Date | null
  }, ExtArgs["result"]["faqs"]>
  composites: {}
}

export type faqsGetPayload<S extends boolean | null | undefined | faqsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$faqsPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for faqs.
 * 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__faqsClient<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 faqs model
 */
export interface faqsFieldRefs {
  readonly id: Prisma.FieldRef<"faqs", 'BigInt'>
  readonly question: Prisma.FieldRef<"faqs", 'String'>
  readonly answer: Prisma.FieldRef<"faqs", 'String'>
  readonly sort_order: Prisma.FieldRef<"faqs", 'Int'>
  readonly status: Prisma.FieldRef<"faqs", 'Boolean'>
  readonly created_at: Prisma.FieldRef<"faqs", 'DateTime'>
  readonly updated_at: Prisma.FieldRef<"faqs", 'DateTime'>
}
    

// Custom InputTypes
/**
 * faqs findUnique
 */
export type faqsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the faqs
   */
  select?: Prisma.faqsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the faqs
   */
  omit?: Prisma.faqsOmit<ExtArgs> | null
  /**
   * Filter, which faqs to fetch.
   */
  where: Prisma.faqsWhereUniqueInput
}

/**
 * faqs findUniqueOrThrow
 */
export type faqsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the faqs
   */
  select?: Prisma.faqsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the faqs
   */
  omit?: Prisma.faqsOmit<ExtArgs> | null
  /**
   * Filter, which faqs to fetch.
   */
  where: Prisma.faqsWhereUniqueInput
}

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

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

/**
 * faqs findMany
 */
export type faqsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the faqs
   */
  select?: Prisma.faqsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the faqs
   */
  omit?: Prisma.faqsOmit<ExtArgs> | null
  /**
   * Filter, which faqs to fetch.
   */
  where?: Prisma.faqsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of faqs to fetch.
   */
  orderBy?: Prisma.faqsOrderByWithRelationInput | Prisma.faqsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing faqs.
   */
  cursor?: Prisma.faqsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` faqs 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` faqs.
   */
  skip?: number
  distinct?: Prisma.FaqsScalarFieldEnum | Prisma.FaqsScalarFieldEnum[]
}

/**
 * faqs create
 */
export type faqsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the faqs
   */
  select?: Prisma.faqsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the faqs
   */
  omit?: Prisma.faqsOmit<ExtArgs> | null
  /**
   * The data needed to create a faqs.
   */
  data: Prisma.XOR<Prisma.faqsCreateInput, Prisma.faqsUncheckedCreateInput>
}

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

/**
 * faqs createManyAndReturn
 */
export type faqsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the faqs
   */
  select?: Prisma.faqsSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the faqs
   */
  omit?: Prisma.faqsOmit<ExtArgs> | null
  /**
   * The data used to create many faqs.
   */
  data: Prisma.faqsCreateManyInput | Prisma.faqsCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * faqs update
 */
export type faqsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the faqs
   */
  select?: Prisma.faqsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the faqs
   */
  omit?: Prisma.faqsOmit<ExtArgs> | null
  /**
   * The data needed to update a faqs.
   */
  data: Prisma.XOR<Prisma.faqsUpdateInput, Prisma.faqsUncheckedUpdateInput>
  /**
   * Choose, which faqs to update.
   */
  where: Prisma.faqsWhereUniqueInput
}

/**
 * faqs updateMany
 */
export type faqsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update faqs.
   */
  data: Prisma.XOR<Prisma.faqsUpdateManyMutationInput, Prisma.faqsUncheckedUpdateManyInput>
  /**
   * Filter which faqs to update
   */
  where?: Prisma.faqsWhereInput
  /**
   * Limit how many faqs to update.
   */
  limit?: number
}

/**
 * faqs updateManyAndReturn
 */
export type faqsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the faqs
   */
  select?: Prisma.faqsSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the faqs
   */
  omit?: Prisma.faqsOmit<ExtArgs> | null
  /**
   * The data used to update faqs.
   */
  data: Prisma.XOR<Prisma.faqsUpdateManyMutationInput, Prisma.faqsUncheckedUpdateManyInput>
  /**
   * Filter which faqs to update
   */
  where?: Prisma.faqsWhereInput
  /**
   * Limit how many faqs to update.
   */
  limit?: number
}

/**
 * faqs upsert
 */
export type faqsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the faqs
   */
  select?: Prisma.faqsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the faqs
   */
  omit?: Prisma.faqsOmit<ExtArgs> | null
  /**
   * The filter to search for the faqs to update in case it exists.
   */
  where: Prisma.faqsWhereUniqueInput
  /**
   * In case the faqs found by the `where` argument doesn't exist, create a new faqs with this data.
   */
  create: Prisma.XOR<Prisma.faqsCreateInput, Prisma.faqsUncheckedCreateInput>
  /**
   * In case the faqs was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.faqsUpdateInput, Prisma.faqsUncheckedUpdateInput>
}

/**
 * faqs delete
 */
export type faqsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the faqs
   */
  select?: Prisma.faqsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the faqs
   */
  omit?: Prisma.faqsOmit<ExtArgs> | null
  /**
   * Filter which faqs to delete.
   */
  where: Prisma.faqsWhereUniqueInput
}

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

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