1
1
mirror of https://github.com/ZeroCatDev/ClassworksKV.git synced 2026-02-04 07:44:40 +00:00
2026-02-01 20:08:13 +08:00

1461 lines
52 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 `AutoAuth` 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 AutoAuth
*
*/
export type AutoAuthModel = runtime.Types.Result.DefaultSelection<Prisma.$AutoAuthPayload>
export type AggregateAutoAuth = {
_count: AutoAuthCountAggregateOutputType | null
_avg: AutoAuthAvgAggregateOutputType | null
_sum: AutoAuthSumAggregateOutputType | null
_min: AutoAuthMinAggregateOutputType | null
_max: AutoAuthMaxAggregateOutputType | null
}
export type AutoAuthAvgAggregateOutputType = {
deviceId: number | null
}
export type AutoAuthSumAggregateOutputType = {
deviceId: number | null
}
export type AutoAuthMinAggregateOutputType = {
id: string | null
deviceId: number | null
password: string | null
deviceType: string | null
isReadOnly: boolean | null
createdAt: Date | null
updatedAt: Date | null
}
export type AutoAuthMaxAggregateOutputType = {
id: string | null
deviceId: number | null
password: string | null
deviceType: string | null
isReadOnly: boolean | null
createdAt: Date | null
updatedAt: Date | null
}
export type AutoAuthCountAggregateOutputType = {
id: number
deviceId: number
password: number
deviceType: number
isReadOnly: number
createdAt: number
updatedAt: number
_all: number
}
export type AutoAuthAvgAggregateInputType = {
deviceId?: true
}
export type AutoAuthSumAggregateInputType = {
deviceId?: true
}
export type AutoAuthMinAggregateInputType = {
id?: true
deviceId?: true
password?: true
deviceType?: true
isReadOnly?: true
createdAt?: true
updatedAt?: true
}
export type AutoAuthMaxAggregateInputType = {
id?: true
deviceId?: true
password?: true
deviceType?: true
isReadOnly?: true
createdAt?: true
updatedAt?: true
}
export type AutoAuthCountAggregateInputType = {
id?: true
deviceId?: true
password?: true
deviceType?: true
isReadOnly?: true
createdAt?: true
updatedAt?: true
_all?: true
}
export type AutoAuthAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AutoAuth to aggregate.
*/
where?: Prisma.AutoAuthWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AutoAuths to fetch.
*/
orderBy?: Prisma.AutoAuthOrderByWithRelationInput | Prisma.AutoAuthOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AutoAuthWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AutoAuths 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` AutoAuths.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AutoAuths
**/
_count?: true | AutoAuthCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: AutoAuthAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: AutoAuthSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AutoAuthMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AutoAuthMaxAggregateInputType
}
export type GetAutoAuthAggregateType<T extends AutoAuthAggregateArgs> = {
[P in keyof T & keyof AggregateAutoAuth]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAutoAuth[P]>
: Prisma.GetScalarType<T[P], AggregateAutoAuth[P]>
}
export type AutoAuthGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AutoAuthWhereInput
orderBy?: Prisma.AutoAuthOrderByWithAggregationInput | Prisma.AutoAuthOrderByWithAggregationInput[]
by: Prisma.AutoAuthScalarFieldEnum[] | Prisma.AutoAuthScalarFieldEnum
having?: Prisma.AutoAuthScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AutoAuthCountAggregateInputType | true
_avg?: AutoAuthAvgAggregateInputType
_sum?: AutoAuthSumAggregateInputType
_min?: AutoAuthMinAggregateInputType
_max?: AutoAuthMaxAggregateInputType
}
export type AutoAuthGroupByOutputType = {
id: string
deviceId: number
password: string | null
deviceType: string | null
isReadOnly: boolean
createdAt: Date
updatedAt: Date
_count: AutoAuthCountAggregateOutputType | null
_avg: AutoAuthAvgAggregateOutputType | null
_sum: AutoAuthSumAggregateOutputType | null
_min: AutoAuthMinAggregateOutputType | null
_max: AutoAuthMaxAggregateOutputType | null
}
type GetAutoAuthGroupByPayload<T extends AutoAuthGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AutoAuthGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AutoAuthGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AutoAuthGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AutoAuthGroupByOutputType[P]>
}
>
>
export type AutoAuthWhereInput = {
AND?: Prisma.AutoAuthWhereInput | Prisma.AutoAuthWhereInput[]
OR?: Prisma.AutoAuthWhereInput[]
NOT?: Prisma.AutoAuthWhereInput | Prisma.AutoAuthWhereInput[]
id?: Prisma.StringFilter<"AutoAuth"> | string
deviceId?: Prisma.IntFilter<"AutoAuth"> | number
password?: Prisma.StringNullableFilter<"AutoAuth"> | string | null
deviceType?: Prisma.StringNullableFilter<"AutoAuth"> | string | null
isReadOnly?: Prisma.BoolFilter<"AutoAuth"> | boolean
createdAt?: Prisma.DateTimeFilter<"AutoAuth"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AutoAuth"> | Date | string
device?: Prisma.XOR<Prisma.DeviceScalarRelationFilter, Prisma.DeviceWhereInput>
}
export type AutoAuthOrderByWithRelationInput = {
id?: Prisma.SortOrder
deviceId?: Prisma.SortOrder
password?: Prisma.SortOrderInput | Prisma.SortOrder
deviceType?: Prisma.SortOrderInput | Prisma.SortOrder
isReadOnly?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
device?: Prisma.DeviceOrderByWithRelationInput
}
export type AutoAuthWhereUniqueInput = Prisma.AtLeast<{
id?: string
deviceId_password?: Prisma.AutoAuthDeviceIdPasswordCompoundUniqueInput
AND?: Prisma.AutoAuthWhereInput | Prisma.AutoAuthWhereInput[]
OR?: Prisma.AutoAuthWhereInput[]
NOT?: Prisma.AutoAuthWhereInput | Prisma.AutoAuthWhereInput[]
deviceId?: Prisma.IntFilter<"AutoAuth"> | number
password?: Prisma.StringNullableFilter<"AutoAuth"> | string | null
deviceType?: Prisma.StringNullableFilter<"AutoAuth"> | string | null
isReadOnly?: Prisma.BoolFilter<"AutoAuth"> | boolean
createdAt?: Prisma.DateTimeFilter<"AutoAuth"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AutoAuth"> | Date | string
device?: Prisma.XOR<Prisma.DeviceScalarRelationFilter, Prisma.DeviceWhereInput>
}, "id" | "deviceId_password">
export type AutoAuthOrderByWithAggregationInput = {
id?: Prisma.SortOrder
deviceId?: Prisma.SortOrder
password?: Prisma.SortOrderInput | Prisma.SortOrder
deviceType?: Prisma.SortOrderInput | Prisma.SortOrder
isReadOnly?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
_count?: Prisma.AutoAuthCountOrderByAggregateInput
_avg?: Prisma.AutoAuthAvgOrderByAggregateInput
_max?: Prisma.AutoAuthMaxOrderByAggregateInput
_min?: Prisma.AutoAuthMinOrderByAggregateInput
_sum?: Prisma.AutoAuthSumOrderByAggregateInput
}
export type AutoAuthScalarWhereWithAggregatesInput = {
AND?: Prisma.AutoAuthScalarWhereWithAggregatesInput | Prisma.AutoAuthScalarWhereWithAggregatesInput[]
OR?: Prisma.AutoAuthScalarWhereWithAggregatesInput[]
NOT?: Prisma.AutoAuthScalarWhereWithAggregatesInput | Prisma.AutoAuthScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AutoAuth"> | string
deviceId?: Prisma.IntWithAggregatesFilter<"AutoAuth"> | number
password?: Prisma.StringNullableWithAggregatesFilter<"AutoAuth"> | string | null
deviceType?: Prisma.StringNullableWithAggregatesFilter<"AutoAuth"> | string | null
isReadOnly?: Prisma.BoolWithAggregatesFilter<"AutoAuth"> | boolean
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AutoAuth"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AutoAuth"> | Date | string
}
export type AutoAuthCreateInput = {
id: string
password?: string | null
deviceType?: string | null
isReadOnly?: boolean
createdAt?: Date | string
updatedAt?: Date | string
device: Prisma.DeviceCreateNestedOneWithoutAutoAuthsInput
}
export type AutoAuthUncheckedCreateInput = {
id: string
deviceId: number
password?: string | null
deviceType?: string | null
isReadOnly?: boolean
createdAt?: Date | string
updatedAt?: Date | string
}
export type AutoAuthUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
device?: Prisma.DeviceUpdateOneRequiredWithoutAutoAuthsNestedInput
}
export type AutoAuthUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
deviceId?: Prisma.IntFieldUpdateOperationsInput | number
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AutoAuthCreateManyInput = {
id: string
deviceId: number
password?: string | null
deviceType?: string | null
isReadOnly?: boolean
createdAt?: Date | string
updatedAt?: Date | string
}
export type AutoAuthUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AutoAuthUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
deviceId?: Prisma.IntFieldUpdateOperationsInput | number
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AutoAuthDeviceIdPasswordCompoundUniqueInput = {
deviceId: number
password: string
}
export type AutoAuthCountOrderByAggregateInput = {
id?: Prisma.SortOrder
deviceId?: Prisma.SortOrder
password?: Prisma.SortOrder
deviceType?: Prisma.SortOrder
isReadOnly?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
export type AutoAuthAvgOrderByAggregateInput = {
deviceId?: Prisma.SortOrder
}
export type AutoAuthMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
deviceId?: Prisma.SortOrder
password?: Prisma.SortOrder
deviceType?: Prisma.SortOrder
isReadOnly?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
export type AutoAuthMinOrderByAggregateInput = {
id?: Prisma.SortOrder
deviceId?: Prisma.SortOrder
password?: Prisma.SortOrder
deviceType?: Prisma.SortOrder
isReadOnly?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
export type AutoAuthSumOrderByAggregateInput = {
deviceId?: Prisma.SortOrder
}
export type AutoAuthListRelationFilter = {
every?: Prisma.AutoAuthWhereInput
some?: Prisma.AutoAuthWhereInput
none?: Prisma.AutoAuthWhereInput
}
export type AutoAuthOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AutoAuthCreateNestedManyWithoutDeviceInput = {
create?: Prisma.XOR<Prisma.AutoAuthCreateWithoutDeviceInput, Prisma.AutoAuthUncheckedCreateWithoutDeviceInput> | Prisma.AutoAuthCreateWithoutDeviceInput[] | Prisma.AutoAuthUncheckedCreateWithoutDeviceInput[]
connectOrCreate?: Prisma.AutoAuthCreateOrConnectWithoutDeviceInput | Prisma.AutoAuthCreateOrConnectWithoutDeviceInput[]
createMany?: Prisma.AutoAuthCreateManyDeviceInputEnvelope
connect?: Prisma.AutoAuthWhereUniqueInput | Prisma.AutoAuthWhereUniqueInput[]
}
export type AutoAuthUncheckedCreateNestedManyWithoutDeviceInput = {
create?: Prisma.XOR<Prisma.AutoAuthCreateWithoutDeviceInput, Prisma.AutoAuthUncheckedCreateWithoutDeviceInput> | Prisma.AutoAuthCreateWithoutDeviceInput[] | Prisma.AutoAuthUncheckedCreateWithoutDeviceInput[]
connectOrCreate?: Prisma.AutoAuthCreateOrConnectWithoutDeviceInput | Prisma.AutoAuthCreateOrConnectWithoutDeviceInput[]
createMany?: Prisma.AutoAuthCreateManyDeviceInputEnvelope
connect?: Prisma.AutoAuthWhereUniqueInput | Prisma.AutoAuthWhereUniqueInput[]
}
export type AutoAuthUpdateManyWithoutDeviceNestedInput = {
create?: Prisma.XOR<Prisma.AutoAuthCreateWithoutDeviceInput, Prisma.AutoAuthUncheckedCreateWithoutDeviceInput> | Prisma.AutoAuthCreateWithoutDeviceInput[] | Prisma.AutoAuthUncheckedCreateWithoutDeviceInput[]
connectOrCreate?: Prisma.AutoAuthCreateOrConnectWithoutDeviceInput | Prisma.AutoAuthCreateOrConnectWithoutDeviceInput[]
upsert?: Prisma.AutoAuthUpsertWithWhereUniqueWithoutDeviceInput | Prisma.AutoAuthUpsertWithWhereUniqueWithoutDeviceInput[]
createMany?: Prisma.AutoAuthCreateManyDeviceInputEnvelope
set?: Prisma.AutoAuthWhereUniqueInput | Prisma.AutoAuthWhereUniqueInput[]
disconnect?: Prisma.AutoAuthWhereUniqueInput | Prisma.AutoAuthWhereUniqueInput[]
delete?: Prisma.AutoAuthWhereUniqueInput | Prisma.AutoAuthWhereUniqueInput[]
connect?: Prisma.AutoAuthWhereUniqueInput | Prisma.AutoAuthWhereUniqueInput[]
update?: Prisma.AutoAuthUpdateWithWhereUniqueWithoutDeviceInput | Prisma.AutoAuthUpdateWithWhereUniqueWithoutDeviceInput[]
updateMany?: Prisma.AutoAuthUpdateManyWithWhereWithoutDeviceInput | Prisma.AutoAuthUpdateManyWithWhereWithoutDeviceInput[]
deleteMany?: Prisma.AutoAuthScalarWhereInput | Prisma.AutoAuthScalarWhereInput[]
}
export type AutoAuthUncheckedUpdateManyWithoutDeviceNestedInput = {
create?: Prisma.XOR<Prisma.AutoAuthCreateWithoutDeviceInput, Prisma.AutoAuthUncheckedCreateWithoutDeviceInput> | Prisma.AutoAuthCreateWithoutDeviceInput[] | Prisma.AutoAuthUncheckedCreateWithoutDeviceInput[]
connectOrCreate?: Prisma.AutoAuthCreateOrConnectWithoutDeviceInput | Prisma.AutoAuthCreateOrConnectWithoutDeviceInput[]
upsert?: Prisma.AutoAuthUpsertWithWhereUniqueWithoutDeviceInput | Prisma.AutoAuthUpsertWithWhereUniqueWithoutDeviceInput[]
createMany?: Prisma.AutoAuthCreateManyDeviceInputEnvelope
set?: Prisma.AutoAuthWhereUniqueInput | Prisma.AutoAuthWhereUniqueInput[]
disconnect?: Prisma.AutoAuthWhereUniqueInput | Prisma.AutoAuthWhereUniqueInput[]
delete?: Prisma.AutoAuthWhereUniqueInput | Prisma.AutoAuthWhereUniqueInput[]
connect?: Prisma.AutoAuthWhereUniqueInput | Prisma.AutoAuthWhereUniqueInput[]
update?: Prisma.AutoAuthUpdateWithWhereUniqueWithoutDeviceInput | Prisma.AutoAuthUpdateWithWhereUniqueWithoutDeviceInput[]
updateMany?: Prisma.AutoAuthUpdateManyWithWhereWithoutDeviceInput | Prisma.AutoAuthUpdateManyWithWhereWithoutDeviceInput[]
deleteMany?: Prisma.AutoAuthScalarWhereInput | Prisma.AutoAuthScalarWhereInput[]
}
export type AutoAuthCreateWithoutDeviceInput = {
id: string
password?: string | null
deviceType?: string | null
isReadOnly?: boolean
createdAt?: Date | string
updatedAt?: Date | string
}
export type AutoAuthUncheckedCreateWithoutDeviceInput = {
id: string
password?: string | null
deviceType?: string | null
isReadOnly?: boolean
createdAt?: Date | string
updatedAt?: Date | string
}
export type AutoAuthCreateOrConnectWithoutDeviceInput = {
where: Prisma.AutoAuthWhereUniqueInput
create: Prisma.XOR<Prisma.AutoAuthCreateWithoutDeviceInput, Prisma.AutoAuthUncheckedCreateWithoutDeviceInput>
}
export type AutoAuthCreateManyDeviceInputEnvelope = {
data: Prisma.AutoAuthCreateManyDeviceInput | Prisma.AutoAuthCreateManyDeviceInput[]
skipDuplicates?: boolean
}
export type AutoAuthUpsertWithWhereUniqueWithoutDeviceInput = {
where: Prisma.AutoAuthWhereUniqueInput
update: Prisma.XOR<Prisma.AutoAuthUpdateWithoutDeviceInput, Prisma.AutoAuthUncheckedUpdateWithoutDeviceInput>
create: Prisma.XOR<Prisma.AutoAuthCreateWithoutDeviceInput, Prisma.AutoAuthUncheckedCreateWithoutDeviceInput>
}
export type AutoAuthUpdateWithWhereUniqueWithoutDeviceInput = {
where: Prisma.AutoAuthWhereUniqueInput
data: Prisma.XOR<Prisma.AutoAuthUpdateWithoutDeviceInput, Prisma.AutoAuthUncheckedUpdateWithoutDeviceInput>
}
export type AutoAuthUpdateManyWithWhereWithoutDeviceInput = {
where: Prisma.AutoAuthScalarWhereInput
data: Prisma.XOR<Prisma.AutoAuthUpdateManyMutationInput, Prisma.AutoAuthUncheckedUpdateManyWithoutDeviceInput>
}
export type AutoAuthScalarWhereInput = {
AND?: Prisma.AutoAuthScalarWhereInput | Prisma.AutoAuthScalarWhereInput[]
OR?: Prisma.AutoAuthScalarWhereInput[]
NOT?: Prisma.AutoAuthScalarWhereInput | Prisma.AutoAuthScalarWhereInput[]
id?: Prisma.StringFilter<"AutoAuth"> | string
deviceId?: Prisma.IntFilter<"AutoAuth"> | number
password?: Prisma.StringNullableFilter<"AutoAuth"> | string | null
deviceType?: Prisma.StringNullableFilter<"AutoAuth"> | string | null
isReadOnly?: Prisma.BoolFilter<"AutoAuth"> | boolean
createdAt?: Prisma.DateTimeFilter<"AutoAuth"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AutoAuth"> | Date | string
}
export type AutoAuthCreateManyDeviceInput = {
id: string
password?: string | null
deviceType?: string | null
isReadOnly?: boolean
createdAt?: Date | string
updatedAt?: Date | string
}
export type AutoAuthUpdateWithoutDeviceInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AutoAuthUncheckedUpdateWithoutDeviceInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AutoAuthUncheckedUpdateManyWithoutDeviceInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AutoAuthSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
deviceId?: boolean
password?: boolean
deviceType?: boolean
isReadOnly?: boolean
createdAt?: boolean
updatedAt?: boolean
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}, ExtArgs["result"]["autoAuth"]>
export type AutoAuthSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
deviceId?: boolean
password?: boolean
deviceType?: boolean
isReadOnly?: boolean
createdAt?: boolean
updatedAt?: boolean
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}, ExtArgs["result"]["autoAuth"]>
export type AutoAuthSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
deviceId?: boolean
password?: boolean
deviceType?: boolean
isReadOnly?: boolean
createdAt?: boolean
updatedAt?: boolean
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}, ExtArgs["result"]["autoAuth"]>
export type AutoAuthSelectScalar = {
id?: boolean
deviceId?: boolean
password?: boolean
deviceType?: boolean
isReadOnly?: boolean
createdAt?: boolean
updatedAt?: boolean
}
export type AutoAuthOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "deviceId" | "password" | "deviceType" | "isReadOnly" | "createdAt" | "updatedAt", ExtArgs["result"]["autoAuth"]>
export type AutoAuthInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}
export type AutoAuthIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}
export type AutoAuthIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}
export type $AutoAuthPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AutoAuth"
objects: {
device: Prisma.$DevicePayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
deviceId: number
password: string | null
deviceType: string | null
isReadOnly: boolean
createdAt: Date
updatedAt: Date
}, ExtArgs["result"]["autoAuth"]>
composites: {}
}
export type AutoAuthGetPayload<S extends boolean | null | undefined | AutoAuthDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload, S>
export type AutoAuthCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AutoAuthFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AutoAuthCountAggregateInputType | true
}
export interface AutoAuthDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AutoAuth'], meta: { name: 'AutoAuth' } }
/**
* Find zero or one AutoAuth that matches the filter.
* @param {AutoAuthFindUniqueArgs} args - Arguments to find a AutoAuth
* @example
* // Get one AutoAuth
* const autoAuth = await prisma.autoAuth.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AutoAuthFindUniqueArgs>(args: Prisma.SelectSubset<T, AutoAuthFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AutoAuthClient<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AutoAuth that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AutoAuthFindUniqueOrThrowArgs} args - Arguments to find a AutoAuth
* @example
* // Get one AutoAuth
* const autoAuth = await prisma.autoAuth.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AutoAuthFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AutoAuthFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AutoAuthClient<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AutoAuth 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 {AutoAuthFindFirstArgs} args - Arguments to find a AutoAuth
* @example
* // Get one AutoAuth
* const autoAuth = await prisma.autoAuth.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AutoAuthFindFirstArgs>(args?: Prisma.SelectSubset<T, AutoAuthFindFirstArgs<ExtArgs>>): Prisma.Prisma__AutoAuthClient<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AutoAuth 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 {AutoAuthFindFirstOrThrowArgs} args - Arguments to find a AutoAuth
* @example
* // Get one AutoAuth
* const autoAuth = await prisma.autoAuth.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AutoAuthFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AutoAuthFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AutoAuthClient<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AutoAuths 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 {AutoAuthFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AutoAuths
* const autoAuths = await prisma.autoAuth.findMany()
*
* // Get first 10 AutoAuths
* const autoAuths = await prisma.autoAuth.findMany({ take: 10 })
*
* // Only select the `id`
* const autoAuthWithIdOnly = await prisma.autoAuth.findMany({ select: { id: true } })
*
*/
findMany<T extends AutoAuthFindManyArgs>(args?: Prisma.SelectSubset<T, AutoAuthFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AutoAuth.
* @param {AutoAuthCreateArgs} args - Arguments to create a AutoAuth.
* @example
* // Create one AutoAuth
* const AutoAuth = await prisma.autoAuth.create({
* data: {
* // ... data to create a AutoAuth
* }
* })
*
*/
create<T extends AutoAuthCreateArgs>(args: Prisma.SelectSubset<T, AutoAuthCreateArgs<ExtArgs>>): Prisma.Prisma__AutoAuthClient<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AutoAuths.
* @param {AutoAuthCreateManyArgs} args - Arguments to create many AutoAuths.
* @example
* // Create many AutoAuths
* const autoAuth = await prisma.autoAuth.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AutoAuthCreateManyArgs>(args?: Prisma.SelectSubset<T, AutoAuthCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AutoAuths and returns the data saved in the database.
* @param {AutoAuthCreateManyAndReturnArgs} args - Arguments to create many AutoAuths.
* @example
* // Create many AutoAuths
* const autoAuth = await prisma.autoAuth.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AutoAuths and only return the `id`
* const autoAuthWithIdOnly = await prisma.autoAuth.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 AutoAuthCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AutoAuthCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AutoAuth.
* @param {AutoAuthDeleteArgs} args - Arguments to delete one AutoAuth.
* @example
* // Delete one AutoAuth
* const AutoAuth = await prisma.autoAuth.delete({
* where: {
* // ... filter to delete one AutoAuth
* }
* })
*
*/
delete<T extends AutoAuthDeleteArgs>(args: Prisma.SelectSubset<T, AutoAuthDeleteArgs<ExtArgs>>): Prisma.Prisma__AutoAuthClient<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AutoAuth.
* @param {AutoAuthUpdateArgs} args - Arguments to update one AutoAuth.
* @example
* // Update one AutoAuth
* const autoAuth = await prisma.autoAuth.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AutoAuthUpdateArgs>(args: Prisma.SelectSubset<T, AutoAuthUpdateArgs<ExtArgs>>): Prisma.Prisma__AutoAuthClient<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AutoAuths.
* @param {AutoAuthDeleteManyArgs} args - Arguments to filter AutoAuths to delete.
* @example
* // Delete a few AutoAuths
* const { count } = await prisma.autoAuth.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AutoAuthDeleteManyArgs>(args?: Prisma.SelectSubset<T, AutoAuthDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AutoAuths.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AutoAuthUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AutoAuths
* const autoAuth = await prisma.autoAuth.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AutoAuthUpdateManyArgs>(args: Prisma.SelectSubset<T, AutoAuthUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AutoAuths and returns the data updated in the database.
* @param {AutoAuthUpdateManyAndReturnArgs} args - Arguments to update many AutoAuths.
* @example
* // Update many AutoAuths
* const autoAuth = await prisma.autoAuth.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AutoAuths and only return the `id`
* const autoAuthWithIdOnly = await prisma.autoAuth.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 AutoAuthUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AutoAuthUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AutoAuth.
* @param {AutoAuthUpsertArgs} args - Arguments to update or create a AutoAuth.
* @example
* // Update or create a AutoAuth
* const autoAuth = await prisma.autoAuth.upsert({
* create: {
* // ... data to create a AutoAuth
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AutoAuth we want to update
* }
* })
*/
upsert<T extends AutoAuthUpsertArgs>(args: Prisma.SelectSubset<T, AutoAuthUpsertArgs<ExtArgs>>): Prisma.Prisma__AutoAuthClient<runtime.Types.Result.GetResult<Prisma.$AutoAuthPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AutoAuths.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AutoAuthCountArgs} args - Arguments to filter AutoAuths to count.
* @example
* // Count the number of AutoAuths
* const count = await prisma.autoAuth.count({
* where: {
* // ... the filter for the AutoAuths we want to count
* }
* })
**/
count<T extends AutoAuthCountArgs>(
args?: Prisma.Subset<T, AutoAuthCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AutoAuthCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AutoAuth.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AutoAuthAggregateArgs} 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 AutoAuthAggregateArgs>(args: Prisma.Subset<T, AutoAuthAggregateArgs>): Prisma.PrismaPromise<GetAutoAuthAggregateType<T>>
/**
* Group by AutoAuth.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AutoAuthGroupByArgs} 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 AutoAuthGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AutoAuthGroupByArgs['orderBy'] }
: { orderBy?: AutoAuthGroupByArgs['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, AutoAuthGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAutoAuthGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AutoAuth model
*/
readonly fields: AutoAuthFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AutoAuth.
* 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__AutoAuthClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
device<T extends Prisma.DeviceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DeviceDefaultArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* 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 AutoAuth model
*/
export interface AutoAuthFieldRefs {
readonly id: Prisma.FieldRef<"AutoAuth", 'String'>
readonly deviceId: Prisma.FieldRef<"AutoAuth", 'Int'>
readonly password: Prisma.FieldRef<"AutoAuth", 'String'>
readonly deviceType: Prisma.FieldRef<"AutoAuth", 'String'>
readonly isReadOnly: Prisma.FieldRef<"AutoAuth", 'Boolean'>
readonly createdAt: Prisma.FieldRef<"AutoAuth", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"AutoAuth", 'DateTime'>
}
// Custom InputTypes
/**
* AutoAuth findUnique
*/
export type AutoAuthFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelect<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthInclude<ExtArgs> | null
/**
* Filter, which AutoAuth to fetch.
*/
where: Prisma.AutoAuthWhereUniqueInput
}
/**
* AutoAuth findUniqueOrThrow
*/
export type AutoAuthFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelect<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthInclude<ExtArgs> | null
/**
* Filter, which AutoAuth to fetch.
*/
where: Prisma.AutoAuthWhereUniqueInput
}
/**
* AutoAuth findFirst
*/
export type AutoAuthFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelect<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthInclude<ExtArgs> | null
/**
* Filter, which AutoAuth to fetch.
*/
where?: Prisma.AutoAuthWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AutoAuths to fetch.
*/
orderBy?: Prisma.AutoAuthOrderByWithRelationInput | Prisma.AutoAuthOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AutoAuths.
*/
cursor?: Prisma.AutoAuthWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AutoAuths 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` AutoAuths.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AutoAuths.
*/
distinct?: Prisma.AutoAuthScalarFieldEnum | Prisma.AutoAuthScalarFieldEnum[]
}
/**
* AutoAuth findFirstOrThrow
*/
export type AutoAuthFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelect<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthInclude<ExtArgs> | null
/**
* Filter, which AutoAuth to fetch.
*/
where?: Prisma.AutoAuthWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AutoAuths to fetch.
*/
orderBy?: Prisma.AutoAuthOrderByWithRelationInput | Prisma.AutoAuthOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AutoAuths.
*/
cursor?: Prisma.AutoAuthWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AutoAuths 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` AutoAuths.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AutoAuths.
*/
distinct?: Prisma.AutoAuthScalarFieldEnum | Prisma.AutoAuthScalarFieldEnum[]
}
/**
* AutoAuth findMany
*/
export type AutoAuthFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelect<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthInclude<ExtArgs> | null
/**
* Filter, which AutoAuths to fetch.
*/
where?: Prisma.AutoAuthWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AutoAuths to fetch.
*/
orderBy?: Prisma.AutoAuthOrderByWithRelationInput | Prisma.AutoAuthOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AutoAuths.
*/
cursor?: Prisma.AutoAuthWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AutoAuths 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` AutoAuths.
*/
skip?: number
distinct?: Prisma.AutoAuthScalarFieldEnum | Prisma.AutoAuthScalarFieldEnum[]
}
/**
* AutoAuth create
*/
export type AutoAuthCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelect<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthInclude<ExtArgs> | null
/**
* The data needed to create a AutoAuth.
*/
data: Prisma.XOR<Prisma.AutoAuthCreateInput, Prisma.AutoAuthUncheckedCreateInput>
}
/**
* AutoAuth createMany
*/
export type AutoAuthCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AutoAuths.
*/
data: Prisma.AutoAuthCreateManyInput | Prisma.AutoAuthCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AutoAuth createManyAndReturn
*/
export type AutoAuthCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* The data used to create many AutoAuths.
*/
data: Prisma.AutoAuthCreateManyInput | Prisma.AutoAuthCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AutoAuth update
*/
export type AutoAuthUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelect<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthInclude<ExtArgs> | null
/**
* The data needed to update a AutoAuth.
*/
data: Prisma.XOR<Prisma.AutoAuthUpdateInput, Prisma.AutoAuthUncheckedUpdateInput>
/**
* Choose, which AutoAuth to update.
*/
where: Prisma.AutoAuthWhereUniqueInput
}
/**
* AutoAuth updateMany
*/
export type AutoAuthUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AutoAuths.
*/
data: Prisma.XOR<Prisma.AutoAuthUpdateManyMutationInput, Prisma.AutoAuthUncheckedUpdateManyInput>
/**
* Filter which AutoAuths to update
*/
where?: Prisma.AutoAuthWhereInput
/**
* Limit how many AutoAuths to update.
*/
limit?: number
}
/**
* AutoAuth updateManyAndReturn
*/
export type AutoAuthUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* The data used to update AutoAuths.
*/
data: Prisma.XOR<Prisma.AutoAuthUpdateManyMutationInput, Prisma.AutoAuthUncheckedUpdateManyInput>
/**
* Filter which AutoAuths to update
*/
where?: Prisma.AutoAuthWhereInput
/**
* Limit how many AutoAuths to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* AutoAuth upsert
*/
export type AutoAuthUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelect<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthInclude<ExtArgs> | null
/**
* The filter to search for the AutoAuth to update in case it exists.
*/
where: Prisma.AutoAuthWhereUniqueInput
/**
* In case the AutoAuth found by the `where` argument doesn't exist, create a new AutoAuth with this data.
*/
create: Prisma.XOR<Prisma.AutoAuthCreateInput, Prisma.AutoAuthUncheckedCreateInput>
/**
* In case the AutoAuth was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AutoAuthUpdateInput, Prisma.AutoAuthUncheckedUpdateInput>
}
/**
* AutoAuth delete
*/
export type AutoAuthDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelect<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthInclude<ExtArgs> | null
/**
* Filter which AutoAuth to delete.
*/
where: Prisma.AutoAuthWhereUniqueInput
}
/**
* AutoAuth deleteMany
*/
export type AutoAuthDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AutoAuths to delete
*/
where?: Prisma.AutoAuthWhereInput
/**
* Limit how many AutoAuths to delete.
*/
limit?: number
}
/**
* AutoAuth without action
*/
export type AutoAuthDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AutoAuth
*/
select?: Prisma.AutoAuthSelect<ExtArgs> | null
/**
* Omit specific fields from the AutoAuth
*/
omit?: Prisma.AutoAuthOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AutoAuthInclude<ExtArgs> | null
}