/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `InventoryTransferItem` 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 InventoryTransferItem * */ export type InventoryTransferItemModel = runtime.Types.Result.DefaultSelection export type AggregateInventoryTransferItem = { _count: InventoryTransferItemCountAggregateOutputType | null _avg: InventoryTransferItemAvgAggregateOutputType | null _sum: InventoryTransferItemSumAggregateOutputType | null _min: InventoryTransferItemMinAggregateOutputType | null _max: InventoryTransferItemMaxAggregateOutputType | null } export type InventoryTransferItemAvgAggregateOutputType = { id: number | null count: runtime.Decimal | null productId: number | null transferId: number | null } export type InventoryTransferItemSumAggregateOutputType = { id: number | null count: runtime.Decimal | null productId: number | null transferId: number | null } export type InventoryTransferItemMinAggregateOutputType = { id: number | null count: runtime.Decimal | null productId: number | null transferId: number | null } export type InventoryTransferItemMaxAggregateOutputType = { id: number | null count: runtime.Decimal | null productId: number | null transferId: number | null } export type InventoryTransferItemCountAggregateOutputType = { id: number count: number productId: number transferId: number _all: number } export type InventoryTransferItemAvgAggregateInputType = { id?: true count?: true productId?: true transferId?: true } export type InventoryTransferItemSumAggregateInputType = { id?: true count?: true productId?: true transferId?: true } export type InventoryTransferItemMinAggregateInputType = { id?: true count?: true productId?: true transferId?: true } export type InventoryTransferItemMaxAggregateInputType = { id?: true count?: true productId?: true transferId?: true } export type InventoryTransferItemCountAggregateInputType = { id?: true count?: true productId?: true transferId?: true _all?: true } export type InventoryTransferItemAggregateArgs = { /** * Filter which InventoryTransferItem to aggregate. */ where?: Prisma.InventoryTransferItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of InventoryTransferItems to fetch. */ orderBy?: Prisma.InventoryTransferItemOrderByWithRelationInput | Prisma.InventoryTransferItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.InventoryTransferItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` InventoryTransferItems 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` InventoryTransferItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned InventoryTransferItems **/ _count?: true | InventoryTransferItemCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: InventoryTransferItemAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: InventoryTransferItemSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: InventoryTransferItemMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: InventoryTransferItemMaxAggregateInputType } export type GetInventoryTransferItemAggregateType = { [P in keyof T & keyof AggregateInventoryTransferItem]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type InventoryTransferItemGroupByArgs = { where?: Prisma.InventoryTransferItemWhereInput orderBy?: Prisma.InventoryTransferItemOrderByWithAggregationInput | Prisma.InventoryTransferItemOrderByWithAggregationInput[] by: Prisma.InventoryTransferItemScalarFieldEnum[] | Prisma.InventoryTransferItemScalarFieldEnum having?: Prisma.InventoryTransferItemScalarWhereWithAggregatesInput take?: number skip?: number _count?: InventoryTransferItemCountAggregateInputType | true _avg?: InventoryTransferItemAvgAggregateInputType _sum?: InventoryTransferItemSumAggregateInputType _min?: InventoryTransferItemMinAggregateInputType _max?: InventoryTransferItemMaxAggregateInputType } export type InventoryTransferItemGroupByOutputType = { id: number count: runtime.Decimal productId: number transferId: number _count: InventoryTransferItemCountAggregateOutputType | null _avg: InventoryTransferItemAvgAggregateOutputType | null _sum: InventoryTransferItemSumAggregateOutputType | null _min: InventoryTransferItemMinAggregateOutputType | null _max: InventoryTransferItemMaxAggregateOutputType | null } type GetInventoryTransferItemGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof InventoryTransferItemGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type InventoryTransferItemWhereInput = { AND?: Prisma.InventoryTransferItemWhereInput | Prisma.InventoryTransferItemWhereInput[] OR?: Prisma.InventoryTransferItemWhereInput[] NOT?: Prisma.InventoryTransferItemWhereInput | Prisma.InventoryTransferItemWhereInput[] id?: Prisma.IntFilter<"InventoryTransferItem"> | number count?: Prisma.DecimalFilter<"InventoryTransferItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string productId?: Prisma.IntFilter<"InventoryTransferItem"> | number transferId?: Prisma.IntFilter<"InventoryTransferItem"> | number product?: Prisma.XOR transfer?: Prisma.XOR } export type InventoryTransferItemOrderByWithRelationInput = { id?: Prisma.SortOrder count?: Prisma.SortOrder productId?: Prisma.SortOrder transferId?: Prisma.SortOrder product?: Prisma.ProductOrderByWithRelationInput transfer?: Prisma.InventoryTransferOrderByWithRelationInput } export type InventoryTransferItemWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.InventoryTransferItemWhereInput | Prisma.InventoryTransferItemWhereInput[] OR?: Prisma.InventoryTransferItemWhereInput[] NOT?: Prisma.InventoryTransferItemWhereInput | Prisma.InventoryTransferItemWhereInput[] count?: Prisma.DecimalFilter<"InventoryTransferItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string productId?: Prisma.IntFilter<"InventoryTransferItem"> | number transferId?: Prisma.IntFilter<"InventoryTransferItem"> | number product?: Prisma.XOR transfer?: Prisma.XOR }, "id"> export type InventoryTransferItemOrderByWithAggregationInput = { id?: Prisma.SortOrder count?: Prisma.SortOrder productId?: Prisma.SortOrder transferId?: Prisma.SortOrder _count?: Prisma.InventoryTransferItemCountOrderByAggregateInput _avg?: Prisma.InventoryTransferItemAvgOrderByAggregateInput _max?: Prisma.InventoryTransferItemMaxOrderByAggregateInput _min?: Prisma.InventoryTransferItemMinOrderByAggregateInput _sum?: Prisma.InventoryTransferItemSumOrderByAggregateInput } export type InventoryTransferItemScalarWhereWithAggregatesInput = { AND?: Prisma.InventoryTransferItemScalarWhereWithAggregatesInput | Prisma.InventoryTransferItemScalarWhereWithAggregatesInput[] OR?: Prisma.InventoryTransferItemScalarWhereWithAggregatesInput[] NOT?: Prisma.InventoryTransferItemScalarWhereWithAggregatesInput | Prisma.InventoryTransferItemScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"InventoryTransferItem"> | number count?: Prisma.DecimalWithAggregatesFilter<"InventoryTransferItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string productId?: Prisma.IntWithAggregatesFilter<"InventoryTransferItem"> | number transferId?: Prisma.IntWithAggregatesFilter<"InventoryTransferItem"> | number } export type InventoryTransferItemCreateInput = { count: runtime.Decimal | runtime.DecimalJsLike | number | string product: Prisma.ProductCreateNestedOneWithoutInventoryTransferItemsInput transfer: Prisma.InventoryTransferCreateNestedOneWithoutItemsInput } export type InventoryTransferItemUncheckedCreateInput = { id?: number count: runtime.Decimal | runtime.DecimalJsLike | number | string productId: number transferId: number } export type InventoryTransferItemUpdateInput = { count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string product?: Prisma.ProductUpdateOneRequiredWithoutInventoryTransferItemsNestedInput transfer?: Prisma.InventoryTransferUpdateOneRequiredWithoutItemsNestedInput } export type InventoryTransferItemUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string productId?: Prisma.IntFieldUpdateOperationsInput | number transferId?: Prisma.IntFieldUpdateOperationsInput | number } export type InventoryTransferItemCreateManyInput = { id?: number count: runtime.Decimal | runtime.DecimalJsLike | number | string productId: number transferId: number } export type InventoryTransferItemUpdateManyMutationInput = { count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string } export type InventoryTransferItemUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string productId?: Prisma.IntFieldUpdateOperationsInput | number transferId?: Prisma.IntFieldUpdateOperationsInput | number } export type InventoryTransferItemListRelationFilter = { every?: Prisma.InventoryTransferItemWhereInput some?: Prisma.InventoryTransferItemWhereInput none?: Prisma.InventoryTransferItemWhereInput } export type InventoryTransferItemOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type InventoryTransferItemCountOrderByAggregateInput = { id?: Prisma.SortOrder count?: Prisma.SortOrder productId?: Prisma.SortOrder transferId?: Prisma.SortOrder } export type InventoryTransferItemAvgOrderByAggregateInput = { id?: Prisma.SortOrder count?: Prisma.SortOrder productId?: Prisma.SortOrder transferId?: Prisma.SortOrder } export type InventoryTransferItemMaxOrderByAggregateInput = { id?: Prisma.SortOrder count?: Prisma.SortOrder productId?: Prisma.SortOrder transferId?: Prisma.SortOrder } export type InventoryTransferItemMinOrderByAggregateInput = { id?: Prisma.SortOrder count?: Prisma.SortOrder productId?: Prisma.SortOrder transferId?: Prisma.SortOrder } export type InventoryTransferItemSumOrderByAggregateInput = { id?: Prisma.SortOrder count?: Prisma.SortOrder productId?: Prisma.SortOrder transferId?: Prisma.SortOrder } export type InventoryTransferItemCreateNestedManyWithoutProductInput = { create?: Prisma.XOR | Prisma.InventoryTransferItemCreateWithoutProductInput[] | Prisma.InventoryTransferItemUncheckedCreateWithoutProductInput[] connectOrCreate?: Prisma.InventoryTransferItemCreateOrConnectWithoutProductInput | Prisma.InventoryTransferItemCreateOrConnectWithoutProductInput[] createMany?: Prisma.InventoryTransferItemCreateManyProductInputEnvelope connect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] } export type InventoryTransferItemUncheckedCreateNestedManyWithoutProductInput = { create?: Prisma.XOR | Prisma.InventoryTransferItemCreateWithoutProductInput[] | Prisma.InventoryTransferItemUncheckedCreateWithoutProductInput[] connectOrCreate?: Prisma.InventoryTransferItemCreateOrConnectWithoutProductInput | Prisma.InventoryTransferItemCreateOrConnectWithoutProductInput[] createMany?: Prisma.InventoryTransferItemCreateManyProductInputEnvelope connect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] } export type InventoryTransferItemUpdateManyWithoutProductNestedInput = { create?: Prisma.XOR | Prisma.InventoryTransferItemCreateWithoutProductInput[] | Prisma.InventoryTransferItemUncheckedCreateWithoutProductInput[] connectOrCreate?: Prisma.InventoryTransferItemCreateOrConnectWithoutProductInput | Prisma.InventoryTransferItemCreateOrConnectWithoutProductInput[] upsert?: Prisma.InventoryTransferItemUpsertWithWhereUniqueWithoutProductInput | Prisma.InventoryTransferItemUpsertWithWhereUniqueWithoutProductInput[] createMany?: Prisma.InventoryTransferItemCreateManyProductInputEnvelope set?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] disconnect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] delete?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] connect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] update?: Prisma.InventoryTransferItemUpdateWithWhereUniqueWithoutProductInput | Prisma.InventoryTransferItemUpdateWithWhereUniqueWithoutProductInput[] updateMany?: Prisma.InventoryTransferItemUpdateManyWithWhereWithoutProductInput | Prisma.InventoryTransferItemUpdateManyWithWhereWithoutProductInput[] deleteMany?: Prisma.InventoryTransferItemScalarWhereInput | Prisma.InventoryTransferItemScalarWhereInput[] } export type InventoryTransferItemUncheckedUpdateManyWithoutProductNestedInput = { create?: Prisma.XOR | Prisma.InventoryTransferItemCreateWithoutProductInput[] | Prisma.InventoryTransferItemUncheckedCreateWithoutProductInput[] connectOrCreate?: Prisma.InventoryTransferItemCreateOrConnectWithoutProductInput | Prisma.InventoryTransferItemCreateOrConnectWithoutProductInput[] upsert?: Prisma.InventoryTransferItemUpsertWithWhereUniqueWithoutProductInput | Prisma.InventoryTransferItemUpsertWithWhereUniqueWithoutProductInput[] createMany?: Prisma.InventoryTransferItemCreateManyProductInputEnvelope set?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] disconnect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] delete?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] connect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] update?: Prisma.InventoryTransferItemUpdateWithWhereUniqueWithoutProductInput | Prisma.InventoryTransferItemUpdateWithWhereUniqueWithoutProductInput[] updateMany?: Prisma.InventoryTransferItemUpdateManyWithWhereWithoutProductInput | Prisma.InventoryTransferItemUpdateManyWithWhereWithoutProductInput[] deleteMany?: Prisma.InventoryTransferItemScalarWhereInput | Prisma.InventoryTransferItemScalarWhereInput[] } export type InventoryTransferItemCreateNestedManyWithoutTransferInput = { create?: Prisma.XOR | Prisma.InventoryTransferItemCreateWithoutTransferInput[] | Prisma.InventoryTransferItemUncheckedCreateWithoutTransferInput[] connectOrCreate?: Prisma.InventoryTransferItemCreateOrConnectWithoutTransferInput | Prisma.InventoryTransferItemCreateOrConnectWithoutTransferInput[] createMany?: Prisma.InventoryTransferItemCreateManyTransferInputEnvelope connect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] } export type InventoryTransferItemUncheckedCreateNestedManyWithoutTransferInput = { create?: Prisma.XOR | Prisma.InventoryTransferItemCreateWithoutTransferInput[] | Prisma.InventoryTransferItemUncheckedCreateWithoutTransferInput[] connectOrCreate?: Prisma.InventoryTransferItemCreateOrConnectWithoutTransferInput | Prisma.InventoryTransferItemCreateOrConnectWithoutTransferInput[] createMany?: Prisma.InventoryTransferItemCreateManyTransferInputEnvelope connect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] } export type InventoryTransferItemUpdateManyWithoutTransferNestedInput = { create?: Prisma.XOR | Prisma.InventoryTransferItemCreateWithoutTransferInput[] | Prisma.InventoryTransferItemUncheckedCreateWithoutTransferInput[] connectOrCreate?: Prisma.InventoryTransferItemCreateOrConnectWithoutTransferInput | Prisma.InventoryTransferItemCreateOrConnectWithoutTransferInput[] upsert?: Prisma.InventoryTransferItemUpsertWithWhereUniqueWithoutTransferInput | Prisma.InventoryTransferItemUpsertWithWhereUniqueWithoutTransferInput[] createMany?: Prisma.InventoryTransferItemCreateManyTransferInputEnvelope set?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] disconnect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] delete?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] connect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] update?: Prisma.InventoryTransferItemUpdateWithWhereUniqueWithoutTransferInput | Prisma.InventoryTransferItemUpdateWithWhereUniqueWithoutTransferInput[] updateMany?: Prisma.InventoryTransferItemUpdateManyWithWhereWithoutTransferInput | Prisma.InventoryTransferItemUpdateManyWithWhereWithoutTransferInput[] deleteMany?: Prisma.InventoryTransferItemScalarWhereInput | Prisma.InventoryTransferItemScalarWhereInput[] } export type InventoryTransferItemUncheckedUpdateManyWithoutTransferNestedInput = { create?: Prisma.XOR | Prisma.InventoryTransferItemCreateWithoutTransferInput[] | Prisma.InventoryTransferItemUncheckedCreateWithoutTransferInput[] connectOrCreate?: Prisma.InventoryTransferItemCreateOrConnectWithoutTransferInput | Prisma.InventoryTransferItemCreateOrConnectWithoutTransferInput[] upsert?: Prisma.InventoryTransferItemUpsertWithWhereUniqueWithoutTransferInput | Prisma.InventoryTransferItemUpsertWithWhereUniqueWithoutTransferInput[] createMany?: Prisma.InventoryTransferItemCreateManyTransferInputEnvelope set?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] disconnect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] delete?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] connect?: Prisma.InventoryTransferItemWhereUniqueInput | Prisma.InventoryTransferItemWhereUniqueInput[] update?: Prisma.InventoryTransferItemUpdateWithWhereUniqueWithoutTransferInput | Prisma.InventoryTransferItemUpdateWithWhereUniqueWithoutTransferInput[] updateMany?: Prisma.InventoryTransferItemUpdateManyWithWhereWithoutTransferInput | Prisma.InventoryTransferItemUpdateManyWithWhereWithoutTransferInput[] deleteMany?: Prisma.InventoryTransferItemScalarWhereInput | Prisma.InventoryTransferItemScalarWhereInput[] } export type InventoryTransferItemCreateWithoutProductInput = { count: runtime.Decimal | runtime.DecimalJsLike | number | string transfer: Prisma.InventoryTransferCreateNestedOneWithoutItemsInput } export type InventoryTransferItemUncheckedCreateWithoutProductInput = { id?: number count: runtime.Decimal | runtime.DecimalJsLike | number | string transferId: number } export type InventoryTransferItemCreateOrConnectWithoutProductInput = { where: Prisma.InventoryTransferItemWhereUniqueInput create: Prisma.XOR } export type InventoryTransferItemCreateManyProductInputEnvelope = { data: Prisma.InventoryTransferItemCreateManyProductInput | Prisma.InventoryTransferItemCreateManyProductInput[] skipDuplicates?: boolean } export type InventoryTransferItemUpsertWithWhereUniqueWithoutProductInput = { where: Prisma.InventoryTransferItemWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type InventoryTransferItemUpdateWithWhereUniqueWithoutProductInput = { where: Prisma.InventoryTransferItemWhereUniqueInput data: Prisma.XOR } export type InventoryTransferItemUpdateManyWithWhereWithoutProductInput = { where: Prisma.InventoryTransferItemScalarWhereInput data: Prisma.XOR } export type InventoryTransferItemScalarWhereInput = { AND?: Prisma.InventoryTransferItemScalarWhereInput | Prisma.InventoryTransferItemScalarWhereInput[] OR?: Prisma.InventoryTransferItemScalarWhereInput[] NOT?: Prisma.InventoryTransferItemScalarWhereInput | Prisma.InventoryTransferItemScalarWhereInput[] id?: Prisma.IntFilter<"InventoryTransferItem"> | number count?: Prisma.DecimalFilter<"InventoryTransferItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string productId?: Prisma.IntFilter<"InventoryTransferItem"> | number transferId?: Prisma.IntFilter<"InventoryTransferItem"> | number } export type InventoryTransferItemCreateWithoutTransferInput = { count: runtime.Decimal | runtime.DecimalJsLike | number | string product: Prisma.ProductCreateNestedOneWithoutInventoryTransferItemsInput } export type InventoryTransferItemUncheckedCreateWithoutTransferInput = { id?: number count: runtime.Decimal | runtime.DecimalJsLike | number | string productId: number } export type InventoryTransferItemCreateOrConnectWithoutTransferInput = { where: Prisma.InventoryTransferItemWhereUniqueInput create: Prisma.XOR } export type InventoryTransferItemCreateManyTransferInputEnvelope = { data: Prisma.InventoryTransferItemCreateManyTransferInput | Prisma.InventoryTransferItemCreateManyTransferInput[] skipDuplicates?: boolean } export type InventoryTransferItemUpsertWithWhereUniqueWithoutTransferInput = { where: Prisma.InventoryTransferItemWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type InventoryTransferItemUpdateWithWhereUniqueWithoutTransferInput = { where: Prisma.InventoryTransferItemWhereUniqueInput data: Prisma.XOR } export type InventoryTransferItemUpdateManyWithWhereWithoutTransferInput = { where: Prisma.InventoryTransferItemScalarWhereInput data: Prisma.XOR } export type InventoryTransferItemCreateManyProductInput = { id?: number count: runtime.Decimal | runtime.DecimalJsLike | number | string transferId: number } export type InventoryTransferItemUpdateWithoutProductInput = { count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string transfer?: Prisma.InventoryTransferUpdateOneRequiredWithoutItemsNestedInput } export type InventoryTransferItemUncheckedUpdateWithoutProductInput = { id?: Prisma.IntFieldUpdateOperationsInput | number count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string transferId?: Prisma.IntFieldUpdateOperationsInput | number } export type InventoryTransferItemUncheckedUpdateManyWithoutProductInput = { id?: Prisma.IntFieldUpdateOperationsInput | number count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string transferId?: Prisma.IntFieldUpdateOperationsInput | number } export type InventoryTransferItemCreateManyTransferInput = { id?: number count: runtime.Decimal | runtime.DecimalJsLike | number | string productId: number } export type InventoryTransferItemUpdateWithoutTransferInput = { count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string product?: Prisma.ProductUpdateOneRequiredWithoutInventoryTransferItemsNestedInput } export type InventoryTransferItemUncheckedUpdateWithoutTransferInput = { id?: Prisma.IntFieldUpdateOperationsInput | number count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string productId?: Prisma.IntFieldUpdateOperationsInput | number } export type InventoryTransferItemUncheckedUpdateManyWithoutTransferInput = { id?: Prisma.IntFieldUpdateOperationsInput | number count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string productId?: Prisma.IntFieldUpdateOperationsInput | number } export type InventoryTransferItemSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean count?: boolean productId?: boolean transferId?: boolean product?: boolean | Prisma.ProductDefaultArgs transfer?: boolean | Prisma.InventoryTransferDefaultArgs }, ExtArgs["result"]["inventoryTransferItem"]> export type InventoryTransferItemSelectScalar = { id?: boolean count?: boolean productId?: boolean transferId?: boolean } export type InventoryTransferItemOmit = runtime.Types.Extensions.GetOmit<"id" | "count" | "productId" | "transferId", ExtArgs["result"]["inventoryTransferItem"]> export type InventoryTransferItemInclude = { product?: boolean | Prisma.ProductDefaultArgs transfer?: boolean | Prisma.InventoryTransferDefaultArgs } export type $InventoryTransferItemPayload = { name: "InventoryTransferItem" objects: { product: Prisma.$ProductPayload transfer: Prisma.$InventoryTransferPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number count: runtime.Decimal productId: number transferId: number }, ExtArgs["result"]["inventoryTransferItem"]> composites: {} } export type InventoryTransferItemGetPayload = runtime.Types.Result.GetResult export type InventoryTransferItemCountArgs = Omit & { select?: InventoryTransferItemCountAggregateInputType | true } export interface InventoryTransferItemDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['InventoryTransferItem'], meta: { name: 'InventoryTransferItem' } } /** * Find zero or one InventoryTransferItem that matches the filter. * @param {InventoryTransferItemFindUniqueArgs} args - Arguments to find a InventoryTransferItem * @example * // Get one InventoryTransferItem * const inventoryTransferItem = await prisma.inventoryTransferItem.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferItemClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one InventoryTransferItem that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {InventoryTransferItemFindUniqueOrThrowArgs} args - Arguments to find a InventoryTransferItem * @example * // Get one InventoryTransferItem * const inventoryTransferItem = await prisma.inventoryTransferItem.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferItemClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first InventoryTransferItem 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 {InventoryTransferItemFindFirstArgs} args - Arguments to find a InventoryTransferItem * @example * // Get one InventoryTransferItem * const inventoryTransferItem = await prisma.inventoryTransferItem.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferItemClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first InventoryTransferItem 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 {InventoryTransferItemFindFirstOrThrowArgs} args - Arguments to find a InventoryTransferItem * @example * // Get one InventoryTransferItem * const inventoryTransferItem = await prisma.inventoryTransferItem.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferItemClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more InventoryTransferItems 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 {InventoryTransferItemFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all InventoryTransferItems * const inventoryTransferItems = await prisma.inventoryTransferItem.findMany() * * // Get first 10 InventoryTransferItems * const inventoryTransferItems = await prisma.inventoryTransferItem.findMany({ take: 10 }) * * // Only select the `id` * const inventoryTransferItemWithIdOnly = await prisma.inventoryTransferItem.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a InventoryTransferItem. * @param {InventoryTransferItemCreateArgs} args - Arguments to create a InventoryTransferItem. * @example * // Create one InventoryTransferItem * const InventoryTransferItem = await prisma.inventoryTransferItem.create({ * data: { * // ... data to create a InventoryTransferItem * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferItemClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many InventoryTransferItems. * @param {InventoryTransferItemCreateManyArgs} args - Arguments to create many InventoryTransferItems. * @example * // Create many InventoryTransferItems * const inventoryTransferItem = await prisma.inventoryTransferItem.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a InventoryTransferItem. * @param {InventoryTransferItemDeleteArgs} args - Arguments to delete one InventoryTransferItem. * @example * // Delete one InventoryTransferItem * const InventoryTransferItem = await prisma.inventoryTransferItem.delete({ * where: { * // ... filter to delete one InventoryTransferItem * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferItemClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one InventoryTransferItem. * @param {InventoryTransferItemUpdateArgs} args - Arguments to update one InventoryTransferItem. * @example * // Update one InventoryTransferItem * const inventoryTransferItem = await prisma.inventoryTransferItem.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferItemClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more InventoryTransferItems. * @param {InventoryTransferItemDeleteManyArgs} args - Arguments to filter InventoryTransferItems to delete. * @example * // Delete a few InventoryTransferItems * const { count } = await prisma.inventoryTransferItem.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more InventoryTransferItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {InventoryTransferItemUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many InventoryTransferItems * const inventoryTransferItem = await prisma.inventoryTransferItem.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one InventoryTransferItem. * @param {InventoryTransferItemUpsertArgs} args - Arguments to update or create a InventoryTransferItem. * @example * // Update or create a InventoryTransferItem * const inventoryTransferItem = await prisma.inventoryTransferItem.upsert({ * create: { * // ... data to create a InventoryTransferItem * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the InventoryTransferItem we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferItemClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of InventoryTransferItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {InventoryTransferItemCountArgs} args - Arguments to filter InventoryTransferItems to count. * @example * // Count the number of InventoryTransferItems * const count = await prisma.inventoryTransferItem.count({ * where: { * // ... the filter for the InventoryTransferItems 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 InventoryTransferItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {InventoryTransferItemAggregateArgs} 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 InventoryTransferItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {InventoryTransferItemGroupByArgs} 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 InventoryTransferItemGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: InventoryTransferItemGroupByArgs['orderBy'] } : { orderBy?: InventoryTransferItemGroupByArgs['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 ? GetInventoryTransferItemGroupByPayload : Prisma.PrismaPromise /** * Fields of the InventoryTransferItem model */ readonly fields: InventoryTransferItemFieldRefs; } /** * The delegate class that acts as a "Promise-like" for InventoryTransferItem. * 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__InventoryTransferItemClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" product = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProductClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> transfer = {}>(args?: Prisma.Subset>): Prisma.Prisma__InventoryTransferClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * 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 InventoryTransferItem model */ export interface InventoryTransferItemFieldRefs { readonly id: Prisma.FieldRef<"InventoryTransferItem", 'Int'> readonly count: Prisma.FieldRef<"InventoryTransferItem", 'Decimal'> readonly productId: Prisma.FieldRef<"InventoryTransferItem", 'Int'> readonly transferId: Prisma.FieldRef<"InventoryTransferItem", 'Int'> } // Custom InputTypes /** * InventoryTransferItem findUnique */ export type InventoryTransferItemFindUniqueArgs = { /** * Select specific fields to fetch from the InventoryTransferItem */ select?: Prisma.InventoryTransferItemSelect | null /** * Omit specific fields from the InventoryTransferItem */ omit?: Prisma.InventoryTransferItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferItemInclude | null /** * Filter, which InventoryTransferItem to fetch. */ where: Prisma.InventoryTransferItemWhereUniqueInput } /** * InventoryTransferItem findUniqueOrThrow */ export type InventoryTransferItemFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the InventoryTransferItem */ select?: Prisma.InventoryTransferItemSelect | null /** * Omit specific fields from the InventoryTransferItem */ omit?: Prisma.InventoryTransferItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferItemInclude | null /** * Filter, which InventoryTransferItem to fetch. */ where: Prisma.InventoryTransferItemWhereUniqueInput } /** * InventoryTransferItem findFirst */ export type InventoryTransferItemFindFirstArgs = { /** * Select specific fields to fetch from the InventoryTransferItem */ select?: Prisma.InventoryTransferItemSelect | null /** * Omit specific fields from the InventoryTransferItem */ omit?: Prisma.InventoryTransferItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferItemInclude | null /** * Filter, which InventoryTransferItem to fetch. */ where?: Prisma.InventoryTransferItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of InventoryTransferItems to fetch. */ orderBy?: Prisma.InventoryTransferItemOrderByWithRelationInput | Prisma.InventoryTransferItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for InventoryTransferItems. */ cursor?: Prisma.InventoryTransferItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` InventoryTransferItems 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` InventoryTransferItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of InventoryTransferItems. */ distinct?: Prisma.InventoryTransferItemScalarFieldEnum | Prisma.InventoryTransferItemScalarFieldEnum[] } /** * InventoryTransferItem findFirstOrThrow */ export type InventoryTransferItemFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the InventoryTransferItem */ select?: Prisma.InventoryTransferItemSelect | null /** * Omit specific fields from the InventoryTransferItem */ omit?: Prisma.InventoryTransferItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferItemInclude | null /** * Filter, which InventoryTransferItem to fetch. */ where?: Prisma.InventoryTransferItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of InventoryTransferItems to fetch. */ orderBy?: Prisma.InventoryTransferItemOrderByWithRelationInput | Prisma.InventoryTransferItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for InventoryTransferItems. */ cursor?: Prisma.InventoryTransferItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` InventoryTransferItems 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` InventoryTransferItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of InventoryTransferItems. */ distinct?: Prisma.InventoryTransferItemScalarFieldEnum | Prisma.InventoryTransferItemScalarFieldEnum[] } /** * InventoryTransferItem findMany */ export type InventoryTransferItemFindManyArgs = { /** * Select specific fields to fetch from the InventoryTransferItem */ select?: Prisma.InventoryTransferItemSelect | null /** * Omit specific fields from the InventoryTransferItem */ omit?: Prisma.InventoryTransferItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferItemInclude | null /** * Filter, which InventoryTransferItems to fetch. */ where?: Prisma.InventoryTransferItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of InventoryTransferItems to fetch. */ orderBy?: Prisma.InventoryTransferItemOrderByWithRelationInput | Prisma.InventoryTransferItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing InventoryTransferItems. */ cursor?: Prisma.InventoryTransferItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` InventoryTransferItems 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` InventoryTransferItems. */ skip?: number distinct?: Prisma.InventoryTransferItemScalarFieldEnum | Prisma.InventoryTransferItemScalarFieldEnum[] } /** * InventoryTransferItem create */ export type InventoryTransferItemCreateArgs = { /** * Select specific fields to fetch from the InventoryTransferItem */ select?: Prisma.InventoryTransferItemSelect | null /** * Omit specific fields from the InventoryTransferItem */ omit?: Prisma.InventoryTransferItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferItemInclude | null /** * The data needed to create a InventoryTransferItem. */ data: Prisma.XOR } /** * InventoryTransferItem createMany */ export type InventoryTransferItemCreateManyArgs = { /** * The data used to create many InventoryTransferItems. */ data: Prisma.InventoryTransferItemCreateManyInput | Prisma.InventoryTransferItemCreateManyInput[] skipDuplicates?: boolean } /** * InventoryTransferItem update */ export type InventoryTransferItemUpdateArgs = { /** * Select specific fields to fetch from the InventoryTransferItem */ select?: Prisma.InventoryTransferItemSelect | null /** * Omit specific fields from the InventoryTransferItem */ omit?: Prisma.InventoryTransferItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferItemInclude | null /** * The data needed to update a InventoryTransferItem. */ data: Prisma.XOR /** * Choose, which InventoryTransferItem to update. */ where: Prisma.InventoryTransferItemWhereUniqueInput } /** * InventoryTransferItem updateMany */ export type InventoryTransferItemUpdateManyArgs = { /** * The data used to update InventoryTransferItems. */ data: Prisma.XOR /** * Filter which InventoryTransferItems to update */ where?: Prisma.InventoryTransferItemWhereInput /** * Limit how many InventoryTransferItems to update. */ limit?: number } /** * InventoryTransferItem upsert */ export type InventoryTransferItemUpsertArgs = { /** * Select specific fields to fetch from the InventoryTransferItem */ select?: Prisma.InventoryTransferItemSelect | null /** * Omit specific fields from the InventoryTransferItem */ omit?: Prisma.InventoryTransferItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferItemInclude | null /** * The filter to search for the InventoryTransferItem to update in case it exists. */ where: Prisma.InventoryTransferItemWhereUniqueInput /** * In case the InventoryTransferItem found by the `where` argument doesn't exist, create a new InventoryTransferItem with this data. */ create: Prisma.XOR /** * In case the InventoryTransferItem was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * InventoryTransferItem delete */ export type InventoryTransferItemDeleteArgs = { /** * Select specific fields to fetch from the InventoryTransferItem */ select?: Prisma.InventoryTransferItemSelect | null /** * Omit specific fields from the InventoryTransferItem */ omit?: Prisma.InventoryTransferItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferItemInclude | null /** * Filter which InventoryTransferItem to delete. */ where: Prisma.InventoryTransferItemWhereUniqueInput } /** * InventoryTransferItem deleteMany */ export type InventoryTransferItemDeleteManyArgs = { /** * Filter which InventoryTransferItems to delete */ where?: Prisma.InventoryTransferItemWhereInput /** * Limit how many InventoryTransferItems to delete. */ limit?: number } /** * InventoryTransferItem without action */ export type InventoryTransferItemDefaultArgs = { /** * Select specific fields to fetch from the InventoryTransferItem */ select?: Prisma.InventoryTransferItemSelect | null /** * Omit specific fields from the InventoryTransferItem */ omit?: Prisma.InventoryTransferItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferItemInclude | null }