1127 lines
42 KiB
TypeScript
1127 lines
42 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_comptes_soldes` 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_comptes_soldes
|
|
*
|
|
*/
|
|
export type compta_comptes_soldesModel = runtime.Types.Result.DefaultSelection<Prisma.$compta_comptes_soldesPayload>
|
|
|
|
export type AggregateCompta_comptes_soldes = {
|
|
_count: Compta_comptes_soldesCountAggregateOutputType | null
|
|
_avg: Compta_comptes_soldesAvgAggregateOutputType | null
|
|
_sum: Compta_comptes_soldesSumAggregateOutputType | null
|
|
_min: Compta_comptes_soldesMinAggregateOutputType | null
|
|
_max: Compta_comptes_soldesMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Compta_comptes_soldesAvgAggregateOutputType = {
|
|
id: number | null
|
|
num_compte: number | null
|
|
year: number | null
|
|
amount: number | null
|
|
}
|
|
|
|
export type Compta_comptes_soldesSumAggregateOutputType = {
|
|
id: bigint | null
|
|
num_compte: number | null
|
|
year: number | null
|
|
amount: number | null
|
|
}
|
|
|
|
export type Compta_comptes_soldesMinAggregateOutputType = {
|
|
id: bigint | null
|
|
num_compte: number | null
|
|
year: number | null
|
|
amount: number | null
|
|
comment: string | null
|
|
type: string | null
|
|
}
|
|
|
|
export type Compta_comptes_soldesMaxAggregateOutputType = {
|
|
id: bigint | null
|
|
num_compte: number | null
|
|
year: number | null
|
|
amount: number | null
|
|
comment: string | null
|
|
type: string | null
|
|
}
|
|
|
|
export type Compta_comptes_soldesCountAggregateOutputType = {
|
|
id: number
|
|
num_compte: number
|
|
year: number
|
|
amount: number
|
|
comment: number
|
|
type: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Compta_comptes_soldesAvgAggregateInputType = {
|
|
id?: true
|
|
num_compte?: true
|
|
year?: true
|
|
amount?: true
|
|
}
|
|
|
|
export type Compta_comptes_soldesSumAggregateInputType = {
|
|
id?: true
|
|
num_compte?: true
|
|
year?: true
|
|
amount?: true
|
|
}
|
|
|
|
export type Compta_comptes_soldesMinAggregateInputType = {
|
|
id?: true
|
|
num_compte?: true
|
|
year?: true
|
|
amount?: true
|
|
comment?: true
|
|
type?: true
|
|
}
|
|
|
|
export type Compta_comptes_soldesMaxAggregateInputType = {
|
|
id?: true
|
|
num_compte?: true
|
|
year?: true
|
|
amount?: true
|
|
comment?: true
|
|
type?: true
|
|
}
|
|
|
|
export type Compta_comptes_soldesCountAggregateInputType = {
|
|
id?: true
|
|
num_compte?: true
|
|
year?: true
|
|
amount?: true
|
|
comment?: true
|
|
type?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Compta_comptes_soldesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which compta_comptes_soldes to aggregate.
|
|
*/
|
|
where?: Prisma.compta_comptes_soldesWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_comptes_soldes to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_comptes_soldesOrderByWithRelationInput | Prisma.compta_comptes_soldesOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.compta_comptes_soldesWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_comptes_soldes 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_comptes_soldes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned compta_comptes_soldes
|
|
**/
|
|
_count?: true | Compta_comptes_soldesCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Compta_comptes_soldesAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Compta_comptes_soldesSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Compta_comptes_soldesMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Compta_comptes_soldesMaxAggregateInputType
|
|
}
|
|
|
|
export type GetCompta_comptes_soldesAggregateType<T extends Compta_comptes_soldesAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCompta_comptes_soldes]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateCompta_comptes_soldes[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateCompta_comptes_soldes[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type compta_comptes_soldesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.compta_comptes_soldesWhereInput
|
|
orderBy?: Prisma.compta_comptes_soldesOrderByWithAggregationInput | Prisma.compta_comptes_soldesOrderByWithAggregationInput[]
|
|
by: Prisma.Compta_comptes_soldesScalarFieldEnum[] | Prisma.Compta_comptes_soldesScalarFieldEnum
|
|
having?: Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Compta_comptes_soldesCountAggregateInputType | true
|
|
_avg?: Compta_comptes_soldesAvgAggregateInputType
|
|
_sum?: Compta_comptes_soldesSumAggregateInputType
|
|
_min?: Compta_comptes_soldesMinAggregateInputType
|
|
_max?: Compta_comptes_soldesMaxAggregateInputType
|
|
}
|
|
|
|
export type Compta_comptes_soldesGroupByOutputType = {
|
|
id: bigint
|
|
num_compte: number
|
|
year: number
|
|
amount: number
|
|
comment: string
|
|
type: string
|
|
_count: Compta_comptes_soldesCountAggregateOutputType | null
|
|
_avg: Compta_comptes_soldesAvgAggregateOutputType | null
|
|
_sum: Compta_comptes_soldesSumAggregateOutputType | null
|
|
_min: Compta_comptes_soldesMinAggregateOutputType | null
|
|
_max: Compta_comptes_soldesMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetCompta_comptes_soldesGroupByPayload<T extends compta_comptes_soldesGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Compta_comptes_soldesGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Compta_comptes_soldesGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Compta_comptes_soldesGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Compta_comptes_soldesGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type compta_comptes_soldesWhereInput = {
|
|
AND?: Prisma.compta_comptes_soldesWhereInput | Prisma.compta_comptes_soldesWhereInput[]
|
|
OR?: Prisma.compta_comptes_soldesWhereInput[]
|
|
NOT?: Prisma.compta_comptes_soldesWhereInput | Prisma.compta_comptes_soldesWhereInput[]
|
|
id?: Prisma.BigIntFilter<"compta_comptes_soldes"> | bigint | number
|
|
num_compte?: Prisma.IntFilter<"compta_comptes_soldes"> | number
|
|
year?: Prisma.IntFilter<"compta_comptes_soldes"> | number
|
|
amount?: Prisma.FloatFilter<"compta_comptes_soldes"> | number
|
|
comment?: Prisma.StringFilter<"compta_comptes_soldes"> | string
|
|
type?: Prisma.StringFilter<"compta_comptes_soldes"> | string
|
|
}
|
|
|
|
export type compta_comptes_soldesOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
year?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
comment?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
_relevance?: Prisma.compta_comptes_soldesOrderByRelevanceInput
|
|
}
|
|
|
|
export type compta_comptes_soldesWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: bigint | number
|
|
AND?: Prisma.compta_comptes_soldesWhereInput | Prisma.compta_comptes_soldesWhereInput[]
|
|
OR?: Prisma.compta_comptes_soldesWhereInput[]
|
|
NOT?: Prisma.compta_comptes_soldesWhereInput | Prisma.compta_comptes_soldesWhereInput[]
|
|
num_compte?: Prisma.IntFilter<"compta_comptes_soldes"> | number
|
|
year?: Prisma.IntFilter<"compta_comptes_soldes"> | number
|
|
amount?: Prisma.FloatFilter<"compta_comptes_soldes"> | number
|
|
comment?: Prisma.StringFilter<"compta_comptes_soldes"> | string
|
|
type?: Prisma.StringFilter<"compta_comptes_soldes"> | string
|
|
}, "id">
|
|
|
|
export type compta_comptes_soldesOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
year?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
comment?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
_count?: Prisma.compta_comptes_soldesCountOrderByAggregateInput
|
|
_avg?: Prisma.compta_comptes_soldesAvgOrderByAggregateInput
|
|
_max?: Prisma.compta_comptes_soldesMaxOrderByAggregateInput
|
|
_min?: Prisma.compta_comptes_soldesMinOrderByAggregateInput
|
|
_sum?: Prisma.compta_comptes_soldesSumOrderByAggregateInput
|
|
}
|
|
|
|
export type compta_comptes_soldesScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput | Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput | Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.BigIntWithAggregatesFilter<"compta_comptes_soldes"> | bigint | number
|
|
num_compte?: Prisma.IntWithAggregatesFilter<"compta_comptes_soldes"> | number
|
|
year?: Prisma.IntWithAggregatesFilter<"compta_comptes_soldes"> | number
|
|
amount?: Prisma.FloatWithAggregatesFilter<"compta_comptes_soldes"> | number
|
|
comment?: Prisma.StringWithAggregatesFilter<"compta_comptes_soldes"> | string
|
|
type?: Prisma.StringWithAggregatesFilter<"compta_comptes_soldes"> | string
|
|
}
|
|
|
|
export type compta_comptes_soldesCreateInput = {
|
|
id?: bigint | number
|
|
num_compte: number
|
|
year: number
|
|
amount: number
|
|
comment: string
|
|
type: string
|
|
}
|
|
|
|
export type compta_comptes_soldesUncheckedCreateInput = {
|
|
id?: bigint | number
|
|
num_compte: number
|
|
year: number
|
|
amount: number
|
|
comment: string
|
|
type: string
|
|
}
|
|
|
|
export type compta_comptes_soldesUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
num_compte?: Prisma.IntFieldUpdateOperationsInput | number
|
|
year?: Prisma.IntFieldUpdateOperationsInput | number
|
|
amount?: Prisma.FloatFieldUpdateOperationsInput | number
|
|
comment?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type compta_comptes_soldesUncheckedUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
num_compte?: Prisma.IntFieldUpdateOperationsInput | number
|
|
year?: Prisma.IntFieldUpdateOperationsInput | number
|
|
amount?: Prisma.FloatFieldUpdateOperationsInput | number
|
|
comment?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type compta_comptes_soldesCreateManyInput = {
|
|
id?: bigint | number
|
|
num_compte: number
|
|
year: number
|
|
amount: number
|
|
comment: string
|
|
type: string
|
|
}
|
|
|
|
export type compta_comptes_soldesUpdateManyMutationInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
num_compte?: Prisma.IntFieldUpdateOperationsInput | number
|
|
year?: Prisma.IntFieldUpdateOperationsInput | number
|
|
amount?: Prisma.FloatFieldUpdateOperationsInput | number
|
|
comment?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type compta_comptes_soldesUncheckedUpdateManyInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
num_compte?: Prisma.IntFieldUpdateOperationsInput | number
|
|
year?: Prisma.IntFieldUpdateOperationsInput | number
|
|
amount?: Prisma.FloatFieldUpdateOperationsInput | number
|
|
comment?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type compta_comptes_soldesOrderByRelevanceInput = {
|
|
fields: Prisma.compta_comptes_soldesOrderByRelevanceFieldEnum | Prisma.compta_comptes_soldesOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type compta_comptes_soldesCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
year?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
comment?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_comptes_soldesAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
year?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_comptes_soldesMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
year?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
comment?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_comptes_soldesMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
year?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
comment?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_comptes_soldesSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
year?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type compta_comptes_soldesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
num_compte?: boolean
|
|
year?: boolean
|
|
amount?: boolean
|
|
comment?: boolean
|
|
type?: boolean
|
|
}, ExtArgs["result"]["compta_comptes_soldes"]>
|
|
|
|
|
|
|
|
export type compta_comptes_soldesSelectScalar = {
|
|
id?: boolean
|
|
num_compte?: boolean
|
|
year?: boolean
|
|
amount?: boolean
|
|
comment?: boolean
|
|
type?: boolean
|
|
}
|
|
|
|
export type compta_comptes_soldesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "num_compte" | "year" | "amount" | "comment" | "type", ExtArgs["result"]["compta_comptes_soldes"]>
|
|
|
|
export type $compta_comptes_soldesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "compta_comptes_soldes"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: bigint
|
|
num_compte: number
|
|
year: number
|
|
amount: number
|
|
comment: string
|
|
type: string
|
|
}, ExtArgs["result"]["compta_comptes_soldes"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type compta_comptes_soldesGetPayload<S extends boolean | null | undefined | compta_comptes_soldesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$compta_comptes_soldesPayload, S>
|
|
|
|
export type compta_comptes_soldesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<compta_comptes_soldesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Compta_comptes_soldesCountAggregateInputType | true
|
|
}
|
|
|
|
export interface compta_comptes_soldesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['compta_comptes_soldes'], meta: { name: 'compta_comptes_soldes' } }
|
|
/**
|
|
* Find zero or one Compta_comptes_soldes that matches the filter.
|
|
* @param {compta_comptes_soldesFindUniqueArgs} args - Arguments to find a Compta_comptes_soldes
|
|
* @example
|
|
* // Get one Compta_comptes_soldes
|
|
* const compta_comptes_soldes = await prisma.compta_comptes_soldes.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends compta_comptes_soldesFindUniqueArgs>(args: Prisma.SelectSubset<T, compta_comptes_soldesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__compta_comptes_soldesClient<runtime.Types.Result.GetResult<Prisma.$compta_comptes_soldesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Compta_comptes_soldes that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {compta_comptes_soldesFindUniqueOrThrowArgs} args - Arguments to find a Compta_comptes_soldes
|
|
* @example
|
|
* // Get one Compta_comptes_soldes
|
|
* const compta_comptes_soldes = await prisma.compta_comptes_soldes.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends compta_comptes_soldesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, compta_comptes_soldesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__compta_comptes_soldesClient<runtime.Types.Result.GetResult<Prisma.$compta_comptes_soldesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Compta_comptes_soldes 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_comptes_soldesFindFirstArgs} args - Arguments to find a Compta_comptes_soldes
|
|
* @example
|
|
* // Get one Compta_comptes_soldes
|
|
* const compta_comptes_soldes = await prisma.compta_comptes_soldes.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends compta_comptes_soldesFindFirstArgs>(args?: Prisma.SelectSubset<T, compta_comptes_soldesFindFirstArgs<ExtArgs>>): Prisma.Prisma__compta_comptes_soldesClient<runtime.Types.Result.GetResult<Prisma.$compta_comptes_soldesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Compta_comptes_soldes 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_comptes_soldesFindFirstOrThrowArgs} args - Arguments to find a Compta_comptes_soldes
|
|
* @example
|
|
* // Get one Compta_comptes_soldes
|
|
* const compta_comptes_soldes = await prisma.compta_comptes_soldes.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends compta_comptes_soldesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, compta_comptes_soldesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__compta_comptes_soldesClient<runtime.Types.Result.GetResult<Prisma.$compta_comptes_soldesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Compta_comptes_soldes 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_comptes_soldesFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Compta_comptes_soldes
|
|
* const compta_comptes_soldes = await prisma.compta_comptes_soldes.findMany()
|
|
*
|
|
* // Get first 10 Compta_comptes_soldes
|
|
* const compta_comptes_soldes = await prisma.compta_comptes_soldes.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const compta_comptes_soldesWithIdOnly = await prisma.compta_comptes_soldes.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends compta_comptes_soldesFindManyArgs>(args?: Prisma.SelectSubset<T, compta_comptes_soldesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$compta_comptes_soldesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Compta_comptes_soldes.
|
|
* @param {compta_comptes_soldesCreateArgs} args - Arguments to create a Compta_comptes_soldes.
|
|
* @example
|
|
* // Create one Compta_comptes_soldes
|
|
* const Compta_comptes_soldes = await prisma.compta_comptes_soldes.create({
|
|
* data: {
|
|
* // ... data to create a Compta_comptes_soldes
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends compta_comptes_soldesCreateArgs>(args: Prisma.SelectSubset<T, compta_comptes_soldesCreateArgs<ExtArgs>>): Prisma.Prisma__compta_comptes_soldesClient<runtime.Types.Result.GetResult<Prisma.$compta_comptes_soldesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Compta_comptes_soldes.
|
|
* @param {compta_comptes_soldesCreateManyArgs} args - Arguments to create many Compta_comptes_soldes.
|
|
* @example
|
|
* // Create many Compta_comptes_soldes
|
|
* const compta_comptes_soldes = await prisma.compta_comptes_soldes.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends compta_comptes_soldesCreateManyArgs>(args?: Prisma.SelectSubset<T, compta_comptes_soldesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Compta_comptes_soldes.
|
|
* @param {compta_comptes_soldesDeleteArgs} args - Arguments to delete one Compta_comptes_soldes.
|
|
* @example
|
|
* // Delete one Compta_comptes_soldes
|
|
* const Compta_comptes_soldes = await prisma.compta_comptes_soldes.delete({
|
|
* where: {
|
|
* // ... filter to delete one Compta_comptes_soldes
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends compta_comptes_soldesDeleteArgs>(args: Prisma.SelectSubset<T, compta_comptes_soldesDeleteArgs<ExtArgs>>): Prisma.Prisma__compta_comptes_soldesClient<runtime.Types.Result.GetResult<Prisma.$compta_comptes_soldesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Compta_comptes_soldes.
|
|
* @param {compta_comptes_soldesUpdateArgs} args - Arguments to update one Compta_comptes_soldes.
|
|
* @example
|
|
* // Update one Compta_comptes_soldes
|
|
* const compta_comptes_soldes = await prisma.compta_comptes_soldes.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends compta_comptes_soldesUpdateArgs>(args: Prisma.SelectSubset<T, compta_comptes_soldesUpdateArgs<ExtArgs>>): Prisma.Prisma__compta_comptes_soldesClient<runtime.Types.Result.GetResult<Prisma.$compta_comptes_soldesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Compta_comptes_soldes.
|
|
* @param {compta_comptes_soldesDeleteManyArgs} args - Arguments to filter Compta_comptes_soldes to delete.
|
|
* @example
|
|
* // Delete a few Compta_comptes_soldes
|
|
* const { count } = await prisma.compta_comptes_soldes.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends compta_comptes_soldesDeleteManyArgs>(args?: Prisma.SelectSubset<T, compta_comptes_soldesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Compta_comptes_soldes.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_comptes_soldesUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Compta_comptes_soldes
|
|
* const compta_comptes_soldes = await prisma.compta_comptes_soldes.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends compta_comptes_soldesUpdateManyArgs>(args: Prisma.SelectSubset<T, compta_comptes_soldesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Compta_comptes_soldes.
|
|
* @param {compta_comptes_soldesUpsertArgs} args - Arguments to update or create a Compta_comptes_soldes.
|
|
* @example
|
|
* // Update or create a Compta_comptes_soldes
|
|
* const compta_comptes_soldes = await prisma.compta_comptes_soldes.upsert({
|
|
* create: {
|
|
* // ... data to create a Compta_comptes_soldes
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Compta_comptes_soldes we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends compta_comptes_soldesUpsertArgs>(args: Prisma.SelectSubset<T, compta_comptes_soldesUpsertArgs<ExtArgs>>): Prisma.Prisma__compta_comptes_soldesClient<runtime.Types.Result.GetResult<Prisma.$compta_comptes_soldesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Compta_comptes_soldes.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_comptes_soldesCountArgs} args - Arguments to filter Compta_comptes_soldes to count.
|
|
* @example
|
|
* // Count the number of Compta_comptes_soldes
|
|
* const count = await prisma.compta_comptes_soldes.count({
|
|
* where: {
|
|
* // ... the filter for the Compta_comptes_soldes we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends compta_comptes_soldesCountArgs>(
|
|
args?: Prisma.Subset<T, compta_comptes_soldesCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Compta_comptes_soldesCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Compta_comptes_soldes.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Compta_comptes_soldesAggregateArgs} 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_comptes_soldesAggregateArgs>(args: Prisma.Subset<T, Compta_comptes_soldesAggregateArgs>): Prisma.PrismaPromise<GetCompta_comptes_soldesAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Compta_comptes_soldes.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_comptes_soldesGroupByArgs} 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_comptes_soldesGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: compta_comptes_soldesGroupByArgs['orderBy'] }
|
|
: { orderBy?: compta_comptes_soldesGroupByArgs['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_comptes_soldesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCompta_comptes_soldesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the compta_comptes_soldes model
|
|
*/
|
|
readonly fields: compta_comptes_soldesFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for compta_comptes_soldes.
|
|
* 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_comptes_soldesClient<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_comptes_soldes model
|
|
*/
|
|
export interface compta_comptes_soldesFieldRefs {
|
|
readonly id: Prisma.FieldRef<"compta_comptes_soldes", 'BigInt'>
|
|
readonly num_compte: Prisma.FieldRef<"compta_comptes_soldes", 'Int'>
|
|
readonly year: Prisma.FieldRef<"compta_comptes_soldes", 'Int'>
|
|
readonly amount: Prisma.FieldRef<"compta_comptes_soldes", 'Float'>
|
|
readonly comment: Prisma.FieldRef<"compta_comptes_soldes", 'String'>
|
|
readonly type: Prisma.FieldRef<"compta_comptes_soldes", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* compta_comptes_soldes findUnique
|
|
*/
|
|
export type compta_comptes_soldesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_comptes_soldes
|
|
*/
|
|
select?: Prisma.compta_comptes_soldesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_comptes_soldes
|
|
*/
|
|
omit?: Prisma.compta_comptes_soldesOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_comptes_soldes to fetch.
|
|
*/
|
|
where: Prisma.compta_comptes_soldesWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes findUniqueOrThrow
|
|
*/
|
|
export type compta_comptes_soldesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_comptes_soldes
|
|
*/
|
|
select?: Prisma.compta_comptes_soldesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_comptes_soldes
|
|
*/
|
|
omit?: Prisma.compta_comptes_soldesOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_comptes_soldes to fetch.
|
|
*/
|
|
where: Prisma.compta_comptes_soldesWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes findFirst
|
|
*/
|
|
export type compta_comptes_soldesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_comptes_soldes
|
|
*/
|
|
select?: Prisma.compta_comptes_soldesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_comptes_soldes
|
|
*/
|
|
omit?: Prisma.compta_comptes_soldesOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_comptes_soldes to fetch.
|
|
*/
|
|
where?: Prisma.compta_comptes_soldesWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_comptes_soldes to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_comptes_soldesOrderByWithRelationInput | Prisma.compta_comptes_soldesOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for compta_comptes_soldes.
|
|
*/
|
|
cursor?: Prisma.compta_comptes_soldesWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_comptes_soldes 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_comptes_soldes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of compta_comptes_soldes.
|
|
*/
|
|
distinct?: Prisma.Compta_comptes_soldesScalarFieldEnum | Prisma.Compta_comptes_soldesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes findFirstOrThrow
|
|
*/
|
|
export type compta_comptes_soldesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_comptes_soldes
|
|
*/
|
|
select?: Prisma.compta_comptes_soldesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_comptes_soldes
|
|
*/
|
|
omit?: Prisma.compta_comptes_soldesOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_comptes_soldes to fetch.
|
|
*/
|
|
where?: Prisma.compta_comptes_soldesWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_comptes_soldes to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_comptes_soldesOrderByWithRelationInput | Prisma.compta_comptes_soldesOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for compta_comptes_soldes.
|
|
*/
|
|
cursor?: Prisma.compta_comptes_soldesWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_comptes_soldes 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_comptes_soldes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of compta_comptes_soldes.
|
|
*/
|
|
distinct?: Prisma.Compta_comptes_soldesScalarFieldEnum | Prisma.Compta_comptes_soldesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes findMany
|
|
*/
|
|
export type compta_comptes_soldesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_comptes_soldes
|
|
*/
|
|
select?: Prisma.compta_comptes_soldesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_comptes_soldes
|
|
*/
|
|
omit?: Prisma.compta_comptes_soldesOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_comptes_soldes to fetch.
|
|
*/
|
|
where?: Prisma.compta_comptes_soldesWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_comptes_soldes to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_comptes_soldesOrderByWithRelationInput | Prisma.compta_comptes_soldesOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing compta_comptes_soldes.
|
|
*/
|
|
cursor?: Prisma.compta_comptes_soldesWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_comptes_soldes 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_comptes_soldes.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Compta_comptes_soldesScalarFieldEnum | Prisma.Compta_comptes_soldesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes create
|
|
*/
|
|
export type compta_comptes_soldesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_comptes_soldes
|
|
*/
|
|
select?: Prisma.compta_comptes_soldesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_comptes_soldes
|
|
*/
|
|
omit?: Prisma.compta_comptes_soldesOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a compta_comptes_soldes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.compta_comptes_soldesCreateInput, Prisma.compta_comptes_soldesUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes createMany
|
|
*/
|
|
export type compta_comptes_soldesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many compta_comptes_soldes.
|
|
*/
|
|
data: Prisma.compta_comptes_soldesCreateManyInput | Prisma.compta_comptes_soldesCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes update
|
|
*/
|
|
export type compta_comptes_soldesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_comptes_soldes
|
|
*/
|
|
select?: Prisma.compta_comptes_soldesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_comptes_soldes
|
|
*/
|
|
omit?: Prisma.compta_comptes_soldesOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a compta_comptes_soldes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.compta_comptes_soldesUpdateInput, Prisma.compta_comptes_soldesUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which compta_comptes_soldes to update.
|
|
*/
|
|
where: Prisma.compta_comptes_soldesWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes updateMany
|
|
*/
|
|
export type compta_comptes_soldesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update compta_comptes_soldes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.compta_comptes_soldesUpdateManyMutationInput, Prisma.compta_comptes_soldesUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which compta_comptes_soldes to update
|
|
*/
|
|
where?: Prisma.compta_comptes_soldesWhereInput
|
|
/**
|
|
* Limit how many compta_comptes_soldes to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes upsert
|
|
*/
|
|
export type compta_comptes_soldesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_comptes_soldes
|
|
*/
|
|
select?: Prisma.compta_comptes_soldesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_comptes_soldes
|
|
*/
|
|
omit?: Prisma.compta_comptes_soldesOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the compta_comptes_soldes to update in case it exists.
|
|
*/
|
|
where: Prisma.compta_comptes_soldesWhereUniqueInput
|
|
/**
|
|
* In case the compta_comptes_soldes found by the `where` argument doesn't exist, create a new compta_comptes_soldes with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.compta_comptes_soldesCreateInput, Prisma.compta_comptes_soldesUncheckedCreateInput>
|
|
/**
|
|
* In case the compta_comptes_soldes was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.compta_comptes_soldesUpdateInput, Prisma.compta_comptes_soldesUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes delete
|
|
*/
|
|
export type compta_comptes_soldesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_comptes_soldes
|
|
*/
|
|
select?: Prisma.compta_comptes_soldesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_comptes_soldes
|
|
*/
|
|
omit?: Prisma.compta_comptes_soldesOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which compta_comptes_soldes to delete.
|
|
*/
|
|
where: Prisma.compta_comptes_soldesWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes deleteMany
|
|
*/
|
|
export type compta_comptes_soldesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which compta_comptes_soldes to delete
|
|
*/
|
|
where?: Prisma.compta_comptes_soldesWhereInput
|
|
/**
|
|
* Limit how many compta_comptes_soldes to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* compta_comptes_soldes without action
|
|
*/
|
|
export type compta_comptes_soldesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_comptes_soldes
|
|
*/
|
|
select?: Prisma.compta_comptes_soldesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_comptes_soldes
|
|
*/
|
|
omit?: Prisma.compta_comptes_soldesOmit<ExtArgs> | null
|
|
}
|