
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `accord_paiement` 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 accord_paiement
 * This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
 */
export type accord_paiementModel = runtime.Types.Result.DefaultSelection<Prisma.$accord_paiementPayload>

export type AggregateAccord_paiement = {
  _count: Accord_paiementCountAggregateOutputType | null
  _avg: Accord_paiementAvgAggregateOutputType | null
  _sum: Accord_paiementSumAggregateOutputType | null
  _min: Accord_paiementMinAggregateOutputType | null
  _max: Accord_paiementMaxAggregateOutputType | null
}

export type Accord_paiementAvgAggregateOutputType = {
  id: number | null
  account_id: number | null
  date_accord: number | null
  date_echeance: number | null
  date_coupure: number | null
  montant: runtime.Decimal | null
  method: number | null
  status: number | null
  staff_id: number | null
}

export type Accord_paiementSumAggregateOutputType = {
  id: number | null
  account_id: number | null
  date_accord: bigint | null
  date_echeance: bigint | null
  date_coupure: bigint | null
  montant: runtime.Decimal | null
  method: number | null
  status: number | null
  staff_id: number | null
}

export type Accord_paiementMinAggregateOutputType = {
  id: number | null
  account_id: number | null
  date_accord: bigint | null
  date_echeance: bigint | null
  date_coupure: bigint | null
  raison_changement: string | null
  montant: runtime.Decimal | null
  method: number | null
  ferie: boolean | null
  note: string | null
  status: number | null
  staff_id: number | null
  date_create: string | null
}

export type Accord_paiementMaxAggregateOutputType = {
  id: number | null
  account_id: number | null
  date_accord: bigint | null
  date_echeance: bigint | null
  date_coupure: bigint | null
  raison_changement: string | null
  montant: runtime.Decimal | null
  method: number | null
  ferie: boolean | null
  note: string | null
  status: number | null
  staff_id: number | null
  date_create: string | null
}

export type Accord_paiementCountAggregateOutputType = {
  id: number
  account_id: number
  date_accord: number
  date_echeance: number
  date_coupure: number
  raison_changement: number
  montant: number
  method: number
  ferie: number
  note: number
  status: number
  staff_id: number
  date_create: number
  _all: number
}


export type Accord_paiementAvgAggregateInputType = {
  id?: true
  account_id?: true
  date_accord?: true
  date_echeance?: true
  date_coupure?: true
  montant?: true
  method?: true
  status?: true
  staff_id?: true
}

export type Accord_paiementSumAggregateInputType = {
  id?: true
  account_id?: true
  date_accord?: true
  date_echeance?: true
  date_coupure?: true
  montant?: true
  method?: true
  status?: true
  staff_id?: true
}

export type Accord_paiementMinAggregateInputType = {
  id?: true
  account_id?: true
  date_accord?: true
  date_echeance?: true
  date_coupure?: true
  raison_changement?: true
  montant?: true
  method?: true
  ferie?: true
  note?: true
  status?: true
  staff_id?: true
  date_create?: true
}

export type Accord_paiementMaxAggregateInputType = {
  id?: true
  account_id?: true
  date_accord?: true
  date_echeance?: true
  date_coupure?: true
  raison_changement?: true
  montant?: true
  method?: true
  ferie?: true
  note?: true
  status?: true
  staff_id?: true
  date_create?: true
}

export type Accord_paiementCountAggregateInputType = {
  id?: true
  account_id?: true
  date_accord?: true
  date_echeance?: true
  date_coupure?: true
  raison_changement?: true
  montant?: true
  method?: true
  ferie?: true
  note?: true
  status?: true
  staff_id?: true
  date_create?: true
  _all?: true
}

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

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




export type accord_paiementGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.accord_paiementWhereInput
  orderBy?: Prisma.accord_paiementOrderByWithAggregationInput | Prisma.accord_paiementOrderByWithAggregationInput[]
  by: Prisma.Accord_paiementScalarFieldEnum[] | Prisma.Accord_paiementScalarFieldEnum
  having?: Prisma.accord_paiementScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Accord_paiementCountAggregateInputType | true
  _avg?: Accord_paiementAvgAggregateInputType
  _sum?: Accord_paiementSumAggregateInputType
  _min?: Accord_paiementMinAggregateInputType
  _max?: Accord_paiementMaxAggregateInputType
}

