targo-backend/prisma/generated/mariadb/models/invoice_item_bk.ts

1211 lines
45 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 `invoice_item_bk` 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 invoice_item_bk
*
*/
export type invoice_item_bkModel = runtime.Types.Result.DefaultSelection<Prisma.$invoice_item_bkPayload>
export type AggregateInvoice_item_bk = {
_count: Invoice_item_bkCountAggregateOutputType | null
_avg: Invoice_item_bkAvgAggregateOutputType | null
_sum: Invoice_item_bkSumAggregateOutputType | null
_min: Invoice_item_bkMinAggregateOutputType | null
_max: Invoice_item_bkMaxAggregateOutputType | null
}
export type Invoice_item_bkAvgAggregateOutputType = {
id: number | null
service_id: number | null
invoice_id: number | null
quantity: number | null
unitary_price: number | null
}
export type Invoice_item_bkSumAggregateOutputType = {
id: bigint | null
service_id: bigint | null
invoice_id: bigint | null
quantity: number | null
unitary_price: number | null
}
export type Invoice_item_bkMinAggregateOutputType = {
id: bigint | null
service_id: bigint | null
invoice_id: bigint | null
sku: string | null
quantity: number | null
product_name: string | null
unitary_price: number | null
nosub: boolean | null
delivery_name: string | null
}
export type Invoice_item_bkMaxAggregateOutputType = {
id: bigint | null
service_id: bigint | null
invoice_id: bigint | null
sku: string | null
quantity: number | null
product_name: string | null
unitary_price: number | null
nosub: boolean | null
delivery_name: string | null
}
export type Invoice_item_bkCountAggregateOutputType = {
id: number
service_id: number
invoice_id: number
sku: number
quantity: number
product_name: number
unitary_price: number
nosub: number
delivery_name: number
_all: number
}
export type Invoice_item_bkAvgAggregateInputType = {
id?: true
service_id?: true
invoice_id?: true
quantity?: true
unitary_price?: true
}
export type Invoice_item_bkSumAggregateInputType = {
id?: true
service_id?: true
invoice_id?: true
quantity?: true
unitary_price?: true
}
export type Invoice_item_bkMinAggregateInputType = {
id?: true
service_id?: true
invoice_id?: true
sku?: true
quantity?: true
product_name?: true
unitary_price?: true
nosub?: true
delivery_name?: true
}
export type Invoice_item_bkMaxAggregateInputType = {
id?: true
service_id?: true
invoice_id?: true
sku?: true
quantity?: true
product_name?: true
unitary_price?: true
nosub?: true
delivery_name?: true
}
export type Invoice_item_bkCountAggregateInputType = {
id?: true
service_id?: true
invoice_id?: true
sku?: true
quantity?: true
product_name?: true
unitary_price?: true
nosub?: true
delivery_name?: true
_all?: true
}
export type Invoice_item_bkAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which invoice_item_bk to aggregate.
*/
where?: Prisma.invoice_item_bkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of invoice_item_bks to fetch.
*/
orderBy?: Prisma.invoice_item_bkOrderByWithRelationInput | Prisma.invoice_item_bkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.invoice_item_bkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` invoice_item_bks 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` invoice_item_bks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned invoice_item_bks
**/
_count?: true | Invoice_item_bkCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Invoice_item_bkAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Invoice_item_bkSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Invoice_item_bkMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Invoice_item_bkMaxAggregateInputType
}
export type GetInvoice_item_bkAggregateType<T extends Invoice_item_bkAggregateArgs> = {
[P in keyof T & keyof AggregateInvoice_item_bk]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateInvoice_item_bk[P]>
: Prisma.GetScalarType<T[P], AggregateInvoice_item_bk[P]>
}
export type invoice_item_bkGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.invoice_item_bkWhereInput
orderBy?: Prisma.invoice_item_bkOrderByWithAggregationInput | Prisma.invoice_item_bkOrderByWithAggregationInput[]
by: Prisma.Invoice_item_bkScalarFieldEnum[] | Prisma.Invoice_item_bkScalarFieldEnum
having?: Prisma.invoice_item_bkScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Invoice_item_bkCountAggregateInputType | true
_avg?: Invoice_item_bkAvgAggregateInputType
_sum?: Invoice_item_bkSumAggregateInputType
_min?: Invoice_item_bkMinAggregateInputType
_max?: Invoice_item_bkMaxAggregateInputType
}
export type Invoice_item_bkGroupByOutputType = {
id: bigint
service_id: bigint | null
invoice_id: bigint | null
sku: string | null
quantity: number
product_name: string | null
unitary_price: number | null
nosub: boolean
delivery_name: string | null
_count: Invoice_item_bkCountAggregateOutputType | null
_avg: Invoice_item_bkAvgAggregateOutputType | null
_sum: Invoice_item_bkSumAggregateOutputType | null
_min: Invoice_item_bkMinAggregateOutputType | null
_max: Invoice_item_bkMaxAggregateOutputType | null
}
type GetInvoice_item_bkGroupByPayload<T extends invoice_item_bkGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Invoice_item_bkGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Invoice_item_bkGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Invoice_item_bkGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Invoice_item_bkGroupByOutputType[P]>
}
>
>
export type invoice_item_bkWhereInput = {
AND?: Prisma.invoice_item_bkWhereInput | Prisma.invoice_item_bkWhereInput[]
OR?: Prisma.invoice_item_bkWhereInput[]
NOT?: Prisma.invoice_item_bkWhereInput | Prisma.invoice_item_bkWhereInput[]
id?: Prisma.BigIntFilter<"invoice_item_bk"> | bigint | number
service_id?: Prisma.BigIntNullableFilter<"invoice_item_bk"> | bigint | number | null
invoice_id?: Prisma.BigIntNullableFilter<"invoice_item_bk"> | bigint | number | null
sku?: Prisma.StringNullableFilter<"invoice_item_bk"> | string | null
quantity?: Prisma.FloatFilter<"invoice_item_bk"> | number
product_name?: Prisma.StringNullableFilter<"invoice_item_bk"> | string | null
unitary_price?: Prisma.FloatNullableFilter<"invoice_item_bk"> | number | null
nosub?: Prisma.BoolFilter<"invoice_item_bk"> | boolean
delivery_name?: Prisma.StringNullableFilter<"invoice_item_bk"> | string | null
}
export type invoice_item_bkOrderByWithRelationInput = {
id?: Prisma.SortOrder
service_id?: Prisma.SortOrderInput | Prisma.SortOrder
invoice_id?: Prisma.SortOrderInput | Prisma.SortOrder
sku?: Prisma.SortOrderInput | Prisma.SortOrder
quantity?: Prisma.SortOrder
product_name?: Prisma.SortOrderInput | Prisma.SortOrder
unitary_price?: Prisma.SortOrderInput | Prisma.SortOrder
nosub?: Prisma.SortOrder
delivery_name?: Prisma.SortOrderInput | Prisma.SortOrder
_relevance?: Prisma.invoice_item_bkOrderByRelevanceInput
}
export type invoice_item_bkWhereUniqueInput = Prisma.AtLeast<{
id?: bigint | number
AND?: Prisma.invoice_item_bkWhereInput | Prisma.invoice_item_bkWhereInput[]
OR?: Prisma.invoice_item_bkWhereInput[]
NOT?: Prisma.invoice_item_bkWhereInput | Prisma.invoice_item_bkWhereInput[]
service_id?: Prisma.BigIntNullableFilter<"invoice_item_bk"> | bigint | number | null
invoice_id?: Prisma.BigIntNullableFilter<"invoice_item_bk"> | bigint | number | null
sku?: Prisma.StringNullableFilter<"invoice_item_bk"> | string | null
quantity?: Prisma.FloatFilter<"invoice_item_bk"> | number
product_name?: Prisma.StringNullableFilter<"invoice_item_bk"> | string | null
unitary_price?: Prisma.FloatNullableFilter<"invoice_item_bk"> | number | null
nosub?: Prisma.BoolFilter<"invoice_item_bk"> | boolean
delivery_name?: Prisma.StringNullableFilter<"invoice_item_bk"> | string | null
}, "id">
export type invoice_item_bkOrderByWithAggregationInput = {
id?: Prisma.SortOrder
service_id?: Prisma.SortOrderInput | Prisma.SortOrder
invoice_id?: Prisma.SortOrderInput | Prisma.SortOrder
sku?: Prisma.SortOrderInput | Prisma.SortOrder
quantity?: Prisma.SortOrder
product_name?: Prisma.SortOrderInput | Prisma.SortOrder
unitary_price?: Prisma.SortOrderInput | Prisma.SortOrder
nosub?: Prisma.SortOrder
delivery_name?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.invoice_item_bkCountOrderByAggregateInput
_avg?: Prisma.invoice_item_bkAvgOrderByAggregateInput
_max?: Prisma.invoice_item_bkMaxOrderByAggregateInput
_min?: Prisma.invoice_item_bkMinOrderByAggregateInput
_sum?: Prisma.invoice_item_bkSumOrderByAggregateInput
}
export type invoice_item_bkScalarWhereWithAggregatesInput = {
AND?: Prisma.invoice_item_bkScalarWhereWithAggregatesInput | Prisma.invoice_item_bkScalarWhereWithAggregatesInput[]
OR?: Prisma.invoice_item_bkScalarWhereWithAggregatesInput[]
NOT?: Prisma.invoice_item_bkScalarWhereWithAggregatesInput | Prisma.invoice_item_bkScalarWhereWithAggregatesInput[]
id?: Prisma.BigIntWithAggregatesFilter<"invoice_item_bk"> | bigint | number
service_id?: Prisma.BigIntNullableWithAggregatesFilter<"invoice_item_bk"> | bigint | number | null
invoice_id?: Prisma.BigIntNullableWithAggregatesFilter<"invoice_item_bk"> | bigint | number | null
sku?: Prisma.StringNullableWithAggregatesFilter<"invoice_item_bk"> | string | null
quantity?: Prisma.FloatWithAggregatesFilter<"invoice_item_bk"> | number
product_name?: Prisma.StringNullableWithAggregatesFilter<"invoice_item_bk"> | string | null
unitary_price?: Prisma.FloatNullableWithAggregatesFilter<"invoice_item_bk"> | number | null
nosub?: Prisma.BoolWithAggregatesFilter<"invoice_item_bk"> | boolean
delivery_name?: Prisma.StringNullableWithAggregatesFilter<"invoice_item_bk"> | string | null
}
export type invoice_item_bkCreateInput = {
id?: bigint | number
service_id?: bigint | number | null
invoice_id?: bigint | number | null
sku?: string | null
quantity?: number
product_name?: string | null
unitary_price?: number | null
nosub?: boolean
delivery_name?: string | null
}
export type invoice_item_bkUncheckedCreateInput = {
id?: bigint | number
service_id?: bigint | number | null
invoice_id?: bigint | number | null
sku?: string | null
quantity?: number
product_name?: string | null
unitary_price?: number | null
nosub?: boolean
delivery_name?: string | null
}
export type invoice_item_bkUpdateInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quantity?: Prisma.FloatFieldUpdateOperationsInput | number
product_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
unitary_price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
nosub?: Prisma.BoolFieldUpdateOperationsInput | boolean
delivery_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type invoice_item_bkUncheckedUpdateInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quantity?: Prisma.FloatFieldUpdateOperationsInput | number
product_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
unitary_price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
nosub?: Prisma.BoolFieldUpdateOperationsInput | boolean
delivery_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type invoice_item_bkCreateManyInput = {
id?: bigint | number
service_id?: bigint | number | null
invoice_id?: bigint | number | null
sku?: string | null
quantity?: number
product_name?: string | null
unitary_price?: number | null
nosub?: boolean
delivery_name?: string | null
}
export type invoice_item_bkUpdateManyMutationInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quantity?: Prisma.FloatFieldUpdateOperationsInput | number
product_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
unitary_price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
nosub?: Prisma.BoolFieldUpdateOperationsInput | boolean
delivery_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type invoice_item_bkUncheckedUpdateManyInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quantity?: Prisma.FloatFieldUpdateOperationsInput | number
product_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
unitary_price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
nosub?: Prisma.BoolFieldUpdateOperationsInput | boolean
delivery_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type invoice_item_bkOrderByRelevanceInput = {
fields: Prisma.invoice_item_bkOrderByRelevanceFieldEnum | Prisma.invoice_item_bkOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type invoice_item_bkCountOrderByAggregateInput = {
id?: Prisma.SortOrder
service_id?: Prisma.SortOrder
invoice_id?: Prisma.SortOrder
sku?: Prisma.SortOrder
quantity?: Prisma.SortOrder
product_name?: Prisma.SortOrder
unitary_price?: Prisma.SortOrder
nosub?: Prisma.SortOrder
delivery_name?: Prisma.SortOrder
}
export type invoice_item_bkAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
service_id?: Prisma.SortOrder
invoice_id?: Prisma.SortOrder
quantity?: Prisma.SortOrder
unitary_price?: Prisma.SortOrder
}
export type invoice_item_bkMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
service_id?: Prisma.SortOrder
invoice_id?: Prisma.SortOrder
sku?: Prisma.SortOrder
quantity?: Prisma.SortOrder
product_name?: Prisma.SortOrder
unitary_price?: Prisma.SortOrder
nosub?: Prisma.SortOrder
delivery_name?: Prisma.SortOrder
}
export type invoice_item_bkMinOrderByAggregateInput = {
id?: Prisma.SortOrder
service_id?: Prisma.SortOrder
invoice_id?: Prisma.SortOrder
sku?: Prisma.SortOrder
quantity?: Prisma.SortOrder
product_name?: Prisma.SortOrder
unitary_price?: Prisma.SortOrder
nosub?: Prisma.SortOrder
delivery_name?: Prisma.SortOrder
}
export type invoice_item_bkSumOrderByAggregateInput = {
id?: Prisma.SortOrder
service_id?: Prisma.SortOrder
invoice_id?: Prisma.SortOrder
quantity?: Prisma.SortOrder
unitary_price?: Prisma.SortOrder
}
export type invoice_item_bkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
service_id?: boolean
invoice_id?: boolean
sku?: boolean
quantity?: boolean
product_name?: boolean
unitary_price?: boolean
nosub?: boolean
delivery_name?: boolean
}, ExtArgs["result"]["invoice_item_bk"]>
export type invoice_item_bkSelectScalar = {
id?: boolean
service_id?: boolean
invoice_id?: boolean
sku?: boolean
quantity?: boolean
product_name?: boolean
unitary_price?: boolean
nosub?: boolean
delivery_name?: boolean
}
export type invoice_item_bkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "service_id" | "invoice_id" | "sku" | "quantity" | "product_name" | "unitary_price" | "nosub" | "delivery_name", ExtArgs["result"]["invoice_item_bk"]>
export type $invoice_item_bkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "invoice_item_bk"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: bigint
service_id: bigint | null
invoice_id: bigint | null
sku: string | null
quantity: number
product_name: string | null
unitary_price: number | null
nosub: boolean
delivery_name: string | null
}, ExtArgs["result"]["invoice_item_bk"]>
composites: {}
}
export type invoice_item_bkGetPayload<S extends boolean | null | undefined | invoice_item_bkDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$invoice_item_bkPayload, S>
export type invoice_item_bkCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<invoice_item_bkFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Invoice_item_bkCountAggregateInputType | true
}
export interface invoice_item_bkDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['invoice_item_bk'], meta: { name: 'invoice_item_bk' } }
/**
* Find zero or one Invoice_item_bk that matches the filter.
* @param {invoice_item_bkFindUniqueArgs} args - Arguments to find a Invoice_item_bk
* @example
* // Get one Invoice_item_bk
* const invoice_item_bk = await prisma.invoice_item_bk.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends invoice_item_bkFindUniqueArgs>(args: Prisma.SelectSubset<T, invoice_item_bkFindUniqueArgs<ExtArgs>>): Prisma.Prisma__invoice_item_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_item_bkPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Invoice_item_bk that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {invoice_item_bkFindUniqueOrThrowArgs} args - Arguments to find a Invoice_item_bk
* @example
* // Get one Invoice_item_bk
* const invoice_item_bk = await prisma.invoice_item_bk.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends invoice_item_bkFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, invoice_item_bkFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__invoice_item_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_item_bkPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Invoice_item_bk 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 {invoice_item_bkFindFirstArgs} args - Arguments to find a Invoice_item_bk
* @example
* // Get one Invoice_item_bk
* const invoice_item_bk = await prisma.invoice_item_bk.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends invoice_item_bkFindFirstArgs>(args?: Prisma.SelectSubset<T, invoice_item_bkFindFirstArgs<ExtArgs>>): Prisma.Prisma__invoice_item_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_item_bkPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Invoice_item_bk 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 {invoice_item_bkFindFirstOrThrowArgs} args - Arguments to find a Invoice_item_bk
* @example
* // Get one Invoice_item_bk
* const invoice_item_bk = await prisma.invoice_item_bk.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends invoice_item_bkFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, invoice_item_bkFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__invoice_item_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_item_bkPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Invoice_item_bks 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 {invoice_item_bkFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Invoice_item_bks
* const invoice_item_bks = await prisma.invoice_item_bk.findMany()
*
* // Get first 10 Invoice_item_bks
* const invoice_item_bks = await prisma.invoice_item_bk.findMany({ take: 10 })
*
* // Only select the `id`
* const invoice_item_bkWithIdOnly = await prisma.invoice_item_bk.findMany({ select: { id: true } })
*
*/
findMany<T extends invoice_item_bkFindManyArgs>(args?: Prisma.SelectSubset<T, invoice_item_bkFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$invoice_item_bkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Invoice_item_bk.
* @param {invoice_item_bkCreateArgs} args - Arguments to create a Invoice_item_bk.
* @example
* // Create one Invoice_item_bk
* const Invoice_item_bk = await prisma.invoice_item_bk.create({
* data: {
* // ... data to create a Invoice_item_bk
* }
* })
*
*/
create<T extends invoice_item_bkCreateArgs>(args: Prisma.SelectSubset<T, invoice_item_bkCreateArgs<ExtArgs>>): Prisma.Prisma__invoice_item_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_item_bkPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Invoice_item_bks.
* @param {invoice_item_bkCreateManyArgs} args - Arguments to create many Invoice_item_bks.
* @example
* // Create many Invoice_item_bks
* const invoice_item_bk = await prisma.invoice_item_bk.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends invoice_item_bkCreateManyArgs>(args?: Prisma.SelectSubset<T, invoice_item_bkCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Invoice_item_bk.
* @param {invoice_item_bkDeleteArgs} args - Arguments to delete one Invoice_item_bk.
* @example
* // Delete one Invoice_item_bk
* const Invoice_item_bk = await prisma.invoice_item_bk.delete({
* where: {
* // ... filter to delete one Invoice_item_bk
* }
* })
*
*/
delete<T extends invoice_item_bkDeleteArgs>(args: Prisma.SelectSubset<T, invoice_item_bkDeleteArgs<ExtArgs>>): Prisma.Prisma__invoice_item_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_item_bkPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Invoice_item_bk.
* @param {invoice_item_bkUpdateArgs} args - Arguments to update one Invoice_item_bk.
* @example
* // Update one Invoice_item_bk
* const invoice_item_bk = await prisma.invoice_item_bk.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends invoice_item_bkUpdateArgs>(args: Prisma.SelectSubset<T, invoice_item_bkUpdateArgs<ExtArgs>>): Prisma.Prisma__invoice_item_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_item_bkPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Invoice_item_bks.
* @param {invoice_item_bkDeleteManyArgs} args - Arguments to filter Invoice_item_bks to delete.
* @example
* // Delete a few Invoice_item_bks
* const { count } = await prisma.invoice_item_bk.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends invoice_item_bkDeleteManyArgs>(args?: Prisma.SelectSubset<T, invoice_item_bkDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Invoice_item_bks.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {invoice_item_bkUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Invoice_item_bks
* const invoice_item_bk = await prisma.invoice_item_bk.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends invoice_item_bkUpdateManyArgs>(args: Prisma.SelectSubset<T, invoice_item_bkUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Invoice_item_bk.
* @param {invoice_item_bkUpsertArgs} args - Arguments to update or create a Invoice_item_bk.
* @example
* // Update or create a Invoice_item_bk
* const invoice_item_bk = await prisma.invoice_item_bk.upsert({
* create: {
* // ... data to create a Invoice_item_bk
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Invoice_item_bk we want to update
* }
* })
*/
upsert<T extends invoice_item_bkUpsertArgs>(args: Prisma.SelectSubset<T, invoice_item_bkUpsertArgs<ExtArgs>>): Prisma.Prisma__invoice_item_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_item_bkPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Invoice_item_bks.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {invoice_item_bkCountArgs} args - Arguments to filter Invoice_item_bks to count.
* @example
* // Count the number of Invoice_item_bks
* const count = await prisma.invoice_item_bk.count({
* where: {
* // ... the filter for the Invoice_item_bks we want to count
* }
* })
**/
count<T extends invoice_item_bkCountArgs>(
args?: Prisma.Subset<T, invoice_item_bkCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Invoice_item_bkCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Invoice_item_bk.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Invoice_item_bkAggregateArgs} 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 Invoice_item_bkAggregateArgs>(args: Prisma.Subset<T, Invoice_item_bkAggregateArgs>): Prisma.PrismaPromise<GetInvoice_item_bkAggregateType<T>>
/**
* Group by Invoice_item_bk.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {invoice_item_bkGroupByArgs} 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 invoice_item_bkGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: invoice_item_bkGroupByArgs['orderBy'] }
: { orderBy?: invoice_item_bkGroupByArgs['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, invoice_item_bkGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInvoice_item_bkGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the invoice_item_bk model
*/
readonly fields: invoice_item_bkFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for invoice_item_bk.
* 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__invoice_item_bkClient<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 invoice_item_bk model
*/
export interface invoice_item_bkFieldRefs {
readonly id: Prisma.FieldRef<"invoice_item_bk", 'BigInt'>
readonly service_id: Prisma.FieldRef<"invoice_item_bk", 'BigInt'>
readonly invoice_id: Prisma.FieldRef<"invoice_item_bk", 'BigInt'>
readonly sku: Prisma.FieldRef<"invoice_item_bk", 'String'>
readonly quantity: Prisma.FieldRef<"invoice_item_bk", 'Float'>
readonly product_name: Prisma.FieldRef<"invoice_item_bk", 'String'>
readonly unitary_price: Prisma.FieldRef<"invoice_item_bk", 'Float'>
readonly nosub: Prisma.FieldRef<"invoice_item_bk", 'Boolean'>
readonly delivery_name: Prisma.FieldRef<"invoice_item_bk", 'String'>
}
// Custom InputTypes
/**
* invoice_item_bk findUnique
*/
export type invoice_item_bkFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_item_bk
*/
select?: Prisma.invoice_item_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_item_bk
*/
omit?: Prisma.invoice_item_bkOmit<ExtArgs> | null
/**
* Filter, which invoice_item_bk to fetch.
*/
where: Prisma.invoice_item_bkWhereUniqueInput
}
/**
* invoice_item_bk findUniqueOrThrow
*/
export type invoice_item_bkFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_item_bk
*/
select?: Prisma.invoice_item_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_item_bk
*/
omit?: Prisma.invoice_item_bkOmit<ExtArgs> | null
/**
* Filter, which invoice_item_bk to fetch.
*/
where: Prisma.invoice_item_bkWhereUniqueInput
}
/**
* invoice_item_bk findFirst
*/
export type invoice_item_bkFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_item_bk
*/
select?: Prisma.invoice_item_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_item_bk
*/
omit?: Prisma.invoice_item_bkOmit<ExtArgs> | null
/**
* Filter, which invoice_item_bk to fetch.
*/
where?: Prisma.invoice_item_bkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of invoice_item_bks to fetch.
*/
orderBy?: Prisma.invoice_item_bkOrderByWithRelationInput | Prisma.invoice_item_bkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for invoice_item_bks.
*/
cursor?: Prisma.invoice_item_bkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` invoice_item_bks 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` invoice_item_bks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of invoice_item_bks.
*/
distinct?: Prisma.Invoice_item_bkScalarFieldEnum | Prisma.Invoice_item_bkScalarFieldEnum[]
}
/**
* invoice_item_bk findFirstOrThrow
*/
export type invoice_item_bkFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_item_bk
*/
select?: Prisma.invoice_item_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_item_bk
*/
omit?: Prisma.invoice_item_bkOmit<ExtArgs> | null
/**
* Filter, which invoice_item_bk to fetch.
*/
where?: Prisma.invoice_item_bkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of invoice_item_bks to fetch.
*/
orderBy?: Prisma.invoice_item_bkOrderByWithRelationInput | Prisma.invoice_item_bkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for invoice_item_bks.
*/
cursor?: Prisma.invoice_item_bkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` invoice_item_bks 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` invoice_item_bks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of invoice_item_bks.
*/
distinct?: Prisma.Invoice_item_bkScalarFieldEnum | Prisma.Invoice_item_bkScalarFieldEnum[]
}
/**
* invoice_item_bk findMany
*/
export type invoice_item_bkFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_item_bk
*/
select?: Prisma.invoice_item_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_item_bk
*/
omit?: Prisma.invoice_item_bkOmit<ExtArgs> | null
/**
* Filter, which invoice_item_bks to fetch.
*/
where?: Prisma.invoice_item_bkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of invoice_item_bks to fetch.
*/
orderBy?: Prisma.invoice_item_bkOrderByWithRelationInput | Prisma.invoice_item_bkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing invoice_item_bks.
*/
cursor?: Prisma.invoice_item_bkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` invoice_item_bks 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` invoice_item_bks.
*/
skip?: number
distinct?: Prisma.Invoice_item_bkScalarFieldEnum | Prisma.Invoice_item_bkScalarFieldEnum[]
}
/**
* invoice_item_bk create
*/
export type invoice_item_bkCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_item_bk
*/
select?: Prisma.invoice_item_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_item_bk
*/
omit?: Prisma.invoice_item_bkOmit<ExtArgs> | null
/**
* The data needed to create a invoice_item_bk.
*/
data?: Prisma.XOR<Prisma.invoice_item_bkCreateInput, Prisma.invoice_item_bkUncheckedCreateInput>
}
/**
* invoice_item_bk createMany
*/
export type invoice_item_bkCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many invoice_item_bks.
*/
data: Prisma.invoice_item_bkCreateManyInput | Prisma.invoice_item_bkCreateManyInput[]
skipDuplicates?: boolean
}
/**
* invoice_item_bk update
*/
export type invoice_item_bkUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_item_bk
*/
select?: Prisma.invoice_item_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_item_bk
*/
omit?: Prisma.invoice_item_bkOmit<ExtArgs> | null
/**
* The data needed to update a invoice_item_bk.
*/
data: Prisma.XOR<Prisma.invoice_item_bkUpdateInput, Prisma.invoice_item_bkUncheckedUpdateInput>
/**
* Choose, which invoice_item_bk to update.
*/
where: Prisma.invoice_item_bkWhereUniqueInput
}
/**
* invoice_item_bk updateMany
*/
export type invoice_item_bkUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update invoice_item_bks.
*/
data: Prisma.XOR<Prisma.invoice_item_bkUpdateManyMutationInput, Prisma.invoice_item_bkUncheckedUpdateManyInput>
/**
* Filter which invoice_item_bks to update
*/
where?: Prisma.invoice_item_bkWhereInput
/**
* Limit how many invoice_item_bks to update.
*/
limit?: number
}
/**
* invoice_item_bk upsert
*/
export type invoice_item_bkUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_item_bk
*/
select?: Prisma.invoice_item_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_item_bk
*/
omit?: Prisma.invoice_item_bkOmit<ExtArgs> | null
/**
* The filter to search for the invoice_item_bk to update in case it exists.
*/
where: Prisma.invoice_item_bkWhereUniqueInput
/**
* In case the invoice_item_bk found by the `where` argument doesn't exist, create a new invoice_item_bk with this data.
*/
create: Prisma.XOR<Prisma.invoice_item_bkCreateInput, Prisma.invoice_item_bkUncheckedCreateInput>
/**
* In case the invoice_item_bk was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.invoice_item_bkUpdateInput, Prisma.invoice_item_bkUncheckedUpdateInput>
}
/**
* invoice_item_bk delete
*/
export type invoice_item_bkDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_item_bk
*/
select?: Prisma.invoice_item_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_item_bk
*/
omit?: Prisma.invoice_item_bkOmit<ExtArgs> | null
/**
* Filter which invoice_item_bk to delete.
*/
where: Prisma.invoice_item_bkWhereUniqueInput
}
/**
* invoice_item_bk deleteMany
*/
export type invoice_item_bkDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which invoice_item_bks to delete
*/
where?: Prisma.invoice_item_bkWhereInput
/**
* Limit how many invoice_item_bks to delete.
*/
limit?: number
}
/**
* invoice_item_bk without action
*/
export type invoice_item_bkDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_item_bk
*/
select?: Prisma.invoice_item_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_item_bk
*/
omit?: Prisma.invoice_item_bkOmit<ExtArgs> | null
}