Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/ProjektAdressDetail.ts
T

1761 lines
74 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 `ProjektAdressDetail` 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 ProjektAdressDetail
* The per-slot extras the S02 address group asks for on top of the shared
* `Adresse`. Deliberately NOT columns on `Adresse`: that is a shared CRM entity
* which contacts reuse, so a project's "Zahlungsziel" or "Zufahrt" would leak
* into every contact address. One row per project and slot.
*/
export type ProjektAdressDetailModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjektAdressDetailPayload>
export type AggregateProjektAdressDetail = {
_count: ProjektAdressDetailCountAggregateOutputType | null
_min: ProjektAdressDetailMinAggregateOutputType | null
_max: ProjektAdressDetailMaxAggregateOutputType | null
}
export type ProjektAdressDetailMinAggregateOutputType = {
id: string | null
tenantId: string | null
createdAt: Date | null
updatedAt: Date | null
projektId: string | null
slot: $Enums.ProjektAdressSlot | null
bauabschnitt: string | null
zufahrt: string | null
koordinaten: string | null
empfaenger: string | null
zahlungsziel: string | null
rechnungsEmail: string | null
postErwuenscht: boolean | null
telefon: string | null
ansprechpartnerVorOrt: string | null
notizen: string | null
}
export type ProjektAdressDetailMaxAggregateOutputType = {
id: string | null
tenantId: string | null
createdAt: Date | null
updatedAt: Date | null
projektId: string | null
slot: $Enums.ProjektAdressSlot | null
bauabschnitt: string | null
zufahrt: string | null
koordinaten: string | null
empfaenger: string | null
zahlungsziel: string | null
rechnungsEmail: string | null
postErwuenscht: boolean | null
telefon: string | null
ansprechpartnerVorOrt: string | null
notizen: string | null
}
export type ProjektAdressDetailCountAggregateOutputType = {
id: number
tenantId: number
createdAt: number
updatedAt: number
projektId: number
slot: number
bauabschnitt: number
zufahrt: number
koordinaten: number
empfaenger: number
zahlungsziel: number
rechnungsEmail: number
postErwuenscht: number
telefon: number
ansprechpartnerVorOrt: number
notizen: number
_all: number
}
export type ProjektAdressDetailMinAggregateInputType = {
id?: true
tenantId?: true
createdAt?: true
updatedAt?: true
projektId?: true
slot?: true
bauabschnitt?: true
zufahrt?: true
koordinaten?: true
empfaenger?: true
zahlungsziel?: true
rechnungsEmail?: true
postErwuenscht?: true
telefon?: true
ansprechpartnerVorOrt?: true
notizen?: true
}
export type ProjektAdressDetailMaxAggregateInputType = {
id?: true
tenantId?: true
createdAt?: true
updatedAt?: true
projektId?: true
slot?: true
bauabschnitt?: true
zufahrt?: true
koordinaten?: true
empfaenger?: true
zahlungsziel?: true
rechnungsEmail?: true
postErwuenscht?: true
telefon?: true
ansprechpartnerVorOrt?: true
notizen?: true
}
export type ProjektAdressDetailCountAggregateInputType = {
id?: true
tenantId?: true
createdAt?: true
updatedAt?: true
projektId?: true
slot?: true
bauabschnitt?: true
zufahrt?: true
koordinaten?: true
empfaenger?: true
zahlungsziel?: true
rechnungsEmail?: true
postErwuenscht?: true
telefon?: true
ansprechpartnerVorOrt?: true
notizen?: true
_all?: true
}
export type ProjektAdressDetailAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which ProjektAdressDetail to aggregate.
*/
where?: Prisma.ProjektAdressDetailWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ProjektAdressDetails to fetch.
*/
orderBy?: Prisma.ProjektAdressDetailOrderByWithRelationInput | Prisma.ProjektAdressDetailOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.ProjektAdressDetailWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ProjektAdressDetails 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` ProjektAdressDetails.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned ProjektAdressDetails
**/
_count?: true | ProjektAdressDetailCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: ProjektAdressDetailMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: ProjektAdressDetailMaxAggregateInputType
}
export type GetProjektAdressDetailAggregateType<T extends ProjektAdressDetailAggregateArgs> = {
[P in keyof T & keyof AggregateProjektAdressDetail]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateProjektAdressDetail[P]>
: Prisma.GetScalarType<T[P], AggregateProjektAdressDetail[P]>
}
export type ProjektAdressDetailGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ProjektAdressDetailWhereInput
orderBy?: Prisma.ProjektAdressDetailOrderByWithAggregationInput | Prisma.ProjektAdressDetailOrderByWithAggregationInput[]
by: Prisma.ProjektAdressDetailScalarFieldEnum[] | Prisma.ProjektAdressDetailScalarFieldEnum
having?: Prisma.ProjektAdressDetailScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: ProjektAdressDetailCountAggregateInputType | true
_min?: ProjektAdressDetailMinAggregateInputType
_max?: ProjektAdressDetailMaxAggregateInputType
}
export type ProjektAdressDetailGroupByOutputType = {
id: string
tenantId: string
createdAt: Date
updatedAt: Date
projektId: string
slot: $Enums.ProjektAdressSlot
bauabschnitt: string | null
zufahrt: string | null
koordinaten: string | null
empfaenger: string | null
zahlungsziel: string | null
rechnungsEmail: string | null
postErwuenscht: boolean
telefon: string | null
ansprechpartnerVorOrt: string | null
notizen: string | null
_count: ProjektAdressDetailCountAggregateOutputType | null
_min: ProjektAdressDetailMinAggregateOutputType | null
_max: ProjektAdressDetailMaxAggregateOutputType | null
}
export type GetProjektAdressDetailGroupByPayload<T extends ProjektAdressDetailGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<ProjektAdressDetailGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof ProjektAdressDetailGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], ProjektAdressDetailGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], ProjektAdressDetailGroupByOutputType[P]>
}
>
>
export type ProjektAdressDetailWhereInput = {
AND?: Prisma.ProjektAdressDetailWhereInput | Prisma.ProjektAdressDetailWhereInput[]
OR?: Prisma.ProjektAdressDetailWhereInput[]
NOT?: Prisma.ProjektAdressDetailWhereInput | Prisma.ProjektAdressDetailWhereInput[]
id?: Prisma.StringFilter<"ProjektAdressDetail"> | string
tenantId?: Prisma.StringFilter<"ProjektAdressDetail"> | string
createdAt?: Prisma.DateTimeFilter<"ProjektAdressDetail"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"ProjektAdressDetail"> | Date | string
projektId?: Prisma.StringFilter<"ProjektAdressDetail"> | string
slot?: Prisma.EnumProjektAdressSlotFilter<"ProjektAdressDetail"> | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
zufahrt?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
koordinaten?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
empfaenger?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
zahlungsziel?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
rechnungsEmail?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
postErwuenscht?: Prisma.BoolFilter<"ProjektAdressDetail"> | boolean
telefon?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
ansprechpartnerVorOrt?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
notizen?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
projekt?: Prisma.XOR<Prisma.ProjektScalarRelationFilter, Prisma.ProjektWhereInput>
}
export type ProjektAdressDetailOrderByWithRelationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
projektId?: Prisma.SortOrder
slot?: Prisma.SortOrder
bauabschnitt?: Prisma.SortOrderInput | Prisma.SortOrder
zufahrt?: Prisma.SortOrderInput | Prisma.SortOrder
koordinaten?: Prisma.SortOrderInput | Prisma.SortOrder
empfaenger?: Prisma.SortOrderInput | Prisma.SortOrder
zahlungsziel?: Prisma.SortOrderInput | Prisma.SortOrder
rechnungsEmail?: Prisma.SortOrderInput | Prisma.SortOrder
postErwuenscht?: Prisma.SortOrder
telefon?: Prisma.SortOrderInput | Prisma.SortOrder
ansprechpartnerVorOrt?: Prisma.SortOrderInput | Prisma.SortOrder
notizen?: Prisma.SortOrderInput | Prisma.SortOrder
projekt?: Prisma.ProjektOrderByWithRelationInput
}
export type ProjektAdressDetailWhereUniqueInput = Prisma.AtLeast<{
id?: string
projektId_slot?: Prisma.ProjektAdressDetailProjektIdSlotCompoundUniqueInput
AND?: Prisma.ProjektAdressDetailWhereInput | Prisma.ProjektAdressDetailWhereInput[]
OR?: Prisma.ProjektAdressDetailWhereInput[]
NOT?: Prisma.ProjektAdressDetailWhereInput | Prisma.ProjektAdressDetailWhereInput[]
tenantId?: Prisma.StringFilter<"ProjektAdressDetail"> | string
createdAt?: Prisma.DateTimeFilter<"ProjektAdressDetail"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"ProjektAdressDetail"> | Date | string
projektId?: Prisma.StringFilter<"ProjektAdressDetail"> | string
slot?: Prisma.EnumProjektAdressSlotFilter<"ProjektAdressDetail"> | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
zufahrt?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
koordinaten?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
empfaenger?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
zahlungsziel?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
rechnungsEmail?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
postErwuenscht?: Prisma.BoolFilter<"ProjektAdressDetail"> | boolean
telefon?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
ansprechpartnerVorOrt?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
notizen?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
projekt?: Prisma.XOR<Prisma.ProjektScalarRelationFilter, Prisma.ProjektWhereInput>
}, "id" | "projektId_slot">
export type ProjektAdressDetailOrderByWithAggregationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
projektId?: Prisma.SortOrder
slot?: Prisma.SortOrder
bauabschnitt?: Prisma.SortOrderInput | Prisma.SortOrder
zufahrt?: Prisma.SortOrderInput | Prisma.SortOrder
koordinaten?: Prisma.SortOrderInput | Prisma.SortOrder
empfaenger?: Prisma.SortOrderInput | Prisma.SortOrder
zahlungsziel?: Prisma.SortOrderInput | Prisma.SortOrder
rechnungsEmail?: Prisma.SortOrderInput | Prisma.SortOrder
postErwuenscht?: Prisma.SortOrder
telefon?: Prisma.SortOrderInput | Prisma.SortOrder
ansprechpartnerVorOrt?: Prisma.SortOrderInput | Prisma.SortOrder
notizen?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.ProjektAdressDetailCountOrderByAggregateInput
_max?: Prisma.ProjektAdressDetailMaxOrderByAggregateInput
_min?: Prisma.ProjektAdressDetailMinOrderByAggregateInput
}
export type ProjektAdressDetailScalarWhereWithAggregatesInput = {
AND?: Prisma.ProjektAdressDetailScalarWhereWithAggregatesInput | Prisma.ProjektAdressDetailScalarWhereWithAggregatesInput[]
OR?: Prisma.ProjektAdressDetailScalarWhereWithAggregatesInput[]
NOT?: Prisma.ProjektAdressDetailScalarWhereWithAggregatesInput | Prisma.ProjektAdressDetailScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"ProjektAdressDetail"> | string
tenantId?: Prisma.StringWithAggregatesFilter<"ProjektAdressDetail"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektAdressDetail"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektAdressDetail"> | Date | string
projektId?: Prisma.StringWithAggregatesFilter<"ProjektAdressDetail"> | string
slot?: Prisma.EnumProjektAdressSlotWithAggregatesFilter<"ProjektAdressDetail"> | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.StringNullableWithAggregatesFilter<"ProjektAdressDetail"> | string | null
zufahrt?: Prisma.StringNullableWithAggregatesFilter<"ProjektAdressDetail"> | string | null
koordinaten?: Prisma.StringNullableWithAggregatesFilter<"ProjektAdressDetail"> | string | null
empfaenger?: Prisma.StringNullableWithAggregatesFilter<"ProjektAdressDetail"> | string | null
zahlungsziel?: Prisma.StringNullableWithAggregatesFilter<"ProjektAdressDetail"> | string | null
rechnungsEmail?: Prisma.StringNullableWithAggregatesFilter<"ProjektAdressDetail"> | string | null
postErwuenscht?: Prisma.BoolWithAggregatesFilter<"ProjektAdressDetail"> | boolean
telefon?: Prisma.StringNullableWithAggregatesFilter<"ProjektAdressDetail"> | string | null
ansprechpartnerVorOrt?: Prisma.StringNullableWithAggregatesFilter<"ProjektAdressDetail"> | string | null
notizen?: Prisma.StringNullableWithAggregatesFilter<"ProjektAdressDetail"> | string | null
}
export type ProjektAdressDetailCreateInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
slot: $Enums.ProjektAdressSlot
bauabschnitt?: string | null
zufahrt?: string | null
koordinaten?: string | null
empfaenger?: string | null
zahlungsziel?: string | null
rechnungsEmail?: string | null
postErwuenscht?: boolean
telefon?: string | null
ansprechpartnerVorOrt?: string | null
notizen?: string | null
projekt: Prisma.ProjektCreateNestedOneWithoutAdressDetailsInput
}
export type ProjektAdressDetailUncheckedCreateInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
projektId: string
slot: $Enums.ProjektAdressSlot
bauabschnitt?: string | null
zufahrt?: string | null
koordinaten?: string | null
empfaenger?: string | null
zahlungsziel?: string | null
rechnungsEmail?: string | null
postErwuenscht?: boolean
telefon?: string | null
ansprechpartnerVorOrt?: string | null
notizen?: string | null
}
export type ProjektAdressDetailUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
slot?: Prisma.EnumProjektAdressSlotFieldUpdateOperationsInput | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zufahrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
koordinaten?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
empfaenger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zahlungsziel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
postErwuenscht?: Prisma.BoolFieldUpdateOperationsInput | boolean
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ansprechpartnerVorOrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
notizen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projekt?: Prisma.ProjektUpdateOneRequiredWithoutAdressDetailsNestedInput
}
export type ProjektAdressDetailUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
slot?: Prisma.EnumProjektAdressSlotFieldUpdateOperationsInput | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zufahrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
koordinaten?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
empfaenger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zahlungsziel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
postErwuenscht?: Prisma.BoolFieldUpdateOperationsInput | boolean
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ansprechpartnerVorOrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
notizen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type ProjektAdressDetailCreateManyInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
projektId: string
slot: $Enums.ProjektAdressSlot
bauabschnitt?: string | null
zufahrt?: string | null
koordinaten?: string | null
empfaenger?: string | null
zahlungsziel?: string | null
rechnungsEmail?: string | null
postErwuenscht?: boolean
telefon?: string | null
ansprechpartnerVorOrt?: string | null
notizen?: string | null
}
export type ProjektAdressDetailUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
slot?: Prisma.EnumProjektAdressSlotFieldUpdateOperationsInput | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zufahrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
koordinaten?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
empfaenger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zahlungsziel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
postErwuenscht?: Prisma.BoolFieldUpdateOperationsInput | boolean
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ansprechpartnerVorOrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
notizen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type ProjektAdressDetailUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
slot?: Prisma.EnumProjektAdressSlotFieldUpdateOperationsInput | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zufahrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
koordinaten?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
empfaenger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zahlungsziel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
postErwuenscht?: Prisma.BoolFieldUpdateOperationsInput | boolean
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ansprechpartnerVorOrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
notizen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type ProjektAdressDetailListRelationFilter = {
every?: Prisma.ProjektAdressDetailWhereInput
some?: Prisma.ProjektAdressDetailWhereInput
none?: Prisma.ProjektAdressDetailWhereInput
}
export type ProjektAdressDetailOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type ProjektAdressDetailProjektIdSlotCompoundUniqueInput = {
projektId: string
slot: $Enums.ProjektAdressSlot
}
export type ProjektAdressDetailCountOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
projektId?: Prisma.SortOrder
slot?: Prisma.SortOrder
bauabschnitt?: Prisma.SortOrder
zufahrt?: Prisma.SortOrder
koordinaten?: Prisma.SortOrder
empfaenger?: Prisma.SortOrder
zahlungsziel?: Prisma.SortOrder
rechnungsEmail?: Prisma.SortOrder
postErwuenscht?: Prisma.SortOrder
telefon?: Prisma.SortOrder
ansprechpartnerVorOrt?: Prisma.SortOrder
notizen?: Prisma.SortOrder
}
export type ProjektAdressDetailMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
projektId?: Prisma.SortOrder
slot?: Prisma.SortOrder
bauabschnitt?: Prisma.SortOrder
zufahrt?: Prisma.SortOrder
koordinaten?: Prisma.SortOrder
empfaenger?: Prisma.SortOrder
zahlungsziel?: Prisma.SortOrder
rechnungsEmail?: Prisma.SortOrder
postErwuenscht?: Prisma.SortOrder
telefon?: Prisma.SortOrder
ansprechpartnerVorOrt?: Prisma.SortOrder
notizen?: Prisma.SortOrder
}
export type ProjektAdressDetailMinOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
projektId?: Prisma.SortOrder
slot?: Prisma.SortOrder
bauabschnitt?: Prisma.SortOrder
zufahrt?: Prisma.SortOrder
koordinaten?: Prisma.SortOrder
empfaenger?: Prisma.SortOrder
zahlungsziel?: Prisma.SortOrder
rechnungsEmail?: Prisma.SortOrder
postErwuenscht?: Prisma.SortOrder
telefon?: Prisma.SortOrder
ansprechpartnerVorOrt?: Prisma.SortOrder
notizen?: Prisma.SortOrder
}
export type ProjektAdressDetailCreateNestedManyWithoutProjektInput = {
create?: Prisma.XOR<Prisma.ProjektAdressDetailCreateWithoutProjektInput, Prisma.ProjektAdressDetailUncheckedCreateWithoutProjektInput> | Prisma.ProjektAdressDetailCreateWithoutProjektInput[] | Prisma.ProjektAdressDetailUncheckedCreateWithoutProjektInput[]
connectOrCreate?: Prisma.ProjektAdressDetailCreateOrConnectWithoutProjektInput | Prisma.ProjektAdressDetailCreateOrConnectWithoutProjektInput[]
createMany?: Prisma.ProjektAdressDetailCreateManyProjektInputEnvelope
connect?: Prisma.ProjektAdressDetailWhereUniqueInput | Prisma.ProjektAdressDetailWhereUniqueInput[]
}
export type ProjektAdressDetailUncheckedCreateNestedManyWithoutProjektInput = {
create?: Prisma.XOR<Prisma.ProjektAdressDetailCreateWithoutProjektInput, Prisma.ProjektAdressDetailUncheckedCreateWithoutProjektInput> | Prisma.ProjektAdressDetailCreateWithoutProjektInput[] | Prisma.ProjektAdressDetailUncheckedCreateWithoutProjektInput[]
connectOrCreate?: Prisma.ProjektAdressDetailCreateOrConnectWithoutProjektInput | Prisma.ProjektAdressDetailCreateOrConnectWithoutProjektInput[]
createMany?: Prisma.ProjektAdressDetailCreateManyProjektInputEnvelope
connect?: Prisma.ProjektAdressDetailWhereUniqueInput | Prisma.ProjektAdressDetailWhereUniqueInput[]
}
export type ProjektAdressDetailUpdateManyWithoutProjektNestedInput = {
create?: Prisma.XOR<Prisma.ProjektAdressDetailCreateWithoutProjektInput, Prisma.ProjektAdressDetailUncheckedCreateWithoutProjektInput> | Prisma.ProjektAdressDetailCreateWithoutProjektInput[] | Prisma.ProjektAdressDetailUncheckedCreateWithoutProjektInput[]
connectOrCreate?: Prisma.ProjektAdressDetailCreateOrConnectWithoutProjektInput | Prisma.ProjektAdressDetailCreateOrConnectWithoutProjektInput[]
upsert?: Prisma.ProjektAdressDetailUpsertWithWhereUniqueWithoutProjektInput | Prisma.ProjektAdressDetailUpsertWithWhereUniqueWithoutProjektInput[]
createMany?: Prisma.ProjektAdressDetailCreateManyProjektInputEnvelope
set?: Prisma.ProjektAdressDetailWhereUniqueInput | Prisma.ProjektAdressDetailWhereUniqueInput[]
disconnect?: Prisma.ProjektAdressDetailWhereUniqueInput | Prisma.ProjektAdressDetailWhereUniqueInput[]
delete?: Prisma.ProjektAdressDetailWhereUniqueInput | Prisma.ProjektAdressDetailWhereUniqueInput[]
connect?: Prisma.ProjektAdressDetailWhereUniqueInput | Prisma.ProjektAdressDetailWhereUniqueInput[]
update?: Prisma.ProjektAdressDetailUpdateWithWhereUniqueWithoutProjektInput | Prisma.ProjektAdressDetailUpdateWithWhereUniqueWithoutProjektInput[]
updateMany?: Prisma.ProjektAdressDetailUpdateManyWithWhereWithoutProjektInput | Prisma.ProjektAdressDetailUpdateManyWithWhereWithoutProjektInput[]
deleteMany?: Prisma.ProjektAdressDetailScalarWhereInput | Prisma.ProjektAdressDetailScalarWhereInput[]
}
export type ProjektAdressDetailUncheckedUpdateManyWithoutProjektNestedInput = {
create?: Prisma.XOR<Prisma.ProjektAdressDetailCreateWithoutProjektInput, Prisma.ProjektAdressDetailUncheckedCreateWithoutProjektInput> | Prisma.ProjektAdressDetailCreateWithoutProjektInput[] | Prisma.ProjektAdressDetailUncheckedCreateWithoutProjektInput[]
connectOrCreate?: Prisma.ProjektAdressDetailCreateOrConnectWithoutProjektInput | Prisma.ProjektAdressDetailCreateOrConnectWithoutProjektInput[]
upsert?: Prisma.ProjektAdressDetailUpsertWithWhereUniqueWithoutProjektInput | Prisma.ProjektAdressDetailUpsertWithWhereUniqueWithoutProjektInput[]
createMany?: Prisma.ProjektAdressDetailCreateManyProjektInputEnvelope
set?: Prisma.ProjektAdressDetailWhereUniqueInput | Prisma.ProjektAdressDetailWhereUniqueInput[]
disconnect?: Prisma.ProjektAdressDetailWhereUniqueInput | Prisma.ProjektAdressDetailWhereUniqueInput[]
delete?: Prisma.ProjektAdressDetailWhereUniqueInput | Prisma.ProjektAdressDetailWhereUniqueInput[]
connect?: Prisma.ProjektAdressDetailWhereUniqueInput | Prisma.ProjektAdressDetailWhereUniqueInput[]
update?: Prisma.ProjektAdressDetailUpdateWithWhereUniqueWithoutProjektInput | Prisma.ProjektAdressDetailUpdateWithWhereUniqueWithoutProjektInput[]
updateMany?: Prisma.ProjektAdressDetailUpdateManyWithWhereWithoutProjektInput | Prisma.ProjektAdressDetailUpdateManyWithWhereWithoutProjektInput[]
deleteMany?: Prisma.ProjektAdressDetailScalarWhereInput | Prisma.ProjektAdressDetailScalarWhereInput[]
}
export type EnumProjektAdressSlotFieldUpdateOperationsInput = {
set?: $Enums.ProjektAdressSlot
}
export type ProjektAdressDetailCreateWithoutProjektInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
slot: $Enums.ProjektAdressSlot
bauabschnitt?: string | null
zufahrt?: string | null
koordinaten?: string | null
empfaenger?: string | null
zahlungsziel?: string | null
rechnungsEmail?: string | null
postErwuenscht?: boolean
telefon?: string | null
ansprechpartnerVorOrt?: string | null
notizen?: string | null
}
export type ProjektAdressDetailUncheckedCreateWithoutProjektInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
slot: $Enums.ProjektAdressSlot
bauabschnitt?: string | null
zufahrt?: string | null
koordinaten?: string | null
empfaenger?: string | null
zahlungsziel?: string | null
rechnungsEmail?: string | null
postErwuenscht?: boolean
telefon?: string | null
ansprechpartnerVorOrt?: string | null
notizen?: string | null
}
export type ProjektAdressDetailCreateOrConnectWithoutProjektInput = {
where: Prisma.ProjektAdressDetailWhereUniqueInput
create: Prisma.XOR<Prisma.ProjektAdressDetailCreateWithoutProjektInput, Prisma.ProjektAdressDetailUncheckedCreateWithoutProjektInput>
}
export type ProjektAdressDetailCreateManyProjektInputEnvelope = {
data: Prisma.ProjektAdressDetailCreateManyProjektInput | Prisma.ProjektAdressDetailCreateManyProjektInput[]
skipDuplicates?: boolean
}
export type ProjektAdressDetailUpsertWithWhereUniqueWithoutProjektInput = {
where: Prisma.ProjektAdressDetailWhereUniqueInput
update: Prisma.XOR<Prisma.ProjektAdressDetailUpdateWithoutProjektInput, Prisma.ProjektAdressDetailUncheckedUpdateWithoutProjektInput>
create: Prisma.XOR<Prisma.ProjektAdressDetailCreateWithoutProjektInput, Prisma.ProjektAdressDetailUncheckedCreateWithoutProjektInput>
}
export type ProjektAdressDetailUpdateWithWhereUniqueWithoutProjektInput = {
where: Prisma.ProjektAdressDetailWhereUniqueInput
data: Prisma.XOR<Prisma.ProjektAdressDetailUpdateWithoutProjektInput, Prisma.ProjektAdressDetailUncheckedUpdateWithoutProjektInput>
}
export type ProjektAdressDetailUpdateManyWithWhereWithoutProjektInput = {
where: Prisma.ProjektAdressDetailScalarWhereInput
data: Prisma.XOR<Prisma.ProjektAdressDetailUpdateManyMutationInput, Prisma.ProjektAdressDetailUncheckedUpdateManyWithoutProjektInput>
}
export type ProjektAdressDetailScalarWhereInput = {
AND?: Prisma.ProjektAdressDetailScalarWhereInput | Prisma.ProjektAdressDetailScalarWhereInput[]
OR?: Prisma.ProjektAdressDetailScalarWhereInput[]
NOT?: Prisma.ProjektAdressDetailScalarWhereInput | Prisma.ProjektAdressDetailScalarWhereInput[]
id?: Prisma.StringFilter<"ProjektAdressDetail"> | string
tenantId?: Prisma.StringFilter<"ProjektAdressDetail"> | string
createdAt?: Prisma.DateTimeFilter<"ProjektAdressDetail"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"ProjektAdressDetail"> | Date | string
projektId?: Prisma.StringFilter<"ProjektAdressDetail"> | string
slot?: Prisma.EnumProjektAdressSlotFilter<"ProjektAdressDetail"> | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
zufahrt?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
koordinaten?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
empfaenger?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
zahlungsziel?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
rechnungsEmail?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
postErwuenscht?: Prisma.BoolFilter<"ProjektAdressDetail"> | boolean
telefon?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
ansprechpartnerVorOrt?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
notizen?: Prisma.StringNullableFilter<"ProjektAdressDetail"> | string | null
}
export type ProjektAdressDetailCreateManyProjektInput = {
id?: string
tenantId: string
createdAt?: Date | string
updatedAt?: Date | string
slot: $Enums.ProjektAdressSlot
bauabschnitt?: string | null
zufahrt?: string | null
koordinaten?: string | null
empfaenger?: string | null
zahlungsziel?: string | null
rechnungsEmail?: string | null
postErwuenscht?: boolean
telefon?: string | null
ansprechpartnerVorOrt?: string | null
notizen?: string | null
}
export type ProjektAdressDetailUpdateWithoutProjektInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
slot?: Prisma.EnumProjektAdressSlotFieldUpdateOperationsInput | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zufahrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
koordinaten?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
empfaenger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zahlungsziel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
postErwuenscht?: Prisma.BoolFieldUpdateOperationsInput | boolean
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ansprechpartnerVorOrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
notizen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type ProjektAdressDetailUncheckedUpdateWithoutProjektInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
slot?: Prisma.EnumProjektAdressSlotFieldUpdateOperationsInput | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zufahrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
koordinaten?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
empfaenger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zahlungsziel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
postErwuenscht?: Prisma.BoolFieldUpdateOperationsInput | boolean
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ansprechpartnerVorOrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
notizen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type ProjektAdressDetailUncheckedUpdateManyWithoutProjektInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
slot?: Prisma.EnumProjektAdressSlotFieldUpdateOperationsInput | $Enums.ProjektAdressSlot
bauabschnitt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zufahrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
koordinaten?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
empfaenger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zahlungsziel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rechnungsEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
postErwuenscht?: Prisma.BoolFieldUpdateOperationsInput | boolean
telefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ansprechpartnerVorOrt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
notizen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type ProjektAdressDetailSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
createdAt?: boolean
updatedAt?: boolean
projektId?: boolean
slot?: boolean
bauabschnitt?: boolean
zufahrt?: boolean
koordinaten?: boolean
empfaenger?: boolean
zahlungsziel?: boolean
rechnungsEmail?: boolean
postErwuenscht?: boolean
telefon?: boolean
ansprechpartnerVorOrt?: boolean
notizen?: boolean
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
}, ExtArgs["result"]["projektAdressDetail"]>
export type ProjektAdressDetailSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
createdAt?: boolean
updatedAt?: boolean
projektId?: boolean
slot?: boolean
bauabschnitt?: boolean
zufahrt?: boolean
koordinaten?: boolean
empfaenger?: boolean
zahlungsziel?: boolean
rechnungsEmail?: boolean
postErwuenscht?: boolean
telefon?: boolean
ansprechpartnerVorOrt?: boolean
notizen?: boolean
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
}, ExtArgs["result"]["projektAdressDetail"]>
export type ProjektAdressDetailSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
createdAt?: boolean
updatedAt?: boolean
projektId?: boolean
slot?: boolean
bauabschnitt?: boolean
zufahrt?: boolean
koordinaten?: boolean
empfaenger?: boolean
zahlungsziel?: boolean
rechnungsEmail?: boolean
postErwuenscht?: boolean
telefon?: boolean
ansprechpartnerVorOrt?: boolean
notizen?: boolean
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
}, ExtArgs["result"]["projektAdressDetail"]>
export type ProjektAdressDetailSelectScalar = {
id?: boolean
tenantId?: boolean
createdAt?: boolean
updatedAt?: boolean
projektId?: boolean
slot?: boolean
bauabschnitt?: boolean
zufahrt?: boolean
koordinaten?: boolean
empfaenger?: boolean
zahlungsziel?: boolean
rechnungsEmail?: boolean
postErwuenscht?: boolean
telefon?: boolean
ansprechpartnerVorOrt?: boolean
notizen?: boolean
}
export type ProjektAdressDetailOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "createdAt" | "updatedAt" | "projektId" | "slot" | "bauabschnitt" | "zufahrt" | "koordinaten" | "empfaenger" | "zahlungsziel" | "rechnungsEmail" | "postErwuenscht" | "telefon" | "ansprechpartnerVorOrt" | "notizen", ExtArgs["result"]["projektAdressDetail"]>
export type ProjektAdressDetailInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
}
export type ProjektAdressDetailIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
}
export type ProjektAdressDetailIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
}
export type $ProjektAdressDetailPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "ProjektAdressDetail"
objects: {
projekt: Prisma.$ProjektPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
tenantId: string
createdAt: Date
updatedAt: Date
projektId: string
slot: $Enums.ProjektAdressSlot
/**
* Slot "projekt": where on the site the work happens and how to get there.
*/
bauabschnitt: string | null
zufahrt: string | null
koordinaten: string | null
/**
* Slot "rechnung": who receives the invoice, on what terms, and where the
* invoice itself is sent. Separate from `Projekt.email`, which is the
* operational contact address of the project.
*/
empfaenger: string | null
zahlungsziel: string | null
rechnungsEmail: string | null
/**
* Slot "bauherr": whether the building owner wants postal mail, and who to
* reach on site. The owner is often not the CRM contact carrying the project.
*/
postErwuenscht: boolean
telefon: string | null
ansprechpartnerVorOrt: string | null
/**
* Free text, one per slot. The content is slot-specific — delivery
* constraints at the site, payment remarks on the invoice address — so it
* cannot live on the shared `Adresse` any more than the fields above.
*/
notizen: string | null
}, ExtArgs["result"]["projektAdressDetail"]>
composites: {}
}
export type ProjektAdressDetailGetPayload<S extends boolean | null | undefined | ProjektAdressDetailDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload, S>
export type ProjektAdressDetailCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<ProjektAdressDetailFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: ProjektAdressDetailCountAggregateInputType | true
}
export interface ProjektAdressDetailDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProjektAdressDetail'], meta: { name: 'ProjektAdressDetail' } }
/**
* Find zero or one ProjektAdressDetail that matches the filter.
* @param {ProjektAdressDetailFindUniqueArgs} args - Arguments to find a ProjektAdressDetail
* @example
* // Get one ProjektAdressDetail
* const projektAdressDetail = await prisma.projektAdressDetail.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends ProjektAdressDetailFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjektAdressDetailFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjektAdressDetailClient<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one ProjektAdressDetail that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {ProjektAdressDetailFindUniqueOrThrowArgs} args - Arguments to find a ProjektAdressDetail
* @example
* // Get one ProjektAdressDetail
* const projektAdressDetail = await prisma.projektAdressDetail.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends ProjektAdressDetailFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjektAdressDetailFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektAdressDetailClient<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first ProjektAdressDetail 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 {ProjektAdressDetailFindFirstArgs} args - Arguments to find a ProjektAdressDetail
* @example
* // Get one ProjektAdressDetail
* const projektAdressDetail = await prisma.projektAdressDetail.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends ProjektAdressDetailFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjektAdressDetailFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjektAdressDetailClient<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first ProjektAdressDetail 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 {ProjektAdressDetailFindFirstOrThrowArgs} args - Arguments to find a ProjektAdressDetail
* @example
* // Get one ProjektAdressDetail
* const projektAdressDetail = await prisma.projektAdressDetail.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends ProjektAdressDetailFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjektAdressDetailFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektAdressDetailClient<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more ProjektAdressDetails 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 {ProjektAdressDetailFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all ProjektAdressDetails
* const projektAdressDetails = await prisma.projektAdressDetail.findMany()
*
* // Get first 10 ProjektAdressDetails
* const projektAdressDetails = await prisma.projektAdressDetail.findMany({ take: 10 })
*
* // Only select the `id`
* const projektAdressDetailWithIdOnly = await prisma.projektAdressDetail.findMany({ select: { id: true } })
*
*/
findMany<T extends ProjektAdressDetailFindManyArgs>(args?: Prisma.SelectSubset<T, ProjektAdressDetailFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a ProjektAdressDetail.
* @param {ProjektAdressDetailCreateArgs} args - Arguments to create a ProjektAdressDetail.
* @example
* // Create one ProjektAdressDetail
* const ProjektAdressDetail = await prisma.projektAdressDetail.create({
* data: {
* // ... data to create a ProjektAdressDetail
* }
* })
*
*/
create<T extends ProjektAdressDetailCreateArgs>(args: Prisma.SelectSubset<T, ProjektAdressDetailCreateArgs<ExtArgs>>): Prisma.Prisma__ProjektAdressDetailClient<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many ProjektAdressDetails.
* @param {ProjektAdressDetailCreateManyArgs} args - Arguments to create many ProjektAdressDetails.
* @example
* // Create many ProjektAdressDetails
* const projektAdressDetail = await prisma.projektAdressDetail.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends ProjektAdressDetailCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjektAdressDetailCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many ProjektAdressDetails and returns the data saved in the database.
* @param {ProjektAdressDetailCreateManyAndReturnArgs} args - Arguments to create many ProjektAdressDetails.
* @example
* // Create many ProjektAdressDetails
* const projektAdressDetail = await prisma.projektAdressDetail.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many ProjektAdressDetails and only return the `id`
* const projektAdressDetailWithIdOnly = await prisma.projektAdressDetail.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 ProjektAdressDetailCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjektAdressDetailCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a ProjektAdressDetail.
* @param {ProjektAdressDetailDeleteArgs} args - Arguments to delete one ProjektAdressDetail.
* @example
* // Delete one ProjektAdressDetail
* const ProjektAdressDetail = await prisma.projektAdressDetail.delete({
* where: {
* // ... filter to delete one ProjektAdressDetail
* }
* })
*
*/
delete<T extends ProjektAdressDetailDeleteArgs>(args: Prisma.SelectSubset<T, ProjektAdressDetailDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjektAdressDetailClient<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one ProjektAdressDetail.
* @param {ProjektAdressDetailUpdateArgs} args - Arguments to update one ProjektAdressDetail.
* @example
* // Update one ProjektAdressDetail
* const projektAdressDetail = await prisma.projektAdressDetail.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends ProjektAdressDetailUpdateArgs>(args: Prisma.SelectSubset<T, ProjektAdressDetailUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjektAdressDetailClient<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more ProjektAdressDetails.
* @param {ProjektAdressDetailDeleteManyArgs} args - Arguments to filter ProjektAdressDetails to delete.
* @example
* // Delete a few ProjektAdressDetails
* const { count } = await prisma.projektAdressDetail.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends ProjektAdressDetailDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjektAdressDetailDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more ProjektAdressDetails.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektAdressDetailUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many ProjektAdressDetails
* const projektAdressDetail = await prisma.projektAdressDetail.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends ProjektAdressDetailUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjektAdressDetailUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more ProjektAdressDetails and returns the data updated in the database.
* @param {ProjektAdressDetailUpdateManyAndReturnArgs} args - Arguments to update many ProjektAdressDetails.
* @example
* // Update many ProjektAdressDetails
* const projektAdressDetail = await prisma.projektAdressDetail.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more ProjektAdressDetails and only return the `id`
* const projektAdressDetailWithIdOnly = await prisma.projektAdressDetail.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 ProjektAdressDetailUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjektAdressDetailUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one ProjektAdressDetail.
* @param {ProjektAdressDetailUpsertArgs} args - Arguments to update or create a ProjektAdressDetail.
* @example
* // Update or create a ProjektAdressDetail
* const projektAdressDetail = await prisma.projektAdressDetail.upsert({
* create: {
* // ... data to create a ProjektAdressDetail
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the ProjektAdressDetail we want to update
* }
* })
*/
upsert<T extends ProjektAdressDetailUpsertArgs>(args: Prisma.SelectSubset<T, ProjektAdressDetailUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjektAdressDetailClient<runtime.Types.Result.GetResult<Prisma.$ProjektAdressDetailPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of ProjektAdressDetails.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektAdressDetailCountArgs} args - Arguments to filter ProjektAdressDetails to count.
* @example
* // Count the number of ProjektAdressDetails
* const count = await prisma.projektAdressDetail.count({
* where: {
* // ... the filter for the ProjektAdressDetails we want to count
* }
* })
**/
count<T extends ProjektAdressDetailCountArgs>(
args?: Prisma.Subset<T, ProjektAdressDetailCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], ProjektAdressDetailCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a ProjektAdressDetail.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektAdressDetailAggregateArgs} 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 ProjektAdressDetailAggregateArgs>(args: Prisma.Subset<T, ProjektAdressDetailAggregateArgs>): Prisma.PrismaPromise<GetProjektAdressDetailAggregateType<T>>
/**
* Group by ProjektAdressDetail.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektAdressDetailGroupByArgs} 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 ProjektAdressDetailGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: ProjektAdressDetailGroupByArgs['orderBy'] }
: { orderBy?: ProjektAdressDetailGroupByArgs['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, ProjektAdressDetailGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjektAdressDetailGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the ProjektAdressDetail model
*/
readonly fields: ProjektAdressDetailFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for ProjektAdressDetail.
* 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__ProjektAdressDetailClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
projekt<T extends Prisma.ProjektDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjektDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjektClient<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the ProjektAdressDetail model
*/
export interface ProjektAdressDetailFieldRefs {
readonly id: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly tenantId: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly createdAt: Prisma.FieldRef<"ProjektAdressDetail", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"ProjektAdressDetail", 'DateTime'>
readonly projektId: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly slot: Prisma.FieldRef<"ProjektAdressDetail", 'ProjektAdressSlot'>
readonly bauabschnitt: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly zufahrt: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly koordinaten: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly empfaenger: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly zahlungsziel: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly rechnungsEmail: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly postErwuenscht: Prisma.FieldRef<"ProjektAdressDetail", 'Boolean'>
readonly telefon: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly ansprechpartnerVorOrt: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
readonly notizen: Prisma.FieldRef<"ProjektAdressDetail", 'String'>
}
// Custom InputTypes
/**
* ProjektAdressDetail findUnique
*/
export type ProjektAdressDetailFindUniqueArgs<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
/**
* Filter, which ProjektAdressDetail to fetch.
*/
where: Prisma.ProjektAdressDetailWhereUniqueInput
}
/**
* ProjektAdressDetail findUniqueOrThrow
*/
export type ProjektAdressDetailFindUniqueOrThrowArgs<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
/**
* Filter, which ProjektAdressDetail to fetch.
*/
where: Prisma.ProjektAdressDetailWhereUniqueInput
}
/**
* ProjektAdressDetail findFirst
*/
export type ProjektAdressDetailFindFirstArgs<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
/**
* Filter, which ProjektAdressDetail to fetch.
*/
where?: Prisma.ProjektAdressDetailWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ProjektAdressDetails to fetch.
*/
orderBy?: Prisma.ProjektAdressDetailOrderByWithRelationInput | Prisma.ProjektAdressDetailOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for ProjektAdressDetails.
*/
cursor?: Prisma.ProjektAdressDetailWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ProjektAdressDetails 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` ProjektAdressDetails.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ProjektAdressDetails.
*/
distinct?: Prisma.ProjektAdressDetailScalarFieldEnum | Prisma.ProjektAdressDetailScalarFieldEnum[]
}
/**
* ProjektAdressDetail findFirstOrThrow
*/
export type ProjektAdressDetailFindFirstOrThrowArgs<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
/**
* Filter, which ProjektAdressDetail to fetch.
*/
where?: Prisma.ProjektAdressDetailWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ProjektAdressDetails to fetch.
*/
orderBy?: Prisma.ProjektAdressDetailOrderByWithRelationInput | Prisma.ProjektAdressDetailOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for ProjektAdressDetails.
*/
cursor?: Prisma.ProjektAdressDetailWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ProjektAdressDetails 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` ProjektAdressDetails.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ProjektAdressDetails.
*/
distinct?: Prisma.ProjektAdressDetailScalarFieldEnum | Prisma.ProjektAdressDetailScalarFieldEnum[]
}
/**
* ProjektAdressDetail findMany
*/
export type ProjektAdressDetailFindManyArgs<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
/**
* Filter, which ProjektAdressDetails to fetch.
*/
where?: Prisma.ProjektAdressDetailWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ProjektAdressDetails to fetch.
*/
orderBy?: Prisma.ProjektAdressDetailOrderByWithRelationInput | Prisma.ProjektAdressDetailOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing ProjektAdressDetails.
*/
cursor?: Prisma.ProjektAdressDetailWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ProjektAdressDetails 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` ProjektAdressDetails.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ProjektAdressDetails.
*/
distinct?: Prisma.ProjektAdressDetailScalarFieldEnum | Prisma.ProjektAdressDetailScalarFieldEnum[]
}
/**
* ProjektAdressDetail create
*/
export type ProjektAdressDetailCreateArgs<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
/**
* The data needed to create a ProjektAdressDetail.
*/
data: Prisma.XOR<Prisma.ProjektAdressDetailCreateInput, Prisma.ProjektAdressDetailUncheckedCreateInput>
}
/**
* ProjektAdressDetail createMany
*/
export type ProjektAdressDetailCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many ProjektAdressDetails.
*/
data: Prisma.ProjektAdressDetailCreateManyInput | Prisma.ProjektAdressDetailCreateManyInput[]
skipDuplicates?: boolean
}
/**
* ProjektAdressDetail createManyAndReturn
*/
export type ProjektAdressDetailCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektAdressDetail
*/
select?: Prisma.ProjektAdressDetailSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the ProjektAdressDetail
*/
omit?: Prisma.ProjektAdressDetailOmit<ExtArgs> | null
/**
* The data used to create many ProjektAdressDetails.
*/
data: Prisma.ProjektAdressDetailCreateManyInput | Prisma.ProjektAdressDetailCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjektAdressDetailIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* ProjektAdressDetail update
*/
export type ProjektAdressDetailUpdateArgs<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
/**
* The data needed to update a ProjektAdressDetail.
*/
data: Prisma.XOR<Prisma.ProjektAdressDetailUpdateInput, Prisma.ProjektAdressDetailUncheckedUpdateInput>
/**
* Choose, which ProjektAdressDetail to update.
*/
where: Prisma.ProjektAdressDetailWhereUniqueInput
}
/**
* ProjektAdressDetail updateMany
*/
export type ProjektAdressDetailUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update ProjektAdressDetails.
*/
data: Prisma.XOR<Prisma.ProjektAdressDetailUpdateManyMutationInput, Prisma.ProjektAdressDetailUncheckedUpdateManyInput>
/**
* Filter which ProjektAdressDetails to update
*/
where?: Prisma.ProjektAdressDetailWhereInput
/**
* Limit how many ProjektAdressDetails to update.
*/
limit?: number
}
/**
* ProjektAdressDetail updateManyAndReturn
*/
export type ProjektAdressDetailUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektAdressDetail
*/
select?: Prisma.ProjektAdressDetailSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the ProjektAdressDetail
*/
omit?: Prisma.ProjektAdressDetailOmit<ExtArgs> | null
/**
* The data used to update ProjektAdressDetails.
*/
data: Prisma.XOR<Prisma.ProjektAdressDetailUpdateManyMutationInput, Prisma.ProjektAdressDetailUncheckedUpdateManyInput>
/**
* Filter which ProjektAdressDetails to update
*/
where?: Prisma.ProjektAdressDetailWhereInput
/**
* Limit how many ProjektAdressDetails to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjektAdressDetailIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* ProjektAdressDetail upsert
*/
export type ProjektAdressDetailUpsertArgs<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
/**
* The filter to search for the ProjektAdressDetail to update in case it exists.
*/
where: Prisma.ProjektAdressDetailWhereUniqueInput
/**
* In case the ProjektAdressDetail found by the `where` argument doesn't exist, create a new ProjektAdressDetail with this data.
*/
create: Prisma.XOR<Prisma.ProjektAdressDetailCreateInput, Prisma.ProjektAdressDetailUncheckedCreateInput>
/**
* In case the ProjektAdressDetail was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.ProjektAdressDetailUpdateInput, Prisma.ProjektAdressDetailUncheckedUpdateInput>
}
/**
* ProjektAdressDetail delete
*/
export type ProjektAdressDetailDeleteArgs<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
/**
* Filter which ProjektAdressDetail to delete.
*/
where: Prisma.ProjektAdressDetailWhereUniqueInput
}
/**
* ProjektAdressDetail deleteMany
*/
export type ProjektAdressDetailDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which ProjektAdressDetails to delete
*/
where?: Prisma.ProjektAdressDetailWhereInput
/**
* Limit how many ProjektAdressDetails to delete.
*/
limit?: number
}
/**
* ProjektAdressDetail without action
*/
export type ProjektAdressDetailDefaultArgs<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
}