2650 lines
111 KiB
TypeScript
2650 lines
111 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 `Pipeline` 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 Pipeline
|
|
*
|
|
*/
|
|
export type PipelineModel = runtime.Types.Result.DefaultSelection<Prisma.$PipelinePayload>
|
|
|
|
export type AggregatePipeline = {
|
|
_count: PipelineCountAggregateOutputType | null
|
|
_avg: PipelineAvgAggregateOutputType | null
|
|
_sum: PipelineSumAggregateOutputType | null
|
|
_min: PipelineMinAggregateOutputType | null
|
|
_max: PipelineMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type PipelineAvgAggregateOutputType = {
|
|
position: number | null
|
|
}
|
|
|
|
export type PipelineSumAggregateOutputType = {
|
|
position: number | null
|
|
}
|
|
|
|
export type PipelineMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
createdByUserId: string | null
|
|
name: string | null
|
|
typHint: $Enums.PipelineTypHint | null
|
|
position: number | null
|
|
isDefault: boolean | null
|
|
isDemoData: boolean | null
|
|
archivedAt: Date | null
|
|
nachfolgePipelineId: string | null
|
|
}
|
|
|
|
export type PipelineMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
createdByUserId: string | null
|
|
name: string | null
|
|
typHint: $Enums.PipelineTypHint | null
|
|
position: number | null
|
|
isDefault: boolean | null
|
|
isDemoData: boolean | null
|
|
archivedAt: Date | null
|
|
nachfolgePipelineId: string | null
|
|
}
|
|
|
|
export type PipelineCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
createdByUserId: number
|
|
name: number
|
|
typHint: number
|
|
position: number
|
|
isDefault: number
|
|
isDemoData: number
|
|
archivedAt: number
|
|
nachfolgePipelineId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type PipelineAvgAggregateInputType = {
|
|
position?: true
|
|
}
|
|
|
|
export type PipelineSumAggregateInputType = {
|
|
position?: true
|
|
}
|
|
|
|
export type PipelineMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
createdByUserId?: true
|
|
name?: true
|
|
typHint?: true
|
|
position?: true
|
|
isDefault?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
nachfolgePipelineId?: true
|
|
}
|
|
|
|
export type PipelineMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
createdByUserId?: true
|
|
name?: true
|
|
typHint?: true
|
|
position?: true
|
|
isDefault?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
nachfolgePipelineId?: true
|
|
}
|
|
|
|
export type PipelineCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
createdByUserId?: true
|
|
name?: true
|
|
typHint?: true
|
|
position?: true
|
|
isDefault?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
nachfolgePipelineId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type PipelineAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Pipeline to aggregate.
|
|
*/
|
|
where?: Prisma.PipelineWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Pipelines to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineOrderByWithRelationInput | Prisma.PipelineOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.PipelineWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Pipelines 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` Pipelines.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned Pipelines
|
|
**/
|
|
_count?: true | PipelineCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: PipelineAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: PipelineSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: PipelineMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: PipelineMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPipelineAggregateType<T extends PipelineAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePipeline]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePipeline[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePipeline[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PipelineGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PipelineWhereInput
|
|
orderBy?: Prisma.PipelineOrderByWithAggregationInput | Prisma.PipelineOrderByWithAggregationInput[]
|
|
by: Prisma.PipelineScalarFieldEnum[] | Prisma.PipelineScalarFieldEnum
|
|
having?: Prisma.PipelineScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: PipelineCountAggregateInputType | true
|
|
_avg?: PipelineAvgAggregateInputType
|
|
_sum?: PipelineSumAggregateInputType
|
|
_min?: PipelineMinAggregateInputType
|
|
_max?: PipelineMaxAggregateInputType
|
|
}
|
|
|
|
export type PipelineGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
createdByUserId: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position: number
|
|
isDefault: boolean
|
|
isDemoData: boolean
|
|
archivedAt: Date | null
|
|
nachfolgePipelineId: string | null
|
|
_count: PipelineCountAggregateOutputType | null
|
|
_avg: PipelineAvgAggregateOutputType | null
|
|
_sum: PipelineSumAggregateOutputType | null
|
|
_min: PipelineMinAggregateOutputType | null
|
|
_max: PipelineMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetPipelineGroupByPayload<T extends PipelineGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<PipelineGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof PipelineGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], PipelineGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], PipelineGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type PipelineWhereInput = {
|
|
AND?: Prisma.PipelineWhereInput | Prisma.PipelineWhereInput[]
|
|
OR?: Prisma.PipelineWhereInput[]
|
|
NOT?: Prisma.PipelineWhereInput | Prisma.PipelineWhereInput[]
|
|
id?: Prisma.StringFilter<"Pipeline"> | string
|
|
tenantId?: Prisma.StringFilter<"Pipeline"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string
|
|
createdByUserId?: Prisma.StringNullableFilter<"Pipeline"> | string | null
|
|
name?: Prisma.StringFilter<"Pipeline"> | string
|
|
typHint?: Prisma.EnumPipelineTypHintFilter<"Pipeline"> | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFilter<"Pipeline"> | number
|
|
isDefault?: Prisma.BoolFilter<"Pipeline"> | boolean
|
|
isDemoData?: Prisma.BoolFilter<"Pipeline"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"Pipeline"> | Date | string | null
|
|
nachfolgePipelineId?: Prisma.StringNullableFilter<"Pipeline"> | string | null
|
|
stages?: Prisma.PipelineStageListRelationFilter
|
|
accessRules?: Prisma.PipelineAccessListRelationFilter
|
|
fieldConfigs?: Prisma.PipelineFieldConfigListRelationFilter
|
|
fieldGroups?: Prisma.PipelineFieldGroupListRelationFilter
|
|
projekte?: Prisma.ProjektListRelationFilter
|
|
nachfolgePipeline?: Prisma.XOR<Prisma.PipelineNullableScalarRelationFilter, Prisma.PipelineWhereInput> | null
|
|
vorgaengerPipelines?: Prisma.PipelineListRelationFilter
|
|
}
|
|
|
|
export type PipelineOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
typHint?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
isDefault?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
nachfolgePipelineId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
stages?: Prisma.PipelineStageOrderByRelationAggregateInput
|
|
accessRules?: Prisma.PipelineAccessOrderByRelationAggregateInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigOrderByRelationAggregateInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupOrderByRelationAggregateInput
|
|
projekte?: Prisma.ProjektOrderByRelationAggregateInput
|
|
nachfolgePipeline?: Prisma.PipelineOrderByWithRelationInput
|
|
vorgaengerPipelines?: Prisma.PipelineOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type PipelineWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_name?: Prisma.PipelineTenantIdNameCompoundUniqueInput
|
|
AND?: Prisma.PipelineWhereInput | Prisma.PipelineWhereInput[]
|
|
OR?: Prisma.PipelineWhereInput[]
|
|
NOT?: Prisma.PipelineWhereInput | Prisma.PipelineWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"Pipeline"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string
|
|
createdByUserId?: Prisma.StringNullableFilter<"Pipeline"> | string | null
|
|
name?: Prisma.StringFilter<"Pipeline"> | string
|
|
typHint?: Prisma.EnumPipelineTypHintFilter<"Pipeline"> | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFilter<"Pipeline"> | number
|
|
isDefault?: Prisma.BoolFilter<"Pipeline"> | boolean
|
|
isDemoData?: Prisma.BoolFilter<"Pipeline"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"Pipeline"> | Date | string | null
|
|
nachfolgePipelineId?: Prisma.StringNullableFilter<"Pipeline"> | string | null
|
|
stages?: Prisma.PipelineStageListRelationFilter
|
|
accessRules?: Prisma.PipelineAccessListRelationFilter
|
|
fieldConfigs?: Prisma.PipelineFieldConfigListRelationFilter
|
|
fieldGroups?: Prisma.PipelineFieldGroupListRelationFilter
|
|
projekte?: Prisma.ProjektListRelationFilter
|
|
nachfolgePipeline?: Prisma.XOR<Prisma.PipelineNullableScalarRelationFilter, Prisma.PipelineWhereInput> | null
|
|
vorgaengerPipelines?: Prisma.PipelineListRelationFilter
|
|
}, "id" | "tenantId_name">
|
|
|
|
export type PipelineOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
typHint?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
isDefault?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
nachfolgePipelineId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.PipelineCountOrderByAggregateInput
|
|
_avg?: Prisma.PipelineAvgOrderByAggregateInput
|
|
_max?: Prisma.PipelineMaxOrderByAggregateInput
|
|
_min?: Prisma.PipelineMinOrderByAggregateInput
|
|
_sum?: Prisma.PipelineSumOrderByAggregateInput
|
|
}
|
|
|
|
export type PipelineScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.PipelineScalarWhereWithAggregatesInput | Prisma.PipelineScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.PipelineScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.PipelineScalarWhereWithAggregatesInput | Prisma.PipelineScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"Pipeline"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"Pipeline"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Pipeline"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Pipeline"> | Date | string
|
|
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"Pipeline"> | string | null
|
|
name?: Prisma.StringWithAggregatesFilter<"Pipeline"> | string
|
|
typHint?: Prisma.EnumPipelineTypHintWithAggregatesFilter<"Pipeline"> | $Enums.PipelineTypHint
|
|
position?: Prisma.IntWithAggregatesFilter<"Pipeline"> | number
|
|
isDefault?: Prisma.BoolWithAggregatesFilter<"Pipeline"> | boolean
|
|
isDemoData?: Prisma.BoolWithAggregatesFilter<"Pipeline"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Pipeline"> | Date | string | null
|
|
nachfolgePipelineId?: Prisma.StringNullableWithAggregatesFilter<"Pipeline"> | string | null
|
|
}
|
|
|
|
export type PipelineCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
stages?: Prisma.PipelineStageCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektCreateNestedManyWithoutPipelineInput
|
|
nachfolgePipeline?: Prisma.PipelineCreateNestedOneWithoutVorgaengerPipelinesInput
|
|
vorgaengerPipelines?: Prisma.PipelineCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
nachfolgePipelineId?: string | null
|
|
stages?: Prisma.PipelineStageUncheckedCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektUncheckedCreateNestedManyWithoutPipelineInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
stages?: Prisma.PipelineStageUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUpdateManyWithoutPipelineNestedInput
|
|
nachfolgePipeline?: Prisma.PipelineUpdateOneWithoutVorgaengerPipelinesNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
nachfolgePipelineId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
stages?: Prisma.PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUncheckedUpdateManyWithoutPipelineNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
nachfolgePipelineId?: string | null
|
|
}
|
|
|
|
export type PipelineUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
nachfolgePipelineId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type PipelineNullableScalarRelationFilter = {
|
|
is?: Prisma.PipelineWhereInput | null
|
|
isNot?: Prisma.PipelineWhereInput | null
|
|
}
|
|
|
|
export type PipelineListRelationFilter = {
|
|
every?: Prisma.PipelineWhereInput
|
|
some?: Prisma.PipelineWhereInput
|
|
none?: Prisma.PipelineWhereInput
|
|
}
|
|
|
|
export type PipelineOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineTenantIdNameCompoundUniqueInput = {
|
|
tenantId: string
|
|
name: string
|
|
}
|
|
|
|
export type PipelineCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
typHint?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
isDefault?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
nachfolgePipelineId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineAvgOrderByAggregateInput = {
|
|
position?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
typHint?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
isDefault?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
nachfolgePipelineId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
typHint?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
isDefault?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
nachfolgePipelineId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineSumOrderByAggregateInput = {
|
|
position?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineScalarRelationFilter = {
|
|
is?: Prisma.PipelineWhereInput
|
|
isNot?: Prisma.PipelineWhereInput
|
|
}
|
|
|
|
export type PipelineCreateNestedOneWithoutVorgaengerPipelinesInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutVorgaengerPipelinesInput, Prisma.PipelineUncheckedCreateWithoutVorgaengerPipelinesInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutVorgaengerPipelinesInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
}
|
|
|
|
export type PipelineCreateNestedManyWithoutNachfolgePipelineInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutNachfolgePipelineInput, Prisma.PipelineUncheckedCreateWithoutNachfolgePipelineInput> | Prisma.PipelineCreateWithoutNachfolgePipelineInput[] | Prisma.PipelineUncheckedCreateWithoutNachfolgePipelineInput[]
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutNachfolgePipelineInput | Prisma.PipelineCreateOrConnectWithoutNachfolgePipelineInput[]
|
|
createMany?: Prisma.PipelineCreateManyNachfolgePipelineInputEnvelope
|
|
connect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[]
|
|
}
|
|
|
|
export type PipelineUncheckedCreateNestedManyWithoutNachfolgePipelineInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutNachfolgePipelineInput, Prisma.PipelineUncheckedCreateWithoutNachfolgePipelineInput> | Prisma.PipelineCreateWithoutNachfolgePipelineInput[] | Prisma.PipelineUncheckedCreateWithoutNachfolgePipelineInput[]
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutNachfolgePipelineInput | Prisma.PipelineCreateOrConnectWithoutNachfolgePipelineInput[]
|
|
createMany?: Prisma.PipelineCreateManyNachfolgePipelineInputEnvelope
|
|
connect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[]
|
|
}
|
|
|
|
export type EnumPipelineTypHintFieldUpdateOperationsInput = {
|
|
set?: $Enums.PipelineTypHint
|
|
}
|
|
|
|
export type PipelineUpdateOneWithoutVorgaengerPipelinesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutVorgaengerPipelinesInput, Prisma.PipelineUncheckedCreateWithoutVorgaengerPipelinesInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutVorgaengerPipelinesInput
|
|
upsert?: Prisma.PipelineUpsertWithoutVorgaengerPipelinesInput
|
|
disconnect?: Prisma.PipelineWhereInput | boolean
|
|
delete?: Prisma.PipelineWhereInput | boolean
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PipelineUpdateToOneWithWhereWithoutVorgaengerPipelinesInput, Prisma.PipelineUpdateWithoutVorgaengerPipelinesInput>, Prisma.PipelineUncheckedUpdateWithoutVorgaengerPipelinesInput>
|
|
}
|
|
|
|
export type PipelineUpdateManyWithoutNachfolgePipelineNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutNachfolgePipelineInput, Prisma.PipelineUncheckedCreateWithoutNachfolgePipelineInput> | Prisma.PipelineCreateWithoutNachfolgePipelineInput[] | Prisma.PipelineUncheckedCreateWithoutNachfolgePipelineInput[]
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutNachfolgePipelineInput | Prisma.PipelineCreateOrConnectWithoutNachfolgePipelineInput[]
|
|
upsert?: Prisma.PipelineUpsertWithWhereUniqueWithoutNachfolgePipelineInput | Prisma.PipelineUpsertWithWhereUniqueWithoutNachfolgePipelineInput[]
|
|
createMany?: Prisma.PipelineCreateManyNachfolgePipelineInputEnvelope
|
|
set?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[]
|
|
disconnect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[]
|
|
delete?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[]
|
|
connect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[]
|
|
update?: Prisma.PipelineUpdateWithWhereUniqueWithoutNachfolgePipelineInput | Prisma.PipelineUpdateWithWhereUniqueWithoutNachfolgePipelineInput[]
|
|
updateMany?: Prisma.PipelineUpdateManyWithWhereWithoutNachfolgePipelineInput | Prisma.PipelineUpdateManyWithWhereWithoutNachfolgePipelineInput[]
|
|
deleteMany?: Prisma.PipelineScalarWhereInput | Prisma.PipelineScalarWhereInput[]
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateManyWithoutNachfolgePipelineNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutNachfolgePipelineInput, Prisma.PipelineUncheckedCreateWithoutNachfolgePipelineInput> | Prisma.PipelineCreateWithoutNachfolgePipelineInput[] | Prisma.PipelineUncheckedCreateWithoutNachfolgePipelineInput[]
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutNachfolgePipelineInput | Prisma.PipelineCreateOrConnectWithoutNachfolgePipelineInput[]
|
|
upsert?: Prisma.PipelineUpsertWithWhereUniqueWithoutNachfolgePipelineInput | Prisma.PipelineUpsertWithWhereUniqueWithoutNachfolgePipelineInput[]
|
|
createMany?: Prisma.PipelineCreateManyNachfolgePipelineInputEnvelope
|
|
set?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[]
|
|
disconnect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[]
|
|
delete?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[]
|
|
connect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[]
|
|
update?: Prisma.PipelineUpdateWithWhereUniqueWithoutNachfolgePipelineInput | Prisma.PipelineUpdateWithWhereUniqueWithoutNachfolgePipelineInput[]
|
|
updateMany?: Prisma.PipelineUpdateManyWithWhereWithoutNachfolgePipelineInput | Prisma.PipelineUpdateManyWithWhereWithoutNachfolgePipelineInput[]
|
|
deleteMany?: Prisma.PipelineScalarWhereInput | Prisma.PipelineScalarWhereInput[]
|
|
}
|
|
|
|
export type PipelineCreateNestedOneWithoutStagesInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutStagesInput, Prisma.PipelineUncheckedCreateWithoutStagesInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutStagesInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
}
|
|
|
|
export type PipelineUpdateOneRequiredWithoutStagesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutStagesInput, Prisma.PipelineUncheckedCreateWithoutStagesInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutStagesInput
|
|
upsert?: Prisma.PipelineUpsertWithoutStagesInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PipelineUpdateToOneWithWhereWithoutStagesInput, Prisma.PipelineUpdateWithoutStagesInput>, Prisma.PipelineUncheckedUpdateWithoutStagesInput>
|
|
}
|
|
|
|
export type PipelineCreateNestedOneWithoutAccessRulesInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutAccessRulesInput, Prisma.PipelineUncheckedCreateWithoutAccessRulesInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutAccessRulesInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
}
|
|
|
|
export type PipelineUpdateOneRequiredWithoutAccessRulesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutAccessRulesInput, Prisma.PipelineUncheckedCreateWithoutAccessRulesInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutAccessRulesInput
|
|
upsert?: Prisma.PipelineUpsertWithoutAccessRulesInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PipelineUpdateToOneWithWhereWithoutAccessRulesInput, Prisma.PipelineUpdateWithoutAccessRulesInput>, Prisma.PipelineUncheckedUpdateWithoutAccessRulesInput>
|
|
}
|
|
|
|
export type PipelineCreateNestedOneWithoutFieldGroupsInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutFieldGroupsInput, Prisma.PipelineUncheckedCreateWithoutFieldGroupsInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutFieldGroupsInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
}
|
|
|
|
export type PipelineUpdateOneRequiredWithoutFieldGroupsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutFieldGroupsInput, Prisma.PipelineUncheckedCreateWithoutFieldGroupsInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutFieldGroupsInput
|
|
upsert?: Prisma.PipelineUpsertWithoutFieldGroupsInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PipelineUpdateToOneWithWhereWithoutFieldGroupsInput, Prisma.PipelineUpdateWithoutFieldGroupsInput>, Prisma.PipelineUncheckedUpdateWithoutFieldGroupsInput>
|
|
}
|
|
|
|
export type PipelineCreateNestedOneWithoutFieldConfigsInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutFieldConfigsInput, Prisma.PipelineUncheckedCreateWithoutFieldConfigsInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutFieldConfigsInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
}
|
|
|
|
export type PipelineUpdateOneRequiredWithoutFieldConfigsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutFieldConfigsInput, Prisma.PipelineUncheckedCreateWithoutFieldConfigsInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutFieldConfigsInput
|
|
upsert?: Prisma.PipelineUpsertWithoutFieldConfigsInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PipelineUpdateToOneWithWhereWithoutFieldConfigsInput, Prisma.PipelineUpdateWithoutFieldConfigsInput>, Prisma.PipelineUncheckedUpdateWithoutFieldConfigsInput>
|
|
}
|
|
|
|
export type PipelineCreateNestedOneWithoutProjekteInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutProjekteInput, Prisma.PipelineUncheckedCreateWithoutProjekteInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutProjekteInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
}
|
|
|
|
export type PipelineUpdateOneRequiredWithoutProjekteNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineCreateWithoutProjekteInput, Prisma.PipelineUncheckedCreateWithoutProjekteInput>
|
|
connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutProjekteInput
|
|
upsert?: Prisma.PipelineUpsertWithoutProjekteInput
|
|
connect?: Prisma.PipelineWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PipelineUpdateToOneWithWhereWithoutProjekteInput, Prisma.PipelineUpdateWithoutProjekteInput>, Prisma.PipelineUncheckedUpdateWithoutProjekteInput>
|
|
}
|
|
|
|
export type PipelineCreateWithoutVorgaengerPipelinesInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
stages?: Prisma.PipelineStageCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektCreateNestedManyWithoutPipelineInput
|
|
nachfolgePipeline?: Prisma.PipelineCreateNestedOneWithoutVorgaengerPipelinesInput
|
|
}
|
|
|
|
export type PipelineUncheckedCreateWithoutVorgaengerPipelinesInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
nachfolgePipelineId?: string | null
|
|
stages?: Prisma.PipelineStageUncheckedCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektUncheckedCreateNestedManyWithoutPipelineInput
|
|
}
|
|
|
|
export type PipelineCreateOrConnectWithoutVorgaengerPipelinesInput = {
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutVorgaengerPipelinesInput, Prisma.PipelineUncheckedCreateWithoutVorgaengerPipelinesInput>
|
|
}
|
|
|
|
export type PipelineCreateWithoutNachfolgePipelineInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
stages?: Prisma.PipelineStageCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektCreateNestedManyWithoutPipelineInput
|
|
vorgaengerPipelines?: Prisma.PipelineCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineUncheckedCreateWithoutNachfolgePipelineInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
stages?: Prisma.PipelineStageUncheckedCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektUncheckedCreateNestedManyWithoutPipelineInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineCreateOrConnectWithoutNachfolgePipelineInput = {
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutNachfolgePipelineInput, Prisma.PipelineUncheckedCreateWithoutNachfolgePipelineInput>
|
|
}
|
|
|
|
export type PipelineCreateManyNachfolgePipelineInputEnvelope = {
|
|
data: Prisma.PipelineCreateManyNachfolgePipelineInput | Prisma.PipelineCreateManyNachfolgePipelineInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type PipelineUpsertWithoutVorgaengerPipelinesInput = {
|
|
update: Prisma.XOR<Prisma.PipelineUpdateWithoutVorgaengerPipelinesInput, Prisma.PipelineUncheckedUpdateWithoutVorgaengerPipelinesInput>
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutVorgaengerPipelinesInput, Prisma.PipelineUncheckedCreateWithoutVorgaengerPipelinesInput>
|
|
where?: Prisma.PipelineWhereInput
|
|
}
|
|
|
|
export type PipelineUpdateToOneWithWhereWithoutVorgaengerPipelinesInput = {
|
|
where?: Prisma.PipelineWhereInput
|
|
data: Prisma.XOR<Prisma.PipelineUpdateWithoutVorgaengerPipelinesInput, Prisma.PipelineUncheckedUpdateWithoutVorgaengerPipelinesInput>
|
|
}
|
|
|
|
export type PipelineUpdateWithoutVorgaengerPipelinesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
stages?: Prisma.PipelineStageUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUpdateManyWithoutPipelineNestedInput
|
|
nachfolgePipeline?: Prisma.PipelineUpdateOneWithoutVorgaengerPipelinesNestedInput
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateWithoutVorgaengerPipelinesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
nachfolgePipelineId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
stages?: Prisma.PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUncheckedUpdateManyWithoutPipelineNestedInput
|
|
}
|
|
|
|
export type PipelineUpsertWithWhereUniqueWithoutNachfolgePipelineInput = {
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.PipelineUpdateWithoutNachfolgePipelineInput, Prisma.PipelineUncheckedUpdateWithoutNachfolgePipelineInput>
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutNachfolgePipelineInput, Prisma.PipelineUncheckedCreateWithoutNachfolgePipelineInput>
|
|
}
|
|
|
|
export type PipelineUpdateWithWhereUniqueWithoutNachfolgePipelineInput = {
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.PipelineUpdateWithoutNachfolgePipelineInput, Prisma.PipelineUncheckedUpdateWithoutNachfolgePipelineInput>
|
|
}
|
|
|
|
export type PipelineUpdateManyWithWhereWithoutNachfolgePipelineInput = {
|
|
where: Prisma.PipelineScalarWhereInput
|
|
data: Prisma.XOR<Prisma.PipelineUpdateManyMutationInput, Prisma.PipelineUncheckedUpdateManyWithoutNachfolgePipelineInput>
|
|
}
|
|
|
|
export type PipelineScalarWhereInput = {
|
|
AND?: Prisma.PipelineScalarWhereInput | Prisma.PipelineScalarWhereInput[]
|
|
OR?: Prisma.PipelineScalarWhereInput[]
|
|
NOT?: Prisma.PipelineScalarWhereInput | Prisma.PipelineScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"Pipeline"> | string
|
|
tenantId?: Prisma.StringFilter<"Pipeline"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string
|
|
createdByUserId?: Prisma.StringNullableFilter<"Pipeline"> | string | null
|
|
name?: Prisma.StringFilter<"Pipeline"> | string
|
|
typHint?: Prisma.EnumPipelineTypHintFilter<"Pipeline"> | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFilter<"Pipeline"> | number
|
|
isDefault?: Prisma.BoolFilter<"Pipeline"> | boolean
|
|
isDemoData?: Prisma.BoolFilter<"Pipeline"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"Pipeline"> | Date | string | null
|
|
nachfolgePipelineId?: Prisma.StringNullableFilter<"Pipeline"> | string | null
|
|
}
|
|
|
|
export type PipelineCreateWithoutStagesInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
accessRules?: Prisma.PipelineAccessCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektCreateNestedManyWithoutPipelineInput
|
|
nachfolgePipeline?: Prisma.PipelineCreateNestedOneWithoutVorgaengerPipelinesInput
|
|
vorgaengerPipelines?: Prisma.PipelineCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineUncheckedCreateWithoutStagesInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
nachfolgePipelineId?: string | null
|
|
accessRules?: Prisma.PipelineAccessUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektUncheckedCreateNestedManyWithoutPipelineInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineCreateOrConnectWithoutStagesInput = {
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutStagesInput, Prisma.PipelineUncheckedCreateWithoutStagesInput>
|
|
}
|
|
|
|
export type PipelineUpsertWithoutStagesInput = {
|
|
update: Prisma.XOR<Prisma.PipelineUpdateWithoutStagesInput, Prisma.PipelineUncheckedUpdateWithoutStagesInput>
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutStagesInput, Prisma.PipelineUncheckedCreateWithoutStagesInput>
|
|
where?: Prisma.PipelineWhereInput
|
|
}
|
|
|
|
export type PipelineUpdateToOneWithWhereWithoutStagesInput = {
|
|
where?: Prisma.PipelineWhereInput
|
|
data: Prisma.XOR<Prisma.PipelineUpdateWithoutStagesInput, Prisma.PipelineUncheckedUpdateWithoutStagesInput>
|
|
}
|
|
|
|
export type PipelineUpdateWithoutStagesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
accessRules?: Prisma.PipelineAccessUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUpdateManyWithoutPipelineNestedInput
|
|
nachfolgePipeline?: Prisma.PipelineUpdateOneWithoutVorgaengerPipelinesNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateWithoutStagesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
nachfolgePipelineId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
accessRules?: Prisma.PipelineAccessUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUncheckedUpdateManyWithoutPipelineNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineCreateWithoutAccessRulesInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
stages?: Prisma.PipelineStageCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektCreateNestedManyWithoutPipelineInput
|
|
nachfolgePipeline?: Prisma.PipelineCreateNestedOneWithoutVorgaengerPipelinesInput
|
|
vorgaengerPipelines?: Prisma.PipelineCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineUncheckedCreateWithoutAccessRulesInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
nachfolgePipelineId?: string | null
|
|
stages?: Prisma.PipelineStageUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektUncheckedCreateNestedManyWithoutPipelineInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineCreateOrConnectWithoutAccessRulesInput = {
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutAccessRulesInput, Prisma.PipelineUncheckedCreateWithoutAccessRulesInput>
|
|
}
|
|
|
|
export type PipelineUpsertWithoutAccessRulesInput = {
|
|
update: Prisma.XOR<Prisma.PipelineUpdateWithoutAccessRulesInput, Prisma.PipelineUncheckedUpdateWithoutAccessRulesInput>
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutAccessRulesInput, Prisma.PipelineUncheckedCreateWithoutAccessRulesInput>
|
|
where?: Prisma.PipelineWhereInput
|
|
}
|
|
|
|
export type PipelineUpdateToOneWithWhereWithoutAccessRulesInput = {
|
|
where?: Prisma.PipelineWhereInput
|
|
data: Prisma.XOR<Prisma.PipelineUpdateWithoutAccessRulesInput, Prisma.PipelineUncheckedUpdateWithoutAccessRulesInput>
|
|
}
|
|
|
|
export type PipelineUpdateWithoutAccessRulesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
stages?: Prisma.PipelineStageUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUpdateManyWithoutPipelineNestedInput
|
|
nachfolgePipeline?: Prisma.PipelineUpdateOneWithoutVorgaengerPipelinesNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateWithoutAccessRulesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
nachfolgePipelineId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
stages?: Prisma.PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUncheckedUpdateManyWithoutPipelineNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineCreateWithoutFieldGroupsInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
stages?: Prisma.PipelineStageCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektCreateNestedManyWithoutPipelineInput
|
|
nachfolgePipeline?: Prisma.PipelineCreateNestedOneWithoutVorgaengerPipelinesInput
|
|
vorgaengerPipelines?: Prisma.PipelineCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineUncheckedCreateWithoutFieldGroupsInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
nachfolgePipelineId?: string | null
|
|
stages?: Prisma.PipelineStageUncheckedCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektUncheckedCreateNestedManyWithoutPipelineInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineCreateOrConnectWithoutFieldGroupsInput = {
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutFieldGroupsInput, Prisma.PipelineUncheckedCreateWithoutFieldGroupsInput>
|
|
}
|
|
|
|
export type PipelineUpsertWithoutFieldGroupsInput = {
|
|
update: Prisma.XOR<Prisma.PipelineUpdateWithoutFieldGroupsInput, Prisma.PipelineUncheckedUpdateWithoutFieldGroupsInput>
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutFieldGroupsInput, Prisma.PipelineUncheckedCreateWithoutFieldGroupsInput>
|
|
where?: Prisma.PipelineWhereInput
|
|
}
|
|
|
|
export type PipelineUpdateToOneWithWhereWithoutFieldGroupsInput = {
|
|
where?: Prisma.PipelineWhereInput
|
|
data: Prisma.XOR<Prisma.PipelineUpdateWithoutFieldGroupsInput, Prisma.PipelineUncheckedUpdateWithoutFieldGroupsInput>
|
|
}
|
|
|
|
export type PipelineUpdateWithoutFieldGroupsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
stages?: Prisma.PipelineStageUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUpdateManyWithoutPipelineNestedInput
|
|
nachfolgePipeline?: Prisma.PipelineUpdateOneWithoutVorgaengerPipelinesNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateWithoutFieldGroupsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
nachfolgePipelineId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
stages?: Prisma.PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUncheckedUpdateManyWithoutPipelineNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineCreateWithoutFieldConfigsInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
stages?: Prisma.PipelineStageCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektCreateNestedManyWithoutPipelineInput
|
|
nachfolgePipeline?: Prisma.PipelineCreateNestedOneWithoutVorgaengerPipelinesInput
|
|
vorgaengerPipelines?: Prisma.PipelineCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineUncheckedCreateWithoutFieldConfigsInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
nachfolgePipelineId?: string | null
|
|
stages?: Prisma.PipelineStageUncheckedCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedCreateNestedManyWithoutPipelineInput
|
|
projekte?: Prisma.ProjektUncheckedCreateNestedManyWithoutPipelineInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineCreateOrConnectWithoutFieldConfigsInput = {
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutFieldConfigsInput, Prisma.PipelineUncheckedCreateWithoutFieldConfigsInput>
|
|
}
|
|
|
|
export type PipelineUpsertWithoutFieldConfigsInput = {
|
|
update: Prisma.XOR<Prisma.PipelineUpdateWithoutFieldConfigsInput, Prisma.PipelineUncheckedUpdateWithoutFieldConfigsInput>
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutFieldConfigsInput, Prisma.PipelineUncheckedCreateWithoutFieldConfigsInput>
|
|
where?: Prisma.PipelineWhereInput
|
|
}
|
|
|
|
export type PipelineUpdateToOneWithWhereWithoutFieldConfigsInput = {
|
|
where?: Prisma.PipelineWhereInput
|
|
data: Prisma.XOR<Prisma.PipelineUpdateWithoutFieldConfigsInput, Prisma.PipelineUncheckedUpdateWithoutFieldConfigsInput>
|
|
}
|
|
|
|
export type PipelineUpdateWithoutFieldConfigsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
stages?: Prisma.PipelineStageUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUpdateManyWithoutPipelineNestedInput
|
|
nachfolgePipeline?: Prisma.PipelineUpdateOneWithoutVorgaengerPipelinesNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateWithoutFieldConfigsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
nachfolgePipelineId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
stages?: Prisma.PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUncheckedUpdateManyWithoutPipelineNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineCreateWithoutProjekteInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
stages?: Prisma.PipelineStageCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupCreateNestedManyWithoutPipelineInput
|
|
nachfolgePipeline?: Prisma.PipelineCreateNestedOneWithoutVorgaengerPipelinesInput
|
|
vorgaengerPipelines?: Prisma.PipelineCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineUncheckedCreateWithoutProjekteInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
nachfolgePipelineId?: string | null
|
|
stages?: Prisma.PipelineStageUncheckedCreateNestedManyWithoutPipelineInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedCreateNestedManyWithoutPipelineInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedCreateNestedManyWithoutPipelineInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedCreateNestedManyWithoutNachfolgePipelineInput
|
|
}
|
|
|
|
export type PipelineCreateOrConnectWithoutProjekteInput = {
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutProjekteInput, Prisma.PipelineUncheckedCreateWithoutProjekteInput>
|
|
}
|
|
|
|
export type PipelineUpsertWithoutProjekteInput = {
|
|
update: Prisma.XOR<Prisma.PipelineUpdateWithoutProjekteInput, Prisma.PipelineUncheckedUpdateWithoutProjekteInput>
|
|
create: Prisma.XOR<Prisma.PipelineCreateWithoutProjekteInput, Prisma.PipelineUncheckedCreateWithoutProjekteInput>
|
|
where?: Prisma.PipelineWhereInput
|
|
}
|
|
|
|
export type PipelineUpdateToOneWithWhereWithoutProjekteInput = {
|
|
where?: Prisma.PipelineWhereInput
|
|
data: Prisma.XOR<Prisma.PipelineUpdateWithoutProjekteInput, Prisma.PipelineUncheckedUpdateWithoutProjekteInput>
|
|
}
|
|
|
|
export type PipelineUpdateWithoutProjekteInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
stages?: Prisma.PipelineStageUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUpdateManyWithoutPipelineNestedInput
|
|
nachfolgePipeline?: Prisma.PipelineUpdateOneWithoutVorgaengerPipelinesNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateWithoutProjekteInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
nachfolgePipelineId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
stages?: Prisma.PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedUpdateManyWithoutPipelineNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineCreateManyNachfolgePipelineInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
createdByUserId?: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position?: number
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type PipelineUpdateWithoutNachfolgePipelineInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
stages?: Prisma.PipelineStageUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUpdateManyWithoutPipelineNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateWithoutNachfolgePipelineInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
stages?: Prisma.PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput
|
|
accessRules?: Prisma.PipelineAccessUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldConfigs?: Prisma.PipelineFieldConfigUncheckedUpdateManyWithoutPipelineNestedInput
|
|
fieldGroups?: Prisma.PipelineFieldGroupUncheckedUpdateManyWithoutPipelineNestedInput
|
|
projekte?: Prisma.ProjektUncheckedUpdateManyWithoutPipelineNestedInput
|
|
vorgaengerPipelines?: Prisma.PipelineUncheckedUpdateManyWithoutNachfolgePipelineNestedInput
|
|
}
|
|
|
|
export type PipelineUncheckedUpdateManyWithoutNachfolgePipelineInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typHint?: Prisma.EnumPipelineTypHintFieldUpdateOperationsInput | $Enums.PipelineTypHint
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type PipelineCountOutputType
|
|
*/
|
|
|
|
export type PipelineCountOutputType = {
|
|
stages: number
|
|
accessRules: number
|
|
fieldConfigs: number
|
|
fieldGroups: number
|
|
projekte: number
|
|
vorgaengerPipelines: number
|
|
}
|
|
|
|
export type PipelineCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
stages?: boolean | PipelineCountOutputTypeCountStagesArgs
|
|
accessRules?: boolean | PipelineCountOutputTypeCountAccessRulesArgs
|
|
fieldConfigs?: boolean | PipelineCountOutputTypeCountFieldConfigsArgs
|
|
fieldGroups?: boolean | PipelineCountOutputTypeCountFieldGroupsArgs
|
|
projekte?: boolean | PipelineCountOutputTypeCountProjekteArgs
|
|
vorgaengerPipelines?: boolean | PipelineCountOutputTypeCountVorgaengerPipelinesArgs
|
|
}
|
|
|
|
/**
|
|
* PipelineCountOutputType without action
|
|
*/
|
|
export type PipelineCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineCountOutputType
|
|
*/
|
|
select?: Prisma.PipelineCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PipelineCountOutputType without action
|
|
*/
|
|
export type PipelineCountOutputTypeCountStagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PipelineStageWhereInput
|
|
}
|
|
|
|
/**
|
|
* PipelineCountOutputType without action
|
|
*/
|
|
export type PipelineCountOutputTypeCountAccessRulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PipelineAccessWhereInput
|
|
}
|
|
|
|
/**
|
|
* PipelineCountOutputType without action
|
|
*/
|
|
export type PipelineCountOutputTypeCountFieldConfigsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PipelineFieldConfigWhereInput
|
|
}
|
|
|
|
/**
|
|
* PipelineCountOutputType without action
|
|
*/
|
|
export type PipelineCountOutputTypeCountFieldGroupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PipelineFieldGroupWhereInput
|
|
}
|
|
|
|
/**
|
|
* PipelineCountOutputType without action
|
|
*/
|
|
export type PipelineCountOutputTypeCountProjekteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ProjektWhereInput
|
|
}
|
|
|
|
/**
|
|
* PipelineCountOutputType without action
|
|
*/
|
|
export type PipelineCountOutputTypeCountVorgaengerPipelinesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PipelineWhereInput
|
|
}
|
|
|
|
|
|
export type PipelineSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
createdByUserId?: boolean
|
|
name?: boolean
|
|
typHint?: boolean
|
|
position?: boolean
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
nachfolgePipelineId?: boolean
|
|
stages?: boolean | Prisma.Pipeline$stagesArgs<ExtArgs>
|
|
accessRules?: boolean | Prisma.Pipeline$accessRulesArgs<ExtArgs>
|
|
fieldConfigs?: boolean | Prisma.Pipeline$fieldConfigsArgs<ExtArgs>
|
|
fieldGroups?: boolean | Prisma.Pipeline$fieldGroupsArgs<ExtArgs>
|
|
projekte?: boolean | Prisma.Pipeline$projekteArgs<ExtArgs>
|
|
nachfolgePipeline?: boolean | Prisma.Pipeline$nachfolgePipelineArgs<ExtArgs>
|
|
vorgaengerPipelines?: boolean | Prisma.Pipeline$vorgaengerPipelinesArgs<ExtArgs>
|
|
_count?: boolean | Prisma.PipelineCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pipeline"]>
|
|
|
|
export type PipelineSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
createdByUserId?: boolean
|
|
name?: boolean
|
|
typHint?: boolean
|
|
position?: boolean
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
nachfolgePipelineId?: boolean
|
|
nachfolgePipeline?: boolean | Prisma.Pipeline$nachfolgePipelineArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pipeline"]>
|
|
|
|
export type PipelineSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
createdByUserId?: boolean
|
|
name?: boolean
|
|
typHint?: boolean
|
|
position?: boolean
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
nachfolgePipelineId?: boolean
|
|
nachfolgePipeline?: boolean | Prisma.Pipeline$nachfolgePipelineArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pipeline"]>
|
|
|
|
export type PipelineSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
createdByUserId?: boolean
|
|
name?: boolean
|
|
typHint?: boolean
|
|
position?: boolean
|
|
isDefault?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
nachfolgePipelineId?: boolean
|
|
}
|
|
|
|
export type PipelineOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "createdAt" | "updatedAt" | "createdByUserId" | "name" | "typHint" | "position" | "isDefault" | "isDemoData" | "archivedAt" | "nachfolgePipelineId", ExtArgs["result"]["pipeline"]>
|
|
export type PipelineInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
stages?: boolean | Prisma.Pipeline$stagesArgs<ExtArgs>
|
|
accessRules?: boolean | Prisma.Pipeline$accessRulesArgs<ExtArgs>
|
|
fieldConfigs?: boolean | Prisma.Pipeline$fieldConfigsArgs<ExtArgs>
|
|
fieldGroups?: boolean | Prisma.Pipeline$fieldGroupsArgs<ExtArgs>
|
|
projekte?: boolean | Prisma.Pipeline$projekteArgs<ExtArgs>
|
|
nachfolgePipeline?: boolean | Prisma.Pipeline$nachfolgePipelineArgs<ExtArgs>
|
|
vorgaengerPipelines?: boolean | Prisma.Pipeline$vorgaengerPipelinesArgs<ExtArgs>
|
|
_count?: boolean | Prisma.PipelineCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type PipelineIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
nachfolgePipeline?: boolean | Prisma.Pipeline$nachfolgePipelineArgs<ExtArgs>
|
|
}
|
|
export type PipelineIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
nachfolgePipeline?: boolean | Prisma.Pipeline$nachfolgePipelineArgs<ExtArgs>
|
|
}
|
|
|
|
export type $PipelinePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "Pipeline"
|
|
objects: {
|
|
stages: Prisma.$PipelineStagePayload<ExtArgs>[]
|
|
accessRules: Prisma.$PipelineAccessPayload<ExtArgs>[]
|
|
fieldConfigs: Prisma.$PipelineFieldConfigPayload<ExtArgs>[]
|
|
fieldGroups: Prisma.$PipelineFieldGroupPayload<ExtArgs>[]
|
|
projekte: Prisma.$ProjektPayload<ExtArgs>[]
|
|
nachfolgePipeline: Prisma.$PipelinePayload<ExtArgs> | null
|
|
vorgaengerPipelines: Prisma.$PipelinePayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
createdByUserId: string | null
|
|
name: string
|
|
typHint: $Enums.PipelineTypHint
|
|
position: number
|
|
isDefault: boolean
|
|
isDemoData: boolean
|
|
archivedAt: Date | null
|
|
/**
|
|
* WF-P8 M04: pipeline a project hands over to once it reaches the final
|
|
* stage here. Null = this pipeline is terminal and M04 never opens.
|
|
*/
|
|
nachfolgePipelineId: string | null
|
|
}, ExtArgs["result"]["pipeline"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type PipelineGetPayload<S extends boolean | null | undefined | PipelineDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PipelinePayload, S>
|
|
|
|
export type PipelineCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<PipelineFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: PipelineCountAggregateInputType | true
|
|
}
|
|
|
|
export interface PipelineDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Pipeline'], meta: { name: 'Pipeline' } }
|
|
/**
|
|
* Find zero or one Pipeline that matches the filter.
|
|
* @param {PipelineFindUniqueArgs} args - Arguments to find a Pipeline
|
|
* @example
|
|
* // Get one Pipeline
|
|
* const pipeline = await prisma.pipeline.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends PipelineFindUniqueArgs>(args: Prisma.SelectSubset<T, PipelineFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Pipeline that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {PipelineFindUniqueOrThrowArgs} args - Arguments to find a Pipeline
|
|
* @example
|
|
* // Get one Pipeline
|
|
* const pipeline = await prisma.pipeline.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends PipelineFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PipelineFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Pipeline 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 {PipelineFindFirstArgs} args - Arguments to find a Pipeline
|
|
* @example
|
|
* // Get one Pipeline
|
|
* const pipeline = await prisma.pipeline.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends PipelineFindFirstArgs>(args?: Prisma.SelectSubset<T, PipelineFindFirstArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Pipeline 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 {PipelineFindFirstOrThrowArgs} args - Arguments to find a Pipeline
|
|
* @example
|
|
* // Get one Pipeline
|
|
* const pipeline = await prisma.pipeline.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends PipelineFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PipelineFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Pipelines 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 {PipelineFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Pipelines
|
|
* const pipelines = await prisma.pipeline.findMany()
|
|
*
|
|
* // Get first 10 Pipelines
|
|
* const pipelines = await prisma.pipeline.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const pipelineWithIdOnly = await prisma.pipeline.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends PipelineFindManyArgs>(args?: Prisma.SelectSubset<T, PipelineFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Pipeline.
|
|
* @param {PipelineCreateArgs} args - Arguments to create a Pipeline.
|
|
* @example
|
|
* // Create one Pipeline
|
|
* const Pipeline = await prisma.pipeline.create({
|
|
* data: {
|
|
* // ... data to create a Pipeline
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends PipelineCreateArgs>(args: Prisma.SelectSubset<T, PipelineCreateArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Pipelines.
|
|
* @param {PipelineCreateManyArgs} args - Arguments to create many Pipelines.
|
|
* @example
|
|
* // Create many Pipelines
|
|
* const pipeline = await prisma.pipeline.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends PipelineCreateManyArgs>(args?: Prisma.SelectSubset<T, PipelineCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many Pipelines and returns the data saved in the database.
|
|
* @param {PipelineCreateManyAndReturnArgs} args - Arguments to create many Pipelines.
|
|
* @example
|
|
* // Create many Pipelines
|
|
* const pipeline = await prisma.pipeline.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many Pipelines and only return the `id`
|
|
* const pipelineWithIdOnly = await prisma.pipeline.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 PipelineCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PipelineCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a Pipeline.
|
|
* @param {PipelineDeleteArgs} args - Arguments to delete one Pipeline.
|
|
* @example
|
|
* // Delete one Pipeline
|
|
* const Pipeline = await prisma.pipeline.delete({
|
|
* where: {
|
|
* // ... filter to delete one Pipeline
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends PipelineDeleteArgs>(args: Prisma.SelectSubset<T, PipelineDeleteArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Pipeline.
|
|
* @param {PipelineUpdateArgs} args - Arguments to update one Pipeline.
|
|
* @example
|
|
* // Update one Pipeline
|
|
* const pipeline = await prisma.pipeline.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends PipelineUpdateArgs>(args: Prisma.SelectSubset<T, PipelineUpdateArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Pipelines.
|
|
* @param {PipelineDeleteManyArgs} args - Arguments to filter Pipelines to delete.
|
|
* @example
|
|
* // Delete a few Pipelines
|
|
* const { count } = await prisma.pipeline.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends PipelineDeleteManyArgs>(args?: Prisma.SelectSubset<T, PipelineDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Pipelines.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Pipelines
|
|
* const pipeline = await prisma.pipeline.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends PipelineUpdateManyArgs>(args: Prisma.SelectSubset<T, PipelineUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Pipelines and returns the data updated in the database.
|
|
* @param {PipelineUpdateManyAndReturnArgs} args - Arguments to update many Pipelines.
|
|
* @example
|
|
* // Update many Pipelines
|
|
* const pipeline = await prisma.pipeline.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more Pipelines and only return the `id`
|
|
* const pipelineWithIdOnly = await prisma.pipeline.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 PipelineUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PipelineUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one Pipeline.
|
|
* @param {PipelineUpsertArgs} args - Arguments to update or create a Pipeline.
|
|
* @example
|
|
* // Update or create a Pipeline
|
|
* const pipeline = await prisma.pipeline.upsert({
|
|
* create: {
|
|
* // ... data to create a Pipeline
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Pipeline we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends PipelineUpsertArgs>(args: Prisma.SelectSubset<T, PipelineUpsertArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Pipelines.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineCountArgs} args - Arguments to filter Pipelines to count.
|
|
* @example
|
|
* // Count the number of Pipelines
|
|
* const count = await prisma.pipeline.count({
|
|
* where: {
|
|
* // ... the filter for the Pipelines we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends PipelineCountArgs>(
|
|
args?: Prisma.Subset<T, PipelineCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], PipelineCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Pipeline.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineAggregateArgs} 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 PipelineAggregateArgs>(args: Prisma.Subset<T, PipelineAggregateArgs>): Prisma.PrismaPromise<GetPipelineAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Pipeline.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineGroupByArgs} 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 PipelineGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: PipelineGroupByArgs['orderBy'] }
|
|
: { orderBy?: PipelineGroupByArgs['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, PipelineGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPipelineGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the Pipeline model
|
|
*/
|
|
readonly fields: PipelineFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for Pipeline.
|
|
* 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__PipelineClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
stages<T extends Prisma.Pipeline$stagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pipeline$stagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineStagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
accessRules<T extends Prisma.Pipeline$accessRulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pipeline$accessRulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
fieldConfigs<T extends Prisma.Pipeline$fieldConfigsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pipeline$fieldConfigsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineFieldConfigPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
fieldGroups<T extends Prisma.Pipeline$fieldGroupsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pipeline$fieldGroupsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineFieldGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
projekte<T extends Prisma.Pipeline$projekteArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pipeline$projekteArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
nachfolgePipeline<T extends Prisma.Pipeline$nachfolgePipelineArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pipeline$nachfolgePipelineArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
vorgaengerPipelines<T extends Prisma.Pipeline$vorgaengerPipelinesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pipeline$vorgaengerPipelinesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* 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 Pipeline model
|
|
*/
|
|
export interface PipelineFieldRefs {
|
|
readonly id: Prisma.FieldRef<"Pipeline", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"Pipeline", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"Pipeline", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"Pipeline", 'DateTime'>
|
|
readonly createdByUserId: Prisma.FieldRef<"Pipeline", 'String'>
|
|
readonly name: Prisma.FieldRef<"Pipeline", 'String'>
|
|
readonly typHint: Prisma.FieldRef<"Pipeline", 'PipelineTypHint'>
|
|
readonly position: Prisma.FieldRef<"Pipeline", 'Int'>
|
|
readonly isDefault: Prisma.FieldRef<"Pipeline", 'Boolean'>
|
|
readonly isDemoData: Prisma.FieldRef<"Pipeline", 'Boolean'>
|
|
readonly archivedAt: Prisma.FieldRef<"Pipeline", 'DateTime'>
|
|
readonly nachfolgePipelineId: Prisma.FieldRef<"Pipeline", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* Pipeline findUnique
|
|
*/
|
|
export type PipelineFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Pipeline to fetch.
|
|
*/
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Pipeline findUniqueOrThrow
|
|
*/
|
|
export type PipelineFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Pipeline to fetch.
|
|
*/
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Pipeline findFirst
|
|
*/
|
|
export type PipelineFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Pipeline to fetch.
|
|
*/
|
|
where?: Prisma.PipelineWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Pipelines to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineOrderByWithRelationInput | Prisma.PipelineOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Pipelines.
|
|
*/
|
|
cursor?: Prisma.PipelineWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Pipelines 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` Pipelines.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Pipelines.
|
|
*/
|
|
distinct?: Prisma.PipelineScalarFieldEnum | Prisma.PipelineScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Pipeline findFirstOrThrow
|
|
*/
|
|
export type PipelineFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Pipeline to fetch.
|
|
*/
|
|
where?: Prisma.PipelineWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Pipelines to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineOrderByWithRelationInput | Prisma.PipelineOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Pipelines.
|
|
*/
|
|
cursor?: Prisma.PipelineWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Pipelines 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` Pipelines.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Pipelines.
|
|
*/
|
|
distinct?: Prisma.PipelineScalarFieldEnum | Prisma.PipelineScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Pipeline findMany
|
|
*/
|
|
export type PipelineFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Pipelines to fetch.
|
|
*/
|
|
where?: Prisma.PipelineWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Pipelines to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineOrderByWithRelationInput | Prisma.PipelineOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing Pipelines.
|
|
*/
|
|
cursor?: Prisma.PipelineWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Pipelines 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` Pipelines.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Pipelines.
|
|
*/
|
|
distinct?: Prisma.PipelineScalarFieldEnum | Prisma.PipelineScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Pipeline create
|
|
*/
|
|
export type PipelineCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a Pipeline.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineCreateInput, Prisma.PipelineUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* Pipeline createMany
|
|
*/
|
|
export type PipelineCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many Pipelines.
|
|
*/
|
|
data: Prisma.PipelineCreateManyInput | Prisma.PipelineCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* Pipeline createManyAndReturn
|
|
*/
|
|
export type PipelineCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many Pipelines.
|
|
*/
|
|
data: Prisma.PipelineCreateManyInput | Prisma.PipelineCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* Pipeline update
|
|
*/
|
|
export type PipelineUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a Pipeline.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineUpdateInput, Prisma.PipelineUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which Pipeline to update.
|
|
*/
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Pipeline updateMany
|
|
*/
|
|
export type PipelineUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update Pipelines.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineUpdateManyMutationInput, Prisma.PipelineUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Pipelines to update
|
|
*/
|
|
where?: Prisma.PipelineWhereInput
|
|
/**
|
|
* Limit how many Pipelines to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Pipeline updateManyAndReturn
|
|
*/
|
|
export type PipelineUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update Pipelines.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineUpdateManyMutationInput, Prisma.PipelineUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Pipelines to update
|
|
*/
|
|
where?: Prisma.PipelineWhereInput
|
|
/**
|
|
* Limit how many Pipelines to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* Pipeline upsert
|
|
*/
|
|
export type PipelineUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the Pipeline to update in case it exists.
|
|
*/
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
/**
|
|
* In case the Pipeline found by the `where` argument doesn't exist, create a new Pipeline with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.PipelineCreateInput, Prisma.PipelineUncheckedCreateInput>
|
|
/**
|
|
* In case the Pipeline was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.PipelineUpdateInput, Prisma.PipelineUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* Pipeline delete
|
|
*/
|
|
export type PipelineDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which Pipeline to delete.
|
|
*/
|
|
where: Prisma.PipelineWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Pipeline deleteMany
|
|
*/
|
|
export type PipelineDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Pipelines to delete
|
|
*/
|
|
where?: Prisma.PipelineWhereInput
|
|
/**
|
|
* Limit how many Pipelines to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Pipeline.stages
|
|
*/
|
|
export type Pipeline$stagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineStage
|
|
*/
|
|
select?: Prisma.PipelineStageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineStage
|
|
*/
|
|
omit?: Prisma.PipelineStageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineStageInclude<ExtArgs> | null
|
|
where?: Prisma.PipelineStageWhereInput
|
|
orderBy?: Prisma.PipelineStageOrderByWithRelationInput | Prisma.PipelineStageOrderByWithRelationInput[]
|
|
cursor?: Prisma.PipelineStageWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PipelineStageScalarFieldEnum | Prisma.PipelineStageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Pipeline.accessRules
|
|
*/
|
|
export type Pipeline$accessRulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
where?: Prisma.PipelineAccessWhereInput
|
|
orderBy?: Prisma.PipelineAccessOrderByWithRelationInput | Prisma.PipelineAccessOrderByWithRelationInput[]
|
|
cursor?: Prisma.PipelineAccessWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PipelineAccessScalarFieldEnum | Prisma.PipelineAccessScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Pipeline.fieldConfigs
|
|
*/
|
|
export type Pipeline$fieldConfigsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineFieldConfig
|
|
*/
|
|
select?: Prisma.PipelineFieldConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineFieldConfig
|
|
*/
|
|
omit?: Prisma.PipelineFieldConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineFieldConfigInclude<ExtArgs> | null
|
|
where?: Prisma.PipelineFieldConfigWhereInput
|
|
orderBy?: Prisma.PipelineFieldConfigOrderByWithRelationInput | Prisma.PipelineFieldConfigOrderByWithRelationInput[]
|
|
cursor?: Prisma.PipelineFieldConfigWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PipelineFieldConfigScalarFieldEnum | Prisma.PipelineFieldConfigScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Pipeline.fieldGroups
|
|
*/
|
|
export type Pipeline$fieldGroupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineFieldGroup
|
|
*/
|
|
select?: Prisma.PipelineFieldGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineFieldGroup
|
|
*/
|
|
omit?: Prisma.PipelineFieldGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineFieldGroupInclude<ExtArgs> | null
|
|
where?: Prisma.PipelineFieldGroupWhereInput
|
|
orderBy?: Prisma.PipelineFieldGroupOrderByWithRelationInput | Prisma.PipelineFieldGroupOrderByWithRelationInput[]
|
|
cursor?: Prisma.PipelineFieldGroupWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PipelineFieldGroupScalarFieldEnum | Prisma.PipelineFieldGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Pipeline.projekte
|
|
*/
|
|
export type Pipeline$projekteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Projekt
|
|
*/
|
|
select?: Prisma.ProjektSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Projekt
|
|
*/
|
|
omit?: Prisma.ProjektOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektInclude<ExtArgs> | null
|
|
where?: Prisma.ProjektWhereInput
|
|
orderBy?: Prisma.ProjektOrderByWithRelationInput | Prisma.ProjektOrderByWithRelationInput[]
|
|
cursor?: Prisma.ProjektWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ProjektScalarFieldEnum | Prisma.ProjektScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Pipeline.nachfolgePipeline
|
|
*/
|
|
export type Pipeline$nachfolgePipelineArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
where?: Prisma.PipelineWhereInput
|
|
}
|
|
|
|
/**
|
|
* Pipeline.vorgaengerPipelines
|
|
*/
|
|
export type Pipeline$vorgaengerPipelinesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
where?: Prisma.PipelineWhereInput
|
|
orderBy?: Prisma.PipelineOrderByWithRelationInput | Prisma.PipelineOrderByWithRelationInput[]
|
|
cursor?: Prisma.PipelineWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PipelineScalarFieldEnum | Prisma.PipelineScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Pipeline without action
|
|
*/
|
|
export type PipelineDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Pipeline
|
|
*/
|
|
select?: Prisma.PipelineSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Pipeline
|
|
*/
|
|
omit?: Prisma.PipelineOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineInclude<ExtArgs> | null
|
|
}
|