Files
psp_api/src/generated/prisma/models/CustomerIndividual.ts
T

1235 lines
48 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 `CustomerIndividual` 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.js"
import type * as Prisma from "../internal/prismaNamespace.js"
/**
* Model CustomerIndividual
*
*/
export type CustomerIndividualModel = runtime.Types.Result.DefaultSelection<Prisma.$CustomerIndividualPayload>
export type AggregateCustomerIndividual = {
_count: CustomerIndividualCountAggregateOutputType | null
_min: CustomerIndividualMinAggregateOutputType | null
_max: CustomerIndividualMaxAggregateOutputType | null
}
export type CustomerIndividualMinAggregateOutputType = {
customer_id: string | null
first_name: string | null
last_name: string | null
national_id: string | null
postal_code: string | null
economic_code: string | null
complex_id: string | null
}
export type CustomerIndividualMaxAggregateOutputType = {
customer_id: string | null
first_name: string | null
last_name: string | null
national_id: string | null
postal_code: string | null
economic_code: string | null
complex_id: string | null
}
export type CustomerIndividualCountAggregateOutputType = {
customer_id: number
first_name: number
last_name: number
national_id: number
postal_code: number
economic_code: number
complex_id: number
_all: number
}
export type CustomerIndividualMinAggregateInputType = {
customer_id?: true
first_name?: true
last_name?: true
national_id?: true
postal_code?: true
economic_code?: true
complex_id?: true
}
export type CustomerIndividualMaxAggregateInputType = {
customer_id?: true
first_name?: true
last_name?: true
national_id?: true
postal_code?: true
economic_code?: true
complex_id?: true
}
export type CustomerIndividualCountAggregateInputType = {
customer_id?: true
first_name?: true
last_name?: true
national_id?: true
postal_code?: true
economic_code?: true
complex_id?: true
_all?: true
}
export type CustomerIndividualAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which CustomerIndividual to aggregate.
*/
where?: Prisma.CustomerIndividualWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of CustomerIndividuals to fetch.
*/
orderBy?: Prisma.CustomerIndividualOrderByWithRelationInput | Prisma.CustomerIndividualOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.CustomerIndividualWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` CustomerIndividuals 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` CustomerIndividuals.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned CustomerIndividuals
**/
_count?: true | CustomerIndividualCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: CustomerIndividualMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: CustomerIndividualMaxAggregateInputType
}
export type GetCustomerIndividualAggregateType<T extends CustomerIndividualAggregateArgs> = {
[P in keyof T & keyof AggregateCustomerIndividual]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateCustomerIndividual[P]>
: Prisma.GetScalarType<T[P], AggregateCustomerIndividual[P]>
}
export type CustomerIndividualGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.CustomerIndividualWhereInput
orderBy?: Prisma.CustomerIndividualOrderByWithAggregationInput | Prisma.CustomerIndividualOrderByWithAggregationInput[]
by: Prisma.CustomerIndividualScalarFieldEnum[] | Prisma.CustomerIndividualScalarFieldEnum
having?: Prisma.CustomerIndividualScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: CustomerIndividualCountAggregateInputType | true
_min?: CustomerIndividualMinAggregateInputType
_max?: CustomerIndividualMaxAggregateInputType
}
export type CustomerIndividualGroupByOutputType = {
customer_id: string
first_name: string
last_name: string
national_id: string
postal_code: string
economic_code: string | null
complex_id: string
_count: CustomerIndividualCountAggregateOutputType | null
_min: CustomerIndividualMinAggregateOutputType | null
_max: CustomerIndividualMaxAggregateOutputType | null
}
type GetCustomerIndividualGroupByPayload<T extends CustomerIndividualGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<CustomerIndividualGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof CustomerIndividualGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], CustomerIndividualGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], CustomerIndividualGroupByOutputType[P]>
}
>
>
export type CustomerIndividualWhereInput = {
AND?: Prisma.CustomerIndividualWhereInput | Prisma.CustomerIndividualWhereInput[]
OR?: Prisma.CustomerIndividualWhereInput[]
NOT?: Prisma.CustomerIndividualWhereInput | Prisma.CustomerIndividualWhereInput[]
customer_id?: Prisma.StringFilter<"CustomerIndividual"> | string
first_name?: Prisma.StringFilter<"CustomerIndividual"> | string
last_name?: Prisma.StringFilter<"CustomerIndividual"> | string
national_id?: Prisma.StringFilter<"CustomerIndividual"> | string
postal_code?: Prisma.StringFilter<"CustomerIndividual"> | string
economic_code?: Prisma.StringNullableFilter<"CustomerIndividual"> | string | null
complex_id?: Prisma.StringFilter<"CustomerIndividual"> | string
customer?: Prisma.XOR<Prisma.CustomerScalarRelationFilter, Prisma.CustomerWhereInput>
}
export type CustomerIndividualOrderByWithRelationInput = {
customer_id?: Prisma.SortOrder
first_name?: Prisma.SortOrder
last_name?: Prisma.SortOrder
national_id?: Prisma.SortOrder
postal_code?: Prisma.SortOrder
economic_code?: Prisma.SortOrderInput | Prisma.SortOrder
complex_id?: Prisma.SortOrder
customer?: Prisma.CustomerOrderByWithRelationInput
_relevance?: Prisma.CustomerIndividualOrderByRelevanceInput
}
export type CustomerIndividualWhereUniqueInput = Prisma.AtLeast<{
customer_id?: string
complex_id_national_id?: Prisma.CustomerIndividualComplex_idNational_idCompoundUniqueInput
AND?: Prisma.CustomerIndividualWhereInput | Prisma.CustomerIndividualWhereInput[]
OR?: Prisma.CustomerIndividualWhereInput[]
NOT?: Prisma.CustomerIndividualWhereInput | Prisma.CustomerIndividualWhereInput[]
first_name?: Prisma.StringFilter<"CustomerIndividual"> | string
last_name?: Prisma.StringFilter<"CustomerIndividual"> | string
national_id?: Prisma.StringFilter<"CustomerIndividual"> | string
postal_code?: Prisma.StringFilter<"CustomerIndividual"> | string
economic_code?: Prisma.StringNullableFilter<"CustomerIndividual"> | string | null
complex_id?: Prisma.StringFilter<"CustomerIndividual"> | string
customer?: Prisma.XOR<Prisma.CustomerScalarRelationFilter, Prisma.CustomerWhereInput>
}, "customer_id" | "complex_id_national_id">
export type CustomerIndividualOrderByWithAggregationInput = {
customer_id?: Prisma.SortOrder
first_name?: Prisma.SortOrder
last_name?: Prisma.SortOrder
national_id?: Prisma.SortOrder
postal_code?: Prisma.SortOrder
economic_code?: Prisma.SortOrderInput | Prisma.SortOrder
complex_id?: Prisma.SortOrder
_count?: Prisma.CustomerIndividualCountOrderByAggregateInput
_max?: Prisma.CustomerIndividualMaxOrderByAggregateInput
_min?: Prisma.CustomerIndividualMinOrderByAggregateInput
}
export type CustomerIndividualScalarWhereWithAggregatesInput = {
AND?: Prisma.CustomerIndividualScalarWhereWithAggregatesInput | Prisma.CustomerIndividualScalarWhereWithAggregatesInput[]
OR?: Prisma.CustomerIndividualScalarWhereWithAggregatesInput[]
NOT?: Prisma.CustomerIndividualScalarWhereWithAggregatesInput | Prisma.CustomerIndividualScalarWhereWithAggregatesInput[]
customer_id?: Prisma.StringWithAggregatesFilter<"CustomerIndividual"> | string
first_name?: Prisma.StringWithAggregatesFilter<"CustomerIndividual"> | string
last_name?: Prisma.StringWithAggregatesFilter<"CustomerIndividual"> | string
national_id?: Prisma.StringWithAggregatesFilter<"CustomerIndividual"> | string
postal_code?: Prisma.StringWithAggregatesFilter<"CustomerIndividual"> | string
economic_code?: Prisma.StringNullableWithAggregatesFilter<"CustomerIndividual"> | string | null
complex_id?: Prisma.StringWithAggregatesFilter<"CustomerIndividual"> | string
}
export type CustomerIndividualCreateInput = {
first_name: string
last_name: string
national_id: string
postal_code: string
economic_code?: string | null
complex_id: string
customer: Prisma.CustomerCreateNestedOneWithoutCustomerIndividualsInput
}
export type CustomerIndividualUncheckedCreateInput = {
customer_id: string
first_name: string
last_name: string
national_id: string
postal_code: string
economic_code?: string | null
complex_id: string
}
export type CustomerIndividualUpdateInput = {
first_name?: Prisma.StringFieldUpdateOperationsInput | string
last_name?: Prisma.StringFieldUpdateOperationsInput | string
national_id?: Prisma.StringFieldUpdateOperationsInput | string
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
economic_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
customer?: Prisma.CustomerUpdateOneRequiredWithoutCustomerIndividualsNestedInput
}
export type CustomerIndividualUncheckedUpdateInput = {
customer_id?: Prisma.StringFieldUpdateOperationsInput | string
first_name?: Prisma.StringFieldUpdateOperationsInput | string
last_name?: Prisma.StringFieldUpdateOperationsInput | string
national_id?: Prisma.StringFieldUpdateOperationsInput | string
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
economic_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
}
export type CustomerIndividualCreateManyInput = {
customer_id: string
first_name: string
last_name: string
national_id: string
postal_code: string
economic_code?: string | null
complex_id: string
}
export type CustomerIndividualUpdateManyMutationInput = {
first_name?: Prisma.StringFieldUpdateOperationsInput | string
last_name?: Prisma.StringFieldUpdateOperationsInput | string
national_id?: Prisma.StringFieldUpdateOperationsInput | string
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
economic_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
}
export type CustomerIndividualUncheckedUpdateManyInput = {
customer_id?: Prisma.StringFieldUpdateOperationsInput | string
first_name?: Prisma.StringFieldUpdateOperationsInput | string
last_name?: Prisma.StringFieldUpdateOperationsInput | string
national_id?: Prisma.StringFieldUpdateOperationsInput | string
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
economic_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
}
export type CustomerIndividualNullableScalarRelationFilter = {
is?: Prisma.CustomerIndividualWhereInput | null
isNot?: Prisma.CustomerIndividualWhereInput | null
}
export type CustomerIndividualOrderByRelevanceInput = {
fields: Prisma.CustomerIndividualOrderByRelevanceFieldEnum | Prisma.CustomerIndividualOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type CustomerIndividualComplex_idNational_idCompoundUniqueInput = {
complex_id: string
national_id: string
}
export type CustomerIndividualCountOrderByAggregateInput = {
customer_id?: Prisma.SortOrder
first_name?: Prisma.SortOrder
last_name?: Prisma.SortOrder
national_id?: Prisma.SortOrder
postal_code?: Prisma.SortOrder
economic_code?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
}
export type CustomerIndividualMaxOrderByAggregateInput = {
customer_id?: Prisma.SortOrder
first_name?: Prisma.SortOrder
last_name?: Prisma.SortOrder
national_id?: Prisma.SortOrder
postal_code?: Prisma.SortOrder
economic_code?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
}
export type CustomerIndividualMinOrderByAggregateInput = {
customer_id?: Prisma.SortOrder
first_name?: Prisma.SortOrder
last_name?: Prisma.SortOrder
national_id?: Prisma.SortOrder
postal_code?: Prisma.SortOrder
economic_code?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
}
export type CustomerIndividualCreateNestedOneWithoutCustomerInput = {
create?: Prisma.XOR<Prisma.CustomerIndividualCreateWithoutCustomerInput, Prisma.CustomerIndividualUncheckedCreateWithoutCustomerInput>
connectOrCreate?: Prisma.CustomerIndividualCreateOrConnectWithoutCustomerInput
connect?: Prisma.CustomerIndividualWhereUniqueInput
}
export type CustomerIndividualUncheckedCreateNestedOneWithoutCustomerInput = {
create?: Prisma.XOR<Prisma.CustomerIndividualCreateWithoutCustomerInput, Prisma.CustomerIndividualUncheckedCreateWithoutCustomerInput>
connectOrCreate?: Prisma.CustomerIndividualCreateOrConnectWithoutCustomerInput
connect?: Prisma.CustomerIndividualWhereUniqueInput
}
export type CustomerIndividualUpdateOneWithoutCustomerNestedInput = {
create?: Prisma.XOR<Prisma.CustomerIndividualCreateWithoutCustomerInput, Prisma.CustomerIndividualUncheckedCreateWithoutCustomerInput>
connectOrCreate?: Prisma.CustomerIndividualCreateOrConnectWithoutCustomerInput
upsert?: Prisma.CustomerIndividualUpsertWithoutCustomerInput
disconnect?: Prisma.CustomerIndividualWhereInput | boolean
delete?: Prisma.CustomerIndividualWhereInput | boolean
connect?: Prisma.CustomerIndividualWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerIndividualUpdateToOneWithWhereWithoutCustomerInput, Prisma.CustomerIndividualUpdateWithoutCustomerInput>, Prisma.CustomerIndividualUncheckedUpdateWithoutCustomerInput>
}
export type CustomerIndividualUncheckedUpdateOneWithoutCustomerNestedInput = {
create?: Prisma.XOR<Prisma.CustomerIndividualCreateWithoutCustomerInput, Prisma.CustomerIndividualUncheckedCreateWithoutCustomerInput>
connectOrCreate?: Prisma.CustomerIndividualCreateOrConnectWithoutCustomerInput
upsert?: Prisma.CustomerIndividualUpsertWithoutCustomerInput
disconnect?: Prisma.CustomerIndividualWhereInput | boolean
delete?: Prisma.CustomerIndividualWhereInput | boolean
connect?: Prisma.CustomerIndividualWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerIndividualUpdateToOneWithWhereWithoutCustomerInput, Prisma.CustomerIndividualUpdateWithoutCustomerInput>, Prisma.CustomerIndividualUncheckedUpdateWithoutCustomerInput>
}
export type CustomerIndividualCreateWithoutCustomerInput = {
first_name: string
last_name: string
national_id: string
postal_code: string
economic_code?: string | null
complex_id: string
}
export type CustomerIndividualUncheckedCreateWithoutCustomerInput = {
first_name: string
last_name: string
national_id: string
postal_code: string
economic_code?: string | null
complex_id: string
}
export type CustomerIndividualCreateOrConnectWithoutCustomerInput = {
where: Prisma.CustomerIndividualWhereUniqueInput
create: Prisma.XOR<Prisma.CustomerIndividualCreateWithoutCustomerInput, Prisma.CustomerIndividualUncheckedCreateWithoutCustomerInput>
}
export type CustomerIndividualUpsertWithoutCustomerInput = {
update: Prisma.XOR<Prisma.CustomerIndividualUpdateWithoutCustomerInput, Prisma.CustomerIndividualUncheckedUpdateWithoutCustomerInput>
create: Prisma.XOR<Prisma.CustomerIndividualCreateWithoutCustomerInput, Prisma.CustomerIndividualUncheckedCreateWithoutCustomerInput>
where?: Prisma.CustomerIndividualWhereInput
}
export type CustomerIndividualUpdateToOneWithWhereWithoutCustomerInput = {
where?: Prisma.CustomerIndividualWhereInput
data: Prisma.XOR<Prisma.CustomerIndividualUpdateWithoutCustomerInput, Prisma.CustomerIndividualUncheckedUpdateWithoutCustomerInput>
}
export type CustomerIndividualUpdateWithoutCustomerInput = {
first_name?: Prisma.StringFieldUpdateOperationsInput | string
last_name?: Prisma.StringFieldUpdateOperationsInput | string
national_id?: Prisma.StringFieldUpdateOperationsInput | string
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
economic_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
}
export type CustomerIndividualUncheckedUpdateWithoutCustomerInput = {
first_name?: Prisma.StringFieldUpdateOperationsInput | string
last_name?: Prisma.StringFieldUpdateOperationsInput | string
national_id?: Prisma.StringFieldUpdateOperationsInput | string
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
economic_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
}
export type CustomerIndividualSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
customer_id?: boolean
first_name?: boolean
last_name?: boolean
national_id?: boolean
postal_code?: boolean
economic_code?: boolean
complex_id?: boolean
customer?: boolean | Prisma.CustomerDefaultArgs<ExtArgs>
}, ExtArgs["result"]["customerIndividual"]>
export type CustomerIndividualSelectScalar = {
customer_id?: boolean
first_name?: boolean
last_name?: boolean
national_id?: boolean
postal_code?: boolean
economic_code?: boolean
complex_id?: boolean
}
export type CustomerIndividualOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"customer_id" | "first_name" | "last_name" | "national_id" | "postal_code" | "economic_code" | "complex_id", ExtArgs["result"]["customerIndividual"]>
export type CustomerIndividualInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
customer?: boolean | Prisma.CustomerDefaultArgs<ExtArgs>
}
export type $CustomerIndividualPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "CustomerIndividual"
objects: {
customer: Prisma.$CustomerPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
customer_id: string
first_name: string
last_name: string
national_id: string
postal_code: string
economic_code: string | null
complex_id: string
}, ExtArgs["result"]["customerIndividual"]>
composites: {}
}
export type CustomerIndividualGetPayload<S extends boolean | null | undefined | CustomerIndividualDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CustomerIndividualPayload, S>
export type CustomerIndividualCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<CustomerIndividualFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: CustomerIndividualCountAggregateInputType | true
}
export interface CustomerIndividualDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CustomerIndividual'], meta: { name: 'CustomerIndividual' } }
/**
* Find zero or one CustomerIndividual that matches the filter.
* @param {CustomerIndividualFindUniqueArgs} args - Arguments to find a CustomerIndividual
* @example
* // Get one CustomerIndividual
* const customerIndividual = await prisma.customerIndividual.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends CustomerIndividualFindUniqueArgs>(args: Prisma.SelectSubset<T, CustomerIndividualFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CustomerIndividualClient<runtime.Types.Result.GetResult<Prisma.$CustomerIndividualPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one CustomerIndividual that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {CustomerIndividualFindUniqueOrThrowArgs} args - Arguments to find a CustomerIndividual
* @example
* // Get one CustomerIndividual
* const customerIndividual = await prisma.customerIndividual.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends CustomerIndividualFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CustomerIndividualFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CustomerIndividualClient<runtime.Types.Result.GetResult<Prisma.$CustomerIndividualPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first CustomerIndividual 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 {CustomerIndividualFindFirstArgs} args - Arguments to find a CustomerIndividual
* @example
* // Get one CustomerIndividual
* const customerIndividual = await prisma.customerIndividual.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends CustomerIndividualFindFirstArgs>(args?: Prisma.SelectSubset<T, CustomerIndividualFindFirstArgs<ExtArgs>>): Prisma.Prisma__CustomerIndividualClient<runtime.Types.Result.GetResult<Prisma.$CustomerIndividualPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first CustomerIndividual 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 {CustomerIndividualFindFirstOrThrowArgs} args - Arguments to find a CustomerIndividual
* @example
* // Get one CustomerIndividual
* const customerIndividual = await prisma.customerIndividual.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends CustomerIndividualFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CustomerIndividualFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CustomerIndividualClient<runtime.Types.Result.GetResult<Prisma.$CustomerIndividualPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more CustomerIndividuals 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 {CustomerIndividualFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all CustomerIndividuals
* const customerIndividuals = await prisma.customerIndividual.findMany()
*
* // Get first 10 CustomerIndividuals
* const customerIndividuals = await prisma.customerIndividual.findMany({ take: 10 })
*
* // Only select the `customer_id`
* const customerIndividualWithCustomer_idOnly = await prisma.customerIndividual.findMany({ select: { customer_id: true } })
*
*/
findMany<T extends CustomerIndividualFindManyArgs>(args?: Prisma.SelectSubset<T, CustomerIndividualFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CustomerIndividualPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a CustomerIndividual.
* @param {CustomerIndividualCreateArgs} args - Arguments to create a CustomerIndividual.
* @example
* // Create one CustomerIndividual
* const CustomerIndividual = await prisma.customerIndividual.create({
* data: {
* // ... data to create a CustomerIndividual
* }
* })
*
*/
create<T extends CustomerIndividualCreateArgs>(args: Prisma.SelectSubset<T, CustomerIndividualCreateArgs<ExtArgs>>): Prisma.Prisma__CustomerIndividualClient<runtime.Types.Result.GetResult<Prisma.$CustomerIndividualPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many CustomerIndividuals.
* @param {CustomerIndividualCreateManyArgs} args - Arguments to create many CustomerIndividuals.
* @example
* // Create many CustomerIndividuals
* const customerIndividual = await prisma.customerIndividual.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends CustomerIndividualCreateManyArgs>(args?: Prisma.SelectSubset<T, CustomerIndividualCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a CustomerIndividual.
* @param {CustomerIndividualDeleteArgs} args - Arguments to delete one CustomerIndividual.
* @example
* // Delete one CustomerIndividual
* const CustomerIndividual = await prisma.customerIndividual.delete({
* where: {
* // ... filter to delete one CustomerIndividual
* }
* })
*
*/
delete<T extends CustomerIndividualDeleteArgs>(args: Prisma.SelectSubset<T, CustomerIndividualDeleteArgs<ExtArgs>>): Prisma.Prisma__CustomerIndividualClient<runtime.Types.Result.GetResult<Prisma.$CustomerIndividualPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one CustomerIndividual.
* @param {CustomerIndividualUpdateArgs} args - Arguments to update one CustomerIndividual.
* @example
* // Update one CustomerIndividual
* const customerIndividual = await prisma.customerIndividual.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends CustomerIndividualUpdateArgs>(args: Prisma.SelectSubset<T, CustomerIndividualUpdateArgs<ExtArgs>>): Prisma.Prisma__CustomerIndividualClient<runtime.Types.Result.GetResult<Prisma.$CustomerIndividualPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more CustomerIndividuals.
* @param {CustomerIndividualDeleteManyArgs} args - Arguments to filter CustomerIndividuals to delete.
* @example
* // Delete a few CustomerIndividuals
* const { count } = await prisma.customerIndividual.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends CustomerIndividualDeleteManyArgs>(args?: Prisma.SelectSubset<T, CustomerIndividualDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more CustomerIndividuals.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {CustomerIndividualUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many CustomerIndividuals
* const customerIndividual = await prisma.customerIndividual.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends CustomerIndividualUpdateManyArgs>(args: Prisma.SelectSubset<T, CustomerIndividualUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one CustomerIndividual.
* @param {CustomerIndividualUpsertArgs} args - Arguments to update or create a CustomerIndividual.
* @example
* // Update or create a CustomerIndividual
* const customerIndividual = await prisma.customerIndividual.upsert({
* create: {
* // ... data to create a CustomerIndividual
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the CustomerIndividual we want to update
* }
* })
*/
upsert<T extends CustomerIndividualUpsertArgs>(args: Prisma.SelectSubset<T, CustomerIndividualUpsertArgs<ExtArgs>>): Prisma.Prisma__CustomerIndividualClient<runtime.Types.Result.GetResult<Prisma.$CustomerIndividualPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of CustomerIndividuals.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {CustomerIndividualCountArgs} args - Arguments to filter CustomerIndividuals to count.
* @example
* // Count the number of CustomerIndividuals
* const count = await prisma.customerIndividual.count({
* where: {
* // ... the filter for the CustomerIndividuals we want to count
* }
* })
**/
count<T extends CustomerIndividualCountArgs>(
args?: Prisma.Subset<T, CustomerIndividualCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], CustomerIndividualCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a CustomerIndividual.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {CustomerIndividualAggregateArgs} 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 CustomerIndividualAggregateArgs>(args: Prisma.Subset<T, CustomerIndividualAggregateArgs>): Prisma.PrismaPromise<GetCustomerIndividualAggregateType<T>>
/**
* Group by CustomerIndividual.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {CustomerIndividualGroupByArgs} 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 CustomerIndividualGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: CustomerIndividualGroupByArgs['orderBy'] }
: { orderBy?: CustomerIndividualGroupByArgs['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, CustomerIndividualGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCustomerIndividualGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the CustomerIndividual model
*/
readonly fields: CustomerIndividualFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for CustomerIndividual.
* 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__CustomerIndividualClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
customer<T extends Prisma.CustomerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CustomerDefaultArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* 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 CustomerIndividual model
*/
export interface CustomerIndividualFieldRefs {
readonly customer_id: Prisma.FieldRef<"CustomerIndividual", 'String'>
readonly first_name: Prisma.FieldRef<"CustomerIndividual", 'String'>
readonly last_name: Prisma.FieldRef<"CustomerIndividual", 'String'>
readonly national_id: Prisma.FieldRef<"CustomerIndividual", 'String'>
readonly postal_code: Prisma.FieldRef<"CustomerIndividual", 'String'>
readonly economic_code: Prisma.FieldRef<"CustomerIndividual", 'String'>
readonly complex_id: Prisma.FieldRef<"CustomerIndividual", 'String'>
}
// Custom InputTypes
/**
* CustomerIndividual findUnique
*/
export type CustomerIndividualFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CustomerIndividual
*/
select?: Prisma.CustomerIndividualSelect<ExtArgs> | null
/**
* Omit specific fields from the CustomerIndividual
*/
omit?: Prisma.CustomerIndividualOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.CustomerIndividualInclude<ExtArgs> | null
/**
* Filter, which CustomerIndividual to fetch.
*/
where: Prisma.CustomerIndividualWhereUniqueInput
}
/**
* CustomerIndividual findUniqueOrThrow
*/
export type CustomerIndividualFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CustomerIndividual
*/
select?: Prisma.CustomerIndividualSelect<ExtArgs> | null
/**
* Omit specific fields from the CustomerIndividual
*/
omit?: Prisma.CustomerIndividualOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.CustomerIndividualInclude<ExtArgs> | null
/**
* Filter, which CustomerIndividual to fetch.
*/
where: Prisma.CustomerIndividualWhereUniqueInput
}
/**
* CustomerIndividual findFirst
*/
export type CustomerIndividualFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CustomerIndividual
*/
select?: Prisma.CustomerIndividualSelect<ExtArgs> | null
/**
* Omit specific fields from the CustomerIndividual
*/
omit?: Prisma.CustomerIndividualOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.CustomerIndividualInclude<ExtArgs> | null
/**
* Filter, which CustomerIndividual to fetch.
*/
where?: Prisma.CustomerIndividualWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of CustomerIndividuals to fetch.
*/
orderBy?: Prisma.CustomerIndividualOrderByWithRelationInput | Prisma.CustomerIndividualOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for CustomerIndividuals.
*/
cursor?: Prisma.CustomerIndividualWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` CustomerIndividuals 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` CustomerIndividuals.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of CustomerIndividuals.
*/
distinct?: Prisma.CustomerIndividualScalarFieldEnum | Prisma.CustomerIndividualScalarFieldEnum[]
}
/**
* CustomerIndividual findFirstOrThrow
*/
export type CustomerIndividualFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CustomerIndividual
*/
select?: Prisma.CustomerIndividualSelect<ExtArgs> | null
/**
* Omit specific fields from the CustomerIndividual
*/
omit?: Prisma.CustomerIndividualOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.CustomerIndividualInclude<ExtArgs> | null
/**
* Filter, which CustomerIndividual to fetch.
*/
where?: Prisma.CustomerIndividualWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of CustomerIndividuals to fetch.
*/
orderBy?: Prisma.CustomerIndividualOrderByWithRelationInput | Prisma.CustomerIndividualOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for CustomerIndividuals.
*/
cursor?: Prisma.CustomerIndividualWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` CustomerIndividuals 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` CustomerIndividuals.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of CustomerIndividuals.
*/
distinct?: Prisma.CustomerIndividualScalarFieldEnum | Prisma.CustomerIndividualScalarFieldEnum[]
}
/**
* CustomerIndividual findMany
*/
export type CustomerIndividualFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CustomerIndividual
*/
select?: Prisma.CustomerIndividualSelect<ExtArgs> | null
/**
* Omit specific fields from the CustomerIndividual
*/
omit?: Prisma.CustomerIndividualOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.CustomerIndividualInclude<ExtArgs> | null
/**
* Filter, which CustomerIndividuals to fetch.
*/
where?: Prisma.CustomerIndividualWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of CustomerIndividuals to fetch.
*/
orderBy?: Prisma.CustomerIndividualOrderByWithRelationInput | Prisma.CustomerIndividualOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing CustomerIndividuals.
*/
cursor?: Prisma.CustomerIndividualWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` CustomerIndividuals 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` CustomerIndividuals.
*/
skip?: number
distinct?: Prisma.CustomerIndividualScalarFieldEnum | Prisma.CustomerIndividualScalarFieldEnum[]
}
/**
* CustomerIndividual create
*/
export type CustomerIndividualCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CustomerIndividual
*/
select?: Prisma.CustomerIndividualSelect<ExtArgs> | null
/**
* Omit specific fields from the CustomerIndividual
*/
omit?: Prisma.CustomerIndividualOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.CustomerIndividualInclude<ExtArgs> | null
/**
* The data needed to create a CustomerIndividual.
*/
data: Prisma.XOR<Prisma.CustomerIndividualCreateInput, Prisma.CustomerIndividualUncheckedCreateInput>
}
/**
* CustomerIndividual createMany
*/
export type CustomerIndividualCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many CustomerIndividuals.
*/
data: Prisma.CustomerIndividualCreateManyInput | Prisma.CustomerIndividualCreateManyInput[]
skipDuplicates?: boolean
}
/**
* CustomerIndividual update
*/
export type CustomerIndividualUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CustomerIndividual
*/
select?: Prisma.CustomerIndividualSelect<ExtArgs> | null
/**
* Omit specific fields from the CustomerIndividual
*/
omit?: Prisma.CustomerIndividualOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.CustomerIndividualInclude<ExtArgs> | null
/**
* The data needed to update a CustomerIndividual.
*/
data: Prisma.XOR<Prisma.CustomerIndividualUpdateInput, Prisma.CustomerIndividualUncheckedUpdateInput>
/**
* Choose, which CustomerIndividual to update.
*/
where: Prisma.CustomerIndividualWhereUniqueInput
}
/**
* CustomerIndividual updateMany
*/
export type CustomerIndividualUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update CustomerIndividuals.
*/
data: Prisma.XOR<Prisma.CustomerIndividualUpdateManyMutationInput, Prisma.CustomerIndividualUncheckedUpdateManyInput>
/**
* Filter which CustomerIndividuals to update
*/
where?: Prisma.CustomerIndividualWhereInput
/**
* Limit how many CustomerIndividuals to update.
*/
limit?: number
}
/**
* CustomerIndividual upsert
*/
export type CustomerIndividualUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CustomerIndividual
*/
select?: Prisma.CustomerIndividualSelect<ExtArgs> | null
/**
* Omit specific fields from the CustomerIndividual
*/
omit?: Prisma.CustomerIndividualOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.CustomerIndividualInclude<ExtArgs> | null
/**
* The filter to search for the CustomerIndividual to update in case it exists.
*/
where: Prisma.CustomerIndividualWhereUniqueInput
/**
* In case the CustomerIndividual found by the `where` argument doesn't exist, create a new CustomerIndividual with this data.
*/
create: Prisma.XOR<Prisma.CustomerIndividualCreateInput, Prisma.CustomerIndividualUncheckedCreateInput>
/**
* In case the CustomerIndividual was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.CustomerIndividualUpdateInput, Prisma.CustomerIndividualUncheckedUpdateInput>
}
/**
* CustomerIndividual delete
*/
export type CustomerIndividualDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CustomerIndividual
*/
select?: Prisma.CustomerIndividualSelect<ExtArgs> | null
/**
* Omit specific fields from the CustomerIndividual
*/
omit?: Prisma.CustomerIndividualOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.CustomerIndividualInclude<ExtArgs> | null
/**
* Filter which CustomerIndividual to delete.
*/
where: Prisma.CustomerIndividualWhereUniqueInput
}
/**
* CustomerIndividual deleteMany
*/
export type CustomerIndividualDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which CustomerIndividuals to delete
*/
where?: Prisma.CustomerIndividualWhereInput
/**
* Limit how many CustomerIndividuals to delete.
*/
limit?: number
}
/**
* CustomerIndividual without action
*/
export type CustomerIndividualDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CustomerIndividual
*/
select?: Prisma.CustomerIndividualSelect<ExtArgs> | null
/**
* Omit specific fields from the CustomerIndividual
*/
omit?: Prisma.CustomerIndividualOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.CustomerIndividualInclude<ExtArgs> | null
}