1338 lines
47 KiB
TypeScript
1338 lines
47 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `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<Prisma.$fibre_suiviPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends Fibre_suiviAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateFibre_suivi]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateFibre_suivi[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateFibre_suivi[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type fibre_suiviGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends fibre_suiviGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Fibre_suiviGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Fibre_suiviGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Fibre_suiviGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Fibre_suiviGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | fibre_suiviDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$fibre_suiviPayload, S>
|
|
|
|
export type fibre_suiviCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<fibre_suiviFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Fibre_suiviCountAggregateInputType | true
|
|
}
|
|
|
|
export interface fibre_suiviDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends fibre_suiviFindUniqueArgs>(args: Prisma.SelectSubset<T, fibre_suiviFindUniqueArgs<ExtArgs>>): Prisma.Prisma__fibre_suiviClient<runtime.Types.Result.GetResult<Prisma.$fibre_suiviPayload<ExtArgs>, 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<T extends fibre_suiviFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, fibre_suiviFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__fibre_suiviClient<runtime.Types.Result.GetResult<Prisma.$fibre_suiviPayload<ExtArgs>, 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<T extends fibre_suiviFindFirstArgs>(args?: Prisma.SelectSubset<T, fibre_suiviFindFirstArgs<ExtArgs>>): Prisma.Prisma__fibre_suiviClient<runtime.Types.Result.GetResult<Prisma.$fibre_suiviPayload<ExtArgs>, 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<T extends fibre_suiviFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, fibre_suiviFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__fibre_suiviClient<runtime.Types.Result.GetResult<Prisma.$fibre_suiviPayload<ExtArgs>, 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<T extends fibre_suiviFindManyArgs>(args?: Prisma.SelectSubset<T, fibre_suiviFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$fibre_suiviPayload<ExtArgs>, 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<T extends fibre_suiviCreateArgs>(args: Prisma.SelectSubset<T, fibre_suiviCreateArgs<ExtArgs>>): Prisma.Prisma__fibre_suiviClient<runtime.Types.Result.GetResult<Prisma.$fibre_suiviPayload<ExtArgs>, 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<T extends fibre_suiviCreateManyArgs>(args?: Prisma.SelectSubset<T, fibre_suiviCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends fibre_suiviDeleteArgs>(args: Prisma.SelectSubset<T, fibre_suiviDeleteArgs<ExtArgs>>): Prisma.Prisma__fibre_suiviClient<runtime.Types.Result.GetResult<Prisma.$fibre_suiviPayload<ExtArgs>, 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<T extends fibre_suiviUpdateArgs>(args: Prisma.SelectSubset<T, fibre_suiviUpdateArgs<ExtArgs>>): Prisma.Prisma__fibre_suiviClient<runtime.Types.Result.GetResult<Prisma.$fibre_suiviPayload<ExtArgs>, 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<T extends fibre_suiviDeleteManyArgs>(args?: Prisma.SelectSubset<T, fibre_suiviDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends fibre_suiviUpdateManyArgs>(args: Prisma.SelectSubset<T, fibre_suiviUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends fibre_suiviUpsertArgs>(args: Prisma.SelectSubset<T, fibre_suiviUpsertArgs<ExtArgs>>): Prisma.Prisma__fibre_suiviClient<runtime.Types.Result.GetResult<Prisma.$fibre_suiviPayload<ExtArgs>, 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<T extends fibre_suiviCountArgs>(
|
|
args?: Prisma.Subset<T, fibre_suiviCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Fibre_suiviCountAggregateOutputType>
|
|
: 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<T extends Fibre_suiviAggregateArgs>(args: Prisma.Subset<T, Fibre_suiviAggregateArgs>): Prisma.PrismaPromise<GetFibre_suiviAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: fibre_suiviGroupByArgs['orderBy'] }
|
|
: { orderBy?: fibre_suiviGroupByArgs['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, fibre_suiviGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFibre_suiviGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<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 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the fibre_suivi
|
|
*/
|
|
select?: Prisma.fibre_suiviSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the fibre_suivi
|
|
*/
|
|
omit?: Prisma.fibre_suiviOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which fibre_suivi to fetch.
|
|
*/
|
|
where: Prisma.fibre_suiviWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* fibre_suivi findUniqueOrThrow
|
|
*/
|
|
export type fibre_suiviFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the fibre_suivi
|
|
*/
|
|
select?: Prisma.fibre_suiviSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the fibre_suivi
|
|
*/
|
|
omit?: Prisma.fibre_suiviOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which fibre_suivi to fetch.
|
|
*/
|
|
where: Prisma.fibre_suiviWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* fibre_suivi findFirst
|
|
*/
|
|
export type fibre_suiviFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the fibre_suivi
|
|
*/
|
|
select?: Prisma.fibre_suiviSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the fibre_suivi
|
|
*/
|
|
omit?: Prisma.fibre_suiviOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the fibre_suivi
|
|
*/
|
|
select?: Prisma.fibre_suiviSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the fibre_suivi
|
|
*/
|
|
omit?: Prisma.fibre_suiviOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the fibre_suivi
|
|
*/
|
|
select?: Prisma.fibre_suiviSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the fibre_suivi
|
|
*/
|
|
omit?: Prisma.fibre_suiviOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the fibre_suivi
|
|
*/
|
|
select?: Prisma.fibre_suiviSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the fibre_suivi
|
|
*/
|
|
omit?: Prisma.fibre_suiviOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a fibre_suivi.
|
|
*/
|
|
data: Prisma.XOR<Prisma.fibre_suiviCreateInput, Prisma.fibre_suiviUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* fibre_suivi createMany
|
|
*/
|
|
export type fibre_suiviCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many fibre_suivis.
|
|
*/
|
|
data: Prisma.fibre_suiviCreateManyInput | Prisma.fibre_suiviCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* fibre_suivi update
|
|
*/
|
|
export type fibre_suiviUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the fibre_suivi
|
|
*/
|
|
select?: Prisma.fibre_suiviSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the fibre_suivi
|
|
*/
|
|
omit?: Prisma.fibre_suiviOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a fibre_suivi.
|
|
*/
|
|
data: Prisma.XOR<Prisma.fibre_suiviUpdateInput, Prisma.fibre_suiviUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which fibre_suivi to update.
|
|
*/
|
|
where: Prisma.fibre_suiviWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* fibre_suivi updateMany
|
|
*/
|
|
export type fibre_suiviUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update fibre_suivis.
|
|
*/
|
|
data: Prisma.XOR<Prisma.fibre_suiviUpdateManyMutationInput, Prisma.fibre_suiviUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the fibre_suivi
|
|
*/
|
|
select?: Prisma.fibre_suiviSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the fibre_suivi
|
|
*/
|
|
omit?: Prisma.fibre_suiviOmit<ExtArgs> | 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<Prisma.fibre_suiviCreateInput, Prisma.fibre_suiviUncheckedCreateInput>
|
|
/**
|
|
* In case the fibre_suivi was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.fibre_suiviUpdateInput, Prisma.fibre_suiviUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* fibre_suivi delete
|
|
*/
|
|
export type fibre_suiviDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the fibre_suivi
|
|
*/
|
|
select?: Prisma.fibre_suiviSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the fibre_suivi
|
|
*/
|
|
omit?: Prisma.fibre_suiviOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which fibre_suivi to delete.
|
|
*/
|
|
where: Prisma.fibre_suiviWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* fibre_suivi deleteMany
|
|
*/
|
|
export type fibre_suiviDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the fibre_suivi
|
|
*/
|
|
select?: Prisma.fibre_suiviSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the fibre_suivi
|
|
*/
|
|
omit?: Prisma.fibre_suiviOmit<ExtArgs> | null
|
|
}
|