Files
T

4949 lines
241 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 `Projekt` 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 Projekt
*
*/
export type ProjektModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjektPayload>
export type AggregateProjekt = {
_count: ProjektCountAggregateOutputType | null
_avg: ProjektAvgAggregateOutputType | null
_sum: ProjektSumAggregateOutputType | null
_min: ProjektMinAggregateOutputType | null
_max: ProjektMaxAggregateOutputType | null
}
export type ProjektAvgAggregateOutputType = {
potenziellerAuftragswert: runtime.Decimal | null
auftragsvolumen: runtime.Decimal | null
}
export type ProjektSumAggregateOutputType = {
potenziellerAuftragswert: runtime.Decimal | null
auftragsvolumen: runtime.Decimal | null
}
export type ProjektMinAggregateOutputType = {
id: string | null
tenantId: string | null
createdAt: Date | null
updatedAt: Date | null
createdByUserId: string | null
projektNummer: string | null
projektname: string | null
beschreibung: string | null
projekttyp: string | null
quelle: string | null
promotion: string | null
email: string | null
telefon: string | null
fax: string | null
prioritaet: $Enums.ProjektPrioritaet | null
pipelineId: string | null
stageId: string | null
potenziellerAuftragswert: runtime.Decimal | null
auftragsvolumen: runtime.Decimal | null
startDatum: Date | null
deadline: Date | null
zustaendigePersonId: string | null
projektleiterId: string | null
projektAdresseId: string | null
rechnungsAdresseId: string | null
bauherrAdresseId: string | null
konvertiertAusLeadId: string | null
lostReasonId: string | null
wonAt: Date | null
lostAt: Date | null
undoStageChangeUntil: Date | null
redoStageId: string | null
redoLostReasonId: string | null
isDemoData: boolean | null
archivedAt: Date | null
}
export type ProjektMaxAggregateOutputType = {
id: string | null
tenantId: string | null
createdAt: Date | null
updatedAt: Date | null
createdByUserId: string | null
projektNummer: string | null
projektname: string | null
beschreibung: string | null
projekttyp: string | null
quelle: string | null
promotion: string | null
email: string | null
telefon: string | null
fax: string | null
prioritaet: $Enums.ProjektPrioritaet | null
pipelineId: string | null
stageId: string | null
potenziellerAuftragswert: runtime.Decimal | null
auftragsvolumen: runtime.Decimal | null
startDatum: Date | null
deadline: Date | null
zustaendigePersonId: string | null
projektleiterId: string | null
projektAdresseId: string | null
rechnungsAdresseId: string | null
bauherrAdresseId: string | null
konvertiertAusLeadId: string | null
lostReasonId: string | null
wonAt: Date | null
lostAt: Date | null
undoStageChangeUntil: Date | null
redoStageId: string | null
redoLostReasonId: string | null
isDemoData: boolean | null
archivedAt: Date | null
}
export type ProjektCountAggregateOutputType = {
id: number
tenantId: number
createdAt: number
updatedAt: number
createdByUserId: number
projektNummer: number
projektname: number
beschreibung: number
projekttyp: number
quelle: number
promotion: number
email: number
telefon: number
fax: number
prioritaet: number
pipelineId: number
stageId: number
potenziellerAuftragswert: number
auftragsvolumen: number
startDatum: number
deadline: number
zustaendigePersonId: number
projektleiterId: number
projektAdresseId: number
rechnungsAdresseId: number
bauherrAdresseId: number
konvertiertAusLeadId: number
lostReasonId: number
wonAt: number
lostAt: number
undoStageChangeUntil: number
redoStageId: number
redoLostReasonId: number
isDemoData: number
archivedAt: number
_all: number
}
export type ProjektAvgAggregateInputType = {
potenziellerAuftragswert?: true
auftragsvolumen?: true
}
export type ProjektSumAggregateInputType = {
potenziellerAuftragswert?: true
auftragsvolumen?: true
}
export type ProjektMinAggregateInputType = {
id?: true
tenantId?: true
createdAt?: true
updatedAt?: true
createdByUserId?: true
projektNummer?: true
projektname?: true
beschreibung?: true
projekttyp?: true
quelle?: true
promotion?: true
email?: true
telefon?: true
fax?: true
prioritaet?: true
pipelineId?: true
stageId?: true
potenziellerAuftragswert?: true
auftragsvolumen?: true
startDatum?: true
deadline?: true
zustaendigePersonId?: true
projektleiterId?: true
projektAdresseId?: true
rechnungsAdresseId?: true
bauherrAdresseId?: true
konvertiertAusLeadId?: true
lostReasonId?: true
wonAt?: true
lostAt?: true
undoStageChangeUntil?: true
redoStageId?: true
redoLostReasonId?: true
isDemoData?: true
archivedAt?: true
}
export type ProjektMaxAggregateInputType = {
id?: true
tenantId?: true
createdAt?: true
updatedAt?: true
createdByUserId?: true
projektNummer?: true
projektname?: true
beschreibung?: true
projekttyp?: true
quelle?: true
promotion?: true
email?: true
telefon?: true
fax?: true
prioritaet?: true
pipelineId?: true
stageId?: true
potenziellerAuftragswert?: true
auftragsvolumen?: true
startDatum?: true
deadline?: true
zustaendigePersonId?: true
projektleiterId?: true
projektAdresseId?: true
rechnungsAdresseId?: true
bauherrAdresseId?: true
konvertiertAusLeadId?: true
lostReasonId?: true
wonAt?: true
lostAt?: true
undoStageChangeUntil?: true
redoStageId?: true
redoLostReasonId?: true
isDemoData?: true
archivedAt?: true
}
export type ProjektCountAggregateInputType = {
id?: true
tenantId?: true
createdAt?: true
updatedAt?: true
createdByUserId?: true
projektNummer?: true
projektname?: true
beschreibung?: true
projekttyp?: true
quelle?: true
promotion?: true
email?: true
telefon?: true
fax?: true
prioritaet?: true
pipelineId?: true
stageId?: true
potenziellerAuftragswert?: true
auftragsvolumen?: true
startDatum?: true
deadline?: true
zustaendigePersonId?: true
projektleiterId?: true
projektAdresseId?: true
rechnungsAdresseId?: true
bauherrAdresseId?: true
konvertiertAusLeadId?: true
lostReasonId?: true
wonAt?: true
lostAt?: true
undoStageChangeUntil?: true
redoStageId?: true
redoLostReasonId?: true
isDemoData?: true
archivedAt?: true
_all?: true
}
export type ProjektAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which Projekt to aggregate.
*/
where?: Prisma.ProjektWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Projekts to fetch.
*/
orderBy?: Prisma.ProjektOrderByWithRelationInput | Prisma.ProjektOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.ProjektWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Projekts 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` Projekts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned Projekts
**/
_count?: true | ProjektCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: ProjektAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: ProjektSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: ProjektMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: ProjektMaxAggregateInputType
}
export type GetProjektAggregateType<T extends ProjektAggregateArgs> = {
[P in keyof T & keyof AggregateProjekt]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateProjekt[P]>
: Prisma.GetScalarType<T[P], AggregateProjekt[P]>
}
export type ProjektGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ProjektWhereInput
orderBy?: Prisma.ProjektOrderByWithAggregationInput | Prisma.ProjektOrderByWithAggregationInput[]
by: Prisma.ProjektScalarFieldEnum[] | Prisma.ProjektScalarFieldEnum
having?: Prisma.ProjektScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: ProjektCountAggregateInputType | true
_avg?: ProjektAvgAggregateInputType
_sum?: ProjektSumAggregateInputType
_min?: ProjektMinAggregateInputType
_max?: ProjektMaxAggregateInputType
}
export type ProjektGroupByOutputType = {
id: string
tenantId: string
createdAt: Date
updatedAt: Date
createdByUserId: string | null
projektNummer: string
projektname: string
beschreibung: string | null
projekttyp: string | null
quelle: string | null
promotion: string | null
email: string | null
telefon: string | null
fax: string | null
prioritaet: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert: runtime.Decimal | null
auftragsvolumen: runtime.Decimal | null
startDatum: Date | null
deadline: Date | null
zustaendigePersonId: string | null
projektleiterId: string | null
projektAdresseId: string | null
rechnungsAdresseId: string | null
bauherrAdresseId: string | null
konvertiertAusLeadId: string | null
lostReasonId: string | null
wonAt: Date | null
lostAt: Date | null
undoStageChangeUntil: Date | null
redoStageId: string | null
redoLostReasonId: string | null
isDemoData: boolean
archivedAt: Date | null
_count: ProjektCountAggregateOutputType | null
_avg: ProjektAvgAggregateOutputType | null
_sum: ProjektSumAggregateOutputType | null
_min: ProjektMinAggregateOutputType | null
_max: ProjektMaxAggregateOutputType | null
}
export type GetProjektGroupByPayload<T extends ProjektGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<ProjektGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof ProjektGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], ProjektGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], ProjektGroupByOutputType[P]>
}
>
>
export type ProjektWhereInput = {
AND?: Prisma.ProjektWhereInput | Prisma.ProjektWhereInput[]
OR?: Prisma.ProjektWhereInput[]
NOT?: Prisma.ProjektWhereInput | Prisma.ProjektWhereInput[]
id?: Prisma.StringFilter<"Projekt"> | string
tenantId?: Prisma.StringFilter<"Projekt"> | string
createdAt?: Prisma.DateTimeFilter<"Projekt"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"Projekt"> | Date | string
createdByUserId?: Prisma.StringNullableFilter<"Projekt"> | string | null
projektNummer?: Prisma.StringFilter<"Projekt"> | string
projektname?: Prisma.StringFilter<"Projekt"> | string
beschreibung?: Prisma.StringNullableFilter<"Projekt"> | string | null
projekttyp?: Prisma.StringNullableFilter<"Projekt"> | string | null
quelle?: Prisma.StringNullableFilter<"Projekt"> | string | null
promotion?: Prisma.StringNullableFilter<"Projekt"> | string | null
email?: Prisma.StringNullableFilter<"Projekt"> | string | null
telefon?: Prisma.StringNullableFilter<"Projekt"> | string | null
fax?: Prisma.StringNullableFilter<"Projekt"> | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFilter<"Projekt"> | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFilter<"Projekt"> | string
stageId?: Prisma.StringFilter<"Projekt"> | string
potenziellerAuftragswert?: Prisma.DecimalNullableFilter<"Projekt"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.DecimalNullableFilter<"Projekt"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
deadline?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
zustaendigePersonId?: Prisma.StringNullableFilter<"Projekt"> | string | null
projektleiterId?: Prisma.StringNullableFilter<"Projekt"> | string | null
projektAdresseId?: Prisma.StringNullableFilter<"Projekt"> | string | null
rechnungsAdresseId?: Prisma.StringNullableFilter<"Projekt"> | string | null
bauherrAdresseId?: Prisma.StringNullableFilter<"Projekt"> | string | null
konvertiertAusLeadId?: Prisma.StringNullableFilter<"Projekt"> | string | null
lostReasonId?: Prisma.StringNullableFilter<"Projekt"> | string | null
wonAt?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
lostAt?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
undoStageChangeUntil?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
redoStageId?: Prisma.StringNullableFilter<"Projekt"> | string | null
redoLostReasonId?: Prisma.StringNullableFilter<"Projekt"> | string | null
isDemoData?: Prisma.BoolFilter<"Projekt"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
pipeline?: Prisma.XOR<Prisma.PipelineScalarRelationFilter, Prisma.PipelineWhereInput>
stage?: Prisma.XOR<Prisma.PipelineStageScalarRelationFilter, Prisma.PipelineStageWhereInput>
lostReason?: Prisma.XOR<Prisma.LostReasonNullableScalarRelationFilter, Prisma.LostReasonWhereInput> | null
kontakte?: Prisma.ProjektKontaktListRelationFilter
stageChanges?: Prisma.ProjektStageChangeListRelationFilter
mitglieder?: Prisma.ProjektMitgliedListRelationFilter
adressDetails?: Prisma.ProjektAdressDetailListRelationFilter
checklists?: Prisma.ProjektChecklistListRelationFilter
portalAccesses?: Prisma.PortalProjectAccessListRelationFilter
portalDocuments?: Prisma.PortalProjectDocumentListRelationFilter
}
export type ProjektOrderByWithRelationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
projektNummer?: Prisma.SortOrder
projektname?: Prisma.SortOrder
beschreibung?: Prisma.SortOrderInput | Prisma.SortOrder
projekttyp?: Prisma.SortOrderInput | Prisma.SortOrder
quelle?: Prisma.SortOrderInput | Prisma.SortOrder
promotion?: Prisma.SortOrderInput | Prisma.SortOrder
email?: Prisma.SortOrderInput | Prisma.SortOrder
telefon?: Prisma.SortOrderInput | Prisma.SortOrder
fax?: Prisma.SortOrderInput | Prisma.SortOrder
prioritaet?: Prisma.SortOrder
pipelineId?: Prisma.SortOrder
stageId?: Prisma.SortOrder
potenziellerAuftragswert?: Prisma.SortOrderInput | Prisma.SortOrder
auftragsvolumen?: Prisma.SortOrderInput | Prisma.SortOrder
startDatum?: Prisma.SortOrderInput | Prisma.SortOrder
deadline?: Prisma.SortOrderInput | Prisma.SortOrder
zustaendigePersonId?: Prisma.SortOrderInput | Prisma.SortOrder
projektleiterId?: Prisma.SortOrderInput | Prisma.SortOrder
projektAdresseId?: Prisma.SortOrderInput | Prisma.SortOrder
rechnungsAdresseId?: Prisma.SortOrderInput | Prisma.SortOrder
bauherrAdresseId?: Prisma.SortOrderInput | Prisma.SortOrder
konvertiertAusLeadId?: Prisma.SortOrderInput | Prisma.SortOrder
lostReasonId?: Prisma.SortOrderInput | Prisma.SortOrder
wonAt?: Prisma.SortOrderInput | Prisma.SortOrder
lostAt?: Prisma.SortOrderInput | Prisma.SortOrder
undoStageChangeUntil?: Prisma.SortOrderInput | Prisma.SortOrder
redoStageId?: Prisma.SortOrderInput | Prisma.SortOrder
redoLostReasonId?: Prisma.SortOrderInput | Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
pipeline?: Prisma.PipelineOrderByWithRelationInput
stage?: Prisma.PipelineStageOrderByWithRelationInput
lostReason?: Prisma.LostReasonOrderByWithRelationInput
kontakte?: Prisma.ProjektKontaktOrderByRelationAggregateInput
stageChanges?: Prisma.ProjektStageChangeOrderByRelationAggregateInput
mitglieder?: Prisma.ProjektMitgliedOrderByRelationAggregateInput
adressDetails?: Prisma.ProjektAdressDetailOrderByRelationAggregateInput
checklists?: Prisma.ProjektChecklistOrderByRelationAggregateInput
portalAccesses?: Prisma.PortalProjectAccessOrderByRelationAggregateInput
portalDocuments?: Prisma.PortalProjectDocumentOrderByRelationAggregateInput
}
export type ProjektWhereUniqueInput = Prisma.AtLeast<{
id?: string
tenantId_projektNummer?: Prisma.ProjektTenantIdProjektNummerCompoundUniqueInput
id_tenantId?: Prisma.ProjektIdTenantIdCompoundUniqueInput
AND?: Prisma.ProjektWhereInput | Prisma.ProjektWhereInput[]
OR?: Prisma.ProjektWhereInput[]
NOT?: Prisma.ProjektWhereInput | Prisma.ProjektWhereInput[]
tenantId?: Prisma.StringFilter<"Projekt"> | string
createdAt?: Prisma.DateTimeFilter<"Projekt"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"Projekt"> | Date | string
createdByUserId?: Prisma.StringNullableFilter<"Projekt"> | string | null
projektNummer?: Prisma.StringFilter<"Projekt"> | string
projektname?: Prisma.StringFilter<"Projekt"> | string
beschreibung?: Prisma.StringNullableFilter<"Projekt"> | string | null
projekttyp?: Prisma.StringNullableFilter<"Projekt"> | string | null
quelle?: Prisma.StringNullableFilter<"Projekt"> | string | null
promotion?: Prisma.StringNullableFilter<"Projekt"> | string | null
email?: Prisma.StringNullableFilter<"Projekt"> | string | null
telefon?: Prisma.StringNullableFilter<"Projekt"> | string | null
fax?: Prisma.StringNullableFilter<"Projekt"> | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFilter<"Projekt"> | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFilter<"Projekt"> | string
stageId?: Prisma.StringFilter<"Projekt"> | string
potenziellerAuftragswert?: Prisma.DecimalNullableFilter<"Projekt"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.DecimalNullableFilter<"Projekt"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
deadline?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
zustaendigePersonId?: Prisma.StringNullableFilter<"Projekt"> | string | null
projektleiterId?: Prisma.StringNullableFilter<"Projekt"> | string | null
projektAdresseId?: Prisma.StringNullableFilter<"Projekt"> | string | null
rechnungsAdresseId?: Prisma.StringNullableFilter<"Projekt"> | string | null
bauherrAdresseId?: Prisma.StringNullableFilter<"Projekt"> | string | null
konvertiertAusLeadId?: Prisma.StringNullableFilter<"Projekt"> | string | null
lostReasonId?: Prisma.StringNullableFilter<"Projekt"> | string | null
wonAt?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
lostAt?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
undoStageChangeUntil?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
redoStageId?: Prisma.StringNullableFilter<"Projekt"> | string | null
redoLostReasonId?: Prisma.StringNullableFilter<"Projekt"> | string | null
isDemoData?: Prisma.BoolFilter<"Projekt"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
pipeline?: Prisma.XOR<Prisma.PipelineScalarRelationFilter, Prisma.PipelineWhereInput>
stage?: Prisma.XOR<Prisma.PipelineStageScalarRelationFilter, Prisma.PipelineStageWhereInput>
lostReason?: Prisma.XOR<Prisma.LostReasonNullableScalarRelationFilter, Prisma.LostReasonWhereInput> | null
kontakte?: Prisma.ProjektKontaktListRelationFilter
stageChanges?: Prisma.ProjektStageChangeListRelationFilter
mitglieder?: Prisma.ProjektMitgliedListRelationFilter
adressDetails?: Prisma.ProjektAdressDetailListRelationFilter
checklists?: Prisma.ProjektChecklistListRelationFilter
portalAccesses?: Prisma.PortalProjectAccessListRelationFilter
portalDocuments?: Prisma.PortalProjectDocumentListRelationFilter
}, "id" | "tenantId_projektNummer" | "id_tenantId">
export type ProjektOrderByWithAggregationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
projektNummer?: Prisma.SortOrder
projektname?: Prisma.SortOrder
beschreibung?: Prisma.SortOrderInput | Prisma.SortOrder
projekttyp?: Prisma.SortOrderInput | Prisma.SortOrder
quelle?: Prisma.SortOrderInput | Prisma.SortOrder
promotion?: Prisma.SortOrderInput | Prisma.SortOrder
email?: Prisma.SortOrderInput | Prisma.SortOrder
telefon?: Prisma.SortOrderInput | Prisma.SortOrder
fax?: Prisma.SortOrderInput | Prisma.SortOrder
prioritaet?: Prisma.SortOrder
pipelineId?: Prisma.SortOrder
stageId?: Prisma.SortOrder
potenziellerAuftragswert?: Prisma.SortOrderInput | Prisma.SortOrder
auftragsvolumen?: Prisma.SortOrderInput | Prisma.SortOrder
startDatum?: Prisma.SortOrderInput | Prisma.SortOrder
deadline?: Prisma.SortOrderInput | Prisma.SortOrder
zustaendigePersonId?: Prisma.SortOrderInput | Prisma.SortOrder
projektleiterId?: Prisma.SortOrderInput | Prisma.SortOrder
projektAdresseId?: Prisma.SortOrderInput | Prisma.SortOrder
rechnungsAdresseId?: Prisma.SortOrderInput | Prisma.SortOrder
bauherrAdresseId?: Prisma.SortOrderInput | Prisma.SortOrder
konvertiertAusLeadId?: Prisma.SortOrderInput | Prisma.SortOrder
lostReasonId?: Prisma.SortOrderInput | Prisma.SortOrder
wonAt?: Prisma.SortOrderInput | Prisma.SortOrder
lostAt?: Prisma.SortOrderInput | Prisma.SortOrder
undoStageChangeUntil?: Prisma.SortOrderInput | Prisma.SortOrder
redoStageId?: Prisma.SortOrderInput | Prisma.SortOrder
redoLostReasonId?: Prisma.SortOrderInput | Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.ProjektCountOrderByAggregateInput
_avg?: Prisma.ProjektAvgOrderByAggregateInput
_max?: Prisma.ProjektMaxOrderByAggregateInput
_min?: Prisma.ProjektMinOrderByAggregateInput
_sum?: Prisma.ProjektSumOrderByAggregateInput
}
export type ProjektScalarWhereWithAggregatesInput = {
AND?: Prisma.ProjektScalarWhereWithAggregatesInput | Prisma.ProjektScalarWhereWithAggregatesInput[]
OR?: Prisma.ProjektScalarWhereWithAggregatesInput[]
NOT?: Prisma.ProjektScalarWhereWithAggregatesInput | Prisma.ProjektScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"Projekt"> | string
tenantId?: Prisma.StringWithAggregatesFilter<"Projekt"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Projekt"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Projekt"> | Date | string
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
projektNummer?: Prisma.StringWithAggregatesFilter<"Projekt"> | string
projektname?: Prisma.StringWithAggregatesFilter<"Projekt"> | string
beschreibung?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
projekttyp?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
quelle?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
promotion?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
email?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
telefon?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
fax?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
prioritaet?: Prisma.EnumProjektPrioritaetWithAggregatesFilter<"Projekt"> | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringWithAggregatesFilter<"Projekt"> | string
stageId?: Prisma.StringWithAggregatesFilter<"Projekt"> | string
potenziellerAuftragswert?: Prisma.DecimalNullableWithAggregatesFilter<"Projekt"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.DecimalNullableWithAggregatesFilter<"Projekt"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.DateTimeNullableWithAggregatesFilter<"Projekt"> | Date | string | null
deadline?: Prisma.DateTimeNullableWithAggregatesFilter<"Projekt"> | Date | string | null
zustaendigePersonId?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
projektleiterId?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
projektAdresseId?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
rechnungsAdresseId?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
bauherrAdresseId?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
konvertiertAusLeadId?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
lostReasonId?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
wonAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Projekt"> | Date | string | null
lostAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Projekt"> | Date | string | null
undoStageChangeUntil?: Prisma.DateTimeNullableWithAggregatesFilter<"Projekt"> | Date | string | null
redoStageId?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
redoLostReasonId?: Prisma.StringNullableWithAggregatesFilter<"Projekt"> | string | null
isDemoData?: Prisma.BoolWithAggregatesFilter<"Projekt"> | boolean
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Projekt"> | Date | string | null
}
export type ProjektCreateInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
pipeline: Prisma.PipelineCreateNestedOneWithoutProjekteInput
stage: Prisma.PipelineStageCreateNestedOneWithoutProjekteInput
lostReason?: Prisma.LostReasonCreateNestedOneWithoutProjekteInput
kontakte?: Prisma.ProjektKontaktCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeUncheckedCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistUncheckedCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutProjekteNestedInput
stage?: Prisma.PipelineStageUpdateOneRequiredWithoutProjekteNestedInput
lostReason?: Prisma.LostReasonUpdateOneWithoutProjekteNestedInput
kontakte?: Prisma.ProjektKontaktUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUncheckedUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUncheckedUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektCreateManyInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type ProjektUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ProjektUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ProjektScalarRelationFilter = {
is?: Prisma.ProjektWhereInput
isNot?: Prisma.ProjektWhereInput
}
export type ProjektListRelationFilter = {
every?: Prisma.ProjektWhereInput
some?: Prisma.ProjektWhereInput
none?: Prisma.ProjektWhereInput
}
export type ProjektOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type ProjektTenantIdProjektNummerCompoundUniqueInput = {
tenantId: string
projektNummer: string
}
export type ProjektIdTenantIdCompoundUniqueInput = {
id: string
tenantId: string
}
export type ProjektCountOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
projektNummer?: Prisma.SortOrder
projektname?: Prisma.SortOrder
beschreibung?: Prisma.SortOrder
projekttyp?: Prisma.SortOrder
quelle?: Prisma.SortOrder
promotion?: Prisma.SortOrder
email?: Prisma.SortOrder
telefon?: Prisma.SortOrder
fax?: Prisma.SortOrder
prioritaet?: Prisma.SortOrder
pipelineId?: Prisma.SortOrder
stageId?: Prisma.SortOrder
potenziellerAuftragswert?: Prisma.SortOrder
auftragsvolumen?: Prisma.SortOrder
startDatum?: Prisma.SortOrder
deadline?: Prisma.SortOrder
zustaendigePersonId?: Prisma.SortOrder
projektleiterId?: Prisma.SortOrder
projektAdresseId?: Prisma.SortOrder
rechnungsAdresseId?: Prisma.SortOrder
bauherrAdresseId?: Prisma.SortOrder
konvertiertAusLeadId?: Prisma.SortOrder
lostReasonId?: Prisma.SortOrder
wonAt?: Prisma.SortOrder
lostAt?: Prisma.SortOrder
undoStageChangeUntil?: Prisma.SortOrder
redoStageId?: Prisma.SortOrder
redoLostReasonId?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type ProjektAvgOrderByAggregateInput = {
potenziellerAuftragswert?: Prisma.SortOrder
auftragsvolumen?: Prisma.SortOrder
}
export type ProjektMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
projektNummer?: Prisma.SortOrder
projektname?: Prisma.SortOrder
beschreibung?: Prisma.SortOrder
projekttyp?: Prisma.SortOrder
quelle?: Prisma.SortOrder
promotion?: Prisma.SortOrder
email?: Prisma.SortOrder
telefon?: Prisma.SortOrder
fax?: Prisma.SortOrder
prioritaet?: Prisma.SortOrder
pipelineId?: Prisma.SortOrder
stageId?: Prisma.SortOrder
potenziellerAuftragswert?: Prisma.SortOrder
auftragsvolumen?: Prisma.SortOrder
startDatum?: Prisma.SortOrder
deadline?: Prisma.SortOrder
zustaendigePersonId?: Prisma.SortOrder
projektleiterId?: Prisma.SortOrder
projektAdresseId?: Prisma.SortOrder
rechnungsAdresseId?: Prisma.SortOrder
bauherrAdresseId?: Prisma.SortOrder
konvertiertAusLeadId?: Prisma.SortOrder
lostReasonId?: Prisma.SortOrder
wonAt?: Prisma.SortOrder
lostAt?: Prisma.SortOrder
undoStageChangeUntil?: Prisma.SortOrder
redoStageId?: Prisma.SortOrder
redoLostReasonId?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type ProjektMinOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
projektNummer?: Prisma.SortOrder
projektname?: Prisma.SortOrder
beschreibung?: Prisma.SortOrder
projekttyp?: Prisma.SortOrder
quelle?: Prisma.SortOrder
promotion?: Prisma.SortOrder
email?: Prisma.SortOrder
telefon?: Prisma.SortOrder
fax?: Prisma.SortOrder
prioritaet?: Prisma.SortOrder
pipelineId?: Prisma.SortOrder
stageId?: Prisma.SortOrder
potenziellerAuftragswert?: Prisma.SortOrder
auftragsvolumen?: Prisma.SortOrder
startDatum?: Prisma.SortOrder
deadline?: Prisma.SortOrder
zustaendigePersonId?: Prisma.SortOrder
projektleiterId?: Prisma.SortOrder
projektAdresseId?: Prisma.SortOrder
rechnungsAdresseId?: Prisma.SortOrder
bauherrAdresseId?: Prisma.SortOrder
konvertiertAusLeadId?: Prisma.SortOrder
lostReasonId?: Prisma.SortOrder
wonAt?: Prisma.SortOrder
lostAt?: Prisma.SortOrder
undoStageChangeUntil?: Prisma.SortOrder
redoStageId?: Prisma.SortOrder
redoLostReasonId?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type ProjektSumOrderByAggregateInput = {
potenziellerAuftragswert?: Prisma.SortOrder
auftragsvolumen?: Prisma.SortOrder
}
export type ProjektCreateNestedOneWithoutMitgliederInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutMitgliederInput, Prisma.ProjektUncheckedCreateWithoutMitgliederInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutMitgliederInput
connect?: Prisma.ProjektWhereUniqueInput
}
export type ProjektUpdateOneRequiredWithoutMitgliederNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutMitgliederInput, Prisma.ProjektUncheckedCreateWithoutMitgliederInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutMitgliederInput
upsert?: Prisma.ProjektUpsertWithoutMitgliederInput
connect?: Prisma.ProjektWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.ProjektUpdateToOneWithWhereWithoutMitgliederInput, Prisma.ProjektUpdateWithoutMitgliederInput>, Prisma.ProjektUncheckedUpdateWithoutMitgliederInput>
}
export type ProjektCreateNestedOneWithoutChecklistsInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutChecklistsInput, Prisma.ProjektUncheckedCreateWithoutChecklistsInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutChecklistsInput
connect?: Prisma.ProjektWhereUniqueInput
}
export type ProjektUpdateOneRequiredWithoutChecklistsNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutChecklistsInput, Prisma.ProjektUncheckedCreateWithoutChecklistsInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutChecklistsInput
upsert?: Prisma.ProjektUpsertWithoutChecklistsInput
connect?: Prisma.ProjektWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.ProjektUpdateToOneWithWhereWithoutChecklistsInput, Prisma.ProjektUpdateWithoutChecklistsInput>, Prisma.ProjektUncheckedUpdateWithoutChecklistsInput>
}
export type ProjektCreateNestedOneWithoutPortalAccessesInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutPortalAccessesInput, Prisma.ProjektUncheckedCreateWithoutPortalAccessesInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutPortalAccessesInput
connect?: Prisma.ProjektWhereUniqueInput
}
export type ProjektUpdateOneRequiredWithoutPortalAccessesNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutPortalAccessesInput, Prisma.ProjektUncheckedCreateWithoutPortalAccessesInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutPortalAccessesInput
upsert?: Prisma.ProjektUpsertWithoutPortalAccessesInput
connect?: Prisma.ProjektWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.ProjektUpdateToOneWithWhereWithoutPortalAccessesInput, Prisma.ProjektUpdateWithoutPortalAccessesInput>, Prisma.ProjektUncheckedUpdateWithoutPortalAccessesInput>
}
export type ProjektCreateNestedOneWithoutPortalDocumentsInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutPortalDocumentsInput, Prisma.ProjektUncheckedCreateWithoutPortalDocumentsInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutPortalDocumentsInput
connect?: Prisma.ProjektWhereUniqueInput
}
export type ProjektUpdateOneRequiredWithoutPortalDocumentsNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutPortalDocumentsInput, Prisma.ProjektUncheckedCreateWithoutPortalDocumentsInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutPortalDocumentsInput
upsert?: Prisma.ProjektUpsertWithoutPortalDocumentsInput
connect?: Prisma.ProjektWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.ProjektUpdateToOneWithWhereWithoutPortalDocumentsInput, Prisma.ProjektUpdateWithoutPortalDocumentsInput>, Prisma.ProjektUncheckedUpdateWithoutPortalDocumentsInput>
}
export type ProjektCreateNestedManyWithoutPipelineInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutPipelineInput, Prisma.ProjektUncheckedCreateWithoutPipelineInput> | Prisma.ProjektCreateWithoutPipelineInput[] | Prisma.ProjektUncheckedCreateWithoutPipelineInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutPipelineInput | Prisma.ProjektCreateOrConnectWithoutPipelineInput[]
createMany?: Prisma.ProjektCreateManyPipelineInputEnvelope
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
}
export type ProjektUncheckedCreateNestedManyWithoutPipelineInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutPipelineInput, Prisma.ProjektUncheckedCreateWithoutPipelineInput> | Prisma.ProjektCreateWithoutPipelineInput[] | Prisma.ProjektUncheckedCreateWithoutPipelineInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutPipelineInput | Prisma.ProjektCreateOrConnectWithoutPipelineInput[]
createMany?: Prisma.ProjektCreateManyPipelineInputEnvelope
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
}
export type ProjektUpdateManyWithoutPipelineNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutPipelineInput, Prisma.ProjektUncheckedCreateWithoutPipelineInput> | Prisma.ProjektCreateWithoutPipelineInput[] | Prisma.ProjektUncheckedCreateWithoutPipelineInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutPipelineInput | Prisma.ProjektCreateOrConnectWithoutPipelineInput[]
upsert?: Prisma.ProjektUpsertWithWhereUniqueWithoutPipelineInput | Prisma.ProjektUpsertWithWhereUniqueWithoutPipelineInput[]
createMany?: Prisma.ProjektCreateManyPipelineInputEnvelope
set?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
disconnect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
delete?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
update?: Prisma.ProjektUpdateWithWhereUniqueWithoutPipelineInput | Prisma.ProjektUpdateWithWhereUniqueWithoutPipelineInput[]
updateMany?: Prisma.ProjektUpdateManyWithWhereWithoutPipelineInput | Prisma.ProjektUpdateManyWithWhereWithoutPipelineInput[]
deleteMany?: Prisma.ProjektScalarWhereInput | Prisma.ProjektScalarWhereInput[]
}
export type ProjektUncheckedUpdateManyWithoutPipelineNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutPipelineInput, Prisma.ProjektUncheckedCreateWithoutPipelineInput> | Prisma.ProjektCreateWithoutPipelineInput[] | Prisma.ProjektUncheckedCreateWithoutPipelineInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutPipelineInput | Prisma.ProjektCreateOrConnectWithoutPipelineInput[]
upsert?: Prisma.ProjektUpsertWithWhereUniqueWithoutPipelineInput | Prisma.ProjektUpsertWithWhereUniqueWithoutPipelineInput[]
createMany?: Prisma.ProjektCreateManyPipelineInputEnvelope
set?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
disconnect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
delete?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
update?: Prisma.ProjektUpdateWithWhereUniqueWithoutPipelineInput | Prisma.ProjektUpdateWithWhereUniqueWithoutPipelineInput[]
updateMany?: Prisma.ProjektUpdateManyWithWhereWithoutPipelineInput | Prisma.ProjektUpdateManyWithWhereWithoutPipelineInput[]
deleteMany?: Prisma.ProjektScalarWhereInput | Prisma.ProjektScalarWhereInput[]
}
export type ProjektCreateNestedManyWithoutStageInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutStageInput, Prisma.ProjektUncheckedCreateWithoutStageInput> | Prisma.ProjektCreateWithoutStageInput[] | Prisma.ProjektUncheckedCreateWithoutStageInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutStageInput | Prisma.ProjektCreateOrConnectWithoutStageInput[]
createMany?: Prisma.ProjektCreateManyStageInputEnvelope
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
}
export type ProjektUncheckedCreateNestedManyWithoutStageInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutStageInput, Prisma.ProjektUncheckedCreateWithoutStageInput> | Prisma.ProjektCreateWithoutStageInput[] | Prisma.ProjektUncheckedCreateWithoutStageInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutStageInput | Prisma.ProjektCreateOrConnectWithoutStageInput[]
createMany?: Prisma.ProjektCreateManyStageInputEnvelope
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
}
export type ProjektUpdateManyWithoutStageNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutStageInput, Prisma.ProjektUncheckedCreateWithoutStageInput> | Prisma.ProjektCreateWithoutStageInput[] | Prisma.ProjektUncheckedCreateWithoutStageInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutStageInput | Prisma.ProjektCreateOrConnectWithoutStageInput[]
upsert?: Prisma.ProjektUpsertWithWhereUniqueWithoutStageInput | Prisma.ProjektUpsertWithWhereUniqueWithoutStageInput[]
createMany?: Prisma.ProjektCreateManyStageInputEnvelope
set?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
disconnect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
delete?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
update?: Prisma.ProjektUpdateWithWhereUniqueWithoutStageInput | Prisma.ProjektUpdateWithWhereUniqueWithoutStageInput[]
updateMany?: Prisma.ProjektUpdateManyWithWhereWithoutStageInput | Prisma.ProjektUpdateManyWithWhereWithoutStageInput[]
deleteMany?: Prisma.ProjektScalarWhereInput | Prisma.ProjektScalarWhereInput[]
}
export type ProjektUncheckedUpdateManyWithoutStageNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutStageInput, Prisma.ProjektUncheckedCreateWithoutStageInput> | Prisma.ProjektCreateWithoutStageInput[] | Prisma.ProjektUncheckedCreateWithoutStageInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutStageInput | Prisma.ProjektCreateOrConnectWithoutStageInput[]
upsert?: Prisma.ProjektUpsertWithWhereUniqueWithoutStageInput | Prisma.ProjektUpsertWithWhereUniqueWithoutStageInput[]
createMany?: Prisma.ProjektCreateManyStageInputEnvelope
set?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
disconnect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
delete?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
update?: Prisma.ProjektUpdateWithWhereUniqueWithoutStageInput | Prisma.ProjektUpdateWithWhereUniqueWithoutStageInput[]
updateMany?: Prisma.ProjektUpdateManyWithWhereWithoutStageInput | Prisma.ProjektUpdateManyWithWhereWithoutStageInput[]
deleteMany?: Prisma.ProjektScalarWhereInput | Prisma.ProjektScalarWhereInput[]
}
export type ProjektCreateNestedManyWithoutLostReasonInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutLostReasonInput, Prisma.ProjektUncheckedCreateWithoutLostReasonInput> | Prisma.ProjektCreateWithoutLostReasonInput[] | Prisma.ProjektUncheckedCreateWithoutLostReasonInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutLostReasonInput | Prisma.ProjektCreateOrConnectWithoutLostReasonInput[]
createMany?: Prisma.ProjektCreateManyLostReasonInputEnvelope
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
}
export type ProjektUncheckedCreateNestedManyWithoutLostReasonInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutLostReasonInput, Prisma.ProjektUncheckedCreateWithoutLostReasonInput> | Prisma.ProjektCreateWithoutLostReasonInput[] | Prisma.ProjektUncheckedCreateWithoutLostReasonInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutLostReasonInput | Prisma.ProjektCreateOrConnectWithoutLostReasonInput[]
createMany?: Prisma.ProjektCreateManyLostReasonInputEnvelope
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
}
export type ProjektUpdateManyWithoutLostReasonNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutLostReasonInput, Prisma.ProjektUncheckedCreateWithoutLostReasonInput> | Prisma.ProjektCreateWithoutLostReasonInput[] | Prisma.ProjektUncheckedCreateWithoutLostReasonInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutLostReasonInput | Prisma.ProjektCreateOrConnectWithoutLostReasonInput[]
upsert?: Prisma.ProjektUpsertWithWhereUniqueWithoutLostReasonInput | Prisma.ProjektUpsertWithWhereUniqueWithoutLostReasonInput[]
createMany?: Prisma.ProjektCreateManyLostReasonInputEnvelope
set?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
disconnect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
delete?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
update?: Prisma.ProjektUpdateWithWhereUniqueWithoutLostReasonInput | Prisma.ProjektUpdateWithWhereUniqueWithoutLostReasonInput[]
updateMany?: Prisma.ProjektUpdateManyWithWhereWithoutLostReasonInput | Prisma.ProjektUpdateManyWithWhereWithoutLostReasonInput[]
deleteMany?: Prisma.ProjektScalarWhereInput | Prisma.ProjektScalarWhereInput[]
}
export type ProjektUncheckedUpdateManyWithoutLostReasonNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutLostReasonInput, Prisma.ProjektUncheckedCreateWithoutLostReasonInput> | Prisma.ProjektCreateWithoutLostReasonInput[] | Prisma.ProjektUncheckedCreateWithoutLostReasonInput[]
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutLostReasonInput | Prisma.ProjektCreateOrConnectWithoutLostReasonInput[]
upsert?: Prisma.ProjektUpsertWithWhereUniqueWithoutLostReasonInput | Prisma.ProjektUpsertWithWhereUniqueWithoutLostReasonInput[]
createMany?: Prisma.ProjektCreateManyLostReasonInputEnvelope
set?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
disconnect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
delete?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
connect?: Prisma.ProjektWhereUniqueInput | Prisma.ProjektWhereUniqueInput[]
update?: Prisma.ProjektUpdateWithWhereUniqueWithoutLostReasonInput | Prisma.ProjektUpdateWithWhereUniqueWithoutLostReasonInput[]
updateMany?: Prisma.ProjektUpdateManyWithWhereWithoutLostReasonInput | Prisma.ProjektUpdateManyWithWhereWithoutLostReasonInput[]
deleteMany?: Prisma.ProjektScalarWhereInput | Prisma.ProjektScalarWhereInput[]
}
export type EnumProjektPrioritaetFieldUpdateOperationsInput = {
set?: $Enums.ProjektPrioritaet
}
export type ProjektCreateNestedOneWithoutStageChangesInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutStageChangesInput, Prisma.ProjektUncheckedCreateWithoutStageChangesInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutStageChangesInput
connect?: Prisma.ProjektWhereUniqueInput
}
export type ProjektUpdateOneRequiredWithoutStageChangesNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutStageChangesInput, Prisma.ProjektUncheckedCreateWithoutStageChangesInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutStageChangesInput
upsert?: Prisma.ProjektUpsertWithoutStageChangesInput
connect?: Prisma.ProjektWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.ProjektUpdateToOneWithWhereWithoutStageChangesInput, Prisma.ProjektUpdateWithoutStageChangesInput>, Prisma.ProjektUncheckedUpdateWithoutStageChangesInput>
}
export type ProjektCreateNestedOneWithoutKontakteInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutKontakteInput, Prisma.ProjektUncheckedCreateWithoutKontakteInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutKontakteInput
connect?: Prisma.ProjektWhereUniqueInput
}
export type ProjektUpdateOneRequiredWithoutKontakteNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutKontakteInput, Prisma.ProjektUncheckedCreateWithoutKontakteInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutKontakteInput
upsert?: Prisma.ProjektUpsertWithoutKontakteInput
connect?: Prisma.ProjektWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.ProjektUpdateToOneWithWhereWithoutKontakteInput, Prisma.ProjektUpdateWithoutKontakteInput>, Prisma.ProjektUncheckedUpdateWithoutKontakteInput>
}
export type ProjektCreateNestedOneWithoutAdressDetailsInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutAdressDetailsInput, Prisma.ProjektUncheckedCreateWithoutAdressDetailsInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutAdressDetailsInput
connect?: Prisma.ProjektWhereUniqueInput
}
export type ProjektUpdateOneRequiredWithoutAdressDetailsNestedInput = {
create?: Prisma.XOR<Prisma.ProjektCreateWithoutAdressDetailsInput, Prisma.ProjektUncheckedCreateWithoutAdressDetailsInput>
connectOrCreate?: Prisma.ProjektCreateOrConnectWithoutAdressDetailsInput
upsert?: Prisma.ProjektUpsertWithoutAdressDetailsInput
connect?: Prisma.ProjektWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.ProjektUpdateToOneWithWhereWithoutAdressDetailsInput, Prisma.ProjektUpdateWithoutAdressDetailsInput>, Prisma.ProjektUncheckedUpdateWithoutAdressDetailsInput>
}
export type ProjektCreateWithoutMitgliederInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
pipeline: Prisma.PipelineCreateNestedOneWithoutProjekteInput
stage: Prisma.PipelineStageCreateNestedOneWithoutProjekteInput
lostReason?: Prisma.LostReasonCreateNestedOneWithoutProjekteInput
kontakte?: Prisma.ProjektKontaktCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateWithoutMitgliederInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeUncheckedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistUncheckedCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektCreateOrConnectWithoutMitgliederInput = {
where: Prisma.ProjektWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektCreateWithoutMitgliederInput, Prisma.ProjektUncheckedCreateWithoutMitgliederInput>
}
export type ProjektUpsertWithoutMitgliederInput = {
update: Prisma.XOR<Prisma.ProjektUpdateWithoutMitgliederInput, Prisma.ProjektUncheckedUpdateWithoutMitgliederInput>
create: Prisma.XOR<Prisma.ProjektCreateWithoutMitgliederInput, Prisma.ProjektUncheckedCreateWithoutMitgliederInput>
where?: Prisma.ProjektWhereInput
}
export type ProjektUpdateToOneWithWhereWithoutMitgliederInput = {
where?: Prisma.ProjektWhereInput
data: Prisma.XOR<Prisma.ProjektUpdateWithoutMitgliederInput, Prisma.ProjektUncheckedUpdateWithoutMitgliederInput>
}
export type ProjektUpdateWithoutMitgliederInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutProjekteNestedInput
stage?: Prisma.PipelineStageUpdateOneRequiredWithoutProjekteNestedInput
lostReason?: Prisma.LostReasonUpdateOneWithoutProjekteNestedInput
kontakte?: Prisma.ProjektKontaktUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateWithoutMitgliederInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUncheckedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUncheckedUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektCreateWithoutChecklistsInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
pipeline: Prisma.PipelineCreateNestedOneWithoutProjekteInput
stage: Prisma.PipelineStageCreateNestedOneWithoutProjekteInput
lostReason?: Prisma.LostReasonCreateNestedOneWithoutProjekteInput
kontakte?: Prisma.ProjektKontaktCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateWithoutChecklistsInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeUncheckedCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektCreateOrConnectWithoutChecklistsInput = {
where: Prisma.ProjektWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektCreateWithoutChecklistsInput, Prisma.ProjektUncheckedCreateWithoutChecklistsInput>
}
export type ProjektUpsertWithoutChecklistsInput = {
update: Prisma.XOR<Prisma.ProjektUpdateWithoutChecklistsInput, Prisma.ProjektUncheckedUpdateWithoutChecklistsInput>
create: Prisma.XOR<Prisma.ProjektCreateWithoutChecklistsInput, Prisma.ProjektUncheckedCreateWithoutChecklistsInput>
where?: Prisma.ProjektWhereInput
}
export type ProjektUpdateToOneWithWhereWithoutChecklistsInput = {
where?: Prisma.ProjektWhereInput
data: Prisma.XOR<Prisma.ProjektUpdateWithoutChecklistsInput, Prisma.ProjektUncheckedUpdateWithoutChecklistsInput>
}
export type ProjektUpdateWithoutChecklistsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutProjekteNestedInput
stage?: Prisma.PipelineStageUpdateOneRequiredWithoutProjekteNestedInput
lostReason?: Prisma.LostReasonUpdateOneWithoutProjekteNestedInput
kontakte?: Prisma.ProjektKontaktUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateWithoutChecklistsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUncheckedUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektCreateWithoutPortalAccessesInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
pipeline: Prisma.PipelineCreateNestedOneWithoutProjekteInput
stage: Prisma.PipelineStageCreateNestedOneWithoutProjekteInput
lostReason?: Prisma.LostReasonCreateNestedOneWithoutProjekteInput
kontakte?: Prisma.ProjektKontaktCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistCreateNestedManyWithoutProjektInput
portalDocuments?: Prisma.PortalProjectDocumentCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateWithoutPortalAccessesInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeUncheckedCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistUncheckedCreateNestedManyWithoutProjektInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektCreateOrConnectWithoutPortalAccessesInput = {
where: Prisma.ProjektWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektCreateWithoutPortalAccessesInput, Prisma.ProjektUncheckedCreateWithoutPortalAccessesInput>
}
export type ProjektUpsertWithoutPortalAccessesInput = {
update: Prisma.XOR<Prisma.ProjektUpdateWithoutPortalAccessesInput, Prisma.ProjektUncheckedUpdateWithoutPortalAccessesInput>
create: Prisma.XOR<Prisma.ProjektCreateWithoutPortalAccessesInput, Prisma.ProjektUncheckedCreateWithoutPortalAccessesInput>
where?: Prisma.ProjektWhereInput
}
export type ProjektUpdateToOneWithWhereWithoutPortalAccessesInput = {
where?: Prisma.ProjektWhereInput
data: Prisma.XOR<Prisma.ProjektUpdateWithoutPortalAccessesInput, Prisma.ProjektUncheckedUpdateWithoutPortalAccessesInput>
}
export type ProjektUpdateWithoutPortalAccessesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutProjekteNestedInput
stage?: Prisma.PipelineStageUpdateOneRequiredWithoutProjekteNestedInput
lostReason?: Prisma.LostReasonUpdateOneWithoutProjekteNestedInput
kontakte?: Prisma.ProjektKontaktUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUpdateManyWithoutProjektNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateWithoutPortalAccessesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUncheckedUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUncheckedUpdateManyWithoutProjektNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektCreateWithoutPortalDocumentsInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
pipeline: Prisma.PipelineCreateNestedOneWithoutProjekteInput
stage: Prisma.PipelineStageCreateNestedOneWithoutProjekteInput
lostReason?: Prisma.LostReasonCreateNestedOneWithoutProjekteInput
kontakte?: Prisma.ProjektKontaktCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateWithoutPortalDocumentsInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeUncheckedCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistUncheckedCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektCreateOrConnectWithoutPortalDocumentsInput = {
where: Prisma.ProjektWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektCreateWithoutPortalDocumentsInput, Prisma.ProjektUncheckedCreateWithoutPortalDocumentsInput>
}
export type ProjektUpsertWithoutPortalDocumentsInput = {
update: Prisma.XOR<Prisma.ProjektUpdateWithoutPortalDocumentsInput, Prisma.ProjektUncheckedUpdateWithoutPortalDocumentsInput>
create: Prisma.XOR<Prisma.ProjektCreateWithoutPortalDocumentsInput, Prisma.ProjektUncheckedCreateWithoutPortalDocumentsInput>
where?: Prisma.ProjektWhereInput
}
export type ProjektUpdateToOneWithWhereWithoutPortalDocumentsInput = {
where?: Prisma.ProjektWhereInput
data: Prisma.XOR<Prisma.ProjektUpdateWithoutPortalDocumentsInput, Prisma.ProjektUncheckedUpdateWithoutPortalDocumentsInput>
}
export type ProjektUpdateWithoutPortalDocumentsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutProjekteNestedInput
stage?: Prisma.PipelineStageUpdateOneRequiredWithoutProjekteNestedInput
lostReason?: Prisma.LostReasonUpdateOneWithoutProjekteNestedInput
kontakte?: Prisma.ProjektKontaktUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateWithoutPortalDocumentsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUncheckedUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUncheckedUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektCreateWithoutPipelineInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
stage: Prisma.PipelineStageCreateNestedOneWithoutProjekteInput
lostReason?: Prisma.LostReasonCreateNestedOneWithoutProjekteInput
kontakte?: Prisma.ProjektKontaktCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateWithoutPipelineInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeUncheckedCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistUncheckedCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektCreateOrConnectWithoutPipelineInput = {
where: Prisma.ProjektWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektCreateWithoutPipelineInput, Prisma.ProjektUncheckedCreateWithoutPipelineInput>
}
export type ProjektCreateManyPipelineInputEnvelope = {
data: Prisma.ProjektCreateManyPipelineInput | Prisma.ProjektCreateManyPipelineInput[]
skipDuplicates?: boolean
}
export type ProjektUpsertWithWhereUniqueWithoutPipelineInput = {
where: Prisma.ProjektWhereUniqueInput
update: Prisma.XOR<Prisma.ProjektUpdateWithoutPipelineInput, Prisma.ProjektUncheckedUpdateWithoutPipelineInput>
create: Prisma.XOR<Prisma.ProjektCreateWithoutPipelineInput, Prisma.ProjektUncheckedCreateWithoutPipelineInput>
}
export type ProjektUpdateWithWhereUniqueWithoutPipelineInput = {
where: Prisma.ProjektWhereUniqueInput
data: Prisma.XOR<Prisma.ProjektUpdateWithoutPipelineInput, Prisma.ProjektUncheckedUpdateWithoutPipelineInput>
}
export type ProjektUpdateManyWithWhereWithoutPipelineInput = {
where: Prisma.ProjektScalarWhereInput
data: Prisma.XOR<Prisma.ProjektUpdateManyMutationInput, Prisma.ProjektUncheckedUpdateManyWithoutPipelineInput>
}
export type ProjektScalarWhereInput = {
AND?: Prisma.ProjektScalarWhereInput | Prisma.ProjektScalarWhereInput[]
OR?: Prisma.ProjektScalarWhereInput[]
NOT?: Prisma.ProjektScalarWhereInput | Prisma.ProjektScalarWhereInput[]
id?: Prisma.StringFilter<"Projekt"> | string
tenantId?: Prisma.StringFilter<"Projekt"> | string
createdAt?: Prisma.DateTimeFilter<"Projekt"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"Projekt"> | Date | string
createdByUserId?: Prisma.StringNullableFilter<"Projekt"> | string | null
projektNummer?: Prisma.StringFilter<"Projekt"> | string
projektname?: Prisma.StringFilter<"Projekt"> | string
beschreibung?: Prisma.StringNullableFilter<"Projekt"> | string | null
projekttyp?: Prisma.StringNullableFilter<"Projekt"> | string | null
quelle?: Prisma.StringNullableFilter<"Projekt"> | string | null
promotion?: Prisma.StringNullableFilter<"Projekt"> | string | null
email?: Prisma.StringNullableFilter<"Projekt"> | string | null
telefon?: Prisma.StringNullableFilter<"Projekt"> | string | null
fax?: Prisma.StringNullableFilter<"Projekt"> | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFilter<"Projekt"> | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFilter<"Projekt"> | string
stageId?: Prisma.StringFilter<"Projekt"> | string
potenziellerAuftragswert?: Prisma.DecimalNullableFilter<"Projekt"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.DecimalNullableFilter<"Projekt"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
deadline?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
zustaendigePersonId?: Prisma.StringNullableFilter<"Projekt"> | string | null
projektleiterId?: Prisma.StringNullableFilter<"Projekt"> | string | null
projektAdresseId?: Prisma.StringNullableFilter<"Projekt"> | string | null
rechnungsAdresseId?: Prisma.StringNullableFilter<"Projekt"> | string | null
bauherrAdresseId?: Prisma.StringNullableFilter<"Projekt"> | string | null
konvertiertAusLeadId?: Prisma.StringNullableFilter<"Projekt"> | string | null
lostReasonId?: Prisma.StringNullableFilter<"Projekt"> | string | null
wonAt?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
lostAt?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
undoStageChangeUntil?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
redoStageId?: Prisma.StringNullableFilter<"Projekt"> | string | null
redoLostReasonId?: Prisma.StringNullableFilter<"Projekt"> | string | null
isDemoData?: Prisma.BoolFilter<"Projekt"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"Projekt"> | Date | string | null
}
export type ProjektCreateWithoutStageInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
pipeline: Prisma.PipelineCreateNestedOneWithoutProjekteInput
lostReason?: Prisma.LostReasonCreateNestedOneWithoutProjekteInput
kontakte?: Prisma.ProjektKontaktCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateWithoutStageInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeUncheckedCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistUncheckedCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektCreateOrConnectWithoutStageInput = {
where: Prisma.ProjektWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektCreateWithoutStageInput, Prisma.ProjektUncheckedCreateWithoutStageInput>
}
export type ProjektCreateManyStageInputEnvelope = {
data: Prisma.ProjektCreateManyStageInput | Prisma.ProjektCreateManyStageInput[]
skipDuplicates?: boolean
}
export type ProjektUpsertWithWhereUniqueWithoutStageInput = {
where: Prisma.ProjektWhereUniqueInput
update: Prisma.XOR<Prisma.ProjektUpdateWithoutStageInput, Prisma.ProjektUncheckedUpdateWithoutStageInput>
create: Prisma.XOR<Prisma.ProjektCreateWithoutStageInput, Prisma.ProjektUncheckedCreateWithoutStageInput>
}
export type ProjektUpdateWithWhereUniqueWithoutStageInput = {
where: Prisma.ProjektWhereUniqueInput
data: Prisma.XOR<Prisma.ProjektUpdateWithoutStageInput, Prisma.ProjektUncheckedUpdateWithoutStageInput>
}
export type ProjektUpdateManyWithWhereWithoutStageInput = {
where: Prisma.ProjektScalarWhereInput
data: Prisma.XOR<Prisma.ProjektUpdateManyMutationInput, Prisma.ProjektUncheckedUpdateManyWithoutStageInput>
}
export type ProjektCreateWithoutLostReasonInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
pipeline: Prisma.PipelineCreateNestedOneWithoutProjekteInput
stage: Prisma.PipelineStageCreateNestedOneWithoutProjekteInput
kontakte?: Prisma.ProjektKontaktCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateWithoutLostReasonInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeUncheckedCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistUncheckedCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektCreateOrConnectWithoutLostReasonInput = {
where: Prisma.ProjektWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektCreateWithoutLostReasonInput, Prisma.ProjektUncheckedCreateWithoutLostReasonInput>
}
export type ProjektCreateManyLostReasonInputEnvelope = {
data: Prisma.ProjektCreateManyLostReasonInput | Prisma.ProjektCreateManyLostReasonInput[]
skipDuplicates?: boolean
}
export type ProjektUpsertWithWhereUniqueWithoutLostReasonInput = {
where: Prisma.ProjektWhereUniqueInput
update: Prisma.XOR<Prisma.ProjektUpdateWithoutLostReasonInput, Prisma.ProjektUncheckedUpdateWithoutLostReasonInput>
create: Prisma.XOR<Prisma.ProjektCreateWithoutLostReasonInput, Prisma.ProjektUncheckedCreateWithoutLostReasonInput>
}
export type ProjektUpdateWithWhereUniqueWithoutLostReasonInput = {
where: Prisma.ProjektWhereUniqueInput
data: Prisma.XOR<Prisma.ProjektUpdateWithoutLostReasonInput, Prisma.ProjektUncheckedUpdateWithoutLostReasonInput>
}
export type ProjektUpdateManyWithWhereWithoutLostReasonInput = {
where: Prisma.ProjektScalarWhereInput
data: Prisma.XOR<Prisma.ProjektUpdateManyMutationInput, Prisma.ProjektUncheckedUpdateManyWithoutLostReasonInput>
}
export type ProjektCreateWithoutStageChangesInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
pipeline: Prisma.PipelineCreateNestedOneWithoutProjekteInput
stage: Prisma.PipelineStageCreateNestedOneWithoutProjekteInput
lostReason?: Prisma.LostReasonCreateNestedOneWithoutProjekteInput
kontakte?: Prisma.ProjektKontaktCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateWithoutStageChangesInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistUncheckedCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektCreateOrConnectWithoutStageChangesInput = {
where: Prisma.ProjektWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektCreateWithoutStageChangesInput, Prisma.ProjektUncheckedCreateWithoutStageChangesInput>
}
export type ProjektUpsertWithoutStageChangesInput = {
update: Prisma.XOR<Prisma.ProjektUpdateWithoutStageChangesInput, Prisma.ProjektUncheckedUpdateWithoutStageChangesInput>
create: Prisma.XOR<Prisma.ProjektCreateWithoutStageChangesInput, Prisma.ProjektUncheckedCreateWithoutStageChangesInput>
where?: Prisma.ProjektWhereInput
}
export type ProjektUpdateToOneWithWhereWithoutStageChangesInput = {
where?: Prisma.ProjektWhereInput
data: Prisma.XOR<Prisma.ProjektUpdateWithoutStageChangesInput, Prisma.ProjektUncheckedUpdateWithoutStageChangesInput>
}
export type ProjektUpdateWithoutStageChangesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutProjekteNestedInput
stage?: Prisma.PipelineStageUpdateOneRequiredWithoutProjekteNestedInput
lostReason?: Prisma.LostReasonUpdateOneWithoutProjekteNestedInput
kontakte?: Prisma.ProjektKontaktUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateWithoutStageChangesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUncheckedUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektCreateWithoutKontakteInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
pipeline: Prisma.PipelineCreateNestedOneWithoutProjekteInput
stage: Prisma.PipelineStageCreateNestedOneWithoutProjekteInput
lostReason?: Prisma.LostReasonCreateNestedOneWithoutProjekteInput
stageChanges?: Prisma.ProjektStageChangeCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateWithoutKontakteInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
stageChanges?: Prisma.ProjektStageChangeUncheckedCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistUncheckedCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektCreateOrConnectWithoutKontakteInput = {
where: Prisma.ProjektWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektCreateWithoutKontakteInput, Prisma.ProjektUncheckedCreateWithoutKontakteInput>
}
export type ProjektUpsertWithoutKontakteInput = {
update: Prisma.XOR<Prisma.ProjektUpdateWithoutKontakteInput, Prisma.ProjektUncheckedUpdateWithoutKontakteInput>
create: Prisma.XOR<Prisma.ProjektCreateWithoutKontakteInput, Prisma.ProjektUncheckedCreateWithoutKontakteInput>
where?: Prisma.ProjektWhereInput
}
export type ProjektUpdateToOneWithWhereWithoutKontakteInput = {
where?: Prisma.ProjektWhereInput
data: Prisma.XOR<Prisma.ProjektUpdateWithoutKontakteInput, Prisma.ProjektUncheckedUpdateWithoutKontakteInput>
}
export type ProjektUpdateWithoutKontakteInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutProjekteNestedInput
stage?: Prisma.PipelineStageUpdateOneRequiredWithoutProjekteNestedInput
lostReason?: Prisma.LostReasonUpdateOneWithoutProjekteNestedInput
stageChanges?: Prisma.ProjektStageChangeUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateWithoutKontakteInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
stageChanges?: Prisma.ProjektStageChangeUncheckedUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUncheckedUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektCreateWithoutAdressDetailsInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
pipeline: Prisma.PipelineCreateNestedOneWithoutProjekteInput
stage: Prisma.PipelineStageCreateNestedOneWithoutProjekteInput
lostReason?: Prisma.LostReasonCreateNestedOneWithoutProjekteInput
kontakte?: Prisma.ProjektKontaktCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentCreateNestedManyWithoutProjectInput
}
export type ProjektUncheckedCreateWithoutAdressDetailsInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput
stageChanges?: Prisma.ProjektStageChangeUncheckedCreateNestedManyWithoutProjektInput
mitglieder?: Prisma.ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput
checklists?: Prisma.ProjektChecklistUncheckedCreateNestedManyWithoutProjektInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedCreateNestedManyWithoutProjectInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedCreateNestedManyWithoutProjectInput
}
export type ProjektCreateOrConnectWithoutAdressDetailsInput = {
where: Prisma.ProjektWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektCreateWithoutAdressDetailsInput, Prisma.ProjektUncheckedCreateWithoutAdressDetailsInput>
}
export type ProjektUpsertWithoutAdressDetailsInput = {
update: Prisma.XOR<Prisma.ProjektUpdateWithoutAdressDetailsInput, Prisma.ProjektUncheckedUpdateWithoutAdressDetailsInput>
create: Prisma.XOR<Prisma.ProjektCreateWithoutAdressDetailsInput, Prisma.ProjektUncheckedCreateWithoutAdressDetailsInput>
where?: Prisma.ProjektWhereInput
}
export type ProjektUpdateToOneWithWhereWithoutAdressDetailsInput = {
where?: Prisma.ProjektWhereInput
data: Prisma.XOR<Prisma.ProjektUpdateWithoutAdressDetailsInput, Prisma.ProjektUncheckedUpdateWithoutAdressDetailsInput>
}
export type ProjektUpdateWithoutAdressDetailsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutProjekteNestedInput
stage?: Prisma.PipelineStageUpdateOneRequiredWithoutProjekteNestedInput
lostReason?: Prisma.LostReasonUpdateOneWithoutProjekteNestedInput
kontakte?: Prisma.ProjektKontaktUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateWithoutAdressDetailsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUncheckedUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUncheckedUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektCreateManyPipelineInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type ProjektUpdateWithoutPipelineInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
stage?: Prisma.PipelineStageUpdateOneRequiredWithoutProjekteNestedInput
lostReason?: Prisma.LostReasonUpdateOneWithoutProjekteNestedInput
kontakte?: Prisma.ProjektKontaktUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateWithoutPipelineInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUncheckedUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUncheckedUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateManyWithoutPipelineInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ProjektCreateManyStageInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
lostReasonId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type ProjektUpdateWithoutStageInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutProjekteNestedInput
lostReason?: Prisma.LostReasonUpdateOneWithoutProjekteNestedInput
kontakte?: Prisma.ProjektKontaktUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateWithoutStageInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUncheckedUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUncheckedUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateManyWithoutStageInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
lostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ProjektCreateManyLostReasonInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
createdByUserId?: string | null
projektNummer: string
projektname: string
beschreibung?: string | null
projekttyp?: string | null
quelle?: string | null
promotion?: string | null
email?: string | null
telefon?: string | null
fax?: string | null
prioritaet?: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Date | string | null
deadline?: Date | string | null
zustaendigePersonId?: string | null
projektleiterId?: string | null
projektAdresseId?: string | null
rechnungsAdresseId?: string | null
bauherrAdresseId?: string | null
konvertiertAusLeadId?: string | null
wonAt?: Date | string | null
lostAt?: Date | string | null
undoStageChangeUntil?: Date | string | null
redoStageId?: string | null
redoLostReasonId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type ProjektUpdateWithoutLostReasonInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutProjekteNestedInput
stage?: Prisma.PipelineStageUpdateOneRequiredWithoutProjekteNestedInput
kontakte?: Prisma.ProjektKontaktUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateWithoutLostReasonInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
kontakte?: Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput
stageChanges?: Prisma.ProjektStageChangeUncheckedUpdateManyWithoutProjektNestedInput
mitglieder?: Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput
adressDetails?: Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput
checklists?: Prisma.ProjektChecklistUncheckedUpdateManyWithoutProjektNestedInput
portalAccesses?: Prisma.PortalProjectAccessUncheckedUpdateManyWithoutProjectNestedInput
portalDocuments?: Prisma.PortalProjectDocumentUncheckedUpdateManyWithoutProjectNestedInput
}
export type ProjektUncheckedUpdateManyWithoutLostReasonInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektNummer?: Prisma.StringFieldUpdateOperationsInput | string
projektname?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekttyp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
quelle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
promotion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fax?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
prioritaet?: Prisma.EnumProjektPrioritaetFieldUpdateOperationsInput | $Enums.ProjektPrioritaet
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
stageId?: Prisma.StringFieldUpdateOperationsInput | string
potenziellerAuftragswert?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
auftragsvolumen?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
startDatum?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
zustaendigePersonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektleiterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projektAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
bauherrAdresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
konvertiertAusLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
wonAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lostAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
undoStageChangeUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
redoStageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
redoLostReasonId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
/**
* Count Type ProjektCountOutputType
*/
export type ProjektCountOutputType = {
kontakte: number
stageChanges: number
mitglieder: number
adressDetails: number
checklists: number
portalAccesses: number
portalDocuments: number
}
export type ProjektCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
kontakte?: boolean | ProjektCountOutputTypeCountKontakteArgs
stageChanges?: boolean | ProjektCountOutputTypeCountStageChangesArgs
mitglieder?: boolean | ProjektCountOutputTypeCountMitgliederArgs
adressDetails?: boolean | ProjektCountOutputTypeCountAdressDetailsArgs
checklists?: boolean | ProjektCountOutputTypeCountChecklistsArgs
portalAccesses?: boolean | ProjektCountOutputTypeCountPortalAccessesArgs
portalDocuments?: boolean | ProjektCountOutputTypeCountPortalDocumentsArgs
}
/**
* ProjektCountOutputType without action
*/
export type ProjektCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektCountOutputType
*/
select?: Prisma.ProjektCountOutputTypeSelect<ExtArgs> | null
}
/**
* ProjektCountOutputType without action
*/
export type ProjektCountOutputTypeCountKontakteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ProjektKontaktWhereInput
}
/**
* ProjektCountOutputType without action
*/
export type ProjektCountOutputTypeCountStageChangesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ProjektStageChangeWhereInput
}
/**
* ProjektCountOutputType without action
*/
export type ProjektCountOutputTypeCountMitgliederArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ProjektMitgliedWhereInput
}
/**
* ProjektCountOutputType without action
*/
export type ProjektCountOutputTypeCountAdressDetailsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ProjektAdressDetailWhereInput
}
/**
* ProjektCountOutputType without action
*/
export type ProjektCountOutputTypeCountChecklistsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ProjektChecklistWhereInput
}
/**
* ProjektCountOutputType without action
*/
export type ProjektCountOutputTypeCountPortalAccessesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.PortalProjectAccessWhereInput
}
/**
* ProjektCountOutputType without action
*/
export type ProjektCountOutputTypeCountPortalDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.PortalProjectDocumentWhereInput
}
export type ProjektSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
createdAt?: boolean
updatedAt?: boolean
createdByUserId?: boolean
projektNummer?: boolean
projektname?: boolean
beschreibung?: boolean
projekttyp?: boolean
quelle?: boolean
promotion?: boolean
email?: boolean
telefon?: boolean
fax?: boolean
prioritaet?: boolean
pipelineId?: boolean
stageId?: boolean
potenziellerAuftragswert?: boolean
auftragsvolumen?: boolean
startDatum?: boolean
deadline?: boolean
zustaendigePersonId?: boolean
projektleiterId?: boolean
projektAdresseId?: boolean
rechnungsAdresseId?: boolean
bauherrAdresseId?: boolean
konvertiertAusLeadId?: boolean
lostReasonId?: boolean
wonAt?: boolean
lostAt?: boolean
undoStageChangeUntil?: boolean
redoStageId?: boolean
redoLostReasonId?: boolean
isDemoData?: boolean
archivedAt?: boolean
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
stage?: boolean | Prisma.PipelineStageDefaultArgs<ExtArgs>
lostReason?: boolean | Prisma.Projekt$lostReasonArgs<ExtArgs>
kontakte?: boolean | Prisma.Projekt$kontakteArgs<ExtArgs>
stageChanges?: boolean | Prisma.Projekt$stageChangesArgs<ExtArgs>
mitglieder?: boolean | Prisma.Projekt$mitgliederArgs<ExtArgs>
adressDetails?: boolean | Prisma.Projekt$adressDetailsArgs<ExtArgs>
checklists?: boolean | Prisma.Projekt$checklistsArgs<ExtArgs>
portalAccesses?: boolean | Prisma.Projekt$portalAccessesArgs<ExtArgs>
portalDocuments?: boolean | Prisma.Projekt$portalDocumentsArgs<ExtArgs>
_count?: boolean | Prisma.ProjektCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["projekt"]>
export type ProjektSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
createdAt?: boolean
updatedAt?: boolean
createdByUserId?: boolean
projektNummer?: boolean
projektname?: boolean
beschreibung?: boolean
projekttyp?: boolean
quelle?: boolean
promotion?: boolean
email?: boolean
telefon?: boolean
fax?: boolean
prioritaet?: boolean
pipelineId?: boolean
stageId?: boolean
potenziellerAuftragswert?: boolean
auftragsvolumen?: boolean
startDatum?: boolean
deadline?: boolean
zustaendigePersonId?: boolean
projektleiterId?: boolean
projektAdresseId?: boolean
rechnungsAdresseId?: boolean
bauherrAdresseId?: boolean
konvertiertAusLeadId?: boolean
lostReasonId?: boolean
wonAt?: boolean
lostAt?: boolean
undoStageChangeUntil?: boolean
redoStageId?: boolean
redoLostReasonId?: boolean
isDemoData?: boolean
archivedAt?: boolean
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
stage?: boolean | Prisma.PipelineStageDefaultArgs<ExtArgs>
lostReason?: boolean | Prisma.Projekt$lostReasonArgs<ExtArgs>
}, ExtArgs["result"]["projekt"]>
export type ProjektSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
createdAt?: boolean
updatedAt?: boolean
createdByUserId?: boolean
projektNummer?: boolean
projektname?: boolean
beschreibung?: boolean
projekttyp?: boolean
quelle?: boolean
promotion?: boolean
email?: boolean
telefon?: boolean
fax?: boolean
prioritaet?: boolean
pipelineId?: boolean
stageId?: boolean
potenziellerAuftragswert?: boolean
auftragsvolumen?: boolean
startDatum?: boolean
deadline?: boolean
zustaendigePersonId?: boolean
projektleiterId?: boolean
projektAdresseId?: boolean
rechnungsAdresseId?: boolean
bauherrAdresseId?: boolean
konvertiertAusLeadId?: boolean
lostReasonId?: boolean
wonAt?: boolean
lostAt?: boolean
undoStageChangeUntil?: boolean
redoStageId?: boolean
redoLostReasonId?: boolean
isDemoData?: boolean
archivedAt?: boolean
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
stage?: boolean | Prisma.PipelineStageDefaultArgs<ExtArgs>
lostReason?: boolean | Prisma.Projekt$lostReasonArgs<ExtArgs>
}, ExtArgs["result"]["projekt"]>
export type ProjektSelectScalar = {
id?: boolean
tenantId?: boolean
createdAt?: boolean
updatedAt?: boolean
createdByUserId?: boolean
projektNummer?: boolean
projektname?: boolean
beschreibung?: boolean
projekttyp?: boolean
quelle?: boolean
promotion?: boolean
email?: boolean
telefon?: boolean
fax?: boolean
prioritaet?: boolean
pipelineId?: boolean
stageId?: boolean
potenziellerAuftragswert?: boolean
auftragsvolumen?: boolean
startDatum?: boolean
deadline?: boolean
zustaendigePersonId?: boolean
projektleiterId?: boolean
projektAdresseId?: boolean
rechnungsAdresseId?: boolean
bauherrAdresseId?: boolean
konvertiertAusLeadId?: boolean
lostReasonId?: boolean
wonAt?: boolean
lostAt?: boolean
undoStageChangeUntil?: boolean
redoStageId?: boolean
redoLostReasonId?: boolean
isDemoData?: boolean
archivedAt?: boolean
}
export type ProjektOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "createdAt" | "updatedAt" | "createdByUserId" | "projektNummer" | "projektname" | "beschreibung" | "projekttyp" | "quelle" | "promotion" | "email" | "telefon" | "fax" | "prioritaet" | "pipelineId" | "stageId" | "potenziellerAuftragswert" | "auftragsvolumen" | "startDatum" | "deadline" | "zustaendigePersonId" | "projektleiterId" | "projektAdresseId" | "rechnungsAdresseId" | "bauherrAdresseId" | "konvertiertAusLeadId" | "lostReasonId" | "wonAt" | "lostAt" | "undoStageChangeUntil" | "redoStageId" | "redoLostReasonId" | "isDemoData" | "archivedAt", ExtArgs["result"]["projekt"]>
export type ProjektInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
stage?: boolean | Prisma.PipelineStageDefaultArgs<ExtArgs>
lostReason?: boolean | Prisma.Projekt$lostReasonArgs<ExtArgs>
kontakte?: boolean | Prisma.Projekt$kontakteArgs<ExtArgs>
stageChanges?: boolean | Prisma.Projekt$stageChangesArgs<ExtArgs>
mitglieder?: boolean | Prisma.Projekt$mitgliederArgs<ExtArgs>
adressDetails?: boolean | Prisma.Projekt$adressDetailsArgs<ExtArgs>
checklists?: boolean | Prisma.Projekt$checklistsArgs<ExtArgs>
portalAccesses?: boolean | Prisma.Projekt$portalAccessesArgs<ExtArgs>
portalDocuments?: boolean | Prisma.Projekt$portalDocumentsArgs<ExtArgs>
_count?: boolean | Prisma.ProjektCountOutputTypeDefaultArgs<ExtArgs>
}
export type ProjektIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
stage?: boolean | Prisma.PipelineStageDefaultArgs<ExtArgs>
lostReason?: boolean | Prisma.Projekt$lostReasonArgs<ExtArgs>
}
export type ProjektIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
stage?: boolean | Prisma.PipelineStageDefaultArgs<ExtArgs>
lostReason?: boolean | Prisma.Projekt$lostReasonArgs<ExtArgs>
}
export type $ProjektPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "Projekt"
objects: {
pipeline: Prisma.$PipelinePayload<ExtArgs>
stage: Prisma.$PipelineStagePayload<ExtArgs>
lostReason: Prisma.$LostReasonPayload<ExtArgs> | null
kontakte: Prisma.$ProjektKontaktPayload<ExtArgs>[]
stageChanges: Prisma.$ProjektStageChangePayload<ExtArgs>[]
mitglieder: Prisma.$ProjektMitgliedPayload<ExtArgs>[]
adressDetails: Prisma.$ProjektAdressDetailPayload<ExtArgs>[]
checklists: Prisma.$ProjektChecklistPayload<ExtArgs>[]
portalAccesses: Prisma.$PortalProjectAccessPayload<ExtArgs>[]
portalDocuments: Prisma.$PortalProjectDocumentPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
tenantId: string
createdAt: Date
updatedAt: Date
createdByUserId: string | null
projektNummer: string
projektname: string
beschreibung: string | null
projekttyp: string | null
quelle: string | null
/**
* WF-P8 S02 "Grunddaten": campaign/promotion the project came in through.
*/
promotion: string | null
/**
* WF-P8 S02 "Projektkontaktdaten": contact channels of the project itself,
* distinct from the linked Kontakt records (site office, site phone, ...).
*/
email: string | null
telefon: string | null
fax: string | null
prioritaet: $Enums.ProjektPrioritaet
pipelineId: string
stageId: string
potenziellerAuftragswert: runtime.Decimal | null
auftragsvolumen: runtime.Decimal | null
startDatum: Date | null
deadline: Date | null
zustaendigePersonId: string | null
projektleiterId: string | null
projektAdresseId: string | null
rechnungsAdresseId: string | null
bauherrAdresseId: string | null
konvertiertAusLeadId: string | null
lostReasonId: string | null
wonAt: Date | null
lostAt: Date | null
undoStageChangeUntil: Date | null
redoStageId: string | null
redoLostReasonId: string | null
isDemoData: boolean
archivedAt: Date | null
}, ExtArgs["result"]["projekt"]>
composites: {}
}
export type ProjektGetPayload<S extends boolean | null | undefined | ProjektDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjektPayload, S>
export type ProjektCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<ProjektFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: ProjektCountAggregateInputType | true
}
export interface ProjektDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Projekt'], meta: { name: 'Projekt' } }
/**
* Find zero or one Projekt that matches the filter.
* @param {ProjektFindUniqueArgs} args - Arguments to find a Projekt
* @example
* // Get one Projekt
* const projekt = await prisma.projekt.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends ProjektFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjektFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjektClient<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Projekt that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {ProjektFindUniqueOrThrowArgs} args - Arguments to find a Projekt
* @example
* // Get one Projekt
* const projekt = await prisma.projekt.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends ProjektFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjektFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektClient<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Projekt 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 {ProjektFindFirstArgs} args - Arguments to find a Projekt
* @example
* // Get one Projekt
* const projekt = await prisma.projekt.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends ProjektFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjektFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjektClient<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Projekt 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 {ProjektFindFirstOrThrowArgs} args - Arguments to find a Projekt
* @example
* // Get one Projekt
* const projekt = await prisma.projekt.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends ProjektFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjektFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektClient<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Projekts 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 {ProjektFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Projekts
* const projekts = await prisma.projekt.findMany()
*
* // Get first 10 Projekts
* const projekts = await prisma.projekt.findMany({ take: 10 })
*
* // Only select the `id`
* const projektWithIdOnly = await prisma.projekt.findMany({ select: { id: true } })
*
*/
findMany<T extends ProjektFindManyArgs>(args?: Prisma.SelectSubset<T, ProjektFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Projekt.
* @param {ProjektCreateArgs} args - Arguments to create a Projekt.
* @example
* // Create one Projekt
* const Projekt = await prisma.projekt.create({
* data: {
* // ... data to create a Projekt
* }
* })
*
*/
create<T extends ProjektCreateArgs>(args: Prisma.SelectSubset<T, ProjektCreateArgs<ExtArgs>>): Prisma.Prisma__ProjektClient<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Projekts.
* @param {ProjektCreateManyArgs} args - Arguments to create many Projekts.
* @example
* // Create many Projekts
* const projekt = await prisma.projekt.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends ProjektCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjektCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many Projekts and returns the data saved in the database.
* @param {ProjektCreateManyAndReturnArgs} args - Arguments to create many Projekts.
* @example
* // Create many Projekts
* const projekt = await prisma.projekt.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Projekts and only return the `id`
* const projektWithIdOnly = await prisma.projekt.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 ProjektCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjektCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a Projekt.
* @param {ProjektDeleteArgs} args - Arguments to delete one Projekt.
* @example
* // Delete one Projekt
* const Projekt = await prisma.projekt.delete({
* where: {
* // ... filter to delete one Projekt
* }
* })
*
*/
delete<T extends ProjektDeleteArgs>(args: Prisma.SelectSubset<T, ProjektDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjektClient<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Projekt.
* @param {ProjektUpdateArgs} args - Arguments to update one Projekt.
* @example
* // Update one Projekt
* const projekt = await prisma.projekt.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends ProjektUpdateArgs>(args: Prisma.SelectSubset<T, ProjektUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjektClient<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Projekts.
* @param {ProjektDeleteManyArgs} args - Arguments to filter Projekts to delete.
* @example
* // Delete a few Projekts
* const { count } = await prisma.projekt.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends ProjektDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjektDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Projekts.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Projekts
* const projekt = await prisma.projekt.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends ProjektUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjektUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Projekts and returns the data updated in the database.
* @param {ProjektUpdateManyAndReturnArgs} args - Arguments to update many Projekts.
* @example
* // Update many Projekts
* const projekt = await prisma.projekt.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Projekts and only return the `id`
* const projektWithIdOnly = await prisma.projekt.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 ProjektUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjektUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one Projekt.
* @param {ProjektUpsertArgs} args - Arguments to update or create a Projekt.
* @example
* // Update or create a Projekt
* const projekt = await prisma.projekt.upsert({
* create: {
* // ... data to create a Projekt
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Projekt we want to update
* }
* })
*/
upsert<T extends ProjektUpsertArgs>(args: Prisma.SelectSubset<T, ProjektUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjektClient<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Projekts.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektCountArgs} args - Arguments to filter Projekts to count.
* @example
* // Count the number of Projekts
* const count = await prisma.projekt.count({
* where: {
* // ... the filter for the Projekts we want to count
* }
* })
**/
count<T extends ProjektCountArgs>(
args?: Prisma.Subset<T, ProjektCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], ProjektCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Projekt.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektAggregateArgs} 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 ProjektAggregateArgs>(args: Prisma.Subset<T, ProjektAggregateArgs>): Prisma.PrismaPromise<GetProjektAggregateType<T>>
/**
* Group by Projekt.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektGroupByArgs} 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 ProjektGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: ProjektGroupByArgs['orderBy'] }
: { orderBy?: ProjektGroupByArgs['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, ProjektGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjektGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the Projekt model
*/
readonly fields: ProjektFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for Projekt.
* 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__ProjektClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
pipeline<T extends Prisma.PipelineDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PipelineDefaultArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
stage<T extends Prisma.PipelineStageDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PipelineStageDefaultArgs<ExtArgs>>): Prisma.Prisma__PipelineStageClient<runtime.Types.Result.GetResult<Prisma.$PipelineStagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
lostReason<T extends Prisma.Projekt$lostReasonArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Projekt$lostReasonArgs<ExtArgs>>): Prisma.Prisma__LostReasonClient<runtime.Types.Result.GetResult<Prisma.$LostReasonPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
kontakte<T extends Prisma.Projekt$kontakteArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Projekt$kontakteArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
stageChanges<T extends Prisma.Projekt$stageChangesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Projekt$stageChangesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektStageChangePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
mitglieder<T extends Prisma.Projekt$mitgliederArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Projekt$mitgliederArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
adressDetails<T extends Prisma.Projekt$adressDetailsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Projekt$adressDetailsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
checklists<T extends Prisma.Projekt$checklistsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Projekt$checklistsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektChecklistPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
portalAccesses<T extends Prisma.Projekt$portalAccessesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Projekt$portalAccessesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PortalProjectAccessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
portalDocuments<T extends Prisma.Projekt$portalDocumentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Projekt$portalDocumentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PortalProjectDocumentPayload<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 Projekt model
*/
export interface ProjektFieldRefs {
readonly id: Prisma.FieldRef<"Projekt", 'String'>
readonly tenantId: Prisma.FieldRef<"Projekt", 'String'>
readonly createdAt: Prisma.FieldRef<"Projekt", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"Projekt", 'DateTime'>
readonly createdByUserId: Prisma.FieldRef<"Projekt", 'String'>
readonly projektNummer: Prisma.FieldRef<"Projekt", 'String'>
readonly projektname: Prisma.FieldRef<"Projekt", 'String'>
readonly beschreibung: Prisma.FieldRef<"Projekt", 'String'>
readonly projekttyp: Prisma.FieldRef<"Projekt", 'String'>
readonly quelle: Prisma.FieldRef<"Projekt", 'String'>
readonly promotion: Prisma.FieldRef<"Projekt", 'String'>
readonly email: Prisma.FieldRef<"Projekt", 'String'>
readonly telefon: Prisma.FieldRef<"Projekt", 'String'>
readonly fax: Prisma.FieldRef<"Projekt", 'String'>
readonly prioritaet: Prisma.FieldRef<"Projekt", 'ProjektPrioritaet'>
readonly pipelineId: Prisma.FieldRef<"Projekt", 'String'>
readonly stageId: Prisma.FieldRef<"Projekt", 'String'>
readonly potenziellerAuftragswert: Prisma.FieldRef<"Projekt", 'Decimal'>
readonly auftragsvolumen: Prisma.FieldRef<"Projekt", 'Decimal'>
readonly startDatum: Prisma.FieldRef<"Projekt", 'DateTime'>
readonly deadline: Prisma.FieldRef<"Projekt", 'DateTime'>
readonly zustaendigePersonId: Prisma.FieldRef<"Projekt", 'String'>
readonly projektleiterId: Prisma.FieldRef<"Projekt", 'String'>
readonly projektAdresseId: Prisma.FieldRef<"Projekt", 'String'>
readonly rechnungsAdresseId: Prisma.FieldRef<"Projekt", 'String'>
readonly bauherrAdresseId: Prisma.FieldRef<"Projekt", 'String'>
readonly konvertiertAusLeadId: Prisma.FieldRef<"Projekt", 'String'>
readonly lostReasonId: Prisma.FieldRef<"Projekt", 'String'>
readonly wonAt: Prisma.FieldRef<"Projekt", 'DateTime'>
readonly lostAt: Prisma.FieldRef<"Projekt", 'DateTime'>
readonly undoStageChangeUntil: Prisma.FieldRef<"Projekt", 'DateTime'>
readonly redoStageId: Prisma.FieldRef<"Projekt", 'String'>
readonly redoLostReasonId: Prisma.FieldRef<"Projekt", 'String'>
readonly isDemoData: Prisma.FieldRef<"Projekt", 'Boolean'>
readonly archivedAt: Prisma.FieldRef<"Projekt", 'DateTime'>
}
// Custom InputTypes
/**
* Projekt findUnique
*/
export type ProjektFindUniqueArgs<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
/**
* Filter, which Projekt to fetch.
*/
where: Prisma.ProjektWhereUniqueInput
}
/**
* Projekt findUniqueOrThrow
*/
export type ProjektFindUniqueOrThrowArgs<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
/**
* Filter, which Projekt to fetch.
*/
where: Prisma.ProjektWhereUniqueInput
}
/**
* Projekt findFirst
*/
export type ProjektFindFirstArgs<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
/**
* Filter, which Projekt to fetch.
*/
where?: Prisma.ProjektWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Projekts to fetch.
*/
orderBy?: Prisma.ProjektOrderByWithRelationInput | Prisma.ProjektOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Projekts.
*/
cursor?: Prisma.ProjektWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Projekts 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` Projekts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Projekts.
*/
distinct?: Prisma.ProjektScalarFieldEnum | Prisma.ProjektScalarFieldEnum[]
}
/**
* Projekt findFirstOrThrow
*/
export type ProjektFindFirstOrThrowArgs<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
/**
* Filter, which Projekt to fetch.
*/
where?: Prisma.ProjektWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Projekts to fetch.
*/
orderBy?: Prisma.ProjektOrderByWithRelationInput | Prisma.ProjektOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Projekts.
*/
cursor?: Prisma.ProjektWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Projekts 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` Projekts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Projekts.
*/
distinct?: Prisma.ProjektScalarFieldEnum | Prisma.ProjektScalarFieldEnum[]
}
/**
* Projekt findMany
*/
export type ProjektFindManyArgs<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
/**
* Filter, which Projekts to fetch.
*/
where?: Prisma.ProjektWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Projekts to fetch.
*/
orderBy?: Prisma.ProjektOrderByWithRelationInput | Prisma.ProjektOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing Projekts.
*/
cursor?: Prisma.ProjektWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Projekts 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` Projekts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Projekts.
*/
distinct?: Prisma.ProjektScalarFieldEnum | Prisma.ProjektScalarFieldEnum[]
}
/**
* Projekt create
*/
export type ProjektCreateArgs<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
/**
* The data needed to create a Projekt.
*/
data: Prisma.XOR<Prisma.ProjektCreateInput, Prisma.ProjektUncheckedCreateInput>
}
/**
* Projekt createMany
*/
export type ProjektCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many Projekts.
*/
data: Prisma.ProjektCreateManyInput | Prisma.ProjektCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Projekt createManyAndReturn
*/
export type ProjektCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Projekt
*/
select?: Prisma.ProjektSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Projekt
*/
omit?: Prisma.ProjektOmit<ExtArgs> | null
/**
* The data used to create many Projekts.
*/
data: Prisma.ProjektCreateManyInput | Prisma.ProjektCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjektIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* Projekt update
*/
export type ProjektUpdateArgs<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
/**
* The data needed to update a Projekt.
*/
data: Prisma.XOR<Prisma.ProjektUpdateInput, Prisma.ProjektUncheckedUpdateInput>
/**
* Choose, which Projekt to update.
*/
where: Prisma.ProjektWhereUniqueInput
}
/**
* Projekt updateMany
*/
export type ProjektUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update Projekts.
*/
data: Prisma.XOR<Prisma.ProjektUpdateManyMutationInput, Prisma.ProjektUncheckedUpdateManyInput>
/**
* Filter which Projekts to update
*/
where?: Prisma.ProjektWhereInput
/**
* Limit how many Projekts to update.
*/
limit?: number
}
/**
* Projekt updateManyAndReturn
*/
export type ProjektUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Projekt
*/
select?: Prisma.ProjektSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Projekt
*/
omit?: Prisma.ProjektOmit<ExtArgs> | null
/**
* The data used to update Projekts.
*/
data: Prisma.XOR<Prisma.ProjektUpdateManyMutationInput, Prisma.ProjektUncheckedUpdateManyInput>
/**
* Filter which Projekts to update
*/
where?: Prisma.ProjektWhereInput
/**
* Limit how many Projekts to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjektIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* Projekt upsert
*/
export type ProjektUpsertArgs<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
/**
* The filter to search for the Projekt to update in case it exists.
*/
where: Prisma.ProjektWhereUniqueInput
/**
* In case the Projekt found by the `where` argument doesn't exist, create a new Projekt with this data.
*/
create: Prisma.XOR<Prisma.ProjektCreateInput, Prisma.ProjektUncheckedCreateInput>
/**
* In case the Projekt was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.ProjektUpdateInput, Prisma.ProjektUncheckedUpdateInput>
}
/**
* Projekt delete
*/
export type ProjektDeleteArgs<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
/**
* Filter which Projekt to delete.
*/
where: Prisma.ProjektWhereUniqueInput
}
/**
* Projekt deleteMany
*/
export type ProjektDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which Projekts to delete
*/
where?: Prisma.ProjektWhereInput
/**
* Limit how many Projekts to delete.
*/
limit?: number
}
/**
* Projekt.lostReason
*/
export type Projekt$lostReasonArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LostReason
*/
select?: Prisma.LostReasonSelect<ExtArgs> | null
/**
* Omit specific fields from the LostReason
*/
omit?: Prisma.LostReasonOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LostReasonInclude<ExtArgs> | null
where?: Prisma.LostReasonWhereInput
}
/**
* Projekt.kontakte
*/
export type Projekt$kontakteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektKontakt
*/
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektKontakt
*/
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
where?: Prisma.ProjektKontaktWhereInput
orderBy?: Prisma.ProjektKontaktOrderByWithRelationInput | Prisma.ProjektKontaktOrderByWithRelationInput[]
cursor?: Prisma.ProjektKontaktWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.ProjektKontaktScalarFieldEnum | Prisma.ProjektKontaktScalarFieldEnum[]
}
/**
* Projekt.stageChanges
*/
export type Projekt$stageChangesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektStageChange
*/
select?: Prisma.ProjektStageChangeSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektStageChange
*/
omit?: Prisma.ProjektStageChangeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjektStageChangeInclude<ExtArgs> | null
where?: Prisma.ProjektStageChangeWhereInput
orderBy?: Prisma.ProjektStageChangeOrderByWithRelationInput | Prisma.ProjektStageChangeOrderByWithRelationInput[]
cursor?: Prisma.ProjektStageChangeWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.ProjektStageChangeScalarFieldEnum | Prisma.ProjektStageChangeScalarFieldEnum[]
}
/**
* Projekt.mitglieder
*/
export type Projekt$mitgliederArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektMitglied
*/
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektMitglied
*/
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
where?: Prisma.ProjektMitgliedWhereInput
orderBy?: Prisma.ProjektMitgliedOrderByWithRelationInput | Prisma.ProjektMitgliedOrderByWithRelationInput[]
cursor?: Prisma.ProjektMitgliedWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.ProjektMitgliedScalarFieldEnum | Prisma.ProjektMitgliedScalarFieldEnum[]
}
/**
* Projekt.adressDetails
*/
export type Projekt$adressDetailsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektAdressDetail
*/
select?: Prisma.ProjektAdressDetailSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektAdressDetail
*/
omit?: Prisma.ProjektAdressDetailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjektAdressDetailInclude<ExtArgs> | null
where?: Prisma.ProjektAdressDetailWhereInput
orderBy?: Prisma.ProjektAdressDetailOrderByWithRelationInput | Prisma.ProjektAdressDetailOrderByWithRelationInput[]
cursor?: Prisma.ProjektAdressDetailWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.ProjektAdressDetailScalarFieldEnum | Prisma.ProjektAdressDetailScalarFieldEnum[]
}
/**
* Projekt.checklists
*/
export type Projekt$checklistsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektChecklist
*/
select?: Prisma.ProjektChecklistSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektChecklist
*/
omit?: Prisma.ProjektChecklistOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjektChecklistInclude<ExtArgs> | null
where?: Prisma.ProjektChecklistWhereInput
orderBy?: Prisma.ProjektChecklistOrderByWithRelationInput | Prisma.ProjektChecklistOrderByWithRelationInput[]
cursor?: Prisma.ProjektChecklistWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.ProjektChecklistScalarFieldEnum | Prisma.ProjektChecklistScalarFieldEnum[]
}
/**
* Projekt.portalAccesses
*/
export type Projekt$portalAccessesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalProjectAccess
*/
select?: Prisma.PortalProjectAccessSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalProjectAccess
*/
omit?: Prisma.PortalProjectAccessOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalProjectAccessInclude<ExtArgs> | null
where?: Prisma.PortalProjectAccessWhereInput
orderBy?: Prisma.PortalProjectAccessOrderByWithRelationInput | Prisma.PortalProjectAccessOrderByWithRelationInput[]
cursor?: Prisma.PortalProjectAccessWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.PortalProjectAccessScalarFieldEnum | Prisma.PortalProjectAccessScalarFieldEnum[]
}
/**
* Projekt.portalDocuments
*/
export type Projekt$portalDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalProjectDocument
*/
select?: Prisma.PortalProjectDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalProjectDocument
*/
omit?: Prisma.PortalProjectDocumentOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalProjectDocumentInclude<ExtArgs> | null
where?: Prisma.PortalProjectDocumentWhereInput
orderBy?: Prisma.PortalProjectDocumentOrderByWithRelationInput | Prisma.PortalProjectDocumentOrderByWithRelationInput[]
cursor?: Prisma.PortalProjectDocumentWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.PortalProjectDocumentScalarFieldEnum | Prisma.PortalProjectDocumentScalarFieldEnum[]
}
/**
* Projekt without action
*/
export type ProjektDefaultArgs<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
}