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

1404 lines
46 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 `device` 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 device
*
*/
export type deviceModel = runtime.Types.Result.DefaultSelection<Prisma.$devicePayload>
export type AggregateDevice = {
_count: DeviceCountAggregateOutputType | null
_avg: DeviceAvgAggregateOutputType | null
_sum: DeviceSumAggregateOutputType | null
_min: DeviceMinAggregateOutputType | null
_max: DeviceMaxAggregateOutputType | null
}
export type DeviceAvgAggregateOutputType = {
id: number | null
delivery_id: number | null
parent: number | null
}
export type DeviceSumAggregateOutputType = {
id: number | null
delivery_id: number | null
parent: number | null
}
export type DeviceMinAggregateOutputType = {
id: number | null
delivery_id: number | null
category: string | null
name: string | null
manufacturier: string | null
model: string | null
sn: string | null
mac: string | null
manage: string | null
port: string | null
protocol: string | null
manage_cli: string | null
port_cli: string | null
protocol_cli: string | null
user: string | null
pass: string | null
parent: number | null
}
export type DeviceMaxAggregateOutputType = {
id: number | null
delivery_id: number | null
category: string | null
name: string | null
manufacturier: string | null
model: string | null
sn: string | null
mac: string | null
manage: string | null
port: string | null
protocol: string | null
manage_cli: string | null
port_cli: string | null
protocol_cli: string | null
user: string | null
pass: string | null
parent: number | null
}
export type DeviceCountAggregateOutputType = {
id: number
delivery_id: number
category: number
name: number
manufacturier: number
model: number
sn: number
mac: number
manage: number
port: number
protocol: number
manage_cli: number
port_cli: number
protocol_cli: number
user: number
pass: number
parent: number
_all: number
}
export type DeviceAvgAggregateInputType = {
id?: true
delivery_id?: true
parent?: true
}
export type DeviceSumAggregateInputType = {
id?: true
delivery_id?: true
parent?: true
}
export type DeviceMinAggregateInputType = {
id?: true
delivery_id?: true
category?: true
name?: true
manufacturier?: true
model?: true
sn?: true
mac?: true
manage?: true
port?: true
protocol?: true
manage_cli?: true
port_cli?: true
protocol_cli?: true
user?: true
pass?: true
parent?: true
}
export type DeviceMaxAggregateInputType = {
id?: true
delivery_id?: true
category?: true
name?: true
manufacturier?: true
model?: true
sn?: true
mac?: true
manage?: true
port?: true
protocol?: true
manage_cli?: true
port_cli?: true
protocol_cli?: true
user?: true
pass?: true
parent?: true
}
export type DeviceCountAggregateInputType = {
id?: true
delivery_id?: true
category?: true
name?: true
manufacturier?: true
model?: true
sn?: true
mac?: true
manage?: true
port?: true
protocol?: true
manage_cli?: true
port_cli?: true
protocol_cli?: true
user?: true
pass?: true
parent?: true
_all?: true
}
export type DeviceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which device to aggregate.
*/
where?: Prisma.deviceWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of devices to fetch.
*/
orderBy?: Prisma.deviceOrderByWithRelationInput | Prisma.deviceOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.deviceWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` devices 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` devices.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned devices
**/
_count?: true | DeviceCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: DeviceAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: DeviceSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: DeviceMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: DeviceMaxAggregateInputType
}
export type GetDeviceAggregateType<T extends DeviceAggregateArgs> = {
[P in keyof T & keyof AggregateDevice]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateDevice[P]>
: Prisma.GetScalarType<T[P], AggregateDevice[P]>
}
export type deviceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.deviceWhereInput
orderBy?: Prisma.deviceOrderByWithAggregationInput | Prisma.deviceOrderByWithAggregationInput[]
by: Prisma.DeviceScalarFieldEnum[] | Prisma.DeviceScalarFieldEnum
having?: Prisma.deviceScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: DeviceCountAggregateInputType | true
_avg?: DeviceAvgAggregateInputType
_sum?: DeviceSumAggregateInputType
_min?: DeviceMinAggregateInputType
_max?: DeviceMaxAggregateInputType
}
export type DeviceGroupByOutputType = {
id: number
delivery_id: number
category: string
name: string
manufacturier: string | null
model: string | null
sn: string | null
mac: string | null
manage: string
port: string
protocol: string
manage_cli: string
port_cli: string
protocol_cli: string
user: string
pass: string
parent: number
_count: DeviceCountAggregateOutputType | null
_avg: DeviceAvgAggregateOutputType | null
_sum: DeviceSumAggregateOutputType | null
_min: DeviceMinAggregateOutputType | null
_max: DeviceMaxAggregateOutputType | null
}
type GetDeviceGroupByPayload<T extends deviceGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<DeviceGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof DeviceGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], DeviceGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], DeviceGroupByOutputType[P]>
}
>
>
export type deviceWhereInput = {
AND?: Prisma.deviceWhereInput | Prisma.deviceWhereInput[]
OR?: Prisma.deviceWhereInput[]
NOT?: Prisma.deviceWhereInput | Prisma.deviceWhereInput[]
id?: Prisma.IntFilter<"device"> | number
delivery_id?: Prisma.IntFilter<"device"> | number
category?: Prisma.StringFilter<"device"> | string
name?: Prisma.StringFilter<"device"> | string
manufacturier?: Prisma.StringNullableFilter<"device"> | string | null
model?: Prisma.StringNullableFilter<"device"> | string | null
sn?: Prisma.StringNullableFilter<"device"> | string | null
mac?: Prisma.StringNullableFilter<"device"> | string | null
manage?: Prisma.StringFilter<"device"> | string
port?: Prisma.StringFilter<"device"> | string
protocol?: Prisma.StringFilter<"device"> | string
manage_cli?: Prisma.StringFilter<"device"> | string
port_cli?: Prisma.StringFilter<"device"> | string
protocol_cli?: Prisma.StringFilter<"device"> | string
user?: Prisma.StringFilter<"device"> | string
pass?: Prisma.StringFilter<"device"> | string
parent?: Prisma.IntFilter<"device"> | number
}
export type deviceOrderByWithRelationInput = {
id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
category?: Prisma.SortOrder
name?: Prisma.SortOrder
manufacturier?: Prisma.SortOrderInput | Prisma.SortOrder
model?: Prisma.SortOrderInput | Prisma.SortOrder
sn?: Prisma.SortOrderInput | Prisma.SortOrder
mac?: Prisma.SortOrderInput | Prisma.SortOrder
manage?: Prisma.SortOrder
port?: Prisma.SortOrder
protocol?: Prisma.SortOrder
manage_cli?: Prisma.SortOrder
port_cli?: Prisma.SortOrder
protocol_cli?: Prisma.SortOrder
user?: Prisma.SortOrder
pass?: Prisma.SortOrder
parent?: Prisma.SortOrder
_relevance?: Prisma.deviceOrderByRelevanceInput
}
export type deviceWhereUniqueInput = Prisma.AtLeast<{
id?: number
AND?: Prisma.deviceWhereInput | Prisma.deviceWhereInput[]
OR?: Prisma.deviceWhereInput[]
NOT?: Prisma.deviceWhereInput | Prisma.deviceWhereInput[]
delivery_id?: Prisma.IntFilter<"device"> | number
category?: Prisma.StringFilter<"device"> | string
name?: Prisma.StringFilter<"device"> | string
manufacturier?: Prisma.StringNullableFilter<"device"> | string | null
model?: Prisma.StringNullableFilter<"device"> | string | null
sn?: Prisma.StringNullableFilter<"device"> | string | null
mac?: Prisma.StringNullableFilter<"device"> | string | null
manage?: Prisma.StringFilter<"device"> | string
port?: Prisma.StringFilter<"device"> | string
protocol?: Prisma.StringFilter<"device"> | string
manage_cli?: Prisma.StringFilter<"device"> | string
port_cli?: Prisma.StringFilter<"device"> | string
protocol_cli?: Prisma.StringFilter<"device"> | string
user?: Prisma.StringFilter<"device"> | string
pass?: Prisma.StringFilter<"device"> | string
parent?: Prisma.IntFilter<"device"> | number
}, "id">
export type deviceOrderByWithAggregationInput = {
id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
category?: Prisma.SortOrder
name?: Prisma.SortOrder
manufacturier?: Prisma.SortOrderInput | Prisma.SortOrder
model?: Prisma.SortOrderInput | Prisma.SortOrder
sn?: Prisma.SortOrderInput | Prisma.SortOrder
mac?: Prisma.SortOrderInput | Prisma.SortOrder
manage?: Prisma.SortOrder
port?: Prisma.SortOrder
protocol?: Prisma.SortOrder
manage_cli?: Prisma.SortOrder
port_cli?: Prisma.SortOrder
protocol_cli?: Prisma.SortOrder
user?: Prisma.SortOrder
pass?: Prisma.SortOrder
parent?: Prisma.SortOrder
_count?: Prisma.deviceCountOrderByAggregateInput
_avg?: Prisma.deviceAvgOrderByAggregateInput
_max?: Prisma.deviceMaxOrderByAggregateInput
_min?: Prisma.deviceMinOrderByAggregateInput
_sum?: Prisma.deviceSumOrderByAggregateInput
}
export type deviceScalarWhereWithAggregatesInput = {
AND?: Prisma.deviceScalarWhereWithAggregatesInput | Prisma.deviceScalarWhereWithAggregatesInput[]
OR?: Prisma.deviceScalarWhereWithAggregatesInput[]
NOT?: Prisma.deviceScalarWhereWithAggregatesInput | Prisma.deviceScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"device"> | number
delivery_id?: Prisma.IntWithAggregatesFilter<"device"> | number
category?: Prisma.StringWithAggregatesFilter<"device"> | string
name?: Prisma.StringWithAggregatesFilter<"device"> | string
manufacturier?: Prisma.StringNullableWithAggregatesFilter<"device"> | string | null
model?: Prisma.StringNullableWithAggregatesFilter<"device"> | string | null
sn?: Prisma.StringNullableWithAggregatesFilter<"device"> | string | null
mac?: Prisma.StringNullableWithAggregatesFilter<"device"> | string | null
manage?: Prisma.StringWithAggregatesFilter<"device"> | string
port?: Prisma.StringWithAggregatesFilter<"device"> | string
protocol?: Prisma.StringWithAggregatesFilter<"device"> | string
manage_cli?: Prisma.StringWithAggregatesFilter<"device"> | string
port_cli?: Prisma.StringWithAggregatesFilter<"device"> | string
protocol_cli?: Prisma.StringWithAggregatesFilter<"device"> | string
user?: Prisma.StringWithAggregatesFilter<"device"> | string
pass?: Prisma.StringWithAggregatesFilter<"device"> | string
parent?: Prisma.IntWithAggregatesFilter<"device"> | number
}
export type deviceCreateInput = {
delivery_id: number
category: string
name: string
manufacturier?: string | null
model?: string | null
sn?: string | null
mac?: string | null
manage: string
port?: string
protocol?: string
manage_cli: string
port_cli?: string
protocol_cli: string
user: string
pass: string
parent?: number
}
export type deviceUncheckedCreateInput = {
id?: number
delivery_id: number
category: string
name: string
manufacturier?: string | null
model?: string | null
sn?: string | null
mac?: string | null
manage: string
port?: string
protocol?: string
manage_cli: string
port_cli?: string
protocol_cli: string
user: string
pass: string
parent?: number
}
export type deviceUpdateInput = {
delivery_id?: Prisma.IntFieldUpdateOperationsInput | number
category?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
manufacturier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sn?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
mac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
manage?: Prisma.StringFieldUpdateOperationsInput | string
port?: Prisma.StringFieldUpdateOperationsInput | string
protocol?: Prisma.StringFieldUpdateOperationsInput | string
manage_cli?: Prisma.StringFieldUpdateOperationsInput | string
port_cli?: Prisma.StringFieldUpdateOperationsInput | string
protocol_cli?: Prisma.StringFieldUpdateOperationsInput | string
user?: Prisma.StringFieldUpdateOperationsInput | string
pass?: Prisma.StringFieldUpdateOperationsInput | string
parent?: Prisma.IntFieldUpdateOperationsInput | number
}
export type deviceUncheckedUpdateInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
delivery_id?: Prisma.IntFieldUpdateOperationsInput | number
category?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
manufacturier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sn?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
mac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
manage?: Prisma.StringFieldUpdateOperationsInput | string
port?: Prisma.StringFieldUpdateOperationsInput | string
protocol?: Prisma.StringFieldUpdateOperationsInput | string
manage_cli?: Prisma.StringFieldUpdateOperationsInput | string
port_cli?: Prisma.StringFieldUpdateOperationsInput | string
protocol_cli?: Prisma.StringFieldUpdateOperationsInput | string
user?: Prisma.StringFieldUpdateOperationsInput | string
pass?: Prisma.StringFieldUpdateOperationsInput | string
parent?: Prisma.IntFieldUpdateOperationsInput | number
}
export type deviceCreateManyInput = {
id?: number
delivery_id: number
category: string
name: string
manufacturier?: string | null
model?: string | null
sn?: string | null
mac?: string | null
manage: string
port?: string
protocol?: string
manage_cli: string
port_cli?: string
protocol_cli: string
user: string
pass: string
parent?: number
}
export type deviceUpdateManyMutationInput = {
delivery_id?: Prisma.IntFieldUpdateOperationsInput | number
category?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
manufacturier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sn?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
mac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
manage?: Prisma.StringFieldUpdateOperationsInput | string
port?: Prisma.StringFieldUpdateOperationsInput | string
protocol?: Prisma.StringFieldUpdateOperationsInput | string
manage_cli?: Prisma.StringFieldUpdateOperationsInput | string
port_cli?: Prisma.StringFieldUpdateOperationsInput | string
protocol_cli?: Prisma.StringFieldUpdateOperationsInput | string
user?: Prisma.StringFieldUpdateOperationsInput | string
pass?: Prisma.StringFieldUpdateOperationsInput | string
parent?: Prisma.IntFieldUpdateOperationsInput | number
}
export type deviceUncheckedUpdateManyInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
delivery_id?: Prisma.IntFieldUpdateOperationsInput | number
category?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
manufacturier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sn?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
mac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
manage?: Prisma.StringFieldUpdateOperationsInput | string
port?: Prisma.StringFieldUpdateOperationsInput | string
protocol?: Prisma.StringFieldUpdateOperationsInput | string
manage_cli?: Prisma.StringFieldUpdateOperationsInput | string
port_cli?: Prisma.StringFieldUpdateOperationsInput | string
protocol_cli?: Prisma.StringFieldUpdateOperationsInput | string
user?: Prisma.StringFieldUpdateOperationsInput | string
pass?: Prisma.StringFieldUpdateOperationsInput | string
parent?: Prisma.IntFieldUpdateOperationsInput | number
}
export type deviceOrderByRelevanceInput = {
fields: Prisma.deviceOrderByRelevanceFieldEnum | Prisma.deviceOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type deviceCountOrderByAggregateInput = {
id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
category?: Prisma.SortOrder
name?: Prisma.SortOrder
manufacturier?: Prisma.SortOrder
model?: Prisma.SortOrder
sn?: Prisma.SortOrder
mac?: Prisma.SortOrder
manage?: Prisma.SortOrder
port?: Prisma.SortOrder
protocol?: Prisma.SortOrder
manage_cli?: Prisma.SortOrder
port_cli?: Prisma.SortOrder
protocol_cli?: Prisma.SortOrder
user?: Prisma.SortOrder
pass?: Prisma.SortOrder
parent?: Prisma.SortOrder
}
export type deviceAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
parent?: Prisma.SortOrder
}
export type deviceMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
category?: Prisma.SortOrder
name?: Prisma.SortOrder
manufacturier?: Prisma.SortOrder
model?: Prisma.SortOrder
sn?: Prisma.SortOrder
mac?: Prisma.SortOrder
manage?: Prisma.SortOrder
port?: Prisma.SortOrder
protocol?: Prisma.SortOrder
manage_cli?: Prisma.SortOrder
port_cli?: Prisma.SortOrder
protocol_cli?: Prisma.SortOrder
user?: Prisma.SortOrder
pass?: Prisma.SortOrder
parent?: Prisma.SortOrder
}
export type deviceMinOrderByAggregateInput = {
id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
category?: Prisma.SortOrder
name?: Prisma.SortOrder
manufacturier?: Prisma.SortOrder
model?: Prisma.SortOrder
sn?: Prisma.SortOrder
mac?: Prisma.SortOrder
manage?: Prisma.SortOrder
port?: Prisma.SortOrder
protocol?: Prisma.SortOrder
manage_cli?: Prisma.SortOrder
port_cli?: Prisma.SortOrder
protocol_cli?: Prisma.SortOrder
user?: Prisma.SortOrder
pass?: Prisma.SortOrder
parent?: Prisma.SortOrder
}
export type deviceSumOrderByAggregateInput = {
id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
parent?: Prisma.SortOrder
}
export type deviceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
delivery_id?: boolean
category?: boolean
name?: boolean
manufacturier?: boolean
model?: boolean
sn?: boolean
mac?: boolean
manage?: boolean
port?: boolean
protocol?: boolean
manage_cli?: boolean
port_cli?: boolean
protocol_cli?: boolean
user?: boolean
pass?: boolean
parent?: boolean
}, ExtArgs["result"]["device"]>
export type deviceSelectScalar = {
id?: boolean
delivery_id?: boolean
category?: boolean
name?: boolean
manufacturier?: boolean
model?: boolean
sn?: boolean
mac?: boolean
manage?: boolean
port?: boolean
protocol?: boolean
manage_cli?: boolean
port_cli?: boolean
protocol_cli?: boolean
user?: boolean
pass?: boolean
parent?: boolean
}
export type deviceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "delivery_id" | "category" | "name" | "manufacturier" | "model" | "sn" | "mac" | "manage" | "port" | "protocol" | "manage_cli" | "port_cli" | "protocol_cli" | "user" | "pass" | "parent", ExtArgs["result"]["device"]>
export type $devicePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "device"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: number
delivery_id: number
category: string
name: string
manufacturier: string | null
model: string | null
sn: string | null
mac: string | null
manage: string
port: string
protocol: string
manage_cli: string
port_cli: string
protocol_cli: string
user: string
pass: string
parent: number
}, ExtArgs["result"]["device"]>
composites: {}
}
export type deviceGetPayload<S extends boolean | null | undefined | deviceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$devicePayload, S>
export type deviceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<deviceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: DeviceCountAggregateInputType | true
}
export interface deviceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['device'], meta: { name: 'device' } }
/**
* Find zero or one Device that matches the filter.
* @param {deviceFindUniqueArgs} args - Arguments to find a Device
* @example
* // Get one Device
* const device = await prisma.device.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends deviceFindUniqueArgs>(args: Prisma.SelectSubset<T, deviceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__deviceClient<runtime.Types.Result.GetResult<Prisma.$devicePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Device that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {deviceFindUniqueOrThrowArgs} args - Arguments to find a Device
* @example
* // Get one Device
* const device = await prisma.device.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends deviceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, deviceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__deviceClient<runtime.Types.Result.GetResult<Prisma.$devicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Device 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 {deviceFindFirstArgs} args - Arguments to find a Device
* @example
* // Get one Device
* const device = await prisma.device.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends deviceFindFirstArgs>(args?: Prisma.SelectSubset<T, deviceFindFirstArgs<ExtArgs>>): Prisma.Prisma__deviceClient<runtime.Types.Result.GetResult<Prisma.$devicePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Device 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 {deviceFindFirstOrThrowArgs} args - Arguments to find a Device
* @example
* // Get one Device
* const device = await prisma.device.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends deviceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, deviceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__deviceClient<runtime.Types.Result.GetResult<Prisma.$devicePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Devices 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 {deviceFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Devices
* const devices = await prisma.device.findMany()
*
* // Get first 10 Devices
* const devices = await prisma.device.findMany({ take: 10 })
*
* // Only select the `id`
* const deviceWithIdOnly = await prisma.device.findMany({ select: { id: true } })
*
*/
findMany<T extends deviceFindManyArgs>(args?: Prisma.SelectSubset<T, deviceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$devicePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Device.
* @param {deviceCreateArgs} args - Arguments to create a Device.
* @example
* // Create one Device
* const Device = await prisma.device.create({
* data: {
* // ... data to create a Device
* }
* })
*
*/
create<T extends deviceCreateArgs>(args: Prisma.SelectSubset<T, deviceCreateArgs<ExtArgs>>): Prisma.Prisma__deviceClient<runtime.Types.Result.GetResult<Prisma.$devicePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Devices.
* @param {deviceCreateManyArgs} args - Arguments to create many Devices.
* @example
* // Create many Devices
* const device = await prisma.device.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends deviceCreateManyArgs>(args?: Prisma.SelectSubset<T, deviceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Device.
* @param {deviceDeleteArgs} args - Arguments to delete one Device.
* @example
* // Delete one Device
* const Device = await prisma.device.delete({
* where: {
* // ... filter to delete one Device
* }
* })
*
*/
delete<T extends deviceDeleteArgs>(args: Prisma.SelectSubset<T, deviceDeleteArgs<ExtArgs>>): Prisma.Prisma__deviceClient<runtime.Types.Result.GetResult<Prisma.$devicePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Device.
* @param {deviceUpdateArgs} args - Arguments to update one Device.
* @example
* // Update one Device
* const device = await prisma.device.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends deviceUpdateArgs>(args: Prisma.SelectSubset<T, deviceUpdateArgs<ExtArgs>>): Prisma.Prisma__deviceClient<runtime.Types.Result.GetResult<Prisma.$devicePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Devices.
* @param {deviceDeleteManyArgs} args - Arguments to filter Devices to delete.
* @example
* // Delete a few Devices
* const { count } = await prisma.device.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends deviceDeleteManyArgs>(args?: Prisma.SelectSubset<T, deviceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Devices.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {deviceUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Devices
* const device = await prisma.device.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends deviceUpdateManyArgs>(args: Prisma.SelectSubset<T, deviceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Device.
* @param {deviceUpsertArgs} args - Arguments to update or create a Device.
* @example
* // Update or create a Device
* const device = await prisma.device.upsert({
* create: {
* // ... data to create a Device
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Device we want to update
* }
* })
*/
upsert<T extends deviceUpsertArgs>(args: Prisma.SelectSubset<T, deviceUpsertArgs<ExtArgs>>): Prisma.Prisma__deviceClient<runtime.Types.Result.GetResult<Prisma.$devicePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Devices.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {deviceCountArgs} args - Arguments to filter Devices to count.
* @example
* // Count the number of Devices
* const count = await prisma.device.count({
* where: {
* // ... the filter for the Devices we want to count
* }
* })
**/
count<T extends deviceCountArgs>(
args?: Prisma.Subset<T, deviceCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], DeviceCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Device.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DeviceAggregateArgs} 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 DeviceAggregateArgs>(args: Prisma.Subset<T, DeviceAggregateArgs>): Prisma.PrismaPromise<GetDeviceAggregateType<T>>
/**
* Group by Device.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {deviceGroupByArgs} 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 deviceGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: deviceGroupByArgs['orderBy'] }
: { orderBy?: deviceGroupByArgs['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, deviceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeviceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the device model
*/
readonly fields: deviceFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for device.
* 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__deviceClient<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 device model
*/
export interface deviceFieldRefs {
readonly id: Prisma.FieldRef<"device", 'Int'>
readonly delivery_id: Prisma.FieldRef<"device", 'Int'>
readonly category: Prisma.FieldRef<"device", 'String'>
readonly name: Prisma.FieldRef<"device", 'String'>
readonly manufacturier: Prisma.FieldRef<"device", 'String'>
readonly model: Prisma.FieldRef<"device", 'String'>
readonly sn: Prisma.FieldRef<"device", 'String'>
readonly mac: Prisma.FieldRef<"device", 'String'>
readonly manage: Prisma.FieldRef<"device", 'String'>
readonly port: Prisma.FieldRef<"device", 'String'>
readonly protocol: Prisma.FieldRef<"device", 'String'>
readonly manage_cli: Prisma.FieldRef<"device", 'String'>
readonly port_cli: Prisma.FieldRef<"device", 'String'>
readonly protocol_cli: Prisma.FieldRef<"device", 'String'>
readonly user: Prisma.FieldRef<"device", 'String'>
readonly pass: Prisma.FieldRef<"device", 'String'>
readonly parent: Prisma.FieldRef<"device", 'Int'>
}
// Custom InputTypes
/**
* device findUnique
*/
export type deviceFindUniqueArgs<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
/**
* Filter, which device to fetch.
*/
where: Prisma.deviceWhereUniqueInput
}
/**
* device findUniqueOrThrow
*/
export type deviceFindUniqueOrThrowArgs<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
/**
* Filter, which device to fetch.
*/
where: Prisma.deviceWhereUniqueInput
}
/**
* device findFirst
*/
export type deviceFindFirstArgs<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
/**
* Filter, which device to fetch.
*/
where?: Prisma.deviceWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of devices to fetch.
*/
orderBy?: Prisma.deviceOrderByWithRelationInput | Prisma.deviceOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for devices.
*/
cursor?: Prisma.deviceWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` devices 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` devices.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of devices.
*/
distinct?: Prisma.DeviceScalarFieldEnum | Prisma.DeviceScalarFieldEnum[]
}
/**
* device findFirstOrThrow
*/
export type deviceFindFirstOrThrowArgs<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
/**
* Filter, which device to fetch.
*/
where?: Prisma.deviceWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of devices to fetch.
*/
orderBy?: Prisma.deviceOrderByWithRelationInput | Prisma.deviceOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for devices.
*/
cursor?: Prisma.deviceWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` devices 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` devices.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of devices.
*/
distinct?: Prisma.DeviceScalarFieldEnum | Prisma.DeviceScalarFieldEnum[]
}
/**
* device findMany
*/
export type deviceFindManyArgs<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
/**
* Filter, which devices to fetch.
*/
where?: Prisma.deviceWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of devices to fetch.
*/
orderBy?: Prisma.deviceOrderByWithRelationInput | Prisma.deviceOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing devices.
*/
cursor?: Prisma.deviceWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` devices 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` devices.
*/
skip?: number
distinct?: Prisma.DeviceScalarFieldEnum | Prisma.DeviceScalarFieldEnum[]
}
/**
* device create
*/
export type deviceCreateArgs<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
/**
* The data needed to create a device.
*/
data: Prisma.XOR<Prisma.deviceCreateInput, Prisma.deviceUncheckedCreateInput>
}
/**
* device createMany
*/
export type deviceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many devices.
*/
data: Prisma.deviceCreateManyInput | Prisma.deviceCreateManyInput[]
skipDuplicates?: boolean
}
/**
* device update
*/
export type deviceUpdateArgs<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
/**
* The data needed to update a device.
*/
data: Prisma.XOR<Prisma.deviceUpdateInput, Prisma.deviceUncheckedUpdateInput>
/**
* Choose, which device to update.
*/
where: Prisma.deviceWhereUniqueInput
}
/**
* device updateMany
*/
export type deviceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update devices.
*/
data: Prisma.XOR<Prisma.deviceUpdateManyMutationInput, Prisma.deviceUncheckedUpdateManyInput>
/**
* Filter which devices to update
*/
where?: Prisma.deviceWhereInput
/**
* Limit how many devices to update.
*/
limit?: number
}
/**
* device upsert
*/
export type deviceUpsertArgs<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
/**
* The filter to search for the device to update in case it exists.
*/
where: Prisma.deviceWhereUniqueInput
/**
* In case the device found by the `where` argument doesn't exist, create a new device with this data.
*/
create: Prisma.XOR<Prisma.deviceCreateInput, Prisma.deviceUncheckedCreateInput>
/**
* In case the device was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.deviceUpdateInput, Prisma.deviceUncheckedUpdateInput>
}
/**
* device delete
*/
export type deviceDeleteArgs<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
/**
* Filter which device to delete.
*/
where: Prisma.deviceWhereUniqueInput
}
/**
* device deleteMany
*/
export type deviceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which devices to delete
*/
where?: Prisma.deviceWhereInput
/**
* Limit how many devices to delete.
*/
limit?: number
}
/**
* device without action
*/
export type deviceDefaultArgs<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
}