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

export type AggregateCompta_journal_ecriture_detail_bk = {
  _count: Compta_journal_ecriture_detail_bkCountAggregateOutputType | null
  _avg: Compta_journal_ecriture_detail_bkAvgAggregateOutputType | null
  _sum: Compta_journal_ecriture_detail_bkSumAggregateOutputType | null
  _min: Compta_journal_ecriture_detail_bkMinAggregateOutputType | null
  _max: Compta_journal_ecriture_detail_bkMaxAggregateOutputType | null
}

export type Compta_journal_ecriture_detail_bkAvgAggregateOutputType = {
  id: number | null
  journal_id: number | null
  num_compte: number | null
  amount: number | null
}

export type Compta_journal_ecriture_detail_bkSumAggregateOutputType = {
  id: bigint | null
  journal_id: bigint | null
  num_compte: bigint | null
  amount: number | null
}

export type Compta_journal_ecriture_detail_bkMinAggregateOutputType = {
  id: bigint | null
  journal_id: bigint | null
  num_compte: bigint | null
  amount: number | null
  action: string | null
}

export type Compta_journal_ecriture_detail_bkMaxAggregateOutputType = {
  id: bigint | null
  journal_id: bigint | null
  num_compte: bigint | null
  amount: number | null
  action: string | null
}

export type Compta_journal_ecriture_detail_bkCountAggregateOutputType = {
  id: number
  journal_id: number
  num_compte: number
  amount: number
  action: number
  _all: number
}


export type Compta_journal_ecriture_detail_bkAvgAggregateInputType = {
  id?: true
  journal_id?: true
  num_compte?: true
  amount?: true
}

export type Compta_journal_ecriture_detail_bkSumAggregateInputType = {
  id?: true
  journal_id?: true
  num_compte?: true
  amount?: true
}

export type Compta_journal_ecriture_detail_bkMinAggregateInputType = {
  id?: true
  journal_id?: true
  num_compte?: true
  amount?: true
  action?: true
}

export type Compta_journal_ecriture_detail_bkMaxAggregateInputType = {
  id?: true
  journal_id?: true
  num_compte?: true
  amount?: true
  action?: true
}

export type Compta_journal_ecriture_detail_bkCountAggregateInputType = {
  id?: true
  journal_id?: true
  num_compte?: true
  amount?: true
  action?: true
  _all?: true
}

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

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




export type compta_journal_ecriture_detail_bkGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.compta_journal_ecriture_detail_bkWhereInput
  orderBy?: Prisma.compta_journal_ecriture_detail_bkOrderByWithAggregationInput | Prisma.compta_journal_ecriture_detail_bkOrderByWithAggregationInput[]
  by: Prisma.Compta_journal_ecriture_detail_bkScalarFieldEnum[] | Prisma.Compta_journal_ecriture_detail_bkScalarFieldEnum
  having?: Prisma.compta_journal_ecriture_detail_bkScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Compta_journal_ecriture_detail_bkCountAggregateInputType | true
  _avg?: Compta_journal_ecriture_detail_bkAvgAggregateInputType
  _sum?: Compta_journal_ecriture_detail_bkSumAggregateInputType
  _min?: Compta_journal_ecriture_detail_bkMinAggregateInputType
  _max?: Compta_journal_ecriture_detail_bkMaxAggregateInputType
}

export type Compta_journal_ecriture_detail_bkGroupByOutputType = {
  id: bigint
  journal_id: bigint | null
  num_compte: bigint | null
  amount: number | null
  action: string | null
  _count: Compta_journal_ecriture_detail_bkCountAggregateOutputType | null
  _avg: Compta_journal_ecriture_detail_bkAvgAggregateOutputType | null
  _sum: Compta_journal_ecriture_detail_bkSumAggregateOutputType | null
  _min: Compta_journal_ecriture_detail_bkMinAggregateOutputType | null
  _max: Compta_journal_ecriture_detail_bkMaxAggregateOutputType | null
}

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



