/* !!! 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_group` 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_group * */ export type tax_groupModel = runtime.Types.Result.DefaultSelection export type AggregateTax_group = { _count: Tax_groupCountAggregateOutputType | null _avg: Tax_groupAvgAggregateOutputType | null _sum: Tax_groupSumAggregateOutputType | null _min: Tax_groupMinAggregateOutputType | null _max: Tax_groupMaxAggregateOutputType | null } export type Tax_groupAvgAggregateOutputType = { id: number | null } export type Tax_groupSumAggregateOutputType = { id: number | null } export type Tax_groupMinAggregateOutputType = { id: number | null name: string | null description: string | null tax: string | null } export type Tax_groupMaxAggregateOutputType = { id: number | null name: string | null description: string | null tax: string | null } export type Tax_groupCountAggregateOutputType = { id: number name: number description: number tax: number _all: number } export type Tax_groupAvgAggregateInputType = { id?: true } export type Tax_groupSumAggregateInputType = { id?: true } export type Tax_groupMinAggregateInputType = { id?: true name?: true description?: true tax?: true } export type Tax_groupMaxAggregateInputType = { id?: true name?: true description?: true tax?: true } export type Tax_groupCountAggregateInputType = { id?: true name?: true description?: true tax?: true _all?: true } export type Tax_groupAggregateArgs = { /** * Filter which tax_group to aggregate. */ where?: Prisma.tax_groupWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tax_groups to fetch. */ orderBy?: Prisma.tax_groupOrderByWithRelationInput | Prisma.tax_groupOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.tax_groupWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tax_groups 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` tax_groups. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned tax_groups **/ _count?: true | Tax_groupCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Tax_groupAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Tax_groupSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Tax_groupMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Tax_groupMaxAggregateInputType } export type GetTax_groupAggregateType = { [P in keyof T & keyof AggregateTax_group]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type tax_groupGroupByArgs = { where?: Prisma.tax_groupWhereInput orderBy?: Prisma.tax_groupOrderByWithAggregationInput | Prisma.tax_groupOrderByWithAggregationInput[] by: Prisma.Tax_groupScalarFieldEnum[] | Prisma.Tax_groupScalarFieldEnum having?: Prisma.tax_groupScalarWhereWithAggregatesInput take?: number skip?: number _count?: Tax_groupCountAggregateInputType | true _avg?: Tax_groupAvgAggregateInputType _sum?: Tax_groupSumAggregateInputType _min?: Tax_groupMinAggregateInputType _max?: Tax_groupMaxAggregateInputType } export type Tax_groupGroupByOutputType = { id: number name: string | null description: string | null tax: string | null _count: Tax_groupCountAggregateOutputType | null _avg: Tax_groupAvgAggregateOutputType | null _sum: Tax_groupSumAggregateOutputType | null _min: Tax_groupMinAggregateOutputType | null _max: Tax_groupMaxAggregateOutputType | null } type GetTax_groupGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Tax_groupGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type tax_groupWhereInput = { AND?: Prisma.tax_groupWhereInput | Prisma.tax_groupWhereInput[] OR?: Prisma.tax_groupWhereInput[] NOT?: Prisma.tax_groupWhereInput | Prisma.tax_groupWhereInput[] id?: Prisma.IntFilter<"tax_group"> | number name?: Prisma.StringNullableFilter<"tax_group"> | string | null description?: Prisma.StringNullableFilter<"tax_group"> | string | null tax?: Prisma.StringNullableFilter<"tax_group"> | string | null } export type tax_groupOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder tax?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.tax_groupOrderByRelevanceInput } export type tax_groupWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.tax_groupWhereInput | Prisma.tax_groupWhereInput[] OR?: Prisma.tax_groupWhereInput[] NOT?: Prisma.tax_groupWhereInput | Prisma.tax_groupWhereInput[] name?: Prisma.StringNullableFilter<"tax_group"> | string | null description?: Prisma.StringNullableFilter<"tax_group"> | string | null tax?: Prisma.StringNullableFilter<"tax_group"> | string | null }, "id"> export type tax_groupOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder tax?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.tax_groupCountOrderByAggregateInput _avg?: Prisma.tax_groupAvgOrderByAggregateInput _max?: Prisma.tax_groupMaxOrderByAggregateInput _min?: Prisma.tax_groupMinOrderByAggregateInput _sum?: Prisma.tax_groupSumOrderByAggregateInput } export type tax_groupScalarWhereWithAggregatesInput = { AND?: Prisma.tax_groupScalarWhereWithAggregatesInput | Prisma.tax_groupScalarWhereWithAggregatesInput[] OR?: Prisma.tax_groupScalarWhereWithAggregatesInput[] NOT?: Prisma.tax_groupScalarWhereWithAggregatesInput | Prisma.tax_groupScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"tax_group"> | number name?: Prisma.StringNullableWithAggregatesFilter<"tax_group"> | string | null description?: Prisma.StringNullableWithAggregatesFilter<"tax_group"> | string | null tax?: Prisma.StringNullableWithAggregatesFilter<"tax_group"> | string | null } export type tax_groupCreateInput = { name?: string | null description?: string | null tax?: string | null } export type tax_groupUncheckedCreateInput = { id?: number name?: string | null description?: string | null tax?: string | null } export type tax_groupUpdateInput = { name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type tax_groupUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type tax_groupCreateManyInput = { id?: number name?: string | null description?: string | null tax?: string | null } export type tax_groupUpdateManyMutationInput = { name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type tax_groupUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type tax_groupOrderByRelevanceInput = { fields: Prisma.tax_groupOrderByRelevanceFieldEnum | Prisma.tax_groupOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type tax_groupCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder tax?: Prisma.SortOrder } export type tax_groupAvgOrderByAggregateInput = { id?: Prisma.SortOrder } export type tax_groupMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder tax?: Prisma.SortOrder } export type tax_groupMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder tax?: Prisma.SortOrder } export type tax_groupSumOrderByAggregateInput = { id?: Prisma.SortOrder } export type tax_groupSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean tax?: boolean }, ExtArgs["result"]["tax_group"]> export type tax_groupSelectScalar = { id?: boolean name?: boolean description?: boolean tax?: boolean } export type tax_groupOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "tax", ExtArgs["result"]["tax_group"]> export type $tax_groupPayload = { name: "tax_group" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number name: string | null description: string | null tax: string | null }, ExtArgs["result"]["tax_group"]> composites: {} } export type tax_groupGetPayload = runtime.Types.Result.GetResult export type tax_groupCountArgs = Omit & { select?: Tax_groupCountAggregateInputType | true } export interface tax_groupDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['tax_group'], meta: { name: 'tax_group' } } /** * Find zero or one Tax_group that matches the filter. * @param {tax_groupFindUniqueArgs} args - Arguments to find a Tax_group * @example * // Get one Tax_group * const tax_group = await prisma.tax_group.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__tax_groupClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Tax_group that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {tax_groupFindUniqueOrThrowArgs} args - Arguments to find a Tax_group * @example * // Get one Tax_group * const tax_group = await prisma.tax_group.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__tax_groupClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Tax_group 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 {tax_groupFindFirstArgs} args - Arguments to find a Tax_group * @example * // Get one Tax_group * const tax_group = await prisma.tax_group.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__tax_groupClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Tax_group 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 {tax_groupFindFirstOrThrowArgs} args - Arguments to find a Tax_group * @example * // Get one Tax_group * const tax_group = await prisma.tax_group.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__tax_groupClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Tax_groups 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 {tax_groupFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Tax_groups * const tax_groups = await prisma.tax_group.findMany() * * // Get first 10 Tax_groups * const tax_groups = await prisma.tax_group.findMany({ take: 10 }) * * // Only select the `id` * const tax_groupWithIdOnly = await prisma.tax_group.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Tax_group. * @param {tax_groupCreateArgs} args - Arguments to create a Tax_group. * @example * // Create one Tax_group * const Tax_group = await prisma.tax_group.create({ * data: { * // ... data to create a Tax_group * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__tax_groupClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Tax_groups. * @param {tax_groupCreateManyArgs} args - Arguments to create many Tax_groups. * @example * // Create many Tax_groups * const tax_group = await prisma.tax_group.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Tax_group. * @param {tax_groupDeleteArgs} args - Arguments to delete one Tax_group. * @example * // Delete one Tax_group * const Tax_group = await prisma.tax_group.delete({ * where: { * // ... filter to delete one Tax_group * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__tax_groupClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Tax_group. * @param {tax_groupUpdateArgs} args - Arguments to update one Tax_group. * @example * // Update one Tax_group * const tax_group = await prisma.tax_group.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__tax_groupClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Tax_groups. * @param {tax_groupDeleteManyArgs} args - Arguments to filter Tax_groups to delete. * @example * // Delete a few Tax_groups * const { count } = await prisma.tax_group.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Tax_groups. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {tax_groupUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Tax_groups * const tax_group = await prisma.tax_group.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Tax_group. * @param {tax_groupUpsertArgs} args - Arguments to update or create a Tax_group. * @example * // Update or create a Tax_group * const tax_group = await prisma.tax_group.upsert({ * create: { * // ... data to create a Tax_group * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Tax_group we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__tax_groupClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Tax_groups. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {tax_groupCountArgs} args - Arguments to filter Tax_groups to count. * @example * // Count the number of Tax_groups * const count = await prisma.tax_group.count({ * where: { * // ... the filter for the Tax_groups 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_group. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Tax_groupAggregateArgs} 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_group. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {tax_groupGroupByArgs} 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 tax_groupGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: tax_groupGroupByArgs['orderBy'] } : { orderBy?: tax_groupGroupByArgs['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 ? GetTax_groupGroupByPayload : Prisma.PrismaPromise /** * Fields of the tax_group model */ readonly fields: tax_groupFieldRefs; } /** * The delegate class that acts as a "Promise-like" for tax_group. * 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__tax_groupClient 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_group model */ export interface tax_groupFieldRefs { readonly id: Prisma.FieldRef<"tax_group", 'Int'> readonly name: Prisma.FieldRef<"tax_group", 'String'> readonly description: Prisma.FieldRef<"tax_group", 'String'> readonly tax: Prisma.FieldRef<"tax_group", 'String'> } // Custom InputTypes /** * tax_group findUnique */ export type tax_groupFindUniqueArgs = { /** * Select specific fields to fetch from the tax_group */ select?: Prisma.tax_groupSelect | null /** * Omit specific fields from the tax_group */ omit?: Prisma.tax_groupOmit | null /** * Filter, which tax_group to fetch. */ where: Prisma.tax_groupWhereUniqueInput } /** * tax_group findUniqueOrThrow */ export type tax_groupFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the tax_group */ select?: Prisma.tax_groupSelect | null /** * Omit specific fields from the tax_group */ omit?: Prisma.tax_groupOmit | null /** * Filter, which tax_group to fetch. */ where: Prisma.tax_groupWhereUniqueInput } /** * tax_group findFirst */ export type tax_groupFindFirstArgs = { /** * Select specific fields to fetch from the tax_group */ select?: Prisma.tax_groupSelect | null /** * Omit specific fields from the tax_group */ omit?: Prisma.tax_groupOmit | null /** * Filter, which tax_group to fetch. */ where?: Prisma.tax_groupWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tax_groups to fetch. */ orderBy?: Prisma.tax_groupOrderByWithRelationInput | Prisma.tax_groupOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for tax_groups. */ cursor?: Prisma.tax_groupWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tax_groups 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` tax_groups. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of tax_groups. */ distinct?: Prisma.Tax_groupScalarFieldEnum | Prisma.Tax_groupScalarFieldEnum[] } /** * tax_group findFirstOrThrow */ export type tax_groupFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the tax_group */ select?: Prisma.tax_groupSelect | null /** * Omit specific fields from the tax_group */ omit?: Prisma.tax_groupOmit | null /** * Filter, which tax_group to fetch. */ where?: Prisma.tax_groupWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tax_groups to fetch. */ orderBy?: Prisma.tax_groupOrderByWithRelationInput | Prisma.tax_groupOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for tax_groups. */ cursor?: Prisma.tax_groupWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tax_groups 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` tax_groups. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of tax_groups. */ distinct?: Prisma.Tax_groupScalarFieldEnum | Prisma.Tax_groupScalarFieldEnum[] } /** * tax_group findMany */ export type tax_groupFindManyArgs = { /** * Select specific fields to fetch from the tax_group */ select?: Prisma.tax_groupSelect | null /** * Omit specific fields from the tax_group */ omit?: Prisma.tax_groupOmit | null /** * Filter, which tax_groups to fetch. */ where?: Prisma.tax_groupWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tax_groups to fetch. */ orderBy?: Prisma.tax_groupOrderByWithRelationInput | Prisma.tax_groupOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing tax_groups. */ cursor?: Prisma.tax_groupWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tax_groups 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` tax_groups. */ skip?: number distinct?: Prisma.Tax_groupScalarFieldEnum | Prisma.Tax_groupScalarFieldEnum[] } /** * tax_group create */ export type tax_groupCreateArgs = { /** * Select specific fields to fetch from the tax_group */ select?: Prisma.tax_groupSelect | null /** * Omit specific fields from the tax_group */ omit?: Prisma.tax_groupOmit | null /** * The data needed to create a tax_group. */ data?: Prisma.XOR } /** * tax_group createMany */ export type tax_groupCreateManyArgs = { /** * The data used to create many tax_groups. */ data: Prisma.tax_groupCreateManyInput | Prisma.tax_groupCreateManyInput[] skipDuplicates?: boolean } /** * tax_group update */ export type tax_groupUpdateArgs = { /** * Select specific fields to fetch from the tax_group */ select?: Prisma.tax_groupSelect | null /** * Omit specific fields from the tax_group */ omit?: Prisma.tax_groupOmit | null /** * The data needed to update a tax_group. */ data: Prisma.XOR /** * Choose, which tax_group to update. */ where: Prisma.tax_groupWhereUniqueInput } /** * tax_group updateMany */ export type tax_groupUpdateManyArgs = { /** * The data used to update tax_groups. */ data: Prisma.XOR /** * Filter which tax_groups to update */ where?: Prisma.tax_groupWhereInput /** * Limit how many tax_groups to update. */ limit?: number } /** * tax_group upsert */ export type tax_groupUpsertArgs = { /** * Select specific fields to fetch from the tax_group */ select?: Prisma.tax_groupSelect | null /** * Omit specific fields from the tax_group */ omit?: Prisma.tax_groupOmit | null /** * The filter to search for the tax_group to update in case it exists. */ where: Prisma.tax_groupWhereUniqueInput /** * In case the tax_group found by the `where` argument doesn't exist, create a new tax_group with this data. */ create: Prisma.XOR /** * In case the tax_group was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * tax_group delete */ export type tax_groupDeleteArgs = { /** * Select specific fields to fetch from the tax_group */ select?: Prisma.tax_groupSelect | null /** * Omit specific fields from the tax_group */ omit?: Prisma.tax_groupOmit | null /** * Filter which tax_group to delete. */ where: Prisma.tax_groupWhereUniqueInput } /** * tax_group deleteMany */ export type tax_groupDeleteManyArgs = { /** * Filter which tax_groups to delete */ where?: Prisma.tax_groupWhereInput /** * Limit how many tax_groups to delete. */ limit?: number } /** * tax_group without action */ export type tax_groupDefaultArgs = { /** * Select specific fields to fetch from the tax_group */ select?: Prisma.tax_groupSelect | null /** * Omit specific fields from the tax_group */ omit?: Prisma.tax_groupOmit | null }