1100 lines
39 KiB
TypeScript
1100 lines
39 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 `payment_item` 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 payment_item
|
|
*
|
|
*/
|
|
export type payment_itemModel = runtime.Types.Result.DefaultSelection<Prisma.$payment_itemPayload>
|
|
|
|
export type AggregatePayment_item = {
|
|
_count: Payment_itemCountAggregateOutputType | null
|
|
_avg: Payment_itemAvgAggregateOutputType | null
|
|
_sum: Payment_itemSumAggregateOutputType | null
|
|
_min: Payment_itemMinAggregateOutputType | null
|
|
_max: Payment_itemMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Payment_itemAvgAggregateOutputType = {
|
|
id: number | null
|
|
payment_id: number | null
|
|
invoice_id: number | null
|
|
amount: number | null
|
|
date_orig: number | null
|
|
}
|
|
|
|
export type Payment_itemSumAggregateOutputType = {
|
|
id: bigint | null
|
|
payment_id: bigint | null
|
|
invoice_id: bigint | null
|
|
amount: number | null
|
|
date_orig: bigint | null
|
|
}
|
|
|
|
export type Payment_itemMinAggregateOutputType = {
|
|
id: bigint | null
|
|
payment_id: bigint | null
|
|
invoice_id: bigint | null
|
|
amount: number | null
|
|
date_orig: bigint | null
|
|
}
|
|
|
|
export type Payment_itemMaxAggregateOutputType = {
|
|
id: bigint | null
|
|
payment_id: bigint | null
|
|
invoice_id: bigint | null
|
|
amount: number | null
|
|
date_orig: bigint | null
|
|
}
|
|
|
|
export type Payment_itemCountAggregateOutputType = {
|
|
id: number
|
|
payment_id: number
|
|
invoice_id: number
|
|
amount: number
|
|
date_orig: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Payment_itemAvgAggregateInputType = {
|
|
id?: true
|
|
payment_id?: true
|
|
invoice_id?: true
|
|
amount?: true
|
|
date_orig?: true
|
|
}
|
|
|
|
export type Payment_itemSumAggregateInputType = {
|
|
id?: true
|
|
payment_id?: true
|
|
invoice_id?: true
|
|
amount?: true
|
|
date_orig?: true
|
|
}
|
|
|
|
export type Payment_itemMinAggregateInputType = {
|
|
id?: true
|
|
payment_id?: true
|
|
invoice_id?: true
|
|
amount?: true
|
|
date_orig?: true
|
|
}
|
|
|
|
export type Payment_itemMaxAggregateInputType = {
|
|
id?: true
|
|
payment_id?: true
|
|
invoice_id?: true
|
|
amount?: true
|
|
date_orig?: true
|
|
}
|
|
|
|
export type Payment_itemCountAggregateInputType = {
|
|
id?: true
|
|
payment_id?: true
|
|
invoice_id?: true
|
|
amount?: true
|
|
date_orig?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Payment_itemAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which payment_item to aggregate.
|
|
*/
|
|
where?: Prisma.payment_itemWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of payment_items to fetch.
|
|
*/
|
|
orderBy?: Prisma.payment_itemOrderByWithRelationInput | Prisma.payment_itemOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.payment_itemWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` payment_items 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` payment_items.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned payment_items
|
|
**/
|
|
_count?: true | Payment_itemCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Payment_itemAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Payment_itemSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Payment_itemMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Payment_itemMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPayment_itemAggregateType<T extends Payment_itemAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePayment_item]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePayment_item[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePayment_item[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type payment_itemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.payment_itemWhereInput
|
|
orderBy?: Prisma.payment_itemOrderByWithAggregationInput | Prisma.payment_itemOrderByWithAggregationInput[]
|
|
by: Prisma.Payment_itemScalarFieldEnum[] | Prisma.Payment_itemScalarFieldEnum
|
|
having?: Prisma.payment_itemScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Payment_itemCountAggregateInputType | true
|
|
_avg?: Payment_itemAvgAggregateInputType
|
|
_sum?: Payment_itemSumAggregateInputType
|
|
_min?: Payment_itemMinAggregateInputType
|
|
_max?: Payment_itemMaxAggregateInputType
|
|
}
|
|
|
|
export type Payment_itemGroupByOutputType = {
|
|
id: bigint
|
|
payment_id: bigint | null
|
|
invoice_id: bigint | null
|
|
amount: number | null
|
|
date_orig: bigint | null
|
|
_count: Payment_itemCountAggregateOutputType | null
|
|
_avg: Payment_itemAvgAggregateOutputType | null
|
|
_sum: Payment_itemSumAggregateOutputType | null
|
|
_min: Payment_itemMinAggregateOutputType | null
|
|
_max: Payment_itemMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetPayment_itemGroupByPayload<T extends payment_itemGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Payment_itemGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Payment_itemGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Payment_itemGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Payment_itemGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type payment_itemWhereInput = {
|
|
AND?: Prisma.payment_itemWhereInput | Prisma.payment_itemWhereInput[]
|
|
OR?: Prisma.payment_itemWhereInput[]
|
|
NOT?: Prisma.payment_itemWhereInput | Prisma.payment_itemWhereInput[]
|
|
id?: Prisma.BigIntFilter<"payment_item"> | bigint | number
|
|
payment_id?: Prisma.BigIntNullableFilter<"payment_item"> | bigint | number | null
|
|
invoice_id?: Prisma.BigIntNullableFilter<"payment_item"> | bigint | number | null
|
|
amount?: Prisma.FloatNullableFilter<"payment_item"> | number | null
|
|
date_orig?: Prisma.BigIntNullableFilter<"payment_item"> | bigint | number | null
|
|
}
|
|
|
|
export type payment_itemOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
payment_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
invoice_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
}
|
|
|
|
export type payment_itemWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: bigint | number
|
|
AND?: Prisma.payment_itemWhereInput | Prisma.payment_itemWhereInput[]
|
|
OR?: Prisma.payment_itemWhereInput[]
|
|
NOT?: Prisma.payment_itemWhereInput | Prisma.payment_itemWhereInput[]
|
|
payment_id?: Prisma.BigIntNullableFilter<"payment_item"> | bigint | number | null
|
|
invoice_id?: Prisma.BigIntNullableFilter<"payment_item"> | bigint | number | null
|
|
amount?: Prisma.FloatNullableFilter<"payment_item"> | number | null
|
|
date_orig?: Prisma.BigIntNullableFilter<"payment_item"> | bigint | number | null
|
|
}, "id">
|
|
|
|
export type payment_itemOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
payment_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
invoice_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.payment_itemCountOrderByAggregateInput
|
|
_avg?: Prisma.payment_itemAvgOrderByAggregateInput
|
|
_max?: Prisma.payment_itemMaxOrderByAggregateInput
|
|
_min?: Prisma.payment_itemMinOrderByAggregateInput
|
|
_sum?: Prisma.payment_itemSumOrderByAggregateInput
|
|
}
|
|
|
|
export type payment_itemScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.payment_itemScalarWhereWithAggregatesInput | Prisma.payment_itemScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.payment_itemScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.payment_itemScalarWhereWithAggregatesInput | Prisma.payment_itemScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.BigIntWithAggregatesFilter<"payment_item"> | bigint | number
|
|
payment_id?: Prisma.BigIntNullableWithAggregatesFilter<"payment_item"> | bigint | number | null
|
|
invoice_id?: Prisma.BigIntNullableWithAggregatesFilter<"payment_item"> | bigint | number | null
|
|
amount?: Prisma.FloatNullableWithAggregatesFilter<"payment_item"> | number | null
|
|
date_orig?: Prisma.BigIntNullableWithAggregatesFilter<"payment_item"> | bigint | number | null
|
|
}
|
|
|
|
export type payment_itemCreateInput = {
|
|
id?: bigint | number
|
|
payment_id?: bigint | number | null
|
|
invoice_id?: bigint | number | null
|
|
amount?: number | null
|
|
date_orig?: bigint | number | null
|
|
}
|
|
|
|
export type payment_itemUncheckedCreateInput = {
|
|
id?: bigint | number
|
|
payment_id?: bigint | number | null
|
|
invoice_id?: bigint | number | null
|
|
amount?: number | null
|
|
date_orig?: bigint | number | null
|
|
}
|
|
|
|
export type payment_itemUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
payment_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
}
|
|
|
|
export type payment_itemUncheckedUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
payment_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
}
|
|
|
|
export type payment_itemCreateManyInput = {
|
|
id?: bigint | number
|
|
payment_id?: bigint | number | null
|
|
invoice_id?: bigint | number | null
|
|
amount?: number | null
|
|
date_orig?: bigint | number | null
|
|
}
|
|
|
|
export type payment_itemUpdateManyMutationInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
payment_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
}
|
|
|
|
export type payment_itemUncheckedUpdateManyInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
payment_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
}
|
|
|
|
export type payment_itemCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
payment_id?: Prisma.SortOrder
|
|
invoice_id?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
}
|
|
|
|
export type payment_itemAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
payment_id?: Prisma.SortOrder
|
|
invoice_id?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
}
|
|
|
|
export type payment_itemMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
payment_id?: Prisma.SortOrder
|
|
invoice_id?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
}
|
|
|
|
export type payment_itemMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
payment_id?: Prisma.SortOrder
|
|
invoice_id?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
}
|
|
|
|
export type payment_itemSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
payment_id?: Prisma.SortOrder
|
|
invoice_id?: Prisma.SortOrder
|
|
amount?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type payment_itemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
payment_id?: boolean
|
|
invoice_id?: boolean
|
|
amount?: boolean
|
|
date_orig?: boolean
|
|
}, ExtArgs["result"]["payment_item"]>
|
|
|
|
|
|
|
|
export type payment_itemSelectScalar = {
|
|
id?: boolean
|
|
payment_id?: boolean
|
|
invoice_id?: boolean
|
|
amount?: boolean
|
|
date_orig?: boolean
|
|
}
|
|
|
|
export type payment_itemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "payment_id" | "invoice_id" | "amount" | "date_orig", ExtArgs["result"]["payment_item"]>
|
|
|
|
export type $payment_itemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "payment_item"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: bigint
|
|
payment_id: bigint | null
|
|
invoice_id: bigint | null
|
|
amount: number | null
|
|
date_orig: bigint | null
|
|
}, ExtArgs["result"]["payment_item"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type payment_itemGetPayload<S extends boolean | null | undefined | payment_itemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$payment_itemPayload, S>
|
|
|
|
export type payment_itemCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<payment_itemFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Payment_itemCountAggregateInputType | true
|
|
}
|
|
|
|
export interface payment_itemDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['payment_item'], meta: { name: 'payment_item' } }
|
|
/**
|
|
* Find zero or one Payment_item that matches the filter.
|
|
* @param {payment_itemFindUniqueArgs} args - Arguments to find a Payment_item
|
|
* @example
|
|
* // Get one Payment_item
|
|
* const payment_item = await prisma.payment_item.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends payment_itemFindUniqueArgs>(args: Prisma.SelectSubset<T, payment_itemFindUniqueArgs<ExtArgs>>): Prisma.Prisma__payment_itemClient<runtime.Types.Result.GetResult<Prisma.$payment_itemPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Payment_item that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {payment_itemFindUniqueOrThrowArgs} args - Arguments to find a Payment_item
|
|
* @example
|
|
* // Get one Payment_item
|
|
* const payment_item = await prisma.payment_item.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends payment_itemFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, payment_itemFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__payment_itemClient<runtime.Types.Result.GetResult<Prisma.$payment_itemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Payment_item 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 {payment_itemFindFirstArgs} args - Arguments to find a Payment_item
|
|
* @example
|
|
* // Get one Payment_item
|
|
* const payment_item = await prisma.payment_item.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends payment_itemFindFirstArgs>(args?: Prisma.SelectSubset<T, payment_itemFindFirstArgs<ExtArgs>>): Prisma.Prisma__payment_itemClient<runtime.Types.Result.GetResult<Prisma.$payment_itemPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Payment_item 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 {payment_itemFindFirstOrThrowArgs} args - Arguments to find a Payment_item
|
|
* @example
|
|
* // Get one Payment_item
|
|
* const payment_item = await prisma.payment_item.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends payment_itemFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, payment_itemFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__payment_itemClient<runtime.Types.Result.GetResult<Prisma.$payment_itemPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Payment_items 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 {payment_itemFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Payment_items
|
|
* const payment_items = await prisma.payment_item.findMany()
|
|
*
|
|
* // Get first 10 Payment_items
|
|
* const payment_items = await prisma.payment_item.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const payment_itemWithIdOnly = await prisma.payment_item.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends payment_itemFindManyArgs>(args?: Prisma.SelectSubset<T, payment_itemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$payment_itemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Payment_item.
|
|
* @param {payment_itemCreateArgs} args - Arguments to create a Payment_item.
|
|
* @example
|
|
* // Create one Payment_item
|
|
* const Payment_item = await prisma.payment_item.create({
|
|
* data: {
|
|
* // ... data to create a Payment_item
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends payment_itemCreateArgs>(args: Prisma.SelectSubset<T, payment_itemCreateArgs<ExtArgs>>): Prisma.Prisma__payment_itemClient<runtime.Types.Result.GetResult<Prisma.$payment_itemPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Payment_items.
|
|
* @param {payment_itemCreateManyArgs} args - Arguments to create many Payment_items.
|
|
* @example
|
|
* // Create many Payment_items
|
|
* const payment_item = await prisma.payment_item.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends payment_itemCreateManyArgs>(args?: Prisma.SelectSubset<T, payment_itemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Payment_item.
|
|
* @param {payment_itemDeleteArgs} args - Arguments to delete one Payment_item.
|
|
* @example
|
|
* // Delete one Payment_item
|
|
* const Payment_item = await prisma.payment_item.delete({
|
|
* where: {
|
|
* // ... filter to delete one Payment_item
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends payment_itemDeleteArgs>(args: Prisma.SelectSubset<T, payment_itemDeleteArgs<ExtArgs>>): Prisma.Prisma__payment_itemClient<runtime.Types.Result.GetResult<Prisma.$payment_itemPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Payment_item.
|
|
* @param {payment_itemUpdateArgs} args - Arguments to update one Payment_item.
|
|
* @example
|
|
* // Update one Payment_item
|
|
* const payment_item = await prisma.payment_item.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends payment_itemUpdateArgs>(args: Prisma.SelectSubset<T, payment_itemUpdateArgs<ExtArgs>>): Prisma.Prisma__payment_itemClient<runtime.Types.Result.GetResult<Prisma.$payment_itemPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Payment_items.
|
|
* @param {payment_itemDeleteManyArgs} args - Arguments to filter Payment_items to delete.
|
|
* @example
|
|
* // Delete a few Payment_items
|
|
* const { count } = await prisma.payment_item.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends payment_itemDeleteManyArgs>(args?: Prisma.SelectSubset<T, payment_itemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Payment_items.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {payment_itemUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Payment_items
|
|
* const payment_item = await prisma.payment_item.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends payment_itemUpdateManyArgs>(args: Prisma.SelectSubset<T, payment_itemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Payment_item.
|
|
* @param {payment_itemUpsertArgs} args - Arguments to update or create a Payment_item.
|
|
* @example
|
|
* // Update or create a Payment_item
|
|
* const payment_item = await prisma.payment_item.upsert({
|
|
* create: {
|
|
* // ... data to create a Payment_item
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Payment_item we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends payment_itemUpsertArgs>(args: Prisma.SelectSubset<T, payment_itemUpsertArgs<ExtArgs>>): Prisma.Prisma__payment_itemClient<runtime.Types.Result.GetResult<Prisma.$payment_itemPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Payment_items.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {payment_itemCountArgs} args - Arguments to filter Payment_items to count.
|
|
* @example
|
|
* // Count the number of Payment_items
|
|
* const count = await prisma.payment_item.count({
|
|
* where: {
|
|
* // ... the filter for the Payment_items we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends payment_itemCountArgs>(
|
|
args?: Prisma.Subset<T, payment_itemCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Payment_itemCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Payment_item.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Payment_itemAggregateArgs} 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 Payment_itemAggregateArgs>(args: Prisma.Subset<T, Payment_itemAggregateArgs>): Prisma.PrismaPromise<GetPayment_itemAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Payment_item.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {payment_itemGroupByArgs} 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 payment_itemGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: payment_itemGroupByArgs['orderBy'] }
|
|
: { orderBy?: payment_itemGroupByArgs['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, payment_itemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPayment_itemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the payment_item model
|
|
*/
|
|
readonly fields: payment_itemFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for payment_item.
|
|
* 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__payment_itemClient<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 payment_item model
|
|
*/
|
|
export interface payment_itemFieldRefs {
|
|
readonly id: Prisma.FieldRef<"payment_item", 'BigInt'>
|
|
readonly payment_id: Prisma.FieldRef<"payment_item", 'BigInt'>
|
|
readonly invoice_id: Prisma.FieldRef<"payment_item", 'BigInt'>
|
|
readonly amount: Prisma.FieldRef<"payment_item", 'Float'>
|
|
readonly date_orig: Prisma.FieldRef<"payment_item", 'BigInt'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* payment_item findUnique
|
|
*/
|
|
export type payment_itemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_item
|
|
*/
|
|
select?: Prisma.payment_itemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_item
|
|
*/
|
|
omit?: Prisma.payment_itemOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which payment_item to fetch.
|
|
*/
|
|
where: Prisma.payment_itemWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* payment_item findUniqueOrThrow
|
|
*/
|
|
export type payment_itemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_item
|
|
*/
|
|
select?: Prisma.payment_itemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_item
|
|
*/
|
|
omit?: Prisma.payment_itemOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which payment_item to fetch.
|
|
*/
|
|
where: Prisma.payment_itemWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* payment_item findFirst
|
|
*/
|
|
export type payment_itemFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_item
|
|
*/
|
|
select?: Prisma.payment_itemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_item
|
|
*/
|
|
omit?: Prisma.payment_itemOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which payment_item to fetch.
|
|
*/
|
|
where?: Prisma.payment_itemWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of payment_items to fetch.
|
|
*/
|
|
orderBy?: Prisma.payment_itemOrderByWithRelationInput | Prisma.payment_itemOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for payment_items.
|
|
*/
|
|
cursor?: Prisma.payment_itemWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` payment_items 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` payment_items.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of payment_items.
|
|
*/
|
|
distinct?: Prisma.Payment_itemScalarFieldEnum | Prisma.Payment_itemScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* payment_item findFirstOrThrow
|
|
*/
|
|
export type payment_itemFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_item
|
|
*/
|
|
select?: Prisma.payment_itemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_item
|
|
*/
|
|
omit?: Prisma.payment_itemOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which payment_item to fetch.
|
|
*/
|
|
where?: Prisma.payment_itemWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of payment_items to fetch.
|
|
*/
|
|
orderBy?: Prisma.payment_itemOrderByWithRelationInput | Prisma.payment_itemOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for payment_items.
|
|
*/
|
|
cursor?: Prisma.payment_itemWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` payment_items 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` payment_items.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of payment_items.
|
|
*/
|
|
distinct?: Prisma.Payment_itemScalarFieldEnum | Prisma.Payment_itemScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* payment_item findMany
|
|
*/
|
|
export type payment_itemFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_item
|
|
*/
|
|
select?: Prisma.payment_itemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_item
|
|
*/
|
|
omit?: Prisma.payment_itemOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which payment_items to fetch.
|
|
*/
|
|
where?: Prisma.payment_itemWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of payment_items to fetch.
|
|
*/
|
|
orderBy?: Prisma.payment_itemOrderByWithRelationInput | Prisma.payment_itemOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing payment_items.
|
|
*/
|
|
cursor?: Prisma.payment_itemWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` payment_items 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` payment_items.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Payment_itemScalarFieldEnum | Prisma.Payment_itemScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* payment_item create
|
|
*/
|
|
export type payment_itemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_item
|
|
*/
|
|
select?: Prisma.payment_itemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_item
|
|
*/
|
|
omit?: Prisma.payment_itemOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a payment_item.
|
|
*/
|
|
data?: Prisma.XOR<Prisma.payment_itemCreateInput, Prisma.payment_itemUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* payment_item createMany
|
|
*/
|
|
export type payment_itemCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many payment_items.
|
|
*/
|
|
data: Prisma.payment_itemCreateManyInput | Prisma.payment_itemCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* payment_item update
|
|
*/
|
|
export type payment_itemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_item
|
|
*/
|
|
select?: Prisma.payment_itemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_item
|
|
*/
|
|
omit?: Prisma.payment_itemOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a payment_item.
|
|
*/
|
|
data: Prisma.XOR<Prisma.payment_itemUpdateInput, Prisma.payment_itemUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which payment_item to update.
|
|
*/
|
|
where: Prisma.payment_itemWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* payment_item updateMany
|
|
*/
|
|
export type payment_itemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update payment_items.
|
|
*/
|
|
data: Prisma.XOR<Prisma.payment_itemUpdateManyMutationInput, Prisma.payment_itemUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which payment_items to update
|
|
*/
|
|
where?: Prisma.payment_itemWhereInput
|
|
/**
|
|
* Limit how many payment_items to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* payment_item upsert
|
|
*/
|
|
export type payment_itemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_item
|
|
*/
|
|
select?: Prisma.payment_itemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_item
|
|
*/
|
|
omit?: Prisma.payment_itemOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the payment_item to update in case it exists.
|
|
*/
|
|
where: Prisma.payment_itemWhereUniqueInput
|
|
/**
|
|
* In case the payment_item found by the `where` argument doesn't exist, create a new payment_item with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.payment_itemCreateInput, Prisma.payment_itemUncheckedCreateInput>
|
|
/**
|
|
* In case the payment_item was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.payment_itemUpdateInput, Prisma.payment_itemUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* payment_item delete
|
|
*/
|
|
export type payment_itemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_item
|
|
*/
|
|
select?: Prisma.payment_itemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_item
|
|
*/
|
|
omit?: Prisma.payment_itemOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which payment_item to delete.
|
|
*/
|
|
where: Prisma.payment_itemWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* payment_item deleteMany
|
|
*/
|
|
export type payment_itemDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which payment_items to delete
|
|
*/
|
|
where?: Prisma.payment_itemWhereInput
|
|
/**
|
|
* Limit how many payment_items to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* payment_item without action
|
|
*/
|
|
export type payment_itemDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_item
|
|
*/
|
|
select?: Prisma.payment_itemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_item
|
|
*/
|
|
omit?: Prisma.payment_itemOmit<ExtArgs> | null
|
|
}
|