export type compta_journal_ecriture_detail_bkWhereInput = {
  AND?: Prisma.compta_journal_ecriture_detail_bkWhereInput | Prisma.compta_journal_ecriture_detail_bkWhereInput[]
  OR?: Prisma.compta_journal_ecriture_detail_bkWhereInput[]
  NOT?: Prisma.compta_journal_ecriture_detail_bkWhereInput | Prisma.compta_journal_ecriture_detail_bkWhereInput[]
  id?: Prisma.BigIntFilter<"compta_journal_ecriture_detail_bk"> | bigint | number
  journal_id?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_detail_bk"> | bigint | number | null
  num_compte?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_detail_bk"> | bigint | number | null
  amount?: Prisma.FloatNullableFilter<"compta_journal_ecriture_detail_bk"> | number | null
  action?: Prisma.StringNullableFilter<"compta_journal_ecriture_detail_bk"> | string | null
}

export type compta_journal_ecriture_detail_bkOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  journal_id?: Prisma.SortOrderInput | Prisma.SortOrder
  num_compte?: Prisma.SortOrderInput | Prisma.SortOrder
  amount?: Prisma.SortOrderInput | Prisma.SortOrder
  action?: Prisma.SortOrderInput | Prisma.SortOrder
  _relevance?: Prisma.compta_journal_ecriture_detail_bkOrderByRelevanceInput
}

export type compta_journal_ecriture_detail_bkWhereUniqueInput = Prisma.AtLeast<{
  id?: bigint | number
  AND?: Prisma.compta_journal_ecriture_detail_bkWhereInput | Prisma.compta_journal_ecriture_detail_bkWhereInput[]
  OR?: Prisma.compta_journal_ecriture_detail_bkWhereInput[]
  NOT?: Prisma.compta_journal_ecriture_detail_bkWhereInput | Prisma.compta_journal_ecriture_detail_bkWhereInput[]
  journal_id?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_detail_bk"> | bigint | number | null
  num_compte?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_detail_bk"> | bigint | number | null
  amount?: Prisma.FloatNullableFilter<"compta_journal_ecriture_detail_bk"> | number | null
  action?: Prisma.StringNullableFilter<"compta_journal_ecriture_detail_bk"> | string | null
}, "id">

export type compta_journal_ecriture_detail_bkOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  journal_id?: Prisma.SortOrderInput | Prisma.SortOrder
  num_compte?: Prisma.SortOrderInput | Prisma.SortOrder
  amount?: Prisma.SortOrderInput | Prisma.SortOrder
  action?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.compta_journal_ecriture_detail_bkCountOrderByAggregateInput
  _avg?: Prisma.compta_journal_ecriture_detail_bkAvgOrderByAggregateInput
  _max?: Prisma.compta_journal_ecriture_detail_bkMaxOrderByAggregateInput
  _min?: Prisma.compta_journal_ecriture_detail_bkMinOrderByAggregateInput
  _sum?: Prisma.compta_journal_ecriture_detail_bkSumOrderByAggregateInput
}

export type compta_journal_ecriture_detail_bkScalarWhereWithAggregatesInput = {
  AND?: Prisma.compta_journal_ecriture_detail_bkScalarWhereWithAggregatesInput | Prisma.compta_journal_ecriture_detail_bkScalarWhereWithAggregatesInput[]
  OR?: Prisma.compta_journal_ecriture_detail_bkScalarWhereWithAggregatesInput[]
  NOT?: Prisma.compta_journal_ecriture_detail_bkScalarWhereWithAggregatesInput | Prisma.compta_journal_ecriture_detail_bkScalarWhereWithAggregatesInput[]
  id?: Prisma.BigIntWithAggregatesFilter<"compta_journal_ecriture_detail_bk"> | bigint | number
  journal_id?: Prisma.BigIntNullableWithAggregatesFilter<"compta_journal_ecriture_detail_bk"> | bigint | number | null
  num_compte?: Prisma.BigIntNullableWithAggregatesFilter<"compta_journal_ecriture_detail_bk"> | bigint | number | null
  amount?: Prisma.FloatNullableWithAggregatesFilter<"compta_journal_ecriture_detail_bk"> | number | null
  action?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture_detail_bk"> | string | null
}

export type compta_journal_ecriture_detail_bkCreateInput = {
  id?: bigint | number
  journal_id?: bigint | number | null
  num_compte?: bigint | number | null
  amount?: number | null
  action?: string | null
}

export type compta_journal_ecriture_detail_bkUncheckedCreateInput = {
  id?: bigint | number
  journal_id?: bigint | number | null
  num_compte?: bigint | number | null
  amount?: number | null
  action?: string | null
}

