targo-backend/prisma/generated/mariadb/models/compta_ppa_file_id.ts

972 lines
36 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_ppa_file_id` 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_ppa_file_id
* This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
*/
export type compta_ppa_file_idModel = runtime.Types.Result.DefaultSelection<Prisma.$compta_ppa_file_idPayload>
export type AggregateCompta_ppa_file_id = {
_count: Compta_ppa_file_idCountAggregateOutputType | null
_avg: Compta_ppa_file_idAvgAggregateOutputType | null
_sum: Compta_ppa_file_idSumAggregateOutputType | null
_min: Compta_ppa_file_idMinAggregateOutputType | null
_max: Compta_ppa_file_idMaxAggregateOutputType | null
}
export type Compta_ppa_file_idAvgAggregateOutputType = {
last_id: number | null
}
export type Compta_ppa_file_idSumAggregateOutputType = {
last_id: number | null
}
export type Compta_ppa_file_idMinAggregateOutputType = {
last_id: number | null
}
export type Compta_ppa_file_idMaxAggregateOutputType = {
last_id: number | null
}
export type Compta_ppa_file_idCountAggregateOutputType = {
last_id: number
_all: number
}
export type Compta_ppa_file_idAvgAggregateInputType = {
last_id?: true
}
export type Compta_ppa_file_idSumAggregateInputType = {
last_id?: true
}
export type Compta_ppa_file_idMinAggregateInputType = {
last_id?: true
}
export type Compta_ppa_file_idMaxAggregateInputType = {
last_id?: true
}
export type Compta_ppa_file_idCountAggregateInputType = {
last_id?: true
_all?: true
}
export type Compta_ppa_file_idAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which compta_ppa_file_id to aggregate.
*/
where?: Prisma.compta_ppa_file_idWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of compta_ppa_file_ids to fetch.
*/
orderBy?: Prisma.compta_ppa_file_idOrderByWithRelationInput | Prisma.compta_ppa_file_idOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.compta_ppa_file_idWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` compta_ppa_file_ids 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_ppa_file_ids.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned compta_ppa_file_ids
**/
_count?: true | Compta_ppa_file_idCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Compta_ppa_file_idAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Compta_ppa_file_idSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Compta_ppa_file_idMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Compta_ppa_file_idMaxAggregateInputType
}
export type GetCompta_ppa_file_idAggregateType<T extends Compta_ppa_file_idAggregateArgs> = {
[P in keyof T & keyof AggregateCompta_ppa_file_id]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateCompta_ppa_file_id[P]>
: Prisma.GetScalarType<T[P], AggregateCompta_ppa_file_id[P]>
}
export type compta_ppa_file_idGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.compta_ppa_file_idWhereInput
orderBy?: Prisma.compta_ppa_file_idOrderByWithAggregationInput | Prisma.compta_ppa_file_idOrderByWithAggregationInput[]
by: Prisma.Compta_ppa_file_idScalarFieldEnum[] | Prisma.Compta_ppa_file_idScalarFieldEnum
having?: Prisma.compta_ppa_file_idScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Compta_ppa_file_idCountAggregateInputType | true
_avg?: Compta_ppa_file_idAvgAggregateInputType
_sum?: Compta_ppa_file_idSumAggregateInputType
_min?: Compta_ppa_file_idMinAggregateInputType
_max?: Compta_ppa_file_idMaxAggregateInputType
}
export type Compta_ppa_file_idGroupByOutputType = {
last_id: number
_count: Compta_ppa_file_idCountAggregateOutputType | null
_avg: Compta_ppa_file_idAvgAggregateOutputType | null
_sum: Compta_ppa_file_idSumAggregateOutputType | null
_min: Compta_ppa_file_idMinAggregateOutputType | null
_max: Compta_ppa_file_idMaxAggregateOutputType | null
}
type GetCompta_ppa_file_idGroupByPayload<T extends compta_ppa_file_idGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Compta_ppa_file_idGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Compta_ppa_file_idGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Compta_ppa_file_idGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Compta_ppa_file_idGroupByOutputType[P]>
}
>
>
export type compta_ppa_file_idWhereInput = {
AND?: Prisma.compta_ppa_file_idWhereInput | Prisma.compta_ppa_file_idWhereInput[]
OR?: Prisma.compta_ppa_file_idWhereInput[]
NOT?: Prisma.compta_ppa_file_idWhereInput | Prisma.compta_ppa_file_idWhereInput[]
last_id?: Prisma.IntFilter<"compta_ppa_file_id"> | number
}
export type compta_ppa_file_idOrderByWithRelationInput = {
last_id?: Prisma.SortOrder
}
export type compta_ppa_file_idWhereUniqueInput = Prisma.AtLeast<{
last_id?: number
AND?: Prisma.compta_ppa_file_idWhereInput | Prisma.compta_ppa_file_idWhereInput[]
OR?: Prisma.compta_ppa_file_idWhereInput[]
NOT?: Prisma.compta_ppa_file_idWhereInput | Prisma.compta_ppa_file_idWhereInput[]
}, "last_id">
export type compta_ppa_file_idOrderByWithAggregationInput = {
last_id?: Prisma.SortOrder
_count?: Prisma.compta_ppa_file_idCountOrderByAggregateInput
_avg?: Prisma.compta_ppa_file_idAvgOrderByAggregateInput
_max?: Prisma.compta_ppa_file_idMaxOrderByAggregateInput
_min?: Prisma.compta_ppa_file_idMinOrderByAggregateInput
_sum?: Prisma.compta_ppa_file_idSumOrderByAggregateInput
}
export type compta_ppa_file_idScalarWhereWithAggregatesInput = {
AND?: Prisma.compta_ppa_file_idScalarWhereWithAggregatesInput | Prisma.compta_ppa_file_idScalarWhereWithAggregatesInput[]
OR?: Prisma.compta_ppa_file_idScalarWhereWithAggregatesInput[]
NOT?: Prisma.compta_ppa_file_idScalarWhereWithAggregatesInput | Prisma.compta_ppa_file_idScalarWhereWithAggregatesInput[]
last_id?: Prisma.IntWithAggregatesFilter<"compta_ppa_file_id"> | number
}
export type compta_ppa_file_idCreateInput = {
last_id?: number
}
export type compta_ppa_file_idUncheckedCreateInput = {
last_id?: number
}
export type compta_ppa_file_idUpdateInput = {
last_id?: Prisma.IntFieldUpdateOperationsInput | number
}
export type compta_ppa_file_idUncheckedUpdateInput = {
last_id?: Prisma.IntFieldUpdateOperationsInput | number
}
export type compta_ppa_file_idCreateManyInput = {
last_id?: number
}
export type compta_ppa_file_idUpdateManyMutationInput = {
last_id?: Prisma.IntFieldUpdateOperationsInput | number
}
export type compta_ppa_file_idUncheckedUpdateManyInput = {
last_id?: Prisma.IntFieldUpdateOperationsInput | number
}
export type compta_ppa_file_idCountOrderByAggregateInput = {
last_id?: Prisma.SortOrder
}
export type compta_ppa_file_idAvgOrderByAggregateInput = {
last_id?: Prisma.SortOrder
}
export type compta_ppa_file_idMaxOrderByAggregateInput = {
last_id?: Prisma.SortOrder
}
export type compta_ppa_file_idMinOrderByAggregateInput = {
last_id?: Prisma.SortOrder
}
export type compta_ppa_file_idSumOrderByAggregateInput = {
last_id?: Prisma.SortOrder
}
export type compta_ppa_file_idSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
last_id?: boolean
}, ExtArgs["result"]["compta_ppa_file_id"]>
export type compta_ppa_file_idSelectScalar = {
last_id?: boolean
}
export type compta_ppa_file_idOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"last_id", ExtArgs["result"]["compta_ppa_file_id"]>
export type $compta_ppa_file_idPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "compta_ppa_file_id"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
last_id: number
}, ExtArgs["result"]["compta_ppa_file_id"]>
composites: {}
}
export type compta_ppa_file_idGetPayload<S extends boolean | null | undefined | compta_ppa_file_idDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$compta_ppa_file_idPayload, S>
export type compta_ppa_file_idCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<compta_ppa_file_idFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Compta_ppa_file_idCountAggregateInputType | true
}
export interface compta_ppa_file_idDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['compta_ppa_file_id'], meta: { name: 'compta_ppa_file_id' } }
/**
* Find zero or one Compta_ppa_file_id that matches the filter.
* @param {compta_ppa_file_idFindUniqueArgs} args - Arguments to find a Compta_ppa_file_id
* @example
* // Get one Compta_ppa_file_id
* const compta_ppa_file_id = await prisma.compta_ppa_file_id.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends compta_ppa_file_idFindUniqueArgs>(args: Prisma.SelectSubset<T, compta_ppa_file_idFindUniqueArgs<ExtArgs>>): Prisma.Prisma__compta_ppa_file_idClient<runtime.Types.Result.GetResult<Prisma.$compta_ppa_file_idPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Compta_ppa_file_id that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {compta_ppa_file_idFindUniqueOrThrowArgs} args - Arguments to find a Compta_ppa_file_id
* @example
* // Get one Compta_ppa_file_id
* const compta_ppa_file_id = await prisma.compta_ppa_file_id.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends compta_ppa_file_idFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, compta_ppa_file_idFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__compta_ppa_file_idClient<runtime.Types.Result.GetResult<Prisma.$compta_ppa_file_idPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Compta_ppa_file_id 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_ppa_file_idFindFirstArgs} args - Arguments to find a Compta_ppa_file_id
* @example
* // Get one Compta_ppa_file_id
* const compta_ppa_file_id = await prisma.compta_ppa_file_id.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends compta_ppa_file_idFindFirstArgs>(args?: Prisma.SelectSubset<T, compta_ppa_file_idFindFirstArgs<ExtArgs>>): Prisma.Prisma__compta_ppa_file_idClient<runtime.Types.Result.GetResult<Prisma.$compta_ppa_file_idPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Compta_ppa_file_id 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_ppa_file_idFindFirstOrThrowArgs} args - Arguments to find a Compta_ppa_file_id
* @example
* // Get one Compta_ppa_file_id
* const compta_ppa_file_id = await prisma.compta_ppa_file_id.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends compta_ppa_file_idFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, compta_ppa_file_idFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__compta_ppa_file_idClient<runtime.Types.Result.GetResult<Prisma.$compta_ppa_file_idPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Compta_ppa_file_ids 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_ppa_file_idFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Compta_ppa_file_ids
* const compta_ppa_file_ids = await prisma.compta_ppa_file_id.findMany()
*
* // Get first 10 Compta_ppa_file_ids
* const compta_ppa_file_ids = await prisma.compta_ppa_file_id.findMany({ take: 10 })
*
* // Only select the `last_id`
* const compta_ppa_file_idWithLast_idOnly = await prisma.compta_ppa_file_id.findMany({ select: { last_id: true } })
*
*/
findMany<T extends compta_ppa_file_idFindManyArgs>(args?: Prisma.SelectSubset<T, compta_ppa_file_idFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$compta_ppa_file_idPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Compta_ppa_file_id.
* @param {compta_ppa_file_idCreateArgs} args - Arguments to create a Compta_ppa_file_id.
* @example
* // Create one Compta_ppa_file_id
* const Compta_ppa_file_id = await prisma.compta_ppa_file_id.create({
* data: {
* // ... data to create a Compta_ppa_file_id
* }
* })
*
*/
create<T extends compta_ppa_file_idCreateArgs>(args: Prisma.SelectSubset<T, compta_ppa_file_idCreateArgs<ExtArgs>>): Prisma.Prisma__compta_ppa_file_idClient<runtime.Types.Result.GetResult<Prisma.$compta_ppa_file_idPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Compta_ppa_file_ids.
* @param {compta_ppa_file_idCreateManyArgs} args - Arguments to create many Compta_ppa_file_ids.
* @example
* // Create many Compta_ppa_file_ids
* const compta_ppa_file_id = await prisma.compta_ppa_file_id.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends compta_ppa_file_idCreateManyArgs>(args?: Prisma.SelectSubset<T, compta_ppa_file_idCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Compta_ppa_file_id.
* @param {compta_ppa_file_idDeleteArgs} args - Arguments to delete one Compta_ppa_file_id.
* @example
* // Delete one Compta_ppa_file_id
* const Compta_ppa_file_id = await prisma.compta_ppa_file_id.delete({
* where: {
* // ... filter to delete one Compta_ppa_file_id
* }
* })
*
*/
delete<T extends compta_ppa_file_idDeleteArgs>(args: Prisma.SelectSubset<T, compta_ppa_file_idDeleteArgs<ExtArgs>>): Prisma.Prisma__compta_ppa_file_idClient<runtime.Types.Result.GetResult<Prisma.$compta_ppa_file_idPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Compta_ppa_file_id.
* @param {compta_ppa_file_idUpdateArgs} args - Arguments to update one Compta_ppa_file_id.
* @example
* // Update one Compta_ppa_file_id
* const compta_ppa_file_id = await prisma.compta_ppa_file_id.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends compta_ppa_file_idUpdateArgs>(args: Prisma.SelectSubset<T, compta_ppa_file_idUpdateArgs<ExtArgs>>): Prisma.Prisma__compta_ppa_file_idClient<runtime.Types.Result.GetResult<Prisma.$compta_ppa_file_idPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Compta_ppa_file_ids.
* @param {compta_ppa_file_idDeleteManyArgs} args - Arguments to filter Compta_ppa_file_ids to delete.
* @example
* // Delete a few Compta_ppa_file_ids
* const { count } = await prisma.compta_ppa_file_id.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends compta_ppa_file_idDeleteManyArgs>(args?: Prisma.SelectSubset<T, compta_ppa_file_idDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Compta_ppa_file_ids.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {compta_ppa_file_idUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Compta_ppa_file_ids
* const compta_ppa_file_id = await prisma.compta_ppa_file_id.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends compta_ppa_file_idUpdateManyArgs>(args: Prisma.SelectSubset<T, compta_ppa_file_idUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Compta_ppa_file_id.
* @param {compta_ppa_file_idUpsertArgs} args - Arguments to update or create a Compta_ppa_file_id.
* @example
* // Update or create a Compta_ppa_file_id
* const compta_ppa_file_id = await prisma.compta_ppa_file_id.upsert({
* create: {
* // ... data to create a Compta_ppa_file_id
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Compta_ppa_file_id we want to update
* }
* })
*/
upsert<T extends compta_ppa_file_idUpsertArgs>(args: Prisma.SelectSubset<T, compta_ppa_file_idUpsertArgs<ExtArgs>>): Prisma.Prisma__compta_ppa_file_idClient<runtime.Types.Result.GetResult<Prisma.$compta_ppa_file_idPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Compta_ppa_file_ids.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {compta_ppa_file_idCountArgs} args - Arguments to filter Compta_ppa_file_ids to count.
* @example
* // Count the number of Compta_ppa_file_ids
* const count = await prisma.compta_ppa_file_id.count({
* where: {
* // ... the filter for the Compta_ppa_file_ids we want to count
* }
* })
**/
count<T extends compta_ppa_file_idCountArgs>(
args?: Prisma.Subset<T, compta_ppa_file_idCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Compta_ppa_file_idCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Compta_ppa_file_id.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Compta_ppa_file_idAggregateArgs} 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_ppa_file_idAggregateArgs>(args: Prisma.Subset<T, Compta_ppa_file_idAggregateArgs>): Prisma.PrismaPromise<GetCompta_ppa_file_idAggregateType<T>>
/**
* Group by Compta_ppa_file_id.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {compta_ppa_file_idGroupByArgs} 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_ppa_file_idGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: compta_ppa_file_idGroupByArgs['orderBy'] }
: { orderBy?: compta_ppa_file_idGroupByArgs['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_ppa_file_idGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCompta_ppa_file_idGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the compta_ppa_file_id model
*/
readonly fields: compta_ppa_file_idFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for compta_ppa_file_id.
* 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_ppa_file_idClient<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_ppa_file_id model
*/
export interface compta_ppa_file_idFieldRefs {
readonly last_id: Prisma.FieldRef<"compta_ppa_file_id", 'Int'>
}
// Custom InputTypes
/**
* compta_ppa_file_id findUnique
*/
export type compta_ppa_file_idFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the compta_ppa_file_id
*/
select?: Prisma.compta_ppa_file_idSelect<ExtArgs> | null
/**
* Omit specific fields from the compta_ppa_file_id
*/
omit?: Prisma.compta_ppa_file_idOmit<ExtArgs> | null
/**
* Filter, which compta_ppa_file_id to fetch.
*/
where: Prisma.compta_ppa_file_idWhereUniqueInput
}
/**
* compta_ppa_file_id findUniqueOrThrow
*/
export type compta_ppa_file_idFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the compta_ppa_file_id
*/
select?: Prisma.compta_ppa_file_idSelect<ExtArgs> | null
/**
* Omit specific fields from the compta_ppa_file_id
*/
omit?: Prisma.compta_ppa_file_idOmit<ExtArgs> | null
/**
* Filter, which compta_ppa_file_id to fetch.
*/
where: Prisma.compta_ppa_file_idWhereUniqueInput
}
/**
* compta_ppa_file_id findFirst
*/
export type compta_ppa_file_idFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the compta_ppa_file_id
*/
select?: Prisma.compta_ppa_file_idSelect<ExtArgs> | null
/**
* Omit specific fields from the compta_ppa_file_id
*/
omit?: Prisma.compta_ppa_file_idOmit<ExtArgs> | null
/**
* Filter, which compta_ppa_file_id to fetch.
*/
where?: Prisma.compta_ppa_file_idWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of compta_ppa_file_ids to fetch.
*/
orderBy?: Prisma.compta_ppa_file_idOrderByWithRelationInput | Prisma.compta_ppa_file_idOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for compta_ppa_file_ids.
*/
cursor?: Prisma.compta_ppa_file_idWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` compta_ppa_file_ids 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_ppa_file_ids.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of compta_ppa_file_ids.
*/
distinct?: Prisma.Compta_ppa_file_idScalarFieldEnum | Prisma.Compta_ppa_file_idScalarFieldEnum[]
}
/**
* compta_ppa_file_id findFirstOrThrow
*/
export type compta_ppa_file_idFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the compta_ppa_file_id
*/
select?: Prisma.compta_ppa_file_idSelect<ExtArgs> | null
/**
* Omit specific fields from the compta_ppa_file_id
*/
omit?: Prisma.compta_ppa_file_idOmit<ExtArgs> | null
/**
* Filter, which compta_ppa_file_id to fetch.
*/
where?: Prisma.compta_ppa_file_idWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of compta_ppa_file_ids to fetch.
*/
orderBy?: Prisma.compta_ppa_file_idOrderByWithRelationInput | Prisma.compta_ppa_file_idOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for compta_ppa_file_ids.
*/
cursor?: Prisma.compta_ppa_file_idWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` compta_ppa_file_ids 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_ppa_file_ids.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of compta_ppa_file_ids.
*/
distinct?: Prisma.Compta_ppa_file_idScalarFieldEnum | Prisma.Compta_ppa_file_idScalarFieldEnum[]
}
/**
* compta_ppa_file_id findMany
*/
export type compta_ppa_file_idFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the compta_ppa_file_id
*/
select?: Prisma.compta_ppa_file_idSelect<ExtArgs> | null
/**
* Omit specific fields from the compta_ppa_file_id
*/
omit?: Prisma.compta_ppa_file_idOmit<ExtArgs> | null
/**
* Filter, which compta_ppa_file_ids to fetch.
*/
where?: Prisma.compta_ppa_file_idWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of compta_ppa_file_ids to fetch.
*/
orderBy?: Prisma.compta_ppa_file_idOrderByWithRelationInput | Prisma.compta_ppa_file_idOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing compta_ppa_file_ids.
*/
cursor?: Prisma.compta_ppa_file_idWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` compta_ppa_file_ids 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_ppa_file_ids.
*/
skip?: number
distinct?: Prisma.Compta_ppa_file_idScalarFieldEnum | Prisma.Compta_ppa_file_idScalarFieldEnum[]
}
/**
* compta_ppa_file_id create
*/
export type compta_ppa_file_idCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the compta_ppa_file_id
*/
select?: Prisma.compta_ppa_file_idSelect<ExtArgs> | null
/**
* Omit specific fields from the compta_ppa_file_id
*/
omit?: Prisma.compta_ppa_file_idOmit<ExtArgs> | null
/**
* The data needed to create a compta_ppa_file_id.
*/
data?: Prisma.XOR<Prisma.compta_ppa_file_idCreateInput, Prisma.compta_ppa_file_idUncheckedCreateInput>
}
/**
* compta_ppa_file_id createMany
*/
export type compta_ppa_file_idCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many compta_ppa_file_ids.
*/
data: Prisma.compta_ppa_file_idCreateManyInput | Prisma.compta_ppa_file_idCreateManyInput[]
skipDuplicates?: boolean
}
/**
* compta_ppa_file_id update
*/
export type compta_ppa_file_idUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the compta_ppa_file_id
*/
select?: Prisma.compta_ppa_file_idSelect<ExtArgs> | null
/**
* Omit specific fields from the compta_ppa_file_id
*/
omit?: Prisma.compta_ppa_file_idOmit<ExtArgs> | null
/**
* The data needed to update a compta_ppa_file_id.
*/
data: Prisma.XOR<Prisma.compta_ppa_file_idUpdateInput, Prisma.compta_ppa_file_idUncheckedUpdateInput>
/**
* Choose, which compta_ppa_file_id to update.
*/
where: Prisma.compta_ppa_file_idWhereUniqueInput
}
/**
* compta_ppa_file_id updateMany
*/
export type compta_ppa_file_idUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update compta_ppa_file_ids.
*/
data: Prisma.XOR<Prisma.compta_ppa_file_idUpdateManyMutationInput, Prisma.compta_ppa_file_idUncheckedUpdateManyInput>
/**
* Filter which compta_ppa_file_ids to update
*/
where?: Prisma.compta_ppa_file_idWhereInput
/**
* Limit how many compta_ppa_file_ids to update.
*/
limit?: number
}
/**
* compta_ppa_file_id upsert
*/
export type compta_ppa_file_idUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the compta_ppa_file_id
*/
select?: Prisma.compta_ppa_file_idSelect<ExtArgs> | null
/**
* Omit specific fields from the compta_ppa_file_id
*/
omit?: Prisma.compta_ppa_file_idOmit<ExtArgs> | null
/**
* The filter to search for the compta_ppa_file_id to update in case it exists.
*/
where: Prisma.compta_ppa_file_idWhereUniqueInput
/**
* In case the compta_ppa_file_id found by the `where` argument doesn't exist, create a new compta_ppa_file_id with this data.
*/
create: Prisma.XOR<Prisma.compta_ppa_file_idCreateInput, Prisma.compta_ppa_file_idUncheckedCreateInput>
/**
* In case the compta_ppa_file_id was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.compta_ppa_file_idUpdateInput, Prisma.compta_ppa_file_idUncheckedUpdateInput>
}
/**
* compta_ppa_file_id delete
*/
export type compta_ppa_file_idDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the compta_ppa_file_id
*/
select?: Prisma.compta_ppa_file_idSelect<ExtArgs> | null
/**
* Omit specific fields from the compta_ppa_file_id
*/
omit?: Prisma.compta_ppa_file_idOmit<ExtArgs> | null
/**
* Filter which compta_ppa_file_id to delete.
*/
where: Prisma.compta_ppa_file_idWhereUniqueInput
}
/**
* compta_ppa_file_id deleteMany
*/
export type compta_ppa_file_idDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which compta_ppa_file_ids to delete
*/
where?: Prisma.compta_ppa_file_idWhereInput
/**
* Limit how many compta_ppa_file_ids to delete.
*/
limit?: number
}
/**
* compta_ppa_file_id without action
*/
export type compta_ppa_file_idDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the compta_ppa_file_id
*/
select?: Prisma.compta_ppa_file_idSelect<ExtArgs> | null
/**
* Omit specific fields from the compta_ppa_file_id
*/
omit?: Prisma.compta_ppa_file_idOmit<ExtArgs> | null
}