1394 lines
58 KiB
TypeScript
1394 lines
58 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 `PipelineHandoverItem` 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.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model PipelineHandoverItem
|
|
* A single companion record the user ticked in M04. `sourceId` addresses the
|
|
* note/file/task/appointment; it stays a bare scalar because the four sources
|
|
* live in four different module schemas.
|
|
*/
|
|
export type PipelineHandoverItemModel = runtime.Types.Result.DefaultSelection<Prisma.$PipelineHandoverItemPayload>
|
|
|
|
export type AggregatePipelineHandoverItem = {
|
|
_count: PipelineHandoverItemCountAggregateOutputType | null
|
|
_min: PipelineHandoverItemMinAggregateOutputType | null
|
|
_max: PipelineHandoverItemMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type PipelineHandoverItemMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
handoverId: string | null
|
|
kind: $Enums.PipelineHandoverItemKind | null
|
|
sourceId: string | null
|
|
createdAt: Date | null
|
|
}
|
|
|
|
export type PipelineHandoverItemMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
handoverId: string | null
|
|
kind: $Enums.PipelineHandoverItemKind | null
|
|
sourceId: string | null
|
|
createdAt: Date | null
|
|
}
|
|
|
|
export type PipelineHandoverItemCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
handoverId: number
|
|
kind: number
|
|
sourceId: number
|
|
createdAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type PipelineHandoverItemMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
handoverId?: true
|
|
kind?: true
|
|
sourceId?: true
|
|
createdAt?: true
|
|
}
|
|
|
|
export type PipelineHandoverItemMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
handoverId?: true
|
|
kind?: true
|
|
sourceId?: true
|
|
createdAt?: true
|
|
}
|
|
|
|
export type PipelineHandoverItemCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
handoverId?: true
|
|
kind?: true
|
|
sourceId?: true
|
|
createdAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type PipelineHandoverItemAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PipelineHandoverItem to aggregate.
|
|
*/
|
|
where?: Prisma.PipelineHandoverItemWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PipelineHandoverItems to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineHandoverItemOrderByWithRelationInput | Prisma.PipelineHandoverItemOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PipelineHandoverItems 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` PipelineHandoverItems.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned PipelineHandoverItems
|
|
**/
|
|
_count?: true | PipelineHandoverItemCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: PipelineHandoverItemMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: PipelineHandoverItemMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPipelineHandoverItemAggregateType<T extends PipelineHandoverItemAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePipelineHandoverItem]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePipelineHandoverItem[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePipelineHandoverItem[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PipelineHandoverItemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PipelineHandoverItemWhereInput
|
|
orderBy?: Prisma.PipelineHandoverItemOrderByWithAggregationInput | Prisma.PipelineHandoverItemOrderByWithAggregationInput[]
|
|
by: Prisma.PipelineHandoverItemScalarFieldEnum[] | Prisma.PipelineHandoverItemScalarFieldEnum
|
|
having?: Prisma.PipelineHandoverItemScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: PipelineHandoverItemCountAggregateInputType | true
|
|
_min?: PipelineHandoverItemMinAggregateInputType
|
|
_max?: PipelineHandoverItemMaxAggregateInputType
|
|
}
|
|
|
|
export type PipelineHandoverItemGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
handoverId: string
|
|
kind: $Enums.PipelineHandoverItemKind
|
|
sourceId: string
|
|
createdAt: Date
|
|
_count: PipelineHandoverItemCountAggregateOutputType | null
|
|
_min: PipelineHandoverItemMinAggregateOutputType | null
|
|
_max: PipelineHandoverItemMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetPipelineHandoverItemGroupByPayload<T extends PipelineHandoverItemGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<PipelineHandoverItemGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof PipelineHandoverItemGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], PipelineHandoverItemGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], PipelineHandoverItemGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type PipelineHandoverItemWhereInput = {
|
|
AND?: Prisma.PipelineHandoverItemWhereInput | Prisma.PipelineHandoverItemWhereInput[]
|
|
OR?: Prisma.PipelineHandoverItemWhereInput[]
|
|
NOT?: Prisma.PipelineHandoverItemWhereInput | Prisma.PipelineHandoverItemWhereInput[]
|
|
id?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
tenantId?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
handoverId?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindFilter<"PipelineHandoverItem"> | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"PipelineHandoverItem"> | Date | string
|
|
handover?: Prisma.XOR<Prisma.PipelineHandoverScalarRelationFilter, Prisma.PipelineHandoverWhereInput>
|
|
}
|
|
|
|
export type PipelineHandoverItemOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
handoverId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
sourceId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
handover?: Prisma.PipelineHandoverOrderByWithRelationInput
|
|
}
|
|
|
|
export type PipelineHandoverItemWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
handoverId_kind_sourceId?: Prisma.PipelineHandoverItemHandoverIdKindSourceIdCompoundUniqueInput
|
|
AND?: Prisma.PipelineHandoverItemWhereInput | Prisma.PipelineHandoverItemWhereInput[]
|
|
OR?: Prisma.PipelineHandoverItemWhereInput[]
|
|
NOT?: Prisma.PipelineHandoverItemWhereInput | Prisma.PipelineHandoverItemWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
handoverId?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindFilter<"PipelineHandoverItem"> | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"PipelineHandoverItem"> | Date | string
|
|
handover?: Prisma.XOR<Prisma.PipelineHandoverScalarRelationFilter, Prisma.PipelineHandoverWhereInput>
|
|
}, "id" | "handoverId_kind_sourceId">
|
|
|
|
export type PipelineHandoverItemOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
handoverId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
sourceId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
_count?: Prisma.PipelineHandoverItemCountOrderByAggregateInput
|
|
_max?: Prisma.PipelineHandoverItemMaxOrderByAggregateInput
|
|
_min?: Prisma.PipelineHandoverItemMinOrderByAggregateInput
|
|
}
|
|
|
|
export type PipelineHandoverItemScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.PipelineHandoverItemScalarWhereWithAggregatesInput | Prisma.PipelineHandoverItemScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.PipelineHandoverItemScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.PipelineHandoverItemScalarWhereWithAggregatesInput | Prisma.PipelineHandoverItemScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"PipelineHandoverItem"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"PipelineHandoverItem"> | string
|
|
handoverId?: Prisma.StringWithAggregatesFilter<"PipelineHandoverItem"> | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindWithAggregatesFilter<"PipelineHandoverItem"> | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringWithAggregatesFilter<"PipelineHandoverItem"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PipelineHandoverItem"> | Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
kind: $Enums.PipelineHandoverItemKind
|
|
sourceId: string
|
|
createdAt?: Date | string
|
|
handover: Prisma.PipelineHandoverCreateNestedOneWithoutItemsInput
|
|
}
|
|
|
|
export type PipelineHandoverItemUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
handoverId: string
|
|
kind: $Enums.PipelineHandoverItemKind
|
|
sourceId: string
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindFieldUpdateOperationsInput | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
handover?: Prisma.PipelineHandoverUpdateOneRequiredWithoutItemsNestedInput
|
|
}
|
|
|
|
export type PipelineHandoverItemUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
handoverId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindFieldUpdateOperationsInput | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
handoverId: string
|
|
kind: $Enums.PipelineHandoverItemKind
|
|
sourceId: string
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindFieldUpdateOperationsInput | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
handoverId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindFieldUpdateOperationsInput | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemListRelationFilter = {
|
|
every?: Prisma.PipelineHandoverItemWhereInput
|
|
some?: Prisma.PipelineHandoverItemWhereInput
|
|
none?: Prisma.PipelineHandoverItemWhereInput
|
|
}
|
|
|
|
export type PipelineHandoverItemOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineHandoverItemHandoverIdKindSourceIdCompoundUniqueInput = {
|
|
handoverId: string
|
|
kind: $Enums.PipelineHandoverItemKind
|
|
sourceId: string
|
|
}
|
|
|
|
export type PipelineHandoverItemCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
handoverId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
sourceId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineHandoverItemMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
handoverId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
sourceId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineHandoverItemMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
handoverId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
sourceId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineHandoverItemCreateNestedManyWithoutHandoverInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineHandoverItemCreateWithoutHandoverInput, Prisma.PipelineHandoverItemUncheckedCreateWithoutHandoverInput> | Prisma.PipelineHandoverItemCreateWithoutHandoverInput[] | Prisma.PipelineHandoverItemUncheckedCreateWithoutHandoverInput[]
|
|
connectOrCreate?: Prisma.PipelineHandoverItemCreateOrConnectWithoutHandoverInput | Prisma.PipelineHandoverItemCreateOrConnectWithoutHandoverInput[]
|
|
createMany?: Prisma.PipelineHandoverItemCreateManyHandoverInputEnvelope
|
|
connect?: Prisma.PipelineHandoverItemWhereUniqueInput | Prisma.PipelineHandoverItemWhereUniqueInput[]
|
|
}
|
|
|
|
export type PipelineHandoverItemUncheckedCreateNestedManyWithoutHandoverInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineHandoverItemCreateWithoutHandoverInput, Prisma.PipelineHandoverItemUncheckedCreateWithoutHandoverInput> | Prisma.PipelineHandoverItemCreateWithoutHandoverInput[] | Prisma.PipelineHandoverItemUncheckedCreateWithoutHandoverInput[]
|
|
connectOrCreate?: Prisma.PipelineHandoverItemCreateOrConnectWithoutHandoverInput | Prisma.PipelineHandoverItemCreateOrConnectWithoutHandoverInput[]
|
|
createMany?: Prisma.PipelineHandoverItemCreateManyHandoverInputEnvelope
|
|
connect?: Prisma.PipelineHandoverItemWhereUniqueInput | Prisma.PipelineHandoverItemWhereUniqueInput[]
|
|
}
|
|
|
|
export type PipelineHandoverItemUpdateManyWithoutHandoverNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineHandoverItemCreateWithoutHandoverInput, Prisma.PipelineHandoverItemUncheckedCreateWithoutHandoverInput> | Prisma.PipelineHandoverItemCreateWithoutHandoverInput[] | Prisma.PipelineHandoverItemUncheckedCreateWithoutHandoverInput[]
|
|
connectOrCreate?: Prisma.PipelineHandoverItemCreateOrConnectWithoutHandoverInput | Prisma.PipelineHandoverItemCreateOrConnectWithoutHandoverInput[]
|
|
upsert?: Prisma.PipelineHandoverItemUpsertWithWhereUniqueWithoutHandoverInput | Prisma.PipelineHandoverItemUpsertWithWhereUniqueWithoutHandoverInput[]
|
|
createMany?: Prisma.PipelineHandoverItemCreateManyHandoverInputEnvelope
|
|
set?: Prisma.PipelineHandoverItemWhereUniqueInput | Prisma.PipelineHandoverItemWhereUniqueInput[]
|
|
disconnect?: Prisma.PipelineHandoverItemWhereUniqueInput | Prisma.PipelineHandoverItemWhereUniqueInput[]
|
|
delete?: Prisma.PipelineHandoverItemWhereUniqueInput | Prisma.PipelineHandoverItemWhereUniqueInput[]
|
|
connect?: Prisma.PipelineHandoverItemWhereUniqueInput | Prisma.PipelineHandoverItemWhereUniqueInput[]
|
|
update?: Prisma.PipelineHandoverItemUpdateWithWhereUniqueWithoutHandoverInput | Prisma.PipelineHandoverItemUpdateWithWhereUniqueWithoutHandoverInput[]
|
|
updateMany?: Prisma.PipelineHandoverItemUpdateManyWithWhereWithoutHandoverInput | Prisma.PipelineHandoverItemUpdateManyWithWhereWithoutHandoverInput[]
|
|
deleteMany?: Prisma.PipelineHandoverItemScalarWhereInput | Prisma.PipelineHandoverItemScalarWhereInput[]
|
|
}
|
|
|
|
export type PipelineHandoverItemUncheckedUpdateManyWithoutHandoverNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineHandoverItemCreateWithoutHandoverInput, Prisma.PipelineHandoverItemUncheckedCreateWithoutHandoverInput> | Prisma.PipelineHandoverItemCreateWithoutHandoverInput[] | Prisma.PipelineHandoverItemUncheckedCreateWithoutHandoverInput[]
|
|
connectOrCreate?: Prisma.PipelineHandoverItemCreateOrConnectWithoutHandoverInput | Prisma.PipelineHandoverItemCreateOrConnectWithoutHandoverInput[]
|
|
upsert?: Prisma.PipelineHandoverItemUpsertWithWhereUniqueWithoutHandoverInput | Prisma.PipelineHandoverItemUpsertWithWhereUniqueWithoutHandoverInput[]
|
|
createMany?: Prisma.PipelineHandoverItemCreateManyHandoverInputEnvelope
|
|
set?: Prisma.PipelineHandoverItemWhereUniqueInput | Prisma.PipelineHandoverItemWhereUniqueInput[]
|
|
disconnect?: Prisma.PipelineHandoverItemWhereUniqueInput | Prisma.PipelineHandoverItemWhereUniqueInput[]
|
|
delete?: Prisma.PipelineHandoverItemWhereUniqueInput | Prisma.PipelineHandoverItemWhereUniqueInput[]
|
|
connect?: Prisma.PipelineHandoverItemWhereUniqueInput | Prisma.PipelineHandoverItemWhereUniqueInput[]
|
|
update?: Prisma.PipelineHandoverItemUpdateWithWhereUniqueWithoutHandoverInput | Prisma.PipelineHandoverItemUpdateWithWhereUniqueWithoutHandoverInput[]
|
|
updateMany?: Prisma.PipelineHandoverItemUpdateManyWithWhereWithoutHandoverInput | Prisma.PipelineHandoverItemUpdateManyWithWhereWithoutHandoverInput[]
|
|
deleteMany?: Prisma.PipelineHandoverItemScalarWhereInput | Prisma.PipelineHandoverItemScalarWhereInput[]
|
|
}
|
|
|
|
export type EnumPipelineHandoverItemKindFieldUpdateOperationsInput = {
|
|
set?: $Enums.PipelineHandoverItemKind
|
|
}
|
|
|
|
export type PipelineHandoverItemCreateWithoutHandoverInput = {
|
|
id?: string
|
|
tenantId: string
|
|
kind: $Enums.PipelineHandoverItemKind
|
|
sourceId: string
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemUncheckedCreateWithoutHandoverInput = {
|
|
id?: string
|
|
tenantId: string
|
|
kind: $Enums.PipelineHandoverItemKind
|
|
sourceId: string
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemCreateOrConnectWithoutHandoverInput = {
|
|
where: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PipelineHandoverItemCreateWithoutHandoverInput, Prisma.PipelineHandoverItemUncheckedCreateWithoutHandoverInput>
|
|
}
|
|
|
|
export type PipelineHandoverItemCreateManyHandoverInputEnvelope = {
|
|
data: Prisma.PipelineHandoverItemCreateManyHandoverInput | Prisma.PipelineHandoverItemCreateManyHandoverInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type PipelineHandoverItemUpsertWithWhereUniqueWithoutHandoverInput = {
|
|
where: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.PipelineHandoverItemUpdateWithoutHandoverInput, Prisma.PipelineHandoverItemUncheckedUpdateWithoutHandoverInput>
|
|
create: Prisma.XOR<Prisma.PipelineHandoverItemCreateWithoutHandoverInput, Prisma.PipelineHandoverItemUncheckedCreateWithoutHandoverInput>
|
|
}
|
|
|
|
export type PipelineHandoverItemUpdateWithWhereUniqueWithoutHandoverInput = {
|
|
where: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.PipelineHandoverItemUpdateWithoutHandoverInput, Prisma.PipelineHandoverItemUncheckedUpdateWithoutHandoverInput>
|
|
}
|
|
|
|
export type PipelineHandoverItemUpdateManyWithWhereWithoutHandoverInput = {
|
|
where: Prisma.PipelineHandoverItemScalarWhereInput
|
|
data: Prisma.XOR<Prisma.PipelineHandoverItemUpdateManyMutationInput, Prisma.PipelineHandoverItemUncheckedUpdateManyWithoutHandoverInput>
|
|
}
|
|
|
|
export type PipelineHandoverItemScalarWhereInput = {
|
|
AND?: Prisma.PipelineHandoverItemScalarWhereInput | Prisma.PipelineHandoverItemScalarWhereInput[]
|
|
OR?: Prisma.PipelineHandoverItemScalarWhereInput[]
|
|
NOT?: Prisma.PipelineHandoverItemScalarWhereInput | Prisma.PipelineHandoverItemScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
tenantId?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
handoverId?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindFilter<"PipelineHandoverItem"> | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringFilter<"PipelineHandoverItem"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"PipelineHandoverItem"> | Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemCreateManyHandoverInput = {
|
|
id?: string
|
|
tenantId: string
|
|
kind: $Enums.PipelineHandoverItemKind
|
|
sourceId: string
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemUpdateWithoutHandoverInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindFieldUpdateOperationsInput | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemUncheckedUpdateWithoutHandoverInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindFieldUpdateOperationsInput | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PipelineHandoverItemUncheckedUpdateManyWithoutHandoverInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.EnumPipelineHandoverItemKindFieldUpdateOperationsInput | $Enums.PipelineHandoverItemKind
|
|
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
|
|
|
|
export type PipelineHandoverItemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
handoverId?: boolean
|
|
kind?: boolean
|
|
sourceId?: boolean
|
|
createdAt?: boolean
|
|
handover?: boolean | Prisma.PipelineHandoverDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pipelineHandoverItem"]>
|
|
|
|
export type PipelineHandoverItemSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
handoverId?: boolean
|
|
kind?: boolean
|
|
sourceId?: boolean
|
|
createdAt?: boolean
|
|
handover?: boolean | Prisma.PipelineHandoverDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pipelineHandoverItem"]>
|
|
|
|
export type PipelineHandoverItemSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
handoverId?: boolean
|
|
kind?: boolean
|
|
sourceId?: boolean
|
|
createdAt?: boolean
|
|
handover?: boolean | Prisma.PipelineHandoverDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pipelineHandoverItem"]>
|
|
|
|
export type PipelineHandoverItemSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
handoverId?: boolean
|
|
kind?: boolean
|
|
sourceId?: boolean
|
|
createdAt?: boolean
|
|
}
|
|
|
|
export type PipelineHandoverItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "handoverId" | "kind" | "sourceId" | "createdAt", ExtArgs["result"]["pipelineHandoverItem"]>
|
|
export type PipelineHandoverItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
handover?: boolean | Prisma.PipelineHandoverDefaultArgs<ExtArgs>
|
|
}
|
|
export type PipelineHandoverItemIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
handover?: boolean | Prisma.PipelineHandoverDefaultArgs<ExtArgs>
|
|
}
|
|
export type PipelineHandoverItemIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
handover?: boolean | Prisma.PipelineHandoverDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $PipelineHandoverItemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "PipelineHandoverItem"
|
|
objects: {
|
|
handover: Prisma.$PipelineHandoverPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
handoverId: string
|
|
kind: $Enums.PipelineHandoverItemKind
|
|
sourceId: string
|
|
createdAt: Date
|
|
}, ExtArgs["result"]["pipelineHandoverItem"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type PipelineHandoverItemGetPayload<S extends boolean | null | undefined | PipelineHandoverItemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload, S>
|
|
|
|
export type PipelineHandoverItemCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<PipelineHandoverItemFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: PipelineHandoverItemCountAggregateInputType | true
|
|
}
|
|
|
|
export interface PipelineHandoverItemDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PipelineHandoverItem'], meta: { name: 'PipelineHandoverItem' } }
|
|
/**
|
|
* Find zero or one PipelineHandoverItem that matches the filter.
|
|
* @param {PipelineHandoverItemFindUniqueArgs} args - Arguments to find a PipelineHandoverItem
|
|
* @example
|
|
* // Get one PipelineHandoverItem
|
|
* const pipelineHandoverItem = await prisma.pipelineHandoverItem.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends PipelineHandoverItemFindUniqueArgs>(args: Prisma.SelectSubset<T, PipelineHandoverItemFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverItemClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one PipelineHandoverItem that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {PipelineHandoverItemFindUniqueOrThrowArgs} args - Arguments to find a PipelineHandoverItem
|
|
* @example
|
|
* // Get one PipelineHandoverItem
|
|
* const pipelineHandoverItem = await prisma.pipelineHandoverItem.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends PipelineHandoverItemFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PipelineHandoverItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverItemClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PipelineHandoverItem 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 {PipelineHandoverItemFindFirstArgs} args - Arguments to find a PipelineHandoverItem
|
|
* @example
|
|
* // Get one PipelineHandoverItem
|
|
* const pipelineHandoverItem = await prisma.pipelineHandoverItem.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends PipelineHandoverItemFindFirstArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverItemFindFirstArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverItemClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PipelineHandoverItem 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 {PipelineHandoverItemFindFirstOrThrowArgs} args - Arguments to find a PipelineHandoverItem
|
|
* @example
|
|
* // Get one PipelineHandoverItem
|
|
* const pipelineHandoverItem = await prisma.pipelineHandoverItem.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends PipelineHandoverItemFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverItemFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverItemClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more PipelineHandoverItems 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 {PipelineHandoverItemFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all PipelineHandoverItems
|
|
* const pipelineHandoverItems = await prisma.pipelineHandoverItem.findMany()
|
|
*
|
|
* // Get first 10 PipelineHandoverItems
|
|
* const pipelineHandoverItems = await prisma.pipelineHandoverItem.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const pipelineHandoverItemWithIdOnly = await prisma.pipelineHandoverItem.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends PipelineHandoverItemFindManyArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a PipelineHandoverItem.
|
|
* @param {PipelineHandoverItemCreateArgs} args - Arguments to create a PipelineHandoverItem.
|
|
* @example
|
|
* // Create one PipelineHandoverItem
|
|
* const PipelineHandoverItem = await prisma.pipelineHandoverItem.create({
|
|
* data: {
|
|
* // ... data to create a PipelineHandoverItem
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends PipelineHandoverItemCreateArgs>(args: Prisma.SelectSubset<T, PipelineHandoverItemCreateArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverItemClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many PipelineHandoverItems.
|
|
* @param {PipelineHandoverItemCreateManyArgs} args - Arguments to create many PipelineHandoverItems.
|
|
* @example
|
|
* // Create many PipelineHandoverItems
|
|
* const pipelineHandoverItem = await prisma.pipelineHandoverItem.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends PipelineHandoverItemCreateManyArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many PipelineHandoverItems and returns the data saved in the database.
|
|
* @param {PipelineHandoverItemCreateManyAndReturnArgs} args - Arguments to create many PipelineHandoverItems.
|
|
* @example
|
|
* // Create many PipelineHandoverItems
|
|
* const pipelineHandoverItem = await prisma.pipelineHandoverItem.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many PipelineHandoverItems and only return the `id`
|
|
* const pipelineHandoverItemWithIdOnly = await prisma.pipelineHandoverItem.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends PipelineHandoverItemCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a PipelineHandoverItem.
|
|
* @param {PipelineHandoverItemDeleteArgs} args - Arguments to delete one PipelineHandoverItem.
|
|
* @example
|
|
* // Delete one PipelineHandoverItem
|
|
* const PipelineHandoverItem = await prisma.pipelineHandoverItem.delete({
|
|
* where: {
|
|
* // ... filter to delete one PipelineHandoverItem
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends PipelineHandoverItemDeleteArgs>(args: Prisma.SelectSubset<T, PipelineHandoverItemDeleteArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverItemClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one PipelineHandoverItem.
|
|
* @param {PipelineHandoverItemUpdateArgs} args - Arguments to update one PipelineHandoverItem.
|
|
* @example
|
|
* // Update one PipelineHandoverItem
|
|
* const pipelineHandoverItem = await prisma.pipelineHandoverItem.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends PipelineHandoverItemUpdateArgs>(args: Prisma.SelectSubset<T, PipelineHandoverItemUpdateArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverItemClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more PipelineHandoverItems.
|
|
* @param {PipelineHandoverItemDeleteManyArgs} args - Arguments to filter PipelineHandoverItems to delete.
|
|
* @example
|
|
* // Delete a few PipelineHandoverItems
|
|
* const { count } = await prisma.pipelineHandoverItem.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends PipelineHandoverItemDeleteManyArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PipelineHandoverItems.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineHandoverItemUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many PipelineHandoverItems
|
|
* const pipelineHandoverItem = await prisma.pipelineHandoverItem.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends PipelineHandoverItemUpdateManyArgs>(args: Prisma.SelectSubset<T, PipelineHandoverItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PipelineHandoverItems and returns the data updated in the database.
|
|
* @param {PipelineHandoverItemUpdateManyAndReturnArgs} args - Arguments to update many PipelineHandoverItems.
|
|
* @example
|
|
* // Update many PipelineHandoverItems
|
|
* const pipelineHandoverItem = await prisma.pipelineHandoverItem.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more PipelineHandoverItems and only return the `id`
|
|
* const pipelineHandoverItemWithIdOnly = await prisma.pipelineHandoverItem.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends PipelineHandoverItemUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PipelineHandoverItemUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one PipelineHandoverItem.
|
|
* @param {PipelineHandoverItemUpsertArgs} args - Arguments to update or create a PipelineHandoverItem.
|
|
* @example
|
|
* // Update or create a PipelineHandoverItem
|
|
* const pipelineHandoverItem = await prisma.pipelineHandoverItem.upsert({
|
|
* create: {
|
|
* // ... data to create a PipelineHandoverItem
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the PipelineHandoverItem we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends PipelineHandoverItemUpsertArgs>(args: Prisma.SelectSubset<T, PipelineHandoverItemUpsertArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverItemClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of PipelineHandoverItems.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineHandoverItemCountArgs} args - Arguments to filter PipelineHandoverItems to count.
|
|
* @example
|
|
* // Count the number of PipelineHandoverItems
|
|
* const count = await prisma.pipelineHandoverItem.count({
|
|
* where: {
|
|
* // ... the filter for the PipelineHandoverItems we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends PipelineHandoverItemCountArgs>(
|
|
args?: Prisma.Subset<T, PipelineHandoverItemCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], PipelineHandoverItemCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a PipelineHandoverItem.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineHandoverItemAggregateArgs} 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 PipelineHandoverItemAggregateArgs>(args: Prisma.Subset<T, PipelineHandoverItemAggregateArgs>): Prisma.PrismaPromise<GetPipelineHandoverItemAggregateType<T>>
|
|
|
|
/**
|
|
* Group by PipelineHandoverItem.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineHandoverItemGroupByArgs} 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 PipelineHandoverItemGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: PipelineHandoverItemGroupByArgs['orderBy'] }
|
|
: { orderBy?: PipelineHandoverItemGroupByArgs['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, PipelineHandoverItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPipelineHandoverItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the PipelineHandoverItem model
|
|
*/
|
|
readonly fields: PipelineHandoverItemFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for PipelineHandoverItem.
|
|
* 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__PipelineHandoverItemClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
handover<T extends Prisma.PipelineHandoverDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PipelineHandoverDefaultArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<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 PipelineHandoverItem model
|
|
*/
|
|
export interface PipelineHandoverItemFieldRefs {
|
|
readonly id: Prisma.FieldRef<"PipelineHandoverItem", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"PipelineHandoverItem", 'String'>
|
|
readonly handoverId: Prisma.FieldRef<"PipelineHandoverItem", 'String'>
|
|
readonly kind: Prisma.FieldRef<"PipelineHandoverItem", 'PipelineHandoverItemKind'>
|
|
readonly sourceId: Prisma.FieldRef<"PipelineHandoverItem", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"PipelineHandoverItem", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* PipelineHandoverItem findUnique
|
|
*/
|
|
export type PipelineHandoverItemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PipelineHandoverItem to fetch.
|
|
*/
|
|
where: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem findUniqueOrThrow
|
|
*/
|
|
export type PipelineHandoverItemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PipelineHandoverItem to fetch.
|
|
*/
|
|
where: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem findFirst
|
|
*/
|
|
export type PipelineHandoverItemFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PipelineHandoverItem to fetch.
|
|
*/
|
|
where?: Prisma.PipelineHandoverItemWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PipelineHandoverItems to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineHandoverItemOrderByWithRelationInput | Prisma.PipelineHandoverItemOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PipelineHandoverItems.
|
|
*/
|
|
cursor?: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PipelineHandoverItems 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` PipelineHandoverItems.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PipelineHandoverItems.
|
|
*/
|
|
distinct?: Prisma.PipelineHandoverItemScalarFieldEnum | Prisma.PipelineHandoverItemScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem findFirstOrThrow
|
|
*/
|
|
export type PipelineHandoverItemFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PipelineHandoverItem to fetch.
|
|
*/
|
|
where?: Prisma.PipelineHandoverItemWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PipelineHandoverItems to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineHandoverItemOrderByWithRelationInput | Prisma.PipelineHandoverItemOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PipelineHandoverItems.
|
|
*/
|
|
cursor?: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PipelineHandoverItems 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` PipelineHandoverItems.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PipelineHandoverItems.
|
|
*/
|
|
distinct?: Prisma.PipelineHandoverItemScalarFieldEnum | Prisma.PipelineHandoverItemScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem findMany
|
|
*/
|
|
export type PipelineHandoverItemFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PipelineHandoverItems to fetch.
|
|
*/
|
|
where?: Prisma.PipelineHandoverItemWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PipelineHandoverItems to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineHandoverItemOrderByWithRelationInput | Prisma.PipelineHandoverItemOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing PipelineHandoverItems.
|
|
*/
|
|
cursor?: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PipelineHandoverItems 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` PipelineHandoverItems.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PipelineHandoverItems.
|
|
*/
|
|
distinct?: Prisma.PipelineHandoverItemScalarFieldEnum | Prisma.PipelineHandoverItemScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem create
|
|
*/
|
|
export type PipelineHandoverItemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a PipelineHandoverItem.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineHandoverItemCreateInput, Prisma.PipelineHandoverItemUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem createMany
|
|
*/
|
|
export type PipelineHandoverItemCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many PipelineHandoverItems.
|
|
*/
|
|
data: Prisma.PipelineHandoverItemCreateManyInput | Prisma.PipelineHandoverItemCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem createManyAndReturn
|
|
*/
|
|
export type PipelineHandoverItemCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many PipelineHandoverItems.
|
|
*/
|
|
data: Prisma.PipelineHandoverItemCreateManyInput | Prisma.PipelineHandoverItemCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem update
|
|
*/
|
|
export type PipelineHandoverItemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a PipelineHandoverItem.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineHandoverItemUpdateInput, Prisma.PipelineHandoverItemUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which PipelineHandoverItem to update.
|
|
*/
|
|
where: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem updateMany
|
|
*/
|
|
export type PipelineHandoverItemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update PipelineHandoverItems.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineHandoverItemUpdateManyMutationInput, Prisma.PipelineHandoverItemUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PipelineHandoverItems to update
|
|
*/
|
|
where?: Prisma.PipelineHandoverItemWhereInput
|
|
/**
|
|
* Limit how many PipelineHandoverItems to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem updateManyAndReturn
|
|
*/
|
|
export type PipelineHandoverItemUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update PipelineHandoverItems.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineHandoverItemUpdateManyMutationInput, Prisma.PipelineHandoverItemUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PipelineHandoverItems to update
|
|
*/
|
|
where?: Prisma.PipelineHandoverItemWhereInput
|
|
/**
|
|
* Limit how many PipelineHandoverItems to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem upsert
|
|
*/
|
|
export type PipelineHandoverItemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the PipelineHandoverItem to update in case it exists.
|
|
*/
|
|
where: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
/**
|
|
* In case the PipelineHandoverItem found by the `where` argument doesn't exist, create a new PipelineHandoverItem with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.PipelineHandoverItemCreateInput, Prisma.PipelineHandoverItemUncheckedCreateInput>
|
|
/**
|
|
* In case the PipelineHandoverItem was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.PipelineHandoverItemUpdateInput, Prisma.PipelineHandoverItemUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem delete
|
|
*/
|
|
export type PipelineHandoverItemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which PipelineHandoverItem to delete.
|
|
*/
|
|
where: Prisma.PipelineHandoverItemWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem deleteMany
|
|
*/
|
|
export type PipelineHandoverItemDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PipelineHandoverItems to delete
|
|
*/
|
|
where?: Prisma.PipelineHandoverItemWhereInput
|
|
/**
|
|
* Limit how many PipelineHandoverItems to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PipelineHandoverItem without action
|
|
*/
|
|
export type PipelineHandoverItemDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineHandoverItem
|
|
*/
|
|
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineHandoverItem
|
|
*/
|
|
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
|
|
}
|