export type compta_journal_ecriture_detail_bkUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  journal_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type compta_journal_ecriture_detail_bkUncheckedUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  journal_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type compta_journal_ecriture_detail_bkCreateManyInput = {
  id?: bigint | number
  journal_id?: bigint | number | null
  num_compte?: bigint | number | null
  amount?: number | null
  action?: string | null
}

export type compta_journal_ecriture_detail_bkUpdateManyMutationInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  journal_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type compta_journal_ecriture_detail_bkUncheckedUpdateManyInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  journal_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

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

export type compta_journal_ecriture_detail_bkCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  journal_id?: Prisma.SortOrder
  num_compte?: Prisma.SortOrder
  amount?: Prisma.SortOrder
  action?: Prisma.SortOrder
}

export type compta_journal_ecriture_detail_bkAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  journal_id?: Prisma.SortOrder
  num_compte?: Prisma.SortOrder
  amount?: Prisma.SortOrder
}

export type compta_journal_ecriture_detail_bkMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  journal_id?: Prisma.SortOrder
  num_compte?: Prisma.SortOrder
  amount?: Prisma.SortOrder
  action?: Prisma.SortOrder
}

export type compta_journal_ecriture_detail_bkMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  journal_id?: Prisma.SortOrder
  num_compte?: Prisma.SortOrder
  amount?: Prisma.SortOrder
  action?: Prisma.SortOrder
}

export type compta_journal_ecriture_detail_bkSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  journal_id?: Prisma.SortOrder
  num_compte?: Prisma.SortOrder
  amount?: Prisma.SortOrder
}



export type compta_journal_ecriture_detail_bkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  journal_id?: boolean
  num_compte?: boolean
  amount?: boolean
  action?: boolean
}, ExtArgs["result"]["compta_journal_ecriture_detail_bk"]>



export type compta_journal_ecriture_detail_bkSelectScalar = {
  id?: boolean
  journal_id?: boolean
  num_compte?: boolean
  amount?: boolean
  action?: boolean
}

export type compta_journal_ecriture_detail_bkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "journal_id" | "num_compte" | "amount" | "action", ExtArgs["result"]["compta_journal_ecriture_detail_bk"]>

export type $compta_journal_ecriture_detail_bkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "compta_journal_ecriture_detail_bk"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: bigint
    journal_id: bigint | null
    num_compte: bigint | null
    amount: number | null
    action: string | null
  }, ExtArgs["result"]["compta_journal_ecriture_detail_bk"]>
  composites: {}
}

export type compta_journal_ecriture_detail_bkGetPayload<S extends boolean | null | undefined | compta_journal_ecriture_detail_bkDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detail_bkPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for compta_journal_ecriture_detail_bk.
 * 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__compta_journal_ecriture_detail_bkClient<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 compta_journal_ecriture_detail_bk model
 */
export interface compta_journal_ecriture_detail_bkFieldRefs {
  readonly id: Prisma.FieldRef<"compta_journal_ecriture_detail_bk", 'BigInt'>
  readonly journal_id: Prisma.FieldRef<"compta_journal_ecriture_detail_bk", 'BigInt'>
  readonly num_compte: Prisma.FieldRef<"compta_journal_ecriture_detail_bk", 'BigInt'>
  readonly amount: Prisma.FieldRef<"compta_journal_ecriture_detail_bk", 'Float'>
  readonly action: Prisma.FieldRef<"compta_journal_ecriture_detail_bk", 'String'>
}
    

// Custom InputTypes
/**
 * compta_journal_ecriture_detail_bk findUnique
 */
export type compta_journal_ecriture_detail_bkFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the compta_journal_ecriture_detail_bk
   */
  select?: Prisma.compta_journal_ecriture_detail_bkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the compta_journal_ecriture_detail_bk
   */
  omit?: Prisma.compta_journal_ecriture_detail_bkOmit<ExtArgs> | null
  /**
   * Filter, which compta_journal_ecriture_detail_bk to fetch.
   */
  where: Prisma.compta_journal_ecriture_detail_bkWhereUniqueInput
}

/**
 * compta_journal_ecriture_detail_bk findUniqueOrThrow
 */
