1205 lines
48 KiB
TypeScript
1205 lines
48 KiB
TypeScript
|
|
/* !!! 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_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_bk
|
|
*
|
|
*/
|
|
export type compta_journal_ecriture_bkModel = runtime.Types.Result.DefaultSelection<Prisma.$compta_journal_ecriture_bkPayload>
|
|
|
|
export type AggregateCompta_journal_ecriture_bk = {
|
|
_count: Compta_journal_ecriture_bkCountAggregateOutputType | null
|
|
_avg: Compta_journal_ecriture_bkAvgAggregateOutputType | null
|
|
_sum: Compta_journal_ecriture_bkSumAggregateOutputType | null
|
|
_min: Compta_journal_ecriture_bkMinAggregateOutputType | null
|
|
_max: Compta_journal_ecriture_bkMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkAvgAggregateOutputType = {
|
|
id: number | null
|
|
date_orig: number | null
|
|
num: number | null
|
|
em: number | null
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkSumAggregateOutputType = {
|
|
id: bigint | null
|
|
date_orig: bigint | null
|
|
num: bigint | null
|
|
em: number | null
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkMinAggregateOutputType = {
|
|
id: bigint | null
|
|
date_orig: bigint | null
|
|
type: string | null
|
|
num: bigint | null
|
|
customer_id: string | null
|
|
full_name: string | null
|
|
desc: string | null
|
|
mo: string | null
|
|
em: number | null
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkMaxAggregateOutputType = {
|
|
id: bigint | null
|
|
date_orig: bigint | null
|
|
type: string | null
|
|
num: bigint | null
|
|
customer_id: string | null
|
|
full_name: string | null
|
|
desc: string | null
|
|
mo: string | null
|
|
em: number | null
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkCountAggregateOutputType = {
|
|
id: number
|
|
date_orig: number
|
|
type: number
|
|
num: number
|
|
customer_id: number
|
|
full_name: number
|
|
desc: number
|
|
mo: number
|
|
em: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Compta_journal_ecriture_bkAvgAggregateInputType = {
|
|
id?: true
|
|
date_orig?: true
|
|
num?: true
|
|
em?: true
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkSumAggregateInputType = {
|
|
id?: true
|
|
date_orig?: true
|
|
num?: true
|
|
em?: true
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkMinAggregateInputType = {
|
|
id?: true
|
|
date_orig?: true
|
|
type?: true
|
|
num?: true
|
|
customer_id?: true
|
|
full_name?: true
|
|
desc?: true
|
|
mo?: true
|
|
em?: true
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkMaxAggregateInputType = {
|
|
id?: true
|
|
date_orig?: true
|
|
type?: true
|
|
num?: true
|
|
customer_id?: true
|
|
full_name?: true
|
|
desc?: true
|
|
mo?: true
|
|
em?: true
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkCountAggregateInputType = {
|
|
id?: true
|
|
date_orig?: true
|
|
type?: true
|
|
num?: true
|
|
customer_id?: true
|
|
full_name?: true
|
|
desc?: true
|
|
mo?: true
|
|
em?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which compta_journal_ecriture_bk to aggregate.
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_bkWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecriture_bks to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecriture_bkOrderByWithRelationInput | Prisma.compta_journal_ecriture_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_bkWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecriture_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_bks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned compta_journal_ecriture_bks
|
|
**/
|
|
_count?: true | Compta_journal_ecriture_bkCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Compta_journal_ecriture_bkAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Compta_journal_ecriture_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_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_bkMaxAggregateInputType
|
|
}
|
|
|
|
export type GetCompta_journal_ecriture_bkAggregateType<T extends Compta_journal_ecriture_bkAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCompta_journal_ecriture_bk]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateCompta_journal_ecriture_bk[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateCompta_journal_ecriture_bk[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type compta_journal_ecriture_bkGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.compta_journal_ecriture_bkWhereInput
|
|
orderBy?: Prisma.compta_journal_ecriture_bkOrderByWithAggregationInput | Prisma.compta_journal_ecriture_bkOrderByWithAggregationInput[]
|
|
by: Prisma.Compta_journal_ecriture_bkScalarFieldEnum[] | Prisma.Compta_journal_ecriture_bkScalarFieldEnum
|
|
having?: Prisma.compta_journal_ecriture_bkScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Compta_journal_ecriture_bkCountAggregateInputType | true
|
|
_avg?: Compta_journal_ecriture_bkAvgAggregateInputType
|
|
_sum?: Compta_journal_ecriture_bkSumAggregateInputType
|
|
_min?: Compta_journal_ecriture_bkMinAggregateInputType
|
|
_max?: Compta_journal_ecriture_bkMaxAggregateInputType
|
|
}
|
|
|
|
export type Compta_journal_ecriture_bkGroupByOutputType = {
|
|
id: bigint
|
|
date_orig: bigint | null
|
|
type: string | null
|
|
num: bigint | null
|
|
customer_id: string | null
|
|
full_name: string | null
|
|
desc: string | null
|
|
mo: string | null
|
|
em: number
|
|
_count: Compta_journal_ecriture_bkCountAggregateOutputType | null
|
|
_avg: Compta_journal_ecriture_bkAvgAggregateOutputType | null
|
|
_sum: Compta_journal_ecriture_bkSumAggregateOutputType | null
|
|
_min: Compta_journal_ecriture_bkMinAggregateOutputType | null
|
|
_max: Compta_journal_ecriture_bkMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetCompta_journal_ecriture_bkGroupByPayload<T extends compta_journal_ecriture_bkGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Compta_journal_ecriture_bkGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Compta_journal_ecriture_bkGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Compta_journal_ecriture_bkGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Compta_journal_ecriture_bkGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type compta_journal_ecriture_bkWhereInput = {
|
|
AND?: Prisma.compta_journal_ecriture_bkWhereInput | Prisma.compta_journal_ecriture_bkWhereInput[]
|
|
OR?: Prisma.compta_journal_ecriture_bkWhereInput[]
|
|
NOT?: Prisma.compta_journal_ecriture_bkWhereInput | Prisma.compta_journal_ecriture_bkWhereInput[]
|
|
id?: Prisma.BigIntFilter<"compta_journal_ecriture_bk"> | bigint | number
|
|
date_orig?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_bk"> | bigint | number | null
|
|
type?: Prisma.StringNullableFilter<"compta_journal_ecriture_bk"> | string | null
|
|
num?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_bk"> | bigint | number | null
|
|
customer_id?: Prisma.StringNullableFilter<"compta_journal_ecriture_bk"> | string | null
|
|
full_name?: Prisma.StringNullableFilter<"compta_journal_ecriture_bk"> | string | null
|
|
desc?: Prisma.StringNullableFilter<"compta_journal_ecriture_bk"> | string | null
|
|
mo?: Prisma.StringNullableFilter<"compta_journal_ecriture_bk"> | string | null
|
|
em?: Prisma.IntFilter<"compta_journal_ecriture_bk"> | number
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
type?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
num?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
customer_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
full_name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
desc?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
mo?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
em?: Prisma.SortOrder
|
|
_relevance?: Prisma.compta_journal_ecriture_bkOrderByRelevanceInput
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: bigint | number
|
|
AND?: Prisma.compta_journal_ecriture_bkWhereInput | Prisma.compta_journal_ecriture_bkWhereInput[]
|
|
OR?: Prisma.compta_journal_ecriture_bkWhereInput[]
|
|
NOT?: Prisma.compta_journal_ecriture_bkWhereInput | Prisma.compta_journal_ecriture_bkWhereInput[]
|
|
date_orig?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_bk"> | bigint | number | null
|
|
type?: Prisma.StringNullableFilter<"compta_journal_ecriture_bk"> | string | null
|
|
num?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_bk"> | bigint | number | null
|
|
customer_id?: Prisma.StringNullableFilter<"compta_journal_ecriture_bk"> | string | null
|
|
full_name?: Prisma.StringNullableFilter<"compta_journal_ecriture_bk"> | string | null
|
|
desc?: Prisma.StringNullableFilter<"compta_journal_ecriture_bk"> | string | null
|
|
mo?: Prisma.StringNullableFilter<"compta_journal_ecriture_bk"> | string | null
|
|
em?: Prisma.IntFilter<"compta_journal_ecriture_bk"> | number
|
|
}, "id">
|
|
|
|
export type compta_journal_ecriture_bkOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
type?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
num?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
customer_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
full_name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
desc?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
mo?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
em?: Prisma.SortOrder
|
|
_count?: Prisma.compta_journal_ecriture_bkCountOrderByAggregateInput
|
|
_avg?: Prisma.compta_journal_ecriture_bkAvgOrderByAggregateInput
|
|
_max?: Prisma.compta_journal_ecriture_bkMaxOrderByAggregateInput
|
|
_min?: Prisma.compta_journal_ecriture_bkMinOrderByAggregateInput
|
|
_sum?: Prisma.compta_journal_ecriture_bkSumOrderByAggregateInput
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.compta_journal_ecriture_bkScalarWhereWithAggregatesInput | Prisma.compta_journal_ecriture_bkScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.compta_journal_ecriture_bkScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.compta_journal_ecriture_bkScalarWhereWithAggregatesInput | Prisma.compta_journal_ecriture_bkScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.BigIntWithAggregatesFilter<"compta_journal_ecriture_bk"> | bigint | number
|
|
date_orig?: Prisma.BigIntNullableWithAggregatesFilter<"compta_journal_ecriture_bk"> | bigint | number | null
|
|
type?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture_bk"> | string | null
|
|
num?: Prisma.BigIntNullableWithAggregatesFilter<"compta_journal_ecriture_bk"> | bigint | number | null
|
|
customer_id?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture_bk"> | string | null
|
|
full_name?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture_bk"> | string | null
|
|
desc?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture_bk"> | string | null
|
|
mo?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture_bk"> | string | null
|
|
em?: Prisma.IntWithAggregatesFilter<"compta_journal_ecriture_bk"> | number
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkCreateInput = {
|
|
id?: bigint | number
|
|
date_orig?: bigint | number | null
|
|
type?: string | null
|
|
num?: bigint | number | null
|
|
customer_id?: string | null
|
|
full_name?: string | null
|
|
desc?: string | null
|
|
mo?: string | null
|
|
em?: number
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkUncheckedCreateInput = {
|
|
id?: bigint | number
|
|
date_orig?: bigint | number | null
|
|
type?: string | null
|
|
num?: bigint | number | null
|
|
customer_id?: string | null
|
|
full_name?: string | null
|
|
desc?: string | null
|
|
mo?: string | null
|
|
em?: number
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
num?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
full_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
mo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
em?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkUncheckedUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
num?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
full_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
mo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
em?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkCreateManyInput = {
|
|
id?: bigint | number
|
|
date_orig?: bigint | number | null
|
|
type?: string | null
|
|
num?: bigint | number | null
|
|
customer_id?: string | null
|
|
full_name?: string | null
|
|
desc?: string | null
|
|
mo?: string | null
|
|
em?: number
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkUpdateManyMutationInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
num?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
full_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
mo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
em?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkUncheckedUpdateManyInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
num?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
full_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
mo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
em?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkOrderByRelevanceInput = {
|
|
fields: Prisma.compta_journal_ecriture_bkOrderByRelevanceFieldEnum | Prisma.compta_journal_ecriture_bkOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
num?: Prisma.SortOrder
|
|
customer_id?: Prisma.SortOrder
|
|
full_name?: Prisma.SortOrder
|
|
desc?: Prisma.SortOrder
|
|
mo?: Prisma.SortOrder
|
|
em?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
num?: Prisma.SortOrder
|
|
em?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
num?: Prisma.SortOrder
|
|
customer_id?: Prisma.SortOrder
|
|
full_name?: Prisma.SortOrder
|
|
desc?: Prisma.SortOrder
|
|
mo?: Prisma.SortOrder
|
|
em?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
num?: Prisma.SortOrder
|
|
customer_id?: Prisma.SortOrder
|
|
full_name?: Prisma.SortOrder
|
|
desc?: Prisma.SortOrder
|
|
mo?: Prisma.SortOrder
|
|
em?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
num?: Prisma.SortOrder
|
|
em?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type compta_journal_ecriture_bkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
date_orig?: boolean
|
|
type?: boolean
|
|
num?: boolean
|
|
customer_id?: boolean
|
|
full_name?: boolean
|
|
desc?: boolean
|
|
mo?: boolean
|
|
em?: boolean
|
|
}, ExtArgs["result"]["compta_journal_ecriture_bk"]>
|
|
|
|
|
|
|
|
export type compta_journal_ecriture_bkSelectScalar = {
|
|
id?: boolean
|
|
date_orig?: boolean
|
|
type?: boolean
|
|
num?: boolean
|
|
customer_id?: boolean
|
|
full_name?: boolean
|
|
desc?: boolean
|
|
mo?: boolean
|
|
em?: boolean
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "date_orig" | "type" | "num" | "customer_id" | "full_name" | "desc" | "mo" | "em", ExtArgs["result"]["compta_journal_ecriture_bk"]>
|
|
|
|
export type $compta_journal_ecriture_bkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "compta_journal_ecriture_bk"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: bigint
|
|
date_orig: bigint | null
|
|
type: string | null
|
|
num: bigint | null
|
|
customer_id: string | null
|
|
full_name: string | null
|
|
desc: string | null
|
|
mo: string | null
|
|
em: number
|
|
}, ExtArgs["result"]["compta_journal_ecriture_bk"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type compta_journal_ecriture_bkGetPayload<S extends boolean | null | undefined | compta_journal_ecriture_bkDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_bkPayload, S>
|
|
|
|
export type compta_journal_ecriture_bkCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<compta_journal_ecriture_bkFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Compta_journal_ecriture_bkCountAggregateInputType | true
|
|
}
|
|
|
|
export interface compta_journal_ecriture_bkDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['compta_journal_ecriture_bk'], meta: { name: 'compta_journal_ecriture_bk' } }
|
|
/**
|
|
* Find zero or one Compta_journal_ecriture_bk that matches the filter.
|
|
* @param {compta_journal_ecriture_bkFindUniqueArgs} args - Arguments to find a Compta_journal_ecriture_bk
|
|
* @example
|
|
* // Get one Compta_journal_ecriture_bk
|
|
* const compta_journal_ecriture_bk = await prisma.compta_journal_ecriture_bk.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends compta_journal_ecriture_bkFindUniqueArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_bkFindUniqueArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_bkClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_bkPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Compta_journal_ecriture_bk that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {compta_journal_ecriture_bkFindUniqueOrThrowArgs} args - Arguments to find a Compta_journal_ecriture_bk
|
|
* @example
|
|
* // Get one Compta_journal_ecriture_bk
|
|
* const compta_journal_ecriture_bk = await prisma.compta_journal_ecriture_bk.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends compta_journal_ecriture_bkFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_bkFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_bkClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_bkPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Compta_journal_ecriture_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_bkFindFirstArgs} args - Arguments to find a Compta_journal_ecriture_bk
|
|
* @example
|
|
* // Get one Compta_journal_ecriture_bk
|
|
* const compta_journal_ecriture_bk = await prisma.compta_journal_ecriture_bk.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends compta_journal_ecriture_bkFindFirstArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecriture_bkFindFirstArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_bkClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_bkPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Compta_journal_ecriture_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_bkFindFirstOrThrowArgs} args - Arguments to find a Compta_journal_ecriture_bk
|
|
* @example
|
|
* // Get one Compta_journal_ecriture_bk
|
|
* const compta_journal_ecriture_bk = await prisma.compta_journal_ecriture_bk.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends compta_journal_ecriture_bkFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecriture_bkFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_bkClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_bkPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Compta_journal_ecriture_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_bkFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Compta_journal_ecriture_bks
|
|
* const compta_journal_ecriture_bks = await prisma.compta_journal_ecriture_bk.findMany()
|
|
*
|
|
* // Get first 10 Compta_journal_ecriture_bks
|
|
* const compta_journal_ecriture_bks = await prisma.compta_journal_ecriture_bk.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const compta_journal_ecriture_bkWithIdOnly = await prisma.compta_journal_ecriture_bk.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends compta_journal_ecriture_bkFindManyArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecriture_bkFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_bkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Compta_journal_ecriture_bk.
|
|
* @param {compta_journal_ecriture_bkCreateArgs} args - Arguments to create a Compta_journal_ecriture_bk.
|
|
* @example
|
|
* // Create one Compta_journal_ecriture_bk
|
|
* const Compta_journal_ecriture_bk = await prisma.compta_journal_ecriture_bk.create({
|
|
* data: {
|
|
* // ... data to create a Compta_journal_ecriture_bk
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends compta_journal_ecriture_bkCreateArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_bkCreateArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_bkClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_bkPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Compta_journal_ecriture_bks.
|
|
* @param {compta_journal_ecriture_bkCreateManyArgs} args - Arguments to create many Compta_journal_ecriture_bks.
|
|
* @example
|
|
* // Create many Compta_journal_ecriture_bks
|
|
* const compta_journal_ecriture_bk = await prisma.compta_journal_ecriture_bk.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends compta_journal_ecriture_bkCreateManyArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecriture_bkCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Compta_journal_ecriture_bk.
|
|
* @param {compta_journal_ecriture_bkDeleteArgs} args - Arguments to delete one Compta_journal_ecriture_bk.
|
|
* @example
|
|
* // Delete one Compta_journal_ecriture_bk
|
|
* const Compta_journal_ecriture_bk = await prisma.compta_journal_ecriture_bk.delete({
|
|
* where: {
|
|
* // ... filter to delete one Compta_journal_ecriture_bk
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends compta_journal_ecriture_bkDeleteArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_bkDeleteArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_bkClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_bkPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Compta_journal_ecriture_bk.
|
|
* @param {compta_journal_ecriture_bkUpdateArgs} args - Arguments to update one Compta_journal_ecriture_bk.
|
|
* @example
|
|
* // Update one Compta_journal_ecriture_bk
|
|
* const compta_journal_ecriture_bk = await prisma.compta_journal_ecriture_bk.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends compta_journal_ecriture_bkUpdateArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_bkUpdateArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_bkClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_bkPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Compta_journal_ecriture_bks.
|
|
* @param {compta_journal_ecriture_bkDeleteManyArgs} args - Arguments to filter Compta_journal_ecriture_bks to delete.
|
|
* @example
|
|
* // Delete a few Compta_journal_ecriture_bks
|
|
* const { count } = await prisma.compta_journal_ecriture_bk.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends compta_journal_ecriture_bkDeleteManyArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecriture_bkDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Compta_journal_ecriture_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_bkUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Compta_journal_ecriture_bks
|
|
* const compta_journal_ecriture_bk = await prisma.compta_journal_ecriture_bk.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends compta_journal_ecriture_bkUpdateManyArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_bkUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Compta_journal_ecriture_bk.
|
|
* @param {compta_journal_ecriture_bkUpsertArgs} args - Arguments to update or create a Compta_journal_ecriture_bk.
|
|
* @example
|
|
* // Update or create a Compta_journal_ecriture_bk
|
|
* const compta_journal_ecriture_bk = await prisma.compta_journal_ecriture_bk.upsert({
|
|
* create: {
|
|
* // ... data to create a Compta_journal_ecriture_bk
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Compta_journal_ecriture_bk we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends compta_journal_ecriture_bkUpsertArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_bkUpsertArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_bkClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_bkPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Compta_journal_ecriture_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_bkCountArgs} args - Arguments to filter Compta_journal_ecriture_bks to count.
|
|
* @example
|
|
* // Count the number of Compta_journal_ecriture_bks
|
|
* const count = await prisma.compta_journal_ecriture_bk.count({
|
|
* where: {
|
|
* // ... the filter for the Compta_journal_ecriture_bks we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends compta_journal_ecriture_bkCountArgs>(
|
|
args?: Prisma.Subset<T, compta_journal_ecriture_bkCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Compta_journal_ecriture_bkCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Compta_journal_ecriture_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_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_bkAggregateArgs>(args: Prisma.Subset<T, Compta_journal_ecriture_bkAggregateArgs>): Prisma.PrismaPromise<GetCompta_journal_ecriture_bkAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Compta_journal_ecriture_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_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_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_bkGroupByArgs['orderBy'] }
|
|
: { orderBy?: compta_journal_ecriture_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_bkGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCompta_journal_ecriture_bkGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the compta_journal_ecriture_bk model
|
|
*/
|
|
readonly fields: compta_journal_ecriture_bkFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for compta_journal_ecriture_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_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_bk model
|
|
*/
|
|
export interface compta_journal_ecriture_bkFieldRefs {
|
|
readonly id: Prisma.FieldRef<"compta_journal_ecriture_bk", 'BigInt'>
|
|
readonly date_orig: Prisma.FieldRef<"compta_journal_ecriture_bk", 'BigInt'>
|
|
readonly type: Prisma.FieldRef<"compta_journal_ecriture_bk", 'String'>
|
|
readonly num: Prisma.FieldRef<"compta_journal_ecriture_bk", 'BigInt'>
|
|
readonly customer_id: Prisma.FieldRef<"compta_journal_ecriture_bk", 'String'>
|
|
readonly full_name: Prisma.FieldRef<"compta_journal_ecriture_bk", 'String'>
|
|
readonly desc: Prisma.FieldRef<"compta_journal_ecriture_bk", 'String'>
|
|
readonly mo: Prisma.FieldRef<"compta_journal_ecriture_bk", 'String'>
|
|
readonly em: Prisma.FieldRef<"compta_journal_ecriture_bk", 'Int'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* compta_journal_ecriture_bk findUnique
|
|
*/
|
|
export type compta_journal_ecriture_bkFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_bk
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_bkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_bk
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_bkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture_bk to fetch.
|
|
*/
|
|
where: Prisma.compta_journal_ecriture_bkWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk findUniqueOrThrow
|
|
*/
|
|
export type compta_journal_ecriture_bkFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_bk
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_bkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_bk
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_bkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture_bk to fetch.
|
|
*/
|
|
where: Prisma.compta_journal_ecriture_bkWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk findFirst
|
|
*/
|
|
export type compta_journal_ecriture_bkFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_bk
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_bkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_bk
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_bkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture_bk to fetch.
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_bkWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecriture_bks to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecriture_bkOrderByWithRelationInput | Prisma.compta_journal_ecriture_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_bks.
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecriture_bkWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecriture_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_bks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of compta_journal_ecriture_bks.
|
|
*/
|
|
distinct?: Prisma.Compta_journal_ecriture_bkScalarFieldEnum | Prisma.Compta_journal_ecriture_bkScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk findFirstOrThrow
|
|
*/
|
|
export type compta_journal_ecriture_bkFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_bk
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_bkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_bk
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_bkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture_bk to fetch.
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_bkWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecriture_bks to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecriture_bkOrderByWithRelationInput | Prisma.compta_journal_ecriture_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_bks.
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecriture_bkWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecriture_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_bks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of compta_journal_ecriture_bks.
|
|
*/
|
|
distinct?: Prisma.Compta_journal_ecriture_bkScalarFieldEnum | Prisma.Compta_journal_ecriture_bkScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk findMany
|
|
*/
|
|
export type compta_journal_ecriture_bkFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_bk
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_bkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_bk
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_bkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture_bks to fetch.
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_bkWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecriture_bks to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecriture_bkOrderByWithRelationInput | Prisma.compta_journal_ecriture_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_bks.
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecriture_bkWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecriture_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_bks.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Compta_journal_ecriture_bkScalarFieldEnum | Prisma.Compta_journal_ecriture_bkScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk create
|
|
*/
|
|
export type compta_journal_ecriture_bkCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_bk
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_bkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_bk
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_bkOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a compta_journal_ecriture_bk.
|
|
*/
|
|
data?: Prisma.XOR<Prisma.compta_journal_ecriture_bkCreateInput, Prisma.compta_journal_ecriture_bkUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk createMany
|
|
*/
|
|
export type compta_journal_ecriture_bkCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many compta_journal_ecriture_bks.
|
|
*/
|
|
data: Prisma.compta_journal_ecriture_bkCreateManyInput | Prisma.compta_journal_ecriture_bkCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk update
|
|
*/
|
|
export type compta_journal_ecriture_bkUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_bk
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_bkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_bk
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_bkOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a compta_journal_ecriture_bk.
|
|
*/
|
|
data: Prisma.XOR<Prisma.compta_journal_ecriture_bkUpdateInput, Prisma.compta_journal_ecriture_bkUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which compta_journal_ecriture_bk to update.
|
|
*/
|
|
where: Prisma.compta_journal_ecriture_bkWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk updateMany
|
|
*/
|
|
export type compta_journal_ecriture_bkUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update compta_journal_ecriture_bks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.compta_journal_ecriture_bkUpdateManyMutationInput, Prisma.compta_journal_ecriture_bkUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which compta_journal_ecriture_bks to update
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_bkWhereInput
|
|
/**
|
|
* Limit how many compta_journal_ecriture_bks to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk upsert
|
|
*/
|
|
export type compta_journal_ecriture_bkUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_bk
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_bkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_bk
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_bkOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the compta_journal_ecriture_bk to update in case it exists.
|
|
*/
|
|
where: Prisma.compta_journal_ecriture_bkWhereUniqueInput
|
|
/**
|
|
* In case the compta_journal_ecriture_bk found by the `where` argument doesn't exist, create a new compta_journal_ecriture_bk with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.compta_journal_ecriture_bkCreateInput, Prisma.compta_journal_ecriture_bkUncheckedCreateInput>
|
|
/**
|
|
* In case the compta_journal_ecriture_bk was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.compta_journal_ecriture_bkUpdateInput, Prisma.compta_journal_ecriture_bkUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk delete
|
|
*/
|
|
export type compta_journal_ecriture_bkDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_bk
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_bkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_bk
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_bkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which compta_journal_ecriture_bk to delete.
|
|
*/
|
|
where: Prisma.compta_journal_ecriture_bkWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk deleteMany
|
|
*/
|
|
export type compta_journal_ecriture_bkDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which compta_journal_ecriture_bks to delete
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_bkWhereInput
|
|
/**
|
|
* Limit how many compta_journal_ecriture_bks to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_bk without action
|
|
*/
|
|
export type compta_journal_ecriture_bkDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_bk
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_bkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_bk
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_bkOmit<ExtArgs> | null
|
|
}
|