
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `ip` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums"
import type * as Prisma from "../internal/prismaNamespace"

/**
 * Model ip
 * 
 */
export type ipModel = runtime.Types.Result.DefaultSelection<Prisma.$ipPayload>

export type AggregateIp = {
  _count: IpCountAggregateOutputType | null
  _avg: IpAvgAggregateOutputType | null
  _sum: IpSumAggregateOutputType | null
  _min: IpMinAggregateOutputType | null
  _max: IpMaxAggregateOutputType | null
}

export type IpAvgAggregateOutputType = {
  id: number | null
  service_id: number | null
  ip_conso: number | null
  actif: number | null
}

export type IpSumAggregateOutputType = {
  id: number | null
  service_id: bigint | null
  ip_conso: number | null
  actif: number | null
}

export type IpMinAggregateOutputType = {
  id: number | null
  service_id: bigint | null
  ip: string | null
  prive: string | null
  ip_relais: string | null
  technology: string | null
  name_access_point: string | null
  mac: string | null
  web_link: string | null
  link_relais: string | null
  ip_conso: number | null
  actif: number | null
  comment: string | null
  cidr: string | null
  last_updated: Date | null
}

export type IpMaxAggregateOutputType = {
  id: number | null
  service_id: bigint | null
  ip: string | null
  prive: string | null
  ip_relais: string | null
  technology: string | null
  name_access_point: string | null
  mac: string | null
  web_link: string | null
  link_relais: string | null
  ip_conso: number | null
  actif: number | null
  comment: string | null
  cidr: string | null
  last_updated: Date | null
}

export type IpCountAggregateOutputType = {
  id: number
  service_id: number
  ip: number
  prive: number
  ip_relais: number
  technology: number
  name_access_point: number
  mac: number
  web_link: number
  link_relais: number
  ip_conso: number
  actif: number
  comment: number
  cidr: number
  last_updated: number
  _all: number
}


export type IpAvgAggregateInputType = {
  id?: true
  service_id?: true
  ip_conso?: true
  actif?: true
}

export type IpSumAggregateInputType = {
  id?: true
  service_id?: true
  ip_conso?: true
  actif?: true
}

export type IpMinAggregateInputType = {
  id?: true
  service_id?: true
  ip?: true
  prive?: true
  ip_relais?: true
  technology?: true
  name_access_point?: true
  mac?: true
  web_link?: true
  link_relais?: true
  ip_conso?: true
  actif?: true
  comment?: true
  cidr?: true
  last_updated?: true
}

export type IpMaxAggregateInputType = {
  id?: true
  service_id?: true
  ip?: true
  prive?: true
  ip_relais?: true
  technology?: true
  name_access_point?: true
  mac?: true
  web_link?: true
  link_relais?: true
  ip_conso?: true
  actif?: true
  comment?: true
  cidr?: true
  last_updated?: true
}

export type IpCountAggregateInputType = {
  id?: true
  service_id?: true
  ip?: true
  prive?: true
  ip_relais?: true
  technology?: true
  name_access_point?: true
  mac?: true
  web_link?: true
  link_relais?: true
  ip_conso?: true
  actif?: true
  comment?: true
  cidr?: true
  last_updated?: true
  _all?: true
}

