2025-11-24 08:59:14 +01:00

1229 lines
43 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 `DeviceGroup` 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.ts"
import type * as Prisma from "../internal/prismaNamespace.ts"
/**
* Model DeviceGroup
*
*/
export type DeviceGroupModel = runtime.Types.Result.DefaultSelection<Prisma.$DeviceGroupPayload>
export type AggregateDeviceGroup = {
_count: DeviceGroupCountAggregateOutputType | null
_min: DeviceGroupMinAggregateOutputType | null
_max: DeviceGroupMaxAggregateOutputType | null
}
export type DeviceGroupMinAggregateOutputType = {
id: string | null
name: string | null
}
export type DeviceGroupMaxAggregateOutputType = {
id: string | null
name: string | null
}
export type DeviceGroupCountAggregateOutputType = {
id: number
name: number
_all: number
}
export type DeviceGroupMinAggregateInputType = {
id?: true
name?: true
}
export type DeviceGroupMaxAggregateInputType = {
id?: true
name?: true
}
export type DeviceGroupCountAggregateInputType = {
id?: true
name?: true
_all?: true
}
export type DeviceGroupAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which DeviceGroup to aggregate.
*/
where?: Prisma.DeviceGroupWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DeviceGroups to fetch.
*/
orderBy?: Prisma.DeviceGroupOrderByWithRelationInput | Prisma.DeviceGroupOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.DeviceGroupWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DeviceGroups 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` DeviceGroups.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned DeviceGroups
**/
_count?: true | DeviceGroupCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: DeviceGroupMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: DeviceGroupMaxAggregateInputType
}
export type GetDeviceGroupAggregateType<T extends DeviceGroupAggregateArgs> = {
[P in keyof T & keyof AggregateDeviceGroup]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateDeviceGroup[P]>
: Prisma.GetScalarType<T[P], AggregateDeviceGroup[P]>
}
export type DeviceGroupGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.DeviceGroupWhereInput
orderBy?: Prisma.DeviceGroupOrderByWithAggregationInput | Prisma.DeviceGroupOrderByWithAggregationInput[]
by: Prisma.DeviceGroupScalarFieldEnum[] | Prisma.DeviceGroupScalarFieldEnum
having?: Prisma.DeviceGroupScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: DeviceGroupCountAggregateInputType | true
_min?: DeviceGroupMinAggregateInputType
_max?: DeviceGroupMaxAggregateInputType
}
export type DeviceGroupGroupByOutputType = {
id: string
name: string
_count: DeviceGroupCountAggregateOutputType | null
_min: DeviceGroupMinAggregateOutputType | null
_max: DeviceGroupMaxAggregateOutputType | null
}
type GetDeviceGroupGroupByPayload<T extends DeviceGroupGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<DeviceGroupGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof DeviceGroupGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], DeviceGroupGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], DeviceGroupGroupByOutputType[P]>
}
>
>
export type DeviceGroupWhereInput = {
AND?: Prisma.DeviceGroupWhereInput | Prisma.DeviceGroupWhereInput[]
OR?: Prisma.DeviceGroupWhereInput[]
NOT?: Prisma.DeviceGroupWhereInput | Prisma.DeviceGroupWhereInput[]
id?: Prisma.StringFilter<"DeviceGroup"> | string
name?: Prisma.StringFilter<"DeviceGroup"> | string
devices?: Prisma.DeviceListRelationFilter
}
export type DeviceGroupOrderByWithRelationInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
devices?: Prisma.DeviceOrderByRelationAggregateInput
}
export type DeviceGroupWhereUniqueInput = Prisma.AtLeast<{
id?: string
name?: string
AND?: Prisma.DeviceGroupWhereInput | Prisma.DeviceGroupWhereInput[]
OR?: Prisma.DeviceGroupWhereInput[]
NOT?: Prisma.DeviceGroupWhereInput | Prisma.DeviceGroupWhereInput[]
devices?: Prisma.DeviceListRelationFilter
}, "id" | "name">
export type DeviceGroupOrderByWithAggregationInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
_count?: Prisma.DeviceGroupCountOrderByAggregateInput
_max?: Prisma.DeviceGroupMaxOrderByAggregateInput
_min?: Prisma.DeviceGroupMinOrderByAggregateInput
}
export type DeviceGroupScalarWhereWithAggregatesInput = {
AND?: Prisma.DeviceGroupScalarWhereWithAggregatesInput | Prisma.DeviceGroupScalarWhereWithAggregatesInput[]
OR?: Prisma.DeviceGroupScalarWhereWithAggregatesInput[]
NOT?: Prisma.DeviceGroupScalarWhereWithAggregatesInput | Prisma.DeviceGroupScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"DeviceGroup"> | string
name?: Prisma.StringWithAggregatesFilter<"DeviceGroup"> | string
}
export type DeviceGroupCreateInput = {
id?: string
name: string
devices?: Prisma.DeviceCreateNestedManyWithoutGroupInput
}
export type DeviceGroupUncheckedCreateInput = {
id?: string
name: string
devices?: Prisma.DeviceUncheckedCreateNestedManyWithoutGroupInput
}
export type DeviceGroupUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
devices?: Prisma.DeviceUpdateManyWithoutGroupNestedInput
}
export type DeviceGroupUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
devices?: Prisma.DeviceUncheckedUpdateManyWithoutGroupNestedInput
}
export type DeviceGroupCreateManyInput = {
id?: string
name: string
}
export type DeviceGroupUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
}
export type DeviceGroupUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
}
export type DeviceGroupCountOrderByAggregateInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
}
export type DeviceGroupMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
}
export type DeviceGroupMinOrderByAggregateInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
}
export type DeviceGroupNullableScalarRelationFilter = {
is?: Prisma.DeviceGroupWhereInput | null
isNot?: Prisma.DeviceGroupWhereInput | null
}
export type DeviceGroupCreateNestedOneWithoutDevicesInput = {
create?: Prisma.XOR<Prisma.DeviceGroupCreateWithoutDevicesInput, Prisma.DeviceGroupUncheckedCreateWithoutDevicesInput>
connectOrCreate?: Prisma.DeviceGroupCreateOrConnectWithoutDevicesInput
connect?: Prisma.DeviceGroupWhereUniqueInput
}
export type DeviceGroupUpdateOneWithoutDevicesNestedInput = {
create?: Prisma.XOR<Prisma.DeviceGroupCreateWithoutDevicesInput, Prisma.DeviceGroupUncheckedCreateWithoutDevicesInput>
connectOrCreate?: Prisma.DeviceGroupCreateOrConnectWithoutDevicesInput
upsert?: Prisma.DeviceGroupUpsertWithoutDevicesInput
disconnect?: Prisma.DeviceGroupWhereInput | boolean
delete?: Prisma.DeviceGroupWhereInput | boolean
connect?: Prisma.DeviceGroupWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.DeviceGroupUpdateToOneWithWhereWithoutDevicesInput, Prisma.DeviceGroupUpdateWithoutDevicesInput>, Prisma.DeviceGroupUncheckedUpdateWithoutDevicesInput>
}
export type DeviceGroupCreateWithoutDevicesInput = {
id?: string
name: string
}
export type DeviceGroupUncheckedCreateWithoutDevicesInput = {
id?: string
name: string
}
export type DeviceGroupCreateOrConnectWithoutDevicesInput = {
where: Prisma.DeviceGroupWhereUniqueInput
create: Prisma.XOR<Prisma.DeviceGroupCreateWithoutDevicesInput, Prisma.DeviceGroupUncheckedCreateWithoutDevicesInput>
}
export type DeviceGroupUpsertWithoutDevicesInput = {
update: Prisma.XOR<Prisma.DeviceGroupUpdateWithoutDevicesInput, Prisma.DeviceGroupUncheckedUpdateWithoutDevicesInput>
create: Prisma.XOR<Prisma.DeviceGroupCreateWithoutDevicesInput, Prisma.DeviceGroupUncheckedCreateWithoutDevicesInput>
where?: Prisma.DeviceGroupWhereInput
}
export type DeviceGroupUpdateToOneWithWhereWithoutDevicesInput = {
where?: Prisma.DeviceGroupWhereInput
data: Prisma.XOR<Prisma.DeviceGroupUpdateWithoutDevicesInput, Prisma.DeviceGroupUncheckedUpdateWithoutDevicesInput>
}
export type DeviceGroupUpdateWithoutDevicesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
}
export type DeviceGroupUncheckedUpdateWithoutDevicesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
}
/**
* Count Type DeviceGroupCountOutputType
*/
export type DeviceGroupCountOutputType = {
devices: number
}
export type DeviceGroupCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
devices?: boolean | DeviceGroupCountOutputTypeCountDevicesArgs
}
/**
* DeviceGroupCountOutputType without action
*/
export type DeviceGroupCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroupCountOutputType
*/
select?: Prisma.DeviceGroupCountOutputTypeSelect<ExtArgs> | null
}
/**
* DeviceGroupCountOutputType without action
*/
export type DeviceGroupCountOutputTypeCountDevicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.DeviceWhereInput
}
export type DeviceGroupSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
name?: boolean
devices?: boolean | Prisma.DeviceGroup$devicesArgs<ExtArgs>
_count?: boolean | Prisma.DeviceGroupCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["deviceGroup"]>
export type DeviceGroupSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
name?: boolean
}, ExtArgs["result"]["deviceGroup"]>
export type DeviceGroupSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
name?: boolean
}, ExtArgs["result"]["deviceGroup"]>
export type DeviceGroupSelectScalar = {
id?: boolean
name?: boolean
}
export type DeviceGroupOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name", ExtArgs["result"]["deviceGroup"]>
export type DeviceGroupInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
devices?: boolean | Prisma.DeviceGroup$devicesArgs<ExtArgs>
_count?: boolean | Prisma.DeviceGroupCountOutputTypeDefaultArgs<ExtArgs>
}
export type DeviceGroupIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type DeviceGroupIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type $DeviceGroupPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "DeviceGroup"
objects: {
devices: Prisma.$DevicePayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
name: string
}, ExtArgs["result"]["deviceGroup"]>
composites: {}
}
export type DeviceGroupGetPayload<S extends boolean | null | undefined | DeviceGroupDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload, S>
export type DeviceGroupCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<DeviceGroupFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: DeviceGroupCountAggregateInputType | true
}
export interface DeviceGroupDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DeviceGroup'], meta: { name: 'DeviceGroup' } }
/**
* Find zero or one DeviceGroup that matches the filter.
* @param {DeviceGroupFindUniqueArgs} args - Arguments to find a DeviceGroup
* @example
* // Get one DeviceGroup
* const deviceGroup = await prisma.deviceGroup.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends DeviceGroupFindUniqueArgs>(args: Prisma.SelectSubset<T, DeviceGroupFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DeviceGroupClient<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one DeviceGroup that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {DeviceGroupFindUniqueOrThrowArgs} args - Arguments to find a DeviceGroup
* @example
* // Get one DeviceGroup
* const deviceGroup = await prisma.deviceGroup.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends DeviceGroupFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DeviceGroupFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DeviceGroupClient<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first DeviceGroup 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 {DeviceGroupFindFirstArgs} args - Arguments to find a DeviceGroup
* @example
* // Get one DeviceGroup
* const deviceGroup = await prisma.deviceGroup.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends DeviceGroupFindFirstArgs>(args?: Prisma.SelectSubset<T, DeviceGroupFindFirstArgs<ExtArgs>>): Prisma.Prisma__DeviceGroupClient<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first DeviceGroup 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 {DeviceGroupFindFirstOrThrowArgs} args - Arguments to find a DeviceGroup
* @example
* // Get one DeviceGroup
* const deviceGroup = await prisma.deviceGroup.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends DeviceGroupFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DeviceGroupFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DeviceGroupClient<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more DeviceGroups 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 {DeviceGroupFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all DeviceGroups
* const deviceGroups = await prisma.deviceGroup.findMany()
*
* // Get first 10 DeviceGroups
* const deviceGroups = await prisma.deviceGroup.findMany({ take: 10 })
*
* // Only select the `id`
* const deviceGroupWithIdOnly = await prisma.deviceGroup.findMany({ select: { id: true } })
*
*/
findMany<T extends DeviceGroupFindManyArgs>(args?: Prisma.SelectSubset<T, DeviceGroupFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a DeviceGroup.
* @param {DeviceGroupCreateArgs} args - Arguments to create a DeviceGroup.
* @example
* // Create one DeviceGroup
* const DeviceGroup = await prisma.deviceGroup.create({
* data: {
* // ... data to create a DeviceGroup
* }
* })
*
*/
create<T extends DeviceGroupCreateArgs>(args: Prisma.SelectSubset<T, DeviceGroupCreateArgs<ExtArgs>>): Prisma.Prisma__DeviceGroupClient<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many DeviceGroups.
* @param {DeviceGroupCreateManyArgs} args - Arguments to create many DeviceGroups.
* @example
* // Create many DeviceGroups
* const deviceGroup = await prisma.deviceGroup.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends DeviceGroupCreateManyArgs>(args?: Prisma.SelectSubset<T, DeviceGroupCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many DeviceGroups and returns the data saved in the database.
* @param {DeviceGroupCreateManyAndReturnArgs} args - Arguments to create many DeviceGroups.
* @example
* // Create many DeviceGroups
* const deviceGroup = await prisma.deviceGroup.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many DeviceGroups and only return the `id`
* const deviceGroupWithIdOnly = await prisma.deviceGroup.createManyAndReturn({
* select: { id: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends DeviceGroupCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DeviceGroupCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a DeviceGroup.
* @param {DeviceGroupDeleteArgs} args - Arguments to delete one DeviceGroup.
* @example
* // Delete one DeviceGroup
* const DeviceGroup = await prisma.deviceGroup.delete({
* where: {
* // ... filter to delete one DeviceGroup
* }
* })
*
*/
delete<T extends DeviceGroupDeleteArgs>(args: Prisma.SelectSubset<T, DeviceGroupDeleteArgs<ExtArgs>>): Prisma.Prisma__DeviceGroupClient<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one DeviceGroup.
* @param {DeviceGroupUpdateArgs} args - Arguments to update one DeviceGroup.
* @example
* // Update one DeviceGroup
* const deviceGroup = await prisma.deviceGroup.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends DeviceGroupUpdateArgs>(args: Prisma.SelectSubset<T, DeviceGroupUpdateArgs<ExtArgs>>): Prisma.Prisma__DeviceGroupClient<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more DeviceGroups.
* @param {DeviceGroupDeleteManyArgs} args - Arguments to filter DeviceGroups to delete.
* @example
* // Delete a few DeviceGroups
* const { count } = await prisma.deviceGroup.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends DeviceGroupDeleteManyArgs>(args?: Prisma.SelectSubset<T, DeviceGroupDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more DeviceGroups.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DeviceGroupUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many DeviceGroups
* const deviceGroup = await prisma.deviceGroup.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends DeviceGroupUpdateManyArgs>(args: Prisma.SelectSubset<T, DeviceGroupUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more DeviceGroups and returns the data updated in the database.
* @param {DeviceGroupUpdateManyAndReturnArgs} args - Arguments to update many DeviceGroups.
* @example
* // Update many DeviceGroups
* const deviceGroup = await prisma.deviceGroup.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more DeviceGroups and only return the `id`
* const deviceGroupWithIdOnly = await prisma.deviceGroup.updateManyAndReturn({
* select: { id: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends DeviceGroupUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DeviceGroupUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one DeviceGroup.
* @param {DeviceGroupUpsertArgs} args - Arguments to update or create a DeviceGroup.
* @example
* // Update or create a DeviceGroup
* const deviceGroup = await prisma.deviceGroup.upsert({
* create: {
* // ... data to create a DeviceGroup
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the DeviceGroup we want to update
* }
* })
*/
upsert<T extends DeviceGroupUpsertArgs>(args: Prisma.SelectSubset<T, DeviceGroupUpsertArgs<ExtArgs>>): Prisma.Prisma__DeviceGroupClient<runtime.Types.Result.GetResult<Prisma.$DeviceGroupPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of DeviceGroups.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DeviceGroupCountArgs} args - Arguments to filter DeviceGroups to count.
* @example
* // Count the number of DeviceGroups
* const count = await prisma.deviceGroup.count({
* where: {
* // ... the filter for the DeviceGroups we want to count
* }
* })
**/
count<T extends DeviceGroupCountArgs>(
args?: Prisma.Subset<T, DeviceGroupCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], DeviceGroupCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a DeviceGroup.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DeviceGroupAggregateArgs} 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 DeviceGroupAggregateArgs>(args: Prisma.Subset<T, DeviceGroupAggregateArgs>): Prisma.PrismaPromise<GetDeviceGroupAggregateType<T>>
/**
* Group by DeviceGroup.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DeviceGroupGroupByArgs} 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 DeviceGroupGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: DeviceGroupGroupByArgs['orderBy'] }
: { orderBy?: DeviceGroupGroupByArgs['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, DeviceGroupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeviceGroupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the DeviceGroup model
*/
readonly fields: DeviceGroupFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for DeviceGroup.
* 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__DeviceGroupClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
devices<T extends Prisma.DeviceGroup$devicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DeviceGroup$devicesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
/**
* 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 DeviceGroup model
*/
export interface DeviceGroupFieldRefs {
readonly id: Prisma.FieldRef<"DeviceGroup", 'String'>
readonly name: Prisma.FieldRef<"DeviceGroup", 'String'>
}
// Custom InputTypes
/**
* DeviceGroup findUnique
*/
export type DeviceGroupFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelect<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceGroupInclude<ExtArgs> | null
/**
* Filter, which DeviceGroup to fetch.
*/
where: Prisma.DeviceGroupWhereUniqueInput
}
/**
* DeviceGroup findUniqueOrThrow
*/
export type DeviceGroupFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelect<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceGroupInclude<ExtArgs> | null
/**
* Filter, which DeviceGroup to fetch.
*/
where: Prisma.DeviceGroupWhereUniqueInput
}
/**
* DeviceGroup findFirst
*/
export type DeviceGroupFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelect<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceGroupInclude<ExtArgs> | null
/**
* Filter, which DeviceGroup to fetch.
*/
where?: Prisma.DeviceGroupWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DeviceGroups to fetch.
*/
orderBy?: Prisma.DeviceGroupOrderByWithRelationInput | Prisma.DeviceGroupOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for DeviceGroups.
*/
cursor?: Prisma.DeviceGroupWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DeviceGroups 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` DeviceGroups.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of DeviceGroups.
*/
distinct?: Prisma.DeviceGroupScalarFieldEnum | Prisma.DeviceGroupScalarFieldEnum[]
}
/**
* DeviceGroup findFirstOrThrow
*/
export type DeviceGroupFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelect<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceGroupInclude<ExtArgs> | null
/**
* Filter, which DeviceGroup to fetch.
*/
where?: Prisma.DeviceGroupWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DeviceGroups to fetch.
*/
orderBy?: Prisma.DeviceGroupOrderByWithRelationInput | Prisma.DeviceGroupOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for DeviceGroups.
*/
cursor?: Prisma.DeviceGroupWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DeviceGroups 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` DeviceGroups.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of DeviceGroups.
*/
distinct?: Prisma.DeviceGroupScalarFieldEnum | Prisma.DeviceGroupScalarFieldEnum[]
}
/**
* DeviceGroup findMany
*/
export type DeviceGroupFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelect<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceGroupInclude<ExtArgs> | null
/**
* Filter, which DeviceGroups to fetch.
*/
where?: Prisma.DeviceGroupWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DeviceGroups to fetch.
*/
orderBy?: Prisma.DeviceGroupOrderByWithRelationInput | Prisma.DeviceGroupOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing DeviceGroups.
*/
cursor?: Prisma.DeviceGroupWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DeviceGroups 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` DeviceGroups.
*/
skip?: number
distinct?: Prisma.DeviceGroupScalarFieldEnum | Prisma.DeviceGroupScalarFieldEnum[]
}
/**
* DeviceGroup create
*/
export type DeviceGroupCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelect<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceGroupInclude<ExtArgs> | null
/**
* The data needed to create a DeviceGroup.
*/
data: Prisma.XOR<Prisma.DeviceGroupCreateInput, Prisma.DeviceGroupUncheckedCreateInput>
}
/**
* DeviceGroup createMany
*/
export type DeviceGroupCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many DeviceGroups.
*/
data: Prisma.DeviceGroupCreateManyInput | Prisma.DeviceGroupCreateManyInput[]
skipDuplicates?: boolean
}
/**
* DeviceGroup createManyAndReturn
*/
export type DeviceGroupCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* The data used to create many DeviceGroups.
*/
data: Prisma.DeviceGroupCreateManyInput | Prisma.DeviceGroupCreateManyInput[]
skipDuplicates?: boolean
}
/**
* DeviceGroup update
*/
export type DeviceGroupUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelect<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceGroupInclude<ExtArgs> | null
/**
* The data needed to update a DeviceGroup.
*/
data: Prisma.XOR<Prisma.DeviceGroupUpdateInput, Prisma.DeviceGroupUncheckedUpdateInput>
/**
* Choose, which DeviceGroup to update.
*/
where: Prisma.DeviceGroupWhereUniqueInput
}
/**
* DeviceGroup updateMany
*/
export type DeviceGroupUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update DeviceGroups.
*/
data: Prisma.XOR<Prisma.DeviceGroupUpdateManyMutationInput, Prisma.DeviceGroupUncheckedUpdateManyInput>
/**
* Filter which DeviceGroups to update
*/
where?: Prisma.DeviceGroupWhereInput
/**
* Limit how many DeviceGroups to update.
*/
limit?: number
}
/**
* DeviceGroup updateManyAndReturn
*/
export type DeviceGroupUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* The data used to update DeviceGroups.
*/
data: Prisma.XOR<Prisma.DeviceGroupUpdateManyMutationInput, Prisma.DeviceGroupUncheckedUpdateManyInput>
/**
* Filter which DeviceGroups to update
*/
where?: Prisma.DeviceGroupWhereInput
/**
* Limit how many DeviceGroups to update.
*/
limit?: number
}
/**
* DeviceGroup upsert
*/
export type DeviceGroupUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelect<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceGroupInclude<ExtArgs> | null
/**
* The filter to search for the DeviceGroup to update in case it exists.
*/
where: Prisma.DeviceGroupWhereUniqueInput
/**
* In case the DeviceGroup found by the `where` argument doesn't exist, create a new DeviceGroup with this data.
*/
create: Prisma.XOR<Prisma.DeviceGroupCreateInput, Prisma.DeviceGroupUncheckedCreateInput>
/**
* In case the DeviceGroup was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.DeviceGroupUpdateInput, Prisma.DeviceGroupUncheckedUpdateInput>
}
/**
* DeviceGroup delete
*/
export type DeviceGroupDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelect<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceGroupInclude<ExtArgs> | null
/**
* Filter which DeviceGroup to delete.
*/
where: Prisma.DeviceGroupWhereUniqueInput
}
/**
* DeviceGroup deleteMany
*/
export type DeviceGroupDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which DeviceGroups to delete
*/
where?: Prisma.DeviceGroupWhereInput
/**
* Limit how many DeviceGroups to delete.
*/
limit?: number
}
/**
* DeviceGroup.devices
*/
export type DeviceGroup$devicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Device
*/
select?: Prisma.DeviceSelect<ExtArgs> | null
/**
* Omit specific fields from the Device
*/
omit?: Prisma.DeviceOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceInclude<ExtArgs> | null
where?: Prisma.DeviceWhereInput
orderBy?: Prisma.DeviceOrderByWithRelationInput | Prisma.DeviceOrderByWithRelationInput[]
cursor?: Prisma.DeviceWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.DeviceScalarFieldEnum | Prisma.DeviceScalarFieldEnum[]
}
/**
* DeviceGroup without action
*/
export type DeviceGroupDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DeviceGroup
*/
select?: Prisma.DeviceGroupSelect<ExtArgs> | null
/**
* Omit specific fields from the DeviceGroup
*/
omit?: Prisma.DeviceGroupOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DeviceGroupInclude<ExtArgs> | null
}