export type Accord_paiementGroupByOutputType = {
  id: number
  account_id: number
  date_accord: bigint
  date_echeance: bigint
  date_coupure: bigint
  raison_changement: string | null
  montant: runtime.Decimal
  method: number
  ferie: boolean
  note: string | null
  status: number
  staff_id: number
  date_create: string
  _count: Accord_paiementCountAggregateOutputType | null
  _avg: Accord_paiementAvgAggregateOutputType | null
  _sum: Accord_paiementSumAggregateOutputType | null
  _min: Accord_paiementMinAggregateOutputType | null
  _max: Accord_paiementMaxAggregateOutputType | null
}

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



export type accord_paiementWhereInput = {
  AND?: Prisma.accord_paiementWhereInput | Prisma.accord_paiementWhereInput[]
  OR?: Prisma.accord_paiementWhereInput[]
  NOT?: Prisma.accord_paiementWhereInput | Prisma.accord_paiementWhereInput[]
  id?: Prisma.IntFilter<"accord_paiement"> | number
  account_id?: Prisma.IntFilter<"accord_paiement"> | number
  date_accord?: Prisma.BigIntFilter<"accord_paiement"> | bigint | number
  date_echeance?: Prisma.BigIntFilter<"accord_paiement"> | bigint | number
  date_coupure?: Prisma.BigIntFilter<"accord_paiement"> | bigint | number
  raison_changement?: Prisma.StringNullableFilter<"accord_paiement"> | string | null
  montant?: Prisma.DecimalFilter<"accord_paiement"> | runtime.Decimal | runtime.DecimalJsLike | number | string
  method?: Prisma.IntFilter<"accord_paiement"> | number
  ferie?: Prisma.BoolFilter<"accord_paiement"> | boolean
  note?: Prisma.StringNullableFilter<"accord_paiement"> | string | null
  status?: Prisma.IntFilter<"accord_paiement"> | number
  staff_id?: Prisma.IntFilter<"accord_paiement"> | number
  date_create?: Prisma.StringFilter<"accord_paiement"> | string
}

export type accord_paiementOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_accord?: Prisma.SortOrder
  date_echeance?: Prisma.SortOrder
  date_coupure?: Prisma.SortOrder
  raison_changement?: Prisma.SortOrderInput | Prisma.SortOrder
  montant?: Prisma.SortOrder
  method?: Prisma.SortOrder
  ferie?: Prisma.SortOrder
  note?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  date_create?: Prisma.SortOrder
  _relevance?: Prisma.accord_paiementOrderByRelevanceInput
}

export type accord_paiementWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.accord_paiementWhereInput | Prisma.accord_paiementWhereInput[]
  OR?: Prisma.accord_paiementWhereInput[]
  NOT?: Prisma.accord_paiementWhereInput | Prisma.accord_paiementWhereInput[]
  account_id?: Prisma.IntFilter<"accord_paiement"> | number
  date_accord?: Prisma.BigIntFilter<"accord_paiement"> | bigint | number
  date_echeance?: Prisma.BigIntFilter<"accord_paiement"> | bigint | number
  date_coupure?: Prisma.BigIntFilter<"accord_paiement"> | bigint | number
  raison_changement?: Prisma.StringNullableFilter<"accord_paiement"> | string | null
  montant?: Prisma.DecimalFilter<"accord_paiement"> | runtime.Decimal | runtime.DecimalJsLike | number | string
  method?: Prisma.IntFilter<"accord_paiement"> | number
  ferie?: Prisma.BoolFilter<"accord_paiement"> | boolean
  note?: Prisma.StringNullableFilter<"accord_paiement"> | string | null
  status?: Prisma.IntFilter<"accord_paiement"> | number
  staff_id?: Prisma.IntFilter<"accord_paiement"> | number
  date_create?: Prisma.StringFilter<"accord_paiement"> | string
}, "id">

export type accord_paiementOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_accord?: Prisma.SortOrder
  date_echeance?: Prisma.SortOrder
  date_coupure?: Prisma.SortOrder
  raison_changement?: Prisma.SortOrderInput | Prisma.SortOrder
  montant?: Prisma.SortOrder
  method?: Prisma.SortOrder
  ferie?: Prisma.SortOrder
  note?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  date_create?: Prisma.SortOrder
  _count?: Prisma.accord_paiementCountOrderByAggregateInput
  _avg?: Prisma.accord_paiementAvgOrderByAggregateInput
  _max?: Prisma.accord_paiementMaxOrderByAggregateInput
  _min?: Prisma.accord_paiementMinOrderByAggregateInput
  _sum?: Prisma.accord_paiementSumOrderByAggregateInput
}

