/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `tax` 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 tax * */ export type taxModel = runtime.Types.Result.DefaultSelection export type AggregateTax = { _count: TaxCountAggregateOutputType | null _avg: TaxAvgAggregateOutputType | null _sum: TaxSumAggregateOutputType | null _min: TaxMinAggregateOutputType | null _max: TaxMaxAggregateOutputType | null } export type TaxAvgAggregateOutputType = { id: number | null rate: number | null } export type TaxSumAggregateOutputType = { id: number | null rate: number | null } export type TaxMinAggregateOutputType = { id: number | null name: string | null description: string | null rate: number | null } export type TaxMaxAggregateOutputType = { id: number | null name: string | null description: string | null rate: number | null } export type TaxCountAggregateOutputType = { id: number name: number description: number rate: number _all: number } export type TaxAvgAggregateInputType = { id?: true rate?: true } export type TaxSumAggregateInputType = { id?: true rate?: true } export type TaxMinAggregateInputType = { id?: true name?: true description?: true rate?: true } export type TaxMaxAggregateInputType = { id?: true name?: true description?: true rate?: true } export type TaxCountAggregateInputType = { id?: true name?: true description?: true rate?: true _all?: true } export type TaxAggregateArgs = { /** * Filter which tax to aggregate. */ where?: Prisma.taxWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of taxes to fetch. */ orderBy?: Prisma.taxOrderByWithRelationInput | Prisma.taxOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.taxWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` taxes 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` taxes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned taxes **/ _count?: true | TaxCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TaxAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TaxSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TaxMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TaxMaxAggregateInputType } export type GetTaxAggregateType = { [P in keyof T & keyof AggregateTax]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type taxGroupByArgs = { where?: Prisma.taxWhereInput orderBy?: Prisma.taxOrderByWithAggregationInput | Prisma.taxOrderByWithAggregationInput[] by: Prisma.TaxScalarFieldEnum[] | Prisma.TaxScalarFieldEnum having?: Prisma.taxScalarWhereWithAggregatesInput take?: number skip?: number _count?: TaxCountAggregateInputType | true _avg?: TaxAvgAggregateInputType _sum?: TaxSumAggregateInputType _min?: TaxMinAggregateInputType _max?: TaxMaxAggregateInputType } export type TaxGroupByOutputType = { id: number name: string | null description: string | null rate: number | null _count: TaxCountAggregateOutputType | null _avg: TaxAvgAggregateOutputType | null _sum: TaxSumAggregateOutputType | null _min: TaxMinAggregateOutputType | null _max: TaxMaxAggregateOutputType | null } type GetTaxGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof TaxGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type taxWhereInput = { AND?: Prisma.taxWhereInput | Prisma.taxWhereInput[] OR?: Prisma.taxWhereInput[] NOT?: Prisma.taxWhereInput | Prisma.taxWhereInput[] id?: Prisma.IntFilter<"tax"> | number name?: Prisma.StringNullableFilter<"tax"> | string | null description?: Prisma.StringNullableFilter<"tax"> | string | null rate?: Prisma.FloatNullableFilter<"tax"> | number | null } export type taxOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder rate?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.taxOrderByRelevanceInput } export type taxWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.taxWhereInput | Prisma.taxWhereInput[] OR?: Prisma.taxWhereInput[] NOT?: Prisma.taxWhereInput | Prisma.taxWhereInput[] name?: Prisma.StringNullableFilter<"tax"> | string | null description?: Prisma.StringNullableFilter<"tax"> | string | null rate?: Prisma.FloatNullableFilter<"tax"> | number | null }, "id"> export type taxOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder rate?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.taxCountOrderByAggregateInput _avg?: Prisma.taxAvgOrderByAggregateInput _max?: Prisma.taxMaxOrderByAggregateInput _min?: Prisma.taxMinOrderByAggregateInput _sum?: Prisma.taxSumOrderByAggregateInput } export type taxScalarWhereWithAggregatesInput = { AND?: Prisma.taxScalarWhereWithAggregatesInput | Prisma.taxScalarWhereWithAggregatesInput[] OR?: Prisma.taxScalarWhereWithAggregatesInput[] NOT?: Prisma.taxScalarWhereWithAggregatesInput | Prisma.taxScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"tax"> | number name?: Prisma.StringNullableWithAggregatesFilter<"tax"> | string | null description?: Prisma.StringNullableWithAggregatesFilter<"tax"> | string | null rate?: Prisma.FloatNullableWithAggregatesFilter<"tax"> | number | null } export type taxCreateInput = { name?: string | null description?: string | null rate?: number | null } export type taxUncheckedCreateInput = { id?: number name?: string | null description?: string | null rate?: number | null } export type taxUpdateInput = { name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type taxUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type taxCreateManyInput = { id?: number name?: string | null description?: string | null rate?: number | null } export type taxUpdateManyMutationInput = { name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type taxUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null } export type taxOrderByRelevanceInput = { fields: Prisma.taxOrderByRelevanceFieldEnum | Prisma.taxOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type taxCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder rate?: Prisma.SortOrder } export type taxAvgOrderByAggregateInput = { id?: Prisma.SortOrder rate?: Prisma.SortOrder } export type taxMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder rate?: Prisma.SortOrder } export type taxMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder rate?: Prisma.SortOrder } export type taxSumOrderByAggregateInput = { id?: Prisma.SortOrder rate?: Prisma.SortOrder } export type taxSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean rate?: boolean }, ExtArgs["result"]["tax"]> export type taxSelectScalar = { id?: boolean name?: boolean description?: boolean rate?: boolean } export type taxOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "rate", ExtArgs["result"]["tax"]> export type $taxPayload = { name: "tax" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number name: string | null description: string | null rate: number | null }, ExtArgs["result"]["tax"]> composites: {} } export type taxGetPayload = runtime.Types.Result.GetResult export type taxCountArgs = Omit & { select?: TaxCountAggregateInputType | true } export interface taxDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['tax'], meta: { name: 'tax' } } /** * Find zero or one Tax that matches the filter. * @param {taxFindUniqueArgs} args - Arguments to find a Tax * @example * // Get one Tax * const tax = await prisma.tax.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__taxClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Tax that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {taxFindUniqueOrThrowArgs} args - Arguments to find a Tax * @example * // Get one Tax * const tax = await prisma.tax.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__taxClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Tax 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 {taxFindFirstArgs} args - Arguments to find a Tax * @example * // Get one Tax * const tax = await prisma.tax.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__taxClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Tax 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 {taxFindFirstOrThrowArgs} args - Arguments to find a Tax * @example * // Get one Tax * const tax = await prisma.tax.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__taxClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Taxes 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 {taxFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Taxes * const taxes = await prisma.tax.findMany() * * // Get first 10 Taxes * const taxes = await prisma.tax.findMany({ take: 10 }) * * // Only select the `id` * const taxWithIdOnly = await prisma.tax.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Tax. * @param {taxCreateArgs} args - Arguments to create a Tax. * @example * // Create one Tax * const Tax = await prisma.tax.create({ * data: { * // ... data to create a Tax * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__taxClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Taxes. * @param {taxCreateManyArgs} args - Arguments to create many Taxes. * @example * // Create many Taxes * const tax = await prisma.tax.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Tax. * @param {taxDeleteArgs} args - Arguments to delete one Tax. * @example * // Delete one Tax * const Tax = await prisma.tax.delete({ * where: { * // ... filter to delete one Tax * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__taxClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Tax. * @param {taxUpdateArgs} args - Arguments to update one Tax. * @example * // Update one Tax * const tax = await prisma.tax.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__taxClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Taxes. * @param {taxDeleteManyArgs} args - Arguments to filter Taxes to delete. * @example * // Delete a few Taxes * const { count } = await prisma.tax.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Taxes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {taxUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Taxes * const tax = await prisma.tax.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Tax. * @param {taxUpsertArgs} args - Arguments to update or create a Tax. * @example * // Update or create a Tax * const tax = await prisma.tax.upsert({ * create: { * // ... data to create a Tax * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Tax we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__taxClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Taxes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {taxCountArgs} args - Arguments to filter Taxes to count. * @example * // Count the number of Taxes * const count = await prisma.tax.count({ * where: { * // ... the filter for the Taxes 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 Tax. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TaxAggregateArgs} 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 Tax. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {taxGroupByArgs} 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 taxGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: taxGroupByArgs['orderBy'] } : { orderBy?: taxGroupByArgs['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 ? GetTaxGroupByPayload : Prisma.PrismaPromise /** * Fields of the tax model */ readonly fields: taxFieldRefs; } /** * The delegate class that acts as a "Promise-like" for tax. * 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__taxClient 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 tax model */ export interface taxFieldRefs { readonly id: Prisma.FieldRef<"tax", 'Int'> readonly name: Prisma.FieldRef<"tax", 'String'> readonly description: Prisma.FieldRef<"tax", 'String'> readonly rate: Prisma.FieldRef<"tax", 'Float'> } // Custom InputTypes /** * tax findUnique */ export type taxFindUniqueArgs = { /** * Select specific fields to fetch from the tax */ select?: Prisma.taxSelect | null /** * Omit specific fields from the tax */ omit?: Prisma.taxOmit | null /** * Filter, which tax to fetch. */ where: Prisma.taxWhereUniqueInput } /** * tax findUniqueOrThrow */ export type taxFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the tax */ select?: Prisma.taxSelect | null /** * Omit specific fields from the tax */ omit?: Prisma.taxOmit | null /** * Filter, which tax to fetch. */ where: Prisma.taxWhereUniqueInput } /** * tax findFirst */ export type taxFindFirstArgs = { /** * Select specific fields to fetch from the tax */ select?: Prisma.taxSelect | null /** * Omit specific fields from the tax */ omit?: Prisma.taxOmit | null /** * Filter, which tax to fetch. */ where?: Prisma.taxWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of taxes to fetch. */ orderBy?: Prisma.taxOrderByWithRelationInput | Prisma.taxOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for taxes. */ cursor?: Prisma.taxWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` taxes 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` taxes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of taxes. */ distinct?: Prisma.TaxScalarFieldEnum | Prisma.TaxScalarFieldEnum[] } /** * tax findFirstOrThrow */ export type taxFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the tax */ select?: Prisma.taxSelect | null /** * Omit specific fields from the tax */ omit?: Prisma.taxOmit | null /** * Filter, which tax to fetch. */ where?: Prisma.taxWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of taxes to fetch. */ orderBy?: Prisma.taxOrderByWithRelationInput | Prisma.taxOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for taxes. */ cursor?: Prisma.taxWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` taxes 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` taxes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of taxes. */ distinct?: Prisma.TaxScalarFieldEnum | Prisma.TaxScalarFieldEnum[] } /** * tax findMany */ export type taxFindManyArgs = { /** * Select specific fields to fetch from the tax */ select?: Prisma.taxSelect | null /** * Omit specific fields from the tax */ omit?: Prisma.taxOmit | null /** * Filter, which taxes to fetch. */ where?: Prisma.taxWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of taxes to fetch. */ orderBy?: Prisma.taxOrderByWithRelationInput | Prisma.taxOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing taxes. */ cursor?: Prisma.taxWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` taxes 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` taxes. */ skip?: number distinct?: Prisma.TaxScalarFieldEnum | Prisma.TaxScalarFieldEnum[] } /** * tax create */ export type taxCreateArgs = { /** * Select specific fields to fetch from the tax */ select?: Prisma.taxSelect | null /** * Omit specific fields from the tax */ omit?: Prisma.taxOmit | null /** * The data needed to create a tax. */ data?: Prisma.XOR } /** * tax createMany */ export type taxCreateManyArgs = { /** * The data used to create many taxes. */ data: Prisma.taxCreateManyInput | Prisma.taxCreateManyInput[] skipDuplicates?: boolean } /** * tax update */ export type taxUpdateArgs = { /** * Select specific fields to fetch from the tax */ select?: Prisma.taxSelect | null /** * Omit specific fields from the tax */ omit?: Prisma.taxOmit | null /** * The data needed to update a tax. */ data: Prisma.XOR /** * Choose, which tax to update. */ where: Prisma.taxWhereUniqueInput } /** * tax updateMany */ export type taxUpdateManyArgs = { /** * The data used to update taxes. */ data: Prisma.XOR /** * Filter which taxes to update */ where?: Prisma.taxWhereInput /** * Limit how many taxes to update. */ limit?: number } /** * tax upsert */ export type taxUpsertArgs = { /** * Select specific fields to fetch from the tax */ select?: Prisma.taxSelect | null /** * Omit specific fields from the tax */ omit?: Prisma.taxOmit | null /** * The filter to search for the tax to update in case it exists. */ where: Prisma.taxWhereUniqueInput /** * In case the tax found by the `where` argument doesn't exist, create a new tax with this data. */ create: Prisma.XOR /** * In case the tax was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * tax delete */ export type taxDeleteArgs = { /** * Select specific fields to fetch from the tax */ select?: Prisma.taxSelect | null /** * Omit specific fields from the tax */ omit?: Prisma.taxOmit | null /** * Filter which tax to delete. */ where: Prisma.taxWhereUniqueInput } /** * tax deleteMany */ export type taxDeleteManyArgs = { /** * Filter which taxes to delete */ where?: Prisma.taxWhereInput /** * Limit how many taxes to delete. */ limit?: number } /** * tax without action */ export type taxDefaultArgs = { /** * Select specific fields to fetch from the tax */ select?: Prisma.taxSelect | null /** * Omit specific fields from the tax */ omit?: Prisma.taxOmit | null }