1164 lines
43 KiB
TypeScript
1164 lines
43 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 `product_speciaux` 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 product_speciaux
|
|
*
|
|
*/
|
|
export type product_speciauxModel = runtime.Types.Result.DefaultSelection<Prisma.$product_speciauxPayload>
|
|
|
|
export type AggregateProduct_speciaux = {
|
|
_count: Product_speciauxCountAggregateOutputType | null
|
|
_avg: Product_speciauxAvgAggregateOutputType | null
|
|
_sum: Product_speciauxSumAggregateOutputType | null
|
|
_min: Product_speciauxMinAggregateOutputType | null
|
|
_max: Product_speciauxMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Product_speciauxAvgAggregateOutputType = {
|
|
id: number | null
|
|
product_zone_id: number | null
|
|
product_id: number | null
|
|
price: number | null
|
|
price_install: number | null
|
|
exp_timestamp: number | null
|
|
duree_contrat: number | null
|
|
}
|
|
|
|
export type Product_speciauxSumAggregateOutputType = {
|
|
id: bigint | null
|
|
product_zone_id: bigint | null
|
|
product_id: bigint | null
|
|
price: number | null
|
|
price_install: number | null
|
|
exp_timestamp: bigint | null
|
|
duree_contrat: number | null
|
|
}
|
|
|
|
export type Product_speciauxMinAggregateOutputType = {
|
|
id: bigint | null
|
|
product_zone_id: bigint | null
|
|
product_id: bigint | null
|
|
price: number | null
|
|
price_install: number | null
|
|
exp_timestamp: bigint | null
|
|
duree_contrat: number | null
|
|
}
|
|
|
|
export type Product_speciauxMaxAggregateOutputType = {
|
|
id: bigint | null
|
|
product_zone_id: bigint | null
|
|
product_id: bigint | null
|
|
price: number | null
|
|
price_install: number | null
|
|
exp_timestamp: bigint | null
|
|
duree_contrat: number | null
|
|
}
|
|
|
|
export type Product_speciauxCountAggregateOutputType = {
|
|
id: number
|
|
product_zone_id: number
|
|
product_id: number
|
|
price: number
|
|
price_install: number
|
|
exp_timestamp: number
|
|
duree_contrat: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Product_speciauxAvgAggregateInputType = {
|
|
id?: true
|
|
product_zone_id?: true
|
|
product_id?: true
|
|
price?: true
|
|
price_install?: true
|
|
exp_timestamp?: true
|
|
duree_contrat?: true
|
|
}
|
|
|
|
export type Product_speciauxSumAggregateInputType = {
|
|
id?: true
|
|
product_zone_id?: true
|
|
product_id?: true
|
|
price?: true
|
|
price_install?: true
|
|
exp_timestamp?: true
|
|
duree_contrat?: true
|
|
}
|
|
|
|
export type Product_speciauxMinAggregateInputType = {
|
|
id?: true
|
|
product_zone_id?: true
|
|
product_id?: true
|
|
price?: true
|
|
price_install?: true
|
|
exp_timestamp?: true
|
|
duree_contrat?: true
|
|
}
|
|
|
|
export type Product_speciauxMaxAggregateInputType = {
|
|
id?: true
|
|
product_zone_id?: true
|
|
product_id?: true
|
|
price?: true
|
|
price_install?: true
|
|
exp_timestamp?: true
|
|
duree_contrat?: true
|
|
}
|
|
|
|
export type Product_speciauxCountAggregateInputType = {
|
|
id?: true
|
|
product_zone_id?: true
|
|
product_id?: true
|
|
price?: true
|
|
price_install?: true
|
|
exp_timestamp?: true
|
|
duree_contrat?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Product_speciauxAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which product_speciaux to aggregate.
|
|
*/
|
|
where?: Prisma.product_speciauxWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of product_speciauxes to fetch.
|
|
*/
|
|
orderBy?: Prisma.product_speciauxOrderByWithRelationInput | Prisma.product_speciauxOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.product_speciauxWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` product_speciauxes 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` product_speciauxes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned product_speciauxes
|
|
**/
|
|
_count?: true | Product_speciauxCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Product_speciauxAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Product_speciauxSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Product_speciauxMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Product_speciauxMaxAggregateInputType
|
|
}
|
|
|
|
export type GetProduct_speciauxAggregateType<T extends Product_speciauxAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateProduct_speciaux]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateProduct_speciaux[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateProduct_speciaux[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type product_speciauxGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.product_speciauxWhereInput
|
|
orderBy?: Prisma.product_speciauxOrderByWithAggregationInput | Prisma.product_speciauxOrderByWithAggregationInput[]
|
|
by: Prisma.Product_speciauxScalarFieldEnum[] | Prisma.Product_speciauxScalarFieldEnum
|
|
having?: Prisma.product_speciauxScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Product_speciauxCountAggregateInputType | true
|
|
_avg?: Product_speciauxAvgAggregateInputType
|
|
_sum?: Product_speciauxSumAggregateInputType
|
|
_min?: Product_speciauxMinAggregateInputType
|
|
_max?: Product_speciauxMaxAggregateInputType
|
|
}
|
|
|
|
export type Product_speciauxGroupByOutputType = {
|
|
id: bigint
|
|
product_zone_id: bigint
|
|
product_id: bigint
|
|
price: number | null
|
|
price_install: number | null
|
|
exp_timestamp: bigint | null
|
|
duree_contrat: number | null
|
|
_count: Product_speciauxCountAggregateOutputType | null
|
|
_avg: Product_speciauxAvgAggregateOutputType | null
|
|
_sum: Product_speciauxSumAggregateOutputType | null
|
|
_min: Product_speciauxMinAggregateOutputType | null
|
|
_max: Product_speciauxMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetProduct_speciauxGroupByPayload<T extends product_speciauxGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Product_speciauxGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Product_speciauxGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Product_speciauxGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Product_speciauxGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type product_speciauxWhereInput = {
|
|
AND?: Prisma.product_speciauxWhereInput | Prisma.product_speciauxWhereInput[]
|
|
OR?: Prisma.product_speciauxWhereInput[]
|
|
NOT?: Prisma.product_speciauxWhereInput | Prisma.product_speciauxWhereInput[]
|
|
id?: Prisma.BigIntFilter<"product_speciaux"> | bigint | number
|
|
product_zone_id?: Prisma.BigIntFilter<"product_speciaux"> | bigint | number
|
|
product_id?: Prisma.BigIntFilter<"product_speciaux"> | bigint | number
|
|
price?: Prisma.FloatNullableFilter<"product_speciaux"> | number | null
|
|
price_install?: Prisma.FloatNullableFilter<"product_speciaux"> | number | null
|
|
exp_timestamp?: Prisma.BigIntNullableFilter<"product_speciaux"> | bigint | number | null
|
|
duree_contrat?: Prisma.IntNullableFilter<"product_speciaux"> | number | null
|
|
}
|
|
|
|
export type product_speciauxOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
product_zone_id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
price?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
price_install?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
exp_timestamp?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
duree_contrat?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
}
|
|
|
|
export type product_speciauxWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: bigint | number
|
|
AND?: Prisma.product_speciauxWhereInput | Prisma.product_speciauxWhereInput[]
|
|
OR?: Prisma.product_speciauxWhereInput[]
|
|
NOT?: Prisma.product_speciauxWhereInput | Prisma.product_speciauxWhereInput[]
|
|
product_zone_id?: Prisma.BigIntFilter<"product_speciaux"> | bigint | number
|
|
product_id?: Prisma.BigIntFilter<"product_speciaux"> | bigint | number
|
|
price?: Prisma.FloatNullableFilter<"product_speciaux"> | number | null
|
|
price_install?: Prisma.FloatNullableFilter<"product_speciaux"> | number | null
|
|
exp_timestamp?: Prisma.BigIntNullableFilter<"product_speciaux"> | bigint | number | null
|
|
duree_contrat?: Prisma.IntNullableFilter<"product_speciaux"> | number | null
|
|
}, "id">
|
|
|
|
export type product_speciauxOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
product_zone_id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
price?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
price_install?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
exp_timestamp?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
duree_contrat?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.product_speciauxCountOrderByAggregateInput
|
|
_avg?: Prisma.product_speciauxAvgOrderByAggregateInput
|
|
_max?: Prisma.product_speciauxMaxOrderByAggregateInput
|
|
_min?: Prisma.product_speciauxMinOrderByAggregateInput
|
|
_sum?: Prisma.product_speciauxSumOrderByAggregateInput
|
|
}
|
|
|
|
export type product_speciauxScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.product_speciauxScalarWhereWithAggregatesInput | Prisma.product_speciauxScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.product_speciauxScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.product_speciauxScalarWhereWithAggregatesInput | Prisma.product_speciauxScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.BigIntWithAggregatesFilter<"product_speciaux"> | bigint | number
|
|
product_zone_id?: Prisma.BigIntWithAggregatesFilter<"product_speciaux"> | bigint | number
|
|
product_id?: Prisma.BigIntWithAggregatesFilter<"product_speciaux"> | bigint | number
|
|
price?: Prisma.FloatNullableWithAggregatesFilter<"product_speciaux"> | number | null
|
|
price_install?: Prisma.FloatNullableWithAggregatesFilter<"product_speciaux"> | number | null
|
|
exp_timestamp?: Prisma.BigIntNullableWithAggregatesFilter<"product_speciaux"> | bigint | number | null
|
|
duree_contrat?: Prisma.IntNullableWithAggregatesFilter<"product_speciaux"> | number | null
|
|
}
|
|
|
|
export type product_speciauxCreateInput = {
|
|
id?: bigint | number
|
|
product_zone_id: bigint | number
|
|
product_id: bigint | number
|
|
price?: number | null
|
|
price_install?: number | null
|
|
exp_timestamp?: bigint | number | null
|
|
duree_contrat?: number | null
|
|
}
|
|
|
|
export type product_speciauxUncheckedCreateInput = {
|
|
id?: bigint | number
|
|
product_zone_id: bigint | number
|
|
product_id: bigint | number
|
|
price?: number | null
|
|
price_install?: number | null
|
|
exp_timestamp?: bigint | number | null
|
|
duree_contrat?: number | null
|
|
}
|
|
|
|
export type product_speciauxUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
product_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
price_install?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
exp_timestamp?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
duree_contrat?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
}
|
|
|
|
export type product_speciauxUncheckedUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
product_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
price_install?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
exp_timestamp?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
duree_contrat?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
}
|
|
|
|
export type product_speciauxCreateManyInput = {
|
|
id?: bigint | number
|
|
product_zone_id: bigint | number
|
|
product_id: bigint | number
|
|
price?: number | null
|
|
price_install?: number | null
|
|
exp_timestamp?: bigint | number | null
|
|
duree_contrat?: number | null
|
|
}
|
|
|
|
export type product_speciauxUpdateManyMutationInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
product_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
price_install?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
exp_timestamp?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
duree_contrat?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
}
|
|
|
|
export type product_speciauxUncheckedUpdateManyInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
product_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
price_install?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
exp_timestamp?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
duree_contrat?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
}
|
|
|
|
export type product_speciauxCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
product_zone_id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
price?: Prisma.SortOrder
|
|
price_install?: Prisma.SortOrder
|
|
exp_timestamp?: Prisma.SortOrder
|
|
duree_contrat?: Prisma.SortOrder
|
|
}
|
|
|
|
export type product_speciauxAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
product_zone_id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
price?: Prisma.SortOrder
|
|
price_install?: Prisma.SortOrder
|
|
exp_timestamp?: Prisma.SortOrder
|
|
duree_contrat?: Prisma.SortOrder
|
|
}
|
|
|
|
export type product_speciauxMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
product_zone_id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
price?: Prisma.SortOrder
|
|
price_install?: Prisma.SortOrder
|
|
exp_timestamp?: Prisma.SortOrder
|
|
duree_contrat?: Prisma.SortOrder
|
|
}
|
|
|
|
export type product_speciauxMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
product_zone_id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
price?: Prisma.SortOrder
|
|
price_install?: Prisma.SortOrder
|
|
exp_timestamp?: Prisma.SortOrder
|
|
duree_contrat?: Prisma.SortOrder
|
|
}
|
|
|
|
export type product_speciauxSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
product_zone_id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
price?: Prisma.SortOrder
|
|
price_install?: Prisma.SortOrder
|
|
exp_timestamp?: Prisma.SortOrder
|
|
duree_contrat?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type product_speciauxSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
product_zone_id?: boolean
|
|
product_id?: boolean
|
|
price?: boolean
|
|
price_install?: boolean
|
|
exp_timestamp?: boolean
|
|
duree_contrat?: boolean
|
|
}, ExtArgs["result"]["product_speciaux"]>
|
|
|
|
|
|
|
|
export type product_speciauxSelectScalar = {
|
|
id?: boolean
|
|
product_zone_id?: boolean
|
|
product_id?: boolean
|
|
price?: boolean
|
|
price_install?: boolean
|
|
exp_timestamp?: boolean
|
|
duree_contrat?: boolean
|
|
}
|
|
|
|
export type product_speciauxOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "product_zone_id" | "product_id" | "price" | "price_install" | "exp_timestamp" | "duree_contrat", ExtArgs["result"]["product_speciaux"]>
|
|
|
|
export type $product_speciauxPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "product_speciaux"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: bigint
|
|
product_zone_id: bigint
|
|
product_id: bigint
|
|
price: number | null
|
|
price_install: number | null
|
|
exp_timestamp: bigint | null
|
|
duree_contrat: number | null
|
|
}, ExtArgs["result"]["product_speciaux"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type product_speciauxGetPayload<S extends boolean | null | undefined | product_speciauxDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$product_speciauxPayload, S>
|
|
|
|
export type product_speciauxCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<product_speciauxFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Product_speciauxCountAggregateInputType | true
|
|
}
|
|
|
|
export interface product_speciauxDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['product_speciaux'], meta: { name: 'product_speciaux' } }
|
|
/**
|
|
* Find zero or one Product_speciaux that matches the filter.
|
|
* @param {product_speciauxFindUniqueArgs} args - Arguments to find a Product_speciaux
|
|
* @example
|
|
* // Get one Product_speciaux
|
|
* const product_speciaux = await prisma.product_speciaux.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends product_speciauxFindUniqueArgs>(args: Prisma.SelectSubset<T, product_speciauxFindUniqueArgs<ExtArgs>>): Prisma.Prisma__product_speciauxClient<runtime.Types.Result.GetResult<Prisma.$product_speciauxPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Product_speciaux that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {product_speciauxFindUniqueOrThrowArgs} args - Arguments to find a Product_speciaux
|
|
* @example
|
|
* // Get one Product_speciaux
|
|
* const product_speciaux = await prisma.product_speciaux.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends product_speciauxFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, product_speciauxFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__product_speciauxClient<runtime.Types.Result.GetResult<Prisma.$product_speciauxPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Product_speciaux 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 {product_speciauxFindFirstArgs} args - Arguments to find a Product_speciaux
|
|
* @example
|
|
* // Get one Product_speciaux
|
|
* const product_speciaux = await prisma.product_speciaux.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends product_speciauxFindFirstArgs>(args?: Prisma.SelectSubset<T, product_speciauxFindFirstArgs<ExtArgs>>): Prisma.Prisma__product_speciauxClient<runtime.Types.Result.GetResult<Prisma.$product_speciauxPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Product_speciaux 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 {product_speciauxFindFirstOrThrowArgs} args - Arguments to find a Product_speciaux
|
|
* @example
|
|
* // Get one Product_speciaux
|
|
* const product_speciaux = await prisma.product_speciaux.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends product_speciauxFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, product_speciauxFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__product_speciauxClient<runtime.Types.Result.GetResult<Prisma.$product_speciauxPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Product_speciauxes 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 {product_speciauxFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Product_speciauxes
|
|
* const product_speciauxes = await prisma.product_speciaux.findMany()
|
|
*
|
|
* // Get first 10 Product_speciauxes
|
|
* const product_speciauxes = await prisma.product_speciaux.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const product_speciauxWithIdOnly = await prisma.product_speciaux.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends product_speciauxFindManyArgs>(args?: Prisma.SelectSubset<T, product_speciauxFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$product_speciauxPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Product_speciaux.
|
|
* @param {product_speciauxCreateArgs} args - Arguments to create a Product_speciaux.
|
|
* @example
|
|
* // Create one Product_speciaux
|
|
* const Product_speciaux = await prisma.product_speciaux.create({
|
|
* data: {
|
|
* // ... data to create a Product_speciaux
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends product_speciauxCreateArgs>(args: Prisma.SelectSubset<T, product_speciauxCreateArgs<ExtArgs>>): Prisma.Prisma__product_speciauxClient<runtime.Types.Result.GetResult<Prisma.$product_speciauxPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Product_speciauxes.
|
|
* @param {product_speciauxCreateManyArgs} args - Arguments to create many Product_speciauxes.
|
|
* @example
|
|
* // Create many Product_speciauxes
|
|
* const product_speciaux = await prisma.product_speciaux.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends product_speciauxCreateManyArgs>(args?: Prisma.SelectSubset<T, product_speciauxCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Product_speciaux.
|
|
* @param {product_speciauxDeleteArgs} args - Arguments to delete one Product_speciaux.
|
|
* @example
|
|
* // Delete one Product_speciaux
|
|
* const Product_speciaux = await prisma.product_speciaux.delete({
|
|
* where: {
|
|
* // ... filter to delete one Product_speciaux
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends product_speciauxDeleteArgs>(args: Prisma.SelectSubset<T, product_speciauxDeleteArgs<ExtArgs>>): Prisma.Prisma__product_speciauxClient<runtime.Types.Result.GetResult<Prisma.$product_speciauxPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Product_speciaux.
|
|
* @param {product_speciauxUpdateArgs} args - Arguments to update one Product_speciaux.
|
|
* @example
|
|
* // Update one Product_speciaux
|
|
* const product_speciaux = await prisma.product_speciaux.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends product_speciauxUpdateArgs>(args: Prisma.SelectSubset<T, product_speciauxUpdateArgs<ExtArgs>>): Prisma.Prisma__product_speciauxClient<runtime.Types.Result.GetResult<Prisma.$product_speciauxPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Product_speciauxes.
|
|
* @param {product_speciauxDeleteManyArgs} args - Arguments to filter Product_speciauxes to delete.
|
|
* @example
|
|
* // Delete a few Product_speciauxes
|
|
* const { count } = await prisma.product_speciaux.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends product_speciauxDeleteManyArgs>(args?: Prisma.SelectSubset<T, product_speciauxDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Product_speciauxes.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {product_speciauxUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Product_speciauxes
|
|
* const product_speciaux = await prisma.product_speciaux.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends product_speciauxUpdateManyArgs>(args: Prisma.SelectSubset<T, product_speciauxUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Product_speciaux.
|
|
* @param {product_speciauxUpsertArgs} args - Arguments to update or create a Product_speciaux.
|
|
* @example
|
|
* // Update or create a Product_speciaux
|
|
* const product_speciaux = await prisma.product_speciaux.upsert({
|
|
* create: {
|
|
* // ... data to create a Product_speciaux
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Product_speciaux we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends product_speciauxUpsertArgs>(args: Prisma.SelectSubset<T, product_speciauxUpsertArgs<ExtArgs>>): Prisma.Prisma__product_speciauxClient<runtime.Types.Result.GetResult<Prisma.$product_speciauxPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Product_speciauxes.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {product_speciauxCountArgs} args - Arguments to filter Product_speciauxes to count.
|
|
* @example
|
|
* // Count the number of Product_speciauxes
|
|
* const count = await prisma.product_speciaux.count({
|
|
* where: {
|
|
* // ... the filter for the Product_speciauxes we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends product_speciauxCountArgs>(
|
|
args?: Prisma.Subset<T, product_speciauxCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Product_speciauxCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Product_speciaux.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Product_speciauxAggregateArgs} 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 Product_speciauxAggregateArgs>(args: Prisma.Subset<T, Product_speciauxAggregateArgs>): Prisma.PrismaPromise<GetProduct_speciauxAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Product_speciaux.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {product_speciauxGroupByArgs} 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 product_speciauxGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: product_speciauxGroupByArgs['orderBy'] }
|
|
: { orderBy?: product_speciauxGroupByArgs['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, product_speciauxGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProduct_speciauxGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the product_speciaux model
|
|
*/
|
|
readonly fields: product_speciauxFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for product_speciaux.
|
|
* 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__product_speciauxClient<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 product_speciaux model
|
|
*/
|
|
export interface product_speciauxFieldRefs {
|
|
readonly id: Prisma.FieldRef<"product_speciaux", 'BigInt'>
|
|
readonly product_zone_id: Prisma.FieldRef<"product_speciaux", 'BigInt'>
|
|
readonly product_id: Prisma.FieldRef<"product_speciaux", 'BigInt'>
|
|
readonly price: Prisma.FieldRef<"product_speciaux", 'Float'>
|
|
readonly price_install: Prisma.FieldRef<"product_speciaux", 'Float'>
|
|
readonly exp_timestamp: Prisma.FieldRef<"product_speciaux", 'BigInt'>
|
|
readonly duree_contrat: Prisma.FieldRef<"product_speciaux", 'Int'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* product_speciaux findUnique
|
|
*/
|
|
export type product_speciauxFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_speciaux
|
|
*/
|
|
select?: Prisma.product_speciauxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_speciaux
|
|
*/
|
|
omit?: Prisma.product_speciauxOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which product_speciaux to fetch.
|
|
*/
|
|
where: Prisma.product_speciauxWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* product_speciaux findUniqueOrThrow
|
|
*/
|
|
export type product_speciauxFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_speciaux
|
|
*/
|
|
select?: Prisma.product_speciauxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_speciaux
|
|
*/
|
|
omit?: Prisma.product_speciauxOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which product_speciaux to fetch.
|
|
*/
|
|
where: Prisma.product_speciauxWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* product_speciaux findFirst
|
|
*/
|
|
export type product_speciauxFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_speciaux
|
|
*/
|
|
select?: Prisma.product_speciauxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_speciaux
|
|
*/
|
|
omit?: Prisma.product_speciauxOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which product_speciaux to fetch.
|
|
*/
|
|
where?: Prisma.product_speciauxWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of product_speciauxes to fetch.
|
|
*/
|
|
orderBy?: Prisma.product_speciauxOrderByWithRelationInput | Prisma.product_speciauxOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for product_speciauxes.
|
|
*/
|
|
cursor?: Prisma.product_speciauxWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` product_speciauxes 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` product_speciauxes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of product_speciauxes.
|
|
*/
|
|
distinct?: Prisma.Product_speciauxScalarFieldEnum | Prisma.Product_speciauxScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* product_speciaux findFirstOrThrow
|
|
*/
|
|
export type product_speciauxFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_speciaux
|
|
*/
|
|
select?: Prisma.product_speciauxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_speciaux
|
|
*/
|
|
omit?: Prisma.product_speciauxOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which product_speciaux to fetch.
|
|
*/
|
|
where?: Prisma.product_speciauxWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of product_speciauxes to fetch.
|
|
*/
|
|
orderBy?: Prisma.product_speciauxOrderByWithRelationInput | Prisma.product_speciauxOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for product_speciauxes.
|
|
*/
|
|
cursor?: Prisma.product_speciauxWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` product_speciauxes 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` product_speciauxes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of product_speciauxes.
|
|
*/
|
|
distinct?: Prisma.Product_speciauxScalarFieldEnum | Prisma.Product_speciauxScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* product_speciaux findMany
|
|
*/
|
|
export type product_speciauxFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_speciaux
|
|
*/
|
|
select?: Prisma.product_speciauxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_speciaux
|
|
*/
|
|
omit?: Prisma.product_speciauxOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which product_speciauxes to fetch.
|
|
*/
|
|
where?: Prisma.product_speciauxWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of product_speciauxes to fetch.
|
|
*/
|
|
orderBy?: Prisma.product_speciauxOrderByWithRelationInput | Prisma.product_speciauxOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing product_speciauxes.
|
|
*/
|
|
cursor?: Prisma.product_speciauxWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` product_speciauxes 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` product_speciauxes.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Product_speciauxScalarFieldEnum | Prisma.Product_speciauxScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* product_speciaux create
|
|
*/
|
|
export type product_speciauxCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_speciaux
|
|
*/
|
|
select?: Prisma.product_speciauxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_speciaux
|
|
*/
|
|
omit?: Prisma.product_speciauxOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a product_speciaux.
|
|
*/
|
|
data: Prisma.XOR<Prisma.product_speciauxCreateInput, Prisma.product_speciauxUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* product_speciaux createMany
|
|
*/
|
|
export type product_speciauxCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many product_speciauxes.
|
|
*/
|
|
data: Prisma.product_speciauxCreateManyInput | Prisma.product_speciauxCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* product_speciaux update
|
|
*/
|
|
export type product_speciauxUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_speciaux
|
|
*/
|
|
select?: Prisma.product_speciauxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_speciaux
|
|
*/
|
|
omit?: Prisma.product_speciauxOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a product_speciaux.
|
|
*/
|
|
data: Prisma.XOR<Prisma.product_speciauxUpdateInput, Prisma.product_speciauxUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which product_speciaux to update.
|
|
*/
|
|
where: Prisma.product_speciauxWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* product_speciaux updateMany
|
|
*/
|
|
export type product_speciauxUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update product_speciauxes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.product_speciauxUpdateManyMutationInput, Prisma.product_speciauxUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which product_speciauxes to update
|
|
*/
|
|
where?: Prisma.product_speciauxWhereInput
|
|
/**
|
|
* Limit how many product_speciauxes to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* product_speciaux upsert
|
|
*/
|
|
export type product_speciauxUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_speciaux
|
|
*/
|
|
select?: Prisma.product_speciauxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_speciaux
|
|
*/
|
|
omit?: Prisma.product_speciauxOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the product_speciaux to update in case it exists.
|
|
*/
|
|
where: Prisma.product_speciauxWhereUniqueInput
|
|
/**
|
|
* In case the product_speciaux found by the `where` argument doesn't exist, create a new product_speciaux with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.product_speciauxCreateInput, Prisma.product_speciauxUncheckedCreateInput>
|
|
/**
|
|
* In case the product_speciaux was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.product_speciauxUpdateInput, Prisma.product_speciauxUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* product_speciaux delete
|
|
*/
|
|
export type product_speciauxDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_speciaux
|
|
*/
|
|
select?: Prisma.product_speciauxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_speciaux
|
|
*/
|
|
omit?: Prisma.product_speciauxOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which product_speciaux to delete.
|
|
*/
|
|
where: Prisma.product_speciauxWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* product_speciaux deleteMany
|
|
*/
|
|
export type product_speciauxDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which product_speciauxes to delete
|
|
*/
|
|
where?: Prisma.product_speciauxWhereInput
|
|
/**
|
|
* Limit how many product_speciauxes to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* product_speciaux without action
|
|
*/
|
|
export type product_speciauxDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_speciaux
|
|
*/
|
|
select?: Prisma.product_speciauxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_speciaux
|
|
*/
|
|
omit?: Prisma.product_speciauxOmit<ExtArgs> | null
|
|
}
|