export type accord_paiementScalarWhereWithAggregatesInput = {
  AND?: Prisma.accord_paiementScalarWhereWithAggregatesInput | Prisma.accord_paiementScalarWhereWithAggregatesInput[]
  OR?: Prisma.accord_paiementScalarWhereWithAggregatesInput[]
  NOT?: Prisma.accord_paiementScalarWhereWithAggregatesInput | Prisma.accord_paiementScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"accord_paiement"> | number
  account_id?: Prisma.IntWithAggregatesFilter<"accord_paiement"> | number
  date_accord?: Prisma.BigIntWithAggregatesFilter<"accord_paiement"> | bigint | number
  date_echeance?: Prisma.BigIntWithAggregatesFilter<"accord_paiement"> | bigint | number
  date_coupure?: Prisma.BigIntWithAggregatesFilter<"accord_paiement"> | bigint | number
  raison_changement?: Prisma.StringNullableWithAggregatesFilter<"accord_paiement"> | string | null
  montant?: Prisma.DecimalWithAggregatesFilter<"accord_paiement"> | runtime.Decimal | runtime.DecimalJsLike | number | string
  method?: Prisma.IntWithAggregatesFilter<"accord_paiement"> | number
  ferie?: Prisma.BoolWithAggregatesFilter<"accord_paiement"> | boolean
  note?: Prisma.StringNullableWithAggregatesFilter<"accord_paiement"> | string | null
  status?: Prisma.IntWithAggregatesFilter<"accord_paiement"> | number
  staff_id?: Prisma.IntWithAggregatesFilter<"accord_paiement"> | number
  date_create?: Prisma.StringWithAggregatesFilter<"accord_paiement"> | string
}

export type accord_paiementCreateInput = {
  account_id: number
  date_accord: bigint | number
  date_echeance: bigint | number
  date_coupure: bigint | number
  raison_changement?: string | null
  montant: runtime.Decimal | runtime.DecimalJsLike | number | string
  method?: number
  ferie?: boolean
  note?: string | null
  status?: number
  staff_id?: number
  date_create: string
}

export type accord_paiementUncheckedCreateInput = {
  id?: number
  account_id: number
  date_accord: bigint | number
  date_echeance: bigint | number
  date_coupure: bigint | number
  raison_changement?: string | null
  montant: runtime.Decimal | runtime.DecimalJsLike | number | string
  method?: number
  ferie?: boolean
  note?: string | null
  status?: number
  staff_id?: number
  date_create: string
}

export type accord_paiementUpdateInput = {
  account_id?: Prisma.IntFieldUpdateOperationsInput | number
  date_accord?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date_echeance?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date_coupure?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  raison_changement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  montant?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
  method?: Prisma.IntFieldUpdateOperationsInput | number
  ferie?: Prisma.BoolFieldUpdateOperationsInput | boolean
  note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.IntFieldUpdateOperationsInput | number
  staff_id?: Prisma.IntFieldUpdateOperationsInput | number
  date_create?: Prisma.StringFieldUpdateOperationsInput | string
}

export type accord_paiementUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  account_id?: Prisma.IntFieldUpdateOperationsInput | number
  date_accord?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date_echeance?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date_coupure?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  raison_changement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  montant?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
  method?: Prisma.IntFieldUpdateOperationsInput | number
  ferie?: Prisma.BoolFieldUpdateOperationsInput | boolean
  note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.IntFieldUpdateOperationsInput | number
  staff_id?: Prisma.IntFieldUpdateOperationsInput | number
  date_create?: Prisma.StringFieldUpdateOperationsInput | string
}

export type accord_paiementCreateManyInput = {
  id?: number
  account_id: number
  date_accord: bigint | number
  date_echeance: bigint | number
  date_coupure: bigint | number
  raison_changement?: string | null
  montant: runtime.Decimal | runtime.DecimalJsLike | number | string
  method?: number
  ferie?: boolean
  note?: string | null
  status?: number
  staff_id?: number
  date_create: string
}

export type accord_paiementUpdateManyMutationInput = {
  account_id?: Prisma.IntFieldUpdateOperationsInput | number
  date_accord?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date_echeance?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date_coupure?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  raison_changement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  montant?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
  method?: Prisma.IntFieldUpdateOperationsInput | number
  ferie?: Prisma.BoolFieldUpdateOperationsInput | boolean
  note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.IntFieldUpdateOperationsInput | number
  staff_id?: Prisma.IntFieldUpdateOperationsInput | number
  date_create?: Prisma.StringFieldUpdateOperationsInput | string
}