export type IpAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which ip to aggregate.
   */
  where?: Prisma.ipWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ips to fetch.
   */
  orderBy?: Prisma.ipOrderByWithRelationInput | Prisma.ipOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.ipWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ips 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` ips.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned ips
  **/
  _count?: true | IpCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: IpAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: IpSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: IpMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: IpMaxAggregateInputType
}

export type GetIpAggregateType<T extends IpAggregateArgs> = {
      [P in keyof T & keyof AggregateIp]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateIp[P]>
    : Prisma.GetScalarType<T[P], AggregateIp[P]>
}




export type ipGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.ipWhereInput
  orderBy?: Prisma.ipOrderByWithAggregationInput | Prisma.ipOrderByWithAggregationInput[]
  by: Prisma.IpScalarFieldEnum[] | Prisma.IpScalarFieldEnum
  having?: Prisma.ipScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: IpCountAggregateInputType | true
  _avg?: IpAvgAggregateInputType
  _sum?: IpSumAggregateInputType
  _min?: IpMinAggregateInputType
  _max?: IpMaxAggregateInputType
}

export type IpGroupByOutputType = {
  id: number
  service_id: bigint | null
  ip: string | null
  prive: string | null
  ip_relais: string | null
  technology: string | null
  name_access_point: string | null
  mac: string | null
  web_link: string | null
  link_relais: string | null
  ip_conso: number
  actif: number
  comment: string | null
  cidr: string | null
  last_updated: Date
  _count: IpCountAggregateOutputType | null
  _avg: IpAvgAggregateOutputType | null
  _sum: IpSumAggregateOutputType | null
  _min: IpMinAggregateOutputType | null
  _max: IpMaxAggregateOutputType | null
}

type GetIpGroupByPayload<T extends ipGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<IpGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof IpGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], IpGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], IpGroupByOutputType[P]>
      }
    >
  >



export type ipWhereInput = {
  AND?: Prisma.ipWhereInput | Prisma.ipWhereInput[]
  OR?: Prisma.ipWhereInput[]
  NOT?: Prisma.ipWhereInput | Prisma.ipWhereInput[]
  id?: Prisma.IntFilter<"ip"> | number
  service_id?: Prisma.BigIntNullableFilter<"ip"> | bigint | number | null
  ip?: Prisma.StringNullableFilter<"ip"> | string | null
  prive?: Prisma.StringNullableFilter<"ip"> | string | null
  ip_relais?: Prisma.StringNullableFilter<"ip"> | string | null
  technology?: Prisma.StringNullableFilter<"ip"> | string | null
  name_access_point?: Prisma.StringNullableFilter<"ip"> | string | null
  mac?: Prisma.StringNullableFilter<"ip"> | string | null
  web_link?: Prisma.StringNullableFilter<"ip"> | string | null
  link_relais?: Prisma.StringNullableFilter<"ip"> | string | null
  ip_conso?: Prisma.IntFilter<"ip"> | number
  actif?: Prisma.IntFilter<"ip"> | number
  comment?: Prisma.StringNullableFilter<"ip"> | string | null
  cidr?: Prisma.StringNullableFilter<"ip"> | string | null
  last_updated?: Prisma.DateTimeFilter<"ip"> | Date | string
}

export type ipOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  ip?: Prisma.SortOrderInput | Prisma.SortOrder
  prive?: Prisma.SortOrderInput | Prisma.SortOrder
  ip_relais?: Prisma.SortOrderInput | Prisma.SortOrder
  technology?: Prisma.SortOrderInput | Prisma.SortOrder
  name_access_point?: Prisma.SortOrderInput | Prisma.SortOrder
  mac?: Prisma.SortOrderInput | Prisma.SortOrder
  web_link?: Prisma.SortOrderInput | Prisma.SortOrder
  link_relais?: Prisma.SortOrderInput | Prisma.SortOrder
  ip_conso?: Prisma.SortOrder
  actif?: Prisma.SortOrder
  comment?: Prisma.SortOrderInput | Prisma.SortOrder
  cidr?: Prisma.SortOrderInput | Prisma.SortOrder
  last_updated?: Prisma.SortOrder
  _relevance?: Prisma.ipOrderByRelevanceInput
}

export type ipWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.ipWhereInput | Prisma.ipWhereInput[]
  OR?: Prisma.ipWhereInput[]
  NOT?: Prisma.ipWhereInput | Prisma.ipWhereInput[]
  service_id?: Prisma.BigIntNullableFilter<"ip"> | bigint | number | null
  ip?: Prisma.StringNullableFilter<"ip"> | string | null
  prive?: Prisma.StringNullableFilter<"ip"> | string | null
  ip_relais?: Prisma.StringNullableFilter<"ip"> | string | null
  technology?: Prisma.StringNullableFilter<"ip"> | string | null
  name_access_point?: Prisma.StringNullableFilter<"ip"> | string | null
  mac?: Prisma.StringNullableFilter<"ip"> | string | null
  web_link?: Prisma.StringNullableFilter<"ip"> | string | null
  link_relais?: Prisma.StringNullableFilter<"ip"> | string | null
  ip_conso?: Prisma.IntFilter<"ip"> | number
  actif?: Prisma.IntFilter<"ip"> | number
  comment?: Prisma.StringNullableFilter<"ip"> | string | null
  cidr?: Prisma.StringNullableFilter<"ip"> | string | null
  last_updated?: Prisma.DateTimeFilter<"ip"> | Date | string
}, "id">

export type ipOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  ip?: Prisma.SortOrderInput | Prisma.SortOrder
  prive?: Prisma.SortOrderInput | Prisma.SortOrder
  ip_relais?: Prisma.SortOrderInput | Prisma.SortOrder
  technology?: Prisma.SortOrderInput | Prisma.SortOrder
  name_access_point?: Prisma.SortOrderInput | Prisma.SortOrder
  mac?: Prisma.SortOrderInput | Prisma.SortOrder
  web_link?: Prisma.SortOrderInput | Prisma.SortOrder
  link_relais?: Prisma.SortOrderInput | Prisma.SortOrder
  ip_conso?: Prisma.SortOrder
  actif?: Prisma.SortOrder
  comment?: Prisma.SortOrderInput | Prisma.SortOrder
  cidr?: Prisma.SortOrderInput | Prisma.SortOrder
  last_updated?: Prisma.SortOrder
  _count?: Prisma.ipCountOrderByAggregateInput
  _avg?: Prisma.ipAvgOrderByAggregateInput
  _max?: Prisma.ipMaxOrderByAggregateInput
  _min?: Prisma.ipMinOrderByAggregateInput
  _sum?: Prisma.ipSumOrderByAggregateInput
}

export type ipScalarWhereWithAggregatesInput = {
  AND?: Prisma.ipScalarWhereWithAggregatesInput | Prisma.ipScalarWhereWithAggregatesInput[]
  OR?: Prisma.ipScalarWhereWithAggregatesInput[]
  NOT?: Prisma.ipScalarWhereWithAggregatesInput | Prisma.ipScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"ip"> | number
  service_id?: Prisma.BigIntNullableWithAggregatesFilter<"ip"> | bigint | number | null
  ip?: Prisma.StringNullableWithAggregatesFilter<"ip"> | string | null
  prive?: Prisma.StringNullableWithAggregatesFilter<"ip"> | string | null
  ip_relais?: Prisma.StringNullableWithAggregatesFilter<"ip"> | string | null
  technology?: Prisma.StringNullableWithAggregatesFilter<"ip"> | string | null
  name_access_point?: Prisma.StringNullableWithAggregatesFilter<"ip"> | string | null
  mac?: Prisma.StringNullableWithAggregatesFilter<"ip"> | string | null
  web_link?: Prisma.StringNullableWithAggregatesFilter<"ip"> | string | null
  link_relais?: Prisma.StringNullableWithAggregatesFilter<"ip"> | string | null
  ip_conso?: Prisma.IntWithAggregatesFilter<"ip"> | number
  actif?: Prisma.IntWithAggregatesFilter<"ip"> | number
  comment?: Prisma.StringNullableWithAggregatesFilter<"ip"> | string | null
  cidr?: Prisma.StringNullableWithAggregatesFilter<"ip"> | string | null
  last_updated?: Prisma.DateTimeWithAggregatesFilter<"ip"> | Date | string
}

export type ipCreateInput = {
  service_id?: bigint | number | null
  ip?: string | null
  prive?: string | null
  ip_relais?: string | null
  technology?: string | null
  name_access_point?: string | null
  mac?: string | null
  web_link?: string | null
  link_relais?: string | null
  ip_conso?: number
  actif?: number
  comment?: string | null
  cidr?: string | null
  last_updated?: Date | string
}

export type ipUncheckedCreateInput = {
  id?: number
  service_id?: bigint | number | null
  ip?: string | null
  prive?: string | null
  ip_relais?: string | null
  technology?: string | null
  name_access_point?: string | null
  mac?: string | null
  web_link?: string | null
  link_relais?: string | null
  ip_conso?: number
  actif?: number
  comment?: string | null
  cidr?: string | null
  last_updated?: Date | string
}

export type ipUpdateInput = {
  service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  prive?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip_relais?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  technology?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  name_access_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  mac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  web_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  link_relais?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip_conso?: Prisma.IntFieldUpdateOperationsInput | number
  actif?: Prisma.IntFieldUpdateOperationsInput | number
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  cidr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type ipUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  prive?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip_relais?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  technology?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  name_access_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  mac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  web_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  link_relais?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip_conso?: Prisma.IntFieldUpdateOperationsInput | number
  actif?: Prisma.IntFieldUpdateOperationsInput | number
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  cidr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type ipCreateManyInput = {
  id?: number
  service_id?: bigint | number | null
  ip?: string | null
  prive?: string | null
  ip_relais?: string | null
  technology?: string | null
  name_access_point?: string | null
  mac?: string | null
  web_link?: string | null
  link_relais?: string | null
  ip_conso?: number
  actif?: number
  comment?: string | null
  cidr?: string | null
  last_updated?: Date | string
}

export type ipUpdateManyMutationInput = {
  service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  prive?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip_relais?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  technology?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  name_access_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  mac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  web_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  link_relais?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip_conso?: Prisma.IntFieldUpdateOperationsInput | number
  actif?: Prisma.IntFieldUpdateOperationsInput | number
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  cidr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type ipUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  prive?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip_relais?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  technology?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  name_access_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  mac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  web_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  link_relais?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip_conso?: Prisma.IntFieldUpdateOperationsInput | number
  actif?: Prisma.IntFieldUpdateOperationsInput | number
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  cidr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type ipOrderByRelevanceInput = {
  fields: Prisma.ipOrderByRelevanceFieldEnum | Prisma.ipOrderByRelevanceFieldEnum[]
  sort: Prisma.SortOrder
  search: string
}

export type ipCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  ip?: Prisma.SortOrder
  prive?: Prisma.SortOrder
  ip_relais?: Prisma.SortOrder
  technology?: Prisma.SortOrder
  name_access_point?: Prisma.SortOrder
  mac?: Prisma.SortOrder
  web_link?: Prisma.SortOrder
  link_relais?: Prisma.SortOrder
  ip_conso?: Prisma.SortOrder
  actif?: Prisma.SortOrder
  comment?: Prisma.SortOrder
  cidr?: Prisma.SortOrder
  last_updated?: Prisma.SortOrder
}

export type ipAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  ip_conso?: Prisma.SortOrder
  actif?: Prisma.SortOrder
}

export type ipMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  ip?: Prisma.SortOrder
  prive?: Prisma.SortOrder
  ip_relais?: Prisma.SortOrder
  technology?: Prisma.SortOrder
  name_access_point?: Prisma.SortOrder
  mac?: Prisma.SortOrder
  web_link?: Prisma.SortOrder
  link_relais?: Prisma.SortOrder
  ip_conso?: Prisma.SortOrder
  actif?: Prisma.SortOrder
  comment?: Prisma.SortOrder
  cidr?: Prisma.SortOrder
  last_updated?: Prisma.SortOrder
}

export type ipMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  ip?: Prisma.SortOrder
  prive?: Prisma.SortOrder
  ip_relais?: Prisma.SortOrder
  technology?: Prisma.SortOrder
  name_access_point?: Prisma.SortOrder
  mac?: Prisma.SortOrder
  web_link?: Prisma.SortOrder
  link_relais?: Prisma.SortOrder
  ip_conso?: Prisma.SortOrder
  actif?: Prisma.SortOrder
  comment?: Prisma.SortOrder
  cidr?: Prisma.SortOrder
  last_updated?: Prisma.SortOrder
}

export type ipSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  ip_conso?: Prisma.SortOrder
  actif?: Prisma.SortOrder
}



export type ipSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  service_id?: boolean
  ip?: boolean
  prive?: boolean
  ip_relais?: boolean
  technology?: boolean
  name_access_point?: boolean
  mac?: boolean
  web_link?: boolean
  link_relais?: boolean
  ip_conso?: boolean
  actif?: boolean
  comment?: boolean
  cidr?: boolean
  last_updated?: boolean
}, ExtArgs["result"]["ip"]>



export type ipSelectScalar = {
  id?: boolean
  service_id?: boolean
  ip?: boolean
  prive?: boolean
  ip_relais?: boolean
  technology?: boolean
  name_access_point?: boolean
  mac?: boolean
  web_link?: boolean
  link_relais?: boolean
  ip_conso?: boolean
  actif?: boolean
  comment?: boolean
  cidr?: boolean
  last_updated?: boolean
}

export type ipOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "service_id" | "ip" | "prive" | "ip_relais" | "technology" | "name_access_point" | "mac" | "web_link" | "link_relais" | "ip_conso" | "actif" | "comment" | "cidr" | "last_updated", ExtArgs["result"]["ip"]>

export type $ipPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "ip"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    service_id: bigint | null
    ip: string | null
    prive: string | null
    ip_relais: string | null
    technology: string | null
    name_access_point: string | null
    mac: string | null
    web_link: string | null
    link_relais: string | null
    ip_conso: number
    actif: number
    comment: string | null
    cidr: string | null
    last_updated: Date
  }, ExtArgs["result"]["ip"]>
  composites: {}
}

export type ipGetPayload<S extends boolean | null | undefined | ipDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ipPayload, S>

export type ipCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<ipFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: IpCountAggregateInputType | true
  }

export interface ipDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ip'], meta: { name: 'ip' } }
  /**
   * Find zero or one Ip that matches the filter.
   * @param {ipFindUniqueArgs} args - Arguments to find a Ip
   * @example
   * // Get one Ip
   * const ip = await prisma.ip.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends ipFindUniqueArgs>(args: Prisma.SelectSubset<T, ipFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ipClient<runtime.Types.Result.GetResult<Prisma.$ipPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one Ip that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {ipFindUniqueOrThrowArgs} args - Arguments to find a Ip
   * @example
   * // Get one Ip
   * const ip = await prisma.ip.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends ipFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ipFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ipClient<runtime.Types.Result.GetResult<Prisma.$ipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Ip 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 {ipFindFirstArgs} args - Arguments to find a Ip
   * @example
   * // Get one Ip
   * const ip = await prisma.ip.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends ipFindFirstArgs>(args?: Prisma.SelectSubset<T, ipFindFirstArgs<ExtArgs>>): Prisma.Prisma__ipClient<runtime.Types.Result.GetResult<Prisma.$ipPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Ip 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 {ipFindFirstOrThrowArgs} args - Arguments to find a Ip
   * @example
   * // Get one Ip
   * const ip = await prisma.ip.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends ipFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ipFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ipClient<runtime.Types.Result.GetResult<Prisma.$ipPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more Ips 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 {ipFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all Ips
   * const ips = await prisma.ip.findMany()
   * 
   * // Get first 10 Ips
   * const ips = await prisma.ip.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const ipWithIdOnly = await prisma.ip.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends ipFindManyArgs>(args?: Prisma.SelectSubset<T, ipFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a Ip.
   * @param {ipCreateArgs} args - Arguments to create a Ip.
   * @example
   * // Create one Ip
   * const Ip = await prisma.ip.create({
   *   data: {
   *     // ... data to create a Ip
   *   }
   * })
   * 
   */
  create<T extends ipCreateArgs>(args: Prisma.SelectSubset<T, ipCreateArgs<ExtArgs>>): Prisma.Prisma__ipClient<runtime.Types.Result.GetResult<Prisma.$ipPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many Ips.
   * @param {ipCreateManyArgs} args - Arguments to create many Ips.
   * @example
   * // Create many Ips
   * const ip = await prisma.ip.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends ipCreateManyArgs>(args?: Prisma.SelectSubset<T, ipCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Delete a Ip.
   * @param {ipDeleteArgs} args - Arguments to delete one Ip.
   * @example
   * // Delete one Ip
   * const Ip = await prisma.ip.delete({
   *   where: {
   *     // ... filter to delete one Ip
   *   }
   * })
   * 
   */
  delete<T extends ipDeleteArgs>(args: Prisma.SelectSubset<T, ipDeleteArgs<ExtArgs>>): Prisma.Prisma__ipClient<runtime.Types.Result.GetResult<Prisma.$ipPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one Ip.
   * @param {ipUpdateArgs} args - Arguments to update one Ip.
   * @example
   * // Update one Ip
   * const ip = await prisma.ip.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends ipUpdateArgs>(args: Prisma.SelectSubset<T, ipUpdateArgs<ExtArgs>>): Prisma.Prisma__ipClient<runtime.Types.Result.GetResult<Prisma.$ipPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more Ips.
   * @param {ipDeleteManyArgs} args - Arguments to filter Ips to delete.
   * @example
   * // Delete a few Ips
   * const { count } = await prisma.ip.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends ipDeleteManyArgs>(args?: Prisma.SelectSubset<T, ipDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more Ips.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ipUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many Ips
   * const ip = await prisma.ip.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends ipUpdateManyArgs>(args: Prisma.SelectSubset<T, ipUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create or update one Ip.
   * @param {ipUpsertArgs} args - Arguments to update or create a Ip.
   * @example
   * // Update or create a Ip
   * const ip = await prisma.ip.upsert({
   *   create: {
   *     // ... data to create a Ip
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the Ip we want to update
   *   }
   * })
   */
  upsert<T extends ipUpsertArgs>(args: Prisma.SelectSubset<T, ipUpsertArgs<ExtArgs>>): Prisma.Prisma__ipClient<runtime.Types.Result.GetResult<Prisma.$ipPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of Ips.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ipCountArgs} args - Arguments to filter Ips to count.
   * @example
   * // Count the number of Ips
   * const count = await prisma.ip.count({
   *   where: {
   *     // ... the filter for the Ips we want to count
   *   }
   * })
  **/
  count<T extends ipCountArgs>(
    args?: Prisma.Subset<T, ipCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], IpCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a Ip.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {IpAggregateArgs} 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 IpAggregateArgs>(args: Prisma.Subset<T, IpAggregateArgs>): Prisma.PrismaPromise<GetIpAggregateType<T>>

  /**
   * Group by Ip.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ipGroupByArgs} 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 ipGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: ipGroupByArgs['orderBy'] }
      : { orderBy?: ipGroupByArgs['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, ipGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIpGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the ip model
 */
readonly fields: ipFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for ip.
 * 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__ipClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the ip model
 */
export interface ipFieldRefs {
  readonly id: Prisma.FieldRef<"ip", 'Int'>
  readonly service_id: Prisma.FieldRef<"ip", 'BigInt'>
  readonly ip: Prisma.FieldRef<"ip", 'String'>
  readonly prive: Prisma.FieldRef<"ip", 'String'>
  readonly ip_relais: Prisma.FieldRef<"ip", 'String'>
  readonly technology: Prisma.FieldRef<"ip", 'String'>
  readonly name_access_point: Prisma.FieldRef<"ip", 'String'>
  readonly mac: Prisma.FieldRef<"ip", 'String'>
  readonly web_link: Prisma.FieldRef<"ip", 'String'>
  readonly link_relais: Prisma.FieldRef<"ip", 'String'>
  readonly ip_conso: Prisma.FieldRef<"ip", 'Int'>
  readonly actif: Prisma.FieldRef<"ip", 'Int'>
  readonly comment: Prisma.FieldRef<"ip", 'String'>
  readonly cidr: Prisma.FieldRef<"ip", 'String'>
  readonly last_updated: Prisma.FieldRef<"ip", 'DateTime'>
}
    

// Custom InputTypes
/**
 * ip findUnique
 */
export type ipFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ip
   */
  select?: Prisma.ipSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ip
   */
  omit?: Prisma.ipOmit<ExtArgs> | null
  /**
   * Filter, which ip to fetch.
   */
  where: Prisma.ipWhereUniqueInput
}

/**
 * ip findUniqueOrThrow
 */
export type ipFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ip
   */
  select?: Prisma.ipSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ip
   */
  omit?: Prisma.ipOmit<ExtArgs> | null
  /**
   * Filter, which ip to fetch.
   */
  where: Prisma.ipWhereUniqueInput
}

/**
 * ip findFirst
 */
export type ipFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ip
   */
  select?: Prisma.ipSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ip
   */
  omit?: Prisma.ipOmit<ExtArgs> | null
  /**
   * Filter, which ip to fetch.
   */
  where?: Prisma.ipWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ips to fetch.
   */
  orderBy?: Prisma.ipOrderByWithRelationInput | Prisma.ipOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for ips.
   */
  cursor?: Prisma.ipWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ips 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` ips.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of ips.
   */
  distinct?: Prisma.IpScalarFieldEnum | Prisma.IpScalarFieldEnum[]
}

