/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `InventoryTransfer` 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 InventoryTransfer * */ export type InventoryTransferModel = runtime.Types.Result.DefaultSelection export type AggregateInventoryTransfer = { _count: InventoryTransferCountAggregateOutputType | null _avg: InventoryTransferAvgAggregateOutputType | null _sum: InventoryTransferSumAggregateOutputType | null _min: InventoryTransferMinAggregateOutputType | null _max: InventoryTransferMaxAggregateOutputType | null } export type InventoryTransferAvgAggregateOutputType = { id: number | null fromInventoryId: number | null toInventoryId: number | null } export type InventoryTransferSumAggregateOutputType = { id: number | null fromInventoryId: number | null toInventoryId: number | null } export type InventoryTransferMinAggregateOutputType = { id: number | null code: string | null description: string | null createdAt: Date | null fromInventoryId: number | null toInventoryId: number | null } export type InventoryTransferMaxAggregateOutputType = { id: number | null code: string | null description: string | null createdAt: Date | null fromInventoryId: number | null toInventoryId: number | null } export type InventoryTransferCountAggregateOutputType = { id: number code: number description: number createdAt: number fromInventoryId: number toInventoryId: number _all: number } export type InventoryTransferAvgAggregateInputType = { id?: true fromInventoryId?: true toInventoryId?: true } export type InventoryTransferSumAggregateInputType = { id?: true fromInventoryId?: true toInventoryId?: true } export type InventoryTransferMinAggregateInputType = { id?: true code?: true description?: true createdAt?: true fromInventoryId?: true toInventoryId?: true } export type InventoryTransferMaxAggregateInputType = { id?: true code?: true description?: true createdAt?: true fromInventoryId?: true toInventoryId?: true } export type InventoryTransferCountAggregateInputType = { id?: true code?: true description?: true createdAt?: true fromInventoryId?: true toInventoryId?: true _all?: true } export type InventoryTransferAggregateArgs = { /** * Filter which InventoryTransfer to aggregate. */ where?: Prisma.InventoryTransferWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of InventoryTransfers to fetch. */ orderBy?: Prisma.InventoryTransferOrderByWithRelationInput | Prisma.InventoryTransferOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.InventoryTransferWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` InventoryTransfers 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` InventoryTransfers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned InventoryTransfers **/ _count?: true | InventoryTransferCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: InventoryTransferAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: InventoryTransferSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: InventoryTransferMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: InventoryTransferMaxAggregateInputType } export type GetInventoryTransferAggregateType = { [P in keyof T & keyof AggregateInventoryTransfer]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type InventoryTransferGroupByArgs = { where?: Prisma.InventoryTransferWhereInput orderBy?: Prisma.InventoryTransferOrderByWithAggregationInput | Prisma.InventoryTransferOrderByWithAggregationInput[] by: Prisma.InventoryTransferScalarFieldEnum[] | Prisma.InventoryTransferScalarFieldEnum having?: Prisma.InventoryTransferScalarWhereWithAggregatesInput take?: number skip?: number _count?: InventoryTransferCountAggregateInputType | true _avg?: InventoryTransferAvgAggregateInputType _sum?: InventoryTransferSumAggregateInputType _min?: InventoryTransferMinAggregateInputType _max?: InventoryTransferMaxAggregateInputType } export type InventoryTransferGroupByOutputType = { id: number code: string description: string | null createdAt: Date fromInventoryId: number toInventoryId: number _count: InventoryTransferCountAggregateOutputType | null _avg: InventoryTransferAvgAggregateOutputType | null _sum: InventoryTransferSumAggregateOutputType | null _min: InventoryTransferMinAggregateOutputType | null _max: InventoryTransferMaxAggregateOutputType | null } type GetInventoryTransferGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof InventoryTransferGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type InventoryTransferWhereInput = { AND?: Prisma.InventoryTransferWhereInput | Prisma.InventoryTransferWhereInput[] OR?: Prisma.InventoryTransferWhereInput[] NOT?: Prisma.InventoryTransferWhereInput | Prisma.InventoryTransferWhereInput[] id?: Prisma.IntFilter<"InventoryTransfer"> | number code?: Prisma.StringFilter<"InventoryTransfer"> | string description?: Prisma.StringNullableFilter<"InventoryTransfer"> | string | null createdAt?: Prisma.DateTimeFilter<"InventoryTransfer"> | Date | string fromInventoryId?: Prisma.IntFilter<"InventoryTransfer"> | number toInventoryId?: Prisma.IntFilter<"InventoryTransfer"> | number items?: Prisma.InventoryTransferItemListRelationFilter fromInventory?: Prisma.XOR toInventory?: Prisma.XOR } export type InventoryTransferOrderByWithRelationInput = { id?: Prisma.SortOrder code?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder fromInventoryId?: Prisma.SortOrder toInventoryId?: Prisma.SortOrder items?: Prisma.InventoryTransferItemOrderByRelationAggregateInput fromInventory?: Prisma.InventoryOrderByWithRelationInput toInventory?: Prisma.InventoryOrderByWithRelationInput _relevance?: Prisma.InventoryTransferOrderByRelevanceInput } export type InventoryTransferWhereUniqueInput = Prisma.AtLeast<{ id?: number code?: string AND?: Prisma.InventoryTransferWhereInput | Prisma.InventoryTransferWhereInput[] OR?: Prisma.InventoryTransferWhereInput[] NOT?: Prisma.InventoryTransferWhereInput | Prisma.InventoryTransferWhereInput[] description?: Prisma.StringNullableFilter<"InventoryTransfer"> | string | null createdAt?: Prisma.DateTimeFilter<"InventoryTransfer"> | Date | string fromInventoryId?: Prisma.IntFilter<"InventoryTransfer"> | number toInventoryId?: Prisma.IntFilter<"InventoryTransfer"> | number items?: Prisma.InventoryTransferItemListRelationFilter fromInventory?: Prisma.XOR toInventory?: Prisma.XOR }, "id" | "code"> export type InventoryTransferOrderByWithAggregationInput = { id?: Prisma.SortOrder code?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder fromInventoryId?: Prisma.SortOrder toInventoryId?: Prisma.SortOrder _count?: Prisma.InventoryTransferCountOrderByAggregateInput _avg?: Prisma.InventoryTransferAvgOrderByAggregateInput _max?: Prisma.InventoryTransferMaxOrderByAggregateInput _min?: Prisma.InventoryTransferMinOrderByAggregateInput _sum?: Prisma.InventoryTransferSumOrderByAggregateInput } export type InventoryTransferScalarWhereWithAggregatesInput = { AND?: Prisma.InventoryTransferScalarWhereWithAggregatesInput | Prisma.InventoryTransferScalarWhereWithAggregatesInput[] OR?: Prisma.InventoryTransferScalarWhereWithAggregatesInput[] NOT?: Prisma.InventoryTransferScalarWhereWithAggregatesInput | Prisma.InventoryTransferScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"InventoryTransfer"> | number code?: Prisma.StringWithAggregatesFilter<"InventoryTransfer"> | string description?: Prisma.StringNullableWithAggregatesFilter<"InventoryTransfer"> | string | null createdAt?: Prisma.DateTimeWithAggregatesFilter<"InventoryTransfer"> | Date | string fromInventoryId?: Prisma.IntWithAggregatesFilter<"InventoryTransfer"> | number toInventoryId?: Prisma.IntWithAggregatesFilter<"InventoryTransfer"> | number } export type InventoryTransferCreateInput = { code: string description?: string | null createdAt?: Date | string items?: Prisma.InventoryTransferItemCreateNestedManyWithoutTransferInput fromInventory: Prisma.InventoryCreateNestedOneWithoutInventoryTransfersFromInput toInventory: Prisma.InventoryCreateNestedOneWithoutInventoryTransfersToInput } export type InventoryTransferUncheckedCreateInput = { id?: number code: string description?: string | null createdAt?: Date | string fromInventoryId: number toInventoryId: number items?: Prisma.InventoryTransferItemUncheckedCreateNestedManyWithoutTransferInput } export type InventoryTransferUpdateInput = { code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string items?: Prisma.InventoryTransferItemUpdateManyWithoutTransferNestedInput fromInventory?: Prisma.InventoryUpdateOneRequiredWithoutInventoryTransfersFromNestedInput toInventory?: Prisma.InventoryUpdateOneRequiredWithoutInventoryTransfersToNestedInput } export type InventoryTransferUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string fromInventoryId?: Prisma.IntFieldUpdateOperationsInput | number toInventoryId?: Prisma.IntFieldUpdateOperationsInput | number items?: Prisma.InventoryTransferItemUncheckedUpdateManyWithoutTransferNestedInput } export type InventoryTransferCreateManyInput = { id?: number code: string description?: string | null createdAt?: Date | string fromInventoryId: number toInventoryId: number } export type InventoryTransferUpdateManyMutationInput = { code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type InventoryTransferUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string fromInventoryId?: Prisma.IntFieldUpdateOperationsInput | number toInventoryId?: Prisma.IntFieldUpdateOperationsInput | number } export type InventoryTransferListRelationFilter = { every?: Prisma.InventoryTransferWhereInput some?: Prisma.InventoryTransferWhereInput none?: Prisma.InventoryTransferWhereInput } export type InventoryTransferOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type InventoryTransferOrderByRelevanceInput = { fields: Prisma.InventoryTransferOrderByRelevanceFieldEnum | Prisma.InventoryTransferOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type InventoryTransferCountOrderByAggregateInput = { id?: Prisma.SortOrder code?: Prisma.SortOrder description?: Prisma.SortOrder createdAt?: Prisma.SortOrder fromInventoryId?: Prisma.SortOrder toInventoryId?: Prisma.SortOrder } export type InventoryTransferAvgOrderByAggregateInput = { id?: Prisma.SortOrder fromInventoryId?: Prisma.SortOrder toInventoryId?: Prisma.SortOrder } export type InventoryTransferMaxOrderByAggregateInput = { id?: Prisma.SortOrder code?: Prisma.SortOrder description?: Prisma.SortOrder createdAt?: Prisma.SortOrder fromInventoryId?: Prisma.SortOrder toInventoryId?: Prisma.SortOrder } export type InventoryTransferMinOrderByAggregateInput = { id?: Prisma.SortOrder code?: Prisma.SortOrder description?: Prisma.SortOrder createdAt?: Prisma.SortOrder fromInventoryId?: Prisma.SortOrder toInventoryId?: Prisma.SortOrder } export type InventoryTransferSumOrderByAggregateInput = { id?: Prisma.SortOrder fromInventoryId?: Prisma.SortOrder toInventoryId?: Prisma.SortOrder } export type InventoryTransferScalarRelationFilter = { is?: Prisma.InventoryTransferWhereInput isNot?: Prisma.InventoryTransferWhereInput } export type InventoryTransferCreateNestedManyWithoutFromInventoryInput = { create?: Prisma.XOR | Prisma.InventoryTransferCreateWithoutFromInventoryInput[] | Prisma.InventoryTransferUncheckedCreateWithoutFromInventoryInput[] connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutFromInventoryInput | Prisma.InventoryTransferCreateOrConnectWithoutFromInventoryInput[] createMany?: Prisma.InventoryTransferCreateManyFromInventoryInputEnvelope connect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] } export type InventoryTransferCreateNestedManyWithoutToInventoryInput = { create?: Prisma.XOR | Prisma.InventoryTransferCreateWithoutToInventoryInput[] | Prisma.InventoryTransferUncheckedCreateWithoutToInventoryInput[] connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutToInventoryInput | Prisma.InventoryTransferCreateOrConnectWithoutToInventoryInput[] createMany?: Prisma.InventoryTransferCreateManyToInventoryInputEnvelope connect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] } export type InventoryTransferUncheckedCreateNestedManyWithoutFromInventoryInput = { create?: Prisma.XOR | Prisma.InventoryTransferCreateWithoutFromInventoryInput[] | Prisma.InventoryTransferUncheckedCreateWithoutFromInventoryInput[] connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutFromInventoryInput | Prisma.InventoryTransferCreateOrConnectWithoutFromInventoryInput[] createMany?: Prisma.InventoryTransferCreateManyFromInventoryInputEnvelope connect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] } export type InventoryTransferUncheckedCreateNestedManyWithoutToInventoryInput = { create?: Prisma.XOR | Prisma.InventoryTransferCreateWithoutToInventoryInput[] | Prisma.InventoryTransferUncheckedCreateWithoutToInventoryInput[] connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutToInventoryInput | Prisma.InventoryTransferCreateOrConnectWithoutToInventoryInput[] createMany?: Prisma.InventoryTransferCreateManyToInventoryInputEnvelope connect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] } export type InventoryTransferUpdateManyWithoutFromInventoryNestedInput = { create?: Prisma.XOR | Prisma.InventoryTransferCreateWithoutFromInventoryInput[] | Prisma.InventoryTransferUncheckedCreateWithoutFromInventoryInput[] connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutFromInventoryInput | Prisma.InventoryTransferCreateOrConnectWithoutFromInventoryInput[] upsert?: Prisma.InventoryTransferUpsertWithWhereUniqueWithoutFromInventoryInput | Prisma.InventoryTransferUpsertWithWhereUniqueWithoutFromInventoryInput[] createMany?: Prisma.InventoryTransferCreateManyFromInventoryInputEnvelope set?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] disconnect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] delete?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] connect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] update?: Prisma.InventoryTransferUpdateWithWhereUniqueWithoutFromInventoryInput | Prisma.InventoryTransferUpdateWithWhereUniqueWithoutFromInventoryInput[] updateMany?: Prisma.InventoryTransferUpdateManyWithWhereWithoutFromInventoryInput | Prisma.InventoryTransferUpdateManyWithWhereWithoutFromInventoryInput[] deleteMany?: Prisma.InventoryTransferScalarWhereInput | Prisma.InventoryTransferScalarWhereInput[] } export type InventoryTransferUpdateManyWithoutToInventoryNestedInput = { create?: Prisma.XOR | Prisma.InventoryTransferCreateWithoutToInventoryInput[] | Prisma.InventoryTransferUncheckedCreateWithoutToInventoryInput[] connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutToInventoryInput | Prisma.InventoryTransferCreateOrConnectWithoutToInventoryInput[] upsert?: Prisma.InventoryTransferUpsertWithWhereUniqueWithoutToInventoryInput | Prisma.InventoryTransferUpsertWithWhereUniqueWithoutToInventoryInput[] createMany?: Prisma.InventoryTransferCreateManyToInventoryInputEnvelope set?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] disconnect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] delete?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] connect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] update?: Prisma.InventoryTransferUpdateWithWhereUniqueWithoutToInventoryInput | Prisma.InventoryTransferUpdateWithWhereUniqueWithoutToInventoryInput[] updateMany?: Prisma.InventoryTransferUpdateManyWithWhereWithoutToInventoryInput | Prisma.InventoryTransferUpdateManyWithWhereWithoutToInventoryInput[] deleteMany?: Prisma.InventoryTransferScalarWhereInput | Prisma.InventoryTransferScalarWhereInput[] } export type InventoryTransferUncheckedUpdateManyWithoutFromInventoryNestedInput = { create?: Prisma.XOR | Prisma.InventoryTransferCreateWithoutFromInventoryInput[] | Prisma.InventoryTransferUncheckedCreateWithoutFromInventoryInput[] connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutFromInventoryInput | Prisma.InventoryTransferCreateOrConnectWithoutFromInventoryInput[] upsert?: Prisma.InventoryTransferUpsertWithWhereUniqueWithoutFromInventoryInput | Prisma.InventoryTransferUpsertWithWhereUniqueWithoutFromInventoryInput[] createMany?: Prisma.InventoryTransferCreateManyFromInventoryInputEnvelope set?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] disconnect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] delete?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] connect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] update?: Prisma.InventoryTransferUpdateWithWhereUniqueWithoutFromInventoryInput | Prisma.InventoryTransferUpdateWithWhereUniqueWithoutFromInventoryInput[] updateMany?: Prisma.InventoryTransferUpdateManyWithWhereWithoutFromInventoryInput | Prisma.InventoryTransferUpdateManyWithWhereWithoutFromInventoryInput[] deleteMany?: Prisma.InventoryTransferScalarWhereInput | Prisma.InventoryTransferScalarWhereInput[] } export type InventoryTransferUncheckedUpdateManyWithoutToInventoryNestedInput = { create?: Prisma.XOR | Prisma.InventoryTransferCreateWithoutToInventoryInput[] | Prisma.InventoryTransferUncheckedCreateWithoutToInventoryInput[] connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutToInventoryInput | Prisma.InventoryTransferCreateOrConnectWithoutToInventoryInput[] upsert?: Prisma.InventoryTransferUpsertWithWhereUniqueWithoutToInventoryInput | Prisma.InventoryTransferUpsertWithWhereUniqueWithoutToInventoryInput[] createMany?: Prisma.InventoryTransferCreateManyToInventoryInputEnvelope set?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] disconnect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] delete?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] connect?: Prisma.InventoryTransferWhereUniqueInput | Prisma.InventoryTransferWhereUniqueInput[] update?: Prisma.InventoryTransferUpdateWithWhereUniqueWithoutToInventoryInput | Prisma.InventoryTransferUpdateWithWhereUniqueWithoutToInventoryInput[] updateMany?: Prisma.InventoryTransferUpdateManyWithWhereWithoutToInventoryInput | Prisma.InventoryTransferUpdateManyWithWhereWithoutToInventoryInput[] deleteMany?: Prisma.InventoryTransferScalarWhereInput | Prisma.InventoryTransferScalarWhereInput[] } export type InventoryTransferCreateNestedOneWithoutItemsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutItemsInput connect?: Prisma.InventoryTransferWhereUniqueInput } export type InventoryTransferUpdateOneRequiredWithoutItemsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutItemsInput upsert?: Prisma.InventoryTransferUpsertWithoutItemsInput connect?: Prisma.InventoryTransferWhereUniqueInput update?: Prisma.XOR, Prisma.InventoryTransferUncheckedUpdateWithoutItemsInput> } export type InventoryTransferCreateWithoutFromInventoryInput = { code: string description?: string | null createdAt?: Date | string items?: Prisma.InventoryTransferItemCreateNestedManyWithoutTransferInput toInventory: Prisma.InventoryCreateNestedOneWithoutInventoryTransfersToInput } export type InventoryTransferUncheckedCreateWithoutFromInventoryInput = { id?: number code: string description?: string | null createdAt?: Date | string toInventoryId: number items?: Prisma.InventoryTransferItemUncheckedCreateNestedManyWithoutTransferInput } export type InventoryTransferCreateOrConnectWithoutFromInventoryInput = { where: Prisma.InventoryTransferWhereUniqueInput create: Prisma.XOR } export type InventoryTransferCreateManyFromInventoryInputEnvelope = { data: Prisma.InventoryTransferCreateManyFromInventoryInput | Prisma.InventoryTransferCreateManyFromInventoryInput[] skipDuplicates?: boolean } export type InventoryTransferCreateWithoutToInventoryInput = { code: string description?: string | null createdAt?: Date | string items?: Prisma.InventoryTransferItemCreateNestedManyWithoutTransferInput fromInventory: Prisma.InventoryCreateNestedOneWithoutInventoryTransfersFromInput } export type InventoryTransferUncheckedCreateWithoutToInventoryInput = { id?: number code: string description?: string | null createdAt?: Date | string fromInventoryId: number items?: Prisma.InventoryTransferItemUncheckedCreateNestedManyWithoutTransferInput } export type InventoryTransferCreateOrConnectWithoutToInventoryInput = { where: Prisma.InventoryTransferWhereUniqueInput create: Prisma.XOR } export type InventoryTransferCreateManyToInventoryInputEnvelope = { data: Prisma.InventoryTransferCreateManyToInventoryInput | Prisma.InventoryTransferCreateManyToInventoryInput[] skipDuplicates?: boolean } export type InventoryTransferUpsertWithWhereUniqueWithoutFromInventoryInput = { where: Prisma.InventoryTransferWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type InventoryTransferUpdateWithWhereUniqueWithoutFromInventoryInput = { where: Prisma.InventoryTransferWhereUniqueInput data: Prisma.XOR } export type InventoryTransferUpdateManyWithWhereWithoutFromInventoryInput = { where: Prisma.InventoryTransferScalarWhereInput data: Prisma.XOR } export type InventoryTransferScalarWhereInput = { AND?: Prisma.InventoryTransferScalarWhereInput | Prisma.InventoryTransferScalarWhereInput[] OR?: Prisma.InventoryTransferScalarWhereInput[] NOT?: Prisma.InventoryTransferScalarWhereInput | Prisma.InventoryTransferScalarWhereInput[] id?: Prisma.IntFilter<"InventoryTransfer"> | number code?: Prisma.StringFilter<"InventoryTransfer"> | string description?: Prisma.StringNullableFilter<"InventoryTransfer"> | string | null createdAt?: Prisma.DateTimeFilter<"InventoryTransfer"> | Date | string fromInventoryId?: Prisma.IntFilter<"InventoryTransfer"> | number toInventoryId?: Prisma.IntFilter<"InventoryTransfer"> | number } export type InventoryTransferUpsertWithWhereUniqueWithoutToInventoryInput = { where: Prisma.InventoryTransferWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type InventoryTransferUpdateWithWhereUniqueWithoutToInventoryInput = { where: Prisma.InventoryTransferWhereUniqueInput data: Prisma.XOR } export type InventoryTransferUpdateManyWithWhereWithoutToInventoryInput = { where: Prisma.InventoryTransferScalarWhereInput data: Prisma.XOR } export type InventoryTransferCreateWithoutItemsInput = { code: string description?: string | null createdAt?: Date | string fromInventory: Prisma.InventoryCreateNestedOneWithoutInventoryTransfersFromInput toInventory: Prisma.InventoryCreateNestedOneWithoutInventoryTransfersToInput } export type InventoryTransferUncheckedCreateWithoutItemsInput = { id?: number code: string description?: string | null createdAt?: Date | string fromInventoryId: number toInventoryId: number } export type InventoryTransferCreateOrConnectWithoutItemsInput = { where: Prisma.InventoryTransferWhereUniqueInput create: Prisma.XOR } export type InventoryTransferUpsertWithoutItemsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.InventoryTransferWhereInput } export type InventoryTransferUpdateToOneWithWhereWithoutItemsInput = { where?: Prisma.InventoryTransferWhereInput data: Prisma.XOR } export type InventoryTransferUpdateWithoutItemsInput = { code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string fromInventory?: Prisma.InventoryUpdateOneRequiredWithoutInventoryTransfersFromNestedInput toInventory?: Prisma.InventoryUpdateOneRequiredWithoutInventoryTransfersToNestedInput } export type InventoryTransferUncheckedUpdateWithoutItemsInput = { id?: Prisma.IntFieldUpdateOperationsInput | number code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string fromInventoryId?: Prisma.IntFieldUpdateOperationsInput | number toInventoryId?: Prisma.IntFieldUpdateOperationsInput | number } export type InventoryTransferCreateManyFromInventoryInput = { id?: number code: string description?: string | null createdAt?: Date | string toInventoryId: number } export type InventoryTransferCreateManyToInventoryInput = { id?: number code: string description?: string | null createdAt?: Date | string fromInventoryId: number } export type InventoryTransferUpdateWithoutFromInventoryInput = { code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string items?: Prisma.InventoryTransferItemUpdateManyWithoutTransferNestedInput toInventory?: Prisma.InventoryUpdateOneRequiredWithoutInventoryTransfersToNestedInput } export type InventoryTransferUncheckedUpdateWithoutFromInventoryInput = { id?: Prisma.IntFieldUpdateOperationsInput | number code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string toInventoryId?: Prisma.IntFieldUpdateOperationsInput | number items?: Prisma.InventoryTransferItemUncheckedUpdateManyWithoutTransferNestedInput } export type InventoryTransferUncheckedUpdateManyWithoutFromInventoryInput = { id?: Prisma.IntFieldUpdateOperationsInput | number code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string toInventoryId?: Prisma.IntFieldUpdateOperationsInput | number } export type InventoryTransferUpdateWithoutToInventoryInput = { code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string items?: Prisma.InventoryTransferItemUpdateManyWithoutTransferNestedInput fromInventory?: Prisma.InventoryUpdateOneRequiredWithoutInventoryTransfersFromNestedInput } export type InventoryTransferUncheckedUpdateWithoutToInventoryInput = { id?: Prisma.IntFieldUpdateOperationsInput | number code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string fromInventoryId?: Prisma.IntFieldUpdateOperationsInput | number items?: Prisma.InventoryTransferItemUncheckedUpdateManyWithoutTransferNestedInput } export type InventoryTransferUncheckedUpdateManyWithoutToInventoryInput = { id?: Prisma.IntFieldUpdateOperationsInput | number code?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string fromInventoryId?: Prisma.IntFieldUpdateOperationsInput | number } /** * Count Type InventoryTransferCountOutputType */ export type InventoryTransferCountOutputType = { items: number } export type InventoryTransferCountOutputTypeSelect = { items?: boolean | InventoryTransferCountOutputTypeCountItemsArgs } /** * InventoryTransferCountOutputType without action */ export type InventoryTransferCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the InventoryTransferCountOutputType */ select?: Prisma.InventoryTransferCountOutputTypeSelect | null } /** * InventoryTransferCountOutputType without action */ export type InventoryTransferCountOutputTypeCountItemsArgs = { where?: Prisma.InventoryTransferItemWhereInput } export type InventoryTransferSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean code?: boolean description?: boolean createdAt?: boolean fromInventoryId?: boolean toInventoryId?: boolean items?: boolean | Prisma.InventoryTransfer$itemsArgs fromInventory?: boolean | Prisma.InventoryDefaultArgs toInventory?: boolean | Prisma.InventoryDefaultArgs _count?: boolean | Prisma.InventoryTransferCountOutputTypeDefaultArgs }, ExtArgs["result"]["inventoryTransfer"]> export type InventoryTransferSelectScalar = { id?: boolean code?: boolean description?: boolean createdAt?: boolean fromInventoryId?: boolean toInventoryId?: boolean } export type InventoryTransferOmit = runtime.Types.Extensions.GetOmit<"id" | "code" | "description" | "createdAt" | "fromInventoryId" | "toInventoryId", ExtArgs["result"]["inventoryTransfer"]> export type InventoryTransferInclude = { items?: boolean | Prisma.InventoryTransfer$itemsArgs fromInventory?: boolean | Prisma.InventoryDefaultArgs toInventory?: boolean | Prisma.InventoryDefaultArgs _count?: boolean | Prisma.InventoryTransferCountOutputTypeDefaultArgs } export type $InventoryTransferPayload = { name: "InventoryTransfer" objects: { items: Prisma.$InventoryTransferItemPayload[] fromInventory: Prisma.$InventoryPayload toInventory: Prisma.$InventoryPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number code: string description: string | null createdAt: Date fromInventoryId: number toInventoryId: number }, ExtArgs["result"]["inventoryTransfer"]> composites: {} } export type InventoryTransferGetPayload = runtime.Types.Result.GetResult export type InventoryTransferCountArgs = Omit & { select?: InventoryTransferCountAggregateInputType | true } export interface InventoryTransferDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['InventoryTransfer'], meta: { name: 'InventoryTransfer' } } /** * Find zero or one InventoryTransfer that matches the filter. * @param {InventoryTransferFindUniqueArgs} args - Arguments to find a InventoryTransfer * @example * // Get one InventoryTransfer * const inventoryTransfer = await prisma.inventoryTransfer.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one InventoryTransfer that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {InventoryTransferFindUniqueOrThrowArgs} args - Arguments to find a InventoryTransfer * @example * // Get one InventoryTransfer * const inventoryTransfer = await prisma.inventoryTransfer.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first InventoryTransfer 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 {InventoryTransferFindFirstArgs} args - Arguments to find a InventoryTransfer * @example * // Get one InventoryTransfer * const inventoryTransfer = await prisma.inventoryTransfer.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first InventoryTransfer 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 {InventoryTransferFindFirstOrThrowArgs} args - Arguments to find a InventoryTransfer * @example * // Get one InventoryTransfer * const inventoryTransfer = await prisma.inventoryTransfer.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more InventoryTransfers 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 {InventoryTransferFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all InventoryTransfers * const inventoryTransfers = await prisma.inventoryTransfer.findMany() * * // Get first 10 InventoryTransfers * const inventoryTransfers = await prisma.inventoryTransfer.findMany({ take: 10 }) * * // Only select the `id` * const inventoryTransferWithIdOnly = await prisma.inventoryTransfer.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a InventoryTransfer. * @param {InventoryTransferCreateArgs} args - Arguments to create a InventoryTransfer. * @example * // Create one InventoryTransfer * const InventoryTransfer = await prisma.inventoryTransfer.create({ * data: { * // ... data to create a InventoryTransfer * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many InventoryTransfers. * @param {InventoryTransferCreateManyArgs} args - Arguments to create many InventoryTransfers. * @example * // Create many InventoryTransfers * const inventoryTransfer = await prisma.inventoryTransfer.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a InventoryTransfer. * @param {InventoryTransferDeleteArgs} args - Arguments to delete one InventoryTransfer. * @example * // Delete one InventoryTransfer * const InventoryTransfer = await prisma.inventoryTransfer.delete({ * where: { * // ... filter to delete one InventoryTransfer * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one InventoryTransfer. * @param {InventoryTransferUpdateArgs} args - Arguments to update one InventoryTransfer. * @example * // Update one InventoryTransfer * const inventoryTransfer = await prisma.inventoryTransfer.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more InventoryTransfers. * @param {InventoryTransferDeleteManyArgs} args - Arguments to filter InventoryTransfers to delete. * @example * // Delete a few InventoryTransfers * const { count } = await prisma.inventoryTransfer.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more InventoryTransfers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {InventoryTransferUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many InventoryTransfers * const inventoryTransfer = await prisma.inventoryTransfer.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one InventoryTransfer. * @param {InventoryTransferUpsertArgs} args - Arguments to update or create a InventoryTransfer. * @example * // Update or create a InventoryTransfer * const inventoryTransfer = await prisma.inventoryTransfer.upsert({ * create: { * // ... data to create a InventoryTransfer * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the InventoryTransfer we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__InventoryTransferClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of InventoryTransfers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {InventoryTransferCountArgs} args - Arguments to filter InventoryTransfers to count. * @example * // Count the number of InventoryTransfers * const count = await prisma.inventoryTransfer.count({ * where: { * // ... the filter for the InventoryTransfers 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 InventoryTransfer. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {InventoryTransferAggregateArgs} 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 InventoryTransfer. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {InventoryTransferGroupByArgs} 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 InventoryTransferGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: InventoryTransferGroupByArgs['orderBy'] } : { orderBy?: InventoryTransferGroupByArgs['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 ? GetInventoryTransferGroupByPayload : Prisma.PrismaPromise /** * Fields of the InventoryTransfer model */ readonly fields: InventoryTransferFieldRefs; } /** * The delegate class that acts as a "Promise-like" for InventoryTransfer. * 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__InventoryTransferClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" items = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> fromInventory = {}>(args?: Prisma.Subset>): Prisma.Prisma__InventoryClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> toInventory = {}>(args?: Prisma.Subset>): Prisma.Prisma__InventoryClient, 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 InventoryTransfer model */ export interface InventoryTransferFieldRefs { readonly id: Prisma.FieldRef<"InventoryTransfer", 'Int'> readonly code: Prisma.FieldRef<"InventoryTransfer", 'String'> readonly description: Prisma.FieldRef<"InventoryTransfer", 'String'> readonly createdAt: Prisma.FieldRef<"InventoryTransfer", 'DateTime'> readonly fromInventoryId: Prisma.FieldRef<"InventoryTransfer", 'Int'> readonly toInventoryId: Prisma.FieldRef<"InventoryTransfer", 'Int'> } // Custom InputTypes /** * InventoryTransfer findUnique */ export type InventoryTransferFindUniqueArgs = { /** * Select specific fields to fetch from the InventoryTransfer */ select?: Prisma.InventoryTransferSelect | null /** * Omit specific fields from the InventoryTransfer */ omit?: Prisma.InventoryTransferOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferInclude | null /** * Filter, which InventoryTransfer to fetch. */ where: Prisma.InventoryTransferWhereUniqueInput } /** * InventoryTransfer findUniqueOrThrow */ export type InventoryTransferFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the InventoryTransfer */ select?: Prisma.InventoryTransferSelect | null /** * Omit specific fields from the InventoryTransfer */ omit?: Prisma.InventoryTransferOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferInclude | null /** * Filter, which InventoryTransfer to fetch. */ where: Prisma.InventoryTransferWhereUniqueInput } /** * InventoryTransfer findFirst */ export type InventoryTransferFindFirstArgs = { /** * Select specific fields to fetch from the InventoryTransfer */ select?: Prisma.InventoryTransferSelect | null /** * Omit specific fields from the InventoryTransfer */ omit?: Prisma.InventoryTransferOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferInclude | null /** * Filter, which InventoryTransfer to fetch. */ where?: Prisma.InventoryTransferWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of InventoryTransfers to fetch. */ orderBy?: Prisma.InventoryTransferOrderByWithRelationInput | Prisma.InventoryTransferOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for InventoryTransfers. */ cursor?: Prisma.InventoryTransferWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` InventoryTransfers 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` InventoryTransfers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of InventoryTransfers. */ distinct?: Prisma.InventoryTransferScalarFieldEnum | Prisma.InventoryTransferScalarFieldEnum[] } /** * InventoryTransfer findFirstOrThrow */ export type InventoryTransferFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the InventoryTransfer */ select?: Prisma.InventoryTransferSelect | null /** * Omit specific fields from the InventoryTransfer */ omit?: Prisma.InventoryTransferOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferInclude | null /** * Filter, which InventoryTransfer to fetch. */ where?: Prisma.InventoryTransferWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of InventoryTransfers to fetch. */ orderBy?: Prisma.InventoryTransferOrderByWithRelationInput | Prisma.InventoryTransferOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for InventoryTransfers. */ cursor?: Prisma.InventoryTransferWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` InventoryTransfers 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` InventoryTransfers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of InventoryTransfers. */ distinct?: Prisma.InventoryTransferScalarFieldEnum | Prisma.InventoryTransferScalarFieldEnum[] } /** * InventoryTransfer findMany */ export type InventoryTransferFindManyArgs = { /** * Select specific fields to fetch from the InventoryTransfer */ select?: Prisma.InventoryTransferSelect | null /** * Omit specific fields from the InventoryTransfer */ omit?: Prisma.InventoryTransferOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferInclude | null /** * Filter, which InventoryTransfers to fetch. */ where?: Prisma.InventoryTransferWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of InventoryTransfers to fetch. */ orderBy?: Prisma.InventoryTransferOrderByWithRelationInput | Prisma.InventoryTransferOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing InventoryTransfers. */ cursor?: Prisma.InventoryTransferWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` InventoryTransfers 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` InventoryTransfers. */ skip?: number distinct?: Prisma.InventoryTransferScalarFieldEnum | Prisma.InventoryTransferScalarFieldEnum[] } /** * InventoryTransfer create */ export type InventoryTransferCreateArgs = { /** * Select specific fields to fetch from the InventoryTransfer */ select?: Prisma.InventoryTransferSelect | null /** * Omit specific fields from the InventoryTransfer */ omit?: Prisma.InventoryTransferOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferInclude | null /** * The data needed to create a InventoryTransfer. */ data: Prisma.XOR } /** * InventoryTransfer createMany */ export type InventoryTransferCreateManyArgs = { /** * The data used to create many InventoryTransfers. */ data: Prisma.InventoryTransferCreateManyInput | Prisma.InventoryTransferCreateManyInput[] skipDuplicates?: boolean } /** * InventoryTransfer update */ export type InventoryTransferUpdateArgs = { /** * Select specific fields to fetch from the InventoryTransfer */ select?: Prisma.InventoryTransferSelect | null /** * Omit specific fields from the InventoryTransfer */ omit?: Prisma.InventoryTransferOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferInclude | null /** * The data needed to update a InventoryTransfer. */ data: Prisma.XOR /** * Choose, which InventoryTransfer to update. */ where: Prisma.InventoryTransferWhereUniqueInput } /** * InventoryTransfer updateMany */ export type InventoryTransferUpdateManyArgs = { /** * The data used to update InventoryTransfers. */ data: Prisma.XOR /** * Filter which InventoryTransfers to update */ where?: Prisma.InventoryTransferWhereInput /** * Limit how many InventoryTransfers to update. */ limit?: number } /** * InventoryTransfer upsert */ export type InventoryTransferUpsertArgs = { /** * Select specific fields to fetch from the InventoryTransfer */ select?: Prisma.InventoryTransferSelect | null /** * Omit specific fields from the InventoryTransfer */ omit?: Prisma.InventoryTransferOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferInclude | null /** * The filter to search for the InventoryTransfer to update in case it exists. */ where: Prisma.InventoryTransferWhereUniqueInput /** * In case the InventoryTransfer found by the `where` argument doesn't exist, create a new InventoryTransfer with this data. */ create: Prisma.XOR /** * In case the InventoryTransfer was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * InventoryTransfer delete */ export type InventoryTransferDeleteArgs = { /** * Select specific fields to fetch from the InventoryTransfer */ select?: Prisma.InventoryTransferSelect | null /** * Omit specific fields from the InventoryTransfer */ omit?: Prisma.InventoryTransferOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferInclude | null /** * Filter which InventoryTransfer to delete. */ where: Prisma.InventoryTransferWhereUniqueInput } /** * InventoryTransfer deleteMany */ export type InventoryTransferDeleteManyArgs = { /** * Filter which InventoryTransfers to delete */ where?: Prisma.InventoryTransferWhereInput /** * Limit how many InventoryTransfers to delete. */ limit?: number } /** * InventoryTransfer.items */ export type InventoryTransfer$itemsArgs = { /** * 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 where?: Prisma.InventoryTransferItemWhereInput orderBy?: Prisma.InventoryTransferItemOrderByWithRelationInput | Prisma.InventoryTransferItemOrderByWithRelationInput[] cursor?: Prisma.InventoryTransferItemWhereUniqueInput take?: number skip?: number distinct?: Prisma.InventoryTransferItemScalarFieldEnum | Prisma.InventoryTransferItemScalarFieldEnum[] } /** * InventoryTransfer without action */ export type InventoryTransferDefaultArgs = { /** * Select specific fields to fetch from the InventoryTransfer */ select?: Prisma.InventoryTransferSelect | null /** * Omit specific fields from the InventoryTransfer */ omit?: Prisma.InventoryTransferOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.InventoryTransferInclude | null }