export type accord_paiementUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  account_id?: Prisma.IntFieldUpdateOperationsInput | number
  date_accord?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date_echeance?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date_coupure?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  raison_changement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  montant?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
  method?: Prisma.IntFieldUpdateOperationsInput | number
  ferie?: Prisma.BoolFieldUpdateOperationsInput | boolean
  note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.IntFieldUpdateOperationsInput | number
  staff_id?: Prisma.IntFieldUpdateOperationsInput | number
  date_create?: Prisma.StringFieldUpdateOperationsInput | string
}

export type accord_paiementOrderByRelevanceInput = {
  fields: Prisma.accord_paiementOrderByRelevanceFieldEnum | Prisma.accord_paiementOrderByRelevanceFieldEnum[]
  sort: Prisma.SortOrder
  search: string
}

export type accord_paiementCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_accord?: Prisma.SortOrder
  date_echeance?: Prisma.SortOrder
  date_coupure?: Prisma.SortOrder
  raison_changement?: Prisma.SortOrder
  montant?: Prisma.SortOrder
  method?: Prisma.SortOrder
  ferie?: Prisma.SortOrder
  note?: Prisma.SortOrder
  status?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  date_create?: Prisma.SortOrder
}

export type accord_paiementAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_accord?: Prisma.SortOrder
  date_echeance?: Prisma.SortOrder
  date_coupure?: Prisma.SortOrder
  montant?: Prisma.SortOrder
  method?: Prisma.SortOrder
  status?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
}

export type accord_paiementMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_accord?: Prisma.SortOrder
  date_echeance?: Prisma.SortOrder
  date_coupure?: Prisma.SortOrder
  raison_changement?: Prisma.SortOrder
  montant?: Prisma.SortOrder
  method?: Prisma.SortOrder
  ferie?: Prisma.SortOrder
  note?: Prisma.SortOrder
  status?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  date_create?: Prisma.SortOrder
}

export type accord_paiementMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_accord?: Prisma.SortOrder
  date_echeance?: Prisma.SortOrder
  date_coupure?: Prisma.SortOrder
  raison_changement?: Prisma.SortOrder
  montant?: Prisma.SortOrder
  method?: Prisma.SortOrder
  ferie?: Prisma.SortOrder
  note?: Prisma.SortOrder
  status?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  date_create?: Prisma.SortOrder
}

export type accord_paiementSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_accord?: Prisma.SortOrder
  date_echeance?: Prisma.SortOrder
  date_coupure?: Prisma.SortOrder
  montant?: Prisma.SortOrder
  method?: Prisma.SortOrder
  status?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
}



export type accord_paiementSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  account_id?: boolean
  date_accord?: boolean
  date_echeance?: boolean
  date_coupure?: boolean
  raison_changement?: boolean
  montant?: boolean
  method?: boolean
  ferie?: boolean
  note?: boolean
  status?: boolean
  staff_id?: boolean
  date_create?: boolean
}, ExtArgs["result"]["accord_paiement"]>



export type accord_paiementSelectScalar = {
  id?: boolean
  account_id?: boolean
  date_accord?: boolean
  date_echeance?: boolean
  date_coupure?: boolean
  raison_changement?: boolean
  montant?: boolean
  method?: boolean
  ferie?: boolean
  note?: boolean
  status?: boolean
  staff_id?: boolean
  date_create?: boolean
}

export type accord_paiementOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "date_accord" | "date_echeance" | "date_coupure" | "raison_changement" | "montant" | "method" | "ferie" | "note" | "status" | "staff_id" | "date_create", ExtArgs["result"]["accord_paiement"]>

export type $accord_paiementPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "accord_paiement"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    account_id: number
    date_accord: bigint
    date_echeance: bigint
    date_coupure: bigint
    raison_changement: string | null
    montant: runtime.Decimal
    method: number
    ferie: boolean
    note: string | null
    status: number
    staff_id: number
    date_create: string
  }, ExtArgs["result"]["accord_paiement"]>
  composites: {}
}

export type accord_paiementGetPayload<S extends boolean | null | undefined | accord_paiementDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$accord_paiementPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for accord_paiement.
 * 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__accord_paiementClient<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 accord_paiement model
 */
