Files
psp_api/src/generated/prisma/models/InventoryTransfer.ts
T
ahasani 807f6c2087 feat: implement purchase receipt items management with create, update, find, and delete functionalities
feat: add purchase receipts management with create, update, find, and delete functionalities

feat: implement sales invoice items management with create, update, find, and delete functionalities

feat: add sales invoices management with create, update, find, and delete functionalities

feat: implement stock adjustments management with create, update, find, and delete functionalities

feat: add stock balance retrieval functionality

feat: implement stock movements management with create, update, find, and delete functionalities
2025-12-09 13:59:07 +03:30

1566 lines
67 KiB
TypeScript

/* !!! 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<Prisma.$InventoryTransferPayload>
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* 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<T extends InventoryTransferAggregateArgs> = {
[P in keyof T & keyof AggregateInventoryTransfer]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateInventoryTransfer[P]>
: Prisma.GetScalarType<T[P], AggregateInventoryTransfer[P]>
}
export type InventoryTransferGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
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<T extends InventoryTransferGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<InventoryTransferGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof InventoryTransferGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], InventoryTransferGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], InventoryTransferGroupByOutputType[P]>
}
>
>
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<Prisma.InventoryScalarRelationFilter, Prisma.InventoryWhereInput>
toInventory?: Prisma.XOR<Prisma.InventoryScalarRelationFilter, Prisma.InventoryWhereInput>
}
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<Prisma.InventoryScalarRelationFilter, Prisma.InventoryWhereInput>
toInventory?: Prisma.XOR<Prisma.InventoryScalarRelationFilter, Prisma.InventoryWhereInput>
}, "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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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<Prisma.InventoryTransferCreateWithoutItemsInput, Prisma.InventoryTransferUncheckedCreateWithoutItemsInput>
connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutItemsInput
connect?: Prisma.InventoryTransferWhereUniqueInput
}
export type InventoryTransferUpdateOneRequiredWithoutItemsNestedInput = {
create?: Prisma.XOR<Prisma.InventoryTransferCreateWithoutItemsInput, Prisma.InventoryTransferUncheckedCreateWithoutItemsInput>
connectOrCreate?: Prisma.InventoryTransferCreateOrConnectWithoutItemsInput
upsert?: Prisma.InventoryTransferUpsertWithoutItemsInput
connect?: Prisma.InventoryTransferWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.InventoryTransferUpdateToOneWithWhereWithoutItemsInput, Prisma.InventoryTransferUpdateWithoutItemsInput>, 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<Prisma.InventoryTransferCreateWithoutFromInventoryInput, Prisma.InventoryTransferUncheckedCreateWithoutFromInventoryInput>
}
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<Prisma.InventoryTransferCreateWithoutToInventoryInput, Prisma.InventoryTransferUncheckedCreateWithoutToInventoryInput>
}
export type InventoryTransferCreateManyToInventoryInputEnvelope = {
data: Prisma.InventoryTransferCreateManyToInventoryInput | Prisma.InventoryTransferCreateManyToInventoryInput[]
skipDuplicates?: boolean
}
export type InventoryTransferUpsertWithWhereUniqueWithoutFromInventoryInput = {
where: Prisma.InventoryTransferWhereUniqueInput
update: Prisma.XOR<Prisma.InventoryTransferUpdateWithoutFromInventoryInput, Prisma.InventoryTransferUncheckedUpdateWithoutFromInventoryInput>
create: Prisma.XOR<Prisma.InventoryTransferCreateWithoutFromInventoryInput, Prisma.InventoryTransferUncheckedCreateWithoutFromInventoryInput>
}
export type InventoryTransferUpdateWithWhereUniqueWithoutFromInventoryInput = {
where: Prisma.InventoryTransferWhereUniqueInput
data: Prisma.XOR<Prisma.InventoryTransferUpdateWithoutFromInventoryInput, Prisma.InventoryTransferUncheckedUpdateWithoutFromInventoryInput>
}
export type InventoryTransferUpdateManyWithWhereWithoutFromInventoryInput = {
where: Prisma.InventoryTransferScalarWhereInput
data: Prisma.XOR<Prisma.InventoryTransferUpdateManyMutationInput, Prisma.InventoryTransferUncheckedUpdateManyWithoutFromInventoryInput>
}
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<Prisma.InventoryTransferUpdateWithoutToInventoryInput, Prisma.InventoryTransferUncheckedUpdateWithoutToInventoryInput>
create: Prisma.XOR<Prisma.InventoryTransferCreateWithoutToInventoryInput, Prisma.InventoryTransferUncheckedCreateWithoutToInventoryInput>
}
export type InventoryTransferUpdateWithWhereUniqueWithoutToInventoryInput = {
where: Prisma.InventoryTransferWhereUniqueInput
data: Prisma.XOR<Prisma.InventoryTransferUpdateWithoutToInventoryInput, Prisma.InventoryTransferUncheckedUpdateWithoutToInventoryInput>
}
export type InventoryTransferUpdateManyWithWhereWithoutToInventoryInput = {
where: Prisma.InventoryTransferScalarWhereInput
data: Prisma.XOR<Prisma.InventoryTransferUpdateManyMutationInput, Prisma.InventoryTransferUncheckedUpdateManyWithoutToInventoryInput>
}
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<Prisma.InventoryTransferCreateWithoutItemsInput, Prisma.InventoryTransferUncheckedCreateWithoutItemsInput>
}
export type InventoryTransferUpsertWithoutItemsInput = {
update: Prisma.XOR<Prisma.InventoryTransferUpdateWithoutItemsInput, Prisma.InventoryTransferUncheckedUpdateWithoutItemsInput>
create: Prisma.XOR<Prisma.InventoryTransferCreateWithoutItemsInput, Prisma.InventoryTransferUncheckedCreateWithoutItemsInput>
where?: Prisma.InventoryTransferWhereInput
}
export type InventoryTransferUpdateToOneWithWhereWithoutItemsInput = {
where?: Prisma.InventoryTransferWhereInput
data: Prisma.XOR<Prisma.InventoryTransferUpdateWithoutItemsInput, Prisma.InventoryTransferUncheckedUpdateWithoutItemsInput>
}
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
items?: boolean | InventoryTransferCountOutputTypeCountItemsArgs
}
/**
* InventoryTransferCountOutputType without action
*/
export type InventoryTransferCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransferCountOutputType
*/
select?: Prisma.InventoryTransferCountOutputTypeSelect<ExtArgs> | null
}
/**
* InventoryTransferCountOutputType without action
*/
export type InventoryTransferCountOutputTypeCountItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.InventoryTransferItemWhereInput
}
export type InventoryTransferSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
code?: boolean
description?: boolean
createdAt?: boolean
fromInventoryId?: boolean
toInventoryId?: boolean
items?: boolean | Prisma.InventoryTransfer$itemsArgs<ExtArgs>
fromInventory?: boolean | Prisma.InventoryDefaultArgs<ExtArgs>
toInventory?: boolean | Prisma.InventoryDefaultArgs<ExtArgs>
_count?: boolean | Prisma.InventoryTransferCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["inventoryTransfer"]>
export type InventoryTransferSelectScalar = {
id?: boolean
code?: boolean
description?: boolean
createdAt?: boolean
fromInventoryId?: boolean
toInventoryId?: boolean
}
export type InventoryTransferOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "code" | "description" | "createdAt" | "fromInventoryId" | "toInventoryId", ExtArgs["result"]["inventoryTransfer"]>
export type InventoryTransferInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
items?: boolean | Prisma.InventoryTransfer$itemsArgs<ExtArgs>
fromInventory?: boolean | Prisma.InventoryDefaultArgs<ExtArgs>
toInventory?: boolean | Prisma.InventoryDefaultArgs<ExtArgs>
_count?: boolean | Prisma.InventoryTransferCountOutputTypeDefaultArgs<ExtArgs>
}
export type $InventoryTransferPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "InventoryTransfer"
objects: {
items: Prisma.$InventoryTransferItemPayload<ExtArgs>[]
fromInventory: Prisma.$InventoryPayload<ExtArgs>
toInventory: Prisma.$InventoryPayload<ExtArgs>
}
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<S extends boolean | null | undefined | InventoryTransferDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$InventoryTransferPayload, S>
export type InventoryTransferCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<InventoryTransferFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: InventoryTransferCountAggregateInputType | true
}
export interface InventoryTransferDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends InventoryTransferFindUniqueArgs>(args: Prisma.SelectSubset<T, InventoryTransferFindUniqueArgs<ExtArgs>>): Prisma.Prisma__InventoryTransferClient<runtime.Types.Result.GetResult<Prisma.$InventoryTransferPayload<ExtArgs>, 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<T extends InventoryTransferFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, InventoryTransferFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__InventoryTransferClient<runtime.Types.Result.GetResult<Prisma.$InventoryTransferPayload<ExtArgs>, 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<T extends InventoryTransferFindFirstArgs>(args?: Prisma.SelectSubset<T, InventoryTransferFindFirstArgs<ExtArgs>>): Prisma.Prisma__InventoryTransferClient<runtime.Types.Result.GetResult<Prisma.$InventoryTransferPayload<ExtArgs>, 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<T extends InventoryTransferFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, InventoryTransferFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__InventoryTransferClient<runtime.Types.Result.GetResult<Prisma.$InventoryTransferPayload<ExtArgs>, 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<T extends InventoryTransferFindManyArgs>(args?: Prisma.SelectSubset<T, InventoryTransferFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InventoryTransferPayload<ExtArgs>, 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<T extends InventoryTransferCreateArgs>(args: Prisma.SelectSubset<T, InventoryTransferCreateArgs<ExtArgs>>): Prisma.Prisma__InventoryTransferClient<runtime.Types.Result.GetResult<Prisma.$InventoryTransferPayload<ExtArgs>, 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<T extends InventoryTransferCreateManyArgs>(args?: Prisma.SelectSubset<T, InventoryTransferCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* 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<T extends InventoryTransferDeleteArgs>(args: Prisma.SelectSubset<T, InventoryTransferDeleteArgs<ExtArgs>>): Prisma.Prisma__InventoryTransferClient<runtime.Types.Result.GetResult<Prisma.$InventoryTransferPayload<ExtArgs>, 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<T extends InventoryTransferUpdateArgs>(args: Prisma.SelectSubset<T, InventoryTransferUpdateArgs<ExtArgs>>): Prisma.Prisma__InventoryTransferClient<runtime.Types.Result.GetResult<Prisma.$InventoryTransferPayload<ExtArgs>, 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<T extends InventoryTransferDeleteManyArgs>(args?: Prisma.SelectSubset<T, InventoryTransferDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* 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<T extends InventoryTransferUpdateManyArgs>(args: Prisma.SelectSubset<T, InventoryTransferUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* 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<T extends InventoryTransferUpsertArgs>(args: Prisma.SelectSubset<T, InventoryTransferUpsertArgs<ExtArgs>>): Prisma.Prisma__InventoryTransferClient<runtime.Types.Result.GetResult<Prisma.$InventoryTransferPayload<ExtArgs>, 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<T extends InventoryTransferCountArgs>(
args?: Prisma.Subset<T, InventoryTransferCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], InventoryTransferCountAggregateOutputType>
: 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<T extends InventoryTransferAggregateArgs>(args: Prisma.Subset<T, InventoryTransferAggregateArgs>): Prisma.PrismaPromise<GetInventoryTransferAggregateType<T>>
/**
* 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<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: InventoryTransferGroupByArgs['orderBy'] }
: { orderBy?: InventoryTransferGroupByArgs['orderBy'] },
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
ByValid extends Prisma.Has<ByFields, OrderFields>,
HavingFields extends Prisma.GetHavingFields<T['having']>,
HavingValid extends Prisma.Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Prisma.Keys<T>
? 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<T>
? 'orderBy' extends Prisma.Keys<T>
? 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<T, InventoryTransferGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInventoryTransferGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
items<T extends Prisma.InventoryTransfer$itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.InventoryTransfer$itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InventoryTransferItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
fromInventory<T extends Prisma.InventoryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.InventoryDefaultArgs<ExtArgs>>): Prisma.Prisma__InventoryClient<runtime.Types.Result.GetResult<Prisma.$InventoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
toInventory<T extends Prisma.InventoryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.InventoryDefaultArgs<ExtArgs>>): Prisma.Prisma__InventoryClient<runtime.Types.Result.GetResult<Prisma.$InventoryPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransfer
*/
select?: Prisma.InventoryTransferSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransfer
*/
omit?: Prisma.InventoryTransferOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferInclude<ExtArgs> | null
/**
* Filter, which InventoryTransfer to fetch.
*/
where: Prisma.InventoryTransferWhereUniqueInput
}
/**
* InventoryTransfer findUniqueOrThrow
*/
export type InventoryTransferFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransfer
*/
select?: Prisma.InventoryTransferSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransfer
*/
omit?: Prisma.InventoryTransferOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferInclude<ExtArgs> | null
/**
* Filter, which InventoryTransfer to fetch.
*/
where: Prisma.InventoryTransferWhereUniqueInput
}
/**
* InventoryTransfer findFirst
*/
export type InventoryTransferFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransfer
*/
select?: Prisma.InventoryTransferSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransfer
*/
omit?: Prisma.InventoryTransferOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransfer
*/
select?: Prisma.InventoryTransferSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransfer
*/
omit?: Prisma.InventoryTransferOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransfer
*/
select?: Prisma.InventoryTransferSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransfer
*/
omit?: Prisma.InventoryTransferOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransfer
*/
select?: Prisma.InventoryTransferSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransfer
*/
omit?: Prisma.InventoryTransferOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferInclude<ExtArgs> | null
/**
* The data needed to create a InventoryTransfer.
*/
data: Prisma.XOR<Prisma.InventoryTransferCreateInput, Prisma.InventoryTransferUncheckedCreateInput>
}
/**
* InventoryTransfer createMany
*/
export type InventoryTransferCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many InventoryTransfers.
*/
data: Prisma.InventoryTransferCreateManyInput | Prisma.InventoryTransferCreateManyInput[]
skipDuplicates?: boolean
}
/**
* InventoryTransfer update
*/
export type InventoryTransferUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransfer
*/
select?: Prisma.InventoryTransferSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransfer
*/
omit?: Prisma.InventoryTransferOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferInclude<ExtArgs> | null
/**
* The data needed to update a InventoryTransfer.
*/
data: Prisma.XOR<Prisma.InventoryTransferUpdateInput, Prisma.InventoryTransferUncheckedUpdateInput>
/**
* Choose, which InventoryTransfer to update.
*/
where: Prisma.InventoryTransferWhereUniqueInput
}
/**
* InventoryTransfer updateMany
*/
export type InventoryTransferUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update InventoryTransfers.
*/
data: Prisma.XOR<Prisma.InventoryTransferUpdateManyMutationInput, Prisma.InventoryTransferUncheckedUpdateManyInput>
/**
* Filter which InventoryTransfers to update
*/
where?: Prisma.InventoryTransferWhereInput
/**
* Limit how many InventoryTransfers to update.
*/
limit?: number
}
/**
* InventoryTransfer upsert
*/
export type InventoryTransferUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransfer
*/
select?: Prisma.InventoryTransferSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransfer
*/
omit?: Prisma.InventoryTransferOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferInclude<ExtArgs> | 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<Prisma.InventoryTransferCreateInput, Prisma.InventoryTransferUncheckedCreateInput>
/**
* In case the InventoryTransfer was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.InventoryTransferUpdateInput, Prisma.InventoryTransferUncheckedUpdateInput>
}
/**
* InventoryTransfer delete
*/
export type InventoryTransferDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransfer
*/
select?: Prisma.InventoryTransferSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransfer
*/
omit?: Prisma.InventoryTransferOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferInclude<ExtArgs> | null
/**
* Filter which InventoryTransfer to delete.
*/
where: Prisma.InventoryTransferWhereUniqueInput
}
/**
* InventoryTransfer deleteMany
*/
export type InventoryTransferDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which InventoryTransfers to delete
*/
where?: Prisma.InventoryTransferWhereInput
/**
* Limit how many InventoryTransfers to delete.
*/
limit?: number
}
/**
* InventoryTransfer.items
*/
export type InventoryTransfer$itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransferItem
*/
select?: Prisma.InventoryTransferItemSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransferItem
*/
omit?: Prisma.InventoryTransferItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferItemInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the InventoryTransfer
*/
select?: Prisma.InventoryTransferSelect<ExtArgs> | null
/**
* Omit specific fields from the InventoryTransfer
*/
omit?: Prisma.InventoryTransferOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.InventoryTransferInclude<ExtArgs> | null
}