1248 lines
44 KiB
TypeScript
1248 lines
44 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 `td_payable` 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 td_payable
|
|
*
|
|
*/
|
|
export type td_payableModel = runtime.Types.Result.DefaultSelection<Prisma.$td_payablePayload>
|
|
|
|
export type AggregateTd_payable = {
|
|
_count: Td_payableCountAggregateOutputType | null
|
|
_avg: Td_payableAvgAggregateOutputType | null
|
|
_sum: Td_payableSumAggregateOutputType | null
|
|
_min: Td_payableMinAggregateOutputType | null
|
|
_max: Td_payableMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Td_payableAvgAggregateOutputType = {
|
|
id: number | null
|
|
ticket_id: number | null
|
|
montant: runtime.Decimal | null
|
|
}
|
|
|
|
export type Td_payableSumAggregateOutputType = {
|
|
id: number | null
|
|
ticket_id: number | null
|
|
montant: runtime.Decimal | null
|
|
}
|
|
|
|
export type Td_payableMinAggregateOutputType = {
|
|
id: number | null
|
|
ticket_id: number | null
|
|
invoice: string | null
|
|
date_invoice: string | null
|
|
fournisseur: string | null
|
|
montant: runtime.Decimal | null
|
|
devise: string | null
|
|
methode: string | null
|
|
reference: string | null
|
|
date_paiement: string | null
|
|
releve: string | null
|
|
}
|
|
|
|
export type Td_payableMaxAggregateOutputType = {
|
|
id: number | null
|
|
ticket_id: number | null
|
|
invoice: string | null
|
|
date_invoice: string | null
|
|
fournisseur: string | null
|
|
montant: runtime.Decimal | null
|
|
devise: string | null
|
|
methode: string | null
|
|
reference: string | null
|
|
date_paiement: string | null
|
|
releve: string | null
|
|
}
|
|
|
|
export type Td_payableCountAggregateOutputType = {
|
|
id: number
|
|
ticket_id: number
|
|
invoice: number
|
|
date_invoice: number
|
|
fournisseur: number
|
|
montant: number
|
|
devise: number
|
|
methode: number
|
|
reference: number
|
|
date_paiement: number
|
|
releve: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Td_payableAvgAggregateInputType = {
|
|
id?: true
|
|
ticket_id?: true
|
|
montant?: true
|
|
}
|
|
|
|
export type Td_payableSumAggregateInputType = {
|
|
id?: true
|
|
ticket_id?: true
|
|
montant?: true
|
|
}
|
|
|
|
export type Td_payableMinAggregateInputType = {
|
|
id?: true
|
|
ticket_id?: true
|
|
invoice?: true
|
|
date_invoice?: true
|
|
fournisseur?: true
|
|
montant?: true
|
|
devise?: true
|
|
methode?: true
|
|
reference?: true
|
|
date_paiement?: true
|
|
releve?: true
|
|
}
|
|
|
|
export type Td_payableMaxAggregateInputType = {
|
|
id?: true
|
|
ticket_id?: true
|
|
invoice?: true
|
|
date_invoice?: true
|
|
fournisseur?: true
|
|
montant?: true
|
|
devise?: true
|
|
methode?: true
|
|
reference?: true
|
|
date_paiement?: true
|
|
releve?: true
|
|
}
|
|
|
|
export type Td_payableCountAggregateInputType = {
|
|
id?: true
|
|
ticket_id?: true
|
|
invoice?: true
|
|
date_invoice?: true
|
|
fournisseur?: true
|
|
montant?: true
|
|
devise?: true
|
|
methode?: true
|
|
reference?: true
|
|
date_paiement?: true
|
|
releve?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Td_payableAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which td_payable to aggregate.
|
|
*/
|
|
where?: Prisma.td_payableWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of td_payables to fetch.
|
|
*/
|
|
orderBy?: Prisma.td_payableOrderByWithRelationInput | Prisma.td_payableOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.td_payableWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` td_payables 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` td_payables.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned td_payables
|
|
**/
|
|
_count?: true | Td_payableCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Td_payableAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Td_payableSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Td_payableMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Td_payableMaxAggregateInputType
|
|
}
|
|
|
|
export type GetTd_payableAggregateType<T extends Td_payableAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTd_payable]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateTd_payable[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateTd_payable[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type td_payableGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.td_payableWhereInput
|
|
orderBy?: Prisma.td_payableOrderByWithAggregationInput | Prisma.td_payableOrderByWithAggregationInput[]
|
|
by: Prisma.Td_payableScalarFieldEnum[] | Prisma.Td_payableScalarFieldEnum
|
|
having?: Prisma.td_payableScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Td_payableCountAggregateInputType | true
|
|
_avg?: Td_payableAvgAggregateInputType
|
|
_sum?: Td_payableSumAggregateInputType
|
|
_min?: Td_payableMinAggregateInputType
|
|
_max?: Td_payableMaxAggregateInputType
|
|
}
|
|
|
|
export type Td_payableGroupByOutputType = {
|
|
id: number
|
|
ticket_id: number
|
|
invoice: string
|
|
date_invoice: string
|
|
fournisseur: string | null
|
|
montant: runtime.Decimal
|
|
devise: string
|
|
methode: string | null
|
|
reference: string | null
|
|
date_paiement: string | null
|
|
releve: string | null
|
|
_count: Td_payableCountAggregateOutputType | null
|
|
_avg: Td_payableAvgAggregateOutputType | null
|
|
_sum: Td_payableSumAggregateOutputType | null
|
|
_min: Td_payableMinAggregateOutputType | null
|
|
_max: Td_payableMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetTd_payableGroupByPayload<T extends td_payableGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Td_payableGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Td_payableGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Td_payableGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Td_payableGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type td_payableWhereInput = {
|
|
AND?: Prisma.td_payableWhereInput | Prisma.td_payableWhereInput[]
|
|
OR?: Prisma.td_payableWhereInput[]
|
|
NOT?: Prisma.td_payableWhereInput | Prisma.td_payableWhereInput[]
|
|
id?: Prisma.IntFilter<"td_payable"> | number
|
|
ticket_id?: Prisma.IntFilter<"td_payable"> | number
|
|
invoice?: Prisma.StringFilter<"td_payable"> | string
|
|
date_invoice?: Prisma.StringFilter<"td_payable"> | string
|
|
fournisseur?: Prisma.StringNullableFilter<"td_payable"> | string | null
|
|
montant?: Prisma.DecimalFilter<"td_payable"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
devise?: Prisma.StringFilter<"td_payable"> | string
|
|
methode?: Prisma.StringNullableFilter<"td_payable"> | string | null
|
|
reference?: Prisma.StringNullableFilter<"td_payable"> | string | null
|
|
date_paiement?: Prisma.StringNullableFilter<"td_payable"> | string | null
|
|
releve?: Prisma.StringNullableFilter<"td_payable"> | string | null
|
|
}
|
|
|
|
export type td_payableOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
invoice?: Prisma.SortOrder
|
|
date_invoice?: Prisma.SortOrder
|
|
fournisseur?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
montant?: Prisma.SortOrder
|
|
devise?: Prisma.SortOrder
|
|
methode?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
reference?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
date_paiement?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
releve?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_relevance?: Prisma.td_payableOrderByRelevanceInput
|
|
}
|
|
|
|
export type td_payableWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
AND?: Prisma.td_payableWhereInput | Prisma.td_payableWhereInput[]
|
|
OR?: Prisma.td_payableWhereInput[]
|
|
NOT?: Prisma.td_payableWhereInput | Prisma.td_payableWhereInput[]
|
|
ticket_id?: Prisma.IntFilter<"td_payable"> | number
|
|
invoice?: Prisma.StringFilter<"td_payable"> | string
|
|
date_invoice?: Prisma.StringFilter<"td_payable"> | string
|
|
fournisseur?: Prisma.StringNullableFilter<"td_payable"> | string | null
|
|
montant?: Prisma.DecimalFilter<"td_payable"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
devise?: Prisma.StringFilter<"td_payable"> | string
|
|
methode?: Prisma.StringNullableFilter<"td_payable"> | string | null
|
|
reference?: Prisma.StringNullableFilter<"td_payable"> | string | null
|
|
date_paiement?: Prisma.StringNullableFilter<"td_payable"> | string | null
|
|
releve?: Prisma.StringNullableFilter<"td_payable"> | string | null
|
|
}, "id">
|
|
|
|
export type td_payableOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
invoice?: Prisma.SortOrder
|
|
date_invoice?: Prisma.SortOrder
|
|
fournisseur?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
montant?: Prisma.SortOrder
|
|
devise?: Prisma.SortOrder
|
|
methode?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
reference?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
date_paiement?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
releve?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.td_payableCountOrderByAggregateInput
|
|
_avg?: Prisma.td_payableAvgOrderByAggregateInput
|
|
_max?: Prisma.td_payableMaxOrderByAggregateInput
|
|
_min?: Prisma.td_payableMinOrderByAggregateInput
|
|
_sum?: Prisma.td_payableSumOrderByAggregateInput
|
|
}
|
|
|
|
export type td_payableScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.td_payableScalarWhereWithAggregatesInput | Prisma.td_payableScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.td_payableScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.td_payableScalarWhereWithAggregatesInput | Prisma.td_payableScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"td_payable"> | number
|
|
ticket_id?: Prisma.IntWithAggregatesFilter<"td_payable"> | number
|
|
invoice?: Prisma.StringWithAggregatesFilter<"td_payable"> | string
|
|
date_invoice?: Prisma.StringWithAggregatesFilter<"td_payable"> | string
|
|
fournisseur?: Prisma.StringNullableWithAggregatesFilter<"td_payable"> | string | null
|
|
montant?: Prisma.DecimalWithAggregatesFilter<"td_payable"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
devise?: Prisma.StringWithAggregatesFilter<"td_payable"> | string
|
|
methode?: Prisma.StringNullableWithAggregatesFilter<"td_payable"> | string | null
|
|
reference?: Prisma.StringNullableWithAggregatesFilter<"td_payable"> | string | null
|
|
date_paiement?: Prisma.StringNullableWithAggregatesFilter<"td_payable"> | string | null
|
|
releve?: Prisma.StringNullableWithAggregatesFilter<"td_payable"> | string | null
|
|
}
|
|
|
|
export type td_payableCreateInput = {
|
|
ticket_id?: number
|
|
invoice?: string
|
|
date_invoice: string
|
|
fournisseur?: string | null
|
|
montant?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
devise?: string
|
|
methode?: string | null
|
|
reference?: string | null
|
|
date_paiement?: string | null
|
|
releve?: string | null
|
|
}
|
|
|
|
export type td_payableUncheckedCreateInput = {
|
|
id?: number
|
|
ticket_id?: number
|
|
invoice?: string
|
|
date_invoice: string
|
|
fournisseur?: string | null
|
|
montant?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
devise?: string
|
|
methode?: string | null
|
|
reference?: string | null
|
|
date_paiement?: string | null
|
|
releve?: string | null
|
|
}
|
|
|
|
export type td_payableUpdateInput = {
|
|
ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
invoice?: Prisma.StringFieldUpdateOperationsInput | string
|
|
date_invoice?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fournisseur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
montant?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
devise?: Prisma.StringFieldUpdateOperationsInput | string
|
|
methode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_paiement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
releve?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type td_payableUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
invoice?: Prisma.StringFieldUpdateOperationsInput | string
|
|
date_invoice?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fournisseur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
montant?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
devise?: Prisma.StringFieldUpdateOperationsInput | string
|
|
methode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_paiement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
releve?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type td_payableCreateManyInput = {
|
|
id?: number
|
|
ticket_id?: number
|
|
invoice?: string
|
|
date_invoice: string
|
|
fournisseur?: string | null
|
|
montant?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
devise?: string
|
|
methode?: string | null
|
|
reference?: string | null
|
|
date_paiement?: string | null
|
|
releve?: string | null
|
|
}
|
|
|
|
export type td_payableUpdateManyMutationInput = {
|
|
ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
invoice?: Prisma.StringFieldUpdateOperationsInput | string
|
|
date_invoice?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fournisseur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
montant?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
devise?: Prisma.StringFieldUpdateOperationsInput | string
|
|
methode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_paiement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
releve?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type td_payableUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
invoice?: Prisma.StringFieldUpdateOperationsInput | string
|
|
date_invoice?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fournisseur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
montant?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
devise?: Prisma.StringFieldUpdateOperationsInput | string
|
|
methode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_paiement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
releve?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type td_payableOrderByRelevanceInput = {
|
|
fields: Prisma.td_payableOrderByRelevanceFieldEnum | Prisma.td_payableOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type td_payableCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
invoice?: Prisma.SortOrder
|
|
date_invoice?: Prisma.SortOrder
|
|
fournisseur?: Prisma.SortOrder
|
|
montant?: Prisma.SortOrder
|
|
devise?: Prisma.SortOrder
|
|
methode?: Prisma.SortOrder
|
|
reference?: Prisma.SortOrder
|
|
date_paiement?: Prisma.SortOrder
|
|
releve?: Prisma.SortOrder
|
|
}
|
|
|
|
export type td_payableAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
montant?: Prisma.SortOrder
|
|
}
|
|
|
|
export type td_payableMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
invoice?: Prisma.SortOrder
|
|
date_invoice?: Prisma.SortOrder
|
|
fournisseur?: Prisma.SortOrder
|
|
montant?: Prisma.SortOrder
|
|
devise?: Prisma.SortOrder
|
|
methode?: Prisma.SortOrder
|
|
reference?: Prisma.SortOrder
|
|
date_paiement?: Prisma.SortOrder
|
|
releve?: Prisma.SortOrder
|
|
}
|
|
|
|
export type td_payableMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
invoice?: Prisma.SortOrder
|
|
date_invoice?: Prisma.SortOrder
|
|
fournisseur?: Prisma.SortOrder
|
|
montant?: Prisma.SortOrder
|
|
devise?: Prisma.SortOrder
|
|
methode?: Prisma.SortOrder
|
|
reference?: Prisma.SortOrder
|
|
date_paiement?: Prisma.SortOrder
|
|
releve?: Prisma.SortOrder
|
|
}
|
|
|
|
export type td_payableSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
montant?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type td_payableSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
ticket_id?: boolean
|
|
invoice?: boolean
|
|
date_invoice?: boolean
|
|
fournisseur?: boolean
|
|
montant?: boolean
|
|
devise?: boolean
|
|
methode?: boolean
|
|
reference?: boolean
|
|
date_paiement?: boolean
|
|
releve?: boolean
|
|
}, ExtArgs["result"]["td_payable"]>
|
|
|
|
|
|
|
|
export type td_payableSelectScalar = {
|
|
id?: boolean
|
|
ticket_id?: boolean
|
|
invoice?: boolean
|
|
date_invoice?: boolean
|
|
fournisseur?: boolean
|
|
montant?: boolean
|
|
devise?: boolean
|
|
methode?: boolean
|
|
reference?: boolean
|
|
date_paiement?: boolean
|
|
releve?: boolean
|
|
}
|
|
|
|
export type td_payableOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "ticket_id" | "invoice" | "date_invoice" | "fournisseur" | "montant" | "devise" | "methode" | "reference" | "date_paiement" | "releve", ExtArgs["result"]["td_payable"]>
|
|
|
|
export type $td_payablePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "td_payable"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
ticket_id: number
|
|
invoice: string
|
|
date_invoice: string
|
|
fournisseur: string | null
|
|
montant: runtime.Decimal
|
|
devise: string
|
|
methode: string | null
|
|
reference: string | null
|
|
date_paiement: string | null
|
|
releve: string | null
|
|
}, ExtArgs["result"]["td_payable"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type td_payableGetPayload<S extends boolean | null | undefined | td_payableDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$td_payablePayload, S>
|
|
|
|
export type td_payableCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<td_payableFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Td_payableCountAggregateInputType | true
|
|
}
|
|
|
|
export interface td_payableDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['td_payable'], meta: { name: 'td_payable' } }
|
|
/**
|
|
* Find zero or one Td_payable that matches the filter.
|
|
* @param {td_payableFindUniqueArgs} args - Arguments to find a Td_payable
|
|
* @example
|
|
* // Get one Td_payable
|
|
* const td_payable = await prisma.td_payable.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends td_payableFindUniqueArgs>(args: Prisma.SelectSubset<T, td_payableFindUniqueArgs<ExtArgs>>): Prisma.Prisma__td_payableClient<runtime.Types.Result.GetResult<Prisma.$td_payablePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Td_payable that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {td_payableFindUniqueOrThrowArgs} args - Arguments to find a Td_payable
|
|
* @example
|
|
* // Get one Td_payable
|
|
* const td_payable = await prisma.td_payable.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends td_payableFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, td_payableFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__td_payableClient<runtime.Types.Result.GetResult<Prisma.$td_payablePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Td_payable 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 {td_payableFindFirstArgs} args - Arguments to find a Td_payable
|
|
* @example
|
|
* // Get one Td_payable
|
|
* const td_payable = await prisma.td_payable.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends td_payableFindFirstArgs>(args?: Prisma.SelectSubset<T, td_payableFindFirstArgs<ExtArgs>>): Prisma.Prisma__td_payableClient<runtime.Types.Result.GetResult<Prisma.$td_payablePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Td_payable 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 {td_payableFindFirstOrThrowArgs} args - Arguments to find a Td_payable
|
|
* @example
|
|
* // Get one Td_payable
|
|
* const td_payable = await prisma.td_payable.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends td_payableFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, td_payableFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__td_payableClient<runtime.Types.Result.GetResult<Prisma.$td_payablePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Td_payables 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 {td_payableFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Td_payables
|
|
* const td_payables = await prisma.td_payable.findMany()
|
|
*
|
|
* // Get first 10 Td_payables
|
|
* const td_payables = await prisma.td_payable.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const td_payableWithIdOnly = await prisma.td_payable.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends td_payableFindManyArgs>(args?: Prisma.SelectSubset<T, td_payableFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$td_payablePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Td_payable.
|
|
* @param {td_payableCreateArgs} args - Arguments to create a Td_payable.
|
|
* @example
|
|
* // Create one Td_payable
|
|
* const Td_payable = await prisma.td_payable.create({
|
|
* data: {
|
|
* // ... data to create a Td_payable
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends td_payableCreateArgs>(args: Prisma.SelectSubset<T, td_payableCreateArgs<ExtArgs>>): Prisma.Prisma__td_payableClient<runtime.Types.Result.GetResult<Prisma.$td_payablePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Td_payables.
|
|
* @param {td_payableCreateManyArgs} args - Arguments to create many Td_payables.
|
|
* @example
|
|
* // Create many Td_payables
|
|
* const td_payable = await prisma.td_payable.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends td_payableCreateManyArgs>(args?: Prisma.SelectSubset<T, td_payableCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Td_payable.
|
|
* @param {td_payableDeleteArgs} args - Arguments to delete one Td_payable.
|
|
* @example
|
|
* // Delete one Td_payable
|
|
* const Td_payable = await prisma.td_payable.delete({
|
|
* where: {
|
|
* // ... filter to delete one Td_payable
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends td_payableDeleteArgs>(args: Prisma.SelectSubset<T, td_payableDeleteArgs<ExtArgs>>): Prisma.Prisma__td_payableClient<runtime.Types.Result.GetResult<Prisma.$td_payablePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Td_payable.
|
|
* @param {td_payableUpdateArgs} args - Arguments to update one Td_payable.
|
|
* @example
|
|
* // Update one Td_payable
|
|
* const td_payable = await prisma.td_payable.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends td_payableUpdateArgs>(args: Prisma.SelectSubset<T, td_payableUpdateArgs<ExtArgs>>): Prisma.Prisma__td_payableClient<runtime.Types.Result.GetResult<Prisma.$td_payablePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Td_payables.
|
|
* @param {td_payableDeleteManyArgs} args - Arguments to filter Td_payables to delete.
|
|
* @example
|
|
* // Delete a few Td_payables
|
|
* const { count } = await prisma.td_payable.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends td_payableDeleteManyArgs>(args?: Prisma.SelectSubset<T, td_payableDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Td_payables.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {td_payableUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Td_payables
|
|
* const td_payable = await prisma.td_payable.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends td_payableUpdateManyArgs>(args: Prisma.SelectSubset<T, td_payableUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Td_payable.
|
|
* @param {td_payableUpsertArgs} args - Arguments to update or create a Td_payable.
|
|
* @example
|
|
* // Update or create a Td_payable
|
|
* const td_payable = await prisma.td_payable.upsert({
|
|
* create: {
|
|
* // ... data to create a Td_payable
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Td_payable we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends td_payableUpsertArgs>(args: Prisma.SelectSubset<T, td_payableUpsertArgs<ExtArgs>>): Prisma.Prisma__td_payableClient<runtime.Types.Result.GetResult<Prisma.$td_payablePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Td_payables.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {td_payableCountArgs} args - Arguments to filter Td_payables to count.
|
|
* @example
|
|
* // Count the number of Td_payables
|
|
* const count = await prisma.td_payable.count({
|
|
* where: {
|
|
* // ... the filter for the Td_payables we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends td_payableCountArgs>(
|
|
args?: Prisma.Subset<T, td_payableCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Td_payableCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Td_payable.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Td_payableAggregateArgs} 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 Td_payableAggregateArgs>(args: Prisma.Subset<T, Td_payableAggregateArgs>): Prisma.PrismaPromise<GetTd_payableAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Td_payable.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {td_payableGroupByArgs} 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 td_payableGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: td_payableGroupByArgs['orderBy'] }
|
|
: { orderBy?: td_payableGroupByArgs['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, td_payableGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTd_payableGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the td_payable model
|
|
*/
|
|
readonly fields: td_payableFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for td_payable.
|
|
* 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__td_payableClient<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 td_payable model
|
|
*/
|
|
export interface td_payableFieldRefs {
|
|
readonly id: Prisma.FieldRef<"td_payable", 'Int'>
|
|
readonly ticket_id: Prisma.FieldRef<"td_payable", 'Int'>
|
|
readonly invoice: Prisma.FieldRef<"td_payable", 'String'>
|
|
readonly date_invoice: Prisma.FieldRef<"td_payable", 'String'>
|
|
readonly fournisseur: Prisma.FieldRef<"td_payable", 'String'>
|
|
readonly montant: Prisma.FieldRef<"td_payable", 'Decimal'>
|
|
readonly devise: Prisma.FieldRef<"td_payable", 'String'>
|
|
readonly methode: Prisma.FieldRef<"td_payable", 'String'>
|
|
readonly reference: Prisma.FieldRef<"td_payable", 'String'>
|
|
readonly date_paiement: Prisma.FieldRef<"td_payable", 'String'>
|
|
readonly releve: Prisma.FieldRef<"td_payable", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* td_payable findUnique
|
|
*/
|
|
export type td_payableFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the td_payable
|
|
*/
|
|
select?: Prisma.td_payableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the td_payable
|
|
*/
|
|
omit?: Prisma.td_payableOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which td_payable to fetch.
|
|
*/
|
|
where: Prisma.td_payableWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* td_payable findUniqueOrThrow
|
|
*/
|
|
export type td_payableFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the td_payable
|
|
*/
|
|
select?: Prisma.td_payableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the td_payable
|
|
*/
|
|
omit?: Prisma.td_payableOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which td_payable to fetch.
|
|
*/
|
|
where: Prisma.td_payableWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* td_payable findFirst
|
|
*/
|
|
export type td_payableFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the td_payable
|
|
*/
|
|
select?: Prisma.td_payableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the td_payable
|
|
*/
|
|
omit?: Prisma.td_payableOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which td_payable to fetch.
|
|
*/
|
|
where?: Prisma.td_payableWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of td_payables to fetch.
|
|
*/
|
|
orderBy?: Prisma.td_payableOrderByWithRelationInput | Prisma.td_payableOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for td_payables.
|
|
*/
|
|
cursor?: Prisma.td_payableWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` td_payables 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` td_payables.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of td_payables.
|
|
*/
|
|
distinct?: Prisma.Td_payableScalarFieldEnum | Prisma.Td_payableScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* td_payable findFirstOrThrow
|
|
*/
|
|
export type td_payableFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the td_payable
|
|
*/
|
|
select?: Prisma.td_payableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the td_payable
|
|
*/
|
|
omit?: Prisma.td_payableOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which td_payable to fetch.
|
|
*/
|
|
where?: Prisma.td_payableWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of td_payables to fetch.
|
|
*/
|
|
orderBy?: Prisma.td_payableOrderByWithRelationInput | Prisma.td_payableOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for td_payables.
|
|
*/
|
|
cursor?: Prisma.td_payableWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` td_payables 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` td_payables.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of td_payables.
|
|
*/
|
|
distinct?: Prisma.Td_payableScalarFieldEnum | Prisma.Td_payableScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* td_payable findMany
|
|
*/
|
|
export type td_payableFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the td_payable
|
|
*/
|
|
select?: Prisma.td_payableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the td_payable
|
|
*/
|
|
omit?: Prisma.td_payableOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which td_payables to fetch.
|
|
*/
|
|
where?: Prisma.td_payableWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of td_payables to fetch.
|
|
*/
|
|
orderBy?: Prisma.td_payableOrderByWithRelationInput | Prisma.td_payableOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing td_payables.
|
|
*/
|
|
cursor?: Prisma.td_payableWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` td_payables 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` td_payables.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Td_payableScalarFieldEnum | Prisma.Td_payableScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* td_payable create
|
|
*/
|
|
export type td_payableCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the td_payable
|
|
*/
|
|
select?: Prisma.td_payableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the td_payable
|
|
*/
|
|
omit?: Prisma.td_payableOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a td_payable.
|
|
*/
|
|
data: Prisma.XOR<Prisma.td_payableCreateInput, Prisma.td_payableUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* td_payable createMany
|
|
*/
|
|
export type td_payableCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many td_payables.
|
|
*/
|
|
data: Prisma.td_payableCreateManyInput | Prisma.td_payableCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* td_payable update
|
|
*/
|
|
export type td_payableUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the td_payable
|
|
*/
|
|
select?: Prisma.td_payableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the td_payable
|
|
*/
|
|
omit?: Prisma.td_payableOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a td_payable.
|
|
*/
|
|
data: Prisma.XOR<Prisma.td_payableUpdateInput, Prisma.td_payableUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which td_payable to update.
|
|
*/
|
|
where: Prisma.td_payableWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* td_payable updateMany
|
|
*/
|
|
export type td_payableUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update td_payables.
|
|
*/
|
|
data: Prisma.XOR<Prisma.td_payableUpdateManyMutationInput, Prisma.td_payableUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which td_payables to update
|
|
*/
|
|
where?: Prisma.td_payableWhereInput
|
|
/**
|
|
* Limit how many td_payables to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* td_payable upsert
|
|
*/
|
|
export type td_payableUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the td_payable
|
|
*/
|
|
select?: Prisma.td_payableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the td_payable
|
|
*/
|
|
omit?: Prisma.td_payableOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the td_payable to update in case it exists.
|
|
*/
|
|
where: Prisma.td_payableWhereUniqueInput
|
|
/**
|
|
* In case the td_payable found by the `where` argument doesn't exist, create a new td_payable with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.td_payableCreateInput, Prisma.td_payableUncheckedCreateInput>
|
|
/**
|
|
* In case the td_payable was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.td_payableUpdateInput, Prisma.td_payableUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* td_payable delete
|
|
*/
|
|
export type td_payableDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the td_payable
|
|
*/
|
|
select?: Prisma.td_payableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the td_payable
|
|
*/
|
|
omit?: Prisma.td_payableOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which td_payable to delete.
|
|
*/
|
|
where: Prisma.td_payableWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* td_payable deleteMany
|
|
*/
|
|
export type td_payableDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which td_payables to delete
|
|
*/
|
|
where?: Prisma.td_payableWhereInput
|
|
/**
|
|
* Limit how many td_payables to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* td_payable without action
|
|
*/
|
|
export type td_payableDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the td_payable
|
|
*/
|
|
select?: Prisma.td_payableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the td_payable
|
|
*/
|
|
omit?: Prisma.td_payableOmit<ExtArgs> | null
|
|
}
|