1540 lines
58 KiB
TypeScript
1540 lines
58 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 `IpAddressLog` 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 IpAddressLog
|
|
* Privacy (AD-22): `ip` ist der HMAC-Pseudonym-Hash der Client-IP, kein Klartext.
|
|
*/
|
|
export type IpAddressLogModel = runtime.Types.Result.DefaultSelection<Prisma.$IpAddressLogPayload>
|
|
|
|
export type AggregateIpAddressLog = {
|
|
_count: IpAddressLogCountAggregateOutputType | null
|
|
_min: IpAddressLogMinAggregateOutputType | null
|
|
_max: IpAddressLogMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type IpAddressLogMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
ip: string | null
|
|
url: string | null
|
|
action: string | null
|
|
description: string | null
|
|
success: boolean | null
|
|
error: string | null
|
|
metadata: string | null
|
|
ipAddressId: string | null
|
|
}
|
|
|
|
export type IpAddressLogMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
ip: string | null
|
|
url: string | null
|
|
action: string | null
|
|
description: string | null
|
|
success: boolean | null
|
|
error: string | null
|
|
metadata: string | null
|
|
ipAddressId: string | null
|
|
}
|
|
|
|
export type IpAddressLogCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
ip: number
|
|
url: number
|
|
action: number
|
|
description: number
|
|
success: number
|
|
error: number
|
|
metadata: number
|
|
ipAddressId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type IpAddressLogMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
ip?: true
|
|
url?: true
|
|
action?: true
|
|
description?: true
|
|
success?: true
|
|
error?: true
|
|
metadata?: true
|
|
ipAddressId?: true
|
|
}
|
|
|
|
export type IpAddressLogMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
ip?: true
|
|
url?: true
|
|
action?: true
|
|
description?: true
|
|
success?: true
|
|
error?: true
|
|
metadata?: true
|
|
ipAddressId?: true
|
|
}
|
|
|
|
export type IpAddressLogCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
ip?: true
|
|
url?: true
|
|
action?: true
|
|
description?: true
|
|
success?: true
|
|
error?: true
|
|
metadata?: true
|
|
ipAddressId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type IpAddressLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which IpAddressLog to aggregate.
|
|
*/
|
|
where?: Prisma.IpAddressLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of IpAddressLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.IpAddressLogOrderByWithRelationInput | Prisma.IpAddressLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.IpAddressLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` IpAddressLogs 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` IpAddressLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned IpAddressLogs
|
|
**/
|
|
_count?: true | IpAddressLogCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: IpAddressLogMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: IpAddressLogMaxAggregateInputType
|
|
}
|
|
|
|
export type GetIpAddressLogAggregateType<T extends IpAddressLogAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateIpAddressLog]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateIpAddressLog[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateIpAddressLog[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type IpAddressLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.IpAddressLogWhereInput
|
|
orderBy?: Prisma.IpAddressLogOrderByWithAggregationInput | Prisma.IpAddressLogOrderByWithAggregationInput[]
|
|
by: Prisma.IpAddressLogScalarFieldEnum[] | Prisma.IpAddressLogScalarFieldEnum
|
|
having?: Prisma.IpAddressLogScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: IpAddressLogCountAggregateInputType | true
|
|
_min?: IpAddressLogMinAggregateInputType
|
|
_max?: IpAddressLogMaxAggregateInputType
|
|
}
|
|
|
|
export type IpAddressLogGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
ip: string
|
|
url: string
|
|
action: string
|
|
description: string
|
|
success: boolean
|
|
error: string | null
|
|
metadata: string | null
|
|
ipAddressId: string | null
|
|
_count: IpAddressLogCountAggregateOutputType | null
|
|
_min: IpAddressLogMinAggregateOutputType | null
|
|
_max: IpAddressLogMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetIpAddressLogGroupByPayload<T extends IpAddressLogGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<IpAddressLogGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof IpAddressLogGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], IpAddressLogGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], IpAddressLogGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type IpAddressLogWhereInput = {
|
|
AND?: Prisma.IpAddressLogWhereInput | Prisma.IpAddressLogWhereInput[]
|
|
OR?: Prisma.IpAddressLogWhereInput[]
|
|
NOT?: Prisma.IpAddressLogWhereInput | Prisma.IpAddressLogWhereInput[]
|
|
id?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"IpAddressLog"> | Date | string
|
|
ip?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
url?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
action?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
description?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
success?: Prisma.BoolFilter<"IpAddressLog"> | boolean
|
|
error?: Prisma.StringNullableFilter<"IpAddressLog"> | string | null
|
|
metadata?: Prisma.StringNullableFilter<"IpAddressLog"> | string | null
|
|
ipAddressId?: Prisma.StringNullableFilter<"IpAddressLog"> | string | null
|
|
ipAddress?: Prisma.XOR<Prisma.IpAddressNullableScalarRelationFilter, Prisma.IpAddressWhereInput> | null
|
|
}
|
|
|
|
export type IpAddressLogOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
ip?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
success?: Prisma.SortOrder
|
|
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
ipAddressId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
ipAddress?: Prisma.IpAddressOrderByWithRelationInput
|
|
}
|
|
|
|
export type IpAddressLogWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.IpAddressLogWhereInput | Prisma.IpAddressLogWhereInput[]
|
|
OR?: Prisma.IpAddressLogWhereInput[]
|
|
NOT?: Prisma.IpAddressLogWhereInput | Prisma.IpAddressLogWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"IpAddressLog"> | Date | string
|
|
ip?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
url?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
action?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
description?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
success?: Prisma.BoolFilter<"IpAddressLog"> | boolean
|
|
error?: Prisma.StringNullableFilter<"IpAddressLog"> | string | null
|
|
metadata?: Prisma.StringNullableFilter<"IpAddressLog"> | string | null
|
|
ipAddressId?: Prisma.StringNullableFilter<"IpAddressLog"> | string | null
|
|
ipAddress?: Prisma.XOR<Prisma.IpAddressNullableScalarRelationFilter, Prisma.IpAddressWhereInput> | null
|
|
}, "id">
|
|
|
|
export type IpAddressLogOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
ip?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
success?: Prisma.SortOrder
|
|
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
ipAddressId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.IpAddressLogCountOrderByAggregateInput
|
|
_max?: Prisma.IpAddressLogMaxOrderByAggregateInput
|
|
_min?: Prisma.IpAddressLogMinOrderByAggregateInput
|
|
}
|
|
|
|
export type IpAddressLogScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.IpAddressLogScalarWhereWithAggregatesInput | Prisma.IpAddressLogScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.IpAddressLogScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.IpAddressLogScalarWhereWithAggregatesInput | Prisma.IpAddressLogScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"IpAddressLog"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"IpAddressLog"> | Date | string
|
|
ip?: Prisma.StringWithAggregatesFilter<"IpAddressLog"> | string
|
|
url?: Prisma.StringWithAggregatesFilter<"IpAddressLog"> | string
|
|
action?: Prisma.StringWithAggregatesFilter<"IpAddressLog"> | string
|
|
description?: Prisma.StringWithAggregatesFilter<"IpAddressLog"> | string
|
|
success?: Prisma.BoolWithAggregatesFilter<"IpAddressLog"> | boolean
|
|
error?: Prisma.StringNullableWithAggregatesFilter<"IpAddressLog"> | string | null
|
|
metadata?: Prisma.StringNullableWithAggregatesFilter<"IpAddressLog"> | string | null
|
|
ipAddressId?: Prisma.StringNullableWithAggregatesFilter<"IpAddressLog"> | string | null
|
|
}
|
|
|
|
export type IpAddressLogCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
ip: string
|
|
url: string
|
|
action: string
|
|
description: string
|
|
success: boolean
|
|
error?: string | null
|
|
metadata?: string | null
|
|
ipAddress?: Prisma.IpAddressCreateNestedOneWithoutLogsInput
|
|
}
|
|
|
|
export type IpAddressLogUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
ip: string
|
|
url: string
|
|
action: string
|
|
description: string
|
|
success: boolean
|
|
error?: string | null
|
|
metadata?: string | null
|
|
ipAddressId?: string | null
|
|
}
|
|
|
|
export type IpAddressLogUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
ip?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
ipAddress?: Prisma.IpAddressUpdateOneWithoutLogsNestedInput
|
|
}
|
|
|
|
export type IpAddressLogUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
ip?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
ipAddressId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type IpAddressLogCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
ip: string
|
|
url: string
|
|
action: string
|
|
description: string
|
|
success: boolean
|
|
error?: string | null
|
|
metadata?: string | null
|
|
ipAddressId?: string | null
|
|
}
|
|
|
|
export type IpAddressLogUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
ip?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type IpAddressLogUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
ip?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
ipAddressId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type IpAddressLogListRelationFilter = {
|
|
every?: Prisma.IpAddressLogWhereInput
|
|
some?: Prisma.IpAddressLogWhereInput
|
|
none?: Prisma.IpAddressLogWhereInput
|
|
}
|
|
|
|
export type IpAddressLogOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type IpAddressLogCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
ip?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
success?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrder
|
|
ipAddressId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type IpAddressLogMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
ip?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
success?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrder
|
|
ipAddressId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type IpAddressLogMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
ip?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
success?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrder
|
|
ipAddressId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type IpAddressLogCreateNestedManyWithoutIpAddressInput = {
|
|
create?: Prisma.XOR<Prisma.IpAddressLogCreateWithoutIpAddressInput, Prisma.IpAddressLogUncheckedCreateWithoutIpAddressInput> | Prisma.IpAddressLogCreateWithoutIpAddressInput[] | Prisma.IpAddressLogUncheckedCreateWithoutIpAddressInput[]
|
|
connectOrCreate?: Prisma.IpAddressLogCreateOrConnectWithoutIpAddressInput | Prisma.IpAddressLogCreateOrConnectWithoutIpAddressInput[]
|
|
createMany?: Prisma.IpAddressLogCreateManyIpAddressInputEnvelope
|
|
connect?: Prisma.IpAddressLogWhereUniqueInput | Prisma.IpAddressLogWhereUniqueInput[]
|
|
}
|
|
|
|
export type IpAddressLogUncheckedCreateNestedManyWithoutIpAddressInput = {
|
|
create?: Prisma.XOR<Prisma.IpAddressLogCreateWithoutIpAddressInput, Prisma.IpAddressLogUncheckedCreateWithoutIpAddressInput> | Prisma.IpAddressLogCreateWithoutIpAddressInput[] | Prisma.IpAddressLogUncheckedCreateWithoutIpAddressInput[]
|
|
connectOrCreate?: Prisma.IpAddressLogCreateOrConnectWithoutIpAddressInput | Prisma.IpAddressLogCreateOrConnectWithoutIpAddressInput[]
|
|
createMany?: Prisma.IpAddressLogCreateManyIpAddressInputEnvelope
|
|
connect?: Prisma.IpAddressLogWhereUniqueInput | Prisma.IpAddressLogWhereUniqueInput[]
|
|
}
|
|
|
|
export type IpAddressLogUpdateManyWithoutIpAddressNestedInput = {
|
|
create?: Prisma.XOR<Prisma.IpAddressLogCreateWithoutIpAddressInput, Prisma.IpAddressLogUncheckedCreateWithoutIpAddressInput> | Prisma.IpAddressLogCreateWithoutIpAddressInput[] | Prisma.IpAddressLogUncheckedCreateWithoutIpAddressInput[]
|
|
connectOrCreate?: Prisma.IpAddressLogCreateOrConnectWithoutIpAddressInput | Prisma.IpAddressLogCreateOrConnectWithoutIpAddressInput[]
|
|
upsert?: Prisma.IpAddressLogUpsertWithWhereUniqueWithoutIpAddressInput | Prisma.IpAddressLogUpsertWithWhereUniqueWithoutIpAddressInput[]
|
|
createMany?: Prisma.IpAddressLogCreateManyIpAddressInputEnvelope
|
|
set?: Prisma.IpAddressLogWhereUniqueInput | Prisma.IpAddressLogWhereUniqueInput[]
|
|
disconnect?: Prisma.IpAddressLogWhereUniqueInput | Prisma.IpAddressLogWhereUniqueInput[]
|
|
delete?: Prisma.IpAddressLogWhereUniqueInput | Prisma.IpAddressLogWhereUniqueInput[]
|
|
connect?: Prisma.IpAddressLogWhereUniqueInput | Prisma.IpAddressLogWhereUniqueInput[]
|
|
update?: Prisma.IpAddressLogUpdateWithWhereUniqueWithoutIpAddressInput | Prisma.IpAddressLogUpdateWithWhereUniqueWithoutIpAddressInput[]
|
|
updateMany?: Prisma.IpAddressLogUpdateManyWithWhereWithoutIpAddressInput | Prisma.IpAddressLogUpdateManyWithWhereWithoutIpAddressInput[]
|
|
deleteMany?: Prisma.IpAddressLogScalarWhereInput | Prisma.IpAddressLogScalarWhereInput[]
|
|
}
|
|
|
|
export type IpAddressLogUncheckedUpdateManyWithoutIpAddressNestedInput = {
|
|
create?: Prisma.XOR<Prisma.IpAddressLogCreateWithoutIpAddressInput, Prisma.IpAddressLogUncheckedCreateWithoutIpAddressInput> | Prisma.IpAddressLogCreateWithoutIpAddressInput[] | Prisma.IpAddressLogUncheckedCreateWithoutIpAddressInput[]
|
|
connectOrCreate?: Prisma.IpAddressLogCreateOrConnectWithoutIpAddressInput | Prisma.IpAddressLogCreateOrConnectWithoutIpAddressInput[]
|
|
upsert?: Prisma.IpAddressLogUpsertWithWhereUniqueWithoutIpAddressInput | Prisma.IpAddressLogUpsertWithWhereUniqueWithoutIpAddressInput[]
|
|
createMany?: Prisma.IpAddressLogCreateManyIpAddressInputEnvelope
|
|
set?: Prisma.IpAddressLogWhereUniqueInput | Prisma.IpAddressLogWhereUniqueInput[]
|
|
disconnect?: Prisma.IpAddressLogWhereUniqueInput | Prisma.IpAddressLogWhereUniqueInput[]
|
|
delete?: Prisma.IpAddressLogWhereUniqueInput | Prisma.IpAddressLogWhereUniqueInput[]
|
|
connect?: Prisma.IpAddressLogWhereUniqueInput | Prisma.IpAddressLogWhereUniqueInput[]
|
|
update?: Prisma.IpAddressLogUpdateWithWhereUniqueWithoutIpAddressInput | Prisma.IpAddressLogUpdateWithWhereUniqueWithoutIpAddressInput[]
|
|
updateMany?: Prisma.IpAddressLogUpdateManyWithWhereWithoutIpAddressInput | Prisma.IpAddressLogUpdateManyWithWhereWithoutIpAddressInput[]
|
|
deleteMany?: Prisma.IpAddressLogScalarWhereInput | Prisma.IpAddressLogScalarWhereInput[]
|
|
}
|
|
|
|
export type IpAddressLogCreateWithoutIpAddressInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
ip: string
|
|
url: string
|
|
action: string
|
|
description: string
|
|
success: boolean
|
|
error?: string | null
|
|
metadata?: string | null
|
|
}
|
|
|
|
export type IpAddressLogUncheckedCreateWithoutIpAddressInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
ip: string
|
|
url: string
|
|
action: string
|
|
description: string
|
|
success: boolean
|
|
error?: string | null
|
|
metadata?: string | null
|
|
}
|
|
|
|
export type IpAddressLogCreateOrConnectWithoutIpAddressInput = {
|
|
where: Prisma.IpAddressLogWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.IpAddressLogCreateWithoutIpAddressInput, Prisma.IpAddressLogUncheckedCreateWithoutIpAddressInput>
|
|
}
|
|
|
|
export type IpAddressLogCreateManyIpAddressInputEnvelope = {
|
|
data: Prisma.IpAddressLogCreateManyIpAddressInput | Prisma.IpAddressLogCreateManyIpAddressInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type IpAddressLogUpsertWithWhereUniqueWithoutIpAddressInput = {
|
|
where: Prisma.IpAddressLogWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.IpAddressLogUpdateWithoutIpAddressInput, Prisma.IpAddressLogUncheckedUpdateWithoutIpAddressInput>
|
|
create: Prisma.XOR<Prisma.IpAddressLogCreateWithoutIpAddressInput, Prisma.IpAddressLogUncheckedCreateWithoutIpAddressInput>
|
|
}
|
|
|
|
export type IpAddressLogUpdateWithWhereUniqueWithoutIpAddressInput = {
|
|
where: Prisma.IpAddressLogWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.IpAddressLogUpdateWithoutIpAddressInput, Prisma.IpAddressLogUncheckedUpdateWithoutIpAddressInput>
|
|
}
|
|
|
|
export type IpAddressLogUpdateManyWithWhereWithoutIpAddressInput = {
|
|
where: Prisma.IpAddressLogScalarWhereInput
|
|
data: Prisma.XOR<Prisma.IpAddressLogUpdateManyMutationInput, Prisma.IpAddressLogUncheckedUpdateManyWithoutIpAddressInput>
|
|
}
|
|
|
|
export type IpAddressLogScalarWhereInput = {
|
|
AND?: Prisma.IpAddressLogScalarWhereInput | Prisma.IpAddressLogScalarWhereInput[]
|
|
OR?: Prisma.IpAddressLogScalarWhereInput[]
|
|
NOT?: Prisma.IpAddressLogScalarWhereInput | Prisma.IpAddressLogScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"IpAddressLog"> | Date | string
|
|
ip?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
url?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
action?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
description?: Prisma.StringFilter<"IpAddressLog"> | string
|
|
success?: Prisma.BoolFilter<"IpAddressLog"> | boolean
|
|
error?: Prisma.StringNullableFilter<"IpAddressLog"> | string | null
|
|
metadata?: Prisma.StringNullableFilter<"IpAddressLog"> | string | null
|
|
ipAddressId?: Prisma.StringNullableFilter<"IpAddressLog"> | string | null
|
|
}
|
|
|
|
export type IpAddressLogCreateManyIpAddressInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
ip: string
|
|
url: string
|
|
action: string
|
|
description: string
|
|
success: boolean
|
|
error?: string | null
|
|
metadata?: string | null
|
|
}
|
|
|
|
export type IpAddressLogUpdateWithoutIpAddressInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
ip?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type IpAddressLogUncheckedUpdateWithoutIpAddressInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
ip?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type IpAddressLogUncheckedUpdateManyWithoutIpAddressInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
ip?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
|
|
|
|
export type IpAddressLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
ip?: boolean
|
|
url?: boolean
|
|
action?: boolean
|
|
description?: boolean
|
|
success?: boolean
|
|
error?: boolean
|
|
metadata?: boolean
|
|
ipAddressId?: boolean
|
|
ipAddress?: boolean | Prisma.IpAddressLog$ipAddressArgs<ExtArgs>
|
|
}, ExtArgs["result"]["ipAddressLog"]>
|
|
|
|
export type IpAddressLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
ip?: boolean
|
|
url?: boolean
|
|
action?: boolean
|
|
description?: boolean
|
|
success?: boolean
|
|
error?: boolean
|
|
metadata?: boolean
|
|
ipAddressId?: boolean
|
|
ipAddress?: boolean | Prisma.IpAddressLog$ipAddressArgs<ExtArgs>
|
|
}, ExtArgs["result"]["ipAddressLog"]>
|
|
|
|
export type IpAddressLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
ip?: boolean
|
|
url?: boolean
|
|
action?: boolean
|
|
description?: boolean
|
|
success?: boolean
|
|
error?: boolean
|
|
metadata?: boolean
|
|
ipAddressId?: boolean
|
|
ipAddress?: boolean | Prisma.IpAddressLog$ipAddressArgs<ExtArgs>
|
|
}, ExtArgs["result"]["ipAddressLog"]>
|
|
|
|
export type IpAddressLogSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
ip?: boolean
|
|
url?: boolean
|
|
action?: boolean
|
|
description?: boolean
|
|
success?: boolean
|
|
error?: boolean
|
|
metadata?: boolean
|
|
ipAddressId?: boolean
|
|
}
|
|
|
|
export type IpAddressLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "ip" | "url" | "action" | "description" | "success" | "error" | "metadata" | "ipAddressId", ExtArgs["result"]["ipAddressLog"]>
|
|
export type IpAddressLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
ipAddress?: boolean | Prisma.IpAddressLog$ipAddressArgs<ExtArgs>
|
|
}
|
|
export type IpAddressLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
ipAddress?: boolean | Prisma.IpAddressLog$ipAddressArgs<ExtArgs>
|
|
}
|
|
export type IpAddressLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
ipAddress?: boolean | Prisma.IpAddressLog$ipAddressArgs<ExtArgs>
|
|
}
|
|
|
|
export type $IpAddressLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "IpAddressLog"
|
|
objects: {
|
|
ipAddress: Prisma.$IpAddressPayload<ExtArgs> | null
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
ip: string
|
|
url: string
|
|
action: string
|
|
description: string
|
|
success: boolean
|
|
error: string | null
|
|
metadata: string | null
|
|
ipAddressId: string | null
|
|
}, ExtArgs["result"]["ipAddressLog"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type IpAddressLogGetPayload<S extends boolean | null | undefined | IpAddressLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload, S>
|
|
|
|
export type IpAddressLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<IpAddressLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: IpAddressLogCountAggregateInputType | true
|
|
}
|
|
|
|
export interface IpAddressLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['IpAddressLog'], meta: { name: 'IpAddressLog' } }
|
|
/**
|
|
* Find zero or one IpAddressLog that matches the filter.
|
|
* @param {IpAddressLogFindUniqueArgs} args - Arguments to find a IpAddressLog
|
|
* @example
|
|
* // Get one IpAddressLog
|
|
* const ipAddressLog = await prisma.ipAddressLog.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends IpAddressLogFindUniqueArgs>(args: Prisma.SelectSubset<T, IpAddressLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__IpAddressLogClient<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one IpAddressLog that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {IpAddressLogFindUniqueOrThrowArgs} args - Arguments to find a IpAddressLog
|
|
* @example
|
|
* // Get one IpAddressLog
|
|
* const ipAddressLog = await prisma.ipAddressLog.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends IpAddressLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, IpAddressLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__IpAddressLogClient<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first IpAddressLog 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 {IpAddressLogFindFirstArgs} args - Arguments to find a IpAddressLog
|
|
* @example
|
|
* // Get one IpAddressLog
|
|
* const ipAddressLog = await prisma.ipAddressLog.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends IpAddressLogFindFirstArgs>(args?: Prisma.SelectSubset<T, IpAddressLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__IpAddressLogClient<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first IpAddressLog 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 {IpAddressLogFindFirstOrThrowArgs} args - Arguments to find a IpAddressLog
|
|
* @example
|
|
* // Get one IpAddressLog
|
|
* const ipAddressLog = await prisma.ipAddressLog.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends IpAddressLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, IpAddressLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__IpAddressLogClient<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more IpAddressLogs 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 {IpAddressLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all IpAddressLogs
|
|
* const ipAddressLogs = await prisma.ipAddressLog.findMany()
|
|
*
|
|
* // Get first 10 IpAddressLogs
|
|
* const ipAddressLogs = await prisma.ipAddressLog.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const ipAddressLogWithIdOnly = await prisma.ipAddressLog.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends IpAddressLogFindManyArgs>(args?: Prisma.SelectSubset<T, IpAddressLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a IpAddressLog.
|
|
* @param {IpAddressLogCreateArgs} args - Arguments to create a IpAddressLog.
|
|
* @example
|
|
* // Create one IpAddressLog
|
|
* const IpAddressLog = await prisma.ipAddressLog.create({
|
|
* data: {
|
|
* // ... data to create a IpAddressLog
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends IpAddressLogCreateArgs>(args: Prisma.SelectSubset<T, IpAddressLogCreateArgs<ExtArgs>>): Prisma.Prisma__IpAddressLogClient<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many IpAddressLogs.
|
|
* @param {IpAddressLogCreateManyArgs} args - Arguments to create many IpAddressLogs.
|
|
* @example
|
|
* // Create many IpAddressLogs
|
|
* const ipAddressLog = await prisma.ipAddressLog.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends IpAddressLogCreateManyArgs>(args?: Prisma.SelectSubset<T, IpAddressLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many IpAddressLogs and returns the data saved in the database.
|
|
* @param {IpAddressLogCreateManyAndReturnArgs} args - Arguments to create many IpAddressLogs.
|
|
* @example
|
|
* // Create many IpAddressLogs
|
|
* const ipAddressLog = await prisma.ipAddressLog.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many IpAddressLogs and only return the `id`
|
|
* const ipAddressLogWithIdOnly = await prisma.ipAddressLog.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 IpAddressLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, IpAddressLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a IpAddressLog.
|
|
* @param {IpAddressLogDeleteArgs} args - Arguments to delete one IpAddressLog.
|
|
* @example
|
|
* // Delete one IpAddressLog
|
|
* const IpAddressLog = await prisma.ipAddressLog.delete({
|
|
* where: {
|
|
* // ... filter to delete one IpAddressLog
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends IpAddressLogDeleteArgs>(args: Prisma.SelectSubset<T, IpAddressLogDeleteArgs<ExtArgs>>): Prisma.Prisma__IpAddressLogClient<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one IpAddressLog.
|
|
* @param {IpAddressLogUpdateArgs} args - Arguments to update one IpAddressLog.
|
|
* @example
|
|
* // Update one IpAddressLog
|
|
* const ipAddressLog = await prisma.ipAddressLog.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends IpAddressLogUpdateArgs>(args: Prisma.SelectSubset<T, IpAddressLogUpdateArgs<ExtArgs>>): Prisma.Prisma__IpAddressLogClient<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more IpAddressLogs.
|
|
* @param {IpAddressLogDeleteManyArgs} args - Arguments to filter IpAddressLogs to delete.
|
|
* @example
|
|
* // Delete a few IpAddressLogs
|
|
* const { count } = await prisma.ipAddressLog.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends IpAddressLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, IpAddressLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more IpAddressLogs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {IpAddressLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many IpAddressLogs
|
|
* const ipAddressLog = await prisma.ipAddressLog.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends IpAddressLogUpdateManyArgs>(args: Prisma.SelectSubset<T, IpAddressLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more IpAddressLogs and returns the data updated in the database.
|
|
* @param {IpAddressLogUpdateManyAndReturnArgs} args - Arguments to update many IpAddressLogs.
|
|
* @example
|
|
* // Update many IpAddressLogs
|
|
* const ipAddressLog = await prisma.ipAddressLog.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more IpAddressLogs and only return the `id`
|
|
* const ipAddressLogWithIdOnly = await prisma.ipAddressLog.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 IpAddressLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, IpAddressLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one IpAddressLog.
|
|
* @param {IpAddressLogUpsertArgs} args - Arguments to update or create a IpAddressLog.
|
|
* @example
|
|
* // Update or create a IpAddressLog
|
|
* const ipAddressLog = await prisma.ipAddressLog.upsert({
|
|
* create: {
|
|
* // ... data to create a IpAddressLog
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the IpAddressLog we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends IpAddressLogUpsertArgs>(args: Prisma.SelectSubset<T, IpAddressLogUpsertArgs<ExtArgs>>): Prisma.Prisma__IpAddressLogClient<runtime.Types.Result.GetResult<Prisma.$IpAddressLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of IpAddressLogs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {IpAddressLogCountArgs} args - Arguments to filter IpAddressLogs to count.
|
|
* @example
|
|
* // Count the number of IpAddressLogs
|
|
* const count = await prisma.ipAddressLog.count({
|
|
* where: {
|
|
* // ... the filter for the IpAddressLogs we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends IpAddressLogCountArgs>(
|
|
args?: Prisma.Subset<T, IpAddressLogCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], IpAddressLogCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a IpAddressLog.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {IpAddressLogAggregateArgs} 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 IpAddressLogAggregateArgs>(args: Prisma.Subset<T, IpAddressLogAggregateArgs>): Prisma.PrismaPromise<GetIpAddressLogAggregateType<T>>
|
|
|
|
/**
|
|
* Group by IpAddressLog.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {IpAddressLogGroupByArgs} 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 IpAddressLogGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: IpAddressLogGroupByArgs['orderBy'] }
|
|
: { orderBy?: IpAddressLogGroupByArgs['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, IpAddressLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIpAddressLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the IpAddressLog model
|
|
*/
|
|
readonly fields: IpAddressLogFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for IpAddressLog.
|
|
* 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__IpAddressLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
ipAddress<T extends Prisma.IpAddressLog$ipAddressArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.IpAddressLog$ipAddressArgs<ExtArgs>>): Prisma.Prisma__IpAddressClient<runtime.Types.Result.GetResult<Prisma.$IpAddressPayload<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 IpAddressLog model
|
|
*/
|
|
export interface IpAddressLogFieldRefs {
|
|
readonly id: Prisma.FieldRef<"IpAddressLog", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"IpAddressLog", 'DateTime'>
|
|
readonly ip: Prisma.FieldRef<"IpAddressLog", 'String'>
|
|
readonly url: Prisma.FieldRef<"IpAddressLog", 'String'>
|
|
readonly action: Prisma.FieldRef<"IpAddressLog", 'String'>
|
|
readonly description: Prisma.FieldRef<"IpAddressLog", 'String'>
|
|
readonly success: Prisma.FieldRef<"IpAddressLog", 'Boolean'>
|
|
readonly error: Prisma.FieldRef<"IpAddressLog", 'String'>
|
|
readonly metadata: Prisma.FieldRef<"IpAddressLog", 'String'>
|
|
readonly ipAddressId: Prisma.FieldRef<"IpAddressLog", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* IpAddressLog findUnique
|
|
*/
|
|
export type IpAddressLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which IpAddressLog to fetch.
|
|
*/
|
|
where: Prisma.IpAddressLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog findUniqueOrThrow
|
|
*/
|
|
export type IpAddressLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which IpAddressLog to fetch.
|
|
*/
|
|
where: Prisma.IpAddressLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog findFirst
|
|
*/
|
|
export type IpAddressLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which IpAddressLog to fetch.
|
|
*/
|
|
where?: Prisma.IpAddressLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of IpAddressLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.IpAddressLogOrderByWithRelationInput | Prisma.IpAddressLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for IpAddressLogs.
|
|
*/
|
|
cursor?: Prisma.IpAddressLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` IpAddressLogs 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` IpAddressLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of IpAddressLogs.
|
|
*/
|
|
distinct?: Prisma.IpAddressLogScalarFieldEnum | Prisma.IpAddressLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog findFirstOrThrow
|
|
*/
|
|
export type IpAddressLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which IpAddressLog to fetch.
|
|
*/
|
|
where?: Prisma.IpAddressLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of IpAddressLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.IpAddressLogOrderByWithRelationInput | Prisma.IpAddressLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for IpAddressLogs.
|
|
*/
|
|
cursor?: Prisma.IpAddressLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` IpAddressLogs 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` IpAddressLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of IpAddressLogs.
|
|
*/
|
|
distinct?: Prisma.IpAddressLogScalarFieldEnum | Prisma.IpAddressLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog findMany
|
|
*/
|
|
export type IpAddressLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which IpAddressLogs to fetch.
|
|
*/
|
|
where?: Prisma.IpAddressLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of IpAddressLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.IpAddressLogOrderByWithRelationInput | Prisma.IpAddressLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing IpAddressLogs.
|
|
*/
|
|
cursor?: Prisma.IpAddressLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` IpAddressLogs 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` IpAddressLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of IpAddressLogs.
|
|
*/
|
|
distinct?: Prisma.IpAddressLogScalarFieldEnum | Prisma.IpAddressLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog create
|
|
*/
|
|
export type IpAddressLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a IpAddressLog.
|
|
*/
|
|
data: Prisma.XOR<Prisma.IpAddressLogCreateInput, Prisma.IpAddressLogUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog createMany
|
|
*/
|
|
export type IpAddressLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many IpAddressLogs.
|
|
*/
|
|
data: Prisma.IpAddressLogCreateManyInput | Prisma.IpAddressLogCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog createManyAndReturn
|
|
*/
|
|
export type IpAddressLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many IpAddressLogs.
|
|
*/
|
|
data: Prisma.IpAddressLogCreateManyInput | Prisma.IpAddressLogCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog update
|
|
*/
|
|
export type IpAddressLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a IpAddressLog.
|
|
*/
|
|
data: Prisma.XOR<Prisma.IpAddressLogUpdateInput, Prisma.IpAddressLogUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which IpAddressLog to update.
|
|
*/
|
|
where: Prisma.IpAddressLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog updateMany
|
|
*/
|
|
export type IpAddressLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update IpAddressLogs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.IpAddressLogUpdateManyMutationInput, Prisma.IpAddressLogUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which IpAddressLogs to update
|
|
*/
|
|
where?: Prisma.IpAddressLogWhereInput
|
|
/**
|
|
* Limit how many IpAddressLogs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog updateManyAndReturn
|
|
*/
|
|
export type IpAddressLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update IpAddressLogs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.IpAddressLogUpdateManyMutationInput, Prisma.IpAddressLogUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which IpAddressLogs to update
|
|
*/
|
|
where?: Prisma.IpAddressLogWhereInput
|
|
/**
|
|
* Limit how many IpAddressLogs to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog upsert
|
|
*/
|
|
export type IpAddressLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the IpAddressLog to update in case it exists.
|
|
*/
|
|
where: Prisma.IpAddressLogWhereUniqueInput
|
|
/**
|
|
* In case the IpAddressLog found by the `where` argument doesn't exist, create a new IpAddressLog with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.IpAddressLogCreateInput, Prisma.IpAddressLogUncheckedCreateInput>
|
|
/**
|
|
* In case the IpAddressLog was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.IpAddressLogUpdateInput, Prisma.IpAddressLogUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog delete
|
|
*/
|
|
export type IpAddressLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which IpAddressLog to delete.
|
|
*/
|
|
where: Prisma.IpAddressLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog deleteMany
|
|
*/
|
|
export type IpAddressLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which IpAddressLogs to delete
|
|
*/
|
|
where?: Prisma.IpAddressLogWhereInput
|
|
/**
|
|
* Limit how many IpAddressLogs to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog.ipAddress
|
|
*/
|
|
export type IpAddressLog$ipAddressArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddress
|
|
*/
|
|
select?: Prisma.IpAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddress
|
|
*/
|
|
omit?: Prisma.IpAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressInclude<ExtArgs> | null
|
|
where?: Prisma.IpAddressWhereInput
|
|
}
|
|
|
|
/**
|
|
* IpAddressLog without action
|
|
*/
|
|
export type IpAddressLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the IpAddressLog
|
|
*/
|
|
select?: Prisma.IpAddressLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the IpAddressLog
|
|
*/
|
|
omit?: Prisma.IpAddressLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.IpAddressLogInclude<ExtArgs> | null
|
|
}
|