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

1106 lines
39 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 `fibre_videotron` 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 fibre_videotron
*
*/
export type fibre_videotronModel = runtime.Types.Result.DefaultSelection<Prisma.$fibre_videotronPayload>
export type AggregateFibre_videotron = {
_count: Fibre_videotronCountAggregateOutputType | null
_avg: Fibre_videotronAvgAggregateOutputType | null
_sum: Fibre_videotronSumAggregateOutputType | null
_min: Fibre_videotronMinAggregateOutputType | null
_max: Fibre_videotronMaxAggregateOutputType | null
}
export type Fibre_videotronAvgAggregateOutputType = {
id: number | null
}
export type Fibre_videotronSumAggregateOutputType = {
id: number | null
}
export type Fibre_videotronMinAggregateOutputType = {
id: number | null
date: string | null
download: string | null
upload: string | null
ethernet: string | null
interface: string | null
}
export type Fibre_videotronMaxAggregateOutputType = {
id: number | null
date: string | null
download: string | null
upload: string | null
ethernet: string | null
interface: string | null
}
export type Fibre_videotronCountAggregateOutputType = {
id: number
date: number
download: number
upload: number
ethernet: number
interface: number
_all: number
}
export type Fibre_videotronAvgAggregateInputType = {
id?: true
}
export type Fibre_videotronSumAggregateInputType = {
id?: true
}
export type Fibre_videotronMinAggregateInputType = {
id?: true
date?: true
download?: true
upload?: true
ethernet?: true
interface?: true
}
export type Fibre_videotronMaxAggregateInputType = {
id?: true
date?: true
download?: true
upload?: true
ethernet?: true
interface?: true
}
export type Fibre_videotronCountAggregateInputType = {
id?: true
date?: true
download?: true
upload?: true
ethernet?: true
interface?: true
_all?: true
}
export type Fibre_videotronAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which fibre_videotron to aggregate.
*/
where?: Prisma.fibre_videotronWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of fibre_videotrons to fetch.
*/
orderBy?: Prisma.fibre_videotronOrderByWithRelationInput | Prisma.fibre_videotronOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.fibre_videotronWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` fibre_videotrons 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` fibre_videotrons.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned fibre_videotrons
**/
_count?: true | Fibre_videotronCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Fibre_videotronAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Fibre_videotronSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Fibre_videotronMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Fibre_videotronMaxAggregateInputType
}
export type GetFibre_videotronAggregateType<T extends Fibre_videotronAggregateArgs> = {
[P in keyof T & keyof AggregateFibre_videotron]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateFibre_videotron[P]>
: Prisma.GetScalarType<T[P], AggregateFibre_videotron[P]>
}
export type fibre_videotronGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.fibre_videotronWhereInput
orderBy?: Prisma.fibre_videotronOrderByWithAggregationInput | Prisma.fibre_videotronOrderByWithAggregationInput[]
by: Prisma.Fibre_videotronScalarFieldEnum[] | Prisma.Fibre_videotronScalarFieldEnum
having?: Prisma.fibre_videotronScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Fibre_videotronCountAggregateInputType | true
_avg?: Fibre_videotronAvgAggregateInputType
_sum?: Fibre_videotronSumAggregateInputType
_min?: Fibre_videotronMinAggregateInputType
_max?: Fibre_videotronMaxAggregateInputType
}
export type Fibre_videotronGroupByOutputType = {
id: number
date: string
download: string
upload: string
ethernet: string
interface: string
_count: Fibre_videotronCountAggregateOutputType | null
_avg: Fibre_videotronAvgAggregateOutputType | null
_sum: Fibre_videotronSumAggregateOutputType | null
_min: Fibre_videotronMinAggregateOutputType | null
_max: Fibre_videotronMaxAggregateOutputType | null
}
type GetFibre_videotronGroupByPayload<T extends fibre_videotronGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Fibre_videotronGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Fibre_videotronGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Fibre_videotronGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Fibre_videotronGroupByOutputType[P]>
}
>
>
export type fibre_videotronWhereInput = {
AND?: Prisma.fibre_videotronWhereInput | Prisma.fibre_videotronWhereInput[]
OR?: Prisma.fibre_videotronWhereInput[]
NOT?: Prisma.fibre_videotronWhereInput | Prisma.fibre_videotronWhereInput[]
id?: Prisma.IntFilter<"fibre_videotron"> | number
date?: Prisma.StringFilter<"fibre_videotron"> | string
download?: Prisma.StringFilter<"fibre_videotron"> | string
upload?: Prisma.StringFilter<"fibre_videotron"> | string
ethernet?: Prisma.StringFilter<"fibre_videotron"> | string
interface?: Prisma.StringFilter<"fibre_videotron"> | string
}
export type fibre_videotronOrderByWithRelationInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
download?: Prisma.SortOrder
upload?: Prisma.SortOrder
ethernet?: Prisma.SortOrder
interface?: Prisma.SortOrder
_relevance?: Prisma.fibre_videotronOrderByRelevanceInput
}
export type fibre_videotronWhereUniqueInput = Prisma.AtLeast<{
id?: number
AND?: Prisma.fibre_videotronWhereInput | Prisma.fibre_videotronWhereInput[]
OR?: Prisma.fibre_videotronWhereInput[]
NOT?: Prisma.fibre_videotronWhereInput | Prisma.fibre_videotronWhereInput[]
date?: Prisma.StringFilter<"fibre_videotron"> | string
download?: Prisma.StringFilter<"fibre_videotron"> | string
upload?: Prisma.StringFilter<"fibre_videotron"> | string
ethernet?: Prisma.StringFilter<"fibre_videotron"> | string
interface?: Prisma.StringFilter<"fibre_videotron"> | string
}, "id">
export type fibre_videotronOrderByWithAggregationInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
download?: Prisma.SortOrder
upload?: Prisma.SortOrder
ethernet?: Prisma.SortOrder
interface?: Prisma.SortOrder
_count?: Prisma.fibre_videotronCountOrderByAggregateInput
_avg?: Prisma.fibre_videotronAvgOrderByAggregateInput
_max?: Prisma.fibre_videotronMaxOrderByAggregateInput
_min?: Prisma.fibre_videotronMinOrderByAggregateInput
_sum?: Prisma.fibre_videotronSumOrderByAggregateInput
}
export type fibre_videotronScalarWhereWithAggregatesInput = {
AND?: Prisma.fibre_videotronScalarWhereWithAggregatesInput | Prisma.fibre_videotronScalarWhereWithAggregatesInput[]
OR?: Prisma.fibre_videotronScalarWhereWithAggregatesInput[]
NOT?: Prisma.fibre_videotronScalarWhereWithAggregatesInput | Prisma.fibre_videotronScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"fibre_videotron"> | number
date?: Prisma.StringWithAggregatesFilter<"fibre_videotron"> | string
download?: Prisma.StringWithAggregatesFilter<"fibre_videotron"> | string
upload?: Prisma.StringWithAggregatesFilter<"fibre_videotron"> | string
ethernet?: Prisma.StringWithAggregatesFilter<"fibre_videotron"> | string
interface?: Prisma.StringWithAggregatesFilter<"fibre_videotron"> | string
}
export type fibre_videotronCreateInput = {
date: string
download?: string
upload?: string
ethernet?: string
interface?: string
}
export type fibre_videotronUncheckedCreateInput = {
id?: number
date: string
download?: string
upload?: string
ethernet?: string
interface?: string
}
export type fibre_videotronUpdateInput = {
date?: Prisma.StringFieldUpdateOperationsInput | string
download?: Prisma.StringFieldUpdateOperationsInput | string
upload?: Prisma.StringFieldUpdateOperationsInput | string
ethernet?: Prisma.StringFieldUpdateOperationsInput | string
interface?: Prisma.StringFieldUpdateOperationsInput | string
}
export type fibre_videotronUncheckedUpdateInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
date?: Prisma.StringFieldUpdateOperationsInput | string
download?: Prisma.StringFieldUpdateOperationsInput | string
upload?: Prisma.StringFieldUpdateOperationsInput | string
ethernet?: Prisma.StringFieldUpdateOperationsInput | string
interface?: Prisma.StringFieldUpdateOperationsInput | string
}
export type fibre_videotronCreateManyInput = {
id?: number
date: string
download?: string
upload?: string
ethernet?: string
interface?: string
}
export type fibre_videotronUpdateManyMutationInput = {
date?: Prisma.StringFieldUpdateOperationsInput | string
download?: Prisma.StringFieldUpdateOperationsInput | string
upload?: Prisma.StringFieldUpdateOperationsInput | string
ethernet?: Prisma.StringFieldUpdateOperationsInput | string
interface?: Prisma.StringFieldUpdateOperationsInput | string
}
export type fibre_videotronUncheckedUpdateManyInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
date?: Prisma.StringFieldUpdateOperationsInput | string
download?: Prisma.StringFieldUpdateOperationsInput | string
upload?: Prisma.StringFieldUpdateOperationsInput | string
ethernet?: Prisma.StringFieldUpdateOperationsInput | string
interface?: Prisma.StringFieldUpdateOperationsInput | string
}
export type fibre_videotronOrderByRelevanceInput = {
fields: Prisma.fibre_videotronOrderByRelevanceFieldEnum | Prisma.fibre_videotronOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type fibre_videotronCountOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
download?: Prisma.SortOrder
upload?: Prisma.SortOrder
ethernet?: Prisma.SortOrder
interface?: Prisma.SortOrder
}
export type fibre_videotronAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
}
export type fibre_videotronMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
download?: Prisma.SortOrder
upload?: Prisma.SortOrder
ethernet?: Prisma.SortOrder
interface?: Prisma.SortOrder
}
export type fibre_videotronMinOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
download?: Prisma.SortOrder
upload?: Prisma.SortOrder
ethernet?: Prisma.SortOrder
interface?: Prisma.SortOrder
}
export type fibre_videotronSumOrderByAggregateInput = {
id?: Prisma.SortOrder
}
export type fibre_videotronSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
date?: boolean
download?: boolean
upload?: boolean
ethernet?: boolean
interface?: boolean
}, ExtArgs["result"]["fibre_videotron"]>
export type fibre_videotronSelectScalar = {
id?: boolean
date?: boolean
download?: boolean
upload?: boolean
ethernet?: boolean
interface?: boolean
}
export type fibre_videotronOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "date" | "download" | "upload" | "ethernet" | "interface", ExtArgs["result"]["fibre_videotron"]>
export type $fibre_videotronPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "fibre_videotron"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: number
date: string
download: string
upload: string
ethernet: string
interface: string
}, ExtArgs["result"]["fibre_videotron"]>
composites: {}
}
export type fibre_videotronGetPayload<S extends boolean | null | undefined | fibre_videotronDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$fibre_videotronPayload, S>
export type fibre_videotronCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<fibre_videotronFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Fibre_videotronCountAggregateInputType | true
}
export interface fibre_videotronDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['fibre_videotron'], meta: { name: 'fibre_videotron' } }
/**
* Find zero or one Fibre_videotron that matches the filter.
* @param {fibre_videotronFindUniqueArgs} args - Arguments to find a Fibre_videotron
* @example
* // Get one Fibre_videotron
* const fibre_videotron = await prisma.fibre_videotron.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends fibre_videotronFindUniqueArgs>(args: Prisma.SelectSubset<T, fibre_videotronFindUniqueArgs<ExtArgs>>): Prisma.Prisma__fibre_videotronClient<runtime.Types.Result.GetResult<Prisma.$fibre_videotronPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Fibre_videotron that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {fibre_videotronFindUniqueOrThrowArgs} args - Arguments to find a Fibre_videotron
* @example
* // Get one Fibre_videotron
* const fibre_videotron = await prisma.fibre_videotron.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends fibre_videotronFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, fibre_videotronFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__fibre_videotronClient<runtime.Types.Result.GetResult<Prisma.$fibre_videotronPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Fibre_videotron 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 {fibre_videotronFindFirstArgs} args - Arguments to find a Fibre_videotron
* @example
* // Get one Fibre_videotron
* const fibre_videotron = await prisma.fibre_videotron.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends fibre_videotronFindFirstArgs>(args?: Prisma.SelectSubset<T, fibre_videotronFindFirstArgs<ExtArgs>>): Prisma.Prisma__fibre_videotronClient<runtime.Types.Result.GetResult<Prisma.$fibre_videotronPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Fibre_videotron 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 {fibre_videotronFindFirstOrThrowArgs} args - Arguments to find a Fibre_videotron
* @example
* // Get one Fibre_videotron
* const fibre_videotron = await prisma.fibre_videotron.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends fibre_videotronFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, fibre_videotronFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__fibre_videotronClient<runtime.Types.Result.GetResult<Prisma.$fibre_videotronPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Fibre_videotrons 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 {fibre_videotronFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Fibre_videotrons
* const fibre_videotrons = await prisma.fibre_videotron.findMany()
*
* // Get first 10 Fibre_videotrons
* const fibre_videotrons = await prisma.fibre_videotron.findMany({ take: 10 })
*
* // Only select the `id`
* const fibre_videotronWithIdOnly = await prisma.fibre_videotron.findMany({ select: { id: true } })
*
*/
findMany<T extends fibre_videotronFindManyArgs>(args?: Prisma.SelectSubset<T, fibre_videotronFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$fibre_videotronPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Fibre_videotron.
* @param {fibre_videotronCreateArgs} args - Arguments to create a Fibre_videotron.
* @example
* // Create one Fibre_videotron
* const Fibre_videotron = await prisma.fibre_videotron.create({
* data: {
* // ... data to create a Fibre_videotron
* }
* })
*
*/
create<T extends fibre_videotronCreateArgs>(args: Prisma.SelectSubset<T, fibre_videotronCreateArgs<ExtArgs>>): Prisma.Prisma__fibre_videotronClient<runtime.Types.Result.GetResult<Prisma.$fibre_videotronPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Fibre_videotrons.
* @param {fibre_videotronCreateManyArgs} args - Arguments to create many Fibre_videotrons.
* @example
* // Create many Fibre_videotrons
* const fibre_videotron = await prisma.fibre_videotron.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends fibre_videotronCreateManyArgs>(args?: Prisma.SelectSubset<T, fibre_videotronCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Fibre_videotron.
* @param {fibre_videotronDeleteArgs} args - Arguments to delete one Fibre_videotron.
* @example
* // Delete one Fibre_videotron
* const Fibre_videotron = await prisma.fibre_videotron.delete({
* where: {
* // ... filter to delete one Fibre_videotron
* }
* })
*
*/
delete<T extends fibre_videotronDeleteArgs>(args: Prisma.SelectSubset<T, fibre_videotronDeleteArgs<ExtArgs>>): Prisma.Prisma__fibre_videotronClient<runtime.Types.Result.GetResult<Prisma.$fibre_videotronPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Fibre_videotron.
* @param {fibre_videotronUpdateArgs} args - Arguments to update one Fibre_videotron.
* @example
* // Update one Fibre_videotron
* const fibre_videotron = await prisma.fibre_videotron.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends fibre_videotronUpdateArgs>(args: Prisma.SelectSubset<T, fibre_videotronUpdateArgs<ExtArgs>>): Prisma.Prisma__fibre_videotronClient<runtime.Types.Result.GetResult<Prisma.$fibre_videotronPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Fibre_videotrons.
* @param {fibre_videotronDeleteManyArgs} args - Arguments to filter Fibre_videotrons to delete.
* @example
* // Delete a few Fibre_videotrons
* const { count } = await prisma.fibre_videotron.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends fibre_videotronDeleteManyArgs>(args?: Prisma.SelectSubset<T, fibre_videotronDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Fibre_videotrons.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {fibre_videotronUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Fibre_videotrons
* const fibre_videotron = await prisma.fibre_videotron.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends fibre_videotronUpdateManyArgs>(args: Prisma.SelectSubset<T, fibre_videotronUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Fibre_videotron.
* @param {fibre_videotronUpsertArgs} args - Arguments to update or create a Fibre_videotron.
* @example
* // Update or create a Fibre_videotron
* const fibre_videotron = await prisma.fibre_videotron.upsert({
* create: {
* // ... data to create a Fibre_videotron
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Fibre_videotron we want to update
* }
* })
*/
upsert<T extends fibre_videotronUpsertArgs>(args: Prisma.SelectSubset<T, fibre_videotronUpsertArgs<ExtArgs>>): Prisma.Prisma__fibre_videotronClient<runtime.Types.Result.GetResult<Prisma.$fibre_videotronPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Fibre_videotrons.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {fibre_videotronCountArgs} args - Arguments to filter Fibre_videotrons to count.
* @example
* // Count the number of Fibre_videotrons
* const count = await prisma.fibre_videotron.count({
* where: {
* // ... the filter for the Fibre_videotrons we want to count
* }
* })
**/
count<T extends fibre_videotronCountArgs>(
args?: Prisma.Subset<T, fibre_videotronCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Fibre_videotronCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Fibre_videotron.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Fibre_videotronAggregateArgs} 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 Fibre_videotronAggregateArgs>(args: Prisma.Subset<T, Fibre_videotronAggregateArgs>): Prisma.PrismaPromise<GetFibre_videotronAggregateType<T>>
/**
* Group by Fibre_videotron.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {fibre_videotronGroupByArgs} 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 fibre_videotronGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: fibre_videotronGroupByArgs['orderBy'] }
: { orderBy?: fibre_videotronGroupByArgs['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, fibre_videotronGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFibre_videotronGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the fibre_videotron model
*/
readonly fields: fibre_videotronFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for fibre_videotron.
* 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__fibre_videotronClient<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 fibre_videotron model
*/
export interface fibre_videotronFieldRefs {
readonly id: Prisma.FieldRef<"fibre_videotron", 'Int'>
readonly date: Prisma.FieldRef<"fibre_videotron", 'String'>
readonly download: Prisma.FieldRef<"fibre_videotron", 'String'>
readonly upload: Prisma.FieldRef<"fibre_videotron", 'String'>
readonly ethernet: Prisma.FieldRef<"fibre_videotron", 'String'>
readonly interface: Prisma.FieldRef<"fibre_videotron", 'String'>
}
// Custom InputTypes
/**
* fibre_videotron findUnique
*/
export type fibre_videotronFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the fibre_videotron
*/
select?: Prisma.fibre_videotronSelect<ExtArgs> | null
/**
* Omit specific fields from the fibre_videotron
*/
omit?: Prisma.fibre_videotronOmit<ExtArgs> | null
/**
* Filter, which fibre_videotron to fetch.
*/
where: Prisma.fibre_videotronWhereUniqueInput
}
/**
* fibre_videotron findUniqueOrThrow
*/
export type fibre_videotronFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the fibre_videotron
*/
select?: Prisma.fibre_videotronSelect<ExtArgs> | null
/**
* Omit specific fields from the fibre_videotron
*/
omit?: Prisma.fibre_videotronOmit<ExtArgs> | null
/**
* Filter, which fibre_videotron to fetch.
*/
where: Prisma.fibre_videotronWhereUniqueInput
}
/**
* fibre_videotron findFirst
*/
export type fibre_videotronFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the fibre_videotron
*/
select?: Prisma.fibre_videotronSelect<ExtArgs> | null
/**
* Omit specific fields from the fibre_videotron
*/
omit?: Prisma.fibre_videotronOmit<ExtArgs> | null
/**
* Filter, which fibre_videotron to fetch.
*/
where?: Prisma.fibre_videotronWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of fibre_videotrons to fetch.
*/
orderBy?: Prisma.fibre_videotronOrderByWithRelationInput | Prisma.fibre_videotronOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for fibre_videotrons.
*/
cursor?: Prisma.fibre_videotronWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` fibre_videotrons 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` fibre_videotrons.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of fibre_videotrons.
*/
distinct?: Prisma.Fibre_videotronScalarFieldEnum | Prisma.Fibre_videotronScalarFieldEnum[]
}
/**
* fibre_videotron findFirstOrThrow
*/
export type fibre_videotronFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the fibre_videotron
*/
select?: Prisma.fibre_videotronSelect<ExtArgs> | null
/**
* Omit specific fields from the fibre_videotron
*/
omit?: Prisma.fibre_videotronOmit<ExtArgs> | null
/**
* Filter, which fibre_videotron to fetch.
*/
where?: Prisma.fibre_videotronWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of fibre_videotrons to fetch.
*/
orderBy?: Prisma.fibre_videotronOrderByWithRelationInput | Prisma.fibre_videotronOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for fibre_videotrons.
*/
cursor?: Prisma.fibre_videotronWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` fibre_videotrons 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` fibre_videotrons.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of fibre_videotrons.
*/
distinct?: Prisma.Fibre_videotronScalarFieldEnum | Prisma.Fibre_videotronScalarFieldEnum[]
}
/**
* fibre_videotron findMany
*/
export type fibre_videotronFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the fibre_videotron
*/
select?: Prisma.fibre_videotronSelect<ExtArgs> | null
/**
* Omit specific fields from the fibre_videotron
*/
omit?: Prisma.fibre_videotronOmit<ExtArgs> | null
/**
* Filter, which fibre_videotrons to fetch.
*/
where?: Prisma.fibre_videotronWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of fibre_videotrons to fetch.
*/
orderBy?: Prisma.fibre_videotronOrderByWithRelationInput | Prisma.fibre_videotronOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing fibre_videotrons.
*/
cursor?: Prisma.fibre_videotronWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` fibre_videotrons 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` fibre_videotrons.
*/
skip?: number
distinct?: Prisma.Fibre_videotronScalarFieldEnum | Prisma.Fibre_videotronScalarFieldEnum[]
}
/**
* fibre_videotron create
*/
export type fibre_videotronCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the fibre_videotron
*/
select?: Prisma.fibre_videotronSelect<ExtArgs> | null
/**
* Omit specific fields from the fibre_videotron
*/
omit?: Prisma.fibre_videotronOmit<ExtArgs> | null
/**
* The data needed to create a fibre_videotron.
*/
data: Prisma.XOR<Prisma.fibre_videotronCreateInput, Prisma.fibre_videotronUncheckedCreateInput>
}
/**
* fibre_videotron createMany
*/
export type fibre_videotronCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many fibre_videotrons.
*/
data: Prisma.fibre_videotronCreateManyInput | Prisma.fibre_videotronCreateManyInput[]
skipDuplicates?: boolean
}
/**
* fibre_videotron update
*/
export type fibre_videotronUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the fibre_videotron
*/
select?: Prisma.fibre_videotronSelect<ExtArgs> | null
/**
* Omit specific fields from the fibre_videotron
*/
omit?: Prisma.fibre_videotronOmit<ExtArgs> | null
/**
* The data needed to update a fibre_videotron.
*/
data: Prisma.XOR<Prisma.fibre_videotronUpdateInput, Prisma.fibre_videotronUncheckedUpdateInput>
/**
* Choose, which fibre_videotron to update.
*/
where: Prisma.fibre_videotronWhereUniqueInput
}
/**
* fibre_videotron updateMany
*/
export type fibre_videotronUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update fibre_videotrons.
*/
data: Prisma.XOR<Prisma.fibre_videotronUpdateManyMutationInput, Prisma.fibre_videotronUncheckedUpdateManyInput>
/**
* Filter which fibre_videotrons to update
*/
where?: Prisma.fibre_videotronWhereInput
/**
* Limit how many fibre_videotrons to update.
*/
limit?: number
}
/**
* fibre_videotron upsert
*/
export type fibre_videotronUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the fibre_videotron
*/
select?: Prisma.fibre_videotronSelect<ExtArgs> | null
/**
* Omit specific fields from the fibre_videotron
*/
omit?: Prisma.fibre_videotronOmit<ExtArgs> | null
/**
* The filter to search for the fibre_videotron to update in case it exists.
*/
where: Prisma.fibre_videotronWhereUniqueInput
/**
* In case the fibre_videotron found by the `where` argument doesn't exist, create a new fibre_videotron with this data.
*/
create: Prisma.XOR<Prisma.fibre_videotronCreateInput, Prisma.fibre_videotronUncheckedCreateInput>
/**
* In case the fibre_videotron was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.fibre_videotronUpdateInput, Prisma.fibre_videotronUncheckedUpdateInput>
}
/**
* fibre_videotron delete
*/
export type fibre_videotronDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the fibre_videotron
*/
select?: Prisma.fibre_videotronSelect<ExtArgs> | null
/**
* Omit specific fields from the fibre_videotron
*/
omit?: Prisma.fibre_videotronOmit<ExtArgs> | null
/**
* Filter which fibre_videotron to delete.
*/
where: Prisma.fibre_videotronWhereUniqueInput
}
/**
* fibre_videotron deleteMany
*/
export type fibre_videotronDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which fibre_videotrons to delete
*/
where?: Prisma.fibre_videotronWhereInput
/**
* Limit how many fibre_videotrons to delete.
*/
limit?: number
}
/**
* fibre_videotron without action
*/
export type fibre_videotronDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the fibre_videotron
*/
select?: Prisma.fibre_videotronSelect<ExtArgs> | null
/**
* Omit specific fields from the fibre_videotron
*/
omit?: Prisma.fibre_videotronOmit<ExtArgs> | null
}