/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `statement` 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 statement * */ export type statementModel = runtime.Types.Result.DefaultSelection export type AggregateStatement = { _count: StatementCountAggregateOutputType | null _avg: StatementAvgAggregateOutputType | null _sum: StatementSumAggregateOutputType | null _min: StatementMinAggregateOutputType | null _max: StatementMaxAggregateOutputType | null } export type StatementAvgAggregateOutputType = { id: number | null date: number | null number: number | null amt: number | null paid_amt: number | null } export type StatementSumAggregateOutputType = { id: bigint | null date: bigint | null number: bigint | null amt: number | null paid_amt: number | null } export type StatementMinAggregateOutputType = { id: bigint | null date: bigint | null type: string | null number: bigint | null reference: string | null amt: number | null paid_amt: number | null } export type StatementMaxAggregateOutputType = { id: bigint | null date: bigint | null type: string | null number: bigint | null reference: string | null amt: number | null paid_amt: number | null } export type StatementCountAggregateOutputType = { id: number date: number type: number number: number reference: number amt: number paid_amt: number _all: number } export type StatementAvgAggregateInputType = { id?: true date?: true number?: true amt?: true paid_amt?: true } export type StatementSumAggregateInputType = { id?: true date?: true number?: true amt?: true paid_amt?: true } export type StatementMinAggregateInputType = { id?: true date?: true type?: true number?: true reference?: true amt?: true paid_amt?: true } export type StatementMaxAggregateInputType = { id?: true date?: true type?: true number?: true reference?: true amt?: true paid_amt?: true } export type StatementCountAggregateInputType = { id?: true date?: true type?: true number?: true reference?: true amt?: true paid_amt?: true _all?: true } export type StatementAggregateArgs = { /** * Filter which statement to aggregate. */ where?: Prisma.statementWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of statements to fetch. */ orderBy?: Prisma.statementOrderByWithRelationInput | Prisma.statementOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.statementWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` statements 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` statements. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned statements **/ _count?: true | StatementCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: StatementAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: StatementSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: StatementMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: StatementMaxAggregateInputType } export type GetStatementAggregateType = { [P in keyof T & keyof AggregateStatement]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type statementGroupByArgs = { where?: Prisma.statementWhereInput orderBy?: Prisma.statementOrderByWithAggregationInput | Prisma.statementOrderByWithAggregationInput[] by: Prisma.StatementScalarFieldEnum[] | Prisma.StatementScalarFieldEnum having?: Prisma.statementScalarWhereWithAggregatesInput take?: number skip?: number _count?: StatementCountAggregateInputType | true _avg?: StatementAvgAggregateInputType _sum?: StatementSumAggregateInputType _min?: StatementMinAggregateInputType _max?: StatementMaxAggregateInputType } export type StatementGroupByOutputType = { id: bigint date: bigint | null type: string | null number: bigint | null reference: string | null amt: number | null paid_amt: number | null _count: StatementCountAggregateOutputType | null _avg: StatementAvgAggregateOutputType | null _sum: StatementSumAggregateOutputType | null _min: StatementMinAggregateOutputType | null _max: StatementMaxAggregateOutputType | null } type GetStatementGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof StatementGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type statementWhereInput = { AND?: Prisma.statementWhereInput | Prisma.statementWhereInput[] OR?: Prisma.statementWhereInput[] NOT?: Prisma.statementWhereInput | Prisma.statementWhereInput[] id?: Prisma.BigIntFilter<"statement"> | bigint | number date?: Prisma.BigIntNullableFilter<"statement"> | bigint | number | null type?: Prisma.StringNullableFilter<"statement"> | string | null number?: Prisma.BigIntNullableFilter<"statement"> | bigint | number | null reference?: Prisma.StringNullableFilter<"statement"> | string | null amt?: Prisma.FloatNullableFilter<"statement"> | number | null paid_amt?: Prisma.FloatNullableFilter<"statement"> | number | null } export type statementOrderByWithRelationInput = { id?: Prisma.SortOrder date?: Prisma.SortOrderInput | Prisma.SortOrder type?: Prisma.SortOrderInput | Prisma.SortOrder number?: Prisma.SortOrderInput | Prisma.SortOrder reference?: Prisma.SortOrderInput | Prisma.SortOrder amt?: Prisma.SortOrderInput | Prisma.SortOrder paid_amt?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.statementOrderByRelevanceInput } export type statementWhereUniqueInput = Prisma.AtLeast<{ id?: bigint | number AND?: Prisma.statementWhereInput | Prisma.statementWhereInput[] OR?: Prisma.statementWhereInput[] NOT?: Prisma.statementWhereInput | Prisma.statementWhereInput[] date?: Prisma.BigIntNullableFilter<"statement"> | bigint | number | null type?: Prisma.StringNullableFilter<"statement"> | string | null number?: Prisma.BigIntNullableFilter<"statement"> | bigint | number | null reference?: Prisma.StringNullableFilter<"statement"> | string | null amt?: Prisma.FloatNullableFilter<"statement"> | number | null paid_amt?: Prisma.FloatNullableFilter<"statement"> | number | null }, "id"> export type statementOrderByWithAggregationInput = { id?: Prisma.SortOrder date?: Prisma.SortOrderInput | Prisma.SortOrder type?: Prisma.SortOrderInput | Prisma.SortOrder number?: Prisma.SortOrderInput | Prisma.SortOrder reference?: Prisma.SortOrderInput | Prisma.SortOrder amt?: Prisma.SortOrderInput | Prisma.SortOrder paid_amt?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.statementCountOrderByAggregateInput _avg?: Prisma.statementAvgOrderByAggregateInput _max?: Prisma.statementMaxOrderByAggregateInput _min?: Prisma.statementMinOrderByAggregateInput _sum?: Prisma.statementSumOrderByAggregateInput } export type statementScalarWhereWithAggregatesInput = { AND?: Prisma.statementScalarWhereWithAggregatesInput | Prisma.statementScalarWhereWithAggregatesInput[] OR?: Prisma.statementScalarWhereWithAggregatesInput[] NOT?: Prisma.statementScalarWhereWithAggregatesInput | Prisma.statementScalarWhereWithAggregatesInput[] id?: Prisma.BigIntWithAggregatesFilter<"statement"> | bigint | number date?: Prisma.BigIntNullableWithAggregatesFilter<"statement"> | bigint | number | null type?: Prisma.StringNullableWithAggregatesFilter<"statement"> | string | null number?: Prisma.BigIntNullableWithAggregatesFilter<"statement"> | bigint | number | null reference?: Prisma.StringNullableWithAggregatesFilter<"statement"> | string | null amt?: Prisma.FloatNullableWithAggregatesFilter<"statement"> | number | null paid_amt?: Prisma.FloatNullableWithAggregatesFilter<"statement"> | number | null } export type statementCreateInput = { id?: bigint | number date?: bigint | number | null type?: string | null number?: bigint | number | null reference?: string | null amt?: number | null paid_amt?: number | null } export type statementUncheckedCreateInput = { id?: bigint | number date?: bigint | number | null type?: string | null number?: bigint | number | null reference?: string | null amt?: number | null paid_amt?: number | null } export type statementUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null number?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null paid_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type statementUncheckedUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null number?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null paid_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type statementCreateManyInput = { id?: bigint | number date?: bigint | number | null type?: string | null number?: bigint | number | null reference?: string | null amt?: number | null paid_amt?: number | null } export type statementUpdateManyMutationInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null number?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null paid_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type statementUncheckedUpdateManyInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null number?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null paid_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type statementOrderByRelevanceInput = { fields: Prisma.statementOrderByRelevanceFieldEnum | Prisma.statementOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type statementCountOrderByAggregateInput = { id?: Prisma.SortOrder date?: Prisma.SortOrder type?: Prisma.SortOrder number?: Prisma.SortOrder reference?: Prisma.SortOrder amt?: Prisma.SortOrder paid_amt?: Prisma.SortOrder } export type statementAvgOrderByAggregateInput = { id?: Prisma.SortOrder date?: Prisma.SortOrder number?: Prisma.SortOrder amt?: Prisma.SortOrder paid_amt?: Prisma.SortOrder } export type statementMaxOrderByAggregateInput = { id?: Prisma.SortOrder date?: Prisma.SortOrder type?: Prisma.SortOrder number?: Prisma.SortOrder reference?: Prisma.SortOrder amt?: Prisma.SortOrder paid_amt?: Prisma.SortOrder } export type statementMinOrderByAggregateInput = { id?: Prisma.SortOrder date?: Prisma.SortOrder type?: Prisma.SortOrder number?: Prisma.SortOrder reference?: Prisma.SortOrder amt?: Prisma.SortOrder paid_amt?: Prisma.SortOrder } export type statementSumOrderByAggregateInput = { id?: Prisma.SortOrder date?: Prisma.SortOrder number?: Prisma.SortOrder amt?: Prisma.SortOrder paid_amt?: Prisma.SortOrder } export type statementSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean date?: boolean type?: boolean number?: boolean reference?: boolean amt?: boolean paid_amt?: boolean }, ExtArgs["result"]["statement"]> export type statementSelectScalar = { id?: boolean date?: boolean type?: boolean number?: boolean reference?: boolean amt?: boolean paid_amt?: boolean } export type statementOmit = runtime.Types.Extensions.GetOmit<"id" | "date" | "type" | "number" | "reference" | "amt" | "paid_amt", ExtArgs["result"]["statement"]> export type $statementPayload = { name: "statement" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: bigint date: bigint | null type: string | null number: bigint | null reference: string | null amt: number | null paid_amt: number | null }, ExtArgs["result"]["statement"]> composites: {} } export type statementGetPayload = runtime.Types.Result.GetResult export type statementCountArgs = Omit & { select?: StatementCountAggregateInputType | true } export interface statementDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['statement'], meta: { name: 'statement' } } /** * Find zero or one Statement that matches the filter. * @param {statementFindUniqueArgs} args - Arguments to find a Statement * @example * // Get one Statement * const statement = await prisma.statement.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__statementClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Statement that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {statementFindUniqueOrThrowArgs} args - Arguments to find a Statement * @example * // Get one Statement * const statement = await prisma.statement.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__statementClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Statement 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 {statementFindFirstArgs} args - Arguments to find a Statement * @example * // Get one Statement * const statement = await prisma.statement.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__statementClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Statement 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 {statementFindFirstOrThrowArgs} args - Arguments to find a Statement * @example * // Get one Statement * const statement = await prisma.statement.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__statementClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Statements 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 {statementFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Statements * const statements = await prisma.statement.findMany() * * // Get first 10 Statements * const statements = await prisma.statement.findMany({ take: 10 }) * * // Only select the `id` * const statementWithIdOnly = await prisma.statement.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Statement. * @param {statementCreateArgs} args - Arguments to create a Statement. * @example * // Create one Statement * const Statement = await prisma.statement.create({ * data: { * // ... data to create a Statement * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__statementClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Statements. * @param {statementCreateManyArgs} args - Arguments to create many Statements. * @example * // Create many Statements * const statement = await prisma.statement.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Statement. * @param {statementDeleteArgs} args - Arguments to delete one Statement. * @example * // Delete one Statement * const Statement = await prisma.statement.delete({ * where: { * // ... filter to delete one Statement * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__statementClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Statement. * @param {statementUpdateArgs} args - Arguments to update one Statement. * @example * // Update one Statement * const statement = await prisma.statement.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__statementClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Statements. * @param {statementDeleteManyArgs} args - Arguments to filter Statements to delete. * @example * // Delete a few Statements * const { count } = await prisma.statement.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Statements. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {statementUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Statements * const statement = await prisma.statement.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Statement. * @param {statementUpsertArgs} args - Arguments to update or create a Statement. * @example * // Update or create a Statement * const statement = await prisma.statement.upsert({ * create: { * // ... data to create a Statement * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Statement we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__statementClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Statements. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {statementCountArgs} args - Arguments to filter Statements to count. * @example * // Count the number of Statements * const count = await prisma.statement.count({ * where: { * // ... the filter for the Statements 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 Statement. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {StatementAggregateArgs} 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 Statement. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {statementGroupByArgs} 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 statementGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: statementGroupByArgs['orderBy'] } : { orderBy?: statementGroupByArgs['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 ? GetStatementGroupByPayload : Prisma.PrismaPromise /** * Fields of the statement model */ readonly fields: statementFieldRefs; } /** * The delegate class that acts as a "Promise-like" for statement. * 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__statementClient 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 statement model */ export interface statementFieldRefs { readonly id: Prisma.FieldRef<"statement", 'BigInt'> readonly date: Prisma.FieldRef<"statement", 'BigInt'> readonly type: Prisma.FieldRef<"statement", 'String'> readonly number: Prisma.FieldRef<"statement", 'BigInt'> readonly reference: Prisma.FieldRef<"statement", 'String'> readonly amt: Prisma.FieldRef<"statement", 'Float'> readonly paid_amt: Prisma.FieldRef<"statement", 'Float'> } // Custom InputTypes /** * statement findUnique */ export type statementFindUniqueArgs = { /** * Select specific fields to fetch from the statement */ select?: Prisma.statementSelect | null /** * Omit specific fields from the statement */ omit?: Prisma.statementOmit | null /** * Filter, which statement to fetch. */ where: Prisma.statementWhereUniqueInput } /** * statement findUniqueOrThrow */ export type statementFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the statement */ select?: Prisma.statementSelect | null /** * Omit specific fields from the statement */ omit?: Prisma.statementOmit | null /** * Filter, which statement to fetch. */ where: Prisma.statementWhereUniqueInput } /** * statement findFirst */ export type statementFindFirstArgs = { /** * Select specific fields to fetch from the statement */ select?: Prisma.statementSelect | null /** * Omit specific fields from the statement */ omit?: Prisma.statementOmit | null /** * Filter, which statement to fetch. */ where?: Prisma.statementWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of statements to fetch. */ orderBy?: Prisma.statementOrderByWithRelationInput | Prisma.statementOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for statements. */ cursor?: Prisma.statementWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` statements 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` statements. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of statements. */ distinct?: Prisma.StatementScalarFieldEnum | Prisma.StatementScalarFieldEnum[] } /** * statement findFirstOrThrow */ export type statementFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the statement */ select?: Prisma.statementSelect | null /** * Omit specific fields from the statement */ omit?: Prisma.statementOmit | null /** * Filter, which statement to fetch. */ where?: Prisma.statementWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of statements to fetch. */ orderBy?: Prisma.statementOrderByWithRelationInput | Prisma.statementOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for statements. */ cursor?: Prisma.statementWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` statements 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` statements. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of statements. */ distinct?: Prisma.StatementScalarFieldEnum | Prisma.StatementScalarFieldEnum[] } /** * statement findMany */ export type statementFindManyArgs = { /** * Select specific fields to fetch from the statement */ select?: Prisma.statementSelect | null /** * Omit specific fields from the statement */ omit?: Prisma.statementOmit | null /** * Filter, which statements to fetch. */ where?: Prisma.statementWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of statements to fetch. */ orderBy?: Prisma.statementOrderByWithRelationInput | Prisma.statementOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing statements. */ cursor?: Prisma.statementWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` statements 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` statements. */ skip?: number distinct?: Prisma.StatementScalarFieldEnum | Prisma.StatementScalarFieldEnum[] } /** * statement create */ export type statementCreateArgs = { /** * Select specific fields to fetch from the statement */ select?: Prisma.statementSelect | null /** * Omit specific fields from the statement */ omit?: Prisma.statementOmit | null /** * The data needed to create a statement. */ data?: Prisma.XOR } /** * statement createMany */ export type statementCreateManyArgs = { /** * The data used to create many statements. */ data: Prisma.statementCreateManyInput | Prisma.statementCreateManyInput[] skipDuplicates?: boolean } /** * statement update */ export type statementUpdateArgs = { /** * Select specific fields to fetch from the statement */ select?: Prisma.statementSelect | null /** * Omit specific fields from the statement */ omit?: Prisma.statementOmit | null /** * The data needed to update a statement. */ data: Prisma.XOR /** * Choose, which statement to update. */ where: Prisma.statementWhereUniqueInput } /** * statement updateMany */ export type statementUpdateManyArgs = { /** * The data used to update statements. */ data: Prisma.XOR /** * Filter which statements to update */ where?: Prisma.statementWhereInput /** * Limit how many statements to update. */ limit?: number } /** * statement upsert */ export type statementUpsertArgs = { /** * Select specific fields to fetch from the statement */ select?: Prisma.statementSelect | null /** * Omit specific fields from the statement */ omit?: Prisma.statementOmit | null /** * The filter to search for the statement to update in case it exists. */ where: Prisma.statementWhereUniqueInput /** * In case the statement found by the `where` argument doesn't exist, create a new statement with this data. */ create: Prisma.XOR /** * In case the statement was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * statement delete */ export type statementDeleteArgs = { /** * Select specific fields to fetch from the statement */ select?: Prisma.statementSelect | null /** * Omit specific fields from the statement */ omit?: Prisma.statementOmit | null /** * Filter which statement to delete. */ where: Prisma.statementWhereUniqueInput } /** * statement deleteMany */ export type statementDeleteManyArgs = { /** * Filter which statements to delete */ where?: Prisma.statementWhereInput /** * Limit how many statements to delete. */ limit?: number } /** * statement without action */ export type statementDefaultArgs = { /** * Select specific fields to fetch from the statement */ select?: Prisma.statementSelect | null /** * Omit specific fields from the statement */ omit?: Prisma.statementOmit | null }