/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `IpAddress` 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 IpAddress * Privacy (AD-22): `ip` speichert einen HMAC-SHA256-Pseudonym-Hash der Client-IP, KEINE Klartext-IP. * Persistiert wird nur das Land (countryCode/countryName); regionCode/city/zipCode/latitude/longitude * bleiben bewusst leer. Auflösung lokal (DB-IP Lite), kein externer Transfer. */ export type IpAddressModel = runtime.Types.Result.DefaultSelection export type AggregateIpAddress = { _count: IpAddressCountAggregateOutputType | null _avg: IpAddressAvgAggregateOutputType | null _sum: IpAddressSumAggregateOutputType | null _min: IpAddressMinAggregateOutputType | null _max: IpAddressMaxAggregateOutputType | null } export type IpAddressAvgAggregateOutputType = { latitude: runtime.Decimal | null longitude: runtime.Decimal | null } export type IpAddressSumAggregateOutputType = { latitude: runtime.Decimal | null longitude: runtime.Decimal | null } export type IpAddressMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null ip: string | null provider: string | null type: string | null countryCode: string | null countryName: string | null regionCode: string | null regionName: string | null city: string | null zipCode: string | null latitude: runtime.Decimal | null longitude: runtime.Decimal | null metadata: string | null } export type IpAddressMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null ip: string | null provider: string | null type: string | null countryCode: string | null countryName: string | null regionCode: string | null regionName: string | null city: string | null zipCode: string | null latitude: runtime.Decimal | null longitude: runtime.Decimal | null metadata: string | null } export type IpAddressCountAggregateOutputType = { id: number createdAt: number updatedAt: number ip: number provider: number type: number countryCode: number countryName: number regionCode: number regionName: number city: number zipCode: number latitude: number longitude: number metadata: number _all: number } export type IpAddressAvgAggregateInputType = { latitude?: true longitude?: true } export type IpAddressSumAggregateInputType = { latitude?: true longitude?: true } export type IpAddressMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true ip?: true provider?: true type?: true countryCode?: true countryName?: true regionCode?: true regionName?: true city?: true zipCode?: true latitude?: true longitude?: true metadata?: true } export type IpAddressMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true ip?: true provider?: true type?: true countryCode?: true countryName?: true regionCode?: true regionName?: true city?: true zipCode?: true latitude?: true longitude?: true metadata?: true } export type IpAddressCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true ip?: true provider?: true type?: true countryCode?: true countryName?: true regionCode?: true regionName?: true city?: true zipCode?: true latitude?: true longitude?: true metadata?: true _all?: true } export type IpAddressAggregateArgs = { /** * Filter which IpAddress to aggregate. */ where?: Prisma.IpAddressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of IpAddresses to fetch. */ orderBy?: Prisma.IpAddressOrderByWithRelationInput | Prisma.IpAddressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.IpAddressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` IpAddresses 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` IpAddresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned IpAddresses **/ _count?: true | IpAddressCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: IpAddressAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: IpAddressSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: IpAddressMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: IpAddressMaxAggregateInputType } export type GetIpAddressAggregateType = { [P in keyof T & keyof AggregateIpAddress]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type IpAddressGroupByArgs = { where?: Prisma.IpAddressWhereInput orderBy?: Prisma.IpAddressOrderByWithAggregationInput | Prisma.IpAddressOrderByWithAggregationInput[] by: Prisma.IpAddressScalarFieldEnum[] | Prisma.IpAddressScalarFieldEnum having?: Prisma.IpAddressScalarWhereWithAggregatesInput take?: number skip?: number _count?: IpAddressCountAggregateInputType | true _avg?: IpAddressAvgAggregateInputType _sum?: IpAddressSumAggregateInputType _min?: IpAddressMinAggregateInputType _max?: IpAddressMaxAggregateInputType } export type IpAddressGroupByOutputType = { id: string createdAt: Date updatedAt: Date ip: string provider: string type: string countryCode: string countryName: string regionCode: string regionName: string city: string zipCode: string latitude: runtime.Decimal | null longitude: runtime.Decimal | null metadata: string _count: IpAddressCountAggregateOutputType | null _avg: IpAddressAvgAggregateOutputType | null _sum: IpAddressSumAggregateOutputType | null _min: IpAddressMinAggregateOutputType | null _max: IpAddressMaxAggregateOutputType | null } export type GetIpAddressGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof IpAddressGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type IpAddressWhereInput = { AND?: Prisma.IpAddressWhereInput | Prisma.IpAddressWhereInput[] OR?: Prisma.IpAddressWhereInput[] NOT?: Prisma.IpAddressWhereInput | Prisma.IpAddressWhereInput[] id?: Prisma.StringFilter<"IpAddress"> | string createdAt?: Prisma.DateTimeFilter<"IpAddress"> | Date | string updatedAt?: Prisma.DateTimeFilter<"IpAddress"> | Date | string ip?: Prisma.StringFilter<"IpAddress"> | string provider?: Prisma.StringFilter<"IpAddress"> | string type?: Prisma.StringFilter<"IpAddress"> | string countryCode?: Prisma.StringFilter<"IpAddress"> | string countryName?: Prisma.StringFilter<"IpAddress"> | string regionCode?: Prisma.StringFilter<"IpAddress"> | string regionName?: Prisma.StringFilter<"IpAddress"> | string city?: Prisma.StringFilter<"IpAddress"> | string zipCode?: Prisma.StringFilter<"IpAddress"> | string latitude?: Prisma.DecimalNullableFilter<"IpAddress"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.DecimalNullableFilter<"IpAddress"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata?: Prisma.StringFilter<"IpAddress"> | string logs?: Prisma.IpAddressLogListRelationFilter } export type IpAddressOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder ip?: Prisma.SortOrder provider?: Prisma.SortOrder type?: Prisma.SortOrder countryCode?: Prisma.SortOrder countryName?: Prisma.SortOrder regionCode?: Prisma.SortOrder regionName?: Prisma.SortOrder city?: Prisma.SortOrder zipCode?: Prisma.SortOrder latitude?: Prisma.SortOrderInput | Prisma.SortOrder longitude?: Prisma.SortOrderInput | Prisma.SortOrder metadata?: Prisma.SortOrder logs?: Prisma.IpAddressLogOrderByRelationAggregateInput } export type IpAddressWhereUniqueInput = Prisma.AtLeast<{ id?: string ip?: string AND?: Prisma.IpAddressWhereInput | Prisma.IpAddressWhereInput[] OR?: Prisma.IpAddressWhereInput[] NOT?: Prisma.IpAddressWhereInput | Prisma.IpAddressWhereInput[] createdAt?: Prisma.DateTimeFilter<"IpAddress"> | Date | string updatedAt?: Prisma.DateTimeFilter<"IpAddress"> | Date | string provider?: Prisma.StringFilter<"IpAddress"> | string type?: Prisma.StringFilter<"IpAddress"> | string countryCode?: Prisma.StringFilter<"IpAddress"> | string countryName?: Prisma.StringFilter<"IpAddress"> | string regionCode?: Prisma.StringFilter<"IpAddress"> | string regionName?: Prisma.StringFilter<"IpAddress"> | string city?: Prisma.StringFilter<"IpAddress"> | string zipCode?: Prisma.StringFilter<"IpAddress"> | string latitude?: Prisma.DecimalNullableFilter<"IpAddress"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.DecimalNullableFilter<"IpAddress"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata?: Prisma.StringFilter<"IpAddress"> | string logs?: Prisma.IpAddressLogListRelationFilter }, "id" | "ip"> export type IpAddressOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder ip?: Prisma.SortOrder provider?: Prisma.SortOrder type?: Prisma.SortOrder countryCode?: Prisma.SortOrder countryName?: Prisma.SortOrder regionCode?: Prisma.SortOrder regionName?: Prisma.SortOrder city?: Prisma.SortOrder zipCode?: Prisma.SortOrder latitude?: Prisma.SortOrderInput | Prisma.SortOrder longitude?: Prisma.SortOrderInput | Prisma.SortOrder metadata?: Prisma.SortOrder _count?: Prisma.IpAddressCountOrderByAggregateInput _avg?: Prisma.IpAddressAvgOrderByAggregateInput _max?: Prisma.IpAddressMaxOrderByAggregateInput _min?: Prisma.IpAddressMinOrderByAggregateInput _sum?: Prisma.IpAddressSumOrderByAggregateInput } export type IpAddressScalarWhereWithAggregatesInput = { AND?: Prisma.IpAddressScalarWhereWithAggregatesInput | Prisma.IpAddressScalarWhereWithAggregatesInput[] OR?: Prisma.IpAddressScalarWhereWithAggregatesInput[] NOT?: Prisma.IpAddressScalarWhereWithAggregatesInput | Prisma.IpAddressScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"IpAddress"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"IpAddress"> | Date | string ip?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string provider?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string type?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string countryCode?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string countryName?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string regionCode?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string regionName?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string city?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string zipCode?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string latitude?: Prisma.DecimalNullableWithAggregatesFilter<"IpAddress"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.DecimalNullableWithAggregatesFilter<"IpAddress"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata?: Prisma.StringWithAggregatesFilter<"IpAddress"> | string } export type IpAddressCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string ip: string provider: string type: string countryCode: string countryName: string regionCode: string regionName: string city: string zipCode: string latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata: string logs?: Prisma.IpAddressLogCreateNestedManyWithoutIpAddressInput } export type IpAddressUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string ip: string provider: string type: string countryCode: string countryName: string regionCode: string regionName: string city: string zipCode: string latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata: string logs?: Prisma.IpAddressLogUncheckedCreateNestedManyWithoutIpAddressInput } export type IpAddressUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string ip?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string countryCode?: Prisma.StringFieldUpdateOperationsInput | string countryName?: Prisma.StringFieldUpdateOperationsInput | string regionCode?: Prisma.StringFieldUpdateOperationsInput | string regionName?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string zipCode?: Prisma.StringFieldUpdateOperationsInput | string latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string logs?: Prisma.IpAddressLogUpdateManyWithoutIpAddressNestedInput } export type IpAddressUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string ip?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string countryCode?: Prisma.StringFieldUpdateOperationsInput | string countryName?: Prisma.StringFieldUpdateOperationsInput | string regionCode?: Prisma.StringFieldUpdateOperationsInput | string regionName?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string zipCode?: Prisma.StringFieldUpdateOperationsInput | string latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string logs?: Prisma.IpAddressLogUncheckedUpdateManyWithoutIpAddressNestedInput } export type IpAddressCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string ip: string provider: string type: string countryCode: string countryName: string regionCode: string regionName: string city: string zipCode: string latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata: string } export type IpAddressUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string ip?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string countryCode?: Prisma.StringFieldUpdateOperationsInput | string countryName?: Prisma.StringFieldUpdateOperationsInput | string regionCode?: Prisma.StringFieldUpdateOperationsInput | string regionName?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string zipCode?: Prisma.StringFieldUpdateOperationsInput | string latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string } export type IpAddressUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string ip?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string countryCode?: Prisma.StringFieldUpdateOperationsInput | string countryName?: Prisma.StringFieldUpdateOperationsInput | string regionCode?: Prisma.StringFieldUpdateOperationsInput | string regionName?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string zipCode?: Prisma.StringFieldUpdateOperationsInput | string latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string } export type IpAddressCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder ip?: Prisma.SortOrder provider?: Prisma.SortOrder type?: Prisma.SortOrder countryCode?: Prisma.SortOrder countryName?: Prisma.SortOrder regionCode?: Prisma.SortOrder regionName?: Prisma.SortOrder city?: Prisma.SortOrder zipCode?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder metadata?: Prisma.SortOrder } export type IpAddressAvgOrderByAggregateInput = { latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder } export type IpAddressMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder ip?: Prisma.SortOrder provider?: Prisma.SortOrder type?: Prisma.SortOrder countryCode?: Prisma.SortOrder countryName?: Prisma.SortOrder regionCode?: Prisma.SortOrder regionName?: Prisma.SortOrder city?: Prisma.SortOrder zipCode?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder metadata?: Prisma.SortOrder } export type IpAddressMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder ip?: Prisma.SortOrder provider?: Prisma.SortOrder type?: Prisma.SortOrder countryCode?: Prisma.SortOrder countryName?: Prisma.SortOrder regionCode?: Prisma.SortOrder regionName?: Prisma.SortOrder city?: Prisma.SortOrder zipCode?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder metadata?: Prisma.SortOrder } export type IpAddressSumOrderByAggregateInput = { latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder } export type IpAddressNullableScalarRelationFilter = { is?: Prisma.IpAddressWhereInput | null isNot?: Prisma.IpAddressWhereInput | null } export type NullableDecimalFieldUpdateOperationsInput = { set?: runtime.Decimal | runtime.DecimalJsLike | number | string | null increment?: runtime.Decimal | runtime.DecimalJsLike | number | string decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string divide?: runtime.Decimal | runtime.DecimalJsLike | number | string } export type IpAddressCreateNestedOneWithoutLogsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.IpAddressCreateOrConnectWithoutLogsInput connect?: Prisma.IpAddressWhereUniqueInput } export type IpAddressUpdateOneWithoutLogsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.IpAddressCreateOrConnectWithoutLogsInput upsert?: Prisma.IpAddressUpsertWithoutLogsInput disconnect?: Prisma.IpAddressWhereInput | boolean delete?: Prisma.IpAddressWhereInput | boolean connect?: Prisma.IpAddressWhereUniqueInput update?: Prisma.XOR, Prisma.IpAddressUncheckedUpdateWithoutLogsInput> } export type IpAddressCreateWithoutLogsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string ip: string provider: string type: string countryCode: string countryName: string regionCode: string regionName: string city: string zipCode: string latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata: string } export type IpAddressUncheckedCreateWithoutLogsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string ip: string provider: string type: string countryCode: string countryName: string regionCode: string regionName: string city: string zipCode: string latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata: string } export type IpAddressCreateOrConnectWithoutLogsInput = { where: Prisma.IpAddressWhereUniqueInput create: Prisma.XOR } export type IpAddressUpsertWithoutLogsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.IpAddressWhereInput } export type IpAddressUpdateToOneWithWhereWithoutLogsInput = { where?: Prisma.IpAddressWhereInput data: Prisma.XOR } export type IpAddressUpdateWithoutLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string ip?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string countryCode?: Prisma.StringFieldUpdateOperationsInput | string countryName?: Prisma.StringFieldUpdateOperationsInput | string regionCode?: Prisma.StringFieldUpdateOperationsInput | string regionName?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string zipCode?: Prisma.StringFieldUpdateOperationsInput | string latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string } export type IpAddressUncheckedUpdateWithoutLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string ip?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string countryCode?: Prisma.StringFieldUpdateOperationsInput | string countryName?: Prisma.StringFieldUpdateOperationsInput | string regionCode?: Prisma.StringFieldUpdateOperationsInput | string regionName?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string zipCode?: Prisma.StringFieldUpdateOperationsInput | string latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string } /** * Count Type IpAddressCountOutputType */ export type IpAddressCountOutputType = { logs: number } export type IpAddressCountOutputTypeSelect = { logs?: boolean | IpAddressCountOutputTypeCountLogsArgs } /** * IpAddressCountOutputType without action */ export type IpAddressCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the IpAddressCountOutputType */ select?: Prisma.IpAddressCountOutputTypeSelect | null } /** * IpAddressCountOutputType without action */ export type IpAddressCountOutputTypeCountLogsArgs = { where?: Prisma.IpAddressLogWhereInput } export type IpAddressSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean ip?: boolean provider?: boolean type?: boolean countryCode?: boolean countryName?: boolean regionCode?: boolean regionName?: boolean city?: boolean zipCode?: boolean latitude?: boolean longitude?: boolean metadata?: boolean logs?: boolean | Prisma.IpAddress$logsArgs _count?: boolean | Prisma.IpAddressCountOutputTypeDefaultArgs }, ExtArgs["result"]["ipAddress"]> export type IpAddressSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean ip?: boolean provider?: boolean type?: boolean countryCode?: boolean countryName?: boolean regionCode?: boolean regionName?: boolean city?: boolean zipCode?: boolean latitude?: boolean longitude?: boolean metadata?: boolean }, ExtArgs["result"]["ipAddress"]> export type IpAddressSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean ip?: boolean provider?: boolean type?: boolean countryCode?: boolean countryName?: boolean regionCode?: boolean regionName?: boolean city?: boolean zipCode?: boolean latitude?: boolean longitude?: boolean metadata?: boolean }, ExtArgs["result"]["ipAddress"]> export type IpAddressSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean ip?: boolean provider?: boolean type?: boolean countryCode?: boolean countryName?: boolean regionCode?: boolean regionName?: boolean city?: boolean zipCode?: boolean latitude?: boolean longitude?: boolean metadata?: boolean } export type IpAddressOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "ip" | "provider" | "type" | "countryCode" | "countryName" | "regionCode" | "regionName" | "city" | "zipCode" | "latitude" | "longitude" | "metadata", ExtArgs["result"]["ipAddress"]> export type IpAddressInclude = { logs?: boolean | Prisma.IpAddress$logsArgs _count?: boolean | Prisma.IpAddressCountOutputTypeDefaultArgs } export type IpAddressIncludeCreateManyAndReturn = {} export type IpAddressIncludeUpdateManyAndReturn = {} export type $IpAddressPayload = { name: "IpAddress" objects: { logs: Prisma.$IpAddressLogPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date ip: string provider: string type: string countryCode: string countryName: string regionCode: string regionName: string city: string zipCode: string latitude: runtime.Decimal | null longitude: runtime.Decimal | null metadata: string }, ExtArgs["result"]["ipAddress"]> composites: {} } export type IpAddressGetPayload = runtime.Types.Result.GetResult export type IpAddressCountArgs = Omit & { select?: IpAddressCountAggregateInputType | true } export interface IpAddressDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['IpAddress'], meta: { name: 'IpAddress' } } /** * Find zero or one IpAddress that matches the filter. * @param {IpAddressFindUniqueArgs} args - Arguments to find a IpAddress * @example * // Get one IpAddress * const ipAddress = await prisma.ipAddress.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__IpAddressClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one IpAddress that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {IpAddressFindUniqueOrThrowArgs} args - Arguments to find a IpAddress * @example * // Get one IpAddress * const ipAddress = await prisma.ipAddress.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__IpAddressClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first IpAddress 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 {IpAddressFindFirstArgs} args - Arguments to find a IpAddress * @example * // Get one IpAddress * const ipAddress = await prisma.ipAddress.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__IpAddressClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first IpAddress 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 {IpAddressFindFirstOrThrowArgs} args - Arguments to find a IpAddress * @example * // Get one IpAddress * const ipAddress = await prisma.ipAddress.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__IpAddressClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more IpAddresses 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 {IpAddressFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all IpAddresses * const ipAddresses = await prisma.ipAddress.findMany() * * // Get first 10 IpAddresses * const ipAddresses = await prisma.ipAddress.findMany({ take: 10 }) * * // Only select the `id` * const ipAddressWithIdOnly = await prisma.ipAddress.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a IpAddress. * @param {IpAddressCreateArgs} args - Arguments to create a IpAddress. * @example * // Create one IpAddress * const IpAddress = await prisma.ipAddress.create({ * data: { * // ... data to create a IpAddress * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__IpAddressClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many IpAddresses. * @param {IpAddressCreateManyArgs} args - Arguments to create many IpAddresses. * @example * // Create many IpAddresses * const ipAddress = await prisma.ipAddress.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many IpAddresses and returns the data saved in the database. * @param {IpAddressCreateManyAndReturnArgs} args - Arguments to create many IpAddresses. * @example * // Create many IpAddresses * const ipAddress = await prisma.ipAddress.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many IpAddresses and only return the `id` * const ipAddressWithIdOnly = await prisma.ipAddress.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a IpAddress. * @param {IpAddressDeleteArgs} args - Arguments to delete one IpAddress. * @example * // Delete one IpAddress * const IpAddress = await prisma.ipAddress.delete({ * where: { * // ... filter to delete one IpAddress * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__IpAddressClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one IpAddress. * @param {IpAddressUpdateArgs} args - Arguments to update one IpAddress. * @example * // Update one IpAddress * const ipAddress = await prisma.ipAddress.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__IpAddressClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more IpAddresses. * @param {IpAddressDeleteManyArgs} args - Arguments to filter IpAddresses to delete. * @example * // Delete a few IpAddresses * const { count } = await prisma.ipAddress.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more IpAddresses. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {IpAddressUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many IpAddresses * const ipAddress = await prisma.ipAddress.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more IpAddresses and returns the data updated in the database. * @param {IpAddressUpdateManyAndReturnArgs} args - Arguments to update many IpAddresses. * @example * // Update many IpAddresses * const ipAddress = await prisma.ipAddress.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more IpAddresses and only return the `id` * const ipAddressWithIdOnly = await prisma.ipAddress.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one IpAddress. * @param {IpAddressUpsertArgs} args - Arguments to update or create a IpAddress. * @example * // Update or create a IpAddress * const ipAddress = await prisma.ipAddress.upsert({ * create: { * // ... data to create a IpAddress * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the IpAddress we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__IpAddressClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of IpAddresses. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {IpAddressCountArgs} args - Arguments to filter IpAddresses to count. * @example * // Count the number of IpAddresses * const count = await prisma.ipAddress.count({ * where: { * // ... the filter for the IpAddresses we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a IpAddress. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {IpAddressAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by IpAddress. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {IpAddressGroupByArgs} 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 IpAddressGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: IpAddressGroupByArgs['orderBy'] } : { orderBy?: IpAddressGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetIpAddressGroupByPayload : Prisma.PrismaPromise /** * Fields of the IpAddress model */ readonly fields: IpAddressFieldRefs; } /** * The delegate class that acts as a "Promise-like" for IpAddress. * 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__IpAddressClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" logs = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the IpAddress model */ export interface IpAddressFieldRefs { readonly id: Prisma.FieldRef<"IpAddress", 'String'> readonly createdAt: Prisma.FieldRef<"IpAddress", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"IpAddress", 'DateTime'> readonly ip: Prisma.FieldRef<"IpAddress", 'String'> readonly provider: Prisma.FieldRef<"IpAddress", 'String'> readonly type: Prisma.FieldRef<"IpAddress", 'String'> readonly countryCode: Prisma.FieldRef<"IpAddress", 'String'> readonly countryName: Prisma.FieldRef<"IpAddress", 'String'> readonly regionCode: Prisma.FieldRef<"IpAddress", 'String'> readonly regionName: Prisma.FieldRef<"IpAddress", 'String'> readonly city: Prisma.FieldRef<"IpAddress", 'String'> readonly zipCode: Prisma.FieldRef<"IpAddress", 'String'> readonly latitude: Prisma.FieldRef<"IpAddress", 'Decimal'> readonly longitude: Prisma.FieldRef<"IpAddress", 'Decimal'> readonly metadata: Prisma.FieldRef<"IpAddress", 'String'> } // Custom InputTypes /** * IpAddress findUnique */ export type IpAddressFindUniqueArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelect | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressInclude | null /** * Filter, which IpAddress to fetch. */ where: Prisma.IpAddressWhereUniqueInput } /** * IpAddress findUniqueOrThrow */ export type IpAddressFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelect | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressInclude | null /** * Filter, which IpAddress to fetch. */ where: Prisma.IpAddressWhereUniqueInput } /** * IpAddress findFirst */ export type IpAddressFindFirstArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelect | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressInclude | null /** * Filter, which IpAddress to fetch. */ where?: Prisma.IpAddressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of IpAddresses to fetch. */ orderBy?: Prisma.IpAddressOrderByWithRelationInput | Prisma.IpAddressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for IpAddresses. */ cursor?: Prisma.IpAddressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` IpAddresses 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` IpAddresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of IpAddresses. */ distinct?: Prisma.IpAddressScalarFieldEnum | Prisma.IpAddressScalarFieldEnum[] } /** * IpAddress findFirstOrThrow */ export type IpAddressFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelect | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressInclude | null /** * Filter, which IpAddress to fetch. */ where?: Prisma.IpAddressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of IpAddresses to fetch. */ orderBy?: Prisma.IpAddressOrderByWithRelationInput | Prisma.IpAddressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for IpAddresses. */ cursor?: Prisma.IpAddressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` IpAddresses 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` IpAddresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of IpAddresses. */ distinct?: Prisma.IpAddressScalarFieldEnum | Prisma.IpAddressScalarFieldEnum[] } /** * IpAddress findMany */ export type IpAddressFindManyArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelect | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressInclude | null /** * Filter, which IpAddresses to fetch. */ where?: Prisma.IpAddressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of IpAddresses to fetch. */ orderBy?: Prisma.IpAddressOrderByWithRelationInput | Prisma.IpAddressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing IpAddresses. */ cursor?: Prisma.IpAddressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` IpAddresses 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` IpAddresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of IpAddresses. */ distinct?: Prisma.IpAddressScalarFieldEnum | Prisma.IpAddressScalarFieldEnum[] } /** * IpAddress create */ export type IpAddressCreateArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelect | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressInclude | null /** * The data needed to create a IpAddress. */ data: Prisma.XOR } /** * IpAddress createMany */ export type IpAddressCreateManyArgs = { /** * The data used to create many IpAddresses. */ data: Prisma.IpAddressCreateManyInput | Prisma.IpAddressCreateManyInput[] skipDuplicates?: boolean } /** * IpAddress createManyAndReturn */ export type IpAddressCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelectCreateManyAndReturn | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * The data used to create many IpAddresses. */ data: Prisma.IpAddressCreateManyInput | Prisma.IpAddressCreateManyInput[] skipDuplicates?: boolean } /** * IpAddress update */ export type IpAddressUpdateArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelect | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressInclude | null /** * The data needed to update a IpAddress. */ data: Prisma.XOR /** * Choose, which IpAddress to update. */ where: Prisma.IpAddressWhereUniqueInput } /** * IpAddress updateMany */ export type IpAddressUpdateManyArgs = { /** * The data used to update IpAddresses. */ data: Prisma.XOR /** * Filter which IpAddresses to update */ where?: Prisma.IpAddressWhereInput /** * Limit how many IpAddresses to update. */ limit?: number } /** * IpAddress updateManyAndReturn */ export type IpAddressUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelectUpdateManyAndReturn | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * The data used to update IpAddresses. */ data: Prisma.XOR /** * Filter which IpAddresses to update */ where?: Prisma.IpAddressWhereInput /** * Limit how many IpAddresses to update. */ limit?: number } /** * IpAddress upsert */ export type IpAddressUpsertArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelect | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressInclude | null /** * The filter to search for the IpAddress to update in case it exists. */ where: Prisma.IpAddressWhereUniqueInput /** * In case the IpAddress found by the `where` argument doesn't exist, create a new IpAddress with this data. */ create: Prisma.XOR /** * In case the IpAddress was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * IpAddress delete */ export type IpAddressDeleteArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelect | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressInclude | null /** * Filter which IpAddress to delete. */ where: Prisma.IpAddressWhereUniqueInput } /** * IpAddress deleteMany */ export type IpAddressDeleteManyArgs = { /** * Filter which IpAddresses to delete */ where?: Prisma.IpAddressWhereInput /** * Limit how many IpAddresses to delete. */ limit?: number } /** * IpAddress.logs */ export type IpAddress$logsArgs = { /** * Select specific fields to fetch from the IpAddressLog */ select?: Prisma.IpAddressLogSelect | null /** * Omit specific fields from the IpAddressLog */ omit?: Prisma.IpAddressLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressLogInclude | null where?: Prisma.IpAddressLogWhereInput orderBy?: Prisma.IpAddressLogOrderByWithRelationInput | Prisma.IpAddressLogOrderByWithRelationInput[] cursor?: Prisma.IpAddressLogWhereUniqueInput take?: number skip?: number distinct?: Prisma.IpAddressLogScalarFieldEnum | Prisma.IpAddressLogScalarFieldEnum[] } /** * IpAddress without action */ export type IpAddressDefaultArgs = { /** * Select specific fields to fetch from the IpAddress */ select?: Prisma.IpAddressSelect | null /** * Omit specific fields from the IpAddress */ omit?: Prisma.IpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.IpAddressInclude | null }