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

1473 lines
54 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_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_bk
* This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
*/
export type invoice_bkModel = runtime.Types.Result.DefaultSelection<Prisma.$invoice_bkPayload>
export type AggregateInvoice_bk = {
_count: Invoice_bkCountAggregateOutputType | null
_avg: Invoice_bkAvgAggregateOutputType | null
_sum: Invoice_bkSumAggregateOutputType | null
_min: Invoice_bkMinAggregateOutputType | null
_max: Invoice_bkMaxAggregateOutputType | null
}
export type Invoice_bkAvgAggregateOutputType = {
id: number | null
date_orig: number | null
process_status: number | null
billing_status: number | null
refund_status: number | null
print_status: number | null
account_id: number | null
total_amt: number | null
billed_amt: number | null
due_date: number | null
email_status: number | null
correction: number | null
ppa_charge: number | null
credit_code_id: number | null
}
export type Invoice_bkSumAggregateOutputType = {
id: bigint | null
date_orig: bigint | null
process_status: number | null
billing_status: number | null
refund_status: number | null
print_status: number | null
account_id: bigint | null
total_amt: number | null
billed_amt: number | null
due_date: bigint | null
email_status: number | null
correction: number | null
ppa_charge: number | null
credit_code_id: number | null
}
export type Invoice_bkMinAggregateOutputType = {
id: bigint | null
date_orig: bigint | null
process_status: number | null
billing_status: number | null
refund_status: number | null
print_status: number | null
account_id: bigint | null
total_amt: number | null
billed_amt: number | null
due_date: bigint | null
notes: string | null
template_message: string | null
email_status: number | null
working_order: string | null
correction: number | null
ppa_charge: number | null
credit_code_id: number | null
}
export type Invoice_bkMaxAggregateOutputType = {
id: bigint | null
date_orig: bigint | null
process_status: number | null
billing_status: number | null
refund_status: number | null
print_status: number | null
account_id: bigint | null
total_amt: number | null
billed_amt: number | null
due_date: bigint | null
notes: string | null
template_message: string | null
email_status: number | null
working_order: string | null
correction: number | null
ppa_charge: number | null
credit_code_id: number | null
}
export type Invoice_bkCountAggregateOutputType = {
id: number
date_orig: number
process_status: number
billing_status: number
refund_status: number
print_status: number
account_id: number
total_amt: number
billed_amt: number
due_date: number
notes: number
template_message: number
email_status: number
working_order: number
correction: number
ppa_charge: number
credit_code_id: number
_all: number
}
export type Invoice_bkAvgAggregateInputType = {
id?: true
date_orig?: true
process_status?: true
billing_status?: true
refund_status?: true
print_status?: true
account_id?: true
total_amt?: true
billed_amt?: true
due_date?: true
email_status?: true
correction?: true
ppa_charge?: true
credit_code_id?: true
}
export type Invoice_bkSumAggregateInputType = {
id?: true
date_orig?: true
process_status?: true
billing_status?: true
refund_status?: true
print_status?: true
account_id?: true
total_amt?: true
billed_amt?: true
due_date?: true
email_status?: true
correction?: true
ppa_charge?: true
credit_code_id?: true
}
export type Invoice_bkMinAggregateInputType = {
id?: true
date_orig?: true
process_status?: true
billing_status?: true
refund_status?: true
print_status?: true
account_id?: true
total_amt?: true
billed_amt?: true
due_date?: true
notes?: true
template_message?: true
email_status?: true
working_order?: true
correction?: true
ppa_charge?: true
credit_code_id?: true
}
export type Invoice_bkMaxAggregateInputType = {
id?: true
date_orig?: true
process_status?: true
billing_status?: true
refund_status?: true
print_status?: true
account_id?: true
total_amt?: true
billed_amt?: true
due_date?: true
notes?: true
template_message?: true
email_status?: true
working_order?: true
correction?: true
ppa_charge?: true
credit_code_id?: true
}
export type Invoice_bkCountAggregateInputType = {
id?: true
date_orig?: true
process_status?: true
billing_status?: true
refund_status?: true
print_status?: true
account_id?: true
total_amt?: true
billed_amt?: true
due_date?: true
notes?: true
template_message?: true
email_status?: true
working_order?: true
correction?: true
ppa_charge?: true
credit_code_id?: true
_all?: true
}
export type Invoice_bkAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which invoice_bk to aggregate.
*/
where?: Prisma.invoice_bkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of invoice_bks to fetch.
*/
orderBy?: Prisma.invoice_bkOrderByWithRelationInput | Prisma.invoice_bkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.invoice_bkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` invoice_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_bks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned invoice_bks
**/
_count?: true | Invoice_bkCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Invoice_bkAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Invoice_bkSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Invoice_bkMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Invoice_bkMaxAggregateInputType
}
export type GetInvoice_bkAggregateType<T extends Invoice_bkAggregateArgs> = {
[P in keyof T & keyof AggregateInvoice_bk]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateInvoice_bk[P]>
: Prisma.GetScalarType<T[P], AggregateInvoice_bk[P]>
}
export type invoice_bkGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.invoice_bkWhereInput
orderBy?: Prisma.invoice_bkOrderByWithAggregationInput | Prisma.invoice_bkOrderByWithAggregationInput[]
by: Prisma.Invoice_bkScalarFieldEnum[] | Prisma.Invoice_bkScalarFieldEnum
having?: Prisma.invoice_bkScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Invoice_bkCountAggregateInputType | true
_avg?: Invoice_bkAvgAggregateInputType
_sum?: Invoice_bkSumAggregateInputType
_min?: Invoice_bkMinAggregateInputType
_max?: Invoice_bkMaxAggregateInputType
}
export type Invoice_bkGroupByOutputType = {
id: bigint
date_orig: bigint | null
process_status: number | null
billing_status: number | null
refund_status: number | null
print_status: number | null
account_id: bigint | null
total_amt: number | null
billed_amt: number | null
due_date: bigint | null
notes: string | null
template_message: string | null
email_status: number | null
working_order: string | null
correction: number
ppa_charge: number
credit_code_id: number
_count: Invoice_bkCountAggregateOutputType | null
_avg: Invoice_bkAvgAggregateOutputType | null
_sum: Invoice_bkSumAggregateOutputType | null
_min: Invoice_bkMinAggregateOutputType | null
_max: Invoice_bkMaxAggregateOutputType | null
}
type GetInvoice_bkGroupByPayload<T extends invoice_bkGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Invoice_bkGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Invoice_bkGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Invoice_bkGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Invoice_bkGroupByOutputType[P]>
}
>
>
export type invoice_bkWhereInput = {
AND?: Prisma.invoice_bkWhereInput | Prisma.invoice_bkWhereInput[]
OR?: Prisma.invoice_bkWhereInput[]
NOT?: Prisma.invoice_bkWhereInput | Prisma.invoice_bkWhereInput[]
id?: Prisma.BigIntFilter<"invoice_bk"> | bigint | number
date_orig?: Prisma.BigIntNullableFilter<"invoice_bk"> | bigint | number | null
process_status?: Prisma.IntNullableFilter<"invoice_bk"> | number | null
billing_status?: Prisma.IntNullableFilter<"invoice_bk"> | number | null
refund_status?: Prisma.IntNullableFilter<"invoice_bk"> | number | null
print_status?: Prisma.IntNullableFilter<"invoice_bk"> | number | null
account_id?: Prisma.BigIntNullableFilter<"invoice_bk"> | bigint | number | null
total_amt?: Prisma.FloatNullableFilter<"invoice_bk"> | number | null
billed_amt?: Prisma.FloatNullableFilter<"invoice_bk"> | number | null
due_date?: Prisma.BigIntNullableFilter<"invoice_bk"> | bigint | number | null
notes?: Prisma.StringNullableFilter<"invoice_bk"> | string | null
template_message?: Prisma.StringNullableFilter<"invoice_bk"> | string | null
email_status?: Prisma.IntNullableFilter<"invoice_bk"> | number | null
working_order?: Prisma.StringNullableFilter<"invoice_bk"> | string | null
correction?: Prisma.IntFilter<"invoice_bk"> | number
ppa_charge?: Prisma.IntFilter<"invoice_bk"> | number
credit_code_id?: Prisma.IntFilter<"invoice_bk"> | number
}
export type invoice_bkOrderByWithRelationInput = {
id?: Prisma.SortOrder
date_orig?: Prisma.SortOrderInput | Prisma.SortOrder
process_status?: Prisma.SortOrderInput | Prisma.SortOrder
billing_status?: Prisma.SortOrderInput | Prisma.SortOrder
refund_status?: Prisma.SortOrderInput | Prisma.SortOrder
print_status?: Prisma.SortOrderInput | Prisma.SortOrder
account_id?: Prisma.SortOrderInput | Prisma.SortOrder
total_amt?: Prisma.SortOrderInput | Prisma.SortOrder
billed_amt?: Prisma.SortOrderInput | Prisma.SortOrder
due_date?: Prisma.SortOrderInput | Prisma.SortOrder
notes?: Prisma.SortOrderInput | Prisma.SortOrder
template_message?: Prisma.SortOrderInput | Prisma.SortOrder
email_status?: Prisma.SortOrderInput | Prisma.SortOrder
working_order?: Prisma.SortOrderInput | Prisma.SortOrder
correction?: Prisma.SortOrder
ppa_charge?: Prisma.SortOrder
credit_code_id?: Prisma.SortOrder
_relevance?: Prisma.invoice_bkOrderByRelevanceInput
}
export type invoice_bkWhereUniqueInput = Prisma.AtLeast<{
id?: bigint | number
AND?: Prisma.invoice_bkWhereInput | Prisma.invoice_bkWhereInput[]
OR?: Prisma.invoice_bkWhereInput[]
NOT?: Prisma.invoice_bkWhereInput | Prisma.invoice_bkWhereInput[]
date_orig?: Prisma.BigIntNullableFilter<"invoice_bk"> | bigint | number | null
process_status?: Prisma.IntNullableFilter<"invoice_bk"> | number | null
billing_status?: Prisma.IntNullableFilter<"invoice_bk"> | number | null
refund_status?: Prisma.IntNullableFilter<"invoice_bk"> | number | null
print_status?: Prisma.IntNullableFilter<"invoice_bk"> | number | null
account_id?: Prisma.BigIntNullableFilter<"invoice_bk"> | bigint | number | null
total_amt?: Prisma.FloatNullableFilter<"invoice_bk"> | number | null
billed_amt?: Prisma.FloatNullableFilter<"invoice_bk"> | number | null
due_date?: Prisma.BigIntNullableFilter<"invoice_bk"> | bigint | number | null
notes?: Prisma.StringNullableFilter<"invoice_bk"> | string | null
template_message?: Prisma.StringNullableFilter<"invoice_bk"> | string | null
email_status?: Prisma.IntNullableFilter<"invoice_bk"> | number | null
working_order?: Prisma.StringNullableFilter<"invoice_bk"> | string | null
correction?: Prisma.IntFilter<"invoice_bk"> | number
ppa_charge?: Prisma.IntFilter<"invoice_bk"> | number
credit_code_id?: Prisma.IntFilter<"invoice_bk"> | number
}, "id">
export type invoice_bkOrderByWithAggregationInput = {
id?: Prisma.SortOrder
date_orig?: Prisma.SortOrderInput | Prisma.SortOrder
process_status?: Prisma.SortOrderInput | Prisma.SortOrder
billing_status?: Prisma.SortOrderInput | Prisma.SortOrder
refund_status?: Prisma.SortOrderInput | Prisma.SortOrder
print_status?: Prisma.SortOrderInput | Prisma.SortOrder
account_id?: Prisma.SortOrderInput | Prisma.SortOrder
total_amt?: Prisma.SortOrderInput | Prisma.SortOrder
billed_amt?: Prisma.SortOrderInput | Prisma.SortOrder
due_date?: Prisma.SortOrderInput | Prisma.SortOrder
notes?: Prisma.SortOrderInput | Prisma.SortOrder
template_message?: Prisma.SortOrderInput | Prisma.SortOrder
email_status?: Prisma.SortOrderInput | Prisma.SortOrder
working_order?: Prisma.SortOrderInput | Prisma.SortOrder
correction?: Prisma.SortOrder
ppa_charge?: Prisma.SortOrder
credit_code_id?: Prisma.SortOrder
_count?: Prisma.invoice_bkCountOrderByAggregateInput
_avg?: Prisma.invoice_bkAvgOrderByAggregateInput
_max?: Prisma.invoice_bkMaxOrderByAggregateInput
_min?: Prisma.invoice_bkMinOrderByAggregateInput
_sum?: Prisma.invoice_bkSumOrderByAggregateInput
}
export type invoice_bkScalarWhereWithAggregatesInput = {
AND?: Prisma.invoice_bkScalarWhereWithAggregatesInput | Prisma.invoice_bkScalarWhereWithAggregatesInput[]
OR?: Prisma.invoice_bkScalarWhereWithAggregatesInput[]
NOT?: Prisma.invoice_bkScalarWhereWithAggregatesInput | Prisma.invoice_bkScalarWhereWithAggregatesInput[]
id?: Prisma.BigIntWithAggregatesFilter<"invoice_bk"> | bigint | number
date_orig?: Prisma.BigIntNullableWithAggregatesFilter<"invoice_bk"> | bigint | number | null
process_status?: Prisma.IntNullableWithAggregatesFilter<"invoice_bk"> | number | null
billing_status?: Prisma.IntNullableWithAggregatesFilter<"invoice_bk"> | number | null
refund_status?: Prisma.IntNullableWithAggregatesFilter<"invoice_bk"> | number | null
print_status?: Prisma.IntNullableWithAggregatesFilter<"invoice_bk"> | number | null
account_id?: Prisma.BigIntNullableWithAggregatesFilter<"invoice_bk"> | bigint | number | null
total_amt?: Prisma.FloatNullableWithAggregatesFilter<"invoice_bk"> | number | null
billed_amt?: Prisma.FloatNullableWithAggregatesFilter<"invoice_bk"> | number | null
due_date?: Prisma.BigIntNullableWithAggregatesFilter<"invoice_bk"> | bigint | number | null
notes?: Prisma.StringNullableWithAggregatesFilter<"invoice_bk"> | string | null
template_message?: Prisma.StringNullableWithAggregatesFilter<"invoice_bk"> | string | null
email_status?: Prisma.IntNullableWithAggregatesFilter<"invoice_bk"> | number | null
working_order?: Prisma.StringNullableWithAggregatesFilter<"invoice_bk"> | string | null
correction?: Prisma.IntWithAggregatesFilter<"invoice_bk"> | number
ppa_charge?: Prisma.IntWithAggregatesFilter<"invoice_bk"> | number
credit_code_id?: Prisma.IntWithAggregatesFilter<"invoice_bk"> | number
}
export type invoice_bkCreateInput = {
id?: bigint | number
date_orig?: bigint | number | null
process_status?: number | null
billing_status?: number | null
refund_status?: number | null
print_status?: number | null
account_id?: bigint | number | null
total_amt?: number | null
billed_amt?: number | null
due_date?: bigint | number | null
notes?: string | null
template_message?: string | null
email_status?: number | null
working_order?: string | null
correction?: number
ppa_charge?: number
credit_code_id?: number
}
export type invoice_bkUncheckedCreateInput = {
id?: bigint | number
date_orig?: bigint | number | null
process_status?: number | null
billing_status?: number | null
refund_status?: number | null
print_status?: number | null
account_id?: bigint | number | null
total_amt?: number | null
billed_amt?: number | null
due_date?: bigint | number | null
notes?: string | null
template_message?: string | null
email_status?: number | null
working_order?: string | null
correction?: number
ppa_charge?: number
credit_code_id?: number
}
export type invoice_bkUpdateInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
process_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
billing_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
refund_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
print_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
total_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
billed_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
due_date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
template_message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
working_order?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
correction?: Prisma.IntFieldUpdateOperationsInput | number
ppa_charge?: Prisma.IntFieldUpdateOperationsInput | number
credit_code_id?: Prisma.IntFieldUpdateOperationsInput | number
}
export type invoice_bkUncheckedUpdateInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
process_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
billing_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
refund_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
print_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
total_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
billed_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
due_date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
template_message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
working_order?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
correction?: Prisma.IntFieldUpdateOperationsInput | number
ppa_charge?: Prisma.IntFieldUpdateOperationsInput | number
credit_code_id?: Prisma.IntFieldUpdateOperationsInput | number
}
export type invoice_bkCreateManyInput = {
id?: bigint | number
date_orig?: bigint | number | null
process_status?: number | null
billing_status?: number | null
refund_status?: number | null
print_status?: number | null
account_id?: bigint | number | null
total_amt?: number | null
billed_amt?: number | null
due_date?: bigint | number | null
notes?: string | null
template_message?: string | null
email_status?: number | null
working_order?: string | null
correction?: number
ppa_charge?: number
credit_code_id?: number
}
export type invoice_bkUpdateManyMutationInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
process_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
billing_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
refund_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
print_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
total_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
billed_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
due_date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
template_message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
working_order?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
correction?: Prisma.IntFieldUpdateOperationsInput | number
ppa_charge?: Prisma.IntFieldUpdateOperationsInput | number
credit_code_id?: Prisma.IntFieldUpdateOperationsInput | number
}
export type invoice_bkUncheckedUpdateManyInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
process_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
billing_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
refund_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
print_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
total_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
billed_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
due_date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
template_message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email_status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
working_order?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
correction?: Prisma.IntFieldUpdateOperationsInput | number
ppa_charge?: Prisma.IntFieldUpdateOperationsInput | number
credit_code_id?: Prisma.IntFieldUpdateOperationsInput | number
}
export type invoice_bkOrderByRelevanceInput = {
fields: Prisma.invoice_bkOrderByRelevanceFieldEnum | Prisma.invoice_bkOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type invoice_bkCountOrderByAggregateInput = {
id?: Prisma.SortOrder
date_orig?: Prisma.SortOrder
process_status?: Prisma.SortOrder
billing_status?: Prisma.SortOrder
refund_status?: Prisma.SortOrder
print_status?: Prisma.SortOrder
account_id?: Prisma.SortOrder
total_amt?: Prisma.SortOrder
billed_amt?: Prisma.SortOrder
due_date?: Prisma.SortOrder
notes?: Prisma.SortOrder
template_message?: Prisma.SortOrder
email_status?: Prisma.SortOrder
working_order?: Prisma.SortOrder
correction?: Prisma.SortOrder
ppa_charge?: Prisma.SortOrder
credit_code_id?: Prisma.SortOrder
}
export type invoice_bkAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
date_orig?: Prisma.SortOrder
process_status?: Prisma.SortOrder
billing_status?: Prisma.SortOrder
refund_status?: Prisma.SortOrder
print_status?: Prisma.SortOrder
account_id?: Prisma.SortOrder
total_amt?: Prisma.SortOrder
billed_amt?: Prisma.SortOrder
due_date?: Prisma.SortOrder
email_status?: Prisma.SortOrder
correction?: Prisma.SortOrder
ppa_charge?: Prisma.SortOrder
credit_code_id?: Prisma.SortOrder
}
export type invoice_bkMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
date_orig?: Prisma.SortOrder
process_status?: Prisma.SortOrder
billing_status?: Prisma.SortOrder
refund_status?: Prisma.SortOrder
print_status?: Prisma.SortOrder
account_id?: Prisma.SortOrder
total_amt?: Prisma.SortOrder
billed_amt?: Prisma.SortOrder
due_date?: Prisma.SortOrder
notes?: Prisma.SortOrder
template_message?: Prisma.SortOrder
email_status?: Prisma.SortOrder
working_order?: Prisma.SortOrder
correction?: Prisma.SortOrder
ppa_charge?: Prisma.SortOrder
credit_code_id?: Prisma.SortOrder
}
export type invoice_bkMinOrderByAggregateInput = {
id?: Prisma.SortOrder
date_orig?: Prisma.SortOrder
process_status?: Prisma.SortOrder
billing_status?: Prisma.SortOrder
refund_status?: Prisma.SortOrder
print_status?: Prisma.SortOrder
account_id?: Prisma.SortOrder
total_amt?: Prisma.SortOrder
billed_amt?: Prisma.SortOrder
due_date?: Prisma.SortOrder
notes?: Prisma.SortOrder
template_message?: Prisma.SortOrder
email_status?: Prisma.SortOrder
working_order?: Prisma.SortOrder
correction?: Prisma.SortOrder
ppa_charge?: Prisma.SortOrder
credit_code_id?: Prisma.SortOrder
}
export type invoice_bkSumOrderByAggregateInput = {
id?: Prisma.SortOrder
date_orig?: Prisma.SortOrder
process_status?: Prisma.SortOrder
billing_status?: Prisma.SortOrder
refund_status?: Prisma.SortOrder
print_status?: Prisma.SortOrder
account_id?: Prisma.SortOrder
total_amt?: Prisma.SortOrder
billed_amt?: Prisma.SortOrder
due_date?: Prisma.SortOrder
email_status?: Prisma.SortOrder
correction?: Prisma.SortOrder
ppa_charge?: Prisma.SortOrder
credit_code_id?: Prisma.SortOrder
}
export type invoice_bkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
date_orig?: boolean
process_status?: boolean
billing_status?: boolean
refund_status?: boolean
print_status?: boolean
account_id?: boolean
total_amt?: boolean
billed_amt?: boolean
due_date?: boolean
notes?: boolean
template_message?: boolean
email_status?: boolean
working_order?: boolean
correction?: boolean
ppa_charge?: boolean
credit_code_id?: boolean
}, ExtArgs["result"]["invoice_bk"]>
export type invoice_bkSelectScalar = {
id?: boolean
date_orig?: boolean
process_status?: boolean
billing_status?: boolean
refund_status?: boolean
print_status?: boolean
account_id?: boolean
total_amt?: boolean
billed_amt?: boolean
due_date?: boolean
notes?: boolean
template_message?: boolean
email_status?: boolean
working_order?: boolean
correction?: boolean
ppa_charge?: boolean
credit_code_id?: boolean
}
export type invoice_bkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "date_orig" | "process_status" | "billing_status" | "refund_status" | "print_status" | "account_id" | "total_amt" | "billed_amt" | "due_date" | "notes" | "template_message" | "email_status" | "working_order" | "correction" | "ppa_charge" | "credit_code_id", ExtArgs["result"]["invoice_bk"]>
export type $invoice_bkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "invoice_bk"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: bigint
date_orig: bigint | null
process_status: number | null
billing_status: number | null
refund_status: number | null
print_status: number | null
account_id: bigint | null
total_amt: number | null
billed_amt: number | null
due_date: bigint | null
notes: string | null
template_message: string | null
email_status: number | null
working_order: string | null
correction: number
ppa_charge: number
credit_code_id: number
}, ExtArgs["result"]["invoice_bk"]>
composites: {}
}
export type invoice_bkGetPayload<S extends boolean | null | undefined | invoice_bkDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$invoice_bkPayload, S>
export type invoice_bkCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<invoice_bkFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Invoice_bkCountAggregateInputType | true
}
export interface invoice_bkDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['invoice_bk'], meta: { name: 'invoice_bk' } }
/**
* Find zero or one Invoice_bk that matches the filter.
* @param {invoice_bkFindUniqueArgs} args - Arguments to find a Invoice_bk
* @example
* // Get one Invoice_bk
* const invoice_bk = await prisma.invoice_bk.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends invoice_bkFindUniqueArgs>(args: Prisma.SelectSubset<T, invoice_bkFindUniqueArgs<ExtArgs>>): Prisma.Prisma__invoice_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_bkPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Invoice_bk that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {invoice_bkFindUniqueOrThrowArgs} args - Arguments to find a Invoice_bk
* @example
* // Get one Invoice_bk
* const invoice_bk = await prisma.invoice_bk.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends invoice_bkFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, invoice_bkFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__invoice_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_bkPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Invoice_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_bkFindFirstArgs} args - Arguments to find a Invoice_bk
* @example
* // Get one Invoice_bk
* const invoice_bk = await prisma.invoice_bk.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends invoice_bkFindFirstArgs>(args?: Prisma.SelectSubset<T, invoice_bkFindFirstArgs<ExtArgs>>): Prisma.Prisma__invoice_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_bkPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Invoice_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_bkFindFirstOrThrowArgs} args - Arguments to find a Invoice_bk
* @example
* // Get one Invoice_bk
* const invoice_bk = await prisma.invoice_bk.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends invoice_bkFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, invoice_bkFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__invoice_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_bkPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Invoice_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_bkFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Invoice_bks
* const invoice_bks = await prisma.invoice_bk.findMany()
*
* // Get first 10 Invoice_bks
* const invoice_bks = await prisma.invoice_bk.findMany({ take: 10 })
*
* // Only select the `id`
* const invoice_bkWithIdOnly = await prisma.invoice_bk.findMany({ select: { id: true } })
*
*/
findMany<T extends invoice_bkFindManyArgs>(args?: Prisma.SelectSubset<T, invoice_bkFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$invoice_bkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Invoice_bk.
* @param {invoice_bkCreateArgs} args - Arguments to create a Invoice_bk.
* @example
* // Create one Invoice_bk
* const Invoice_bk = await prisma.invoice_bk.create({
* data: {
* // ... data to create a Invoice_bk
* }
* })
*
*/
create<T extends invoice_bkCreateArgs>(args: Prisma.SelectSubset<T, invoice_bkCreateArgs<ExtArgs>>): Prisma.Prisma__invoice_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_bkPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Invoice_bks.
* @param {invoice_bkCreateManyArgs} args - Arguments to create many Invoice_bks.
* @example
* // Create many Invoice_bks
* const invoice_bk = await prisma.invoice_bk.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends invoice_bkCreateManyArgs>(args?: Prisma.SelectSubset<T, invoice_bkCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Invoice_bk.
* @param {invoice_bkDeleteArgs} args - Arguments to delete one Invoice_bk.
* @example
* // Delete one Invoice_bk
* const Invoice_bk = await prisma.invoice_bk.delete({
* where: {
* // ... filter to delete one Invoice_bk
* }
* })
*
*/
delete<T extends invoice_bkDeleteArgs>(args: Prisma.SelectSubset<T, invoice_bkDeleteArgs<ExtArgs>>): Prisma.Prisma__invoice_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_bkPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Invoice_bk.
* @param {invoice_bkUpdateArgs} args - Arguments to update one Invoice_bk.
* @example
* // Update one Invoice_bk
* const invoice_bk = await prisma.invoice_bk.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends invoice_bkUpdateArgs>(args: Prisma.SelectSubset<T, invoice_bkUpdateArgs<ExtArgs>>): Prisma.Prisma__invoice_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_bkPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Invoice_bks.
* @param {invoice_bkDeleteManyArgs} args - Arguments to filter Invoice_bks to delete.
* @example
* // Delete a few Invoice_bks
* const { count } = await prisma.invoice_bk.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends invoice_bkDeleteManyArgs>(args?: Prisma.SelectSubset<T, invoice_bkDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Invoice_bks.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {invoice_bkUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Invoice_bks
* const invoice_bk = await prisma.invoice_bk.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends invoice_bkUpdateManyArgs>(args: Prisma.SelectSubset<T, invoice_bkUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Invoice_bk.
* @param {invoice_bkUpsertArgs} args - Arguments to update or create a Invoice_bk.
* @example
* // Update or create a Invoice_bk
* const invoice_bk = await prisma.invoice_bk.upsert({
* create: {
* // ... data to create a Invoice_bk
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Invoice_bk we want to update
* }
* })
*/
upsert<T extends invoice_bkUpsertArgs>(args: Prisma.SelectSubset<T, invoice_bkUpsertArgs<ExtArgs>>): Prisma.Prisma__invoice_bkClient<runtime.Types.Result.GetResult<Prisma.$invoice_bkPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Invoice_bks.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {invoice_bkCountArgs} args - Arguments to filter Invoice_bks to count.
* @example
* // Count the number of Invoice_bks
* const count = await prisma.invoice_bk.count({
* where: {
* // ... the filter for the Invoice_bks we want to count
* }
* })
**/
count<T extends invoice_bkCountArgs>(
args?: Prisma.Subset<T, invoice_bkCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Invoice_bkCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Invoice_bk.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Invoice_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_bkAggregateArgs>(args: Prisma.Subset<T, Invoice_bkAggregateArgs>): Prisma.PrismaPromise<GetInvoice_bkAggregateType<T>>
/**
* Group by Invoice_bk.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {invoice_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_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_bkGroupByArgs['orderBy'] }
: { orderBy?: invoice_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_bkGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInvoice_bkGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the invoice_bk model
*/
readonly fields: invoice_bkFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for invoice_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_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_bk model
*/
export interface invoice_bkFieldRefs {
readonly id: Prisma.FieldRef<"invoice_bk", 'BigInt'>
readonly date_orig: Prisma.FieldRef<"invoice_bk", 'BigInt'>
readonly process_status: Prisma.FieldRef<"invoice_bk", 'Int'>
readonly billing_status: Prisma.FieldRef<"invoice_bk", 'Int'>
readonly refund_status: Prisma.FieldRef<"invoice_bk", 'Int'>
readonly print_status: Prisma.FieldRef<"invoice_bk", 'Int'>
readonly account_id: Prisma.FieldRef<"invoice_bk", 'BigInt'>
readonly total_amt: Prisma.FieldRef<"invoice_bk", 'Float'>
readonly billed_amt: Prisma.FieldRef<"invoice_bk", 'Float'>
readonly due_date: Prisma.FieldRef<"invoice_bk", 'BigInt'>
readonly notes: Prisma.FieldRef<"invoice_bk", 'String'>
readonly template_message: Prisma.FieldRef<"invoice_bk", 'String'>
readonly email_status: Prisma.FieldRef<"invoice_bk", 'Int'>
readonly working_order: Prisma.FieldRef<"invoice_bk", 'String'>
readonly correction: Prisma.FieldRef<"invoice_bk", 'Int'>
readonly ppa_charge: Prisma.FieldRef<"invoice_bk", 'Int'>
readonly credit_code_id: Prisma.FieldRef<"invoice_bk", 'Int'>
}
// Custom InputTypes
/**
* invoice_bk findUnique
*/
export type invoice_bkFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_bk
*/
select?: Prisma.invoice_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_bk
*/
omit?: Prisma.invoice_bkOmit<ExtArgs> | null
/**
* Filter, which invoice_bk to fetch.
*/
where: Prisma.invoice_bkWhereUniqueInput
}
/**
* invoice_bk findUniqueOrThrow
*/
export type invoice_bkFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_bk
*/
select?: Prisma.invoice_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_bk
*/
omit?: Prisma.invoice_bkOmit<ExtArgs> | null
/**
* Filter, which invoice_bk to fetch.
*/
where: Prisma.invoice_bkWhereUniqueInput
}
/**
* invoice_bk findFirst
*/
export type invoice_bkFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_bk
*/
select?: Prisma.invoice_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_bk
*/
omit?: Prisma.invoice_bkOmit<ExtArgs> | null
/**
* Filter, which invoice_bk to fetch.
*/
where?: Prisma.invoice_bkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of invoice_bks to fetch.
*/
orderBy?: Prisma.invoice_bkOrderByWithRelationInput | Prisma.invoice_bkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for invoice_bks.
*/
cursor?: Prisma.invoice_bkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` invoice_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_bks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of invoice_bks.
*/
distinct?: Prisma.Invoice_bkScalarFieldEnum | Prisma.Invoice_bkScalarFieldEnum[]
}
/**
* invoice_bk findFirstOrThrow
*/
export type invoice_bkFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_bk
*/
select?: Prisma.invoice_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_bk
*/
omit?: Prisma.invoice_bkOmit<ExtArgs> | null
/**
* Filter, which invoice_bk to fetch.
*/
where?: Prisma.invoice_bkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of invoice_bks to fetch.
*/
orderBy?: Prisma.invoice_bkOrderByWithRelationInput | Prisma.invoice_bkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for invoice_bks.
*/
cursor?: Prisma.invoice_bkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` invoice_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_bks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of invoice_bks.
*/
distinct?: Prisma.Invoice_bkScalarFieldEnum | Prisma.Invoice_bkScalarFieldEnum[]
}
/**
* invoice_bk findMany
*/
export type invoice_bkFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_bk
*/
select?: Prisma.invoice_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_bk
*/
omit?: Prisma.invoice_bkOmit<ExtArgs> | null
/**
* Filter, which invoice_bks to fetch.
*/
where?: Prisma.invoice_bkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of invoice_bks to fetch.
*/
orderBy?: Prisma.invoice_bkOrderByWithRelationInput | Prisma.invoice_bkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing invoice_bks.
*/
cursor?: Prisma.invoice_bkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` invoice_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_bks.
*/
skip?: number
distinct?: Prisma.Invoice_bkScalarFieldEnum | Prisma.Invoice_bkScalarFieldEnum[]
}
/**
* invoice_bk create
*/
export type invoice_bkCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_bk
*/
select?: Prisma.invoice_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_bk
*/
omit?: Prisma.invoice_bkOmit<ExtArgs> | null
/**
* The data needed to create a invoice_bk.
*/
data?: Prisma.XOR<Prisma.invoice_bkCreateInput, Prisma.invoice_bkUncheckedCreateInput>
}
/**
* invoice_bk createMany
*/
export type invoice_bkCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many invoice_bks.
*/
data: Prisma.invoice_bkCreateManyInput | Prisma.invoice_bkCreateManyInput[]
skipDuplicates?: boolean
}
/**
* invoice_bk update
*/
export type invoice_bkUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_bk
*/
select?: Prisma.invoice_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_bk
*/
omit?: Prisma.invoice_bkOmit<ExtArgs> | null
/**
* The data needed to update a invoice_bk.
*/
data: Prisma.XOR<Prisma.invoice_bkUpdateInput, Prisma.invoice_bkUncheckedUpdateInput>
/**
* Choose, which invoice_bk to update.
*/
where: Prisma.invoice_bkWhereUniqueInput
}
/**
* invoice_bk updateMany
*/
export type invoice_bkUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update invoice_bks.
*/
data: Prisma.XOR<Prisma.invoice_bkUpdateManyMutationInput, Prisma.invoice_bkUncheckedUpdateManyInput>
/**
* Filter which invoice_bks to update
*/
where?: Prisma.invoice_bkWhereInput
/**
* Limit how many invoice_bks to update.
*/
limit?: number
}
/**
* invoice_bk upsert
*/
export type invoice_bkUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_bk
*/
select?: Prisma.invoice_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_bk
*/
omit?: Prisma.invoice_bkOmit<ExtArgs> | null
/**
* The filter to search for the invoice_bk to update in case it exists.
*/
where: Prisma.invoice_bkWhereUniqueInput
/**
* In case the invoice_bk found by the `where` argument doesn't exist, create a new invoice_bk with this data.
*/
create: Prisma.XOR<Prisma.invoice_bkCreateInput, Prisma.invoice_bkUncheckedCreateInput>
/**
* In case the invoice_bk was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.invoice_bkUpdateInput, Prisma.invoice_bkUncheckedUpdateInput>
}
/**
* invoice_bk delete
*/
export type invoice_bkDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_bk
*/
select?: Prisma.invoice_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_bk
*/
omit?: Prisma.invoice_bkOmit<ExtArgs> | null
/**
* Filter which invoice_bk to delete.
*/
where: Prisma.invoice_bkWhereUniqueInput
}
/**
* invoice_bk deleteMany
*/
export type invoice_bkDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which invoice_bks to delete
*/
where?: Prisma.invoice_bkWhereInput
/**
* Limit how many invoice_bks to delete.
*/
limit?: number
}
/**
* invoice_bk without action
*/
export type invoice_bkDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the invoice_bk
*/
select?: Prisma.invoice_bkSelect<ExtArgs> | null
/**
* Omit specific fields from the invoice_bk
*/
omit?: Prisma.invoice_bkOmit<ExtArgs> | null
}