/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `fibre_suivi` 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 fibre_suivi * */ export type fibre_suiviModel = runtime.Types.Result.DefaultSelection export type AggregateFibre_suivi = { _count: Fibre_suiviCountAggregateOutputType | null _avg: Fibre_suiviAvgAggregateOutputType | null _sum: Fibre_suiviSumAggregateOutputType | null _min: Fibre_suiviMinAggregateOutputType | null _max: Fibre_suiviMaxAggregateOutputType | null } export type Fibre_suiviAvgAggregateOutputType = { id: number | null longitude: runtime.Decimal | null latitude: runtime.Decimal | null called: number | null create_by: number | null } export type Fibre_suiviSumAggregateOutputType = { id: number | null longitude: runtime.Decimal | null latitude: runtime.Decimal | null called: number | null create_by: number | null } export type Fibre_suiviMinAggregateOutputType = { id: number | null customer_id: string | null first_name: string | null last_name: string | null address: string | null city: string | null zip: string | null phone: string | null email: string | null longitude: runtime.Decimal | null latitude: runtime.Decimal | null called: number | null create_by: number | null note: string | null } export type Fibre_suiviMaxAggregateOutputType = { id: number | null customer_id: string | null first_name: string | null last_name: string | null address: string | null city: string | null zip: string | null phone: string | null email: string | null longitude: runtime.Decimal | null latitude: runtime.Decimal | null called: number | null create_by: number | null note: string | null } export type Fibre_suiviCountAggregateOutputType = { id: number customer_id: number first_name: number last_name: number address: number city: number zip: number phone: number email: number longitude: number latitude: number called: number create_by: number note: number _all: number } export type Fibre_suiviAvgAggregateInputType = { id?: true longitude?: true latitude?: true called?: true create_by?: true } export type Fibre_suiviSumAggregateInputType = { id?: true longitude?: true latitude?: true called?: true create_by?: true } export type Fibre_suiviMinAggregateInputType = { id?: true customer_id?: true first_name?: true last_name?: true address?: true city?: true zip?: true phone?: true email?: true longitude?: true latitude?: true called?: true create_by?: true note?: true } export type Fibre_suiviMaxAggregateInputType = { id?: true customer_id?: true first_name?: true last_name?: true address?: true city?: true zip?: true phone?: true email?: true longitude?: true latitude?: true called?: true create_by?: true note?: true } export type Fibre_suiviCountAggregateInputType = { id?: true customer_id?: true first_name?: true last_name?: true address?: true city?: true zip?: true phone?: true email?: true longitude?: true latitude?: true called?: true create_by?: true note?: true _all?: true } export type Fibre_suiviAggregateArgs = { /** * Filter which fibre_suivi to aggregate. */ where?: Prisma.fibre_suiviWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fibre_suivis to fetch. */ orderBy?: Prisma.fibre_suiviOrderByWithRelationInput | Prisma.fibre_suiviOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.fibre_suiviWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fibre_suivis 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` fibre_suivis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned fibre_suivis **/ _count?: true | Fibre_suiviCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Fibre_suiviAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Fibre_suiviSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Fibre_suiviMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Fibre_suiviMaxAggregateInputType } export type GetFibre_suiviAggregateType = { [P in keyof T & keyof AggregateFibre_suivi]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type fibre_suiviGroupByArgs = { where?: Prisma.fibre_suiviWhereInput orderBy?: Prisma.fibre_suiviOrderByWithAggregationInput | Prisma.fibre_suiviOrderByWithAggregationInput[] by: Prisma.Fibre_suiviScalarFieldEnum[] | Prisma.Fibre_suiviScalarFieldEnum having?: Prisma.fibre_suiviScalarWhereWithAggregatesInput take?: number skip?: number _count?: Fibre_suiviCountAggregateInputType | true _avg?: Fibre_suiviAvgAggregateInputType _sum?: Fibre_suiviSumAggregateInputType _min?: Fibre_suiviMinAggregateInputType _max?: Fibre_suiviMaxAggregateInputType } export type Fibre_suiviGroupByOutputType = { id: number customer_id: string | null first_name: string last_name: string address: string city: string zip: string phone: string email: string | null longitude: runtime.Decimal latitude: runtime.Decimal called: number create_by: number note: string _count: Fibre_suiviCountAggregateOutputType | null _avg: Fibre_suiviAvgAggregateOutputType | null _sum: Fibre_suiviSumAggregateOutputType | null _min: Fibre_suiviMinAggregateOutputType | null _max: Fibre_suiviMaxAggregateOutputType | null } type GetFibre_suiviGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Fibre_suiviGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type fibre_suiviWhereInput = { AND?: Prisma.fibre_suiviWhereInput | Prisma.fibre_suiviWhereInput[] OR?: Prisma.fibre_suiviWhereInput[] NOT?: Prisma.fibre_suiviWhereInput | Prisma.fibre_suiviWhereInput[] id?: Prisma.IntFilter<"fibre_suivi"> | number customer_id?: Prisma.StringNullableFilter<"fibre_suivi"> | string | null first_name?: Prisma.StringFilter<"fibre_suivi"> | string last_name?: Prisma.StringFilter<"fibre_suivi"> | string address?: Prisma.StringFilter<"fibre_suivi"> | string city?: Prisma.StringFilter<"fibre_suivi"> | string zip?: Prisma.StringFilter<"fibre_suivi"> | string phone?: Prisma.StringFilter<"fibre_suivi"> | string email?: Prisma.StringNullableFilter<"fibre_suivi"> | string | null longitude?: Prisma.DecimalFilter<"fibre_suivi"> | runtime.Decimal | runtime.DecimalJsLike | number | string latitude?: Prisma.DecimalFilter<"fibre_suivi"> | runtime.Decimal | runtime.DecimalJsLike | number | string called?: Prisma.IntFilter<"fibre_suivi"> | number create_by?: Prisma.IntFilter<"fibre_suivi"> | number note?: Prisma.StringFilter<"fibre_suivi"> | string } export type fibre_suiviOrderByWithRelationInput = { id?: Prisma.SortOrder customer_id?: Prisma.SortOrderInput | Prisma.SortOrder first_name?: Prisma.SortOrder last_name?: Prisma.SortOrder address?: Prisma.SortOrder city?: Prisma.SortOrder zip?: Prisma.SortOrder phone?: Prisma.SortOrder email?: Prisma.SortOrderInput | Prisma.SortOrder longitude?: Prisma.SortOrder latitude?: Prisma.SortOrder called?: Prisma.SortOrder create_by?: Prisma.SortOrder note?: Prisma.SortOrder _relevance?: Prisma.fibre_suiviOrderByRelevanceInput } export type fibre_suiviWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.fibre_suiviWhereInput | Prisma.fibre_suiviWhereInput[] OR?: Prisma.fibre_suiviWhereInput[] NOT?: Prisma.fibre_suiviWhereInput | Prisma.fibre_suiviWhereInput[] customer_id?: Prisma.StringNullableFilter<"fibre_suivi"> | string | null first_name?: Prisma.StringFilter<"fibre_suivi"> | string last_name?: Prisma.StringFilter<"fibre_suivi"> | string address?: Prisma.StringFilter<"fibre_suivi"> | string city?: Prisma.StringFilter<"fibre_suivi"> | string zip?: Prisma.StringFilter<"fibre_suivi"> | string phone?: Prisma.StringFilter<"fibre_suivi"> | string email?: Prisma.StringNullableFilter<"fibre_suivi"> | string | null longitude?: Prisma.DecimalFilter<"fibre_suivi"> | runtime.Decimal | runtime.DecimalJsLike | number | string latitude?: Prisma.DecimalFilter<"fibre_suivi"> | runtime.Decimal | runtime.DecimalJsLike | number | string called?: Prisma.IntFilter<"fibre_suivi"> | number create_by?: Prisma.IntFilter<"fibre_suivi"> | number note?: Prisma.StringFilter<"fibre_suivi"> | string }, "id"> export type fibre_suiviOrderByWithAggregationInput = { id?: Prisma.SortOrder customer_id?: Prisma.SortOrderInput | Prisma.SortOrder first_name?: Prisma.SortOrder last_name?: Prisma.SortOrder address?: Prisma.SortOrder city?: Prisma.SortOrder zip?: Prisma.SortOrder phone?: Prisma.SortOrder email?: Prisma.SortOrderInput | Prisma.SortOrder longitude?: Prisma.SortOrder latitude?: Prisma.SortOrder called?: Prisma.SortOrder create_by?: Prisma.SortOrder note?: Prisma.SortOrder _count?: Prisma.fibre_suiviCountOrderByAggregateInput _avg?: Prisma.fibre_suiviAvgOrderByAggregateInput _max?: Prisma.fibre_suiviMaxOrderByAggregateInput _min?: Prisma.fibre_suiviMinOrderByAggregateInput _sum?: Prisma.fibre_suiviSumOrderByAggregateInput } export type fibre_suiviScalarWhereWithAggregatesInput = { AND?: Prisma.fibre_suiviScalarWhereWithAggregatesInput | Prisma.fibre_suiviScalarWhereWithAggregatesInput[] OR?: Prisma.fibre_suiviScalarWhereWithAggregatesInput[] NOT?: Prisma.fibre_suiviScalarWhereWithAggregatesInput | Prisma.fibre_suiviScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"fibre_suivi"> | number customer_id?: Prisma.StringNullableWithAggregatesFilter<"fibre_suivi"> | string | null first_name?: Prisma.StringWithAggregatesFilter<"fibre_suivi"> | string last_name?: Prisma.StringWithAggregatesFilter<"fibre_suivi"> | string address?: Prisma.StringWithAggregatesFilter<"fibre_suivi"> | string city?: Prisma.StringWithAggregatesFilter<"fibre_suivi"> | string zip?: Prisma.StringWithAggregatesFilter<"fibre_suivi"> | string phone?: Prisma.StringWithAggregatesFilter<"fibre_suivi"> | string email?: Prisma.StringNullableWithAggregatesFilter<"fibre_suivi"> | string | null longitude?: Prisma.DecimalWithAggregatesFilter<"fibre_suivi"> | runtime.Decimal | runtime.DecimalJsLike | number | string latitude?: Prisma.DecimalWithAggregatesFilter<"fibre_suivi"> | runtime.Decimal | runtime.DecimalJsLike | number | string called?: Prisma.IntWithAggregatesFilter<"fibre_suivi"> | number create_by?: Prisma.IntWithAggregatesFilter<"fibre_suivi"> | number note?: Prisma.StringWithAggregatesFilter<"fibre_suivi"> | string } export type fibre_suiviCreateInput = { customer_id?: string | null first_name: string last_name: string address: string city: string zip: string phone: string email?: string | null longitude: runtime.Decimal | runtime.DecimalJsLike | number | string latitude: runtime.Decimal | runtime.DecimalJsLike | number | string called?: number create_by?: number note: string } export type fibre_suiviUncheckedCreateInput = { id?: number customer_id?: string | null first_name: string last_name: string address: string city: string zip: string phone: string email?: string | null longitude: runtime.Decimal | runtime.DecimalJsLike | number | string latitude: runtime.Decimal | runtime.DecimalJsLike | number | string called?: number create_by?: number note: string } export type fibre_suiviUpdateInput = { customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null first_name?: Prisma.StringFieldUpdateOperationsInput | string last_name?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string zip?: Prisma.StringFieldUpdateOperationsInput | string phone?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null longitude?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string latitude?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string called?: Prisma.IntFieldUpdateOperationsInput | number create_by?: Prisma.IntFieldUpdateOperationsInput | number note?: Prisma.StringFieldUpdateOperationsInput | string } export type fibre_suiviUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null first_name?: Prisma.StringFieldUpdateOperationsInput | string last_name?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string zip?: Prisma.StringFieldUpdateOperationsInput | string phone?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null longitude?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string latitude?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string called?: Prisma.IntFieldUpdateOperationsInput | number create_by?: Prisma.IntFieldUpdateOperationsInput | number note?: Prisma.StringFieldUpdateOperationsInput | string } export type fibre_suiviCreateManyInput = { id?: number customer_id?: string | null first_name: string last_name: string address: string city: string zip: string phone: string email?: string | null longitude: runtime.Decimal | runtime.DecimalJsLike | number | string latitude: runtime.Decimal | runtime.DecimalJsLike | number | string called?: number create_by?: number note: string } export type fibre_suiviUpdateManyMutationInput = { customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null first_name?: Prisma.StringFieldUpdateOperationsInput | string last_name?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string zip?: Prisma.StringFieldUpdateOperationsInput | string phone?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null longitude?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string latitude?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string called?: Prisma.IntFieldUpdateOperationsInput | number create_by?: Prisma.IntFieldUpdateOperationsInput | number note?: Prisma.StringFieldUpdateOperationsInput | string } export type fibre_suiviUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null first_name?: Prisma.StringFieldUpdateOperationsInput | string last_name?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string zip?: Prisma.StringFieldUpdateOperationsInput | string phone?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null longitude?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string latitude?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string called?: Prisma.IntFieldUpdateOperationsInput | number create_by?: Prisma.IntFieldUpdateOperationsInput | number note?: Prisma.StringFieldUpdateOperationsInput | string } export type fibre_suiviOrderByRelevanceInput = { fields: Prisma.fibre_suiviOrderByRelevanceFieldEnum | Prisma.fibre_suiviOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type fibre_suiviCountOrderByAggregateInput = { id?: Prisma.SortOrder customer_id?: Prisma.SortOrder first_name?: Prisma.SortOrder last_name?: Prisma.SortOrder address?: Prisma.SortOrder city?: Prisma.SortOrder zip?: Prisma.SortOrder phone?: Prisma.SortOrder email?: Prisma.SortOrder longitude?: Prisma.SortOrder latitude?: Prisma.SortOrder called?: Prisma.SortOrder create_by?: Prisma.SortOrder note?: Prisma.SortOrder } export type fibre_suiviAvgOrderByAggregateInput = { id?: Prisma.SortOrder longitude?: Prisma.SortOrder latitude?: Prisma.SortOrder called?: Prisma.SortOrder create_by?: Prisma.SortOrder } export type fibre_suiviMaxOrderByAggregateInput = { id?: Prisma.SortOrder customer_id?: Prisma.SortOrder first_name?: Prisma.SortOrder last_name?: Prisma.SortOrder address?: Prisma.SortOrder city?: Prisma.SortOrder zip?: Prisma.SortOrder phone?: Prisma.SortOrder email?: Prisma.SortOrder longitude?: Prisma.SortOrder latitude?: Prisma.SortOrder called?: Prisma.SortOrder create_by?: Prisma.SortOrder note?: Prisma.SortOrder } export type fibre_suiviMinOrderByAggregateInput = { id?: Prisma.SortOrder customer_id?: Prisma.SortOrder first_name?: Prisma.SortOrder last_name?: Prisma.SortOrder address?: Prisma.SortOrder city?: Prisma.SortOrder zip?: Prisma.SortOrder phone?: Prisma.SortOrder email?: Prisma.SortOrder longitude?: Prisma.SortOrder latitude?: Prisma.SortOrder called?: Prisma.SortOrder create_by?: Prisma.SortOrder note?: Prisma.SortOrder } export type fibre_suiviSumOrderByAggregateInput = { id?: Prisma.SortOrder longitude?: Prisma.SortOrder latitude?: Prisma.SortOrder called?: Prisma.SortOrder create_by?: Prisma.SortOrder } export type fibre_suiviSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean customer_id?: boolean first_name?: boolean last_name?: boolean address?: boolean city?: boolean zip?: boolean phone?: boolean email?: boolean longitude?: boolean latitude?: boolean called?: boolean create_by?: boolean note?: boolean }, ExtArgs["result"]["fibre_suivi"]> export type fibre_suiviSelectScalar = { id?: boolean customer_id?: boolean first_name?: boolean last_name?: boolean address?: boolean city?: boolean zip?: boolean phone?: boolean email?: boolean longitude?: boolean latitude?: boolean called?: boolean create_by?: boolean note?: boolean } export type fibre_suiviOmit = runtime.Types.Extensions.GetOmit<"id" | "customer_id" | "first_name" | "last_name" | "address" | "city" | "zip" | "phone" | "email" | "longitude" | "latitude" | "called" | "create_by" | "note", ExtArgs["result"]["fibre_suivi"]> export type $fibre_suiviPayload = { name: "fibre_suivi" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number customer_id: string | null first_name: string last_name: string address: string city: string zip: string phone: string email: string | null longitude: runtime.Decimal latitude: runtime.Decimal called: number create_by: number note: string }, ExtArgs["result"]["fibre_suivi"]> composites: {} } export type fibre_suiviGetPayload = runtime.Types.Result.GetResult export type fibre_suiviCountArgs = Omit & { select?: Fibre_suiviCountAggregateInputType | true } export interface fibre_suiviDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['fibre_suivi'], meta: { name: 'fibre_suivi' } } /** * Find zero or one Fibre_suivi that matches the filter. * @param {fibre_suiviFindUniqueArgs} args - Arguments to find a Fibre_suivi * @example * // Get one Fibre_suivi * const fibre_suivi = await prisma.fibre_suivi.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_suiviClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Fibre_suivi that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {fibre_suiviFindUniqueOrThrowArgs} args - Arguments to find a Fibre_suivi * @example * // Get one Fibre_suivi * const fibre_suivi = await prisma.fibre_suivi.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_suiviClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Fibre_suivi 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 {fibre_suiviFindFirstArgs} args - Arguments to find a Fibre_suivi * @example * // Get one Fibre_suivi * const fibre_suivi = await prisma.fibre_suivi.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__fibre_suiviClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Fibre_suivi 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 {fibre_suiviFindFirstOrThrowArgs} args - Arguments to find a Fibre_suivi * @example * // Get one Fibre_suivi * const fibre_suivi = await prisma.fibre_suivi.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__fibre_suiviClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Fibre_suivis 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 {fibre_suiviFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Fibre_suivis * const fibre_suivis = await prisma.fibre_suivi.findMany() * * // Get first 10 Fibre_suivis * const fibre_suivis = await prisma.fibre_suivi.findMany({ take: 10 }) * * // Only select the `id` * const fibre_suiviWithIdOnly = await prisma.fibre_suivi.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Fibre_suivi. * @param {fibre_suiviCreateArgs} args - Arguments to create a Fibre_suivi. * @example * // Create one Fibre_suivi * const Fibre_suivi = await prisma.fibre_suivi.create({ * data: { * // ... data to create a Fibre_suivi * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_suiviClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Fibre_suivis. * @param {fibre_suiviCreateManyArgs} args - Arguments to create many Fibre_suivis. * @example * // Create many Fibre_suivis * const fibre_suivi = await prisma.fibre_suivi.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Fibre_suivi. * @param {fibre_suiviDeleteArgs} args - Arguments to delete one Fibre_suivi. * @example * // Delete one Fibre_suivi * const Fibre_suivi = await prisma.fibre_suivi.delete({ * where: { * // ... filter to delete one Fibre_suivi * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_suiviClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Fibre_suivi. * @param {fibre_suiviUpdateArgs} args - Arguments to update one Fibre_suivi. * @example * // Update one Fibre_suivi * const fibre_suivi = await prisma.fibre_suivi.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_suiviClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Fibre_suivis. * @param {fibre_suiviDeleteManyArgs} args - Arguments to filter Fibre_suivis to delete. * @example * // Delete a few Fibre_suivis * const { count } = await prisma.fibre_suivi.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Fibre_suivis. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {fibre_suiviUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Fibre_suivis * const fibre_suivi = await prisma.fibre_suivi.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Fibre_suivi. * @param {fibre_suiviUpsertArgs} args - Arguments to update or create a Fibre_suivi. * @example * // Update or create a Fibre_suivi * const fibre_suivi = await prisma.fibre_suivi.upsert({ * create: { * // ... data to create a Fibre_suivi * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Fibre_suivi we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_suiviClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Fibre_suivis. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {fibre_suiviCountArgs} args - Arguments to filter Fibre_suivis to count. * @example * // Count the number of Fibre_suivis * const count = await prisma.fibre_suivi.count({ * where: { * // ... the filter for the Fibre_suivis 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 Fibre_suivi. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Fibre_suiviAggregateArgs} 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 Fibre_suivi. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {fibre_suiviGroupByArgs} 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 fibre_suiviGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: fibre_suiviGroupByArgs['orderBy'] } : { orderBy?: fibre_suiviGroupByArgs['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 ? GetFibre_suiviGroupByPayload : Prisma.PrismaPromise /** * Fields of the fibre_suivi model */ readonly fields: fibre_suiviFieldRefs; } /** * The delegate class that acts as a "Promise-like" for fibre_suivi. * 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__fibre_suiviClient 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 fibre_suivi model */ export interface fibre_suiviFieldRefs { readonly id: Prisma.FieldRef<"fibre_suivi", 'Int'> readonly customer_id: Prisma.FieldRef<"fibre_suivi", 'String'> readonly first_name: Prisma.FieldRef<"fibre_suivi", 'String'> readonly last_name: Prisma.FieldRef<"fibre_suivi", 'String'> readonly address: Prisma.FieldRef<"fibre_suivi", 'String'> readonly city: Prisma.FieldRef<"fibre_suivi", 'String'> readonly zip: Prisma.FieldRef<"fibre_suivi", 'String'> readonly phone: Prisma.FieldRef<"fibre_suivi", 'String'> readonly email: Prisma.FieldRef<"fibre_suivi", 'String'> readonly longitude: Prisma.FieldRef<"fibre_suivi", 'Decimal'> readonly latitude: Prisma.FieldRef<"fibre_suivi", 'Decimal'> readonly called: Prisma.FieldRef<"fibre_suivi", 'Int'> readonly create_by: Prisma.FieldRef<"fibre_suivi", 'Int'> readonly note: Prisma.FieldRef<"fibre_suivi", 'String'> } // Custom InputTypes /** * fibre_suivi findUnique */ export type fibre_suiviFindUniqueArgs = { /** * Select specific fields to fetch from the fibre_suivi */ select?: Prisma.fibre_suiviSelect | null /** * Omit specific fields from the fibre_suivi */ omit?: Prisma.fibre_suiviOmit | null /** * Filter, which fibre_suivi to fetch. */ where: Prisma.fibre_suiviWhereUniqueInput } /** * fibre_suivi findUniqueOrThrow */ export type fibre_suiviFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the fibre_suivi */ select?: Prisma.fibre_suiviSelect | null /** * Omit specific fields from the fibre_suivi */ omit?: Prisma.fibre_suiviOmit | null /** * Filter, which fibre_suivi to fetch. */ where: Prisma.fibre_suiviWhereUniqueInput } /** * fibre_suivi findFirst */ export type fibre_suiviFindFirstArgs = { /** * Select specific fields to fetch from the fibre_suivi */ select?: Prisma.fibre_suiviSelect | null /** * Omit specific fields from the fibre_suivi */ omit?: Prisma.fibre_suiviOmit | null /** * Filter, which fibre_suivi to fetch. */ where?: Prisma.fibre_suiviWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fibre_suivis to fetch. */ orderBy?: Prisma.fibre_suiviOrderByWithRelationInput | Prisma.fibre_suiviOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for fibre_suivis. */ cursor?: Prisma.fibre_suiviWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fibre_suivis 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` fibre_suivis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of fibre_suivis. */ distinct?: Prisma.Fibre_suiviScalarFieldEnum | Prisma.Fibre_suiviScalarFieldEnum[] } /** * fibre_suivi findFirstOrThrow */ export type fibre_suiviFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the fibre_suivi */ select?: Prisma.fibre_suiviSelect | null /** * Omit specific fields from the fibre_suivi */ omit?: Prisma.fibre_suiviOmit | null /** * Filter, which fibre_suivi to fetch. */ where?: Prisma.fibre_suiviWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fibre_suivis to fetch. */ orderBy?: Prisma.fibre_suiviOrderByWithRelationInput | Prisma.fibre_suiviOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for fibre_suivis. */ cursor?: Prisma.fibre_suiviWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fibre_suivis 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` fibre_suivis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of fibre_suivis. */ distinct?: Prisma.Fibre_suiviScalarFieldEnum | Prisma.Fibre_suiviScalarFieldEnum[] } /** * fibre_suivi findMany */ export type fibre_suiviFindManyArgs = { /** * Select specific fields to fetch from the fibre_suivi */ select?: Prisma.fibre_suiviSelect | null /** * Omit specific fields from the fibre_suivi */ omit?: Prisma.fibre_suiviOmit | null /** * Filter, which fibre_suivis to fetch. */ where?: Prisma.fibre_suiviWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fibre_suivis to fetch. */ orderBy?: Prisma.fibre_suiviOrderByWithRelationInput | Prisma.fibre_suiviOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing fibre_suivis. */ cursor?: Prisma.fibre_suiviWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fibre_suivis 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` fibre_suivis. */ skip?: number distinct?: Prisma.Fibre_suiviScalarFieldEnum | Prisma.Fibre_suiviScalarFieldEnum[] } /** * fibre_suivi create */ export type fibre_suiviCreateArgs = { /** * Select specific fields to fetch from the fibre_suivi */ select?: Prisma.fibre_suiviSelect | null /** * Omit specific fields from the fibre_suivi */ omit?: Prisma.fibre_suiviOmit | null /** * The data needed to create a fibre_suivi. */ data: Prisma.XOR } /** * fibre_suivi createMany */ export type fibre_suiviCreateManyArgs = { /** * The data used to create many fibre_suivis. */ data: Prisma.fibre_suiviCreateManyInput | Prisma.fibre_suiviCreateManyInput[] skipDuplicates?: boolean } /** * fibre_suivi update */ export type fibre_suiviUpdateArgs = { /** * Select specific fields to fetch from the fibre_suivi */ select?: Prisma.fibre_suiviSelect | null /** * Omit specific fields from the fibre_suivi */ omit?: Prisma.fibre_suiviOmit | null /** * The data needed to update a fibre_suivi. */ data: Prisma.XOR /** * Choose, which fibre_suivi to update. */ where: Prisma.fibre_suiviWhereUniqueInput } /** * fibre_suivi updateMany */ export type fibre_suiviUpdateManyArgs = { /** * The data used to update fibre_suivis. */ data: Prisma.XOR /** * Filter which fibre_suivis to update */ where?: Prisma.fibre_suiviWhereInput /** * Limit how many fibre_suivis to update. */ limit?: number } /** * fibre_suivi upsert */ export type fibre_suiviUpsertArgs = { /** * Select specific fields to fetch from the fibre_suivi */ select?: Prisma.fibre_suiviSelect | null /** * Omit specific fields from the fibre_suivi */ omit?: Prisma.fibre_suiviOmit | null /** * The filter to search for the fibre_suivi to update in case it exists. */ where: Prisma.fibre_suiviWhereUniqueInput /** * In case the fibre_suivi found by the `where` argument doesn't exist, create a new fibre_suivi with this data. */ create: Prisma.XOR /** * In case the fibre_suivi was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * fibre_suivi delete */ export type fibre_suiviDeleteArgs = { /** * Select specific fields to fetch from the fibre_suivi */ select?: Prisma.fibre_suiviSelect | null /** * Omit specific fields from the fibre_suivi */ omit?: Prisma.fibre_suiviOmit | null /** * Filter which fibre_suivi to delete. */ where: Prisma.fibre_suiviWhereUniqueInput } /** * fibre_suivi deleteMany */ export type fibre_suiviDeleteManyArgs = { /** * Filter which fibre_suivis to delete */ where?: Prisma.fibre_suiviWhereInput /** * Limit how many fibre_suivis to delete. */ limit?: number } /** * fibre_suivi without action */ export type fibre_suiviDefaultArgs = { /** * Select specific fields to fetch from the fibre_suivi */ select?: Prisma.fibre_suiviSelect | null /** * Omit specific fields from the fibre_suivi */ omit?: Prisma.fibre_suiviOmit | null }