export interface accord_paiementFieldRefs {
  readonly id: Prisma.FieldRef<"accord_paiement", 'Int'>
  readonly account_id: Prisma.FieldRef<"accord_paiement", 'Int'>
  readonly date_accord: Prisma.FieldRef<"accord_paiement", 'BigInt'>
  readonly date_echeance: Prisma.FieldRef<"accord_paiement", 'BigInt'>
  readonly date_coupure: Prisma.FieldRef<"accord_paiement", 'BigInt'>
  readonly raison_changement: Prisma.FieldRef<"accord_paiement", 'String'>
  readonly montant: Prisma.FieldRef<"accord_paiement", 'Decimal'>
  readonly method: Prisma.FieldRef<"accord_paiement", 'Int'>
  readonly ferie: Prisma.FieldRef<"accord_paiement", 'Boolean'>
  readonly note: Prisma.FieldRef<"accord_paiement", 'String'>
  readonly status: Prisma.FieldRef<"accord_paiement", 'Int'>
  readonly staff_id: Prisma.FieldRef<"accord_paiement", 'Int'>
  readonly date_create: Prisma.FieldRef<"accord_paiement", 'String'>
}
    

// Custom InputTypes
/**
 * accord_paiement findUnique
 */
export type accord_paiementFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the accord_paiement
   */
  select?: Prisma.accord_paiementSelect<ExtArgs> | null
  /**
   * Omit specific fields from the accord_paiement
   */
  omit?: Prisma.accord_paiementOmit<ExtArgs> | null
  /**
   * Filter, which accord_paiement to fetch.
   */
  where: Prisma.accord_paiementWhereUniqueInput
}

/**
 * accord_paiement findUniqueOrThrow
 */
export type accord_paiementFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the accord_paiement
   */
  select?: Prisma.accord_paiementSelect<ExtArgs> | null
  /**
   * Omit specific fields from the accord_paiement
   */
  omit?: Prisma.accord_paiementOmit<ExtArgs> | null
  /**
   * Filter, which accord_paiement to fetch.
   */
  where: Prisma.accord_paiementWhereUniqueInput
}

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

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

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

/**
 * accord_paiement create
 */
export type accord_paiementCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the accord_paiement
   */
  select?: Prisma.accord_paiementSelect<ExtArgs> | null
  /**
   * Omit specific fields from the accord_paiement
   */
  omit?: Prisma.accord_paiementOmit<ExtArgs> | null
  /**
   * The data needed to create a accord_paiement.
   */
  data: Prisma.XOR<Prisma.accord_paiementCreateInput, Prisma.accord_paiementUncheckedCreateInput>
}

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

/**
 * accord_paiement update
 */
export type accord_paiementUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the accord_paiement
   */
  select?: Prisma.accord_paiementSelect<ExtArgs> | null
  /**
   * Omit specific fields from the accord_paiement
   */
  omit?: Prisma.accord_paiementOmit<ExtArgs> | null
  /**
   * The data needed to update a accord_paiement.
   */
  data: Prisma.XOR<Prisma.accord_paiementUpdateInput, Prisma.accord_paiementUncheckedUpdateInput>
  /**
   * Choose, which accord_paiement to update.
   */
  where: Prisma.accord_paiementWhereUniqueInput
}

/**
 * accord_paiement updateMany
 */
export type accord_paiementUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update accord_paiements.
   */
  data: Prisma.XOR<Prisma.accord_paiementUpdateManyMutationInput, Prisma.accord_paiementUncheckedUpdateManyInput>
  /**
   * Filter which accord_paiements to update
   */
  where?: Prisma.accord_paiementWhereInput
  /**
   * Limit how many accord_paiements to update.
   */
  limit?: number
}

/**
 * accord_paiement upsert
 */
export type accord_paiementUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the accord_paiement
   */
  select?: Prisma.accord_paiementSelect<ExtArgs> | null
  /**
   * Omit specific fields from the accord_paiement
   */
  omit?: Prisma.accord_paiementOmit<ExtArgs> | null
  /**
   * The filter to search for the accord_paiement to update in case it exists.
   */
  where: Prisma.accord_paiementWhereUniqueInput
  /**
   * In case the accord_paiement found by the `where` argument doesn't exist, create a new accord_paiement with this data.
   */
  create: Prisma.XOR<Prisma.accord_paiementCreateInput, Prisma.accord_paiementUncheckedCreateInput>
  /**
   * In case the accord_paiement was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.accord_paiementUpdateInput, Prisma.accord_paiementUncheckedUpdateInput>
}

/**
 * accord_paiement delete
 */
export type accord_paiementDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the accord_paiement
   */
  select?: Prisma.accord_paiementSelect<ExtArgs> | null
  /**
   * Omit specific fields from the accord_paiement
   */
  omit?: Prisma.accord_paiementOmit<ExtArgs> | null
  /**
   * Filter which accord_paiement to delete.
   */
  where: Prisma.accord_paiementWhereUniqueInput
}

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

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