1080 lines
37 KiB
TypeScript
1080 lines
37 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 `phone_note` 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 phone_note
|
|
*
|
|
*/
|
|
export type phone_noteModel = runtime.Types.Result.DefaultSelection<Prisma.$phone_notePayload>
|
|
|
|
export type AggregatePhone_note = {
|
|
_count: Phone_noteCountAggregateOutputType | null
|
|
_avg: Phone_noteAvgAggregateOutputType | null
|
|
_sum: Phone_noteSumAggregateOutputType | null
|
|
_min: Phone_noteMinAggregateOutputType | null
|
|
_max: Phone_noteMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Phone_noteAvgAggregateOutputType = {
|
|
id: number | null
|
|
}
|
|
|
|
export type Phone_noteSumAggregateOutputType = {
|
|
id: number | null
|
|
}
|
|
|
|
export type Phone_noteMinAggregateOutputType = {
|
|
id: number | null
|
|
phone: string | null
|
|
rate_center: string | null
|
|
fournisseur: string | null
|
|
note: string | null
|
|
}
|
|
|
|
export type Phone_noteMaxAggregateOutputType = {
|
|
id: number | null
|
|
phone: string | null
|
|
rate_center: string | null
|
|
fournisseur: string | null
|
|
note: string | null
|
|
}
|
|
|
|
export type Phone_noteCountAggregateOutputType = {
|
|
id: number
|
|
phone: number
|
|
rate_center: number
|
|
fournisseur: number
|
|
note: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Phone_noteAvgAggregateInputType = {
|
|
id?: true
|
|
}
|
|
|
|
export type Phone_noteSumAggregateInputType = {
|
|
id?: true
|
|
}
|
|
|
|
export type Phone_noteMinAggregateInputType = {
|
|
id?: true
|
|
phone?: true
|
|
rate_center?: true
|
|
fournisseur?: true
|
|
note?: true
|
|
}
|
|
|
|
export type Phone_noteMaxAggregateInputType = {
|
|
id?: true
|
|
phone?: true
|
|
rate_center?: true
|
|
fournisseur?: true
|
|
note?: true
|
|
}
|
|
|
|
export type Phone_noteCountAggregateInputType = {
|
|
id?: true
|
|
phone?: true
|
|
rate_center?: true
|
|
fournisseur?: true
|
|
note?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Phone_noteAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which phone_note to aggregate.
|
|
*/
|
|
where?: Prisma.phone_noteWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of phone_notes to fetch.
|
|
*/
|
|
orderBy?: Prisma.phone_noteOrderByWithRelationInput | Prisma.phone_noteOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.phone_noteWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` phone_notes 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` phone_notes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned phone_notes
|
|
**/
|
|
_count?: true | Phone_noteCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Phone_noteAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Phone_noteSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Phone_noteMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Phone_noteMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPhone_noteAggregateType<T extends Phone_noteAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePhone_note]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePhone_note[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePhone_note[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type phone_noteGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.phone_noteWhereInput
|
|
orderBy?: Prisma.phone_noteOrderByWithAggregationInput | Prisma.phone_noteOrderByWithAggregationInput[]
|
|
by: Prisma.Phone_noteScalarFieldEnum[] | Prisma.Phone_noteScalarFieldEnum
|
|
having?: Prisma.phone_noteScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Phone_noteCountAggregateInputType | true
|
|
_avg?: Phone_noteAvgAggregateInputType
|
|
_sum?: Phone_noteSumAggregateInputType
|
|
_min?: Phone_noteMinAggregateInputType
|
|
_max?: Phone_noteMaxAggregateInputType
|
|
}
|
|
|
|
export type Phone_noteGroupByOutputType = {
|
|
id: number
|
|
phone: string
|
|
rate_center: string | null
|
|
fournisseur: string
|
|
note: string | null
|
|
_count: Phone_noteCountAggregateOutputType | null
|
|
_avg: Phone_noteAvgAggregateOutputType | null
|
|
_sum: Phone_noteSumAggregateOutputType | null
|
|
_min: Phone_noteMinAggregateOutputType | null
|
|
_max: Phone_noteMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetPhone_noteGroupByPayload<T extends phone_noteGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Phone_noteGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Phone_noteGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Phone_noteGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Phone_noteGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type phone_noteWhereInput = {
|
|
AND?: Prisma.phone_noteWhereInput | Prisma.phone_noteWhereInput[]
|
|
OR?: Prisma.phone_noteWhereInput[]
|
|
NOT?: Prisma.phone_noteWhereInput | Prisma.phone_noteWhereInput[]
|
|
id?: Prisma.IntFilter<"phone_note"> | number
|
|
phone?: Prisma.StringFilter<"phone_note"> | string
|
|
rate_center?: Prisma.StringNullableFilter<"phone_note"> | string | null
|
|
fournisseur?: Prisma.StringFilter<"phone_note"> | string
|
|
note?: Prisma.StringNullableFilter<"phone_note"> | string | null
|
|
}
|
|
|
|
export type phone_noteOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
rate_center?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
fournisseur?: Prisma.SortOrder
|
|
note?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_relevance?: Prisma.phone_noteOrderByRelevanceInput
|
|
}
|
|
|
|
export type phone_noteWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
phone?: string
|
|
AND?: Prisma.phone_noteWhereInput | Prisma.phone_noteWhereInput[]
|
|
OR?: Prisma.phone_noteWhereInput[]
|
|
NOT?: Prisma.phone_noteWhereInput | Prisma.phone_noteWhereInput[]
|
|
rate_center?: Prisma.StringNullableFilter<"phone_note"> | string | null
|
|
fournisseur?: Prisma.StringFilter<"phone_note"> | string
|
|
note?: Prisma.StringNullableFilter<"phone_note"> | string | null
|
|
}, "id" | "phone">
|
|
|
|
export type phone_noteOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
rate_center?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
fournisseur?: Prisma.SortOrder
|
|
note?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.phone_noteCountOrderByAggregateInput
|
|
_avg?: Prisma.phone_noteAvgOrderByAggregateInput
|
|
_max?: Prisma.phone_noteMaxOrderByAggregateInput
|
|
_min?: Prisma.phone_noteMinOrderByAggregateInput
|
|
_sum?: Prisma.phone_noteSumOrderByAggregateInput
|
|
}
|
|
|
|
export type phone_noteScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.phone_noteScalarWhereWithAggregatesInput | Prisma.phone_noteScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.phone_noteScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.phone_noteScalarWhereWithAggregatesInput | Prisma.phone_noteScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"phone_note"> | number
|
|
phone?: Prisma.StringWithAggregatesFilter<"phone_note"> | string
|
|
rate_center?: Prisma.StringNullableWithAggregatesFilter<"phone_note"> | string | null
|
|
fournisseur?: Prisma.StringWithAggregatesFilter<"phone_note"> | string
|
|
note?: Prisma.StringNullableWithAggregatesFilter<"phone_note"> | string | null
|
|
}
|
|
|
|
export type phone_noteCreateInput = {
|
|
phone: string
|
|
rate_center?: string | null
|
|
fournisseur?: string
|
|
note?: string | null
|
|
}
|
|
|
|
export type phone_noteUncheckedCreateInput = {
|
|
id?: number
|
|
phone: string
|
|
rate_center?: string | null
|
|
fournisseur?: string
|
|
note?: string | null
|
|
}
|
|
|
|
export type phone_noteUpdateInput = {
|
|
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rate_center?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fournisseur?: Prisma.StringFieldUpdateOperationsInput | string
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type phone_noteUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rate_center?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fournisseur?: Prisma.StringFieldUpdateOperationsInput | string
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type phone_noteCreateManyInput = {
|
|
id?: number
|
|
phone: string
|
|
rate_center?: string | null
|
|
fournisseur?: string
|
|
note?: string | null
|
|
}
|
|
|
|
export type phone_noteUpdateManyMutationInput = {
|
|
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rate_center?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fournisseur?: Prisma.StringFieldUpdateOperationsInput | string
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type phone_noteUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rate_center?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fournisseur?: Prisma.StringFieldUpdateOperationsInput | string
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type phone_noteOrderByRelevanceInput = {
|
|
fields: Prisma.phone_noteOrderByRelevanceFieldEnum | Prisma.phone_noteOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type phone_noteCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
rate_center?: Prisma.SortOrder
|
|
fournisseur?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
}
|
|
|
|
export type phone_noteAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
}
|
|
|
|
export type phone_noteMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
rate_center?: Prisma.SortOrder
|
|
fournisseur?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
}
|
|
|
|
export type phone_noteMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
rate_center?: Prisma.SortOrder
|
|
fournisseur?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
}
|
|
|
|
export type phone_noteSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type phone_noteSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
phone?: boolean
|
|
rate_center?: boolean
|
|
fournisseur?: boolean
|
|
note?: boolean
|
|
}, ExtArgs["result"]["phone_note"]>
|
|
|
|
|
|
|
|
export type phone_noteSelectScalar = {
|
|
id?: boolean
|
|
phone?: boolean
|
|
rate_center?: boolean
|
|
fournisseur?: boolean
|
|
note?: boolean
|
|
}
|
|
|
|
export type phone_noteOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phone" | "rate_center" | "fournisseur" | "note", ExtArgs["result"]["phone_note"]>
|
|
|
|
export type $phone_notePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "phone_note"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
phone: string
|
|
rate_center: string | null
|
|
fournisseur: string
|
|
note: string | null
|
|
}, ExtArgs["result"]["phone_note"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type phone_noteGetPayload<S extends boolean | null | undefined | phone_noteDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$phone_notePayload, S>
|
|
|
|
export type phone_noteCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<phone_noteFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Phone_noteCountAggregateInputType | true
|
|
}
|
|
|
|
export interface phone_noteDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['phone_note'], meta: { name: 'phone_note' } }
|
|
/**
|
|
* Find zero or one Phone_note that matches the filter.
|
|
* @param {phone_noteFindUniqueArgs} args - Arguments to find a Phone_note
|
|
* @example
|
|
* // Get one Phone_note
|
|
* const phone_note = await prisma.phone_note.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends phone_noteFindUniqueArgs>(args: Prisma.SelectSubset<T, phone_noteFindUniqueArgs<ExtArgs>>): Prisma.Prisma__phone_noteClient<runtime.Types.Result.GetResult<Prisma.$phone_notePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Phone_note that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {phone_noteFindUniqueOrThrowArgs} args - Arguments to find a Phone_note
|
|
* @example
|
|
* // Get one Phone_note
|
|
* const phone_note = await prisma.phone_note.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends phone_noteFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, phone_noteFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__phone_noteClient<runtime.Types.Result.GetResult<Prisma.$phone_notePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Phone_note 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 {phone_noteFindFirstArgs} args - Arguments to find a Phone_note
|
|
* @example
|
|
* // Get one Phone_note
|
|
* const phone_note = await prisma.phone_note.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends phone_noteFindFirstArgs>(args?: Prisma.SelectSubset<T, phone_noteFindFirstArgs<ExtArgs>>): Prisma.Prisma__phone_noteClient<runtime.Types.Result.GetResult<Prisma.$phone_notePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Phone_note 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 {phone_noteFindFirstOrThrowArgs} args - Arguments to find a Phone_note
|
|
* @example
|
|
* // Get one Phone_note
|
|
* const phone_note = await prisma.phone_note.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends phone_noteFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, phone_noteFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__phone_noteClient<runtime.Types.Result.GetResult<Prisma.$phone_notePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Phone_notes 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 {phone_noteFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Phone_notes
|
|
* const phone_notes = await prisma.phone_note.findMany()
|
|
*
|
|
* // Get first 10 Phone_notes
|
|
* const phone_notes = await prisma.phone_note.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const phone_noteWithIdOnly = await prisma.phone_note.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends phone_noteFindManyArgs>(args?: Prisma.SelectSubset<T, phone_noteFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$phone_notePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Phone_note.
|
|
* @param {phone_noteCreateArgs} args - Arguments to create a Phone_note.
|
|
* @example
|
|
* // Create one Phone_note
|
|
* const Phone_note = await prisma.phone_note.create({
|
|
* data: {
|
|
* // ... data to create a Phone_note
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends phone_noteCreateArgs>(args: Prisma.SelectSubset<T, phone_noteCreateArgs<ExtArgs>>): Prisma.Prisma__phone_noteClient<runtime.Types.Result.GetResult<Prisma.$phone_notePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Phone_notes.
|
|
* @param {phone_noteCreateManyArgs} args - Arguments to create many Phone_notes.
|
|
* @example
|
|
* // Create many Phone_notes
|
|
* const phone_note = await prisma.phone_note.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends phone_noteCreateManyArgs>(args?: Prisma.SelectSubset<T, phone_noteCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Phone_note.
|
|
* @param {phone_noteDeleteArgs} args - Arguments to delete one Phone_note.
|
|
* @example
|
|
* // Delete one Phone_note
|
|
* const Phone_note = await prisma.phone_note.delete({
|
|
* where: {
|
|
* // ... filter to delete one Phone_note
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends phone_noteDeleteArgs>(args: Prisma.SelectSubset<T, phone_noteDeleteArgs<ExtArgs>>): Prisma.Prisma__phone_noteClient<runtime.Types.Result.GetResult<Prisma.$phone_notePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Phone_note.
|
|
* @param {phone_noteUpdateArgs} args - Arguments to update one Phone_note.
|
|
* @example
|
|
* // Update one Phone_note
|
|
* const phone_note = await prisma.phone_note.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends phone_noteUpdateArgs>(args: Prisma.SelectSubset<T, phone_noteUpdateArgs<ExtArgs>>): Prisma.Prisma__phone_noteClient<runtime.Types.Result.GetResult<Prisma.$phone_notePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Phone_notes.
|
|
* @param {phone_noteDeleteManyArgs} args - Arguments to filter Phone_notes to delete.
|
|
* @example
|
|
* // Delete a few Phone_notes
|
|
* const { count } = await prisma.phone_note.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends phone_noteDeleteManyArgs>(args?: Prisma.SelectSubset<T, phone_noteDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Phone_notes.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {phone_noteUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Phone_notes
|
|
* const phone_note = await prisma.phone_note.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends phone_noteUpdateManyArgs>(args: Prisma.SelectSubset<T, phone_noteUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Phone_note.
|
|
* @param {phone_noteUpsertArgs} args - Arguments to update or create a Phone_note.
|
|
* @example
|
|
* // Update or create a Phone_note
|
|
* const phone_note = await prisma.phone_note.upsert({
|
|
* create: {
|
|
* // ... data to create a Phone_note
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Phone_note we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends phone_noteUpsertArgs>(args: Prisma.SelectSubset<T, phone_noteUpsertArgs<ExtArgs>>): Prisma.Prisma__phone_noteClient<runtime.Types.Result.GetResult<Prisma.$phone_notePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Phone_notes.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {phone_noteCountArgs} args - Arguments to filter Phone_notes to count.
|
|
* @example
|
|
* // Count the number of Phone_notes
|
|
* const count = await prisma.phone_note.count({
|
|
* where: {
|
|
* // ... the filter for the Phone_notes we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends phone_noteCountArgs>(
|
|
args?: Prisma.Subset<T, phone_noteCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Phone_noteCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Phone_note.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Phone_noteAggregateArgs} 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 Phone_noteAggregateArgs>(args: Prisma.Subset<T, Phone_noteAggregateArgs>): Prisma.PrismaPromise<GetPhone_noteAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Phone_note.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {phone_noteGroupByArgs} 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 phone_noteGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: phone_noteGroupByArgs['orderBy'] }
|
|
: { orderBy?: phone_noteGroupByArgs['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, phone_noteGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPhone_noteGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the phone_note model
|
|
*/
|
|
readonly fields: phone_noteFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for phone_note.
|
|
* 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__phone_noteClient<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 phone_note model
|
|
*/
|
|
export interface phone_noteFieldRefs {
|
|
readonly id: Prisma.FieldRef<"phone_note", 'Int'>
|
|
readonly phone: Prisma.FieldRef<"phone_note", 'String'>
|
|
readonly rate_center: Prisma.FieldRef<"phone_note", 'String'>
|
|
readonly fournisseur: Prisma.FieldRef<"phone_note", 'String'>
|
|
readonly note: Prisma.FieldRef<"phone_note", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* phone_note findUnique
|
|
*/
|
|
export type phone_noteFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_note
|
|
*/
|
|
select?: Prisma.phone_noteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_note
|
|
*/
|
|
omit?: Prisma.phone_noteOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phone_note to fetch.
|
|
*/
|
|
where: Prisma.phone_noteWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phone_note findUniqueOrThrow
|
|
*/
|
|
export type phone_noteFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_note
|
|
*/
|
|
select?: Prisma.phone_noteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_note
|
|
*/
|
|
omit?: Prisma.phone_noteOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phone_note to fetch.
|
|
*/
|
|
where: Prisma.phone_noteWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phone_note findFirst
|
|
*/
|
|
export type phone_noteFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_note
|
|
*/
|
|
select?: Prisma.phone_noteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_note
|
|
*/
|
|
omit?: Prisma.phone_noteOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phone_note to fetch.
|
|
*/
|
|
where?: Prisma.phone_noteWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of phone_notes to fetch.
|
|
*/
|
|
orderBy?: Prisma.phone_noteOrderByWithRelationInput | Prisma.phone_noteOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for phone_notes.
|
|
*/
|
|
cursor?: Prisma.phone_noteWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` phone_notes 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` phone_notes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of phone_notes.
|
|
*/
|
|
distinct?: Prisma.Phone_noteScalarFieldEnum | Prisma.Phone_noteScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* phone_note findFirstOrThrow
|
|
*/
|
|
export type phone_noteFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_note
|
|
*/
|
|
select?: Prisma.phone_noteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_note
|
|
*/
|
|
omit?: Prisma.phone_noteOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phone_note to fetch.
|
|
*/
|
|
where?: Prisma.phone_noteWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of phone_notes to fetch.
|
|
*/
|
|
orderBy?: Prisma.phone_noteOrderByWithRelationInput | Prisma.phone_noteOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for phone_notes.
|
|
*/
|
|
cursor?: Prisma.phone_noteWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` phone_notes 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` phone_notes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of phone_notes.
|
|
*/
|
|
distinct?: Prisma.Phone_noteScalarFieldEnum | Prisma.Phone_noteScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* phone_note findMany
|
|
*/
|
|
export type phone_noteFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_note
|
|
*/
|
|
select?: Prisma.phone_noteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_note
|
|
*/
|
|
omit?: Prisma.phone_noteOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phone_notes to fetch.
|
|
*/
|
|
where?: Prisma.phone_noteWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of phone_notes to fetch.
|
|
*/
|
|
orderBy?: Prisma.phone_noteOrderByWithRelationInput | Prisma.phone_noteOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing phone_notes.
|
|
*/
|
|
cursor?: Prisma.phone_noteWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` phone_notes 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` phone_notes.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Phone_noteScalarFieldEnum | Prisma.Phone_noteScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* phone_note create
|
|
*/
|
|
export type phone_noteCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_note
|
|
*/
|
|
select?: Prisma.phone_noteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_note
|
|
*/
|
|
omit?: Prisma.phone_noteOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a phone_note.
|
|
*/
|
|
data: Prisma.XOR<Prisma.phone_noteCreateInput, Prisma.phone_noteUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* phone_note createMany
|
|
*/
|
|
export type phone_noteCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many phone_notes.
|
|
*/
|
|
data: Prisma.phone_noteCreateManyInput | Prisma.phone_noteCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* phone_note update
|
|
*/
|
|
export type phone_noteUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_note
|
|
*/
|
|
select?: Prisma.phone_noteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_note
|
|
*/
|
|
omit?: Prisma.phone_noteOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a phone_note.
|
|
*/
|
|
data: Prisma.XOR<Prisma.phone_noteUpdateInput, Prisma.phone_noteUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which phone_note to update.
|
|
*/
|
|
where: Prisma.phone_noteWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phone_note updateMany
|
|
*/
|
|
export type phone_noteUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update phone_notes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.phone_noteUpdateManyMutationInput, Prisma.phone_noteUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which phone_notes to update
|
|
*/
|
|
where?: Prisma.phone_noteWhereInput
|
|
/**
|
|
* Limit how many phone_notes to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* phone_note upsert
|
|
*/
|
|
export type phone_noteUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_note
|
|
*/
|
|
select?: Prisma.phone_noteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_note
|
|
*/
|
|
omit?: Prisma.phone_noteOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the phone_note to update in case it exists.
|
|
*/
|
|
where: Prisma.phone_noteWhereUniqueInput
|
|
/**
|
|
* In case the phone_note found by the `where` argument doesn't exist, create a new phone_note with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.phone_noteCreateInput, Prisma.phone_noteUncheckedCreateInput>
|
|
/**
|
|
* In case the phone_note was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.phone_noteUpdateInput, Prisma.phone_noteUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* phone_note delete
|
|
*/
|
|
export type phone_noteDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_note
|
|
*/
|
|
select?: Prisma.phone_noteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_note
|
|
*/
|
|
omit?: Prisma.phone_noteOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which phone_note to delete.
|
|
*/
|
|
where: Prisma.phone_noteWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phone_note deleteMany
|
|
*/
|
|
export type phone_noteDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which phone_notes to delete
|
|
*/
|
|
where?: Prisma.phone_noteWhereInput
|
|
/**
|
|
* Limit how many phone_notes to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* phone_note without action
|
|
*/
|
|
export type phone_noteDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_note
|
|
*/
|
|
select?: Prisma.phone_noteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_note
|
|
*/
|
|
omit?: Prisma.phone_noteOmit<ExtArgs> | null
|
|
}
|