1109 lines
46 KiB
TypeScript
1109 lines
46 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_detail` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
import type * as $Enums from "../enums"
|
|
import type * as Prisma from "../internal/prismaNamespace"
|
|
|
|
/**
|
|
* Model compta_journal_ecriture_detail
|
|
*
|
|
*/
|
|
export type compta_journal_ecriture_detailModel = runtime.Types.Result.DefaultSelection<Prisma.$compta_journal_ecriture_detailPayload>
|
|
|
|
export type AggregateCompta_journal_ecriture_detail = {
|
|
_count: Compta_journal_ecriture_detailCountAggregateOutputType | null
|
|
_avg: Compta_journal_ecriture_detailAvgAggregateOutputType | null
|
|
_sum: Compta_journal_ecriture_detailSumAggregateOutputType | null
|
|
_min: Compta_journal_ecriture_detailMinAggregateOutputType | null
|
|
_max: Compta_journal_ecriture_detailMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailAvgAggregateOutputType = {
|
|
id: number | null
|
|
journal_id: number | null
|
|
num_compte: number | null
|
|
amount: number | null
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailSumAggregateOutputType = {
|
|
id: bigint | null
|
|
journal_id: bigint | null
|
|
num_compte: bigint | null
|
|
amount: number | null
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailMinAggregateOutputType = {
|
|
id: bigint | null
|
|
journal_id: bigint | null
|
|
num_compte: bigint | null
|
|
amount: number | null
|
|
action: string | null
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailMaxAggregateOutputType = {
|
|
id: bigint | null
|
|
journal_id: bigint | null
|
|
num_compte: bigint | null
|
|
amount: number | null
|
|
action: string | null
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailCountAggregateOutputType = {
|
|
id: number
|
|
journal_id: number
|
|
num_compte: number
|
|
amount: number
|
|
action: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Compta_journal_ecriture_detailAvgAggregateInputType = {
|
|
id?: true
|
|
journal_id?: true
|
|
num_compte?: true
|
|
amount?: true
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailSumAggregateInputType = {
|
|
id?: true
|
|
journal_id?: true
|
|
num_compte?: true
|
|
amount?: true
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailMinAggregateInputType = {
|
|
id?: true
|
|
journal_id?: true
|
|
num_compte?: true
|
|
amount?: true
|
|
action?: true
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailMaxAggregateInputType = {
|
|
id?: true
|
|
journal_id?: true
|
|
num_compte?: true
|
|
amount?: true
|
|
action?: true
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailCountAggregateInputType = {
|
|
id?: true
|
|
journal_id?: true
|
|
num_compte?: true
|
|
amount?: true
|
|
action?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which compta_journal_ecriture_detail to aggregate.
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_detailWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecriture_details to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecriture_detailOrderByWithRelationInput | Prisma.compta_journal_ecriture_detailOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecriture_detailWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecriture_details from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` compta_journal_ecriture_details.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned compta_journal_ecriture_details
|
|
**/
|
|
_count?: true | Compta_journal_ecriture_detailCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Compta_journal_ecriture_detailAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Compta_journal_ecriture_detailSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Compta_journal_ecriture_detailMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Compta_journal_ecriture_detailMaxAggregateInputType
|
|
}
|
|
|
|
export type GetCompta_journal_ecriture_detailAggregateType<T extends Compta_journal_ecriture_detailAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCompta_journal_ecriture_detail]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateCompta_journal_ecriture_detail[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateCompta_journal_ecriture_detail[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type compta_journal_ecriture_detailGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.compta_journal_ecriture_detailWhereInput
|
|
orderBy?: Prisma.compta_journal_ecriture_detailOrderByWithAggregationInput | Prisma.compta_journal_ecriture_detailOrderByWithAggregationInput[]
|
|
by: Prisma.Compta_journal_ecriture_detailScalarFieldEnum[] | Prisma.Compta_journal_ecriture_detailScalarFieldEnum
|
|
having?: Prisma.compta_journal_ecriture_detailScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Compta_journal_ecriture_detailCountAggregateInputType | true
|
|
_avg?: Compta_journal_ecriture_detailAvgAggregateInputType
|
|
_sum?: Compta_journal_ecriture_detailSumAggregateInputType
|
|
_min?: Compta_journal_ecriture_detailMinAggregateInputType
|
|
_max?: Compta_journal_ecriture_detailMaxAggregateInputType
|
|
}
|
|
|
|
export type Compta_journal_ecriture_detailGroupByOutputType = {
|
|
id: bigint
|
|
journal_id: bigint | null
|
|
num_compte: bigint | null
|
|
amount: number | null
|
|
action: string | null
|
|
_count: Compta_journal_ecriture_detailCountAggregateOutputType | null
|
|
_avg: Compta_journal_ecriture_detailAvgAggregateOutputType | null
|
|
_sum: Compta_journal_ecriture_detailSumAggregateOutputType | null
|
|
_min: Compta_journal_ecriture_detailMinAggregateOutputType | null
|
|
_max: Compta_journal_ecriture_detailMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetCompta_journal_ecriture_detailGroupByPayload<T extends compta_journal_ecriture_detailGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Compta_journal_ecriture_detailGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Compta_journal_ecriture_detailGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Compta_journal_ecriture_detailGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Compta_journal_ecriture_detailGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type compta_journal_ecriture_detailWhereInput = {
|
|
AND?: Prisma.compta_journal_ecriture_detailWhereInput | Prisma.compta_journal_ecriture_detailWhereInput[]
|
|
OR?: Prisma.compta_journal_ecriture_detailWhereInput[]
|
|
NOT?: Prisma.compta_journal_ecriture_detailWhereInput | Prisma.compta_journal_ecriture_detailWhereInput[]
|
|
id?: Prisma.BigIntFilter<"compta_journal_ecriture_detail"> | bigint | number
|
|
journal_id?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_detail"> | bigint | number | null
|
|
num_compte?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_detail"> | bigint | number | null
|
|
amount?: Prisma.FloatNullableFilter<"compta_journal_ecriture_detail"> | number | null
|
|
action?: Prisma.StringNullableFilter<"compta_journal_ecriture_detail"> | string | null
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
journal_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
action?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_relevance?: Prisma.compta_journal_ecriture_detailOrderByRelevanceInput
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: bigint | number
|
|
AND?: Prisma.compta_journal_ecriture_detailWhereInput | Prisma.compta_journal_ecriture_detailWhereInput[]
|
|
OR?: Prisma.compta_journal_ecriture_detailWhereInput[]
|
|
NOT?: Prisma.compta_journal_ecriture_detailWhereInput | Prisma.compta_journal_ecriture_detailWhereInput[]
|
|
journal_id?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_detail"> | bigint | number | null
|
|
num_compte?: Prisma.BigIntNullableFilter<"compta_journal_ecriture_detail"> | bigint | number | null
|
|
amount?: Prisma.FloatNullableFilter<"compta_journal_ecriture_detail"> | number | null
|
|
action?: Prisma.StringNullableFilter<"compta_journal_ecriture_detail"> | string | null
|
|
}, "id">
|
|
|
|
export type compta_journal_ecriture_detailOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
journal_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
action?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.compta_journal_ecriture_detailCountOrderByAggregateInput
|
|
_avg?: Prisma.compta_journal_ecriture_detailAvgOrderByAggregateInput
|
|
_max?: Prisma.compta_journal_ecriture_detailMaxOrderByAggregateInput
|
|
_min?: Prisma.compta_journal_ecriture_detailMinOrderByAggregateInput
|
|
_sum?: Prisma.compta_journal_ecriture_detailSumOrderByAggregateInput
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.compta_journal_ecriture_detailScalarWhereWithAggregatesInput | Prisma.compta_journal_ecriture_detailScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.compta_journal_ecriture_detailScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.compta_journal_ecriture_detailScalarWhereWithAggregatesInput | Prisma.compta_journal_ecriture_detailScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.BigIntWithAggregatesFilter<"compta_journal_ecriture_detail"> | bigint | number
|
|
journal_id?: Prisma.BigIntNullableWithAggregatesFilter<"compta_journal_ecriture_detail"> | bigint | number | null
|
|
num_compte?: Prisma.BigIntNullableWithAggregatesFilter<"compta_journal_ecriture_detail"> | bigint | number | null
|
|
amount?: Prisma.FloatNullableWithAggregatesFilter<"compta_journal_ecriture_detail"> | number | null
|
|
action?: Prisma.StringNullableWithAggregatesFilter<"compta_journal_ecriture_detail"> | string | null
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailCreateInput = {
|
|
id?: bigint | number
|
|
journal_id?: bigint | number | null
|
|
num_compte?: bigint | number | null
|
|
amount?: number | null
|
|
action?: string | null
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailUncheckedCreateInput = {
|
|
id?: bigint | number
|
|
journal_id?: bigint | number | null
|
|
num_compte?: bigint | number | null
|
|
amount?: number | null
|
|
action?: string | null
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
journal_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailUncheckedUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
journal_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailCreateManyInput = {
|
|
id?: bigint | number
|
|
journal_id?: bigint | number | null
|
|
num_compte?: bigint | number | null
|
|
amount?: number | null
|
|
action?: string | null
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailUpdateManyMutationInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
journal_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailUncheckedUpdateManyInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
journal_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailOrderByRelevanceInput = {
|
|
fields: Prisma.compta_journal_ecriture_detailOrderByRelevanceFieldEnum | Prisma.compta_journal_ecriture_detailOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
journal_id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
journal_id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
journal_id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
journal_id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
journal_id?: Prisma.SortOrder
|
|
num_compte?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
}
|
|
|
|
export type NullableFloatFieldUpdateOperationsInput = {
|
|
set?: number | null
|
|
increment?: number
|
|
decrement?: number
|
|
multiply?: number
|
|
divide?: number
|
|
}
|
|
|
|
|
|
|
|
export type compta_journal_ecriture_detailSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
journal_id?: boolean
|
|
num_compte?: boolean
|
|
amount?: boolean
|
|
action?: boolean
|
|
}, ExtArgs["result"]["compta_journal_ecriture_detail"]>
|
|
|
|
|
|
|
|
export type compta_journal_ecriture_detailSelectScalar = {
|
|
id?: boolean
|
|
journal_id?: boolean
|
|
num_compte?: boolean
|
|
amount?: boolean
|
|
action?: boolean
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "journal_id" | "num_compte" | "amount" | "action", ExtArgs["result"]["compta_journal_ecriture_detail"]>
|
|
|
|
export type $compta_journal_ecriture_detailPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "compta_journal_ecriture_detail"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: bigint
|
|
journal_id: bigint | null
|
|
num_compte: bigint | null
|
|
amount: number | null
|
|
action: string | null
|
|
}, ExtArgs["result"]["compta_journal_ecriture_detail"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type compta_journal_ecriture_detailGetPayload<S extends boolean | null | undefined | compta_journal_ecriture_detailDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detailPayload, S>
|
|
|
|
export type compta_journal_ecriture_detailCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<compta_journal_ecriture_detailFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Compta_journal_ecriture_detailCountAggregateInputType | true
|
|
}
|
|
|
|
export interface compta_journal_ecriture_detailDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['compta_journal_ecriture_detail'], meta: { name: 'compta_journal_ecriture_detail' } }
|
|
/**
|
|
* Find zero or one Compta_journal_ecriture_detail that matches the filter.
|
|
* @param {compta_journal_ecriture_detailFindUniqueArgs} args - Arguments to find a Compta_journal_ecriture_detail
|
|
* @example
|
|
* // Get one Compta_journal_ecriture_detail
|
|
* const compta_journal_ecriture_detail = await prisma.compta_journal_ecriture_detail.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends compta_journal_ecriture_detailFindUniqueArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_detailFindUniqueArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_detailClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detailPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Compta_journal_ecriture_detail that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {compta_journal_ecriture_detailFindUniqueOrThrowArgs} args - Arguments to find a Compta_journal_ecriture_detail
|
|
* @example
|
|
* // Get one Compta_journal_ecriture_detail
|
|
* const compta_journal_ecriture_detail = await prisma.compta_journal_ecriture_detail.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends compta_journal_ecriture_detailFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_detailFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_detailClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detailPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Compta_journal_ecriture_detail that matches the filter.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_journal_ecriture_detailFindFirstArgs} args - Arguments to find a Compta_journal_ecriture_detail
|
|
* @example
|
|
* // Get one Compta_journal_ecriture_detail
|
|
* const compta_journal_ecriture_detail = await prisma.compta_journal_ecriture_detail.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends compta_journal_ecriture_detailFindFirstArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecriture_detailFindFirstArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_detailClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detailPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Compta_journal_ecriture_detail that matches the filter or
|
|
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_journal_ecriture_detailFindFirstOrThrowArgs} args - Arguments to find a Compta_journal_ecriture_detail
|
|
* @example
|
|
* // Get one Compta_journal_ecriture_detail
|
|
* const compta_journal_ecriture_detail = await prisma.compta_journal_ecriture_detail.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends compta_journal_ecriture_detailFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecriture_detailFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_detailClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detailPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Compta_journal_ecriture_details that matches the filter.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_journal_ecriture_detailFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Compta_journal_ecriture_details
|
|
* const compta_journal_ecriture_details = await prisma.compta_journal_ecriture_detail.findMany()
|
|
*
|
|
* // Get first 10 Compta_journal_ecriture_details
|
|
* const compta_journal_ecriture_details = await prisma.compta_journal_ecriture_detail.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const compta_journal_ecriture_detailWithIdOnly = await prisma.compta_journal_ecriture_detail.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends compta_journal_ecriture_detailFindManyArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecriture_detailFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detailPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Compta_journal_ecriture_detail.
|
|
* @param {compta_journal_ecriture_detailCreateArgs} args - Arguments to create a Compta_journal_ecriture_detail.
|
|
* @example
|
|
* // Create one Compta_journal_ecriture_detail
|
|
* const Compta_journal_ecriture_detail = await prisma.compta_journal_ecriture_detail.create({
|
|
* data: {
|
|
* // ... data to create a Compta_journal_ecriture_detail
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends compta_journal_ecriture_detailCreateArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_detailCreateArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_detailClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detailPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Compta_journal_ecriture_details.
|
|
* @param {compta_journal_ecriture_detailCreateManyArgs} args - Arguments to create many Compta_journal_ecriture_details.
|
|
* @example
|
|
* // Create many Compta_journal_ecriture_details
|
|
* const compta_journal_ecriture_detail = await prisma.compta_journal_ecriture_detail.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends compta_journal_ecriture_detailCreateManyArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecriture_detailCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Compta_journal_ecriture_detail.
|
|
* @param {compta_journal_ecriture_detailDeleteArgs} args - Arguments to delete one Compta_journal_ecriture_detail.
|
|
* @example
|
|
* // Delete one Compta_journal_ecriture_detail
|
|
* const Compta_journal_ecriture_detail = await prisma.compta_journal_ecriture_detail.delete({
|
|
* where: {
|
|
* // ... filter to delete one Compta_journal_ecriture_detail
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends compta_journal_ecriture_detailDeleteArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_detailDeleteArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_detailClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detailPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Compta_journal_ecriture_detail.
|
|
* @param {compta_journal_ecriture_detailUpdateArgs} args - Arguments to update one Compta_journal_ecriture_detail.
|
|
* @example
|
|
* // Update one Compta_journal_ecriture_detail
|
|
* const compta_journal_ecriture_detail = await prisma.compta_journal_ecriture_detail.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends compta_journal_ecriture_detailUpdateArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_detailUpdateArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_detailClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detailPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Compta_journal_ecriture_details.
|
|
* @param {compta_journal_ecriture_detailDeleteManyArgs} args - Arguments to filter Compta_journal_ecriture_details to delete.
|
|
* @example
|
|
* // Delete a few Compta_journal_ecriture_details
|
|
* const { count } = await prisma.compta_journal_ecriture_detail.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends compta_journal_ecriture_detailDeleteManyArgs>(args?: Prisma.SelectSubset<T, compta_journal_ecriture_detailDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Compta_journal_ecriture_details.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_journal_ecriture_detailUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Compta_journal_ecriture_details
|
|
* const compta_journal_ecriture_detail = await prisma.compta_journal_ecriture_detail.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends compta_journal_ecriture_detailUpdateManyArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_detailUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Compta_journal_ecriture_detail.
|
|
* @param {compta_journal_ecriture_detailUpsertArgs} args - Arguments to update or create a Compta_journal_ecriture_detail.
|
|
* @example
|
|
* // Update or create a Compta_journal_ecriture_detail
|
|
* const compta_journal_ecriture_detail = await prisma.compta_journal_ecriture_detail.upsert({
|
|
* create: {
|
|
* // ... data to create a Compta_journal_ecriture_detail
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Compta_journal_ecriture_detail we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends compta_journal_ecriture_detailUpsertArgs>(args: Prisma.SelectSubset<T, compta_journal_ecriture_detailUpsertArgs<ExtArgs>>): Prisma.Prisma__compta_journal_ecriture_detailClient<runtime.Types.Result.GetResult<Prisma.$compta_journal_ecriture_detailPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Compta_journal_ecriture_details.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_journal_ecriture_detailCountArgs} args - Arguments to filter Compta_journal_ecriture_details to count.
|
|
* @example
|
|
* // Count the number of Compta_journal_ecriture_details
|
|
* const count = await prisma.compta_journal_ecriture_detail.count({
|
|
* where: {
|
|
* // ... the filter for the Compta_journal_ecriture_details we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends compta_journal_ecriture_detailCountArgs>(
|
|
args?: Prisma.Subset<T, compta_journal_ecriture_detailCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Compta_journal_ecriture_detailCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Compta_journal_ecriture_detail.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Compta_journal_ecriture_detailAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
* @example
|
|
* // Ordered by age ascending
|
|
* // Where email contains prisma.io
|
|
* // Limited to the 10 users
|
|
* const aggregations = await prisma.user.aggregate({
|
|
* _avg: {
|
|
* age: true,
|
|
* },
|
|
* where: {
|
|
* email: {
|
|
* contains: "prisma.io",
|
|
* },
|
|
* },
|
|
* orderBy: {
|
|
* age: "asc",
|
|
* },
|
|
* take: 10,
|
|
* })
|
|
**/
|
|
aggregate<T extends Compta_journal_ecriture_detailAggregateArgs>(args: Prisma.Subset<T, Compta_journal_ecriture_detailAggregateArgs>): Prisma.PrismaPromise<GetCompta_journal_ecriture_detailAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Compta_journal_ecriture_detail.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {compta_journal_ecriture_detailGroupByArgs} args - Group by arguments.
|
|
* @example
|
|
* // Group by city, order by createdAt, get count
|
|
* const result = await prisma.user.groupBy({
|
|
* by: ['city', 'createdAt'],
|
|
* orderBy: {
|
|
* createdAt: true
|
|
* },
|
|
* _count: {
|
|
* _all: true
|
|
* },
|
|
* })
|
|
*
|
|
**/
|
|
groupBy<
|
|
T extends compta_journal_ecriture_detailGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: compta_journal_ecriture_detailGroupByArgs['orderBy'] }
|
|
: { orderBy?: compta_journal_ecriture_detailGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, compta_journal_ecriture_detailGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCompta_journal_ecriture_detailGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the compta_journal_ecriture_detail model
|
|
*/
|
|
readonly fields: compta_journal_ecriture_detailFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for compta_journal_ecriture_detail.
|
|
* Why is this prefixed with `Prisma__`?
|
|
* Because we want to prevent naming conflicts as mentioned in
|
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
*/
|
|
export interface Prisma__compta_journal_ecriture_detailClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the compta_journal_ecriture_detail model
|
|
*/
|
|
export interface compta_journal_ecriture_detailFieldRefs {
|
|
readonly id: Prisma.FieldRef<"compta_journal_ecriture_detail", 'BigInt'>
|
|
readonly journal_id: Prisma.FieldRef<"compta_journal_ecriture_detail", 'BigInt'>
|
|
readonly num_compte: Prisma.FieldRef<"compta_journal_ecriture_detail", 'BigInt'>
|
|
readonly amount: Prisma.FieldRef<"compta_journal_ecriture_detail", 'Float'>
|
|
readonly action: Prisma.FieldRef<"compta_journal_ecriture_detail", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* compta_journal_ecriture_detail findUnique
|
|
*/
|
|
export type compta_journal_ecriture_detailFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_detail
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_detailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_detail
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_detailOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture_detail to fetch.
|
|
*/
|
|
where: Prisma.compta_journal_ecriture_detailWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail findUniqueOrThrow
|
|
*/
|
|
export type compta_journal_ecriture_detailFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_detail
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_detailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_detail
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_detailOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture_detail to fetch.
|
|
*/
|
|
where: Prisma.compta_journal_ecriture_detailWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail findFirst
|
|
*/
|
|
export type compta_journal_ecriture_detailFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_detail
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_detailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_detail
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_detailOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture_detail to fetch.
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_detailWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecriture_details to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecriture_detailOrderByWithRelationInput | Prisma.compta_journal_ecriture_detailOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for compta_journal_ecriture_details.
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecriture_detailWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecriture_details from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` compta_journal_ecriture_details.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of compta_journal_ecriture_details.
|
|
*/
|
|
distinct?: Prisma.Compta_journal_ecriture_detailScalarFieldEnum | Prisma.Compta_journal_ecriture_detailScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail findFirstOrThrow
|
|
*/
|
|
export type compta_journal_ecriture_detailFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_detail
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_detailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_detail
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_detailOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture_detail to fetch.
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_detailWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecriture_details to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecriture_detailOrderByWithRelationInput | Prisma.compta_journal_ecriture_detailOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for compta_journal_ecriture_details.
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecriture_detailWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecriture_details from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` compta_journal_ecriture_details.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of compta_journal_ecriture_details.
|
|
*/
|
|
distinct?: Prisma.Compta_journal_ecriture_detailScalarFieldEnum | Prisma.Compta_journal_ecriture_detailScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail findMany
|
|
*/
|
|
export type compta_journal_ecriture_detailFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_detail
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_detailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_detail
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_detailOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which compta_journal_ecriture_details to fetch.
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_detailWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of compta_journal_ecriture_details to fetch.
|
|
*/
|
|
orderBy?: Prisma.compta_journal_ecriture_detailOrderByWithRelationInput | Prisma.compta_journal_ecriture_detailOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing compta_journal_ecriture_details.
|
|
*/
|
|
cursor?: Prisma.compta_journal_ecriture_detailWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` compta_journal_ecriture_details from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` compta_journal_ecriture_details.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Compta_journal_ecriture_detailScalarFieldEnum | Prisma.Compta_journal_ecriture_detailScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail create
|
|
*/
|
|
export type compta_journal_ecriture_detailCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_detail
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_detailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_detail
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_detailOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a compta_journal_ecriture_detail.
|
|
*/
|
|
data?: Prisma.XOR<Prisma.compta_journal_ecriture_detailCreateInput, Prisma.compta_journal_ecriture_detailUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail createMany
|
|
*/
|
|
export type compta_journal_ecriture_detailCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many compta_journal_ecriture_details.
|
|
*/
|
|
data: Prisma.compta_journal_ecriture_detailCreateManyInput | Prisma.compta_journal_ecriture_detailCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail update
|
|
*/
|
|
export type compta_journal_ecriture_detailUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_detail
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_detailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_detail
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_detailOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a compta_journal_ecriture_detail.
|
|
*/
|
|
data: Prisma.XOR<Prisma.compta_journal_ecriture_detailUpdateInput, Prisma.compta_journal_ecriture_detailUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which compta_journal_ecriture_detail to update.
|
|
*/
|
|
where: Prisma.compta_journal_ecriture_detailWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail updateMany
|
|
*/
|
|
export type compta_journal_ecriture_detailUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update compta_journal_ecriture_details.
|
|
*/
|
|
data: Prisma.XOR<Prisma.compta_journal_ecriture_detailUpdateManyMutationInput, Prisma.compta_journal_ecriture_detailUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which compta_journal_ecriture_details to update
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_detailWhereInput
|
|
/**
|
|
* Limit how many compta_journal_ecriture_details to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail upsert
|
|
*/
|
|
export type compta_journal_ecriture_detailUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_detail
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_detailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_detail
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_detailOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the compta_journal_ecriture_detail to update in case it exists.
|
|
*/
|
|
where: Prisma.compta_journal_ecriture_detailWhereUniqueInput
|
|
/**
|
|
* In case the compta_journal_ecriture_detail found by the `where` argument doesn't exist, create a new compta_journal_ecriture_detail with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.compta_journal_ecriture_detailCreateInput, Prisma.compta_journal_ecriture_detailUncheckedCreateInput>
|
|
/**
|
|
* In case the compta_journal_ecriture_detail was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.compta_journal_ecriture_detailUpdateInput, Prisma.compta_journal_ecriture_detailUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail delete
|
|
*/
|
|
export type compta_journal_ecriture_detailDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_detail
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_detailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_detail
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_detailOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which compta_journal_ecriture_detail to delete.
|
|
*/
|
|
where: Prisma.compta_journal_ecriture_detailWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail deleteMany
|
|
*/
|
|
export type compta_journal_ecriture_detailDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which compta_journal_ecriture_details to delete
|
|
*/
|
|
where?: Prisma.compta_journal_ecriture_detailWhereInput
|
|
/**
|
|
* Limit how many compta_journal_ecriture_details to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* compta_journal_ecriture_detail without action
|
|
*/
|
|
export type compta_journal_ecriture_detailDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the compta_journal_ecriture_detail
|
|
*/
|
|
select?: Prisma.compta_journal_ecriture_detailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the compta_journal_ecriture_detail
|
|
*/
|
|
omit?: Prisma.compta_journal_ecriture_detailOmit<ExtArgs> | null
|
|
}
|