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

1404 lines
50 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_archive` 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_archive
*
*/
export type device_archiveModel = runtime.Types.Result.DefaultSelection<Prisma.$device_archivePayload>
export type AggregateDevice_archive = {
_count: Device_archiveCountAggregateOutputType | null
_avg: Device_archiveAvgAggregateOutputType | null
_sum: Device_archiveSumAggregateOutputType | null
_min: Device_archiveMinAggregateOutputType | null
_max: Device_archiveMaxAggregateOutputType | null
}
export type Device_archiveAvgAggregateOutputType = {
id: number | null
delivery_id: number | null
parent: number | null
}
export type Device_archiveSumAggregateOutputType = {
id: number | null
delivery_id: number | null
parent: number | null
}
export type Device_archiveMinAggregateOutputType = {
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 Device_archiveMaxAggregateOutputType = {
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 Device_archiveCountAggregateOutputType = {
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 Device_archiveAvgAggregateInputType = {
id?: true
delivery_id?: true
parent?: true
}
export type Device_archiveSumAggregateInputType = {
id?: true
delivery_id?: true
parent?: true
}
export type Device_archiveMinAggregateInputType = {
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 Device_archiveMaxAggregateInputType = {
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 Device_archiveCountAggregateInputType = {
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 Device_archiveAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which device_archive to aggregate.
*/
where?: Prisma.device_archiveWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of device_archives to fetch.
*/
orderBy?: Prisma.device_archiveOrderByWithRelationInput | Prisma.device_archiveOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.device_archiveWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` device_archives 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` device_archives.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned device_archives
**/
_count?: true | Device_archiveCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Device_archiveAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Device_archiveSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Device_archiveMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Device_archiveMaxAggregateInputType
}
export type GetDevice_archiveAggregateType<T extends Device_archiveAggregateArgs> = {
[P in keyof T & keyof AggregateDevice_archive]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateDevice_archive[P]>
: Prisma.GetScalarType<T[P], AggregateDevice_archive[P]>
}
export type device_archiveGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.device_archiveWhereInput
orderBy?: Prisma.device_archiveOrderByWithAggregationInput | Prisma.device_archiveOrderByWithAggregationInput[]
by: Prisma.Device_archiveScalarFieldEnum[] | Prisma.Device_archiveScalarFieldEnum
having?: Prisma.device_archiveScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Device_archiveCountAggregateInputType | true
_avg?: Device_archiveAvgAggregateInputType
_sum?: Device_archiveSumAggregateInputType
_min?: Device_archiveMinAggregateInputType
_max?: Device_archiveMaxAggregateInputType
}
export type Device_archiveGroupByOutputType = {
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: Device_archiveCountAggregateOutputType | null
_avg: Device_archiveAvgAggregateOutputType | null
_sum: Device_archiveSumAggregateOutputType | null
_min: Device_archiveMinAggregateOutputType | null
_max: Device_archiveMaxAggregateOutputType | null
}
type GetDevice_archiveGroupByPayload<T extends device_archiveGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Device_archiveGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Device_archiveGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Device_archiveGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Device_archiveGroupByOutputType[P]>
}
>
>
export type device_archiveWhereInput = {
AND?: Prisma.device_archiveWhereInput | Prisma.device_archiveWhereInput[]
OR?: Prisma.device_archiveWhereInput[]
NOT?: Prisma.device_archiveWhereInput | Prisma.device_archiveWhereInput[]
id?: Prisma.IntFilter<"device_archive"> | number
delivery_id?: Prisma.IntFilter<"device_archive"> | number
category?: Prisma.StringFilter<"device_archive"> | string
name?: Prisma.StringFilter<"device_archive"> | string
manufacturier?: Prisma.StringNullableFilter<"device_archive"> | string | null
model?: Prisma.StringNullableFilter<"device_archive"> | string | null
sn?: Prisma.StringNullableFilter<"device_archive"> | string | null
mac?: Prisma.StringNullableFilter<"device_archive"> | string | null
manage?: Prisma.StringFilter<"device_archive"> | string
port?: Prisma.StringFilter<"device_archive"> | string
protocol?: Prisma.StringFilter<"device_archive"> | string
manage_cli?: Prisma.StringFilter<"device_archive"> | string
port_cli?: Prisma.StringFilter<"device_archive"> | string
protocol_cli?: Prisma.StringFilter<"device_archive"> | string
user?: Prisma.StringFilter<"device_archive"> | string
pass?: Prisma.StringFilter<"device_archive"> | string
parent?: Prisma.IntFilter<"device_archive"> | number
}
export type device_archiveOrderByWithRelationInput = {
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.device_archiveOrderByRelevanceInput
}
export type device_archiveWhereUniqueInput = Prisma.AtLeast<{
id?: number
AND?: Prisma.device_archiveWhereInput | Prisma.device_archiveWhereInput[]
OR?: Prisma.device_archiveWhereInput[]
NOT?: Prisma.device_archiveWhereInput | Prisma.device_archiveWhereInput[]
delivery_id?: Prisma.IntFilter<"device_archive"> | number
category?: Prisma.StringFilter<"device_archive"> | string
name?: Prisma.StringFilter<"device_archive"> | string
manufacturier?: Prisma.StringNullableFilter<"device_archive"> | string | null
model?: Prisma.StringNullableFilter<"device_archive"> | string | null
sn?: Prisma.StringNullableFilter<"device_archive"> | string | null
mac?: Prisma.StringNullableFilter<"device_archive"> | string | null
manage?: Prisma.StringFilter<"device_archive"> | string
port?: Prisma.StringFilter<"device_archive"> | string
protocol?: Prisma.StringFilter<"device_archive"> | string
manage_cli?: Prisma.StringFilter<"device_archive"> | string
port_cli?: Prisma.StringFilter<"device_archive"> | string
protocol_cli?: Prisma.StringFilter<"device_archive"> | string
user?: Prisma.StringFilter<"device_archive"> | string
pass?: Prisma.StringFilter<"device_archive"> | string
parent?: Prisma.IntFilter<"device_archive"> | number
}, "id">
export type device_archiveOrderByWithAggregationInput = {
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.device_archiveCountOrderByAggregateInput
_avg?: Prisma.device_archiveAvgOrderByAggregateInput
_max?: Prisma.device_archiveMaxOrderByAggregateInput
_min?: Prisma.device_archiveMinOrderByAggregateInput
_sum?: Prisma.device_archiveSumOrderByAggregateInput
}
export type device_archiveScalarWhereWithAggregatesInput = {
AND?: Prisma.device_archiveScalarWhereWithAggregatesInput | Prisma.device_archiveScalarWhereWithAggregatesInput[]
OR?: Prisma.device_archiveScalarWhereWithAggregatesInput[]
NOT?: Prisma.device_archiveScalarWhereWithAggregatesInput | Prisma.device_archiveScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"device_archive"> | number
delivery_id?: Prisma.IntWithAggregatesFilter<"device_archive"> | number
category?: Prisma.StringWithAggregatesFilter<"device_archive"> | string
name?: Prisma.StringWithAggregatesFilter<"device_archive"> | string
manufacturier?: Prisma.StringNullableWithAggregatesFilter<"device_archive"> | string | null
model?: Prisma.StringNullableWithAggregatesFilter<"device_archive"> | string | null
sn?: Prisma.StringNullableWithAggregatesFilter<"device_archive"> | string | null
mac?: Prisma.StringNullableWithAggregatesFilter<"device_archive"> | string | null
manage?: Prisma.StringWithAggregatesFilter<"device_archive"> | string
port?: Prisma.StringWithAggregatesFilter<"device_archive"> | string
protocol?: Prisma.StringWithAggregatesFilter<"device_archive"> | string
manage_cli?: Prisma.StringWithAggregatesFilter<"device_archive"> | string
port_cli?: Prisma.StringWithAggregatesFilter<"device_archive"> | string
protocol_cli?: Prisma.StringWithAggregatesFilter<"device_archive"> | string
user?: Prisma.StringWithAggregatesFilter<"device_archive"> | string
pass?: Prisma.StringWithAggregatesFilter<"device_archive"> | string
parent?: Prisma.IntWithAggregatesFilter<"device_archive"> | number
}
export type device_archiveCreateInput = {
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 device_archiveUncheckedCreateInput = {
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 device_archiveUpdateInput = {
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 device_archiveUncheckedUpdateInput = {
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 device_archiveCreateManyInput = {
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 device_archiveUpdateManyMutationInput = {
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 device_archiveUncheckedUpdateManyInput = {
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 device_archiveOrderByRelevanceInput = {
fields: Prisma.device_archiveOrderByRelevanceFieldEnum | Prisma.device_archiveOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type device_archiveCountOrderByAggregateInput = {
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 device_archiveAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
parent?: Prisma.SortOrder
}
export type device_archiveMaxOrderByAggregateInput = {
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 device_archiveMinOrderByAggregateInput = {
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 device_archiveSumOrderByAggregateInput = {
id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
parent?: Prisma.SortOrder
}
export type device_archiveSelect<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_archive"]>
export type device_archiveSelectScalar = {
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 device_archiveOmit<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_archive"]>
export type $device_archivePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "device_archive"
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_archive"]>
composites: {}
}
export type device_archiveGetPayload<S extends boolean | null | undefined | device_archiveDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$device_archivePayload, S>
export type device_archiveCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<device_archiveFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Device_archiveCountAggregateInputType | true
}
export interface device_archiveDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['device_archive'], meta: { name: 'device_archive' } }
/**
* Find zero or one Device_archive that matches the filter.
* @param {device_archiveFindUniqueArgs} args - Arguments to find a Device_archive
* @example
* // Get one Device_archive
* const device_archive = await prisma.device_archive.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends device_archiveFindUniqueArgs>(args: Prisma.SelectSubset<T, device_archiveFindUniqueArgs<ExtArgs>>): Prisma.Prisma__device_archiveClient<runtime.Types.Result.GetResult<Prisma.$device_archivePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Device_archive that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {device_archiveFindUniqueOrThrowArgs} args - Arguments to find a Device_archive
* @example
* // Get one Device_archive
* const device_archive = await prisma.device_archive.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends device_archiveFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, device_archiveFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__device_archiveClient<runtime.Types.Result.GetResult<Prisma.$device_archivePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Device_archive 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 {device_archiveFindFirstArgs} args - Arguments to find a Device_archive
* @example
* // Get one Device_archive
* const device_archive = await prisma.device_archive.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends device_archiveFindFirstArgs>(args?: Prisma.SelectSubset<T, device_archiveFindFirstArgs<ExtArgs>>): Prisma.Prisma__device_archiveClient<runtime.Types.Result.GetResult<Prisma.$device_archivePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Device_archive 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 {device_archiveFindFirstOrThrowArgs} args - Arguments to find a Device_archive
* @example
* // Get one Device_archive
* const device_archive = await prisma.device_archive.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends device_archiveFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, device_archiveFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__device_archiveClient<runtime.Types.Result.GetResult<Prisma.$device_archivePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Device_archives 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 {device_archiveFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Device_archives
* const device_archives = await prisma.device_archive.findMany()
*
* // Get first 10 Device_archives
* const device_archives = await prisma.device_archive.findMany({ take: 10 })
*
* // Only select the `id`
* const device_archiveWithIdOnly = await prisma.device_archive.findMany({ select: { id: true } })
*
*/
findMany<T extends device_archiveFindManyArgs>(args?: Prisma.SelectSubset<T, device_archiveFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$device_archivePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Device_archive.
* @param {device_archiveCreateArgs} args - Arguments to create a Device_archive.
* @example
* // Create one Device_archive
* const Device_archive = await prisma.device_archive.create({
* data: {
* // ... data to create a Device_archive
* }
* })
*
*/
create<T extends device_archiveCreateArgs>(args: Prisma.SelectSubset<T, device_archiveCreateArgs<ExtArgs>>): Prisma.Prisma__device_archiveClient<runtime.Types.Result.GetResult<Prisma.$device_archivePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Device_archives.
* @param {device_archiveCreateManyArgs} args - Arguments to create many Device_archives.
* @example
* // Create many Device_archives
* const device_archive = await prisma.device_archive.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends device_archiveCreateManyArgs>(args?: Prisma.SelectSubset<T, device_archiveCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Device_archive.
* @param {device_archiveDeleteArgs} args - Arguments to delete one Device_archive.
* @example
* // Delete one Device_archive
* const Device_archive = await prisma.device_archive.delete({
* where: {
* // ... filter to delete one Device_archive
* }
* })
*
*/
delete<T extends device_archiveDeleteArgs>(args: Prisma.SelectSubset<T, device_archiveDeleteArgs<ExtArgs>>): Prisma.Prisma__device_archiveClient<runtime.Types.Result.GetResult<Prisma.$device_archivePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Device_archive.
* @param {device_archiveUpdateArgs} args - Arguments to update one Device_archive.
* @example
* // Update one Device_archive
* const device_archive = await prisma.device_archive.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends device_archiveUpdateArgs>(args: Prisma.SelectSubset<T, device_archiveUpdateArgs<ExtArgs>>): Prisma.Prisma__device_archiveClient<runtime.Types.Result.GetResult<Prisma.$device_archivePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Device_archives.
* @param {device_archiveDeleteManyArgs} args - Arguments to filter Device_archives to delete.
* @example
* // Delete a few Device_archives
* const { count } = await prisma.device_archive.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends device_archiveDeleteManyArgs>(args?: Prisma.SelectSubset<T, device_archiveDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Device_archives.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {device_archiveUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Device_archives
* const device_archive = await prisma.device_archive.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends device_archiveUpdateManyArgs>(args: Prisma.SelectSubset<T, device_archiveUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Device_archive.
* @param {device_archiveUpsertArgs} args - Arguments to update or create a Device_archive.
* @example
* // Update or create a Device_archive
* const device_archive = await prisma.device_archive.upsert({
* create: {
* // ... data to create a Device_archive
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Device_archive we want to update
* }
* })
*/
upsert<T extends device_archiveUpsertArgs>(args: Prisma.SelectSubset<T, device_archiveUpsertArgs<ExtArgs>>): Prisma.Prisma__device_archiveClient<runtime.Types.Result.GetResult<Prisma.$device_archivePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Device_archives.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {device_archiveCountArgs} args - Arguments to filter Device_archives to count.
* @example
* // Count the number of Device_archives
* const count = await prisma.device_archive.count({
* where: {
* // ... the filter for the Device_archives we want to count
* }
* })
**/
count<T extends device_archiveCountArgs>(
args?: Prisma.Subset<T, device_archiveCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Device_archiveCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Device_archive.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Device_archiveAggregateArgs} 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 Device_archiveAggregateArgs>(args: Prisma.Subset<T, Device_archiveAggregateArgs>): Prisma.PrismaPromise<GetDevice_archiveAggregateType<T>>
/**
* Group by Device_archive.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {device_archiveGroupByArgs} 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 device_archiveGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: device_archiveGroupByArgs['orderBy'] }
: { orderBy?: device_archiveGroupByArgs['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, device_archiveGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDevice_archiveGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the device_archive model
*/
readonly fields: device_archiveFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for device_archive.
* 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__device_archiveClient<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_archive model
*/
export interface device_archiveFieldRefs {
readonly id: Prisma.FieldRef<"device_archive", 'Int'>
readonly delivery_id: Prisma.FieldRef<"device_archive", 'Int'>
readonly category: Prisma.FieldRef<"device_archive", 'String'>
readonly name: Prisma.FieldRef<"device_archive", 'String'>
readonly manufacturier: Prisma.FieldRef<"device_archive", 'String'>
readonly model: Prisma.FieldRef<"device_archive", 'String'>
readonly sn: Prisma.FieldRef<"device_archive", 'String'>
readonly mac: Prisma.FieldRef<"device_archive", 'String'>
readonly manage: Prisma.FieldRef<"device_archive", 'String'>
readonly port: Prisma.FieldRef<"device_archive", 'String'>
readonly protocol: Prisma.FieldRef<"device_archive", 'String'>
readonly manage_cli: Prisma.FieldRef<"device_archive", 'String'>
readonly port_cli: Prisma.FieldRef<"device_archive", 'String'>
readonly protocol_cli: Prisma.FieldRef<"device_archive", 'String'>
readonly user: Prisma.FieldRef<"device_archive", 'String'>
readonly pass: Prisma.FieldRef<"device_archive", 'String'>
readonly parent: Prisma.FieldRef<"device_archive", 'Int'>
}
// Custom InputTypes
/**
* device_archive findUnique
*/
export type device_archiveFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the device_archive
*/
select?: Prisma.device_archiveSelect<ExtArgs> | null
/**
* Omit specific fields from the device_archive
*/
omit?: Prisma.device_archiveOmit<ExtArgs> | null
/**
* Filter, which device_archive to fetch.
*/
where: Prisma.device_archiveWhereUniqueInput
}
/**
* device_archive findUniqueOrThrow
*/
export type device_archiveFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the device_archive
*/
select?: Prisma.device_archiveSelect<ExtArgs> | null
/**
* Omit specific fields from the device_archive
*/
omit?: Prisma.device_archiveOmit<ExtArgs> | null
/**
* Filter, which device_archive to fetch.
*/
where: Prisma.device_archiveWhereUniqueInput
}
/**
* device_archive findFirst
*/
export type device_archiveFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the device_archive
*/
select?: Prisma.device_archiveSelect<ExtArgs> | null
/**
* Omit specific fields from the device_archive
*/
omit?: Prisma.device_archiveOmit<ExtArgs> | null
/**
* Filter, which device_archive to fetch.
*/
where?: Prisma.device_archiveWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of device_archives to fetch.
*/
orderBy?: Prisma.device_archiveOrderByWithRelationInput | Prisma.device_archiveOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for device_archives.
*/
cursor?: Prisma.device_archiveWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` device_archives 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` device_archives.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of device_archives.
*/
distinct?: Prisma.Device_archiveScalarFieldEnum | Prisma.Device_archiveScalarFieldEnum[]
}
/**
* device_archive findFirstOrThrow
*/
export type device_archiveFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the device_archive
*/
select?: Prisma.device_archiveSelect<ExtArgs> | null
/**
* Omit specific fields from the device_archive
*/
omit?: Prisma.device_archiveOmit<ExtArgs> | null
/**
* Filter, which device_archive to fetch.
*/
where?: Prisma.device_archiveWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of device_archives to fetch.
*/
orderBy?: Prisma.device_archiveOrderByWithRelationInput | Prisma.device_archiveOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for device_archives.
*/
cursor?: Prisma.device_archiveWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` device_archives 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` device_archives.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of device_archives.
*/
distinct?: Prisma.Device_archiveScalarFieldEnum | Prisma.Device_archiveScalarFieldEnum[]
}
/**
* device_archive findMany
*/
export type device_archiveFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the device_archive
*/
select?: Prisma.device_archiveSelect<ExtArgs> | null
/**
* Omit specific fields from the device_archive
*/
omit?: Prisma.device_archiveOmit<ExtArgs> | null
/**
* Filter, which device_archives to fetch.
*/
where?: Prisma.device_archiveWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of device_archives to fetch.
*/
orderBy?: Prisma.device_archiveOrderByWithRelationInput | Prisma.device_archiveOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing device_archives.
*/
cursor?: Prisma.device_archiveWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` device_archives 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` device_archives.
*/
skip?: number
distinct?: Prisma.Device_archiveScalarFieldEnum | Prisma.Device_archiveScalarFieldEnum[]
}
/**
* device_archive create
*/
export type device_archiveCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the device_archive
*/
select?: Prisma.device_archiveSelect<ExtArgs> | null
/**
* Omit specific fields from the device_archive
*/
omit?: Prisma.device_archiveOmit<ExtArgs> | null
/**
* The data needed to create a device_archive.
*/
data: Prisma.XOR<Prisma.device_archiveCreateInput, Prisma.device_archiveUncheckedCreateInput>
}
/**
* device_archive createMany
*/
export type device_archiveCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many device_archives.
*/
data: Prisma.device_archiveCreateManyInput | Prisma.device_archiveCreateManyInput[]
skipDuplicates?: boolean
}
/**
* device_archive update
*/
export type device_archiveUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the device_archive
*/
select?: Prisma.device_archiveSelect<ExtArgs> | null
/**
* Omit specific fields from the device_archive
*/
omit?: Prisma.device_archiveOmit<ExtArgs> | null
/**
* The data needed to update a device_archive.
*/
data: Prisma.XOR<Prisma.device_archiveUpdateInput, Prisma.device_archiveUncheckedUpdateInput>
/**
* Choose, which device_archive to update.
*/
where: Prisma.device_archiveWhereUniqueInput
}
/**
* device_archive updateMany
*/
export type device_archiveUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update device_archives.
*/
data: Prisma.XOR<Prisma.device_archiveUpdateManyMutationInput, Prisma.device_archiveUncheckedUpdateManyInput>
/**
* Filter which device_archives to update
*/
where?: Prisma.device_archiveWhereInput
/**
* Limit how many device_archives to update.
*/
limit?: number
}
/**
* device_archive upsert
*/
export type device_archiveUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the device_archive
*/
select?: Prisma.device_archiveSelect<ExtArgs> | null
/**
* Omit specific fields from the device_archive
*/
omit?: Prisma.device_archiveOmit<ExtArgs> | null
/**
* The filter to search for the device_archive to update in case it exists.
*/
where: Prisma.device_archiveWhereUniqueInput
/**
* In case the device_archive found by the `where` argument doesn't exist, create a new device_archive with this data.
*/
create: Prisma.XOR<Prisma.device_archiveCreateInput, Prisma.device_archiveUncheckedCreateInput>
/**
* In case the device_archive was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.device_archiveUpdateInput, Prisma.device_archiveUncheckedUpdateInput>
}
/**
* device_archive delete
*/
export type device_archiveDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the device_archive
*/
select?: Prisma.device_archiveSelect<ExtArgs> | null
/**
* Omit specific fields from the device_archive
*/
omit?: Prisma.device_archiveOmit<ExtArgs> | null
/**
* Filter which device_archive to delete.
*/
where: Prisma.device_archiveWhereUniqueInput
}
/**
* device_archive deleteMany
*/
export type device_archiveDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which device_archives to delete
*/
where?: Prisma.device_archiveWhereInput
/**
* Limit how many device_archives to delete.
*/
limit?: number
}
/**
* device_archive without action
*/
export type device_archiveDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the device_archive
*/
select?: Prisma.device_archiveSelect<ExtArgs> | null
/**
* Omit specific fields from the device_archive
*/
omit?: Prisma.device_archiveOmit<ExtArgs> | null
}