/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `invoice_tax_bk` 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 invoice_tax_bk * */ export type invoice_tax_bkModel = runtime.Types.Result.DefaultSelection export type AggregateInvoice_tax_bk = { _count: Invoice_tax_bkCountAggregateOutputType | null _avg: Invoice_tax_bkAvgAggregateOutputType | null _sum: Invoice_tax_bkSumAggregateOutputType | null _min: Invoice_tax_bkMinAggregateOutputType | null _max: Invoice_tax_bkMaxAggregateOutputType | null } export type Invoice_tax_bkAvgAggregateOutputType = { id: number | null invoice_id: number | null tax_rate: number | null amount: number | null } export type Invoice_tax_bkSumAggregateOutputType = { id: bigint | null invoice_id: bigint | null tax_rate: number | null amount: number | null } export type Invoice_tax_bkMinAggregateOutputType = { id: bigint | null invoice_id: bigint | null tax_name: string | null tax_description: string | null tax_rate: number | null amount: number | null } export type Invoice_tax_bkMaxAggregateOutputType = { id: bigint | null invoice_id: bigint | null tax_name: string | null tax_description: string | null tax_rate: number | null amount: number | null } export type Invoice_tax_bkCountAggregateOutputType = { id: number invoice_id: number tax_name: number tax_description: number tax_rate: number amount: number _all: number } export type Invoice_tax_bkAvgAggregateInputType = { id?: true invoice_id?: true tax_rate?: true amount?: true } export type Invoice_tax_bkSumAggregateInputType = { id?: true invoice_id?: true tax_rate?: true amount?: true } export type Invoice_tax_bkMinAggregateInputType = { id?: true invoice_id?: true tax_name?: true tax_description?: true tax_rate?: true amount?: true } export type Invoice_tax_bkMaxAggregateInputType = { id?: true invoice_id?: true tax_name?: true tax_description?: true tax_rate?: true amount?: true } export type Invoice_tax_bkCountAggregateInputType = { id?: true invoice_id?: true tax_name?: true tax_description?: true tax_rate?: true amount?: true _all?: true } export type Invoice_tax_bkAggregateArgs = { /** * Filter which invoice_tax_bk to aggregate. */ where?: Prisma.invoice_tax_bkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of invoice_tax_bks to fetch. */ orderBy?: Prisma.invoice_tax_bkOrderByWithRelationInput | Prisma.invoice_tax_bkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.invoice_tax_bkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` invoice_tax_bks 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` invoice_tax_bks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned invoice_tax_bks **/ _count?: true | Invoice_tax_bkCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Invoice_tax_bkAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Invoice_tax_bkSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Invoice_tax_bkMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Invoice_tax_bkMaxAggregateInputType } export type GetInvoice_tax_bkAggregateType = { [P in keyof T & keyof AggregateInvoice_tax_bk]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type invoice_tax_bkGroupByArgs = { where?: Prisma.invoice_tax_bkWhereInput orderBy?: Prisma.invoice_tax_bkOrderByWithAggregationInput | Prisma.invoice_tax_bkOrderByWithAggregationInput[] by: Prisma.Invoice_tax_bkScalarFieldEnum[] | Prisma.Invoice_tax_bkScalarFieldEnum having?: Prisma.invoice_tax_bkScalarWhereWithAggregatesInput take?: number skip?: number _count?: Invoice_tax_bkCountAggregateInputType | true _avg?: Invoice_tax_bkAvgAggregateInputType _sum?: Invoice_tax_bkSumAggregateInputType _min?: Invoice_tax_bkMinAggregateInputType _max?: Invoice_tax_bkMaxAggregateInputType } export type Invoice_tax_bkGroupByOutputType = { id: bigint invoice_id: bigint | null tax_name: string | null tax_description: string | null tax_rate: number | null amount: number | null _count: Invoice_tax_bkCountAggregateOutputType | null _avg: Invoice_tax_bkAvgAggregateOutputType | null _sum: Invoice_tax_bkSumAggregateOutputType | null _min: Invoice_tax_bkMinAggregateOutputType | null _max: Invoice_tax_bkMaxAggregateOutputType | null } type GetInvoice_tax_bkGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Invoice_tax_bkGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type invoice_tax_bkWhereInput = { AND?: Prisma.invoice_tax_bkWhereInput | Prisma.invoice_tax_bkWhereInput[] OR?: Prisma.invoice_tax_bkWhereInput[] NOT?: Prisma.invoice_tax_bkWhereInput | Prisma.invoice_tax_bkWhereInput[] id?: Prisma.BigIntFilter<"invoice_tax_bk"> | bigint | number invoice_id?: Prisma.BigIntNullableFilter<"invoice_tax_bk"> | bigint | number | null tax_name?: Prisma.StringNullableFilter<"invoice_tax_bk"> | string | null tax_description?: Prisma.StringNullableFilter<"invoice_tax_bk"> | string | null tax_rate?: Prisma.FloatNullableFilter<"invoice_tax_bk"> | number | null amount?: Prisma.FloatNullableFilter<"invoice_tax_bk"> | number | null } export type invoice_tax_bkOrderByWithRelationInput = { id?: Prisma.SortOrder invoice_id?: Prisma.SortOrderInput | Prisma.SortOrder tax_name?: Prisma.SortOrderInput | Prisma.SortOrder tax_description?: Prisma.SortOrderInput | Prisma.SortOrder tax_rate?: Prisma.SortOrderInput | Prisma.SortOrder amount?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.invoice_tax_bkOrderByRelevanceInput } export type invoice_tax_bkWhereUniqueInput = Prisma.AtLeast<{ id?: bigint | number AND?: Prisma.invoice_tax_bkWhereInput | Prisma.invoice_tax_bkWhereInput[] OR?: Prisma.invoice_tax_bkWhereInput[] NOT?: Prisma.invoice_tax_bkWhereInput | Prisma.invoice_tax_bkWhereInput[] invoice_id?: Prisma.BigIntNullableFilter<"invoice_tax_bk"> | bigint | number | null tax_name?: Prisma.StringNullableFilter<"invoice_tax_bk"> | string | null tax_description?: Prisma.StringNullableFilter<"invoice_tax_bk"> | string | null tax_rate?: Prisma.FloatNullableFilter<"invoice_tax_bk"> | number | null amount?: Prisma.FloatNullableFilter<"invoice_tax_bk"> | number | null }, "id"> export type invoice_tax_bkOrderByWithAggregationInput = { id?: Prisma.SortOrder invoice_id?: Prisma.SortOrderInput | Prisma.SortOrder tax_name?: Prisma.SortOrderInput | Prisma.SortOrder tax_description?: Prisma.SortOrderInput | Prisma.SortOrder tax_rate?: Prisma.SortOrderInput | Prisma.SortOrder amount?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.invoice_tax_bkCountOrderByAggregateInput _avg?: Prisma.invoice_tax_bkAvgOrderByAggregateInput _max?: Prisma.invoice_tax_bkMaxOrderByAggregateInput _min?: Prisma.invoice_tax_bkMinOrderByAggregateInput _sum?: Prisma.invoice_tax_bkSumOrderByAggregateInput } export type invoice_tax_bkScalarWhereWithAggregatesInput = { AND?: Prisma.invoice_tax_bkScalarWhereWithAggregatesInput | Prisma.invoice_tax_bkScalarWhereWithAggregatesInput[] OR?: Prisma.invoice_tax_bkScalarWhereWithAggregatesInput[] NOT?: Prisma.invoice_tax_bkScalarWhereWithAggregatesInput | Prisma.invoice_tax_bkScalarWhereWithAggregatesInput[] id?: Prisma.BigIntWithAggregatesFilter<"invoice_tax_bk"> | bigint | number invoice_id?: Prisma.BigIntNullableWithAggregatesFilter<"invoice_tax_bk"> | bigint | number | null tax_name?: Prisma.StringNullableWithAggregatesFilter<"invoice_tax_bk"> | string | null tax_description?: Prisma.StringNullableWithAggregatesFilter<"invoice_tax_bk"> | string | null tax_rate?: Prisma.FloatNullableWithAggregatesFilter<"invoice_tax_bk"> | number | null amount?: Prisma.FloatNullableWithAggregatesFilter<"invoice_tax_bk"> | number | null } export type invoice_tax_bkCreateInput = { id?: bigint | number invoice_id?: bigint | number | null tax_name?: string | null tax_description?: string | null tax_rate?: number | null amount?: number | null } export type invoice_tax_bkUncheckedCreateInput = { id?: bigint | number invoice_id?: bigint | number | null tax_name?: string | null tax_description?: string | null tax_rate?: number | null amount?: number | null } export type invoice_tax_bkUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null tax_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax_rate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type invoice_tax_bkUncheckedUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null tax_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax_rate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type invoice_tax_bkCreateManyInput = { id?: bigint | number invoice_id?: bigint | number | null tax_name?: string | null tax_description?: string | null tax_rate?: number | null amount?: number | null } export type invoice_tax_bkUpdateManyMutationInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null tax_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax_rate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type invoice_tax_bkUncheckedUpdateManyInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null tax_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax_rate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type invoice_tax_bkOrderByRelevanceInput = { fields: Prisma.invoice_tax_bkOrderByRelevanceFieldEnum | Prisma.invoice_tax_bkOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type invoice_tax_bkCountOrderByAggregateInput = { id?: Prisma.SortOrder invoice_id?: Prisma.SortOrder tax_name?: Prisma.SortOrder tax_description?: Prisma.SortOrder tax_rate?: Prisma.SortOrder amount?: Prisma.SortOrder } export type invoice_tax_bkAvgOrderByAggregateInput = { id?: Prisma.SortOrder invoice_id?: Prisma.SortOrder tax_rate?: Prisma.SortOrder amount?: Prisma.SortOrder } export type invoice_tax_bkMaxOrderByAggregateInput = { id?: Prisma.SortOrder invoice_id?: Prisma.SortOrder tax_name?: Prisma.SortOrder tax_description?: Prisma.SortOrder tax_rate?: Prisma.SortOrder amount?: Prisma.SortOrder } export type invoice_tax_bkMinOrderByAggregateInput = { id?: Prisma.SortOrder invoice_id?: Prisma.SortOrder tax_name?: Prisma.SortOrder tax_description?: Prisma.SortOrder tax_rate?: Prisma.SortOrder amount?: Prisma.SortOrder } export type invoice_tax_bkSumOrderByAggregateInput = { id?: Prisma.SortOrder invoice_id?: Prisma.SortOrder tax_rate?: Prisma.SortOrder amount?: Prisma.SortOrder } export type invoice_tax_bkSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean invoice_id?: boolean tax_name?: boolean tax_description?: boolean tax_rate?: boolean amount?: boolean }, ExtArgs["result"]["invoice_tax_bk"]> export type invoice_tax_bkSelectScalar = { id?: boolean invoice_id?: boolean tax_name?: boolean tax_description?: boolean tax_rate?: boolean amount?: boolean } export type invoice_tax_bkOmit = runtime.Types.Extensions.GetOmit<"id" | "invoice_id" | "tax_name" | "tax_description" | "tax_rate" | "amount", ExtArgs["result"]["invoice_tax_bk"]> export type $invoice_tax_bkPayload = { name: "invoice_tax_bk" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: bigint invoice_id: bigint | null tax_name: string | null tax_description: string | null tax_rate: number | null amount: number | null }, ExtArgs["result"]["invoice_tax_bk"]> composites: {} } export type invoice_tax_bkGetPayload = runtime.Types.Result.GetResult export type invoice_tax_bkCountArgs = Omit & { select?: Invoice_tax_bkCountAggregateInputType | true } export interface invoice_tax_bkDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['invoice_tax_bk'], meta: { name: 'invoice_tax_bk' } } /** * Find zero or one Invoice_tax_bk that matches the filter. * @param {invoice_tax_bkFindUniqueArgs} args - Arguments to find a Invoice_tax_bk * @example * // Get one Invoice_tax_bk * const invoice_tax_bk = await prisma.invoice_tax_bk.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_tax_bkClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Invoice_tax_bk that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {invoice_tax_bkFindUniqueOrThrowArgs} args - Arguments to find a Invoice_tax_bk * @example * // Get one Invoice_tax_bk * const invoice_tax_bk = await prisma.invoice_tax_bk.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_tax_bkClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Invoice_tax_bk 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 {invoice_tax_bkFindFirstArgs} args - Arguments to find a Invoice_tax_bk * @example * // Get one Invoice_tax_bk * const invoice_tax_bk = await prisma.invoice_tax_bk.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__invoice_tax_bkClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Invoice_tax_bk 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 {invoice_tax_bkFindFirstOrThrowArgs} args - Arguments to find a Invoice_tax_bk * @example * // Get one Invoice_tax_bk * const invoice_tax_bk = await prisma.invoice_tax_bk.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__invoice_tax_bkClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Invoice_tax_bks 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 {invoice_tax_bkFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Invoice_tax_bks * const invoice_tax_bks = await prisma.invoice_tax_bk.findMany() * * // Get first 10 Invoice_tax_bks * const invoice_tax_bks = await prisma.invoice_tax_bk.findMany({ take: 10 }) * * // Only select the `id` * const invoice_tax_bkWithIdOnly = await prisma.invoice_tax_bk.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Invoice_tax_bk. * @param {invoice_tax_bkCreateArgs} args - Arguments to create a Invoice_tax_bk. * @example * // Create one Invoice_tax_bk * const Invoice_tax_bk = await prisma.invoice_tax_bk.create({ * data: { * // ... data to create a Invoice_tax_bk * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_tax_bkClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Invoice_tax_bks. * @param {invoice_tax_bkCreateManyArgs} args - Arguments to create many Invoice_tax_bks. * @example * // Create many Invoice_tax_bks * const invoice_tax_bk = await prisma.invoice_tax_bk.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Invoice_tax_bk. * @param {invoice_tax_bkDeleteArgs} args - Arguments to delete one Invoice_tax_bk. * @example * // Delete one Invoice_tax_bk * const Invoice_tax_bk = await prisma.invoice_tax_bk.delete({ * where: { * // ... filter to delete one Invoice_tax_bk * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_tax_bkClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Invoice_tax_bk. * @param {invoice_tax_bkUpdateArgs} args - Arguments to update one Invoice_tax_bk. * @example * // Update one Invoice_tax_bk * const invoice_tax_bk = await prisma.invoice_tax_bk.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_tax_bkClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Invoice_tax_bks. * @param {invoice_tax_bkDeleteManyArgs} args - Arguments to filter Invoice_tax_bks to delete. * @example * // Delete a few Invoice_tax_bks * const { count } = await prisma.invoice_tax_bk.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Invoice_tax_bks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {invoice_tax_bkUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Invoice_tax_bks * const invoice_tax_bk = await prisma.invoice_tax_bk.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Invoice_tax_bk. * @param {invoice_tax_bkUpsertArgs} args - Arguments to update or create a Invoice_tax_bk. * @example * // Update or create a Invoice_tax_bk * const invoice_tax_bk = await prisma.invoice_tax_bk.upsert({ * create: { * // ... data to create a Invoice_tax_bk * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Invoice_tax_bk we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_tax_bkClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Invoice_tax_bks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {invoice_tax_bkCountArgs} args - Arguments to filter Invoice_tax_bks to count. * @example * // Count the number of Invoice_tax_bks * const count = await prisma.invoice_tax_bk.count({ * where: { * // ... the filter for the Invoice_tax_bks 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 Invoice_tax_bk. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Invoice_tax_bkAggregateArgs} 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 Invoice_tax_bk. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {invoice_tax_bkGroupByArgs} 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 invoice_tax_bkGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: invoice_tax_bkGroupByArgs['orderBy'] } : { orderBy?: invoice_tax_bkGroupByArgs['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 ? GetInvoice_tax_bkGroupByPayload : Prisma.PrismaPromise /** * Fields of the invoice_tax_bk model */ readonly fields: invoice_tax_bkFieldRefs; } /** * The delegate class that acts as a "Promise-like" for invoice_tax_bk. * 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__invoice_tax_bkClient 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 invoice_tax_bk model */ export interface invoice_tax_bkFieldRefs { readonly id: Prisma.FieldRef<"invoice_tax_bk", 'BigInt'> readonly invoice_id: Prisma.FieldRef<"invoice_tax_bk", 'BigInt'> readonly tax_name: Prisma.FieldRef<"invoice_tax_bk", 'String'> readonly tax_description: Prisma.FieldRef<"invoice_tax_bk", 'String'> readonly tax_rate: Prisma.FieldRef<"invoice_tax_bk", 'Float'> readonly amount: Prisma.FieldRef<"invoice_tax_bk", 'Float'> } // Custom InputTypes /** * invoice_tax_bk findUnique */ export type invoice_tax_bkFindUniqueArgs = { /** * Select specific fields to fetch from the invoice_tax_bk */ select?: Prisma.invoice_tax_bkSelect | null /** * Omit specific fields from the invoice_tax_bk */ omit?: Prisma.invoice_tax_bkOmit | null /** * Filter, which invoice_tax_bk to fetch. */ where: Prisma.invoice_tax_bkWhereUniqueInput } /** * invoice_tax_bk findUniqueOrThrow */ export type invoice_tax_bkFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the invoice_tax_bk */ select?: Prisma.invoice_tax_bkSelect | null /** * Omit specific fields from the invoice_tax_bk */ omit?: Prisma.invoice_tax_bkOmit | null /** * Filter, which invoice_tax_bk to fetch. */ where: Prisma.invoice_tax_bkWhereUniqueInput } /** * invoice_tax_bk findFirst */ export type invoice_tax_bkFindFirstArgs = { /** * Select specific fields to fetch from the invoice_tax_bk */ select?: Prisma.invoice_tax_bkSelect | null /** * Omit specific fields from the invoice_tax_bk */ omit?: Prisma.invoice_tax_bkOmit | null /** * Filter, which invoice_tax_bk to fetch. */ where?: Prisma.invoice_tax_bkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of invoice_tax_bks to fetch. */ orderBy?: Prisma.invoice_tax_bkOrderByWithRelationInput | Prisma.invoice_tax_bkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for invoice_tax_bks. */ cursor?: Prisma.invoice_tax_bkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` invoice_tax_bks 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` invoice_tax_bks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of invoice_tax_bks. */ distinct?: Prisma.Invoice_tax_bkScalarFieldEnum | Prisma.Invoice_tax_bkScalarFieldEnum[] } /** * invoice_tax_bk findFirstOrThrow */ export type invoice_tax_bkFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the invoice_tax_bk */ select?: Prisma.invoice_tax_bkSelect | null /** * Omit specific fields from the invoice_tax_bk */ omit?: Prisma.invoice_tax_bkOmit | null /** * Filter, which invoice_tax_bk to fetch. */ where?: Prisma.invoice_tax_bkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of invoice_tax_bks to fetch. */ orderBy?: Prisma.invoice_tax_bkOrderByWithRelationInput | Prisma.invoice_tax_bkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for invoice_tax_bks. */ cursor?: Prisma.invoice_tax_bkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` invoice_tax_bks 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` invoice_tax_bks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of invoice_tax_bks. */ distinct?: Prisma.Invoice_tax_bkScalarFieldEnum | Prisma.Invoice_tax_bkScalarFieldEnum[] } /** * invoice_tax_bk findMany */ export type invoice_tax_bkFindManyArgs = { /** * Select specific fields to fetch from the invoice_tax_bk */ select?: Prisma.invoice_tax_bkSelect | null /** * Omit specific fields from the invoice_tax_bk */ omit?: Prisma.invoice_tax_bkOmit | null /** * Filter, which invoice_tax_bks to fetch. */ where?: Prisma.invoice_tax_bkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of invoice_tax_bks to fetch. */ orderBy?: Prisma.invoice_tax_bkOrderByWithRelationInput | Prisma.invoice_tax_bkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing invoice_tax_bks. */ cursor?: Prisma.invoice_tax_bkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` invoice_tax_bks 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` invoice_tax_bks. */ skip?: number distinct?: Prisma.Invoice_tax_bkScalarFieldEnum | Prisma.Invoice_tax_bkScalarFieldEnum[] } /** * invoice_tax_bk create */ export type invoice_tax_bkCreateArgs = { /** * Select specific fields to fetch from the invoice_tax_bk */ select?: Prisma.invoice_tax_bkSelect | null /** * Omit specific fields from the invoice_tax_bk */ omit?: Prisma.invoice_tax_bkOmit | null /** * The data needed to create a invoice_tax_bk. */ data?: Prisma.XOR } /** * invoice_tax_bk createMany */ export type invoice_tax_bkCreateManyArgs = { /** * The data used to create many invoice_tax_bks. */ data: Prisma.invoice_tax_bkCreateManyInput | Prisma.invoice_tax_bkCreateManyInput[] skipDuplicates?: boolean } /** * invoice_tax_bk update */ export type invoice_tax_bkUpdateArgs = { /** * Select specific fields to fetch from the invoice_tax_bk */ select?: Prisma.invoice_tax_bkSelect | null /** * Omit specific fields from the invoice_tax_bk */ omit?: Prisma.invoice_tax_bkOmit | null /** * The data needed to update a invoice_tax_bk. */ data: Prisma.XOR /** * Choose, which invoice_tax_bk to update. */ where: Prisma.invoice_tax_bkWhereUniqueInput } /** * invoice_tax_bk updateMany */ export type invoice_tax_bkUpdateManyArgs = { /** * The data used to update invoice_tax_bks. */ data: Prisma.XOR /** * Filter which invoice_tax_bks to update */ where?: Prisma.invoice_tax_bkWhereInput /** * Limit how many invoice_tax_bks to update. */ limit?: number } /** * invoice_tax_bk upsert */ export type invoice_tax_bkUpsertArgs = { /** * Select specific fields to fetch from the invoice_tax_bk */ select?: Prisma.invoice_tax_bkSelect | null /** * Omit specific fields from the invoice_tax_bk */ omit?: Prisma.invoice_tax_bkOmit | null /** * The filter to search for the invoice_tax_bk to update in case it exists. */ where: Prisma.invoice_tax_bkWhereUniqueInput /** * In case the invoice_tax_bk found by the `where` argument doesn't exist, create a new invoice_tax_bk with this data. */ create: Prisma.XOR /** * In case the invoice_tax_bk was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * invoice_tax_bk delete */ export type invoice_tax_bkDeleteArgs = { /** * Select specific fields to fetch from the invoice_tax_bk */ select?: Prisma.invoice_tax_bkSelect | null /** * Omit specific fields from the invoice_tax_bk */ omit?: Prisma.invoice_tax_bkOmit | null /** * Filter which invoice_tax_bk to delete. */ where: Prisma.invoice_tax_bkWhereUniqueInput } /** * invoice_tax_bk deleteMany */ export type invoice_tax_bkDeleteManyArgs = { /** * Filter which invoice_tax_bks to delete */ where?: Prisma.invoice_tax_bkWhereInput /** * Limit how many invoice_tax_bks to delete. */ limit?: number } /** * invoice_tax_bk without action */ export type invoice_tax_bkDefaultArgs = { /** * Select specific fields to fetch from the invoice_tax_bk */ select?: Prisma.invoice_tax_bkSelect | null /** * Omit specific fields from the invoice_tax_bk */ omit?: Prisma.invoice_tax_bkOmit | null }