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

1080 lines
40 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_monthly` 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_monthly
*
*/
export type conso_radius_monthlyModel = runtime.Types.Result.DefaultSelection<Prisma.$conso_radius_monthlyPayload>
export type AggregateConso_radius_monthly = {
_count: Conso_radius_monthlyCountAggregateOutputType | null
_avg: Conso_radius_monthlyAvgAggregateOutputType | null
_sum: Conso_radius_monthlySumAggregateOutputType | null
_min: Conso_radius_monthlyMinAggregateOutputType | null
_max: Conso_radius_monthlyMaxAggregateOutputType | null
}
export type Conso_radius_monthlyAvgAggregateOutputType = {
id: number | null
}
export type Conso_radius_monthlySumAggregateOutputType = {
id: number | null
}
export type Conso_radius_monthlyMinAggregateOutputType = {
id: number | null
date: string | null
username: string | null
nuit: string | null
jour: string | null
}
export type Conso_radius_monthlyMaxAggregateOutputType = {
id: number | null
date: string | null
username: string | null
nuit: string | null
jour: string | null
}
export type Conso_radius_monthlyCountAggregateOutputType = {
id: number
date: number
username: number
nuit: number
jour: number
_all: number
}
export type Conso_radius_monthlyAvgAggregateInputType = {
id?: true
}
export type Conso_radius_monthlySumAggregateInputType = {
id?: true
}
export type Conso_radius_monthlyMinAggregateInputType = {
id?: true
date?: true
username?: true
nuit?: true
jour?: true
}
export type Conso_radius_monthlyMaxAggregateInputType = {
id?: true
date?: true
username?: true
nuit?: true
jour?: true
}
export type Conso_radius_monthlyCountAggregateInputType = {
id?: true
date?: true
username?: true
nuit?: true
jour?: true
_all?: true
}
export type Conso_radius_monthlyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which conso_radius_monthly to aggregate.
*/
where?: Prisma.conso_radius_monthlyWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of conso_radius_monthlies to fetch.
*/
orderBy?: Prisma.conso_radius_monthlyOrderByWithRelationInput | Prisma.conso_radius_monthlyOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.conso_radius_monthlyWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` conso_radius_monthlies 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_monthlies.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned conso_radius_monthlies
**/
_count?: true | Conso_radius_monthlyCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Conso_radius_monthlyAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Conso_radius_monthlySumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Conso_radius_monthlyMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Conso_radius_monthlyMaxAggregateInputType
}
export type GetConso_radius_monthlyAggregateType<T extends Conso_radius_monthlyAggregateArgs> = {
[P in keyof T & keyof AggregateConso_radius_monthly]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateConso_radius_monthly[P]>
: Prisma.GetScalarType<T[P], AggregateConso_radius_monthly[P]>
}
export type conso_radius_monthlyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.conso_radius_monthlyWhereInput
orderBy?: Prisma.conso_radius_monthlyOrderByWithAggregationInput | Prisma.conso_radius_monthlyOrderByWithAggregationInput[]
by: Prisma.Conso_radius_monthlyScalarFieldEnum[] | Prisma.Conso_radius_monthlyScalarFieldEnum
having?: Prisma.conso_radius_monthlyScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Conso_radius_monthlyCountAggregateInputType | true
_avg?: Conso_radius_monthlyAvgAggregateInputType
_sum?: Conso_radius_monthlySumAggregateInputType
_min?: Conso_radius_monthlyMinAggregateInputType
_max?: Conso_radius_monthlyMaxAggregateInputType
}
export type Conso_radius_monthlyGroupByOutputType = {
id: number
date: string
username: string
nuit: string
jour: string
_count: Conso_radius_monthlyCountAggregateOutputType | null
_avg: Conso_radius_monthlyAvgAggregateOutputType | null
_sum: Conso_radius_monthlySumAggregateOutputType | null
_min: Conso_radius_monthlyMinAggregateOutputType | null
_max: Conso_radius_monthlyMaxAggregateOutputType | null
}
type GetConso_radius_monthlyGroupByPayload<T extends conso_radius_monthlyGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Conso_radius_monthlyGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Conso_radius_monthlyGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Conso_radius_monthlyGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Conso_radius_monthlyGroupByOutputType[P]>
}
>
>
export type conso_radius_monthlyWhereInput = {
AND?: Prisma.conso_radius_monthlyWhereInput | Prisma.conso_radius_monthlyWhereInput[]
OR?: Prisma.conso_radius_monthlyWhereInput[]
NOT?: Prisma.conso_radius_monthlyWhereInput | Prisma.conso_radius_monthlyWhereInput[]
id?: Prisma.IntFilter<"conso_radius_monthly"> | number
date?: Prisma.StringFilter<"conso_radius_monthly"> | string
username?: Prisma.StringFilter<"conso_radius_monthly"> | string
nuit?: Prisma.StringFilter<"conso_radius_monthly"> | string
jour?: Prisma.StringFilter<"conso_radius_monthly"> | string
}
export type conso_radius_monthlyOrderByWithRelationInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
username?: Prisma.SortOrder
nuit?: Prisma.SortOrder
jour?: Prisma.SortOrder
_relevance?: Prisma.conso_radius_monthlyOrderByRelevanceInput
}
export type conso_radius_monthlyWhereUniqueInput = Prisma.AtLeast<{
id?: number
AND?: Prisma.conso_radius_monthlyWhereInput | Prisma.conso_radius_monthlyWhereInput[]
OR?: Prisma.conso_radius_monthlyWhereInput[]
NOT?: Prisma.conso_radius_monthlyWhereInput | Prisma.conso_radius_monthlyWhereInput[]
date?: Prisma.StringFilter<"conso_radius_monthly"> | string
username?: Prisma.StringFilter<"conso_radius_monthly"> | string
nuit?: Prisma.StringFilter<"conso_radius_monthly"> | string
jour?: Prisma.StringFilter<"conso_radius_monthly"> | string
}, "id">
export type conso_radius_monthlyOrderByWithAggregationInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
username?: Prisma.SortOrder
nuit?: Prisma.SortOrder
jour?: Prisma.SortOrder
_count?: Prisma.conso_radius_monthlyCountOrderByAggregateInput
_avg?: Prisma.conso_radius_monthlyAvgOrderByAggregateInput
_max?: Prisma.conso_radius_monthlyMaxOrderByAggregateInput
_min?: Prisma.conso_radius_monthlyMinOrderByAggregateInput
_sum?: Prisma.conso_radius_monthlySumOrderByAggregateInput
}
export type conso_radius_monthlyScalarWhereWithAggregatesInput = {
AND?: Prisma.conso_radius_monthlyScalarWhereWithAggregatesInput | Prisma.conso_radius_monthlyScalarWhereWithAggregatesInput[]
OR?: Prisma.conso_radius_monthlyScalarWhereWithAggregatesInput[]
NOT?: Prisma.conso_radius_monthlyScalarWhereWithAggregatesInput | Prisma.conso_radius_monthlyScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"conso_radius_monthly"> | number
date?: Prisma.StringWithAggregatesFilter<"conso_radius_monthly"> | string
username?: Prisma.StringWithAggregatesFilter<"conso_radius_monthly"> | string
nuit?: Prisma.StringWithAggregatesFilter<"conso_radius_monthly"> | string
jour?: Prisma.StringWithAggregatesFilter<"conso_radius_monthly"> | string
}
export type conso_radius_monthlyCreateInput = {
date: string
username: string
nuit: string
jour: string
}
export type conso_radius_monthlyUncheckedCreateInput = {
id?: number
date: string
username: string
nuit: string
jour: string
}
export type conso_radius_monthlyUpdateInput = {
date?: Prisma.StringFieldUpdateOperationsInput | string
username?: Prisma.StringFieldUpdateOperationsInput | string
nuit?: Prisma.StringFieldUpdateOperationsInput | string
jour?: Prisma.StringFieldUpdateOperationsInput | string
}
export type conso_radius_monthlyUncheckedUpdateInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
date?: Prisma.StringFieldUpdateOperationsInput | string
username?: Prisma.StringFieldUpdateOperationsInput | string
nuit?: Prisma.StringFieldUpdateOperationsInput | string
jour?: Prisma.StringFieldUpdateOperationsInput | string
}
export type conso_radius_monthlyCreateManyInput = {
id?: number
date: string
username: string
nuit: string
jour: string
}
export type conso_radius_monthlyUpdateManyMutationInput = {
date?: Prisma.StringFieldUpdateOperationsInput | string
username?: Prisma.StringFieldUpdateOperationsInput | string
nuit?: Prisma.StringFieldUpdateOperationsInput | string
jour?: Prisma.StringFieldUpdateOperationsInput | string
}
export type conso_radius_monthlyUncheckedUpdateManyInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
date?: Prisma.StringFieldUpdateOperationsInput | string
username?: Prisma.StringFieldUpdateOperationsInput | string
nuit?: Prisma.StringFieldUpdateOperationsInput | string
jour?: Prisma.StringFieldUpdateOperationsInput | string
}
export type conso_radius_monthlyOrderByRelevanceInput = {
fields: Prisma.conso_radius_monthlyOrderByRelevanceFieldEnum | Prisma.conso_radius_monthlyOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type conso_radius_monthlyCountOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
username?: Prisma.SortOrder
nuit?: Prisma.SortOrder
jour?: Prisma.SortOrder
}
export type conso_radius_monthlyAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
}
export type conso_radius_monthlyMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
username?: Prisma.SortOrder
nuit?: Prisma.SortOrder
jour?: Prisma.SortOrder
}
export type conso_radius_monthlyMinOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
username?: Prisma.SortOrder
nuit?: Prisma.SortOrder
jour?: Prisma.SortOrder
}
export type conso_radius_monthlySumOrderByAggregateInput = {
id?: Prisma.SortOrder
}
export type conso_radius_monthlySelect<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_monthly"]>
export type conso_radius_monthlySelectScalar = {
id?: boolean
date?: boolean
username?: boolean
nuit?: boolean
jour?: boolean
}
export type conso_radius_monthlyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "date" | "username" | "nuit" | "jour", ExtArgs["result"]["conso_radius_monthly"]>
export type $conso_radius_monthlyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "conso_radius_monthly"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: number
date: string
username: string
nuit: string
jour: string
}, ExtArgs["result"]["conso_radius_monthly"]>
composites: {}
}
export type conso_radius_monthlyGetPayload<S extends boolean | null | undefined | conso_radius_monthlyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$conso_radius_monthlyPayload, S>
export type conso_radius_monthlyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<conso_radius_monthlyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Conso_radius_monthlyCountAggregateInputType | true
}
export interface conso_radius_monthlyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['conso_radius_monthly'], meta: { name: 'conso_radius_monthly' } }
/**
* Find zero or one Conso_radius_monthly that matches the filter.
* @param {conso_radius_monthlyFindUniqueArgs} args - Arguments to find a Conso_radius_monthly
* @example
* // Get one Conso_radius_monthly
* const conso_radius_monthly = await prisma.conso_radius_monthly.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends conso_radius_monthlyFindUniqueArgs>(args: Prisma.SelectSubset<T, conso_radius_monthlyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthlyClient<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthlyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Conso_radius_monthly that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {conso_radius_monthlyFindUniqueOrThrowArgs} args - Arguments to find a Conso_radius_monthly
* @example
* // Get one Conso_radius_monthly
* const conso_radius_monthly = await prisma.conso_radius_monthly.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends conso_radius_monthlyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, conso_radius_monthlyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthlyClient<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthlyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Conso_radius_monthly 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_monthlyFindFirstArgs} args - Arguments to find a Conso_radius_monthly
* @example
* // Get one Conso_radius_monthly
* const conso_radius_monthly = await prisma.conso_radius_monthly.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends conso_radius_monthlyFindFirstArgs>(args?: Prisma.SelectSubset<T, conso_radius_monthlyFindFirstArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthlyClient<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthlyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Conso_radius_monthly 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_monthlyFindFirstOrThrowArgs} args - Arguments to find a Conso_radius_monthly
* @example
* // Get one Conso_radius_monthly
* const conso_radius_monthly = await prisma.conso_radius_monthly.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends conso_radius_monthlyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, conso_radius_monthlyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthlyClient<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthlyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Conso_radius_monthlies 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_monthlyFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Conso_radius_monthlies
* const conso_radius_monthlies = await prisma.conso_radius_monthly.findMany()
*
* // Get first 10 Conso_radius_monthlies
* const conso_radius_monthlies = await prisma.conso_radius_monthly.findMany({ take: 10 })
*
* // Only select the `id`
* const conso_radius_monthlyWithIdOnly = await prisma.conso_radius_monthly.findMany({ select: { id: true } })
*
*/
findMany<T extends conso_radius_monthlyFindManyArgs>(args?: Prisma.SelectSubset<T, conso_radius_monthlyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthlyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Conso_radius_monthly.
* @param {conso_radius_monthlyCreateArgs} args - Arguments to create a Conso_radius_monthly.
* @example
* // Create one Conso_radius_monthly
* const Conso_radius_monthly = await prisma.conso_radius_monthly.create({
* data: {
* // ... data to create a Conso_radius_monthly
* }
* })
*
*/
create<T extends conso_radius_monthlyCreateArgs>(args: Prisma.SelectSubset<T, conso_radius_monthlyCreateArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthlyClient<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthlyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Conso_radius_monthlies.
* @param {conso_radius_monthlyCreateManyArgs} args - Arguments to create many Conso_radius_monthlies.
* @example
* // Create many Conso_radius_monthlies
* const conso_radius_monthly = await prisma.conso_radius_monthly.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends conso_radius_monthlyCreateManyArgs>(args?: Prisma.SelectSubset<T, conso_radius_monthlyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Conso_radius_monthly.
* @param {conso_radius_monthlyDeleteArgs} args - Arguments to delete one Conso_radius_monthly.
* @example
* // Delete one Conso_radius_monthly
* const Conso_radius_monthly = await prisma.conso_radius_monthly.delete({
* where: {
* // ... filter to delete one Conso_radius_monthly
* }
* })
*
*/
delete<T extends conso_radius_monthlyDeleteArgs>(args: Prisma.SelectSubset<T, conso_radius_monthlyDeleteArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthlyClient<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthlyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Conso_radius_monthly.
* @param {conso_radius_monthlyUpdateArgs} args - Arguments to update one Conso_radius_monthly.
* @example
* // Update one Conso_radius_monthly
* const conso_radius_monthly = await prisma.conso_radius_monthly.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends conso_radius_monthlyUpdateArgs>(args: Prisma.SelectSubset<T, conso_radius_monthlyUpdateArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthlyClient<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthlyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Conso_radius_monthlies.
* @param {conso_radius_monthlyDeleteManyArgs} args - Arguments to filter Conso_radius_monthlies to delete.
* @example
* // Delete a few Conso_radius_monthlies
* const { count } = await prisma.conso_radius_monthly.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends conso_radius_monthlyDeleteManyArgs>(args?: Prisma.SelectSubset<T, conso_radius_monthlyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Conso_radius_monthlies.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {conso_radius_monthlyUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Conso_radius_monthlies
* const conso_radius_monthly = await prisma.conso_radius_monthly.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends conso_radius_monthlyUpdateManyArgs>(args: Prisma.SelectSubset<T, conso_radius_monthlyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Conso_radius_monthly.
* @param {conso_radius_monthlyUpsertArgs} args - Arguments to update or create a Conso_radius_monthly.
* @example
* // Update or create a Conso_radius_monthly
* const conso_radius_monthly = await prisma.conso_radius_monthly.upsert({
* create: {
* // ... data to create a Conso_radius_monthly
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Conso_radius_monthly we want to update
* }
* })
*/
upsert<T extends conso_radius_monthlyUpsertArgs>(args: Prisma.SelectSubset<T, conso_radius_monthlyUpsertArgs<ExtArgs>>): Prisma.Prisma__conso_radius_monthlyClient<runtime.Types.Result.GetResult<Prisma.$conso_radius_monthlyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Conso_radius_monthlies.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {conso_radius_monthlyCountArgs} args - Arguments to filter Conso_radius_monthlies to count.
* @example
* // Count the number of Conso_radius_monthlies
* const count = await prisma.conso_radius_monthly.count({
* where: {
* // ... the filter for the Conso_radius_monthlies we want to count
* }
* })
**/
count<T extends conso_radius_monthlyCountArgs>(
args?: Prisma.Subset<T, conso_radius_monthlyCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Conso_radius_monthlyCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Conso_radius_monthly.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Conso_radius_monthlyAggregateArgs} 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_monthlyAggregateArgs>(args: Prisma.Subset<T, Conso_radius_monthlyAggregateArgs>): Prisma.PrismaPromise<GetConso_radius_monthlyAggregateType<T>>
/**
* Group by Conso_radius_monthly.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {conso_radius_monthlyGroupByArgs} 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_monthlyGroupByArgs,
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_monthlyGroupByArgs['orderBy'] }
: { orderBy?: conso_radius_monthlyGroupByArgs['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_monthlyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetConso_radius_monthlyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the conso_radius_monthly model
*/
readonly fields: conso_radius_monthlyFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for conso_radius_monthly.
* 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_monthlyClient<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_monthly model
*/
export interface conso_radius_monthlyFieldRefs {
readonly id: Prisma.FieldRef<"conso_radius_monthly", 'Int'>
readonly date: Prisma.FieldRef<"conso_radius_monthly", 'String'>
readonly username: Prisma.FieldRef<"conso_radius_monthly", 'String'>
readonly nuit: Prisma.FieldRef<"conso_radius_monthly", 'String'>
readonly jour: Prisma.FieldRef<"conso_radius_monthly", 'String'>
}
// Custom InputTypes
/**
* conso_radius_monthly findUnique
*/
export type conso_radius_monthlyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly
*/
select?: Prisma.conso_radius_monthlySelect<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly
*/
omit?: Prisma.conso_radius_monthlyOmit<ExtArgs> | null
/**
* Filter, which conso_radius_monthly to fetch.
*/
where: Prisma.conso_radius_monthlyWhereUniqueInput
}
/**
* conso_radius_monthly findUniqueOrThrow
*/
export type conso_radius_monthlyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly
*/
select?: Prisma.conso_radius_monthlySelect<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly
*/
omit?: Prisma.conso_radius_monthlyOmit<ExtArgs> | null
/**
* Filter, which conso_radius_monthly to fetch.
*/
where: Prisma.conso_radius_monthlyWhereUniqueInput
}
/**
* conso_radius_monthly findFirst
*/
export type conso_radius_monthlyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly
*/
select?: Prisma.conso_radius_monthlySelect<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly
*/
omit?: Prisma.conso_radius_monthlyOmit<ExtArgs> | null
/**
* Filter, which conso_radius_monthly to fetch.
*/
where?: Prisma.conso_radius_monthlyWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of conso_radius_monthlies to fetch.
*/
orderBy?: Prisma.conso_radius_monthlyOrderByWithRelationInput | Prisma.conso_radius_monthlyOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for conso_radius_monthlies.
*/
cursor?: Prisma.conso_radius_monthlyWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` conso_radius_monthlies 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_monthlies.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of conso_radius_monthlies.
*/
distinct?: Prisma.Conso_radius_monthlyScalarFieldEnum | Prisma.Conso_radius_monthlyScalarFieldEnum[]
}
/**
* conso_radius_monthly findFirstOrThrow
*/
export type conso_radius_monthlyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly
*/
select?: Prisma.conso_radius_monthlySelect<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly
*/
omit?: Prisma.conso_radius_monthlyOmit<ExtArgs> | null
/**
* Filter, which conso_radius_monthly to fetch.
*/
where?: Prisma.conso_radius_monthlyWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of conso_radius_monthlies to fetch.
*/
orderBy?: Prisma.conso_radius_monthlyOrderByWithRelationInput | Prisma.conso_radius_monthlyOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for conso_radius_monthlies.
*/
cursor?: Prisma.conso_radius_monthlyWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` conso_radius_monthlies 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_monthlies.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of conso_radius_monthlies.
*/
distinct?: Prisma.Conso_radius_monthlyScalarFieldEnum | Prisma.Conso_radius_monthlyScalarFieldEnum[]
}
/**
* conso_radius_monthly findMany
*/
export type conso_radius_monthlyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly
*/
select?: Prisma.conso_radius_monthlySelect<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly
*/
omit?: Prisma.conso_radius_monthlyOmit<ExtArgs> | null
/**
* Filter, which conso_radius_monthlies to fetch.
*/
where?: Prisma.conso_radius_monthlyWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of conso_radius_monthlies to fetch.
*/
orderBy?: Prisma.conso_radius_monthlyOrderByWithRelationInput | Prisma.conso_radius_monthlyOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing conso_radius_monthlies.
*/
cursor?: Prisma.conso_radius_monthlyWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` conso_radius_monthlies 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_monthlies.
*/
skip?: number
distinct?: Prisma.Conso_radius_monthlyScalarFieldEnum | Prisma.Conso_radius_monthlyScalarFieldEnum[]
}
/**
* conso_radius_monthly create
*/
export type conso_radius_monthlyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly
*/
select?: Prisma.conso_radius_monthlySelect<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly
*/
omit?: Prisma.conso_radius_monthlyOmit<ExtArgs> | null
/**
* The data needed to create a conso_radius_monthly.
*/
data: Prisma.XOR<Prisma.conso_radius_monthlyCreateInput, Prisma.conso_radius_monthlyUncheckedCreateInput>
}
/**
* conso_radius_monthly createMany
*/
export type conso_radius_monthlyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many conso_radius_monthlies.
*/
data: Prisma.conso_radius_monthlyCreateManyInput | Prisma.conso_radius_monthlyCreateManyInput[]
skipDuplicates?: boolean
}
/**
* conso_radius_monthly update
*/
export type conso_radius_monthlyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly
*/
select?: Prisma.conso_radius_monthlySelect<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly
*/
omit?: Prisma.conso_radius_monthlyOmit<ExtArgs> | null
/**
* The data needed to update a conso_radius_monthly.
*/
data: Prisma.XOR<Prisma.conso_radius_monthlyUpdateInput, Prisma.conso_radius_monthlyUncheckedUpdateInput>
/**
* Choose, which conso_radius_monthly to update.
*/
where: Prisma.conso_radius_monthlyWhereUniqueInput
}
/**
* conso_radius_monthly updateMany
*/
export type conso_radius_monthlyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update conso_radius_monthlies.
*/
data: Prisma.XOR<Prisma.conso_radius_monthlyUpdateManyMutationInput, Prisma.conso_radius_monthlyUncheckedUpdateManyInput>
/**
* Filter which conso_radius_monthlies to update
*/
where?: Prisma.conso_radius_monthlyWhereInput
/**
* Limit how many conso_radius_monthlies to update.
*/
limit?: number
}
/**
* conso_radius_monthly upsert
*/
export type conso_radius_monthlyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly
*/
select?: Prisma.conso_radius_monthlySelect<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly
*/
omit?: Prisma.conso_radius_monthlyOmit<ExtArgs> | null
/**
* The filter to search for the conso_radius_monthly to update in case it exists.
*/
where: Prisma.conso_radius_monthlyWhereUniqueInput
/**
* In case the conso_radius_monthly found by the `where` argument doesn't exist, create a new conso_radius_monthly with this data.
*/
create: Prisma.XOR<Prisma.conso_radius_monthlyCreateInput, Prisma.conso_radius_monthlyUncheckedCreateInput>
/**
* In case the conso_radius_monthly was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.conso_radius_monthlyUpdateInput, Prisma.conso_radius_monthlyUncheckedUpdateInput>
}
/**
* conso_radius_monthly delete
*/
export type conso_radius_monthlyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly
*/
select?: Prisma.conso_radius_monthlySelect<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly
*/
omit?: Prisma.conso_radius_monthlyOmit<ExtArgs> | null
/**
* Filter which conso_radius_monthly to delete.
*/
where: Prisma.conso_radius_monthlyWhereUniqueInput
}
/**
* conso_radius_monthly deleteMany
*/
export type conso_radius_monthlyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which conso_radius_monthlies to delete
*/
where?: Prisma.conso_radius_monthlyWhereInput
/**
* Limit how many conso_radius_monthlies to delete.
*/
limit?: number
}
/**
* conso_radius_monthly without action
*/
export type conso_radius_monthlyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the conso_radius_monthly
*/
select?: Prisma.conso_radius_monthlySelect<ExtArgs> | null
/**
* Omit specific fields from the conso_radius_monthly
*/
omit?: Prisma.conso_radius_monthlyOmit<ExtArgs> | null
}