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

1080 lines
41 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 `conso_radius_monthly2` 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 conso_radius_monthly2
*
*/
export type conso_radius_monthly2Model = runtime.Types.Result.DefaultSelection<Prisma.$conso_radius_monthly2Payload>
export type AggregateConso_radius_monthly2 = {
_count: Conso_radius_monthly2CountAggregateOutputType | null
_avg: Conso_radius_monthly2AvgAggregateOutputType | null
_sum: Conso_radius_monthly2SumAggregateOutputType | null
_min: Conso_radius_monthly2MinAggregateOutputType | null
_max: Conso_radius_monthly2MaxAggregateOutputType | null
}
export type Conso_radius_monthly2AvgAggregateOutputType = {
id: number | null
}
export type Conso_radius_monthly2SumAggregateOutputType = {
id: number | null
}
export type Conso_radius_monthly2MinAggregateOutputType = {
id: number | null
date: string | null
username: string | null
nuit: string | null
jour: string | null
}
export type Conso_radius_monthly2MaxAggregateOutputType = {
id: number | null
date: string | null
username: string | null
nuit: string | null
jour: string | null
}
export type Conso_radius_monthly2CountAggregateOutputType = {
id: number
date: number
username: number
nuit: number
jour: number
_all: number
}
export type Conso_radius_monthly2AvgAggregateInputType = {
id?: true
}
export type Conso_radius_monthly2SumAggregateInputType = {
id?: true
}
export type Conso_radius_monthly2MinAggregateInputType = {
id?: true
date?: true
username?: true
nuit?: true
jour?: true
}
export type Conso_radius_monthly2MaxAggregateInputType = {
id?: true
date?: true
username?: true
nuit?: true
jour?: true
}
export type Conso_radius_monthly2CountAggregateInputType = {
id?: true
date?: true
username?: true
nuit?: true
jour?: true
_all?: true
}
export type Conso_radius_monthly2AggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which conso_radius_monthly2 to aggregate.
*/
where?: Prisma.conso_radius_monthly2WhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of conso_radius_monthly2s to fetch.
*/
orderBy?: Prisma.conso_radius_monthly2OrderByWithRelationInput | Prisma.conso_radius_monthly2OrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.conso_radius_monthly2WhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` conso_radius_monthly2s 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` conso_radius_monthly2s.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned conso_radius_monthly2s
**/
_count?: true | Conso_radius_monthly2CountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Conso_radius_monthly2AvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Conso_radius_monthly2SumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Conso_radius_monthly2MinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Conso_radius_monthly2MaxAggregateInputType
}
export type GetConso_radius_monthly2AggregateType<T extends Conso_radius_monthly2AggregateArgs> = {
[P in keyof T & keyof AggregateConso_radius_monthly2]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateConso_radius_monthly2[P]>
: Prisma.GetScalarType<T[P], AggregateConso_radius_monthly2[P]>
}
export type conso_radius_monthly2GroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.conso_radius_monthly2WhereInput
orderBy?: Prisma.conso_radius_monthly2OrderByWithAggregationInput | Prisma.conso_radius_monthly2OrderByWithAggregationInput[]
by: Prisma.Conso_radius_monthly2ScalarFieldEnum[] | Prisma.Conso_radius_monthly2ScalarFieldEnum
having?: Prisma.conso_radius_monthly2ScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Conso_radius_monthly2CountAggregateInputType | true
_avg?: Conso_radius_monthly2AvgAggregateInputType
_sum?: Conso_radius_monthly2SumAggregateInputType
_min?: Conso_radius_monthly2MinAggregateInputType
_max?: Conso_radius_monthly2MaxAggregateInputType
}
export type Conso_radius_monthly2GroupByOutputType = {
id: number
date: string
username: string
nuit: string
jour: string
_count: Conso_radius_monthly2CountAggregateOutputType | null
_avg: Conso_radius_monthly2AvgAggregateOutputType | null
_sum: Conso_radius_monthly2SumAggregateOutputType | null
_min: Conso_radius_monthly2MinAggregateOutputType | null
_max: Conso_radius_monthly2MaxAggregateOutputType | null
}
type GetConso_radius_monthly2GroupByPayload<T extends conso_radius_monthly2GroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Conso_radius_monthly2GroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Conso_radius_monthly2GroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Conso_radius_monthly2GroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Conso_radius_monthly2GroupByOutputType[P]>
}
>
>
export type conso_radius_monthly2WhereInput = {
AND?: Prisma.conso_radius_monthly2WhereInput | Prisma.conso_radius_monthly2WhereInput[]
OR?: Prisma.conso_radius_monthly2WhereInput[]
NOT?: Prisma.conso_radius_monthly2WhereInput | Prisma.conso_radius_monthly2WhereInput[]
id?: Prisma.IntFilter<"conso_radius_monthly2"> | number
date?: Prisma.StringFilter<"conso_radius_monthly2"> | string
username?: Prisma.StringFilter<"conso_radius_monthly2"> | string
nuit?: Prisma.StringFilter<"conso_radius_monthly2"> | string
jour?: Prisma.StringFilter<"conso_radius_monthly2"> | string
}
export type conso_radius_monthly2OrderByWithRelationInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
username?: Prisma.SortOrder
nuit?: Prisma.SortOrder
jour?: Prisma.SortOrder
_relevance?: Prisma.conso_radius_monthly2OrderByRelevanceInput
}
export type conso_radius_monthly2WhereUniqueInput = Prisma.AtLeast<{
id?: number
AND?: Prisma.conso_radius_monthly2WhereInput | Prisma.conso_radius_monthly2WhereInput[]
OR?: Prisma.conso_radius_monthly2WhereInput[]
NOT?: Prisma.conso_radius_monthly2WhereInput | Prisma.conso_radius_monthly2WhereInput[]
date?: Prisma.StringFilter<"conso_radius_monthly2"> | string
username?: Prisma.StringFilter<"conso_radius_monthly2"> | string
nuit?: Prisma.StringFilter<"conso_radius_monthly2"> | string
jour?: Prisma.StringFilter<"conso_radius_monthly2"> | string
}, "id">
export type conso_radius_monthly2OrderByWithAggregationInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
username?: Prisma.SortOrder
nuit?: Prisma.SortOrder
jour?: Prisma.SortOrder
_count?: Prisma.conso_radius_monthly2CountOrderByAggregateInput
_avg?: Prisma.conso_radius_monthly2AvgOrderByAggregateInput
_max?: Prisma.conso_radius_monthly2MaxOrderByAggregateInput
_min?: Prisma.conso_radius_monthly2MinOrderByAggregateInput
_sum?: Prisma.conso_radius_monthly2SumOrderByAggregateInput
}
export type conso_radius_monthly2ScalarWhereWithAggregatesInput = {
AND?: Prisma.conso_radius_monthly2ScalarWhereWithAggregatesInput | Prisma.conso_radius_monthly2ScalarWhereWithAggregatesInput[]
OR?: Prisma.conso_radius_monthly2ScalarWhereWithAggregatesInput[]
NOT?: Prisma.conso_radius_monthly2ScalarWhereWithAggregatesInput | Prisma.conso_radius_monthly2ScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"conso_radius_monthly2"> | number
date?: Prisma.StringWithAggregatesFilter<"conso_radius_monthly2"> | string
username?: Prisma.StringWithAggregatesFilter<"conso_radius_monthly2"> | string
nuit?: Prisma.StringWithAggregatesFilter<"conso_radius_monthly2"> | string
jour?: Prisma.StringWithAggregatesFilter<"conso_radius_monthly2"> | string
}
export type conso_radius_monthly2CreateInput = {
date: string
username: string
nuit?: string
jour?: string
}
export type conso_radius_monthly2UncheckedCreateInput = {
id?: number
date: string
username: string
nuit?: string
jour?: string
}
export type conso_radius_monthly2UpdateInput = {
date?: Prisma.StringFieldUpdateOperationsInput | string
username?: Prisma.StringFieldUpdateOperationsInput | string
nuit?: Prisma.StringFieldUpdateOperationsInput | string
jour?: Prisma.StringFieldUpdateOperationsInput | string
}
export type conso_radius_monthly2UncheckedUpdateInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
date?: Prisma.StringFieldUpdateOperationsInput | string
username?: Prisma.StringFieldUpdateOperationsInput | string
nuit?: Prisma.StringFieldUpdateOperationsInput | string
jour?: Prisma.StringFieldUpdateOperationsInput | string
}
export type conso_radius_monthly2CreateManyInput = {
id?: number
date: string
username: string
nuit?: string
jour?: string
}
export type conso_radius_monthly2UpdateManyMutationInput = {
date?: Prisma.StringFieldUpdateOperationsInput | string
username?: Prisma.StringFieldUpdateOperationsInput | string
nuit?: Prisma.StringFieldUpdateOperationsInput | string
jour?: Prisma.StringFieldUpdateOperationsInput | string
}
export type conso_radius_monthly2UncheckedUpdateManyInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
date?: Prisma.StringFieldUpdateOperationsInput | string
username?: Prisma.StringFieldUpdateOperationsInput | string
nuit?: Prisma.StringFieldUpdateOperationsInput | string
jour?: Prisma.StringFieldUpdateOperationsInput | string
}
export type conso_radius_monthly2OrderByRelevanceInput = {
fields: Prisma.conso_radius_monthly2OrderByRelevanceFieldEnum | Prisma.conso_radius_monthly2OrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type conso_radius_monthly2CountOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
username?: Prisma.SortOrder
nuit?: Prisma.SortOrder
jour?: Prisma.SortOrder
}
export type conso_radius_monthly2AvgOrderByAggregateInput = {
id?: Prisma.SortOrder
}
export type conso_radius_monthly2MaxOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
username?: Prisma.SortOrder
nuit?: Prisma.SortOrder
jour?: Prisma.SortOrder
}
export type conso_radius_monthly2MinOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
username?: Prisma.SortOrder
nuit?: Prisma.SortOrder
jour?: Prisma.SortOrder
}
export type conso_radius_monthly2SumOrderByAggregateInput = {
id?: Prisma.SortOrder
}
export type conso_radius_monthly2Select<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
date?: boolean
username?: boolean
nuit?: boolean
jour?: boolean
}, ExtArgs["result"]["conso_radius_monthly2"]>
export type conso_radius_monthly2SelectScalar = {
id?: boolean
date?: boolean
username?: boolean
nuit?: boolean
jour?: boolean
}
export type conso_radius_monthly2Omit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "date" | "username" | "nuit" | "jour", ExtArgs["result"]["conso_radius_monthly2"]>
export type $conso_radius_monthly2Payload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "conso_radius_monthly2"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: number
date: string
username: string
nuit: string
jour: string
}, ExtArgs["result"]["conso_radius_monthly2"]>
composites: {}
}
export type conso_radius_monthly2GetPayload<S extends boolean | null | undefined | conso_radius_monthly2DefaultArgs> = runtime.Types.Result.GetResult<Prisma.$conso_radius_monthly2Payload, S>
export type conso_radius_monthly2CountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<conso_radius_monthly2FindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Conso_radius_monthly2CountAggregateInputType | true
}
export interface conso_radius_monthly2Delegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['conso_radius_monthly2'], meta: { name: 'conso_radius_monthly2' } }
/**
* Find zero or one Conso_radius_monthly2 that matches the filter.
* @param {conso_radius_monthly2FindUniqueArgs} args - Arguments to find a Conso_radius_monthly2
* @example
* // Get one Conso_radius_monthly2
* const conso_radius_monthly2 = await prisma.conso_radius_monthly2.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends conso_radius_monthly2FindUniqueArgs>(args: Prisma.SelectSubset<T, conso_radius_monthly2FindUniqueArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthly2Client<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthly2Payload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Conso_radius_monthly2 that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {conso_radius_monthly2FindUniqueOrThrowArgs} args - Arguments to find a Conso_radius_monthly2
* @example
* // Get one Conso_radius_monthly2
* const conso_radius_monthly2 = await prisma.conso_radius_monthly2.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends conso_radius_monthly2FindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, conso_radius_monthly2FindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthly2Client<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthly2Payload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Conso_radius_monthly2 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 {conso_radius_monthly2FindFirstArgs} args - Arguments to find a Conso_radius_monthly2
* @example
* // Get one Conso_radius_monthly2
* const conso_radius_monthly2 = await prisma.conso_radius_monthly2.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends conso_radius_monthly2FindFirstArgs>(args?: Prisma.SelectSubset<T, conso_radius_monthly2FindFirstArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthly2Client<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthly2Payload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Conso_radius_monthly2 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 {conso_radius_monthly2FindFirstOrThrowArgs} args - Arguments to find a Conso_radius_monthly2
* @example
* // Get one Conso_radius_monthly2
* const conso_radius_monthly2 = await prisma.conso_radius_monthly2.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends conso_radius_monthly2FindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, conso_radius_monthly2FindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthly2Client<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthly2Payload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Conso_radius_monthly2s 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 {conso_radius_monthly2FindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Conso_radius_monthly2s
* const conso_radius_monthly2s = await prisma.conso_radius_monthly2.findMany()
*
* // Get first 10 Conso_radius_monthly2s
* const conso_radius_monthly2s = await prisma.conso_radius_monthly2.findMany({ take: 10 })
*
* // Only select the `id`
* const conso_radius_monthly2WithIdOnly = await prisma.conso_radius_monthly2.findMany({ select: { id: true } })
*
*/
findMany<T extends conso_radius_monthly2FindManyArgs>(args?: Prisma.SelectSubset<T, conso_radius_monthly2FindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthly2Payload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Conso_radius_monthly2.
* @param {conso_radius_monthly2CreateArgs} args - Arguments to create a Conso_radius_monthly2.
* @example
* // Create one Conso_radius_monthly2
* const Conso_radius_monthly2 = await prisma.conso_radius_monthly2.create({
* data: {
* // ... data to create a Conso_radius_monthly2
* }
* })
*
*/
create<T extends conso_radius_monthly2CreateArgs>(args: Prisma.SelectSubset<T, conso_radius_monthly2CreateArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthly2Client<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthly2Payload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Conso_radius_monthly2s.
* @param {conso_radius_monthly2CreateManyArgs} args - Arguments to create many Conso_radius_monthly2s.
* @example
* // Create many Conso_radius_monthly2s
* const conso_radius_monthly2 = await prisma.conso_radius_monthly2.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends conso_radius_monthly2CreateManyArgs>(args?: Prisma.SelectSubset<T, conso_radius_monthly2CreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Conso_radius_monthly2.
* @param {conso_radius_monthly2DeleteArgs} args - Arguments to delete one Conso_radius_monthly2.
* @example
* // Delete one Conso_radius_monthly2
* const Conso_radius_monthly2 = await prisma.conso_radius_monthly2.delete({
* where: {
* // ... filter to delete one Conso_radius_monthly2
* }
* })
*
*/
delete<T extends conso_radius_monthly2DeleteArgs>(args: Prisma.SelectSubset<T, conso_radius_monthly2DeleteArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthly2Client<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthly2Payload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Conso_radius_monthly2.
* @param {conso_radius_monthly2UpdateArgs} args - Arguments to update one Conso_radius_monthly2.
* @example
* // Update one Conso_radius_monthly2
* const conso_radius_monthly2 = await prisma.conso_radius_monthly2.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends conso_radius_monthly2UpdateArgs>(args: Prisma.SelectSubset<T, conso_radius_monthly2UpdateArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthly2Client<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthly2Payload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Conso_radius_monthly2s.
* @param {conso_radius_monthly2DeleteManyArgs} args - Arguments to filter Conso_radius_monthly2s to delete.
* @example
* // Delete a few Conso_radius_monthly2s
* const { count } = await prisma.conso_radius_monthly2.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends conso_radius_monthly2DeleteManyArgs>(args?: Prisma.SelectSubset<T, conso_radius_monthly2DeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Conso_radius_monthly2s.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {conso_radius_monthly2UpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Conso_radius_monthly2s
* const conso_radius_monthly2 = await prisma.conso_radius_monthly2.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends conso_radius_monthly2UpdateManyArgs>(args: Prisma.SelectSubset<T, conso_radius_monthly2UpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Conso_radius_monthly2.
* @param {conso_radius_monthly2UpsertArgs} args - Arguments to update or create a Conso_radius_monthly2.
* @example
* // Update or create a Conso_radius_monthly2
* const conso_radius_monthly2 = await prisma.conso_radius_monthly2.upsert({
* create: {
* // ... data to create a Conso_radius_monthly2
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Conso_radius_monthly2 we want to update
* }
* })
*/
upsert<T extends conso_radius_monthly2UpsertArgs>(args: Prisma.SelectSubset<T, conso_radius_monthly2UpsertArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthly2Client<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthly2Payload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Conso_radius_monthly2s.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {conso_radius_monthly2CountArgs} args - Arguments to filter Conso_radius_monthly2s to count.
* @example
* // Count the number of Conso_radius_monthly2s
* const count = await prisma.conso_radius_monthly2.count({
* where: {
* // ... the filter for the Conso_radius_monthly2s we want to count
* }
* })
**/
count<T extends conso_radius_monthly2CountArgs>(
args?: Prisma.Subset<T, conso_radius_monthly2CountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Conso_radius_monthly2CountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Conso_radius_monthly2.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Conso_radius_monthly2AggregateArgs} 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 Conso_radius_monthly2AggregateArgs>(args: Prisma.Subset<T, Conso_radius_monthly2AggregateArgs>): Prisma.PrismaPromise<GetConso_radius_monthly2AggregateType<T>>
/**
* Group by Conso_radius_monthly2.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {conso_radius_monthly2GroupByArgs} 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 conso_radius_monthly2GroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: conso_radius_monthly2GroupByArgs['orderBy'] }
: { orderBy?: conso_radius_monthly2GroupByArgs['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, conso_radius_monthly2GroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetConso_radius_monthly2GroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the conso_radius_monthly2 model
*/
readonly fields: conso_radius_monthly2FieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for conso_radius_monthly2.
* 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__conso_radius_monthly2Client<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 conso_radius_monthly2 model
*/
export interface conso_radius_monthly2FieldRefs {
readonly id: Prisma.FieldRef<"conso_radius_monthly2", 'Int'>
readonly date: Prisma.FieldRef<"conso_radius_monthly2", 'String'>
readonly username: Prisma.FieldRef<"conso_radius_monthly2", 'String'>
readonly nuit: Prisma.FieldRef<"conso_radius_monthly2", 'String'>
readonly jour: Prisma.FieldRef<"conso_radius_monthly2", 'String'>
}
// Custom InputTypes
/**
* conso_radius_monthly2 findUnique
*/
export type conso_radius_monthly2FindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly2
*/
select?: Prisma.conso_radius_monthly2Select<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly2
*/
omit?: Prisma.conso_radius_monthly2Omit<ExtArgs> | null
/**
* Filter, which conso_radius_monthly2 to fetch.
*/
where: Prisma.conso_radius_monthly2WhereUniqueInput
}
/**
* conso_radius_monthly2 findUniqueOrThrow
*/
export type conso_radius_monthly2FindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly2
*/
select?: Prisma.conso_radius_monthly2Select<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly2
*/
omit?: Prisma.conso_radius_monthly2Omit<ExtArgs> | null
/**
* Filter, which conso_radius_monthly2 to fetch.
*/
where: Prisma.conso_radius_monthly2WhereUniqueInput
}
/**
* conso_radius_monthly2 findFirst
*/
export type conso_radius_monthly2FindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly2
*/
select?: Prisma.conso_radius_monthly2Select<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly2
*/
omit?: Prisma.conso_radius_monthly2Omit<ExtArgs> | null
/**
* Filter, which conso_radius_monthly2 to fetch.
*/
where?: Prisma.conso_radius_monthly2WhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of conso_radius_monthly2s to fetch.
*/
orderBy?: Prisma.conso_radius_monthly2OrderByWithRelationInput | Prisma.conso_radius_monthly2OrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for conso_radius_monthly2s.
*/
cursor?: Prisma.conso_radius_monthly2WhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` conso_radius_monthly2s 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` conso_radius_monthly2s.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of conso_radius_monthly2s.
*/
distinct?: Prisma.Conso_radius_monthly2ScalarFieldEnum | Prisma.Conso_radius_monthly2ScalarFieldEnum[]
}
/**
* conso_radius_monthly2 findFirstOrThrow
*/
export type conso_radius_monthly2FindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly2
*/
select?: Prisma.conso_radius_monthly2Select<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly2
*/
omit?: Prisma.conso_radius_monthly2Omit<ExtArgs> | null
/**
* Filter, which conso_radius_monthly2 to fetch.
*/
where?: Prisma.conso_radius_monthly2WhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of conso_radius_monthly2s to fetch.
*/
orderBy?: Prisma.conso_radius_monthly2OrderByWithRelationInput | Prisma.conso_radius_monthly2OrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for conso_radius_monthly2s.
*/
cursor?: Prisma.conso_radius_monthly2WhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` conso_radius_monthly2s 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` conso_radius_monthly2s.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of conso_radius_monthly2s.
*/
distinct?: Prisma.Conso_radius_monthly2ScalarFieldEnum | Prisma.Conso_radius_monthly2ScalarFieldEnum[]
}
/**
* conso_radius_monthly2 findMany
*/
export type conso_radius_monthly2FindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly2
*/
select?: Prisma.conso_radius_monthly2Select<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly2
*/
omit?: Prisma.conso_radius_monthly2Omit<ExtArgs> | null
/**
* Filter, which conso_radius_monthly2s to fetch.
*/
where?: Prisma.conso_radius_monthly2WhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of conso_radius_monthly2s to fetch.
*/
orderBy?: Prisma.conso_radius_monthly2OrderByWithRelationInput | Prisma.conso_radius_monthly2OrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing conso_radius_monthly2s.
*/
cursor?: Prisma.conso_radius_monthly2WhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` conso_radius_monthly2s 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` conso_radius_monthly2s.
*/
skip?: number
distinct?: Prisma.Conso_radius_monthly2ScalarFieldEnum | Prisma.Conso_radius_monthly2ScalarFieldEnum[]
}
/**
* conso_radius_monthly2 create
*/
export type conso_radius_monthly2CreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly2
*/
select?: Prisma.conso_radius_monthly2Select<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly2
*/
omit?: Prisma.conso_radius_monthly2Omit<ExtArgs> | null
/**
* The data needed to create a conso_radius_monthly2.
*/
data: Prisma.XOR<Prisma.conso_radius_monthly2CreateInput, Prisma.conso_radius_monthly2UncheckedCreateInput>
}
/**
* conso_radius_monthly2 createMany
*/
export type conso_radius_monthly2CreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many conso_radius_monthly2s.
*/
data: Prisma.conso_radius_monthly2CreateManyInput | Prisma.conso_radius_monthly2CreateManyInput[]
skipDuplicates?: boolean
}
/**
* conso_radius_monthly2 update
*/
export type conso_radius_monthly2UpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly2
*/
select?: Prisma.conso_radius_monthly2Select<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly2
*/
omit?: Prisma.conso_radius_monthly2Omit<ExtArgs> | null
/**
* The data needed to update a conso_radius_monthly2.
*/
data: Prisma.XOR<Prisma.conso_radius_monthly2UpdateInput, Prisma.conso_radius_monthly2UncheckedUpdateInput>
/**
* Choose, which conso_radius_monthly2 to update.
*/
where: Prisma.conso_radius_monthly2WhereUniqueInput
}
/**
* conso_radius_monthly2 updateMany
*/
export type conso_radius_monthly2UpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update conso_radius_monthly2s.
*/
data: Prisma.XOR<Prisma.conso_radius_monthly2UpdateManyMutationInput, Prisma.conso_radius_monthly2UncheckedUpdateManyInput>
/**
* Filter which conso_radius_monthly2s to update
*/
where?: Prisma.conso_radius_monthly2WhereInput
/**
* Limit how many conso_radius_monthly2s to update.
*/
limit?: number
}
/**
* conso_radius_monthly2 upsert
*/
export type conso_radius_monthly2UpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly2
*/
select?: Prisma.conso_radius_monthly2Select<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly2
*/
omit?: Prisma.conso_radius_monthly2Omit<ExtArgs> | null
/**
* The filter to search for the conso_radius_monthly2 to update in case it exists.
*/
where: Prisma.conso_radius_monthly2WhereUniqueInput
/**
* In case the conso_radius_monthly2 found by the `where` argument doesn't exist, create a new conso_radius_monthly2 with this data.
*/
create: Prisma.XOR<Prisma.conso_radius_monthly2CreateInput, Prisma.conso_radius_monthly2UncheckedCreateInput>
/**
* In case the conso_radius_monthly2 was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.conso_radius_monthly2UpdateInput, Prisma.conso_radius_monthly2UncheckedUpdateInput>
}
/**
* conso_radius_monthly2 delete
*/
export type conso_radius_monthly2DeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly2
*/
select?: Prisma.conso_radius_monthly2Select<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly2
*/
omit?: Prisma.conso_radius_monthly2Omit<ExtArgs> | null
/**
* Filter which conso_radius_monthly2 to delete.
*/
where: Prisma.conso_radius_monthly2WhereUniqueInput
}
/**
* conso_radius_monthly2 deleteMany
*/
export type conso_radius_monthly2DeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which conso_radius_monthly2s to delete
*/
where?: Prisma.conso_radius_monthly2WhereInput
/**
* Limit how many conso_radius_monthly2s to delete.
*/
limit?: number
}
/**
* conso_radius_monthly2 without action
*/
export type conso_radius_monthly2DefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly2
*/
select?: Prisma.conso_radius_monthly2Select<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly2
*/
omit?: Prisma.conso_radius_monthly2Omit<ExtArgs> | null
}