/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `stock_cardex` 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.js" import type * as Prisma from "../internal/prismaNamespace.js" /** * Model stock_cardex * */ export type stock_cardexModel = runtime.Types.Result.DefaultSelection export type AggregateStock_cardex = { _count: Stock_cardexCountAggregateOutputType | null _avg: Stock_cardexAvgAggregateOutputType | null _sum: Stock_cardexSumAggregateOutputType | null _min: Stock_cardexMinAggregateOutputType | null _max: Stock_cardexMaxAggregateOutputType | null } export type Stock_cardexAvgAggregateOutputType = { productId: number | null movement_id: number | null quantity: runtime.Decimal | null fee: runtime.Decimal | null totalCost: runtime.Decimal | null balance_quantity: runtime.Decimal | null balance_avg_cost: runtime.Decimal | null } export type Stock_cardexSumAggregateOutputType = { productId: number | null movement_id: number | null quantity: runtime.Decimal | null fee: runtime.Decimal | null totalCost: runtime.Decimal | null balance_quantity: runtime.Decimal | null balance_avg_cost: runtime.Decimal | null } export type Stock_cardexMinAggregateOutputType = { productId: number | null movement_id: number | null type: $Enums.stock_cardex_type | null quantity: runtime.Decimal | null fee: runtime.Decimal | null totalCost: runtime.Decimal | null balance_quantity: runtime.Decimal | null balance_avg_cost: runtime.Decimal | null createdAt: Date | null } export type Stock_cardexMaxAggregateOutputType = { productId: number | null movement_id: number | null type: $Enums.stock_cardex_type | null quantity: runtime.Decimal | null fee: runtime.Decimal | null totalCost: runtime.Decimal | null balance_quantity: runtime.Decimal | null balance_avg_cost: runtime.Decimal | null createdAt: Date | null } export type Stock_cardexCountAggregateOutputType = { productId: number movement_id: number type: number quantity: number fee: number totalCost: number balance_quantity: number balance_avg_cost: number createdAt: number _all: number } export type Stock_cardexAvgAggregateInputType = { productId?: true movement_id?: true quantity?: true fee?: true totalCost?: true balance_quantity?: true balance_avg_cost?: true } export type Stock_cardexSumAggregateInputType = { productId?: true movement_id?: true quantity?: true fee?: true totalCost?: true balance_quantity?: true balance_avg_cost?: true } export type Stock_cardexMinAggregateInputType = { productId?: true movement_id?: true type?: true quantity?: true fee?: true totalCost?: true balance_quantity?: true balance_avg_cost?: true createdAt?: true } export type Stock_cardexMaxAggregateInputType = { productId?: true movement_id?: true type?: true quantity?: true fee?: true totalCost?: true balance_quantity?: true balance_avg_cost?: true createdAt?: true } export type Stock_cardexCountAggregateInputType = { productId?: true movement_id?: true type?: true quantity?: true fee?: true totalCost?: true balance_quantity?: true balance_avg_cost?: true createdAt?: true _all?: true } export type Stock_cardexAggregateArgs = { /** * Filter which stock_cardex to aggregate. */ where?: Prisma.stock_cardexWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of stock_cardexes to fetch. */ orderBy?: Prisma.stock_cardexOrderByWithRelationInput | Prisma.stock_cardexOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` stock_cardexes 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` stock_cardexes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned stock_cardexes **/ _count?: true | Stock_cardexCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Stock_cardexAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Stock_cardexSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Stock_cardexMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Stock_cardexMaxAggregateInputType } export type GetStock_cardexAggregateType = { [P in keyof T & keyof AggregateStock_cardex]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type stock_cardexGroupByArgs = { where?: Prisma.stock_cardexWhereInput orderBy?: Prisma.stock_cardexOrderByWithAggregationInput | Prisma.stock_cardexOrderByWithAggregationInput[] by: Prisma.Stock_cardexScalarFieldEnum[] | Prisma.Stock_cardexScalarFieldEnum having?: Prisma.stock_cardexScalarWhereWithAggregatesInput take?: number skip?: number _count?: Stock_cardexCountAggregateInputType | true _avg?: Stock_cardexAvgAggregateInputType _sum?: Stock_cardexSumAggregateInputType _min?: Stock_cardexMinAggregateInputType _max?: Stock_cardexMaxAggregateInputType } export type Stock_cardexGroupByOutputType = { productId: number movement_id: number type: $Enums.stock_cardex_type quantity: runtime.Decimal fee: runtime.Decimal totalCost: runtime.Decimal balance_quantity: runtime.Decimal | null balance_avg_cost: runtime.Decimal | null createdAt: Date _count: Stock_cardexCountAggregateOutputType | null _avg: Stock_cardexAvgAggregateOutputType | null _sum: Stock_cardexSumAggregateOutputType | null _min: Stock_cardexMinAggregateOutputType | null _max: Stock_cardexMaxAggregateOutputType | null } type GetStock_cardexGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Stock_cardexGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type stock_cardexWhereInput = { AND?: Prisma.stock_cardexWhereInput | Prisma.stock_cardexWhereInput[] OR?: Prisma.stock_cardexWhereInput[] NOT?: Prisma.stock_cardexWhereInput | Prisma.stock_cardexWhereInput[] productId?: Prisma.IntFilter<"stock_cardex"> | number movement_id?: Prisma.IntFilter<"stock_cardex"> | number type?: Prisma.Enumstock_cardex_typeFilter<"stock_cardex"> | $Enums.stock_cardex_type quantity?: Prisma.DecimalFilter<"stock_cardex"> | runtime.Decimal | runtime.DecimalJsLike | number | string fee?: Prisma.DecimalFilter<"stock_cardex"> | runtime.Decimal | runtime.DecimalJsLike | number | string totalCost?: Prisma.DecimalFilter<"stock_cardex"> | runtime.Decimal | runtime.DecimalJsLike | number | string balance_quantity?: Prisma.DecimalNullableFilter<"stock_cardex"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null balance_avg_cost?: Prisma.DecimalNullableFilter<"stock_cardex"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null createdAt?: Prisma.DateTimeFilter<"stock_cardex"> | Date | string } export type stock_cardexOrderByWithRelationInput = { productId?: Prisma.SortOrder movement_id?: Prisma.SortOrder type?: Prisma.SortOrder quantity?: Prisma.SortOrder fee?: Prisma.SortOrder totalCost?: Prisma.SortOrder balance_quantity?: Prisma.SortOrderInput | Prisma.SortOrder balance_avg_cost?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder } export type stock_cardexOrderByWithAggregationInput = { productId?: Prisma.SortOrder movement_id?: Prisma.SortOrder type?: Prisma.SortOrder quantity?: Prisma.SortOrder fee?: Prisma.SortOrder totalCost?: Prisma.SortOrder balance_quantity?: Prisma.SortOrderInput | Prisma.SortOrder balance_avg_cost?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder _count?: Prisma.stock_cardexCountOrderByAggregateInput _avg?: Prisma.stock_cardexAvgOrderByAggregateInput _max?: Prisma.stock_cardexMaxOrderByAggregateInput _min?: Prisma.stock_cardexMinOrderByAggregateInput _sum?: Prisma.stock_cardexSumOrderByAggregateInput } export type stock_cardexScalarWhereWithAggregatesInput = { AND?: Prisma.stock_cardexScalarWhereWithAggregatesInput | Prisma.stock_cardexScalarWhereWithAggregatesInput[] OR?: Prisma.stock_cardexScalarWhereWithAggregatesInput[] NOT?: Prisma.stock_cardexScalarWhereWithAggregatesInput | Prisma.stock_cardexScalarWhereWithAggregatesInput[] productId?: Prisma.IntWithAggregatesFilter<"stock_cardex"> | number movement_id?: Prisma.IntWithAggregatesFilter<"stock_cardex"> | number type?: Prisma.Enumstock_cardex_typeWithAggregatesFilter<"stock_cardex"> | $Enums.stock_cardex_type quantity?: Prisma.DecimalWithAggregatesFilter<"stock_cardex"> | runtime.Decimal | runtime.DecimalJsLike | number | string fee?: Prisma.DecimalWithAggregatesFilter<"stock_cardex"> | runtime.Decimal | runtime.DecimalJsLike | number | string totalCost?: Prisma.DecimalWithAggregatesFilter<"stock_cardex"> | runtime.Decimal | runtime.DecimalJsLike | number | string balance_quantity?: Prisma.DecimalNullableWithAggregatesFilter<"stock_cardex"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null balance_avg_cost?: Prisma.DecimalNullableWithAggregatesFilter<"stock_cardex"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null createdAt?: Prisma.DateTimeWithAggregatesFilter<"stock_cardex"> | Date | string } export type stock_cardexCountOrderByAggregateInput = { productId?: Prisma.SortOrder movement_id?: Prisma.SortOrder type?: Prisma.SortOrder quantity?: Prisma.SortOrder fee?: Prisma.SortOrder totalCost?: Prisma.SortOrder balance_quantity?: Prisma.SortOrder balance_avg_cost?: Prisma.SortOrder createdAt?: Prisma.SortOrder } export type stock_cardexAvgOrderByAggregateInput = { productId?: Prisma.SortOrder movement_id?: Prisma.SortOrder quantity?: Prisma.SortOrder fee?: Prisma.SortOrder totalCost?: Prisma.SortOrder balance_quantity?: Prisma.SortOrder balance_avg_cost?: Prisma.SortOrder } export type stock_cardexMaxOrderByAggregateInput = { productId?: Prisma.SortOrder movement_id?: Prisma.SortOrder type?: Prisma.SortOrder quantity?: Prisma.SortOrder fee?: Prisma.SortOrder totalCost?: Prisma.SortOrder balance_quantity?: Prisma.SortOrder balance_avg_cost?: Prisma.SortOrder createdAt?: Prisma.SortOrder } export type stock_cardexMinOrderByAggregateInput = { productId?: Prisma.SortOrder movement_id?: Prisma.SortOrder type?: Prisma.SortOrder quantity?: Prisma.SortOrder fee?: Prisma.SortOrder totalCost?: Prisma.SortOrder balance_quantity?: Prisma.SortOrder balance_avg_cost?: Prisma.SortOrder createdAt?: Prisma.SortOrder } export type stock_cardexSumOrderByAggregateInput = { productId?: Prisma.SortOrder movement_id?: Prisma.SortOrder quantity?: Prisma.SortOrder fee?: Prisma.SortOrder totalCost?: Prisma.SortOrder balance_quantity?: Prisma.SortOrder balance_avg_cost?: Prisma.SortOrder } export type stock_cardexSelect = runtime.Types.Extensions.GetSelect<{ productId?: boolean movement_id?: boolean type?: boolean quantity?: boolean fee?: boolean totalCost?: boolean balance_quantity?: boolean balance_avg_cost?: boolean createdAt?: boolean }, ExtArgs["result"]["stock_cardex"]> export type stock_cardexSelectScalar = { productId?: boolean movement_id?: boolean type?: boolean quantity?: boolean fee?: boolean totalCost?: boolean balance_quantity?: boolean balance_avg_cost?: boolean createdAt?: boolean } export type stock_cardexOmit = runtime.Types.Extensions.GetOmit<"productId" | "movement_id" | "type" | "quantity" | "fee" | "totalCost" | "balance_quantity" | "balance_avg_cost" | "createdAt", ExtArgs["result"]["stock_cardex"]> export type $stock_cardexPayload = { name: "stock_cardex" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ productId: number movement_id: number type: $Enums.stock_cardex_type quantity: runtime.Decimal fee: runtime.Decimal totalCost: runtime.Decimal balance_quantity: runtime.Decimal | null balance_avg_cost: runtime.Decimal | null createdAt: Date }, ExtArgs["result"]["stock_cardex"]> composites: {} } export type stock_cardexGetPayload = runtime.Types.Result.GetResult export type stock_cardexCountArgs = Omit & { select?: Stock_cardexCountAggregateInputType | true } export interface stock_cardexDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['stock_cardex'], meta: { name: 'stock_cardex' } } /** * Find the first Stock_cardex 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 {stock_cardexFindFirstArgs} args - Arguments to find a Stock_cardex * @example * // Get one Stock_cardex * const stock_cardex = await prisma.stock_cardex.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst ? { orderBy: {} } : {}, SkipDependenciesValidator extends "skip" extends Prisma.Keys ? { orderBy: {} } : {}>(args?: Prisma.SelectSubset> & TakeDependenciesValidator & SkipDependenciesValidator): Prisma.Prisma__stock_cardexClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Stock_cardex 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 {stock_cardexFindFirstOrThrowArgs} args - Arguments to find a Stock_cardex * @example * // Get one Stock_cardex * const stock_cardex = await prisma.stock_cardex.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow ? { orderBy: {} } : {}, SkipDependenciesValidator extends "skip" extends Prisma.Keys ? { orderBy: {} } : {}>(args?: Prisma.SelectSubset> & TakeDependenciesValidator & SkipDependenciesValidator): Prisma.Prisma__stock_cardexClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Stock_cardexes 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 {stock_cardexFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Stock_cardexes * const stock_cardexes = await prisma.stock_cardex.findMany() * * // Get first 10 Stock_cardexes * const stock_cardexes = await prisma.stock_cardex.findMany({ take: 10 }) * * // Only select the `productId` * const stock_cardexWithProductIdOnly = await prisma.stock_cardex.findMany({ select: { productId: true } }) * */ findMany ? { orderBy: {} } : {}, SkipDependenciesValidator extends "skip" extends Prisma.Keys ? { orderBy: {} } : {}>(args?: Prisma.SelectSubset> & TakeDependenciesValidator & SkipDependenciesValidator): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Count the number of Stock_cardexes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {stock_cardexCountArgs} args - Arguments to filter Stock_cardexes to count. * @example * // Count the number of Stock_cardexes * const count = await prisma.stock_cardex.count({ * where: { * // ... the filter for the Stock_cardexes 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 Stock_cardex. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Stock_cardexAggregateArgs} 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 Stock_cardex. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {stock_cardexGroupByArgs} 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 stock_cardexGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: stock_cardexGroupByArgs['orderBy'] } : { orderBy?: stock_cardexGroupByArgs['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 ? GetStock_cardexGroupByPayload : Prisma.PrismaPromise /** * Fields of the stock_cardex model */ readonly fields: stock_cardexFieldRefs; } /** * The delegate class that acts as a "Promise-like" for stock_cardex. * 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__stock_cardexClient 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 stock_cardex model */ export interface stock_cardexFieldRefs { readonly productId: Prisma.FieldRef<"stock_cardex", 'Int'> readonly movement_id: Prisma.FieldRef<"stock_cardex", 'Int'> readonly type: Prisma.FieldRef<"stock_cardex", 'stock_cardex_type'> readonly quantity: Prisma.FieldRef<"stock_cardex", 'Decimal'> readonly fee: Prisma.FieldRef<"stock_cardex", 'Decimal'> readonly totalCost: Prisma.FieldRef<"stock_cardex", 'Decimal'> readonly balance_quantity: Prisma.FieldRef<"stock_cardex", 'Decimal'> readonly balance_avg_cost: Prisma.FieldRef<"stock_cardex", 'Decimal'> readonly createdAt: Prisma.FieldRef<"stock_cardex", 'DateTime'> } // Custom InputTypes /** * stock_cardex findFirst */ export type stock_cardexFindFirstArgs = { /** * Select specific fields to fetch from the stock_cardex */ select?: Prisma.stock_cardexSelect | null /** * Omit specific fields from the stock_cardex */ omit?: Prisma.stock_cardexOmit | null /** * Filter, which stock_cardex to fetch. */ where?: Prisma.stock_cardexWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of stock_cardexes to fetch. */ orderBy?: Prisma.stock_cardexOrderByWithRelationInput | Prisma.stock_cardexOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` stock_cardexes 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` stock_cardexes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of stock_cardexes. */ distinct?: Prisma.Stock_cardexScalarFieldEnum | Prisma.Stock_cardexScalarFieldEnum[] } /** * stock_cardex findFirstOrThrow */ export type stock_cardexFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the stock_cardex */ select?: Prisma.stock_cardexSelect | null /** * Omit specific fields from the stock_cardex */ omit?: Prisma.stock_cardexOmit | null /** * Filter, which stock_cardex to fetch. */ where?: Prisma.stock_cardexWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of stock_cardexes to fetch. */ orderBy?: Prisma.stock_cardexOrderByWithRelationInput | Prisma.stock_cardexOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` stock_cardexes 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` stock_cardexes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of stock_cardexes. */ distinct?: Prisma.Stock_cardexScalarFieldEnum | Prisma.Stock_cardexScalarFieldEnum[] } /** * stock_cardex findMany */ export type stock_cardexFindManyArgs = { /** * Select specific fields to fetch from the stock_cardex */ select?: Prisma.stock_cardexSelect | null /** * Omit specific fields from the stock_cardex */ omit?: Prisma.stock_cardexOmit | null /** * Filter, which stock_cardexes to fetch. */ where?: Prisma.stock_cardexWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of stock_cardexes to fetch. */ orderBy?: Prisma.stock_cardexOrderByWithRelationInput | Prisma.stock_cardexOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` stock_cardexes 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` stock_cardexes. */ skip?: number distinct?: Prisma.Stock_cardexScalarFieldEnum | Prisma.Stock_cardexScalarFieldEnum[] } /** * stock_cardex without action */ export type stock_cardexDefaultArgs = { /** * Select specific fields to fetch from the stock_cardex */ select?: Prisma.stock_cardexSelect | null /** * Omit specific fields from the stock_cardex */ omit?: Prisma.stock_cardexOmit | null }