/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `sommaire_porte` 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 sommaire_porte * */ export type sommaire_porteModel = runtime.Types.Result.DefaultSelection export type AggregateSommaire_porte = { _count: Sommaire_porteCountAggregateOutputType | null _avg: Sommaire_porteAvgAggregateOutputType | null _sum: Sommaire_porteSumAggregateOutputType | null _min: Sommaire_porteMinAggregateOutputType | null _max: Sommaire_porteMaxAggregateOutputType | null } export type Sommaire_porteAvgAggregateOutputType = { id: number | null fibre_id: number | null contest_adresse: number | null new_adresse: number | null placemarks_id: number | null } export type Sommaire_porteSumAggregateOutputType = { id: number | null fibre_id: number | null contest_adresse: number | null new_adresse: number | null placemarks_id: bigint | null } export type Sommaire_porteMinAggregateOutputType = { id: number | null fibre_id: number | null id_adresse: string | null id_subvention: string | null adresse_subvention: string | null ville_subvention: string | null latitude: string | null longitude: string | null contest_adresse: number | null new_adresse: number | null placemarks_id: bigint | null } export type Sommaire_porteMaxAggregateOutputType = { id: number | null fibre_id: number | null id_adresse: string | null id_subvention: string | null adresse_subvention: string | null ville_subvention: string | null latitude: string | null longitude: string | null contest_adresse: number | null new_adresse: number | null placemarks_id: bigint | null } export type Sommaire_porteCountAggregateOutputType = { id: number fibre_id: number id_adresse: number id_subvention: number adresse_subvention: number ville_subvention: number latitude: number longitude: number contest_adresse: number new_adresse: number placemarks_id: number _all: number } export type Sommaire_porteAvgAggregateInputType = { id?: true fibre_id?: true contest_adresse?: true new_adresse?: true placemarks_id?: true } export type Sommaire_porteSumAggregateInputType = { id?: true fibre_id?: true contest_adresse?: true new_adresse?: true placemarks_id?: true } export type Sommaire_porteMinAggregateInputType = { id?: true fibre_id?: true id_adresse?: true id_subvention?: true adresse_subvention?: true ville_subvention?: true latitude?: true longitude?: true contest_adresse?: true new_adresse?: true placemarks_id?: true } export type Sommaire_porteMaxAggregateInputType = { id?: true fibre_id?: true id_adresse?: true id_subvention?: true adresse_subvention?: true ville_subvention?: true latitude?: true longitude?: true contest_adresse?: true new_adresse?: true placemarks_id?: true } export type Sommaire_porteCountAggregateInputType = { id?: true fibre_id?: true id_adresse?: true id_subvention?: true adresse_subvention?: true ville_subvention?: true latitude?: true longitude?: true contest_adresse?: true new_adresse?: true placemarks_id?: true _all?: true } export type Sommaire_porteAggregateArgs = { /** * Filter which sommaire_porte to aggregate. */ where?: Prisma.sommaire_porteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of sommaire_portes to fetch. */ orderBy?: Prisma.sommaire_porteOrderByWithRelationInput | Prisma.sommaire_porteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.sommaire_porteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` sommaire_portes 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` sommaire_portes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned sommaire_portes **/ _count?: true | Sommaire_porteCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Sommaire_porteAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Sommaire_porteSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Sommaire_porteMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Sommaire_porteMaxAggregateInputType } export type GetSommaire_porteAggregateType = { [P in keyof T & keyof AggregateSommaire_porte]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type sommaire_porteGroupByArgs = { where?: Prisma.sommaire_porteWhereInput orderBy?: Prisma.sommaire_porteOrderByWithAggregationInput | Prisma.sommaire_porteOrderByWithAggregationInput[] by: Prisma.Sommaire_porteScalarFieldEnum[] | Prisma.Sommaire_porteScalarFieldEnum having?: Prisma.sommaire_porteScalarWhereWithAggregatesInput take?: number skip?: number _count?: Sommaire_porteCountAggregateInputType | true _avg?: Sommaire_porteAvgAggregateInputType _sum?: Sommaire_porteSumAggregateInputType _min?: Sommaire_porteMinAggregateInputType _max?: Sommaire_porteMaxAggregateInputType } export type Sommaire_porteGroupByOutputType = { id: number fibre_id: number id_adresse: string id_subvention: string adresse_subvention: string ville_subvention: string latitude: string longitude: string contest_adresse: number new_adresse: number placemarks_id: bigint _count: Sommaire_porteCountAggregateOutputType | null _avg: Sommaire_porteAvgAggregateOutputType | null _sum: Sommaire_porteSumAggregateOutputType | null _min: Sommaire_porteMinAggregateOutputType | null _max: Sommaire_porteMaxAggregateOutputType | null } type GetSommaire_porteGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Sommaire_porteGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type sommaire_porteWhereInput = { AND?: Prisma.sommaire_porteWhereInput | Prisma.sommaire_porteWhereInput[] OR?: Prisma.sommaire_porteWhereInput[] NOT?: Prisma.sommaire_porteWhereInput | Prisma.sommaire_porteWhereInput[] id?: Prisma.IntFilter<"sommaire_porte"> | number fibre_id?: Prisma.IntFilter<"sommaire_porte"> | number id_adresse?: Prisma.StringFilter<"sommaire_porte"> | string id_subvention?: Prisma.StringFilter<"sommaire_porte"> | string adresse_subvention?: Prisma.StringFilter<"sommaire_porte"> | string ville_subvention?: Prisma.StringFilter<"sommaire_porte"> | string latitude?: Prisma.StringFilter<"sommaire_porte"> | string longitude?: Prisma.StringFilter<"sommaire_porte"> | string contest_adresse?: Prisma.IntFilter<"sommaire_porte"> | number new_adresse?: Prisma.IntFilter<"sommaire_porte"> | number placemarks_id?: Prisma.BigIntFilter<"sommaire_porte"> | bigint | number } export type sommaire_porteOrderByWithRelationInput = { id?: Prisma.SortOrder fibre_id?: Prisma.SortOrder id_adresse?: Prisma.SortOrder id_subvention?: Prisma.SortOrder adresse_subvention?: Prisma.SortOrder ville_subvention?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder contest_adresse?: Prisma.SortOrder new_adresse?: Prisma.SortOrder placemarks_id?: Prisma.SortOrder _relevance?: Prisma.sommaire_porteOrderByRelevanceInput } export type sommaire_porteWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.sommaire_porteWhereInput | Prisma.sommaire_porteWhereInput[] OR?: Prisma.sommaire_porteWhereInput[] NOT?: Prisma.sommaire_porteWhereInput | Prisma.sommaire_porteWhereInput[] fibre_id?: Prisma.IntFilter<"sommaire_porte"> | number id_adresse?: Prisma.StringFilter<"sommaire_porte"> | string id_subvention?: Prisma.StringFilter<"sommaire_porte"> | string adresse_subvention?: Prisma.StringFilter<"sommaire_porte"> | string ville_subvention?: Prisma.StringFilter<"sommaire_porte"> | string latitude?: Prisma.StringFilter<"sommaire_porte"> | string longitude?: Prisma.StringFilter<"sommaire_porte"> | string contest_adresse?: Prisma.IntFilter<"sommaire_porte"> | number new_adresse?: Prisma.IntFilter<"sommaire_porte"> | number placemarks_id?: Prisma.BigIntFilter<"sommaire_porte"> | bigint | number }, "id"> export type sommaire_porteOrderByWithAggregationInput = { id?: Prisma.SortOrder fibre_id?: Prisma.SortOrder id_adresse?: Prisma.SortOrder id_subvention?: Prisma.SortOrder adresse_subvention?: Prisma.SortOrder ville_subvention?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder contest_adresse?: Prisma.SortOrder new_adresse?: Prisma.SortOrder placemarks_id?: Prisma.SortOrder _count?: Prisma.sommaire_porteCountOrderByAggregateInput _avg?: Prisma.sommaire_porteAvgOrderByAggregateInput _max?: Prisma.sommaire_porteMaxOrderByAggregateInput _min?: Prisma.sommaire_porteMinOrderByAggregateInput _sum?: Prisma.sommaire_porteSumOrderByAggregateInput } export type sommaire_porteScalarWhereWithAggregatesInput = { AND?: Prisma.sommaire_porteScalarWhereWithAggregatesInput | Prisma.sommaire_porteScalarWhereWithAggregatesInput[] OR?: Prisma.sommaire_porteScalarWhereWithAggregatesInput[] NOT?: Prisma.sommaire_porteScalarWhereWithAggregatesInput | Prisma.sommaire_porteScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"sommaire_porte"> | number fibre_id?: Prisma.IntWithAggregatesFilter<"sommaire_porte"> | number id_adresse?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string id_subvention?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string adresse_subvention?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string ville_subvention?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string latitude?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string longitude?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string contest_adresse?: Prisma.IntWithAggregatesFilter<"sommaire_porte"> | number new_adresse?: Prisma.IntWithAggregatesFilter<"sommaire_porte"> | number placemarks_id?: Prisma.BigIntWithAggregatesFilter<"sommaire_porte"> | bigint | number } export type sommaire_porteCreateInput = { fibre_id?: number id_adresse: string id_subvention: string adresse_subvention: string ville_subvention: string latitude: string longitude: string contest_adresse?: number new_adresse?: number placemarks_id: bigint | number } export type sommaire_porteUncheckedCreateInput = { id?: number fibre_id?: number id_adresse: string id_subvention: string adresse_subvention: string ville_subvention: string latitude: string longitude: string contest_adresse?: number new_adresse?: number placemarks_id: bigint | number } export type sommaire_porteUpdateInput = { fibre_id?: Prisma.IntFieldUpdateOperationsInput | number id_adresse?: Prisma.StringFieldUpdateOperationsInput | string id_subvention?: Prisma.StringFieldUpdateOperationsInput | string adresse_subvention?: Prisma.StringFieldUpdateOperationsInput | string ville_subvention?: Prisma.StringFieldUpdateOperationsInput | string latitude?: Prisma.StringFieldUpdateOperationsInput | string longitude?: Prisma.StringFieldUpdateOperationsInput | string contest_adresse?: Prisma.IntFieldUpdateOperationsInput | number new_adresse?: Prisma.IntFieldUpdateOperationsInput | number placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number } export type sommaire_porteUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number fibre_id?: Prisma.IntFieldUpdateOperationsInput | number id_adresse?: Prisma.StringFieldUpdateOperationsInput | string id_subvention?: Prisma.StringFieldUpdateOperationsInput | string adresse_subvention?: Prisma.StringFieldUpdateOperationsInput | string ville_subvention?: Prisma.StringFieldUpdateOperationsInput | string latitude?: Prisma.StringFieldUpdateOperationsInput | string longitude?: Prisma.StringFieldUpdateOperationsInput | string contest_adresse?: Prisma.IntFieldUpdateOperationsInput | number new_adresse?: Prisma.IntFieldUpdateOperationsInput | number placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number } export type sommaire_porteCreateManyInput = { id?: number fibre_id?: number id_adresse: string id_subvention: string adresse_subvention: string ville_subvention: string latitude: string longitude: string contest_adresse?: number new_adresse?: number placemarks_id: bigint | number } export type sommaire_porteUpdateManyMutationInput = { fibre_id?: Prisma.IntFieldUpdateOperationsInput | number id_adresse?: Prisma.StringFieldUpdateOperationsInput | string id_subvention?: Prisma.StringFieldUpdateOperationsInput | string adresse_subvention?: Prisma.StringFieldUpdateOperationsInput | string ville_subvention?: Prisma.StringFieldUpdateOperationsInput | string latitude?: Prisma.StringFieldUpdateOperationsInput | string longitude?: Prisma.StringFieldUpdateOperationsInput | string contest_adresse?: Prisma.IntFieldUpdateOperationsInput | number new_adresse?: Prisma.IntFieldUpdateOperationsInput | number placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number } export type sommaire_porteUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number fibre_id?: Prisma.IntFieldUpdateOperationsInput | number id_adresse?: Prisma.StringFieldUpdateOperationsInput | string id_subvention?: Prisma.StringFieldUpdateOperationsInput | string adresse_subvention?: Prisma.StringFieldUpdateOperationsInput | string ville_subvention?: Prisma.StringFieldUpdateOperationsInput | string latitude?: Prisma.StringFieldUpdateOperationsInput | string longitude?: Prisma.StringFieldUpdateOperationsInput | string contest_adresse?: Prisma.IntFieldUpdateOperationsInput | number new_adresse?: Prisma.IntFieldUpdateOperationsInput | number placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number } export type sommaire_porteOrderByRelevanceInput = { fields: Prisma.sommaire_porteOrderByRelevanceFieldEnum | Prisma.sommaire_porteOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type sommaire_porteCountOrderByAggregateInput = { id?: Prisma.SortOrder fibre_id?: Prisma.SortOrder id_adresse?: Prisma.SortOrder id_subvention?: Prisma.SortOrder adresse_subvention?: Prisma.SortOrder ville_subvention?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder contest_adresse?: Prisma.SortOrder new_adresse?: Prisma.SortOrder placemarks_id?: Prisma.SortOrder } export type sommaire_porteAvgOrderByAggregateInput = { id?: Prisma.SortOrder fibre_id?: Prisma.SortOrder contest_adresse?: Prisma.SortOrder new_adresse?: Prisma.SortOrder placemarks_id?: Prisma.SortOrder } export type sommaire_porteMaxOrderByAggregateInput = { id?: Prisma.SortOrder fibre_id?: Prisma.SortOrder id_adresse?: Prisma.SortOrder id_subvention?: Prisma.SortOrder adresse_subvention?: Prisma.SortOrder ville_subvention?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder contest_adresse?: Prisma.SortOrder new_adresse?: Prisma.SortOrder placemarks_id?: Prisma.SortOrder } export type sommaire_porteMinOrderByAggregateInput = { id?: Prisma.SortOrder fibre_id?: Prisma.SortOrder id_adresse?: Prisma.SortOrder id_subvention?: Prisma.SortOrder adresse_subvention?: Prisma.SortOrder ville_subvention?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder contest_adresse?: Prisma.SortOrder new_adresse?: Prisma.SortOrder placemarks_id?: Prisma.SortOrder } export type sommaire_porteSumOrderByAggregateInput = { id?: Prisma.SortOrder fibre_id?: Prisma.SortOrder contest_adresse?: Prisma.SortOrder new_adresse?: Prisma.SortOrder placemarks_id?: Prisma.SortOrder } export type sommaire_porteSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean fibre_id?: boolean id_adresse?: boolean id_subvention?: boolean adresse_subvention?: boolean ville_subvention?: boolean latitude?: boolean longitude?: boolean contest_adresse?: boolean new_adresse?: boolean placemarks_id?: boolean }, ExtArgs["result"]["sommaire_porte"]> export type sommaire_porteSelectScalar = { id?: boolean fibre_id?: boolean id_adresse?: boolean id_subvention?: boolean adresse_subvention?: boolean ville_subvention?: boolean latitude?: boolean longitude?: boolean contest_adresse?: boolean new_adresse?: boolean placemarks_id?: boolean } export type sommaire_porteOmit = runtime.Types.Extensions.GetOmit<"id" | "fibre_id" | "id_adresse" | "id_subvention" | "adresse_subvention" | "ville_subvention" | "latitude" | "longitude" | "contest_adresse" | "new_adresse" | "placemarks_id", ExtArgs["result"]["sommaire_porte"]> export type $sommaire_portePayload = { name: "sommaire_porte" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number fibre_id: number id_adresse: string id_subvention: string adresse_subvention: string ville_subvention: string latitude: string longitude: string contest_adresse: number new_adresse: number placemarks_id: bigint }, ExtArgs["result"]["sommaire_porte"]> composites: {} } export type sommaire_porteGetPayload = runtime.Types.Result.GetResult export type sommaire_porteCountArgs = Omit & { select?: Sommaire_porteCountAggregateInputType | true } export interface sommaire_porteDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['sommaire_porte'], meta: { name: 'sommaire_porte' } } /** * Find zero or one Sommaire_porte that matches the filter. * @param {sommaire_porteFindUniqueArgs} args - Arguments to find a Sommaire_porte * @example * // Get one Sommaire_porte * const sommaire_porte = await prisma.sommaire_porte.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__sommaire_porteClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Sommaire_porte that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {sommaire_porteFindUniqueOrThrowArgs} args - Arguments to find a Sommaire_porte * @example * // Get one Sommaire_porte * const sommaire_porte = await prisma.sommaire_porte.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__sommaire_porteClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Sommaire_porte 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 {sommaire_porteFindFirstArgs} args - Arguments to find a Sommaire_porte * @example * // Get one Sommaire_porte * const sommaire_porte = await prisma.sommaire_porte.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__sommaire_porteClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Sommaire_porte 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 {sommaire_porteFindFirstOrThrowArgs} args - Arguments to find a Sommaire_porte * @example * // Get one Sommaire_porte * const sommaire_porte = await prisma.sommaire_porte.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__sommaire_porteClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Sommaire_portes 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 {sommaire_porteFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Sommaire_portes * const sommaire_portes = await prisma.sommaire_porte.findMany() * * // Get first 10 Sommaire_portes * const sommaire_portes = await prisma.sommaire_porte.findMany({ take: 10 }) * * // Only select the `id` * const sommaire_porteWithIdOnly = await prisma.sommaire_porte.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Sommaire_porte. * @param {sommaire_porteCreateArgs} args - Arguments to create a Sommaire_porte. * @example * // Create one Sommaire_porte * const Sommaire_porte = await prisma.sommaire_porte.create({ * data: { * // ... data to create a Sommaire_porte * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__sommaire_porteClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Sommaire_portes. * @param {sommaire_porteCreateManyArgs} args - Arguments to create many Sommaire_portes. * @example * // Create many Sommaire_portes * const sommaire_porte = await prisma.sommaire_porte.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Sommaire_porte. * @param {sommaire_porteDeleteArgs} args - Arguments to delete one Sommaire_porte. * @example * // Delete one Sommaire_porte * const Sommaire_porte = await prisma.sommaire_porte.delete({ * where: { * // ... filter to delete one Sommaire_porte * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__sommaire_porteClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Sommaire_porte. * @param {sommaire_porteUpdateArgs} args - Arguments to update one Sommaire_porte. * @example * // Update one Sommaire_porte * const sommaire_porte = await prisma.sommaire_porte.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__sommaire_porteClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Sommaire_portes. * @param {sommaire_porteDeleteManyArgs} args - Arguments to filter Sommaire_portes to delete. * @example * // Delete a few Sommaire_portes * const { count } = await prisma.sommaire_porte.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Sommaire_portes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {sommaire_porteUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Sommaire_portes * const sommaire_porte = await prisma.sommaire_porte.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Sommaire_porte. * @param {sommaire_porteUpsertArgs} args - Arguments to update or create a Sommaire_porte. * @example * // Update or create a Sommaire_porte * const sommaire_porte = await prisma.sommaire_porte.upsert({ * create: { * // ... data to create a Sommaire_porte * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Sommaire_porte we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__sommaire_porteClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Sommaire_portes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {sommaire_porteCountArgs} args - Arguments to filter Sommaire_portes to count. * @example * // Count the number of Sommaire_portes * const count = await prisma.sommaire_porte.count({ * where: { * // ... the filter for the Sommaire_portes 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 Sommaire_porte. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Sommaire_porteAggregateArgs} 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 Sommaire_porte. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {sommaire_porteGroupByArgs} 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 sommaire_porteGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: sommaire_porteGroupByArgs['orderBy'] } : { orderBy?: sommaire_porteGroupByArgs['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 ? GetSommaire_porteGroupByPayload : Prisma.PrismaPromise /** * Fields of the sommaire_porte model */ readonly fields: sommaire_porteFieldRefs; } /** * The delegate class that acts as a "Promise-like" for sommaire_porte. * 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__sommaire_porteClient extends Prisma.PrismaPromise { 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(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 sommaire_porte model */ export interface sommaire_porteFieldRefs { readonly id: Prisma.FieldRef<"sommaire_porte", 'Int'> readonly fibre_id: Prisma.FieldRef<"sommaire_porte", 'Int'> readonly id_adresse: Prisma.FieldRef<"sommaire_porte", 'String'> readonly id_subvention: Prisma.FieldRef<"sommaire_porte", 'String'> readonly adresse_subvention: Prisma.FieldRef<"sommaire_porte", 'String'> readonly ville_subvention: Prisma.FieldRef<"sommaire_porte", 'String'> readonly latitude: Prisma.FieldRef<"sommaire_porte", 'String'> readonly longitude: Prisma.FieldRef<"sommaire_porte", 'String'> readonly contest_adresse: Prisma.FieldRef<"sommaire_porte", 'Int'> readonly new_adresse: Prisma.FieldRef<"sommaire_porte", 'Int'> readonly placemarks_id: Prisma.FieldRef<"sommaire_porte", 'BigInt'> } // Custom InputTypes /** * sommaire_porte findUnique */ export type sommaire_porteFindUniqueArgs = { /** * Select specific fields to fetch from the sommaire_porte */ select?: Prisma.sommaire_porteSelect | null /** * Omit specific fields from the sommaire_porte */ omit?: Prisma.sommaire_porteOmit | null /** * Filter, which sommaire_porte to fetch. */ where: Prisma.sommaire_porteWhereUniqueInput } /** * sommaire_porte findUniqueOrThrow */ export type sommaire_porteFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the sommaire_porte */ select?: Prisma.sommaire_porteSelect | null /** * Omit specific fields from the sommaire_porte */ omit?: Prisma.sommaire_porteOmit | null /** * Filter, which sommaire_porte to fetch. */ where: Prisma.sommaire_porteWhereUniqueInput } /** * sommaire_porte findFirst */ export type sommaire_porteFindFirstArgs = { /** * Select specific fields to fetch from the sommaire_porte */ select?: Prisma.sommaire_porteSelect | null /** * Omit specific fields from the sommaire_porte */ omit?: Prisma.sommaire_porteOmit | null /** * Filter, which sommaire_porte to fetch. */ where?: Prisma.sommaire_porteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of sommaire_portes to fetch. */ orderBy?: Prisma.sommaire_porteOrderByWithRelationInput | Prisma.sommaire_porteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for sommaire_portes. */ cursor?: Prisma.sommaire_porteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` sommaire_portes 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` sommaire_portes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of sommaire_portes. */ distinct?: Prisma.Sommaire_porteScalarFieldEnum | Prisma.Sommaire_porteScalarFieldEnum[] } /** * sommaire_porte findFirstOrThrow */ export type sommaire_porteFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the sommaire_porte */ select?: Prisma.sommaire_porteSelect | null /** * Omit specific fields from the sommaire_porte */ omit?: Prisma.sommaire_porteOmit | null /** * Filter, which sommaire_porte to fetch. */ where?: Prisma.sommaire_porteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of sommaire_portes to fetch. */ orderBy?: Prisma.sommaire_porteOrderByWithRelationInput | Prisma.sommaire_porteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for sommaire_portes. */ cursor?: Prisma.sommaire_porteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` sommaire_portes 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` sommaire_portes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of sommaire_portes. */ distinct?: Prisma.Sommaire_porteScalarFieldEnum | Prisma.Sommaire_porteScalarFieldEnum[] } /** * sommaire_porte findMany */ export type sommaire_porteFindManyArgs = { /** * Select specific fields to fetch from the sommaire_porte */ select?: Prisma.sommaire_porteSelect | null /** * Omit specific fields from the sommaire_porte */ omit?: Prisma.sommaire_porteOmit | null /** * Filter, which sommaire_portes to fetch. */ where?: Prisma.sommaire_porteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of sommaire_portes to fetch. */ orderBy?: Prisma.sommaire_porteOrderByWithRelationInput | Prisma.sommaire_porteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing sommaire_portes. */ cursor?: Prisma.sommaire_porteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` sommaire_portes 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` sommaire_portes. */ skip?: number distinct?: Prisma.Sommaire_porteScalarFieldEnum | Prisma.Sommaire_porteScalarFieldEnum[] } /** * sommaire_porte create */ export type sommaire_porteCreateArgs = { /** * Select specific fields to fetch from the sommaire_porte */ select?: Prisma.sommaire_porteSelect | null /** * Omit specific fields from the sommaire_porte */ omit?: Prisma.sommaire_porteOmit | null /** * The data needed to create a sommaire_porte. */ data: Prisma.XOR } /** * sommaire_porte createMany */ export type sommaire_porteCreateManyArgs = { /** * The data used to create many sommaire_portes. */ data: Prisma.sommaire_porteCreateManyInput | Prisma.sommaire_porteCreateManyInput[] skipDuplicates?: boolean } /** * sommaire_porte update */ export type sommaire_porteUpdateArgs = { /** * Select specific fields to fetch from the sommaire_porte */ select?: Prisma.sommaire_porteSelect | null /** * Omit specific fields from the sommaire_porte */ omit?: Prisma.sommaire_porteOmit | null /** * The data needed to update a sommaire_porte. */ data: Prisma.XOR /** * Choose, which sommaire_porte to update. */ where: Prisma.sommaire_porteWhereUniqueInput } /** * sommaire_porte updateMany */ export type sommaire_porteUpdateManyArgs = { /** * The data used to update sommaire_portes. */ data: Prisma.XOR /** * Filter which sommaire_portes to update */ where?: Prisma.sommaire_porteWhereInput /** * Limit how many sommaire_portes to update. */ limit?: number } /** * sommaire_porte upsert */ export type sommaire_porteUpsertArgs = { /** * Select specific fields to fetch from the sommaire_porte */ select?: Prisma.sommaire_porteSelect | null /** * Omit specific fields from the sommaire_porte */ omit?: Prisma.sommaire_porteOmit | null /** * The filter to search for the sommaire_porte to update in case it exists. */ where: Prisma.sommaire_porteWhereUniqueInput /** * In case the sommaire_porte found by the `where` argument doesn't exist, create a new sommaire_porte with this data. */ create: Prisma.XOR /** * In case the sommaire_porte was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * sommaire_porte delete */ export type sommaire_porteDeleteArgs = { /** * Select specific fields to fetch from the sommaire_porte */ select?: Prisma.sommaire_porteSelect | null /** * Omit specific fields from the sommaire_porte */ omit?: Prisma.sommaire_porteOmit | null /** * Filter which sommaire_porte to delete. */ where: Prisma.sommaire_porteWhereUniqueInput } /** * sommaire_porte deleteMany */ export type sommaire_porteDeleteManyArgs = { /** * Filter which sommaire_portes to delete */ where?: Prisma.sommaire_porteWhereInput /** * Limit how many sommaire_portes to delete. */ limit?: number } /** * sommaire_porte without action */ export type sommaire_porteDefaultArgs = { /** * Select specific fields to fetch from the sommaire_porte */ select?: Prisma.sommaire_porteSelect | null /** * Omit specific fields from the sommaire_porte */ omit?: Prisma.sommaire_porteOmit | null }