/**
 * ip findFirstOrThrow
 */
export type ipFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ip
   */
  select?: Prisma.ipSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ip
   */
  omit?: Prisma.ipOmit<ExtArgs> | null
  /**
   * Filter, which ip to fetch.
   */
  where?: Prisma.ipWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ips to fetch.
   */
  orderBy?: Prisma.ipOrderByWithRelationInput | Prisma.ipOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for ips.
   */
  cursor?: Prisma.ipWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ips 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` ips.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of ips.
   */
  distinct?: Prisma.IpScalarFieldEnum | Prisma.IpScalarFieldEnum[]
}

/**
 * ip findMany
 */
export type ipFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ip
   */
  select?: Prisma.ipSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ip
   */
  omit?: Prisma.ipOmit<ExtArgs> | null
  /**
   * Filter, which ips to fetch.
   */
  where?: Prisma.ipWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ips to fetch.
   */
  orderBy?: Prisma.ipOrderByWithRelationInput | Prisma.ipOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing ips.
   */
  cursor?: Prisma.ipWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ips 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` ips.
   */
  skip?: number
  distinct?: Prisma.IpScalarFieldEnum | Prisma.IpScalarFieldEnum[]
}

/**
 * ip create
 */
export type ipCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ip
   */
  select?: Prisma.ipSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ip
   */
  omit?: Prisma.ipOmit<ExtArgs> | null
  /**
   * The data needed to create a ip.
   */
  data?: Prisma.XOR<Prisma.ipCreateInput, Prisma.ipUncheckedCreateInput>
}