export type compta_journal_ecriture_detail_bkFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the compta_journal_ecriture_detail_bk
   */
  select?: Prisma.compta_journal_ecriture_detail_bkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the compta_journal_ecriture_detail_bk
   */
  omit?: Prisma.compta_journal_ecriture_detail_bkOmit<ExtArgs> | null
  /**
   * Filter, which compta_journal_ecriture_detail_bk to fetch.
   */
  where: Prisma.compta_journal_ecriture_detail_bkWhereUniqueInput
}

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

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

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

/**
 * compta_journal_ecriture_detail_bk create
 */
export type compta_journal_ecriture_detail_bkCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the compta_journal_ecriture_detail_bk
   */
  select?: Prisma.compta_journal_ecriture_detail_bkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the compta_journal_ecriture_detail_bk
   */
  omit?: Prisma.compta_journal_ecriture_detail_bkOmit<ExtArgs> | null
  /**
   * The data needed to create a compta_journal_ecriture_detail_bk.
   */
  data?: Prisma.XOR<Prisma.compta_journal_ecriture_detail_bkCreateInput, Prisma.compta_journal_ecriture_detail_bkUncheckedCreateInput>
}

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

/**
 * compta_journal_ecriture_detail_bk update
 */
export type compta_journal_ecriture_detail_bkUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the compta_journal_ecriture_detail_bk
   */
  select?: Prisma.compta_journal_ecriture_detail_bkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the compta_journal_ecriture_detail_bk
   */
  omit?: Prisma.compta_journal_ecriture_detail_bkOmit<ExtArgs> | null
  /**
   * The data needed to update a compta_journal_ecriture_detail_bk.
   */
  data: Prisma.XOR<Prisma.compta_journal_ecriture_detail_bkUpdateInput, Prisma.compta_journal_ecriture_detail_bkUncheckedUpdateInput>
  /**
   * Choose, which compta_journal_ecriture_detail_bk to update.
   */
  where: Prisma.compta_journal_ecriture_detail_bkWhereUniqueInput
}

/**
 * compta_journal_ecriture_detail_bk updateMany
 */
export type compta_journal_ecriture_detail_bkUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update compta_journal_ecriture_detail_bks.
   */
  data: Prisma.XOR<Prisma.compta_journal_ecriture_detail_bkUpdateManyMutationInput, Prisma.compta_journal_ecriture_detail_bkUncheckedUpdateManyInput>
  /**
   * Filter which compta_journal_ecriture_detail_bks to update
   */
  where?: Prisma.compta_journal_ecriture_detail_bkWhereInput
  /**
   * Limit how many compta_journal_ecriture_detail_bks to update.
   */
  limit?: number
}

/**
 * compta_journal_ecriture_detail_bk upsert
 */
export type compta_journal_ecriture_detail_bkUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the compta_journal_ecriture_detail_bk
   */
  select?: Prisma.compta_journal_ecriture_detail_bkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the compta_journal_ecriture_detail_bk
   */
  omit?: Prisma.compta_journal_ecriture_detail_bkOmit<ExtArgs> | null
  /**
   * The filter to search for the compta_journal_ecriture_detail_bk to update in case it exists.
   */
  where: Prisma.compta_journal_ecriture_detail_bkWhereUniqueInput
  /**
   * In case the compta_journal_ecriture_detail_bk found by the `where` argument doesn't exist, create a new compta_journal_ecriture_detail_bk with this data.
   */
  create: Prisma.XOR<Prisma.compta_journal_ecriture_detail_bkCreateInput, Prisma.compta_journal_ecriture_detail_bkUncheckedCreateInput>
  /**
   * In case the compta_journal_ecriture_detail_bk was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.compta_journal_ecriture_detail_bkUpdateInput, Prisma.compta_journal_ecriture_detail_bkUncheckedUpdateInput>
}

/**
 * compta_journal_ecriture_detail_bk delete
 */
export type compta_journal_ecriture_detail_bkDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the compta_journal_ecriture_detail_bk
   */
  select?: Prisma.compta_journal_ecriture_detail_bkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the compta_journal_ecriture_detail_bk
   */
  omit?: Prisma.compta_journal_ecriture_detail_bkOmit<ExtArgs> | null
  /**
   * Filter which compta_journal_ecriture_detail_bk to delete.
   */
  where: Prisma.compta_journal_ecriture_detail_bkWhereUniqueInput
}

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

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