1296 lines
47 KiB
TypeScript
1296 lines
47 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 `AvvAcceptance` 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.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model AvvAcceptance
|
|
*
|
|
*/
|
|
export type AvvAcceptanceModel = runtime.Types.Result.DefaultSelection<Prisma.$AvvAcceptancePayload>
|
|
|
|
export type AggregateAvvAcceptance = {
|
|
_count: AvvAcceptanceCountAggregateOutputType | null
|
|
_min: AvvAcceptanceMinAggregateOutputType | null
|
|
_max: AvvAcceptanceMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AvvAcceptanceMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
tenantId: string | null
|
|
acceptedByUserId: string | null
|
|
acceptedIp: string | null
|
|
acceptedUserAgent: string | null
|
|
avvVersion: string | null
|
|
pdfFileId: string | null
|
|
signerName: string | null
|
|
signerRole: string | null
|
|
}
|
|
|
|
export type AvvAcceptanceMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
tenantId: string | null
|
|
acceptedByUserId: string | null
|
|
acceptedIp: string | null
|
|
acceptedUserAgent: string | null
|
|
avvVersion: string | null
|
|
pdfFileId: string | null
|
|
signerName: string | null
|
|
signerRole: string | null
|
|
}
|
|
|
|
export type AvvAcceptanceCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
tenantId: number
|
|
acceptedByUserId: number
|
|
acceptedIp: number
|
|
acceptedUserAgent: number
|
|
avvVersion: number
|
|
pdfFileId: number
|
|
signerName: number
|
|
signerRole: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AvvAcceptanceMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
acceptedByUserId?: true
|
|
acceptedIp?: true
|
|
acceptedUserAgent?: true
|
|
avvVersion?: true
|
|
pdfFileId?: true
|
|
signerName?: true
|
|
signerRole?: true
|
|
}
|
|
|
|
export type AvvAcceptanceMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
acceptedByUserId?: true
|
|
acceptedIp?: true
|
|
acceptedUserAgent?: true
|
|
avvVersion?: true
|
|
pdfFileId?: true
|
|
signerName?: true
|
|
signerRole?: true
|
|
}
|
|
|
|
export type AvvAcceptanceCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
acceptedByUserId?: true
|
|
acceptedIp?: true
|
|
acceptedUserAgent?: true
|
|
avvVersion?: true
|
|
pdfFileId?: true
|
|
signerName?: true
|
|
signerRole?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AvvAcceptanceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AvvAcceptance to aggregate.
|
|
*/
|
|
where?: Prisma.AvvAcceptanceWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AvvAcceptances to fetch.
|
|
*/
|
|
orderBy?: Prisma.AvvAcceptanceOrderByWithRelationInput | Prisma.AvvAcceptanceOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AvvAcceptanceWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AvvAcceptances 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` AvvAcceptances.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AvvAcceptances
|
|
**/
|
|
_count?: true | AvvAcceptanceCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AvvAcceptanceMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AvvAcceptanceMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAvvAcceptanceAggregateType<T extends AvvAcceptanceAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAvvAcceptance]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAvvAcceptance[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAvvAcceptance[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AvvAcceptanceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AvvAcceptanceWhereInput
|
|
orderBy?: Prisma.AvvAcceptanceOrderByWithAggregationInput | Prisma.AvvAcceptanceOrderByWithAggregationInput[]
|
|
by: Prisma.AvvAcceptanceScalarFieldEnum[] | Prisma.AvvAcceptanceScalarFieldEnum
|
|
having?: Prisma.AvvAcceptanceScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AvvAcceptanceCountAggregateInputType | true
|
|
_min?: AvvAcceptanceMinAggregateInputType
|
|
_max?: AvvAcceptanceMaxAggregateInputType
|
|
}
|
|
|
|
export type AvvAcceptanceGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
tenantId: string
|
|
acceptedByUserId: string
|
|
acceptedIp: string | null
|
|
acceptedUserAgent: string | null
|
|
avvVersion: string
|
|
pdfFileId: string | null
|
|
signerName: string
|
|
signerRole: string | null
|
|
_count: AvvAcceptanceCountAggregateOutputType | null
|
|
_min: AvvAcceptanceMinAggregateOutputType | null
|
|
_max: AvvAcceptanceMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAvvAcceptanceGroupByPayload<T extends AvvAcceptanceGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AvvAcceptanceGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AvvAcceptanceGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AvvAcceptanceGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AvvAcceptanceGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AvvAcceptanceWhereInput = {
|
|
AND?: Prisma.AvvAcceptanceWhereInput | Prisma.AvvAcceptanceWhereInput[]
|
|
OR?: Prisma.AvvAcceptanceWhereInput[]
|
|
NOT?: Prisma.AvvAcceptanceWhereInput | Prisma.AvvAcceptanceWhereInput[]
|
|
id?: Prisma.StringFilter<"AvvAcceptance"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AvvAcceptance"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"AvvAcceptance"> | string
|
|
acceptedByUserId?: Prisma.StringFilter<"AvvAcceptance"> | string
|
|
acceptedIp?: Prisma.StringNullableFilter<"AvvAcceptance"> | string | null
|
|
acceptedUserAgent?: Prisma.StringNullableFilter<"AvvAcceptance"> | string | null
|
|
avvVersion?: Prisma.StringFilter<"AvvAcceptance"> | string
|
|
pdfFileId?: Prisma.StringNullableFilter<"AvvAcceptance"> | string | null
|
|
signerName?: Prisma.StringFilter<"AvvAcceptance"> | string
|
|
signerRole?: Prisma.StringNullableFilter<"AvvAcceptance"> | string | null
|
|
}
|
|
|
|
export type AvvAcceptanceOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
acceptedByUserId?: Prisma.SortOrder
|
|
acceptedIp?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
acceptedUserAgent?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
avvVersion?: Prisma.SortOrder
|
|
pdfFileId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
signerName?: Prisma.SortOrder
|
|
signerRole?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
}
|
|
|
|
export type AvvAcceptanceWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_avvVersion?: Prisma.AvvAcceptanceTenantIdAvvVersionCompoundUniqueInput
|
|
AND?: Prisma.AvvAcceptanceWhereInput | Prisma.AvvAcceptanceWhereInput[]
|
|
OR?: Prisma.AvvAcceptanceWhereInput[]
|
|
NOT?: Prisma.AvvAcceptanceWhereInput | Prisma.AvvAcceptanceWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AvvAcceptance"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"AvvAcceptance"> | string
|
|
acceptedByUserId?: Prisma.StringFilter<"AvvAcceptance"> | string
|
|
acceptedIp?: Prisma.StringNullableFilter<"AvvAcceptance"> | string | null
|
|
acceptedUserAgent?: Prisma.StringNullableFilter<"AvvAcceptance"> | string | null
|
|
avvVersion?: Prisma.StringFilter<"AvvAcceptance"> | string
|
|
pdfFileId?: Prisma.StringNullableFilter<"AvvAcceptance"> | string | null
|
|
signerName?: Prisma.StringFilter<"AvvAcceptance"> | string
|
|
signerRole?: Prisma.StringNullableFilter<"AvvAcceptance"> | string | null
|
|
}, "id" | "tenantId_avvVersion">
|
|
|
|
export type AvvAcceptanceOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
acceptedByUserId?: Prisma.SortOrder
|
|
acceptedIp?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
acceptedUserAgent?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
avvVersion?: Prisma.SortOrder
|
|
pdfFileId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
signerName?: Prisma.SortOrder
|
|
signerRole?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.AvvAcceptanceCountOrderByAggregateInput
|
|
_max?: Prisma.AvvAcceptanceMaxOrderByAggregateInput
|
|
_min?: Prisma.AvvAcceptanceMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AvvAcceptanceScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AvvAcceptanceScalarWhereWithAggregatesInput | Prisma.AvvAcceptanceScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AvvAcceptanceScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AvvAcceptanceScalarWhereWithAggregatesInput | Prisma.AvvAcceptanceScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AvvAcceptance"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AvvAcceptance"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"AvvAcceptance"> | string
|
|
acceptedByUserId?: Prisma.StringWithAggregatesFilter<"AvvAcceptance"> | string
|
|
acceptedIp?: Prisma.StringNullableWithAggregatesFilter<"AvvAcceptance"> | string | null
|
|
acceptedUserAgent?: Prisma.StringNullableWithAggregatesFilter<"AvvAcceptance"> | string | null
|
|
avvVersion?: Prisma.StringWithAggregatesFilter<"AvvAcceptance"> | string
|
|
pdfFileId?: Prisma.StringNullableWithAggregatesFilter<"AvvAcceptance"> | string | null
|
|
signerName?: Prisma.StringWithAggregatesFilter<"AvvAcceptance"> | string
|
|
signerRole?: Prisma.StringNullableWithAggregatesFilter<"AvvAcceptance"> | string | null
|
|
}
|
|
|
|
export type AvvAcceptanceCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
acceptedByUserId: string
|
|
acceptedIp?: string | null
|
|
acceptedUserAgent?: string | null
|
|
avvVersion: string
|
|
pdfFileId?: string | null
|
|
signerName: string
|
|
signerRole?: string | null
|
|
}
|
|
|
|
export type AvvAcceptanceUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
acceptedByUserId: string
|
|
acceptedIp?: string | null
|
|
acceptedUserAgent?: string | null
|
|
avvVersion: string
|
|
pdfFileId?: string | null
|
|
signerName: string
|
|
signerRole?: string | null
|
|
}
|
|
|
|
export type AvvAcceptanceUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
acceptedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
acceptedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
acceptedUserAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
avvVersion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pdfFileId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
signerName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
signerRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AvvAcceptanceUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
acceptedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
acceptedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
acceptedUserAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
avvVersion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pdfFileId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
signerName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
signerRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AvvAcceptanceCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
acceptedByUserId: string
|
|
acceptedIp?: string | null
|
|
acceptedUserAgent?: string | null
|
|
avvVersion: string
|
|
pdfFileId?: string | null
|
|
signerName: string
|
|
signerRole?: string | null
|
|
}
|
|
|
|
export type AvvAcceptanceUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
acceptedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
acceptedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
acceptedUserAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
avvVersion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pdfFileId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
signerName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
signerRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AvvAcceptanceUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
acceptedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
acceptedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
acceptedUserAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
avvVersion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pdfFileId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
signerName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
signerRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AvvAcceptanceTenantIdAvvVersionCompoundUniqueInput = {
|
|
tenantId: string
|
|
avvVersion: string
|
|
}
|
|
|
|
export type AvvAcceptanceCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
acceptedByUserId?: Prisma.SortOrder
|
|
acceptedIp?: Prisma.SortOrder
|
|
acceptedUserAgent?: Prisma.SortOrder
|
|
avvVersion?: Prisma.SortOrder
|
|
pdfFileId?: Prisma.SortOrder
|
|
signerName?: Prisma.SortOrder
|
|
signerRole?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AvvAcceptanceMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
acceptedByUserId?: Prisma.SortOrder
|
|
acceptedIp?: Prisma.SortOrder
|
|
acceptedUserAgent?: Prisma.SortOrder
|
|
avvVersion?: Prisma.SortOrder
|
|
pdfFileId?: Prisma.SortOrder
|
|
signerName?: Prisma.SortOrder
|
|
signerRole?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AvvAcceptanceMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
acceptedByUserId?: Prisma.SortOrder
|
|
acceptedIp?: Prisma.SortOrder
|
|
acceptedUserAgent?: Prisma.SortOrder
|
|
avvVersion?: Prisma.SortOrder
|
|
pdfFileId?: Prisma.SortOrder
|
|
signerName?: Prisma.SortOrder
|
|
signerRole?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type AvvAcceptanceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
acceptedByUserId?: boolean
|
|
acceptedIp?: boolean
|
|
acceptedUserAgent?: boolean
|
|
avvVersion?: boolean
|
|
pdfFileId?: boolean
|
|
signerName?: boolean
|
|
signerRole?: boolean
|
|
}, ExtArgs["result"]["avvAcceptance"]>
|
|
|
|
export type AvvAcceptanceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
acceptedByUserId?: boolean
|
|
acceptedIp?: boolean
|
|
acceptedUserAgent?: boolean
|
|
avvVersion?: boolean
|
|
pdfFileId?: boolean
|
|
signerName?: boolean
|
|
signerRole?: boolean
|
|
}, ExtArgs["result"]["avvAcceptance"]>
|
|
|
|
export type AvvAcceptanceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
acceptedByUserId?: boolean
|
|
acceptedIp?: boolean
|
|
acceptedUserAgent?: boolean
|
|
avvVersion?: boolean
|
|
pdfFileId?: boolean
|
|
signerName?: boolean
|
|
signerRole?: boolean
|
|
}, ExtArgs["result"]["avvAcceptance"]>
|
|
|
|
export type AvvAcceptanceSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
acceptedByUserId?: boolean
|
|
acceptedIp?: boolean
|
|
acceptedUserAgent?: boolean
|
|
avvVersion?: boolean
|
|
pdfFileId?: boolean
|
|
signerName?: boolean
|
|
signerRole?: boolean
|
|
}
|
|
|
|
export type AvvAcceptanceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "acceptedByUserId" | "acceptedIp" | "acceptedUserAgent" | "avvVersion" | "pdfFileId" | "signerName" | "signerRole", ExtArgs["result"]["avvAcceptance"]>
|
|
|
|
export type $AvvAcceptancePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AvvAcceptance"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
tenantId: string
|
|
acceptedByUserId: string
|
|
acceptedIp: string | null
|
|
acceptedUserAgent: string | null
|
|
avvVersion: string
|
|
pdfFileId: string | null
|
|
signerName: string
|
|
signerRole: string | null
|
|
}, ExtArgs["result"]["avvAcceptance"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AvvAcceptanceGetPayload<S extends boolean | null | undefined | AvvAcceptanceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload, S>
|
|
|
|
export type AvvAcceptanceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AvvAcceptanceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AvvAcceptanceCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AvvAcceptanceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AvvAcceptance'], meta: { name: 'AvvAcceptance' } }
|
|
/**
|
|
* Find zero or one AvvAcceptance that matches the filter.
|
|
* @param {AvvAcceptanceFindUniqueArgs} args - Arguments to find a AvvAcceptance
|
|
* @example
|
|
* // Get one AvvAcceptance
|
|
* const avvAcceptance = await prisma.avvAcceptance.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AvvAcceptanceFindUniqueArgs>(args: Prisma.SelectSubset<T, AvvAcceptanceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AvvAcceptanceClient<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AvvAcceptance that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AvvAcceptanceFindUniqueOrThrowArgs} args - Arguments to find a AvvAcceptance
|
|
* @example
|
|
* // Get one AvvAcceptance
|
|
* const avvAcceptance = await prisma.avvAcceptance.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AvvAcceptanceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AvvAcceptanceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AvvAcceptanceClient<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AvvAcceptance 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 {AvvAcceptanceFindFirstArgs} args - Arguments to find a AvvAcceptance
|
|
* @example
|
|
* // Get one AvvAcceptance
|
|
* const avvAcceptance = await prisma.avvAcceptance.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AvvAcceptanceFindFirstArgs>(args?: Prisma.SelectSubset<T, AvvAcceptanceFindFirstArgs<ExtArgs>>): Prisma.Prisma__AvvAcceptanceClient<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AvvAcceptance 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 {AvvAcceptanceFindFirstOrThrowArgs} args - Arguments to find a AvvAcceptance
|
|
* @example
|
|
* // Get one AvvAcceptance
|
|
* const avvAcceptance = await prisma.avvAcceptance.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AvvAcceptanceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AvvAcceptanceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AvvAcceptanceClient<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AvvAcceptances 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 {AvvAcceptanceFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AvvAcceptances
|
|
* const avvAcceptances = await prisma.avvAcceptance.findMany()
|
|
*
|
|
* // Get first 10 AvvAcceptances
|
|
* const avvAcceptances = await prisma.avvAcceptance.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const avvAcceptanceWithIdOnly = await prisma.avvAcceptance.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AvvAcceptanceFindManyArgs>(args?: Prisma.SelectSubset<T, AvvAcceptanceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AvvAcceptance.
|
|
* @param {AvvAcceptanceCreateArgs} args - Arguments to create a AvvAcceptance.
|
|
* @example
|
|
* // Create one AvvAcceptance
|
|
* const AvvAcceptance = await prisma.avvAcceptance.create({
|
|
* data: {
|
|
* // ... data to create a AvvAcceptance
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AvvAcceptanceCreateArgs>(args: Prisma.SelectSubset<T, AvvAcceptanceCreateArgs<ExtArgs>>): Prisma.Prisma__AvvAcceptanceClient<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AvvAcceptances.
|
|
* @param {AvvAcceptanceCreateManyArgs} args - Arguments to create many AvvAcceptances.
|
|
* @example
|
|
* // Create many AvvAcceptances
|
|
* const avvAcceptance = await prisma.avvAcceptance.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AvvAcceptanceCreateManyArgs>(args?: Prisma.SelectSubset<T, AvvAcceptanceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AvvAcceptances and returns the data saved in the database.
|
|
* @param {AvvAcceptanceCreateManyAndReturnArgs} args - Arguments to create many AvvAcceptances.
|
|
* @example
|
|
* // Create many AvvAcceptances
|
|
* const avvAcceptance = await prisma.avvAcceptance.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AvvAcceptances and only return the `id`
|
|
* const avvAcceptanceWithIdOnly = await prisma.avvAcceptance.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends AvvAcceptanceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AvvAcceptanceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AvvAcceptance.
|
|
* @param {AvvAcceptanceDeleteArgs} args - Arguments to delete one AvvAcceptance.
|
|
* @example
|
|
* // Delete one AvvAcceptance
|
|
* const AvvAcceptance = await prisma.avvAcceptance.delete({
|
|
* where: {
|
|
* // ... filter to delete one AvvAcceptance
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AvvAcceptanceDeleteArgs>(args: Prisma.SelectSubset<T, AvvAcceptanceDeleteArgs<ExtArgs>>): Prisma.Prisma__AvvAcceptanceClient<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AvvAcceptance.
|
|
* @param {AvvAcceptanceUpdateArgs} args - Arguments to update one AvvAcceptance.
|
|
* @example
|
|
* // Update one AvvAcceptance
|
|
* const avvAcceptance = await prisma.avvAcceptance.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AvvAcceptanceUpdateArgs>(args: Prisma.SelectSubset<T, AvvAcceptanceUpdateArgs<ExtArgs>>): Prisma.Prisma__AvvAcceptanceClient<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AvvAcceptances.
|
|
* @param {AvvAcceptanceDeleteManyArgs} args - Arguments to filter AvvAcceptances to delete.
|
|
* @example
|
|
* // Delete a few AvvAcceptances
|
|
* const { count } = await prisma.avvAcceptance.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AvvAcceptanceDeleteManyArgs>(args?: Prisma.SelectSubset<T, AvvAcceptanceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AvvAcceptances.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AvvAcceptanceUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AvvAcceptances
|
|
* const avvAcceptance = await prisma.avvAcceptance.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AvvAcceptanceUpdateManyArgs>(args: Prisma.SelectSubset<T, AvvAcceptanceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AvvAcceptances and returns the data updated in the database.
|
|
* @param {AvvAcceptanceUpdateManyAndReturnArgs} args - Arguments to update many AvvAcceptances.
|
|
* @example
|
|
* // Update many AvvAcceptances
|
|
* const avvAcceptance = await prisma.avvAcceptance.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AvvAcceptances and only return the `id`
|
|
* const avvAcceptanceWithIdOnly = await prisma.avvAcceptance.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends AvvAcceptanceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AvvAcceptanceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AvvAcceptance.
|
|
* @param {AvvAcceptanceUpsertArgs} args - Arguments to update or create a AvvAcceptance.
|
|
* @example
|
|
* // Update or create a AvvAcceptance
|
|
* const avvAcceptance = await prisma.avvAcceptance.upsert({
|
|
* create: {
|
|
* // ... data to create a AvvAcceptance
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AvvAcceptance we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AvvAcceptanceUpsertArgs>(args: Prisma.SelectSubset<T, AvvAcceptanceUpsertArgs<ExtArgs>>): Prisma.Prisma__AvvAcceptanceClient<runtime.Types.Result.GetResult<Prisma.$AvvAcceptancePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AvvAcceptances.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AvvAcceptanceCountArgs} args - Arguments to filter AvvAcceptances to count.
|
|
* @example
|
|
* // Count the number of AvvAcceptances
|
|
* const count = await prisma.avvAcceptance.count({
|
|
* where: {
|
|
* // ... the filter for the AvvAcceptances we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AvvAcceptanceCountArgs>(
|
|
args?: Prisma.Subset<T, AvvAcceptanceCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AvvAcceptanceCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AvvAcceptance.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AvvAcceptanceAggregateArgs} 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 AvvAcceptanceAggregateArgs>(args: Prisma.Subset<T, AvvAcceptanceAggregateArgs>): Prisma.PrismaPromise<GetAvvAcceptanceAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AvvAcceptance.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AvvAcceptanceGroupByArgs} 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 AvvAcceptanceGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AvvAcceptanceGroupByArgs['orderBy'] }
|
|
: { orderBy?: AvvAcceptanceGroupByArgs['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, AvvAcceptanceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAvvAcceptanceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AvvAcceptance model
|
|
*/
|
|
readonly fields: AvvAcceptanceFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AvvAcceptance.
|
|
* 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__AvvAcceptanceClient<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 AvvAcceptance model
|
|
*/
|
|
export interface AvvAcceptanceFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AvvAcceptance", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AvvAcceptance", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"AvvAcceptance", 'String'>
|
|
readonly acceptedByUserId: Prisma.FieldRef<"AvvAcceptance", 'String'>
|
|
readonly acceptedIp: Prisma.FieldRef<"AvvAcceptance", 'String'>
|
|
readonly acceptedUserAgent: Prisma.FieldRef<"AvvAcceptance", 'String'>
|
|
readonly avvVersion: Prisma.FieldRef<"AvvAcceptance", 'String'>
|
|
readonly pdfFileId: Prisma.FieldRef<"AvvAcceptance", 'String'>
|
|
readonly signerName: Prisma.FieldRef<"AvvAcceptance", 'String'>
|
|
readonly signerRole: Prisma.FieldRef<"AvvAcceptance", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AvvAcceptance findUnique
|
|
*/
|
|
export type AvvAcceptanceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AvvAcceptance to fetch.
|
|
*/
|
|
where: Prisma.AvvAcceptanceWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance findUniqueOrThrow
|
|
*/
|
|
export type AvvAcceptanceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AvvAcceptance to fetch.
|
|
*/
|
|
where: Prisma.AvvAcceptanceWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance findFirst
|
|
*/
|
|
export type AvvAcceptanceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AvvAcceptance to fetch.
|
|
*/
|
|
where?: Prisma.AvvAcceptanceWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AvvAcceptances to fetch.
|
|
*/
|
|
orderBy?: Prisma.AvvAcceptanceOrderByWithRelationInput | Prisma.AvvAcceptanceOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AvvAcceptances.
|
|
*/
|
|
cursor?: Prisma.AvvAcceptanceWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AvvAcceptances 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` AvvAcceptances.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AvvAcceptances.
|
|
*/
|
|
distinct?: Prisma.AvvAcceptanceScalarFieldEnum | Prisma.AvvAcceptanceScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance findFirstOrThrow
|
|
*/
|
|
export type AvvAcceptanceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AvvAcceptance to fetch.
|
|
*/
|
|
where?: Prisma.AvvAcceptanceWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AvvAcceptances to fetch.
|
|
*/
|
|
orderBy?: Prisma.AvvAcceptanceOrderByWithRelationInput | Prisma.AvvAcceptanceOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AvvAcceptances.
|
|
*/
|
|
cursor?: Prisma.AvvAcceptanceWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AvvAcceptances 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` AvvAcceptances.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AvvAcceptances.
|
|
*/
|
|
distinct?: Prisma.AvvAcceptanceScalarFieldEnum | Prisma.AvvAcceptanceScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance findMany
|
|
*/
|
|
export type AvvAcceptanceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AvvAcceptances to fetch.
|
|
*/
|
|
where?: Prisma.AvvAcceptanceWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AvvAcceptances to fetch.
|
|
*/
|
|
orderBy?: Prisma.AvvAcceptanceOrderByWithRelationInput | Prisma.AvvAcceptanceOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AvvAcceptances.
|
|
*/
|
|
cursor?: Prisma.AvvAcceptanceWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AvvAcceptances 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` AvvAcceptances.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AvvAcceptances.
|
|
*/
|
|
distinct?: Prisma.AvvAcceptanceScalarFieldEnum | Prisma.AvvAcceptanceScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance create
|
|
*/
|
|
export type AvvAcceptanceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AvvAcceptance.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AvvAcceptanceCreateInput, Prisma.AvvAcceptanceUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance createMany
|
|
*/
|
|
export type AvvAcceptanceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AvvAcceptances.
|
|
*/
|
|
data: Prisma.AvvAcceptanceCreateManyInput | Prisma.AvvAcceptanceCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance createManyAndReturn
|
|
*/
|
|
export type AvvAcceptanceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AvvAcceptances.
|
|
*/
|
|
data: Prisma.AvvAcceptanceCreateManyInput | Prisma.AvvAcceptanceCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance update
|
|
*/
|
|
export type AvvAcceptanceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AvvAcceptance.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AvvAcceptanceUpdateInput, Prisma.AvvAcceptanceUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AvvAcceptance to update.
|
|
*/
|
|
where: Prisma.AvvAcceptanceWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance updateMany
|
|
*/
|
|
export type AvvAcceptanceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AvvAcceptances.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AvvAcceptanceUpdateManyMutationInput, Prisma.AvvAcceptanceUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AvvAcceptances to update
|
|
*/
|
|
where?: Prisma.AvvAcceptanceWhereInput
|
|
/**
|
|
* Limit how many AvvAcceptances to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance updateManyAndReturn
|
|
*/
|
|
export type AvvAcceptanceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AvvAcceptances.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AvvAcceptanceUpdateManyMutationInput, Prisma.AvvAcceptanceUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AvvAcceptances to update
|
|
*/
|
|
where?: Prisma.AvvAcceptanceWhereInput
|
|
/**
|
|
* Limit how many AvvAcceptances to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance upsert
|
|
*/
|
|
export type AvvAcceptanceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AvvAcceptance to update in case it exists.
|
|
*/
|
|
where: Prisma.AvvAcceptanceWhereUniqueInput
|
|
/**
|
|
* In case the AvvAcceptance found by the `where` argument doesn't exist, create a new AvvAcceptance with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AvvAcceptanceCreateInput, Prisma.AvvAcceptanceUncheckedCreateInput>
|
|
/**
|
|
* In case the AvvAcceptance was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AvvAcceptanceUpdateInput, Prisma.AvvAcceptanceUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance delete
|
|
*/
|
|
export type AvvAcceptanceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which AvvAcceptance to delete.
|
|
*/
|
|
where: Prisma.AvvAcceptanceWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance deleteMany
|
|
*/
|
|
export type AvvAcceptanceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AvvAcceptances to delete
|
|
*/
|
|
where?: Prisma.AvvAcceptanceWhereInput
|
|
/**
|
|
* Limit how many AvvAcceptances to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AvvAcceptance without action
|
|
*/
|
|
export type AvvAcceptanceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AvvAcceptance
|
|
*/
|
|
select?: Prisma.AvvAcceptanceSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AvvAcceptance
|
|
*/
|
|
omit?: Prisma.AvvAcceptanceOmit<ExtArgs> | null
|
|
}
|