/**
 * ip createMany
 */
export type ipCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many ips.
   */
  data: Prisma.ipCreateManyInput | Prisma.ipCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * ip update
 */
export type ipUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ip
   */
  select?: Prisma.ipSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ip
   */
  omit?: Prisma.ipOmit<ExtArgs> | null
  /**
   * The data needed to update a ip.
   */
  data: Prisma.XOR<Prisma.ipUpdateInput, Prisma.ipUncheckedUpdateInput>
  /**
   * Choose, which ip to update.
   */
  where: Prisma.ipWhereUniqueInput
}

/**
 * ip updateMany
 */
export type ipUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update ips.
   */
  data: Prisma.XOR<Prisma.ipUpdateManyMutationInput, Prisma.ipUncheckedUpdateManyInput>
  /**
   * Filter which ips to update
   */
  where?: Prisma.ipWhereInput
  /**
   * Limit how many ips to update.
   */
  limit?: number
}

/**
 * ip upsert
 */
export type ipUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ip
   */
  select?: Prisma.ipSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ip
   */
  omit?: Prisma.ipOmit<ExtArgs> | null
  /**
   * The filter to search for the ip to update in case it exists.
   */
  where: Prisma.ipWhereUniqueInput
  /**
   * In case the ip found by the `where` argument doesn't exist, create a new ip with this data.
   */
  create: Prisma.XOR<Prisma.ipCreateInput, Prisma.ipUncheckedCreateInput>
  /**
   * In case the ip was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.ipUpdateInput, Prisma.ipUncheckedUpdateInput>
}

/**
 * ip delete
 */
export type ipDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ip
   */
  select?: Prisma.ipSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ip
   */
  omit?: Prisma.ipOmit<ExtArgs> | null
  /**
   * Filter which ip to delete.
   */
  where: Prisma.ipWhereUniqueInput
}

/**
 * ip deleteMany
 */
export type ipDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which ips to delete
   */
  where?: Prisma.ipWhereInput
  /**
   * Limit how many ips to delete.
   */
  limit?: number
}

/**
 * ip without action
 */
export type ipDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ip
   */
  select?: Prisma.ipSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ip
   */
  omit?: Prisma.ipOmit<ExtArgs> | null
}
