/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `deposit_slip` 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 deposit_slip * */ export type deposit_slipModel = runtime.Types.Result.DefaultSelection export type AggregateDeposit_slip = { _count: Deposit_slipCountAggregateOutputType | null _avg: Deposit_slipAvgAggregateOutputType | null _sum: Deposit_slipSumAggregateOutputType | null _min: Deposit_slipMinAggregateOutputType | null _max: Deposit_slipMaxAggregateOutputType | null } export type Deposit_slipAvgAggregateOutputType = { id: number | null amount: number | null date: number | null } export type Deposit_slipSumAggregateOutputType = { id: number | null amount: number | null date: bigint | null } export type Deposit_slipMinAggregateOutputType = { id: number | null customer_id: string | null name: string | null amount: number | null type: string | null desc: string | null date: bigint | null } export type Deposit_slipMaxAggregateOutputType = { id: number | null customer_id: string | null name: string | null amount: number | null type: string | null desc: string | null date: bigint | null } export type Deposit_slipCountAggregateOutputType = { id: number customer_id: number name: number amount: number type: number desc: number date: number _all: number } export type Deposit_slipAvgAggregateInputType = { id?: true amount?: true date?: true } export type Deposit_slipSumAggregateInputType = { id?: true amount?: true date?: true } export type Deposit_slipMinAggregateInputType = { id?: true customer_id?: true name?: true amount?: true type?: true desc?: true date?: true } export type Deposit_slipMaxAggregateInputType = { id?: true customer_id?: true name?: true amount?: true type?: true desc?: true date?: true } export type Deposit_slipCountAggregateInputType = { id?: true customer_id?: true name?: true amount?: true type?: true desc?: true date?: true _all?: true } export type Deposit_slipAggregateArgs = { /** * Filter which deposit_slip to aggregate. */ where?: Prisma.deposit_slipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of deposit_slips to fetch. */ orderBy?: Prisma.deposit_slipOrderByWithRelationInput | Prisma.deposit_slipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.deposit_slipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` deposit_slips 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` deposit_slips. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned deposit_slips **/ _count?: true | Deposit_slipCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Deposit_slipAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Deposit_slipSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Deposit_slipMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Deposit_slipMaxAggregateInputType } export type GetDeposit_slipAggregateType = { [P in keyof T & keyof AggregateDeposit_slip]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type deposit_slipGroupByArgs = { where?: Prisma.deposit_slipWhereInput orderBy?: Prisma.deposit_slipOrderByWithAggregationInput | Prisma.deposit_slipOrderByWithAggregationInput[] by: Prisma.Deposit_slipScalarFieldEnum[] | Prisma.Deposit_slipScalarFieldEnum having?: Prisma.deposit_slipScalarWhereWithAggregatesInput take?: number skip?: number _count?: Deposit_slipCountAggregateInputType | true _avg?: Deposit_slipAvgAggregateInputType _sum?: Deposit_slipSumAggregateInputType _min?: Deposit_slipMinAggregateInputType _max?: Deposit_slipMaxAggregateInputType } export type Deposit_slipGroupByOutputType = { id: number customer_id: string | null name: string | null amount: number type: string desc: string | null date: bigint | null _count: Deposit_slipCountAggregateOutputType | null _avg: Deposit_slipAvgAggregateOutputType | null _sum: Deposit_slipSumAggregateOutputType | null _min: Deposit_slipMinAggregateOutputType | null _max: Deposit_slipMaxAggregateOutputType | null } type GetDeposit_slipGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Deposit_slipGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type deposit_slipWhereInput = { AND?: Prisma.deposit_slipWhereInput | Prisma.deposit_slipWhereInput[] OR?: Prisma.deposit_slipWhereInput[] NOT?: Prisma.deposit_slipWhereInput | Prisma.deposit_slipWhereInput[] id?: Prisma.IntFilter<"deposit_slip"> | number customer_id?: Prisma.StringNullableFilter<"deposit_slip"> | string | null name?: Prisma.StringNullableFilter<"deposit_slip"> | string | null amount?: Prisma.FloatFilter<"deposit_slip"> | number type?: Prisma.StringFilter<"deposit_slip"> | string desc?: Prisma.StringNullableFilter<"deposit_slip"> | string | null date?: Prisma.BigIntNullableFilter<"deposit_slip"> | bigint | number | null } export type deposit_slipOrderByWithRelationInput = { id?: Prisma.SortOrder customer_id?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder amount?: Prisma.SortOrder type?: Prisma.SortOrder desc?: Prisma.SortOrderInput | Prisma.SortOrder date?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.deposit_slipOrderByRelevanceInput } export type deposit_slipWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.deposit_slipWhereInput | Prisma.deposit_slipWhereInput[] OR?: Prisma.deposit_slipWhereInput[] NOT?: Prisma.deposit_slipWhereInput | Prisma.deposit_slipWhereInput[] customer_id?: Prisma.StringNullableFilter<"deposit_slip"> | string | null name?: Prisma.StringNullableFilter<"deposit_slip"> | string | null amount?: Prisma.FloatFilter<"deposit_slip"> | number type?: Prisma.StringFilter<"deposit_slip"> | string desc?: Prisma.StringNullableFilter<"deposit_slip"> | string | null date?: Prisma.BigIntNullableFilter<"deposit_slip"> | bigint | number | null }, "id"> export type deposit_slipOrderByWithAggregationInput = { id?: Prisma.SortOrder customer_id?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder amount?: Prisma.SortOrder type?: Prisma.SortOrder desc?: Prisma.SortOrderInput | Prisma.SortOrder date?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.deposit_slipCountOrderByAggregateInput _avg?: Prisma.deposit_slipAvgOrderByAggregateInput _max?: Prisma.deposit_slipMaxOrderByAggregateInput _min?: Prisma.deposit_slipMinOrderByAggregateInput _sum?: Prisma.deposit_slipSumOrderByAggregateInput } export type deposit_slipScalarWhereWithAggregatesInput = { AND?: Prisma.deposit_slipScalarWhereWithAggregatesInput | Prisma.deposit_slipScalarWhereWithAggregatesInput[] OR?: Prisma.deposit_slipScalarWhereWithAggregatesInput[] NOT?: Prisma.deposit_slipScalarWhereWithAggregatesInput | Prisma.deposit_slipScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"deposit_slip"> | number customer_id?: Prisma.StringNullableWithAggregatesFilter<"deposit_slip"> | string | null name?: Prisma.StringNullableWithAggregatesFilter<"deposit_slip"> | string | null amount?: Prisma.FloatWithAggregatesFilter<"deposit_slip"> | number type?: Prisma.StringWithAggregatesFilter<"deposit_slip"> | string desc?: Prisma.StringNullableWithAggregatesFilter<"deposit_slip"> | string | null date?: Prisma.BigIntNullableWithAggregatesFilter<"deposit_slip"> | bigint | number | null } export type deposit_slipCreateInput = { customer_id?: string | null name?: string | null amount?: number type: string desc?: string | null date?: bigint | number | null } export type deposit_slipUncheckedCreateInput = { id?: number customer_id?: string | null name?: string | null amount?: number type: string desc?: string | null date?: bigint | number | null } export type deposit_slipUpdateInput = { customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null amount?: Prisma.FloatFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null } export type deposit_slipUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null amount?: Prisma.FloatFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null } export type deposit_slipCreateManyInput = { id?: number customer_id?: string | null name?: string | null amount?: number type: string desc?: string | null date?: bigint | number | null } export type deposit_slipUpdateManyMutationInput = { customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null amount?: Prisma.FloatFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null } export type deposit_slipUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null amount?: Prisma.FloatFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null } export type deposit_slipOrderByRelevanceInput = { fields: Prisma.deposit_slipOrderByRelevanceFieldEnum | Prisma.deposit_slipOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type deposit_slipCountOrderByAggregateInput = { id?: Prisma.SortOrder customer_id?: Prisma.SortOrder name?: Prisma.SortOrder amount?: Prisma.SortOrder type?: Prisma.SortOrder desc?: Prisma.SortOrder date?: Prisma.SortOrder } export type deposit_slipAvgOrderByAggregateInput = { id?: Prisma.SortOrder amount?: Prisma.SortOrder date?: Prisma.SortOrder } export type deposit_slipMaxOrderByAggregateInput = { id?: Prisma.SortOrder customer_id?: Prisma.SortOrder name?: Prisma.SortOrder amount?: Prisma.SortOrder type?: Prisma.SortOrder desc?: Prisma.SortOrder date?: Prisma.SortOrder } export type deposit_slipMinOrderByAggregateInput = { id?: Prisma.SortOrder customer_id?: Prisma.SortOrder name?: Prisma.SortOrder amount?: Prisma.SortOrder type?: Prisma.SortOrder desc?: Prisma.SortOrder date?: Prisma.SortOrder } export type deposit_slipSumOrderByAggregateInput = { id?: Prisma.SortOrder amount?: Prisma.SortOrder date?: Prisma.SortOrder } export type deposit_slipSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean customer_id?: boolean name?: boolean amount?: boolean type?: boolean desc?: boolean date?: boolean }, ExtArgs["result"]["deposit_slip"]> export type deposit_slipSelectScalar = { id?: boolean customer_id?: boolean name?: boolean amount?: boolean type?: boolean desc?: boolean date?: boolean } export type deposit_slipOmit = runtime.Types.Extensions.GetOmit<"id" | "customer_id" | "name" | "amount" | "type" | "desc" | "date", ExtArgs["result"]["deposit_slip"]> export type $deposit_slipPayload = { name: "deposit_slip" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number customer_id: string | null name: string | null amount: number type: string desc: string | null date: bigint | null }, ExtArgs["result"]["deposit_slip"]> composites: {} } export type deposit_slipGetPayload = runtime.Types.Result.GetResult export type deposit_slipCountArgs = Omit & { select?: Deposit_slipCountAggregateInputType | true } export interface deposit_slipDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['deposit_slip'], meta: { name: 'deposit_slip' } } /** * Find zero or one Deposit_slip that matches the filter. * @param {deposit_slipFindUniqueArgs} args - Arguments to find a Deposit_slip * @example * // Get one Deposit_slip * const deposit_slip = await prisma.deposit_slip.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__deposit_slipClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Deposit_slip that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {deposit_slipFindUniqueOrThrowArgs} args - Arguments to find a Deposit_slip * @example * // Get one Deposit_slip * const deposit_slip = await prisma.deposit_slip.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__deposit_slipClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Deposit_slip 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 {deposit_slipFindFirstArgs} args - Arguments to find a Deposit_slip * @example * // Get one Deposit_slip * const deposit_slip = await prisma.deposit_slip.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__deposit_slipClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Deposit_slip 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 {deposit_slipFindFirstOrThrowArgs} args - Arguments to find a Deposit_slip * @example * // Get one Deposit_slip * const deposit_slip = await prisma.deposit_slip.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__deposit_slipClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Deposit_slips 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 {deposit_slipFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Deposit_slips * const deposit_slips = await prisma.deposit_slip.findMany() * * // Get first 10 Deposit_slips * const deposit_slips = await prisma.deposit_slip.findMany({ take: 10 }) * * // Only select the `id` * const deposit_slipWithIdOnly = await prisma.deposit_slip.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Deposit_slip. * @param {deposit_slipCreateArgs} args - Arguments to create a Deposit_slip. * @example * // Create one Deposit_slip * const Deposit_slip = await prisma.deposit_slip.create({ * data: { * // ... data to create a Deposit_slip * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__deposit_slipClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Deposit_slips. * @param {deposit_slipCreateManyArgs} args - Arguments to create many Deposit_slips. * @example * // Create many Deposit_slips * const deposit_slip = await prisma.deposit_slip.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Deposit_slip. * @param {deposit_slipDeleteArgs} args - Arguments to delete one Deposit_slip. * @example * // Delete one Deposit_slip * const Deposit_slip = await prisma.deposit_slip.delete({ * where: { * // ... filter to delete one Deposit_slip * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__deposit_slipClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Deposit_slip. * @param {deposit_slipUpdateArgs} args - Arguments to update one Deposit_slip. * @example * // Update one Deposit_slip * const deposit_slip = await prisma.deposit_slip.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__deposit_slipClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Deposit_slips. * @param {deposit_slipDeleteManyArgs} args - Arguments to filter Deposit_slips to delete. * @example * // Delete a few Deposit_slips * const { count } = await prisma.deposit_slip.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Deposit_slips. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {deposit_slipUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Deposit_slips * const deposit_slip = await prisma.deposit_slip.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Deposit_slip. * @param {deposit_slipUpsertArgs} args - Arguments to update or create a Deposit_slip. * @example * // Update or create a Deposit_slip * const deposit_slip = await prisma.deposit_slip.upsert({ * create: { * // ... data to create a Deposit_slip * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Deposit_slip we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__deposit_slipClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Deposit_slips. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {deposit_slipCountArgs} args - Arguments to filter Deposit_slips to count. * @example * // Count the number of Deposit_slips * const count = await prisma.deposit_slip.count({ * where: { * // ... the filter for the Deposit_slips 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 Deposit_slip. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Deposit_slipAggregateArgs} 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 Deposit_slip. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {deposit_slipGroupByArgs} 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 deposit_slipGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: deposit_slipGroupByArgs['orderBy'] } : { orderBy?: deposit_slipGroupByArgs['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 ? GetDeposit_slipGroupByPayload : Prisma.PrismaPromise /** * Fields of the deposit_slip model */ readonly fields: deposit_slipFieldRefs; } /** * The delegate class that acts as a "Promise-like" for deposit_slip. * 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__deposit_slipClient 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 deposit_slip model */ export interface deposit_slipFieldRefs { readonly id: Prisma.FieldRef<"deposit_slip", 'Int'> readonly customer_id: Prisma.FieldRef<"deposit_slip", 'String'> readonly name: Prisma.FieldRef<"deposit_slip", 'String'> readonly amount: Prisma.FieldRef<"deposit_slip", 'Float'> readonly type: Prisma.FieldRef<"deposit_slip", 'String'> readonly desc: Prisma.FieldRef<"deposit_slip", 'String'> readonly date: Prisma.FieldRef<"deposit_slip", 'BigInt'> } // Custom InputTypes /** * deposit_slip findUnique */ export type deposit_slipFindUniqueArgs = { /** * Select specific fields to fetch from the deposit_slip */ select?: Prisma.deposit_slipSelect | null /** * Omit specific fields from the deposit_slip */ omit?: Prisma.deposit_slipOmit | null /** * Filter, which deposit_slip to fetch. */ where: Prisma.deposit_slipWhereUniqueInput } /** * deposit_slip findUniqueOrThrow */ export type deposit_slipFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the deposit_slip */ select?: Prisma.deposit_slipSelect | null /** * Omit specific fields from the deposit_slip */ omit?: Prisma.deposit_slipOmit | null /** * Filter, which deposit_slip to fetch. */ where: Prisma.deposit_slipWhereUniqueInput } /** * deposit_slip findFirst */ export type deposit_slipFindFirstArgs = { /** * Select specific fields to fetch from the deposit_slip */ select?: Prisma.deposit_slipSelect | null /** * Omit specific fields from the deposit_slip */ omit?: Prisma.deposit_slipOmit | null /** * Filter, which deposit_slip to fetch. */ where?: Prisma.deposit_slipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of deposit_slips to fetch. */ orderBy?: Prisma.deposit_slipOrderByWithRelationInput | Prisma.deposit_slipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for deposit_slips. */ cursor?: Prisma.deposit_slipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` deposit_slips 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` deposit_slips. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of deposit_slips. */ distinct?: Prisma.Deposit_slipScalarFieldEnum | Prisma.Deposit_slipScalarFieldEnum[] } /** * deposit_slip findFirstOrThrow */ export type deposit_slipFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the deposit_slip */ select?: Prisma.deposit_slipSelect | null /** * Omit specific fields from the deposit_slip */ omit?: Prisma.deposit_slipOmit | null /** * Filter, which deposit_slip to fetch. */ where?: Prisma.deposit_slipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of deposit_slips to fetch. */ orderBy?: Prisma.deposit_slipOrderByWithRelationInput | Prisma.deposit_slipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for deposit_slips. */ cursor?: Prisma.deposit_slipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` deposit_slips 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` deposit_slips. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of deposit_slips. */ distinct?: Prisma.Deposit_slipScalarFieldEnum | Prisma.Deposit_slipScalarFieldEnum[] } /** * deposit_slip findMany */ export type deposit_slipFindManyArgs = { /** * Select specific fields to fetch from the deposit_slip */ select?: Prisma.deposit_slipSelect | null /** * Omit specific fields from the deposit_slip */ omit?: Prisma.deposit_slipOmit | null /** * Filter, which deposit_slips to fetch. */ where?: Prisma.deposit_slipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of deposit_slips to fetch. */ orderBy?: Prisma.deposit_slipOrderByWithRelationInput | Prisma.deposit_slipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing deposit_slips. */ cursor?: Prisma.deposit_slipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` deposit_slips 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` deposit_slips. */ skip?: number distinct?: Prisma.Deposit_slipScalarFieldEnum | Prisma.Deposit_slipScalarFieldEnum[] } /** * deposit_slip create */ export type deposit_slipCreateArgs = { /** * Select specific fields to fetch from the deposit_slip */ select?: Prisma.deposit_slipSelect | null /** * Omit specific fields from the deposit_slip */ omit?: Prisma.deposit_slipOmit | null /** * The data needed to create a deposit_slip. */ data: Prisma.XOR } /** * deposit_slip createMany */ export type deposit_slipCreateManyArgs = { /** * The data used to create many deposit_slips. */ data: Prisma.deposit_slipCreateManyInput | Prisma.deposit_slipCreateManyInput[] skipDuplicates?: boolean } /** * deposit_slip update */ export type deposit_slipUpdateArgs = { /** * Select specific fields to fetch from the deposit_slip */ select?: Prisma.deposit_slipSelect | null /** * Omit specific fields from the deposit_slip */ omit?: Prisma.deposit_slipOmit | null /** * The data needed to update a deposit_slip. */ data: Prisma.XOR /** * Choose, which deposit_slip to update. */ where: Prisma.deposit_slipWhereUniqueInput } /** * deposit_slip updateMany */ export type deposit_slipUpdateManyArgs = { /** * The data used to update deposit_slips. */ data: Prisma.XOR /** * Filter which deposit_slips to update */ where?: Prisma.deposit_slipWhereInput /** * Limit how many deposit_slips to update. */ limit?: number } /** * deposit_slip upsert */ export type deposit_slipUpsertArgs = { /** * Select specific fields to fetch from the deposit_slip */ select?: Prisma.deposit_slipSelect | null /** * Omit specific fields from the deposit_slip */ omit?: Prisma.deposit_slipOmit | null /** * The filter to search for the deposit_slip to update in case it exists. */ where: Prisma.deposit_slipWhereUniqueInput /** * In case the deposit_slip found by the `where` argument doesn't exist, create a new deposit_slip with this data. */ create: Prisma.XOR /** * In case the deposit_slip was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * deposit_slip delete */ export type deposit_slipDeleteArgs = { /** * Select specific fields to fetch from the deposit_slip */ select?: Prisma.deposit_slipSelect | null /** * Omit specific fields from the deposit_slip */ omit?: Prisma.deposit_slipOmit | null /** * Filter which deposit_slip to delete. */ where: Prisma.deposit_slipWhereUniqueInput } /** * deposit_slip deleteMany */ export type deposit_slipDeleteManyArgs = { /** * Filter which deposit_slips to delete */ where?: Prisma.deposit_slipWhereInput /** * Limit how many deposit_slips to delete. */ limit?: number } /** * deposit_slip without action */ export type deposit_slipDefaultArgs = { /** * Select specific fields to fetch from the deposit_slip */ select?: Prisma.deposit_slipSelect | null /** * Omit specific fields from the deposit_slip */ omit?: Prisma.deposit_slipOmit | null }