1205 lines
47 KiB
TypeScript
1205 lines
47 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` 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
|
|
*
|
|
*/
|
|
export type compta_journal_ecritureModel = runtime.Types.Result.DefaultSelection<Prisma.$compta_journal_ecriturePayload>
|
|
|
|
export type AggregateCompta_journal_ecriture = {
|
|
_count: Compta_journal_ecritureCountAggregateOutputType | null
|
|
_avg: Compta_journal_ecritureAvgAggregateOutputType | null
|
|
_sum: Compta_journal_ecritureSumAggregateOutputType | null
|
|
_min: Compta_journal_ecritureMinAggregateOutputType | null
|
|
_max: Compta_journal_ecritureMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Compta_journal_ecritureAvgAggregateOutputType = {
|
|
id: number | null
|
|
date_orig: number | null
|
|
num: number | null
|
|
em: number | null
|
|
}
|
|
|
|
export type Compta_journal_ecritureSumAggregateOutputType = {
|
|
id: bigint | null
|
|
date_orig: bigint | null
|
|
num: bigint | null
|
|
em: number | null
|
|
}
|
|
|
|
export type Compta_journal_ecritureMinAggregateOutputType = {
|
|
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_ecritureMaxAggregateOutputType = {
|
|
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_ecritureCountAggregateOutputType = {
|
|
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_ecritureAvgAggregateInputType = {
|
|
id?: true
|
|
date_orig?: true
|
|
num?: true
|
|
em?: true
|
|
}
|
|
|
|
export type Compta_journal_ecritureSumAggregateInputType = {
|
|
id?: true
|
|
date_orig?: true
|
|
num?: true
|
|
em?: true
|
|
}
|
|
|
|
export type Compta_journal_ecritureMinAggregateInputType = {
|
|
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_ecritureMaxAggregateInputType = {
|
|
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_ecritureCountAggregateInputType = {
|
|
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_ecritureAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which compta_journal_ecriture to aggregate.
|
|
*/
|
|
where?: Prisma.compta_journal_ecritureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecritures to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecritureOrderByWithRelationInput | Prisma.compta_journal_ecritureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecritureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecritures 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_ecritures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned compta_journal_ecritures
|
|
**/
|
|
_count?: true | Compta_journal_ecritureCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Compta_journal_ecritureAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Compta_journal_ecritureSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Compta_journal_ecritureMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Compta_journal_ecritureMaxAggregateInputType
|
|
}
|
|
|
|
export type GetCompta_journal_ecritureAggregateType<T extends Compta_journal_ecritureAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCompta_journal_ecriture]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateCompta_journal_ecriture[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateCompta_journal_ecriture[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type compta_journal_ecritureGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.compta_journal_ecritureWhereInput
|
|
orderBy?: Prisma.compta_journal_ecritureOrderByWithAggregationInput | Prisma.compta_journal_ecritureOrderByWithAggregationInput[]
|
|
by: Prisma.Compta_journal_ecritureScalarFieldEnum[] | Prisma.Compta_journal_ecritureScalarFieldEnum
|
|
having?: Prisma.compta_journal_ecritureScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Compta_journal_ecritureCountAggregateInputType | true
|
|
_avg?: Compta_journal_ecritureAvgAggregateInputType
|
|
_sum?: Compta_journal_ecritureSumAggregateInputType
|
|
_min?: Compta_journal_ecritureMinAggregateInputType
|
|
_max?: Compta_journal_ecritureMaxAggregateInputType
|
|
}
|
|
|
|
export type Compta_journal_ecritureGroupByOutputType = {
|
|
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_ecritureCountAggregateOutputType | null
|
|
_avg: Compta_journal_ecritureAvgAggregateOutputType | null
|
|
_sum: Compta_journal_ecritureSumAggregateOutputType | null
|
|
_min: Compta_journal_ecritureMinAggregateOutputType | null
|
|
_max: Compta_journal_ecritureMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetCompta_journal_ecritureGroupByPayload<T extends compta_journal_ecritureGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Compta_journal_ecritureGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Compta_journal_ecritureGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Compta_journal_ecritureGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Compta_journal_ecritureGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type compta_journal_ecritureWhereInput = {
|
|
AND?: Prisma.compta_journal_ecritureWhereInput | Prisma.compta_journal_ecritureWhereInput[]
|
|
OR?: Prisma.compta_journal_ecritureWhereInput[]
|
|
NOT?: Prisma.compta_journal_ecritureWhereInput | Prisma.compta_journal_ecritureWhereInput[]
|
|
id?: Prisma.BigIntFilter<"compta_journal_ecriture"> | bigint | number
|
|
date_orig?: Prisma.BigIntNullableFilter<"compta_journal_ecriture"> | bigint | number | null
|
|
type?: Prisma.StringNullableFilter<"compta_journal_ecriture"> | string | null
|
|
num?: Prisma.BigIntNullableFilter<"compta_journal_ecriture"> | bigint | number | null
|
|
customer_id?: Prisma.StringNullableFilter<"compta_journal_ecriture"> | string | null
|
|
full_name?: Prisma.StringNullableFilter<"compta_journal_ecriture"> | string | null
|
|
desc?: Prisma.StringNullableFilter<"compta_journal_ecriture"> | string | null
|
|
mo?: Prisma.StringNullableFilter<"compta_journal_ecriture"> | string | null
|
|
em?: Prisma.IntFilter<"compta_journal_ecriture"> | number
|
|
}
|
|
|
|
export type compta_journal_ecritureOrderByWithRelationInput = {
|
|
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_ecritureOrderByRelevanceInput
|
|
}
|
|
|
|
export type compta_journal_ecritureWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: bigint | number
|
|
AND?: Prisma.compta_journal_ecritureWhereInput | Prisma.compta_journal_ecritureWhereInput[]
|
|
OR?: Prisma.compta_journal_ecritureWhereInput[]
|
|
NOT?: Prisma.compta_journal_ecritureWhereInput | Prisma.compta_journal_ecritureWhereInput[]
|
|
date_orig?: Prisma.BigIntNullableFilter<"compta_journal_ecriture"> | bigint | number | null
|
|
type?: Prisma.StringNullableFilter<"compta_journal_ecriture"> | string | null
|
|
num?: Prisma.BigIntNullableFilter<"compta_journal_ecriture"> | bigint | number | null
|
|
customer_id?: Prisma.StringNullableFilter<"compta_journal_ecriture"> | string | null
|
|
full_name?: Prisma.StringNullableFilter<"compta_journal_ecriture"> | string | null
|
|
desc?: Prisma.StringNullableFilter<"compta_journal_ecriture"> | string | null
|
|
mo?: Prisma.StringNullableFilter<"compta_journal_ecriture"> | string | null
|
|
em?: Prisma.IntFilter<"compta_journal_ecriture"> | number
|
|
}, "id">
|
|
|
|
export type compta_journal_ecritureOrderByWithAggregationInput = {
|
|
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_ecritureCountOrderByAggregateInput
|
|
_avg?: Prisma.compta_journal_ecritureAvgOrderByAggregateInput
|
|
_max?: Prisma.compta_journal_ecritureMaxOrderByAggregateInput
|
|
_min?: Prisma.compta_journal_ecritureMinOrderByAggregateInput
|
|
_sum?: Prisma.compta_journal_ecritureSumOrderByAggregateInput
|
|
}
|
|
|
|
export type compta_journal_ecritureScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.compta_journal_ecritureScalarWhereWithAggregatesInput | Prisma.compta_journal_ecritureScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.compta_journal_ecritureScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.compta_journal_ecritureScalarWhereWithAggregatesInput | Prisma.compta_journal_ecritureScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.BigIntWithAggregatesFilter<"compta_journal_ecriture"> | bigint | number
|
|
date_orig?: Prisma.BigIntNullableWithAggregatesFilter<"compta_journal_ecriture"> | bigint | number | null
|
|
type?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture"> | string | null
|
|
num?: Prisma.BigIntNullableWithAggregatesFilter<"compta_journal_ecriture"> | bigint | number | null
|
|
customer_id?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture"> | string | null
|
|
full_name?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture"> | string | null
|
|
desc?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture"> | string | null
|
|
mo?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture"> | string | null
|
|
em?: Prisma.IntWithAggregatesFilter<"compta_journal_ecriture"> | number
|
|
}
|
|
|
|
export type compta_journal_ecritureCreateInput = {
|
|
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_ecritureUncheckedCreateInput = {
|
|
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_ecritureUpdateInput = {
|
|
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_ecritureUncheckedUpdateInput = {
|
|
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_ecritureCreateManyInput = {
|
|
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_ecritureUpdateManyMutationInput = {
|
|
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_ecritureUncheckedUpdateManyInput = {
|
|
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_ecritureOrderByRelevanceInput = {
|
|
fields: Prisma.compta_journal_ecritureOrderByRelevanceFieldEnum | Prisma.compta_journal_ecritureOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type compta_journal_ecritureCountOrderByAggregateInput = {
|
|
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_ecritureAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
num?: Prisma.SortOrder
|
|
em?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_journal_ecritureMaxOrderByAggregateInput = {
|
|
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_ecritureMinOrderByAggregateInput = {
|
|
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_ecritureSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
num?: Prisma.SortOrder
|
|
em?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type compta_journal_ecritureSelect<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"]>
|
|
|
|
|
|
|
|
export type compta_journal_ecritureSelectScalar = {
|
|
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_ecritureOmit<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"]>
|
|
|
|
export type $compta_journal_ecriturePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "compta_journal_ecriture"
|
|
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"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type compta_journal_ecritureGetPayload<S extends boolean | null | undefined | compta_journal_ecritureDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriturePayload, S>
|
|
|
|
export type compta_journal_ecritureCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<compta_journal_ecritureFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Compta_journal_ecritureCountAggregateInputType | true
|
|
}
|
|
|
|
export interface compta_journal_ecritureDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['compta_journal_ecriture'], meta: { name: 'compta_journal_ecriture' } }
|
|
/**
|
|
* Find zero or one Compta_journal_ecriture that matches the filter.
|
|
* @param {compta_journal_ecritureFindUniqueArgs} args - Arguments to find a Compta_journal_ecriture
|
|
* @example
|
|
* // Get one Compta_journal_ecriture
|
|
* const compta_journal_ecriture = await prisma.compta_journal_ecriture.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends compta_journal_ecritureFindUniqueArgs>(args: Prisma.SelectSubset<T, compta_journal_ecritureFindUniqueArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecritureClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriturePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Compta_journal_ecriture that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {compta_journal_ecritureFindUniqueOrThrowArgs} args - Arguments to find a Compta_journal_ecriture
|
|
* @example
|
|
* // Get one Compta_journal_ecriture
|
|
* const compta_journal_ecriture = await prisma.compta_journal_ecriture.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends compta_journal_ecritureFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, compta_journal_ecritureFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecritureClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriturePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Compta_journal_ecriture 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_ecritureFindFirstArgs} args - Arguments to find a Compta_journal_ecriture
|
|
* @example
|
|
* // Get one Compta_journal_ecriture
|
|
* const compta_journal_ecriture = await prisma.compta_journal_ecriture.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends compta_journal_ecritureFindFirstArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecritureFindFirstArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecritureClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriturePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Compta_journal_ecriture 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_ecritureFindFirstOrThrowArgs} args - Arguments to find a Compta_journal_ecriture
|
|
* @example
|
|
* // Get one Compta_journal_ecriture
|
|
* const compta_journal_ecriture = await prisma.compta_journal_ecriture.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends compta_journal_ecritureFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecritureFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecritureClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriturePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Compta_journal_ecritures 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_ecritureFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Compta_journal_ecritures
|
|
* const compta_journal_ecritures = await prisma.compta_journal_ecriture.findMany()
|
|
*
|
|
* // Get first 10 Compta_journal_ecritures
|
|
* const compta_journal_ecritures = await prisma.compta_journal_ecriture.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const compta_journal_ecritureWithIdOnly = await prisma.compta_journal_ecriture.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends compta_journal_ecritureFindManyArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecritureFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriturePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Compta_journal_ecriture.
|
|
* @param {compta_journal_ecritureCreateArgs} args - Arguments to create a Compta_journal_ecriture.
|
|
* @example
|
|
* // Create one Compta_journal_ecriture
|
|
* const Compta_journal_ecriture = await prisma.compta_journal_ecriture.create({
|
|
* data: {
|
|
* // ... data to create a Compta_journal_ecriture
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends compta_journal_ecritureCreateArgs>(args: Prisma.SelectSubset<T, compta_journal_ecritureCreateArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecritureClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriturePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Compta_journal_ecritures.
|
|
* @param {compta_journal_ecritureCreateManyArgs} args - Arguments to create many Compta_journal_ecritures.
|
|
* @example
|
|
* // Create many Compta_journal_ecritures
|
|
* const compta_journal_ecriture = await prisma.compta_journal_ecriture.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends compta_journal_ecritureCreateManyArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecritureCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Compta_journal_ecriture.
|
|
* @param {compta_journal_ecritureDeleteArgs} args - Arguments to delete one Compta_journal_ecriture.
|
|
* @example
|
|
* // Delete one Compta_journal_ecriture
|
|
* const Compta_journal_ecriture = await prisma.compta_journal_ecriture.delete({
|
|
* where: {
|
|
* // ... filter to delete one Compta_journal_ecriture
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends compta_journal_ecritureDeleteArgs>(args: Prisma.SelectSubset<T, compta_journal_ecritureDeleteArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecritureClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriturePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Compta_journal_ecriture.
|
|
* @param {compta_journal_ecritureUpdateArgs} args - Arguments to update one Compta_journal_ecriture.
|
|
* @example
|
|
* // Update one Compta_journal_ecriture
|
|
* const compta_journal_ecriture = await prisma.compta_journal_ecriture.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends compta_journal_ecritureUpdateArgs>(args: Prisma.SelectSubset<T, compta_journal_ecritureUpdateArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecritureClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriturePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Compta_journal_ecritures.
|
|
* @param {compta_journal_ecritureDeleteManyArgs} args - Arguments to filter Compta_journal_ecritures to delete.
|
|
* @example
|
|
* // Delete a few Compta_journal_ecritures
|
|
* const { count } = await prisma.compta_journal_ecriture.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends compta_journal_ecritureDeleteManyArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecritureDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Compta_journal_ecritures.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_journal_ecritureUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Compta_journal_ecritures
|
|
* const compta_journal_ecriture = await prisma.compta_journal_ecriture.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends compta_journal_ecritureUpdateManyArgs>(args: Prisma.SelectSubset<T, compta_journal_ecritureUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Compta_journal_ecriture.
|
|
* @param {compta_journal_ecritureUpsertArgs} args - Arguments to update or create a Compta_journal_ecriture.
|
|
* @example
|
|
* // Update or create a Compta_journal_ecriture
|
|
* const compta_journal_ecriture = await prisma.compta_journal_ecriture.upsert({
|
|
* create: {
|
|
* // ... data to create a Compta_journal_ecriture
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Compta_journal_ecriture we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends compta_journal_ecritureUpsertArgs>(args: Prisma.SelectSubset<T, compta_journal_ecritureUpsertArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecritureClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriturePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Compta_journal_ecritures.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_journal_ecritureCountArgs} args - Arguments to filter Compta_journal_ecritures to count.
|
|
* @example
|
|
* // Count the number of Compta_journal_ecritures
|
|
* const count = await prisma.compta_journal_ecriture.count({
|
|
* where: {
|
|
* // ... the filter for the Compta_journal_ecritures we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends compta_journal_ecritureCountArgs>(
|
|
args?: Prisma.Subset<T, compta_journal_ecritureCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Compta_journal_ecritureCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Compta_journal_ecriture.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Compta_journal_ecritureAggregateArgs} 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_ecritureAggregateArgs>(args: Prisma.Subset<T, Compta_journal_ecritureAggregateArgs>): Prisma.PrismaPromise<GetCompta_journal_ecritureAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Compta_journal_ecriture.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_journal_ecritureGroupByArgs} 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_ecritureGroupByArgs,
|
|
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_ecritureGroupByArgs['orderBy'] }
|
|
: { orderBy?: compta_journal_ecritureGroupByArgs['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_ecritureGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCompta_journal_ecritureGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the compta_journal_ecriture model
|
|
*/
|
|
readonly fields: compta_journal_ecritureFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for compta_journal_ecriture.
|
|
* 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_ecritureClient<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 model
|
|
*/
|
|
export interface compta_journal_ecritureFieldRefs {
|
|
readonly id: Prisma.FieldRef<"compta_journal_ecriture", 'BigInt'>
|
|
readonly date_orig: Prisma.FieldRef<"compta_journal_ecriture", 'BigInt'>
|
|
readonly type: Prisma.FieldRef<"compta_journal_ecriture", 'String'>
|
|
readonly num: Prisma.FieldRef<"compta_journal_ecriture", 'BigInt'>
|
|
readonly customer_id: Prisma.FieldRef<"compta_journal_ecriture", 'String'>
|
|
readonly full_name: Prisma.FieldRef<"compta_journal_ecriture", 'String'>
|
|
readonly desc: Prisma.FieldRef<"compta_journal_ecriture", 'String'>
|
|
readonly mo: Prisma.FieldRef<"compta_journal_ecriture", 'String'>
|
|
readonly em: Prisma.FieldRef<"compta_journal_ecriture", 'Int'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* compta_journal_ecriture findUnique
|
|
*/
|
|
export type compta_journal_ecritureFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture
|
|
*/
|
|
select?: Prisma.compta_journal_ecritureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture
|
|
*/
|
|
omit?: Prisma.compta_journal_ecritureOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture to fetch.
|
|
*/
|
|
where: Prisma.compta_journal_ecritureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture findUniqueOrThrow
|
|
*/
|
|
export type compta_journal_ecritureFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture
|
|
*/
|
|
select?: Prisma.compta_journal_ecritureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture
|
|
*/
|
|
omit?: Prisma.compta_journal_ecritureOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture to fetch.
|
|
*/
|
|
where: Prisma.compta_journal_ecritureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture findFirst
|
|
*/
|
|
export type compta_journal_ecritureFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture
|
|
*/
|
|
select?: Prisma.compta_journal_ecritureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture
|
|
*/
|
|
omit?: Prisma.compta_journal_ecritureOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture to fetch.
|
|
*/
|
|
where?: Prisma.compta_journal_ecritureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecritures to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecritureOrderByWithRelationInput | Prisma.compta_journal_ecritureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for compta_journal_ecritures.
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecritureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecritures 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_ecritures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of compta_journal_ecritures.
|
|
*/
|
|
distinct?: Prisma.Compta_journal_ecritureScalarFieldEnum | Prisma.Compta_journal_ecritureScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture findFirstOrThrow
|
|
*/
|
|
export type compta_journal_ecritureFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture
|
|
*/
|
|
select?: Prisma.compta_journal_ecritureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture
|
|
*/
|
|
omit?: Prisma.compta_journal_ecritureOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture to fetch.
|
|
*/
|
|
where?: Prisma.compta_journal_ecritureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecritures to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecritureOrderByWithRelationInput | Prisma.compta_journal_ecritureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for compta_journal_ecritures.
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecritureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecritures 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_ecritures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of compta_journal_ecritures.
|
|
*/
|
|
distinct?: Prisma.Compta_journal_ecritureScalarFieldEnum | Prisma.Compta_journal_ecritureScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture findMany
|
|
*/
|
|
export type compta_journal_ecritureFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture
|
|
*/
|
|
select?: Prisma.compta_journal_ecritureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture
|
|
*/
|
|
omit?: Prisma.compta_journal_ecritureOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecritures to fetch.
|
|
*/
|
|
where?: Prisma.compta_journal_ecritureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecritures to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecritureOrderByWithRelationInput | Prisma.compta_journal_ecritureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing compta_journal_ecritures.
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecritureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecritures 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_ecritures.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Compta_journal_ecritureScalarFieldEnum | Prisma.Compta_journal_ecritureScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture create
|
|
*/
|
|
export type compta_journal_ecritureCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture
|
|
*/
|
|
select?: Prisma.compta_journal_ecritureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture
|
|
*/
|
|
omit?: Prisma.compta_journal_ecritureOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a compta_journal_ecriture.
|
|
*/
|
|
data?: Prisma.XOR<Prisma.compta_journal_ecritureCreateInput, Prisma.compta_journal_ecritureUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture createMany
|
|
*/
|
|
export type compta_journal_ecritureCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many compta_journal_ecritures.
|
|
*/
|
|
data: Prisma.compta_journal_ecritureCreateManyInput | Prisma.compta_journal_ecritureCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture update
|
|
*/
|
|
export type compta_journal_ecritureUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture
|
|
*/
|
|
select?: Prisma.compta_journal_ecritureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture
|
|
*/
|
|
omit?: Prisma.compta_journal_ecritureOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a compta_journal_ecriture.
|
|
*/
|
|
data: Prisma.XOR<Prisma.compta_journal_ecritureUpdateInput, Prisma.compta_journal_ecritureUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which compta_journal_ecriture to update.
|
|
*/
|
|
where: Prisma.compta_journal_ecritureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture updateMany
|
|
*/
|
|
export type compta_journal_ecritureUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update compta_journal_ecritures.
|
|
*/
|
|
data: Prisma.XOR<Prisma.compta_journal_ecritureUpdateManyMutationInput, Prisma.compta_journal_ecritureUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which compta_journal_ecritures to update
|
|
*/
|
|
where?: Prisma.compta_journal_ecritureWhereInput
|
|
/**
|
|
* Limit how many compta_journal_ecritures to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture upsert
|
|
*/
|
|
export type compta_journal_ecritureUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture
|
|
*/
|
|
select?: Prisma.compta_journal_ecritureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture
|
|
*/
|
|
omit?: Prisma.compta_journal_ecritureOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the compta_journal_ecriture to update in case it exists.
|
|
*/
|
|
where: Prisma.compta_journal_ecritureWhereUniqueInput
|
|
/**
|
|
* In case the compta_journal_ecriture found by the `where` argument doesn't exist, create a new compta_journal_ecriture with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.compta_journal_ecritureCreateInput, Prisma.compta_journal_ecritureUncheckedCreateInput>
|
|
/**
|
|
* In case the compta_journal_ecriture was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.compta_journal_ecritureUpdateInput, Prisma.compta_journal_ecritureUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture delete
|
|
*/
|
|
export type compta_journal_ecritureDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture
|
|
*/
|
|
select?: Prisma.compta_journal_ecritureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture
|
|
*/
|
|
omit?: Prisma.compta_journal_ecritureOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which compta_journal_ecriture to delete.
|
|
*/
|
|
where: Prisma.compta_journal_ecritureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture deleteMany
|
|
*/
|
|
export type compta_journal_ecritureDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which compta_journal_ecritures to delete
|
|
*/
|
|
where?: Prisma.compta_journal_ecritureWhereInput
|
|
/**
|
|
* Limit how many compta_journal_ecritures to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture without action
|
|
*/
|
|
export type compta_journal_ecritureDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture
|
|
*/
|
|
select?: Prisma.compta_journal_ecritureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture
|
|
*/
|
|
omit?: Prisma.compta_journal_ecritureOmit<ExtArgs> | null
|
|
}
|