/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `credit_code` 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 credit_code * */ export type credit_codeModel = runtime.Types.Result.DefaultSelection export type AggregateCredit_code = { _count: Credit_codeCountAggregateOutputType | null _avg: Credit_codeAvgAggregateOutputType | null _sum: Credit_codeSumAggregateOutputType | null _min: Credit_codeMinAggregateOutputType | null _max: Credit_codeMaxAggregateOutputType | null } export type Credit_codeAvgAggregateOutputType = { id: number | null } export type Credit_codeSumAggregateOutputType = { id: number | null } export type Credit_codeMinAggregateOutputType = { id: number | null code: string | null desc: string | null } export type Credit_codeMaxAggregateOutputType = { id: number | null code: string | null desc: string | null } export type Credit_codeCountAggregateOutputType = { id: number code: number desc: number _all: number } export type Credit_codeAvgAggregateInputType = { id?: true } export type Credit_codeSumAggregateInputType = { id?: true } export type Credit_codeMinAggregateInputType = { id?: true code?: true desc?: true } export type Credit_codeMaxAggregateInputType = { id?: true code?: true desc?: true } export type Credit_codeCountAggregateInputType = { id?: true code?: true desc?: true _all?: true } export type Credit_codeAggregateArgs = { /** * Filter which credit_code to aggregate. */ where?: Prisma.credit_codeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of credit_codes to fetch. */ orderBy?: Prisma.credit_codeOrderByWithRelationInput | Prisma.credit_codeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.credit_codeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` credit_codes 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` credit_codes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned credit_codes **/ _count?: true | Credit_codeCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Credit_codeAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Credit_codeSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Credit_codeMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Credit_codeMaxAggregateInputType } export type GetCredit_codeAggregateType = { [P in keyof T & keyof AggregateCredit_code]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type credit_codeGroupByArgs = { where?: Prisma.credit_codeWhereInput orderBy?: Prisma.credit_codeOrderByWithAggregationInput | Prisma.credit_codeOrderByWithAggregationInput[] by: Prisma.Credit_codeScalarFieldEnum[] | Prisma.Credit_codeScalarFieldEnum having?: Prisma.credit_codeScalarWhereWithAggregatesInput take?: number skip?: number _count?: Credit_codeCountAggregateInputType | true _avg?: Credit_codeAvgAggregateInputType _sum?: Credit_codeSumAggregateInputType _min?: Credit_codeMinAggregateInputType _max?: Credit_codeMaxAggregateInputType } export type Credit_codeGroupByOutputType = { id: number code: string desc: string _count: Credit_codeCountAggregateOutputType | null _avg: Credit_codeAvgAggregateOutputType | null _sum: Credit_codeSumAggregateOutputType | null _min: Credit_codeMinAggregateOutputType | null _max: Credit_codeMaxAggregateOutputType | null } type GetCredit_codeGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Credit_codeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type credit_codeWhereInput = { AND?: Prisma.credit_codeWhereInput | Prisma.credit_codeWhereInput[] OR?: Prisma.credit_codeWhereInput[] NOT?: Prisma.credit_codeWhereInput | Prisma.credit_codeWhereInput[] id?: Prisma.IntFilter<"credit_code"> | number code?: Prisma.StringFilter<"credit_code"> | string desc?: Prisma.StringFilter<"credit_code"> | string } export type credit_codeOrderByWithRelationInput = { id?: Prisma.SortOrder code?: Prisma.SortOrder desc?: Prisma.SortOrder _relevance?: Prisma.credit_codeOrderByRelevanceInput } export type credit_codeWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.credit_codeWhereInput | Prisma.credit_codeWhereInput[] OR?: Prisma.credit_codeWhereInput[] NOT?: Prisma.credit_codeWhereInput | Prisma.credit_codeWhereInput[] code?: Prisma.StringFilter<"credit_code"> | string desc?: Prisma.StringFilter<"credit_code"> | string }, "id"> export type credit_codeOrderByWithAggregationInput = { id?: Prisma.SortOrder code?: Prisma.SortOrder desc?: Prisma.SortOrder _count?: Prisma.credit_codeCountOrderByAggregateInput _avg?: Prisma.credit_codeAvgOrderByAggregateInput _max?: Prisma.credit_codeMaxOrderByAggregateInput _min?: Prisma.credit_codeMinOrderByAggregateInput _sum?: Prisma.credit_codeSumOrderByAggregateInput } export type credit_codeScalarWhereWithAggregatesInput = { AND?: Prisma.credit_codeScalarWhereWithAggregatesInput | Prisma.credit_codeScalarWhereWithAggregatesInput[] OR?: Prisma.credit_codeScalarWhereWithAggregatesInput[] NOT?: Prisma.credit_codeScalarWhereWithAggregatesInput | Prisma.credit_codeScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"credit_code"> | number code?: Prisma.StringWithAggregatesFilter<"credit_code"> | string desc?: Prisma.StringWithAggregatesFilter<"credit_code"> | string } export type credit_codeCreateInput = { code: string desc: string } export type credit_codeUncheckedCreateInput = { id?: number code: string desc: string } export type credit_codeUpdateInput = { code?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.StringFieldUpdateOperationsInput | string } export type credit_codeUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number code?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.StringFieldUpdateOperationsInput | string } export type credit_codeCreateManyInput = { id?: number code: string desc: string } export type credit_codeUpdateManyMutationInput = { code?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.StringFieldUpdateOperationsInput | string } export type credit_codeUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number code?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.StringFieldUpdateOperationsInput | string } export type credit_codeOrderByRelevanceInput = { fields: Prisma.credit_codeOrderByRelevanceFieldEnum | Prisma.credit_codeOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type credit_codeCountOrderByAggregateInput = { id?: Prisma.SortOrder code?: Prisma.SortOrder desc?: Prisma.SortOrder } export type credit_codeAvgOrderByAggregateInput = { id?: Prisma.SortOrder } export type credit_codeMaxOrderByAggregateInput = { id?: Prisma.SortOrder code?: Prisma.SortOrder desc?: Prisma.SortOrder } export type credit_codeMinOrderByAggregateInput = { id?: Prisma.SortOrder code?: Prisma.SortOrder desc?: Prisma.SortOrder } export type credit_codeSumOrderByAggregateInput = { id?: Prisma.SortOrder } export type credit_codeSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean code?: boolean desc?: boolean }, ExtArgs["result"]["credit_code"]> export type credit_codeSelectScalar = { id?: boolean code?: boolean desc?: boolean } export type credit_codeOmit = runtime.Types.Extensions.GetOmit<"id" | "code" | "desc", ExtArgs["result"]["credit_code"]> export type $credit_codePayload = { name: "credit_code" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number code: string desc: string }, ExtArgs["result"]["credit_code"]> composites: {} } export type credit_codeGetPayload = runtime.Types.Result.GetResult export type credit_codeCountArgs = Omit & { select?: Credit_codeCountAggregateInputType | true } export interface credit_codeDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['credit_code'], meta: { name: 'credit_code' } } /** * Find zero or one Credit_code that matches the filter. * @param {credit_codeFindUniqueArgs} args - Arguments to find a Credit_code * @example * // Get one Credit_code * const credit_code = await prisma.credit_code.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__credit_codeClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Credit_code that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {credit_codeFindUniqueOrThrowArgs} args - Arguments to find a Credit_code * @example * // Get one Credit_code * const credit_code = await prisma.credit_code.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__credit_codeClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Credit_code 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 {credit_codeFindFirstArgs} args - Arguments to find a Credit_code * @example * // Get one Credit_code * const credit_code = await prisma.credit_code.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__credit_codeClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Credit_code 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 {credit_codeFindFirstOrThrowArgs} args - Arguments to find a Credit_code * @example * // Get one Credit_code * const credit_code = await prisma.credit_code.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__credit_codeClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Credit_codes 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 {credit_codeFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Credit_codes * const credit_codes = await prisma.credit_code.findMany() * * // Get first 10 Credit_codes * const credit_codes = await prisma.credit_code.findMany({ take: 10 }) * * // Only select the `id` * const credit_codeWithIdOnly = await prisma.credit_code.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Credit_code. * @param {credit_codeCreateArgs} args - Arguments to create a Credit_code. * @example * // Create one Credit_code * const Credit_code = await prisma.credit_code.create({ * data: { * // ... data to create a Credit_code * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__credit_codeClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Credit_codes. * @param {credit_codeCreateManyArgs} args - Arguments to create many Credit_codes. * @example * // Create many Credit_codes * const credit_code = await prisma.credit_code.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Credit_code. * @param {credit_codeDeleteArgs} args - Arguments to delete one Credit_code. * @example * // Delete one Credit_code * const Credit_code = await prisma.credit_code.delete({ * where: { * // ... filter to delete one Credit_code * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__credit_codeClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Credit_code. * @param {credit_codeUpdateArgs} args - Arguments to update one Credit_code. * @example * // Update one Credit_code * const credit_code = await prisma.credit_code.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__credit_codeClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Credit_codes. * @param {credit_codeDeleteManyArgs} args - Arguments to filter Credit_codes to delete. * @example * // Delete a few Credit_codes * const { count } = await prisma.credit_code.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Credit_codes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {credit_codeUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Credit_codes * const credit_code = await prisma.credit_code.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Credit_code. * @param {credit_codeUpsertArgs} args - Arguments to update or create a Credit_code. * @example * // Update or create a Credit_code * const credit_code = await prisma.credit_code.upsert({ * create: { * // ... data to create a Credit_code * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Credit_code we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__credit_codeClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Credit_codes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {credit_codeCountArgs} args - Arguments to filter Credit_codes to count. * @example * // Count the number of Credit_codes * const count = await prisma.credit_code.count({ * where: { * // ... the filter for the Credit_codes 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 Credit_code. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Credit_codeAggregateArgs} 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 Credit_code. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {credit_codeGroupByArgs} 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 credit_codeGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: credit_codeGroupByArgs['orderBy'] } : { orderBy?: credit_codeGroupByArgs['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 ? GetCredit_codeGroupByPayload : Prisma.PrismaPromise /** * Fields of the credit_code model */ readonly fields: credit_codeFieldRefs; } /** * The delegate class that acts as a "Promise-like" for credit_code. * 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__credit_codeClient 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 credit_code model */ export interface credit_codeFieldRefs { readonly id: Prisma.FieldRef<"credit_code", 'Int'> readonly code: Prisma.FieldRef<"credit_code", 'String'> readonly desc: Prisma.FieldRef<"credit_code", 'String'> } // Custom InputTypes /** * credit_code findUnique */ export type credit_codeFindUniqueArgs = { /** * Select specific fields to fetch from the credit_code */ select?: Prisma.credit_codeSelect | null /** * Omit specific fields from the credit_code */ omit?: Prisma.credit_codeOmit | null /** * Filter, which credit_code to fetch. */ where: Prisma.credit_codeWhereUniqueInput } /** * credit_code findUniqueOrThrow */ export type credit_codeFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the credit_code */ select?: Prisma.credit_codeSelect | null /** * Omit specific fields from the credit_code */ omit?: Prisma.credit_codeOmit | null /** * Filter, which credit_code to fetch. */ where: Prisma.credit_codeWhereUniqueInput } /** * credit_code findFirst */ export type credit_codeFindFirstArgs = { /** * Select specific fields to fetch from the credit_code */ select?: Prisma.credit_codeSelect | null /** * Omit specific fields from the credit_code */ omit?: Prisma.credit_codeOmit | null /** * Filter, which credit_code to fetch. */ where?: Prisma.credit_codeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of credit_codes to fetch. */ orderBy?: Prisma.credit_codeOrderByWithRelationInput | Prisma.credit_codeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for credit_codes. */ cursor?: Prisma.credit_codeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` credit_codes 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` credit_codes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of credit_codes. */ distinct?: Prisma.Credit_codeScalarFieldEnum | Prisma.Credit_codeScalarFieldEnum[] } /** * credit_code findFirstOrThrow */ export type credit_codeFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the credit_code */ select?: Prisma.credit_codeSelect | null /** * Omit specific fields from the credit_code */ omit?: Prisma.credit_codeOmit | null /** * Filter, which credit_code to fetch. */ where?: Prisma.credit_codeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of credit_codes to fetch. */ orderBy?: Prisma.credit_codeOrderByWithRelationInput | Prisma.credit_codeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for credit_codes. */ cursor?: Prisma.credit_codeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` credit_codes 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` credit_codes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of credit_codes. */ distinct?: Prisma.Credit_codeScalarFieldEnum | Prisma.Credit_codeScalarFieldEnum[] } /** * credit_code findMany */ export type credit_codeFindManyArgs = { /** * Select specific fields to fetch from the credit_code */ select?: Prisma.credit_codeSelect | null /** * Omit specific fields from the credit_code */ omit?: Prisma.credit_codeOmit | null /** * Filter, which credit_codes to fetch. */ where?: Prisma.credit_codeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of credit_codes to fetch. */ orderBy?: Prisma.credit_codeOrderByWithRelationInput | Prisma.credit_codeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing credit_codes. */ cursor?: Prisma.credit_codeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` credit_codes 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` credit_codes. */ skip?: number distinct?: Prisma.Credit_codeScalarFieldEnum | Prisma.Credit_codeScalarFieldEnum[] } /** * credit_code create */ export type credit_codeCreateArgs = { /** * Select specific fields to fetch from the credit_code */ select?: Prisma.credit_codeSelect | null /** * Omit specific fields from the credit_code */ omit?: Prisma.credit_codeOmit | null /** * The data needed to create a credit_code. */ data: Prisma.XOR } /** * credit_code createMany */ export type credit_codeCreateManyArgs = { /** * The data used to create many credit_codes. */ data: Prisma.credit_codeCreateManyInput | Prisma.credit_codeCreateManyInput[] skipDuplicates?: boolean } /** * credit_code update */ export type credit_codeUpdateArgs = { /** * Select specific fields to fetch from the credit_code */ select?: Prisma.credit_codeSelect | null /** * Omit specific fields from the credit_code */ omit?: Prisma.credit_codeOmit | null /** * The data needed to update a credit_code. */ data: Prisma.XOR /** * Choose, which credit_code to update. */ where: Prisma.credit_codeWhereUniqueInput } /** * credit_code updateMany */ export type credit_codeUpdateManyArgs = { /** * The data used to update credit_codes. */ data: Prisma.XOR /** * Filter which credit_codes to update */ where?: Prisma.credit_codeWhereInput /** * Limit how many credit_codes to update. */ limit?: number } /** * credit_code upsert */ export type credit_codeUpsertArgs = { /** * Select specific fields to fetch from the credit_code */ select?: Prisma.credit_codeSelect | null /** * Omit specific fields from the credit_code */ omit?: Prisma.credit_codeOmit | null /** * The filter to search for the credit_code to update in case it exists. */ where: Prisma.credit_codeWhereUniqueInput /** * In case the credit_code found by the `where` argument doesn't exist, create a new credit_code with this data. */ create: Prisma.XOR /** * In case the credit_code was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * credit_code delete */ export type credit_codeDeleteArgs = { /** * Select specific fields to fetch from the credit_code */ select?: Prisma.credit_codeSelect | null /** * Omit specific fields from the credit_code */ omit?: Prisma.credit_codeOmit | null /** * Filter which credit_code to delete. */ where: Prisma.credit_codeWhereUniqueInput } /** * credit_code deleteMany */ export type credit_codeDeleteManyArgs = { /** * Filter which credit_codes to delete */ where?: Prisma.credit_codeWhereInput /** * Limit how many credit_codes to delete. */ limit?: number } /** * credit_code without action */ export type credit_codeDefaultArgs = { /** * Select specific fields to fetch from the credit_code */ select?: Prisma.credit_codeSelect | null /** * Omit specific fields from the credit_code */ omit?: Prisma.credit_codeOmit | null }