/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateAvvAcceptance]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AvvAcceptanceGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AvvAcceptanceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 = 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 = 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 = 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 = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "acceptedByUserId" | "acceptedIp" | "acceptedUserAgent" | "avvVersion" | "pdfFileId" | "signerName" | "signerRole", ExtArgs["result"]["avvAcceptance"]> export type $AvvAcceptancePayload = { 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 = runtime.Types.Result.GetResult export type AvvAcceptanceCountArgs = Omit & { select?: AvvAcceptanceCountAggregateInputType | true } export interface AvvAcceptanceDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__AvvAcceptanceClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AvvAcceptanceClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__AvvAcceptanceClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__AvvAcceptanceClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AvvAcceptanceClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AvvAcceptanceClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AvvAcceptanceClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AvvAcceptanceClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AvvAcceptanceGroupByArgs['orderBy'] } : { orderBy?: AvvAcceptanceGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetAvvAcceptanceGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelect | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | null /** * Filter, which AvvAcceptance to fetch. */ where: Prisma.AvvAcceptanceWhereUniqueInput } /** * AvvAcceptance findUniqueOrThrow */ export type AvvAcceptanceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelect | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | null /** * Filter, which AvvAcceptance to fetch. */ where: Prisma.AvvAcceptanceWhereUniqueInput } /** * AvvAcceptance findFirst */ export type AvvAcceptanceFindFirstArgs = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelect | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | 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 = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelect | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | 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 = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelect | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | 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 = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelect | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | null /** * The data needed to create a AvvAcceptance. */ data: Prisma.XOR } /** * AvvAcceptance createMany */ export type AvvAcceptanceCreateManyArgs = { /** * The data used to create many AvvAcceptances. */ data: Prisma.AvvAcceptanceCreateManyInput | Prisma.AvvAcceptanceCreateManyInput[] skipDuplicates?: boolean } /** * AvvAcceptance createManyAndReturn */ export type AvvAcceptanceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelectCreateManyAndReturn | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | null /** * The data used to create many AvvAcceptances. */ data: Prisma.AvvAcceptanceCreateManyInput | Prisma.AvvAcceptanceCreateManyInput[] skipDuplicates?: boolean } /** * AvvAcceptance update */ export type AvvAcceptanceUpdateArgs = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelect | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | null /** * The data needed to update a AvvAcceptance. */ data: Prisma.XOR /** * Choose, which AvvAcceptance to update. */ where: Prisma.AvvAcceptanceWhereUniqueInput } /** * AvvAcceptance updateMany */ export type AvvAcceptanceUpdateManyArgs = { /** * The data used to update AvvAcceptances. */ data: Prisma.XOR /** * Filter which AvvAcceptances to update */ where?: Prisma.AvvAcceptanceWhereInput /** * Limit how many AvvAcceptances to update. */ limit?: number } /** * AvvAcceptance updateManyAndReturn */ export type AvvAcceptanceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelectUpdateManyAndReturn | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | null /** * The data used to update AvvAcceptances. */ data: Prisma.XOR /** * Filter which AvvAcceptances to update */ where?: Prisma.AvvAcceptanceWhereInput /** * Limit how many AvvAcceptances to update. */ limit?: number } /** * AvvAcceptance upsert */ export type AvvAcceptanceUpsertArgs = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelect | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | 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 /** * In case the AvvAcceptance was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AvvAcceptance delete */ export type AvvAcceptanceDeleteArgs = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelect | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | null /** * Filter which AvvAcceptance to delete. */ where: Prisma.AvvAcceptanceWhereUniqueInput } /** * AvvAcceptance deleteMany */ export type AvvAcceptanceDeleteManyArgs = { /** * Filter which AvvAcceptances to delete */ where?: Prisma.AvvAcceptanceWhereInput /** * Limit how many AvvAcceptances to delete. */ limit?: number } /** * AvvAcceptance without action */ export type AvvAcceptanceDefaultArgs = { /** * Select specific fields to fetch from the AvvAcceptance */ select?: Prisma.AvvAcceptanceSelect | null /** * Omit specific fields from the AvvAcceptance */ omit?: Prisma.AvvAcceptanceOmit | null }