Files
T
2026-07-08 16:15:37 +02:00

2558 lines
106 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 `Kontakt` 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 Kontakt
* A contact (Kontakt), the CRM core entity. Oberbegriff for both private persons
* (kontaktTyp = privatperson → vorname/nachname) and organisations
* (kontaktTyp = organisation → orgName/orgMerkmal). Scoped per tenant, soft-delete
* via `archivedAt`. `zustaendigerUserId` is the owner for the crm.read_own filter.
*/
export type KontaktModel = runtime.Types.Result.DefaultSelection<Prisma.$KontaktPayload>
export type AggregateKontakt = {
_count: KontaktCountAggregateOutputType | null
_min: KontaktMinAggregateOutputType | null
_max: KontaktMaxAggregateOutputType | null
}
export type KontaktMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
createdByUserId: string | null
kontaktTyp: $Enums.KontaktTyp | null
kontaktStatus: $Enums.KontaktStatus | null
vorname: string | null
nachname: string | null
orgName: string | null
orgMerkmal: $Enums.OrgMerkmal | null
primaerEmail: string | null
primaerTelefon: string | null
adresseId: string | null
zustaendigerUserId: string | null
language: string | null
isDemoData: boolean | null
archivedAt: Date | null
}
export type KontaktMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
createdByUserId: string | null
kontaktTyp: $Enums.KontaktTyp | null
kontaktStatus: $Enums.KontaktStatus | null
vorname: string | null
nachname: string | null
orgName: string | null
orgMerkmal: $Enums.OrgMerkmal | null
primaerEmail: string | null
primaerTelefon: string | null
adresseId: string | null
zustaendigerUserId: string | null
language: string | null
isDemoData: boolean | null
archivedAt: Date | null
}
export type KontaktCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
tenantId: number
createdByUserId: number
kontaktTyp: number
kontaktStatus: number
vorname: number
nachname: number
orgName: number
orgMerkmal: number
primaerEmail: number
primaerTelefon: number
adresseId: number
zustaendigerUserId: number
language: number
isDemoData: number
archivedAt: number
_all: number
}
export type KontaktMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
createdByUserId?: true
kontaktTyp?: true
kontaktStatus?: true
vorname?: true
nachname?: true
orgName?: true
orgMerkmal?: true
primaerEmail?: true
primaerTelefon?: true
adresseId?: true
zustaendigerUserId?: true
language?: true
isDemoData?: true
archivedAt?: true
}
export type KontaktMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
createdByUserId?: true
kontaktTyp?: true
kontaktStatus?: true
vorname?: true
nachname?: true
orgName?: true
orgMerkmal?: true
primaerEmail?: true
primaerTelefon?: true
adresseId?: true
zustaendigerUserId?: true
language?: true
isDemoData?: true
archivedAt?: true
}
export type KontaktCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
createdByUserId?: true
kontaktTyp?: true
kontaktStatus?: true
vorname?: true
nachname?: true
orgName?: true
orgMerkmal?: true
primaerEmail?: true
primaerTelefon?: true
adresseId?: true
zustaendigerUserId?: true
language?: true
isDemoData?: true
archivedAt?: true
_all?: true
}
export type KontaktAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which Kontakt to aggregate.
*/
where?: Prisma.KontaktWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Kontakts to fetch.
*/
orderBy?: Prisma.KontaktOrderByWithRelationInput | Prisma.KontaktOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.KontaktWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Kontakts 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` Kontakts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned Kontakts
**/
_count?: true | KontaktCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: KontaktMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: KontaktMaxAggregateInputType
}
export type GetKontaktAggregateType<T extends KontaktAggregateArgs> = {
[P in keyof T & keyof AggregateKontakt]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateKontakt[P]>
: Prisma.GetScalarType<T[P], AggregateKontakt[P]>
}
export type KontaktGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.KontaktWhereInput
orderBy?: Prisma.KontaktOrderByWithAggregationInput | Prisma.KontaktOrderByWithAggregationInput[]
by: Prisma.KontaktScalarFieldEnum[] | Prisma.KontaktScalarFieldEnum
having?: Prisma.KontaktScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: KontaktCountAggregateInputType | true
_min?: KontaktMinAggregateInputType
_max?: KontaktMaxAggregateInputType
}
export type KontaktGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus: $Enums.KontaktStatus
vorname: string | null
nachname: string | null
orgName: string | null
orgMerkmal: $Enums.OrgMerkmal | null
primaerEmail: string | null
primaerTelefon: string | null
adresseId: string | null
zustaendigerUserId: string | null
language: string | null
isDemoData: boolean
archivedAt: Date | null
_count: KontaktCountAggregateOutputType | null
_min: KontaktMinAggregateOutputType | null
_max: KontaktMaxAggregateOutputType | null
}
export type GetKontaktGroupByPayload<T extends KontaktGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<KontaktGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof KontaktGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], KontaktGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], KontaktGroupByOutputType[P]>
}
>
>
export type KontaktWhereInput = {
AND?: Prisma.KontaktWhereInput | Prisma.KontaktWhereInput[]
OR?: Prisma.KontaktWhereInput[]
NOT?: Prisma.KontaktWhereInput | Prisma.KontaktWhereInput[]
id?: Prisma.StringFilter<"Kontakt"> | string
createdAt?: Prisma.DateTimeFilter<"Kontakt"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"Kontakt"> | Date | string
tenantId?: Prisma.StringFilter<"Kontakt"> | string
createdByUserId?: Prisma.StringFilter<"Kontakt"> | string
kontaktTyp?: Prisma.EnumKontaktTypFilter<"Kontakt"> | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFilter<"Kontakt"> | $Enums.KontaktStatus
vorname?: Prisma.StringNullableFilter<"Kontakt"> | string | null
nachname?: Prisma.StringNullableFilter<"Kontakt"> | string | null
orgName?: Prisma.StringNullableFilter<"Kontakt"> | string | null
orgMerkmal?: Prisma.EnumOrgMerkmalNullableFilter<"Kontakt"> | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.StringNullableFilter<"Kontakt"> | string | null
primaerTelefon?: Prisma.StringNullableFilter<"Kontakt"> | string | null
adresseId?: Prisma.StringNullableFilter<"Kontakt"> | string | null
zustaendigerUserId?: Prisma.StringNullableFilter<"Kontakt"> | string | null
language?: Prisma.StringNullableFilter<"Kontakt"> | string | null
isDemoData?: Prisma.BoolFilter<"Kontakt"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"Kontakt"> | Date | string | null
adresse?: Prisma.XOR<Prisma.AdresseNullableScalarRelationFilter, Prisma.AdresseWhereInput> | null
emails?: Prisma.KontaktEmailListRelationFilter
telefone?: Prisma.KontaktTelefonListRelationFilter
relationenVon?: Prisma.KontaktRelationListRelationFilter
relationenZu?: Prisma.KontaktRelationListRelationFilter
}
export type KontaktOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
kontaktTyp?: Prisma.SortOrder
kontaktStatus?: Prisma.SortOrder
vorname?: Prisma.SortOrderInput | Prisma.SortOrder
nachname?: Prisma.SortOrderInput | Prisma.SortOrder
orgName?: Prisma.SortOrderInput | Prisma.SortOrder
orgMerkmal?: Prisma.SortOrderInput | Prisma.SortOrder
primaerEmail?: Prisma.SortOrderInput | Prisma.SortOrder
primaerTelefon?: Prisma.SortOrderInput | Prisma.SortOrder
adresseId?: Prisma.SortOrderInput | Prisma.SortOrder
zustaendigerUserId?: Prisma.SortOrderInput | Prisma.SortOrder
language?: Prisma.SortOrderInput | Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
adresse?: Prisma.AdresseOrderByWithRelationInput
emails?: Prisma.KontaktEmailOrderByRelationAggregateInput
telefone?: Prisma.KontaktTelefonOrderByRelationAggregateInput
relationenVon?: Prisma.KontaktRelationOrderByRelationAggregateInput
relationenZu?: Prisma.KontaktRelationOrderByRelationAggregateInput
}
export type KontaktWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.KontaktWhereInput | Prisma.KontaktWhereInput[]
OR?: Prisma.KontaktWhereInput[]
NOT?: Prisma.KontaktWhereInput | Prisma.KontaktWhereInput[]
createdAt?: Prisma.DateTimeFilter<"Kontakt"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"Kontakt"> | Date | string
tenantId?: Prisma.StringFilter<"Kontakt"> | string
createdByUserId?: Prisma.StringFilter<"Kontakt"> | string
kontaktTyp?: Prisma.EnumKontaktTypFilter<"Kontakt"> | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFilter<"Kontakt"> | $Enums.KontaktStatus
vorname?: Prisma.StringNullableFilter<"Kontakt"> | string | null
nachname?: Prisma.StringNullableFilter<"Kontakt"> | string | null
orgName?: Prisma.StringNullableFilter<"Kontakt"> | string | null
orgMerkmal?: Prisma.EnumOrgMerkmalNullableFilter<"Kontakt"> | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.StringNullableFilter<"Kontakt"> | string | null
primaerTelefon?: Prisma.StringNullableFilter<"Kontakt"> | string | null
adresseId?: Prisma.StringNullableFilter<"Kontakt"> | string | null
zustaendigerUserId?: Prisma.StringNullableFilter<"Kontakt"> | string | null
language?: Prisma.StringNullableFilter<"Kontakt"> | string | null
isDemoData?: Prisma.BoolFilter<"Kontakt"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"Kontakt"> | Date | string | null
adresse?: Prisma.XOR<Prisma.AdresseNullableScalarRelationFilter, Prisma.AdresseWhereInput> | null
emails?: Prisma.KontaktEmailListRelationFilter
telefone?: Prisma.KontaktTelefonListRelationFilter
relationenVon?: Prisma.KontaktRelationListRelationFilter
relationenZu?: Prisma.KontaktRelationListRelationFilter
}, "id">
export type KontaktOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
kontaktTyp?: Prisma.SortOrder
kontaktStatus?: Prisma.SortOrder
vorname?: Prisma.SortOrderInput | Prisma.SortOrder
nachname?: Prisma.SortOrderInput | Prisma.SortOrder
orgName?: Prisma.SortOrderInput | Prisma.SortOrder
orgMerkmal?: Prisma.SortOrderInput | Prisma.SortOrder
primaerEmail?: Prisma.SortOrderInput | Prisma.SortOrder
primaerTelefon?: Prisma.SortOrderInput | Prisma.SortOrder
adresseId?: Prisma.SortOrderInput | Prisma.SortOrder
zustaendigerUserId?: Prisma.SortOrderInput | Prisma.SortOrder
language?: Prisma.SortOrderInput | Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.KontaktCountOrderByAggregateInput
_max?: Prisma.KontaktMaxOrderByAggregateInput
_min?: Prisma.KontaktMinOrderByAggregateInput
}
export type KontaktScalarWhereWithAggregatesInput = {
AND?: Prisma.KontaktScalarWhereWithAggregatesInput | Prisma.KontaktScalarWhereWithAggregatesInput[]
OR?: Prisma.KontaktScalarWhereWithAggregatesInput[]
NOT?: Prisma.KontaktScalarWhereWithAggregatesInput | Prisma.KontaktScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"Kontakt"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Kontakt"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Kontakt"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"Kontakt"> | string
createdByUserId?: Prisma.StringWithAggregatesFilter<"Kontakt"> | string
kontaktTyp?: Prisma.EnumKontaktTypWithAggregatesFilter<"Kontakt"> | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusWithAggregatesFilter<"Kontakt"> | $Enums.KontaktStatus
vorname?: Prisma.StringNullableWithAggregatesFilter<"Kontakt"> | string | null
nachname?: Prisma.StringNullableWithAggregatesFilter<"Kontakt"> | string | null
orgName?: Prisma.StringNullableWithAggregatesFilter<"Kontakt"> | string | null
orgMerkmal?: Prisma.EnumOrgMerkmalNullableWithAggregatesFilter<"Kontakt"> | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.StringNullableWithAggregatesFilter<"Kontakt"> | string | null
primaerTelefon?: Prisma.StringNullableWithAggregatesFilter<"Kontakt"> | string | null
adresseId?: Prisma.StringNullableWithAggregatesFilter<"Kontakt"> | string | null
zustaendigerUserId?: Prisma.StringNullableWithAggregatesFilter<"Kontakt"> | string | null
language?: Prisma.StringNullableWithAggregatesFilter<"Kontakt"> | string | null
isDemoData?: Prisma.BoolWithAggregatesFilter<"Kontakt"> | boolean
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Kontakt"> | Date | string | null
}
export type KontaktCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
adresse?: Prisma.AdresseCreateNestedOneWithoutKontakteInput
emails?: Prisma.KontaktEmailCreateNestedManyWithoutKontaktInput
telefone?: Prisma.KontaktTelefonCreateNestedManyWithoutKontaktInput
relationenVon?: Prisma.KontaktRelationCreateNestedManyWithoutVonKontaktInput
relationenZu?: Prisma.KontaktRelationCreateNestedManyWithoutZuKontaktInput
}
export type KontaktUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
adresseId?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
emails?: Prisma.KontaktEmailUncheckedCreateNestedManyWithoutKontaktInput
telefone?: Prisma.KontaktTelefonUncheckedCreateNestedManyWithoutKontaktInput
relationenVon?: Prisma.KontaktRelationUncheckedCreateNestedManyWithoutVonKontaktInput
relationenZu?: Prisma.KontaktRelationUncheckedCreateNestedManyWithoutZuKontaktInput
}
export type KontaktUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adresse?: Prisma.AdresseUpdateOneWithoutKontakteNestedInput
emails?: Prisma.KontaktEmailUpdateManyWithoutKontaktNestedInput
telefone?: Prisma.KontaktTelefonUpdateManyWithoutKontaktNestedInput
relationenVon?: Prisma.KontaktRelationUpdateManyWithoutVonKontaktNestedInput
relationenZu?: Prisma.KontaktRelationUpdateManyWithoutZuKontaktNestedInput
}
export type KontaktUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
adresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
emails?: Prisma.KontaktEmailUncheckedUpdateManyWithoutKontaktNestedInput
telefone?: Prisma.KontaktTelefonUncheckedUpdateManyWithoutKontaktNestedInput
relationenVon?: Prisma.KontaktRelationUncheckedUpdateManyWithoutVonKontaktNestedInput
relationenZu?: Prisma.KontaktRelationUncheckedUpdateManyWithoutZuKontaktNestedInput
}
export type KontaktCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
adresseId?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type KontaktUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type KontaktUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
adresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type KontaktCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
kontaktTyp?: Prisma.SortOrder
kontaktStatus?: Prisma.SortOrder
vorname?: Prisma.SortOrder
nachname?: Prisma.SortOrder
orgName?: Prisma.SortOrder
orgMerkmal?: Prisma.SortOrder
primaerEmail?: Prisma.SortOrder
primaerTelefon?: Prisma.SortOrder
adresseId?: Prisma.SortOrder
zustaendigerUserId?: Prisma.SortOrder
language?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type KontaktMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
kontaktTyp?: Prisma.SortOrder
kontaktStatus?: Prisma.SortOrder
vorname?: Prisma.SortOrder
nachname?: Prisma.SortOrder
orgName?: Prisma.SortOrder
orgMerkmal?: Prisma.SortOrder
primaerEmail?: Prisma.SortOrder
primaerTelefon?: Prisma.SortOrder
adresseId?: Prisma.SortOrder
zustaendigerUserId?: Prisma.SortOrder
language?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type KontaktMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
kontaktTyp?: Prisma.SortOrder
kontaktStatus?: Prisma.SortOrder
vorname?: Prisma.SortOrder
nachname?: Prisma.SortOrder
orgName?: Prisma.SortOrder
orgMerkmal?: Prisma.SortOrder
primaerEmail?: Prisma.SortOrder
primaerTelefon?: Prisma.SortOrder
adresseId?: Prisma.SortOrder
zustaendigerUserId?: Prisma.SortOrder
language?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type KontaktScalarRelationFilter = {
is?: Prisma.KontaktWhereInput
isNot?: Prisma.KontaktWhereInput
}
export type KontaktListRelationFilter = {
every?: Prisma.KontaktWhereInput
some?: Prisma.KontaktWhereInput
none?: Prisma.KontaktWhereInput
}
export type KontaktOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type EnumKontaktTypFieldUpdateOperationsInput = {
set?: $Enums.KontaktTyp
}
export type EnumKontaktStatusFieldUpdateOperationsInput = {
set?: $Enums.KontaktStatus
}
export type NullableEnumOrgMerkmalFieldUpdateOperationsInput = {
set?: $Enums.OrgMerkmal | null
}
export type KontaktCreateNestedOneWithoutRelationenVonInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutRelationenVonInput, Prisma.KontaktUncheckedCreateWithoutRelationenVonInput>
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutRelationenVonInput
connect?: Prisma.KontaktWhereUniqueInput
}
export type KontaktCreateNestedOneWithoutRelationenZuInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutRelationenZuInput, Prisma.KontaktUncheckedCreateWithoutRelationenZuInput>
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutRelationenZuInput
connect?: Prisma.KontaktWhereUniqueInput
}
export type KontaktUpdateOneRequiredWithoutRelationenVonNestedInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutRelationenVonInput, Prisma.KontaktUncheckedCreateWithoutRelationenVonInput>
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutRelationenVonInput
upsert?: Prisma.KontaktUpsertWithoutRelationenVonInput
connect?: Prisma.KontaktWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.KontaktUpdateToOneWithWhereWithoutRelationenVonInput, Prisma.KontaktUpdateWithoutRelationenVonInput>, Prisma.KontaktUncheckedUpdateWithoutRelationenVonInput>
}
export type KontaktUpdateOneRequiredWithoutRelationenZuNestedInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutRelationenZuInput, Prisma.KontaktUncheckedCreateWithoutRelationenZuInput>
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutRelationenZuInput
upsert?: Prisma.KontaktUpsertWithoutRelationenZuInput
connect?: Prisma.KontaktWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.KontaktUpdateToOneWithWhereWithoutRelationenZuInput, Prisma.KontaktUpdateWithoutRelationenZuInput>, Prisma.KontaktUncheckedUpdateWithoutRelationenZuInput>
}
export type KontaktCreateNestedOneWithoutEmailsInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutEmailsInput, Prisma.KontaktUncheckedCreateWithoutEmailsInput>
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutEmailsInput
connect?: Prisma.KontaktWhereUniqueInput
}
export type KontaktUpdateOneRequiredWithoutEmailsNestedInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutEmailsInput, Prisma.KontaktUncheckedCreateWithoutEmailsInput>
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutEmailsInput
upsert?: Prisma.KontaktUpsertWithoutEmailsInput
connect?: Prisma.KontaktWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.KontaktUpdateToOneWithWhereWithoutEmailsInput, Prisma.KontaktUpdateWithoutEmailsInput>, Prisma.KontaktUncheckedUpdateWithoutEmailsInput>
}
export type KontaktCreateNestedOneWithoutTelefoneInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutTelefoneInput, Prisma.KontaktUncheckedCreateWithoutTelefoneInput>
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutTelefoneInput
connect?: Prisma.KontaktWhereUniqueInput
}
export type KontaktUpdateOneRequiredWithoutTelefoneNestedInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutTelefoneInput, Prisma.KontaktUncheckedCreateWithoutTelefoneInput>
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutTelefoneInput
upsert?: Prisma.KontaktUpsertWithoutTelefoneInput
connect?: Prisma.KontaktWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.KontaktUpdateToOneWithWhereWithoutTelefoneInput, Prisma.KontaktUpdateWithoutTelefoneInput>, Prisma.KontaktUncheckedUpdateWithoutTelefoneInput>
}
export type KontaktCreateNestedManyWithoutAdresseInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutAdresseInput, Prisma.KontaktUncheckedCreateWithoutAdresseInput> | Prisma.KontaktCreateWithoutAdresseInput[] | Prisma.KontaktUncheckedCreateWithoutAdresseInput[]
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutAdresseInput | Prisma.KontaktCreateOrConnectWithoutAdresseInput[]
createMany?: Prisma.KontaktCreateManyAdresseInputEnvelope
connect?: Prisma.KontaktWhereUniqueInput | Prisma.KontaktWhereUniqueInput[]
}
export type KontaktUncheckedCreateNestedManyWithoutAdresseInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutAdresseInput, Prisma.KontaktUncheckedCreateWithoutAdresseInput> | Prisma.KontaktCreateWithoutAdresseInput[] | Prisma.KontaktUncheckedCreateWithoutAdresseInput[]
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutAdresseInput | Prisma.KontaktCreateOrConnectWithoutAdresseInput[]
createMany?: Prisma.KontaktCreateManyAdresseInputEnvelope
connect?: Prisma.KontaktWhereUniqueInput | Prisma.KontaktWhereUniqueInput[]
}
export type KontaktUpdateManyWithoutAdresseNestedInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutAdresseInput, Prisma.KontaktUncheckedCreateWithoutAdresseInput> | Prisma.KontaktCreateWithoutAdresseInput[] | Prisma.KontaktUncheckedCreateWithoutAdresseInput[]
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutAdresseInput | Prisma.KontaktCreateOrConnectWithoutAdresseInput[]
upsert?: Prisma.KontaktUpsertWithWhereUniqueWithoutAdresseInput | Prisma.KontaktUpsertWithWhereUniqueWithoutAdresseInput[]
createMany?: Prisma.KontaktCreateManyAdresseInputEnvelope
set?: Prisma.KontaktWhereUniqueInput | Prisma.KontaktWhereUniqueInput[]
disconnect?: Prisma.KontaktWhereUniqueInput | Prisma.KontaktWhereUniqueInput[]
delete?: Prisma.KontaktWhereUniqueInput | Prisma.KontaktWhereUniqueInput[]
connect?: Prisma.KontaktWhereUniqueInput | Prisma.KontaktWhereUniqueInput[]
update?: Prisma.KontaktUpdateWithWhereUniqueWithoutAdresseInput | Prisma.KontaktUpdateWithWhereUniqueWithoutAdresseInput[]
updateMany?: Prisma.KontaktUpdateManyWithWhereWithoutAdresseInput | Prisma.KontaktUpdateManyWithWhereWithoutAdresseInput[]
deleteMany?: Prisma.KontaktScalarWhereInput | Prisma.KontaktScalarWhereInput[]
}
export type KontaktUncheckedUpdateManyWithoutAdresseNestedInput = {
create?: Prisma.XOR<Prisma.KontaktCreateWithoutAdresseInput, Prisma.KontaktUncheckedCreateWithoutAdresseInput> | Prisma.KontaktCreateWithoutAdresseInput[] | Prisma.KontaktUncheckedCreateWithoutAdresseInput[]
connectOrCreate?: Prisma.KontaktCreateOrConnectWithoutAdresseInput | Prisma.KontaktCreateOrConnectWithoutAdresseInput[]
upsert?: Prisma.KontaktUpsertWithWhereUniqueWithoutAdresseInput | Prisma.KontaktUpsertWithWhereUniqueWithoutAdresseInput[]
createMany?: Prisma.KontaktCreateManyAdresseInputEnvelope
set?: Prisma.KontaktWhereUniqueInput | Prisma.KontaktWhereUniqueInput[]
disconnect?: Prisma.KontaktWhereUniqueInput | Prisma.KontaktWhereUniqueInput[]
delete?: Prisma.KontaktWhereUniqueInput | Prisma.KontaktWhereUniqueInput[]
connect?: Prisma.KontaktWhereUniqueInput | Prisma.KontaktWhereUniqueInput[]
update?: Prisma.KontaktUpdateWithWhereUniqueWithoutAdresseInput | Prisma.KontaktUpdateWithWhereUniqueWithoutAdresseInput[]
updateMany?: Prisma.KontaktUpdateManyWithWhereWithoutAdresseInput | Prisma.KontaktUpdateManyWithWhereWithoutAdresseInput[]
deleteMany?: Prisma.KontaktScalarWhereInput | Prisma.KontaktScalarWhereInput[]
}
export type KontaktCreateWithoutRelationenVonInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
adresse?: Prisma.AdresseCreateNestedOneWithoutKontakteInput
emails?: Prisma.KontaktEmailCreateNestedManyWithoutKontaktInput
telefone?: Prisma.KontaktTelefonCreateNestedManyWithoutKontaktInput
relationenZu?: Prisma.KontaktRelationCreateNestedManyWithoutZuKontaktInput
}
export type KontaktUncheckedCreateWithoutRelationenVonInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
adresseId?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
emails?: Prisma.KontaktEmailUncheckedCreateNestedManyWithoutKontaktInput
telefone?: Prisma.KontaktTelefonUncheckedCreateNestedManyWithoutKontaktInput
relationenZu?: Prisma.KontaktRelationUncheckedCreateNestedManyWithoutZuKontaktInput
}
export type KontaktCreateOrConnectWithoutRelationenVonInput = {
where: Prisma.KontaktWhereUniqueInput
create: Prisma.XOR<Prisma.KontaktCreateWithoutRelationenVonInput, Prisma.KontaktUncheckedCreateWithoutRelationenVonInput>
}
export type KontaktCreateWithoutRelationenZuInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
adresse?: Prisma.AdresseCreateNestedOneWithoutKontakteInput
emails?: Prisma.KontaktEmailCreateNestedManyWithoutKontaktInput
telefone?: Prisma.KontaktTelefonCreateNestedManyWithoutKontaktInput
relationenVon?: Prisma.KontaktRelationCreateNestedManyWithoutVonKontaktInput
}
export type KontaktUncheckedCreateWithoutRelationenZuInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
adresseId?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
emails?: Prisma.KontaktEmailUncheckedCreateNestedManyWithoutKontaktInput
telefone?: Prisma.KontaktTelefonUncheckedCreateNestedManyWithoutKontaktInput
relationenVon?: Prisma.KontaktRelationUncheckedCreateNestedManyWithoutVonKontaktInput
}
export type KontaktCreateOrConnectWithoutRelationenZuInput = {
where: Prisma.KontaktWhereUniqueInput
create: Prisma.XOR<Prisma.KontaktCreateWithoutRelationenZuInput, Prisma.KontaktUncheckedCreateWithoutRelationenZuInput>
}
export type KontaktUpsertWithoutRelationenVonInput = {
update: Prisma.XOR<Prisma.KontaktUpdateWithoutRelationenVonInput, Prisma.KontaktUncheckedUpdateWithoutRelationenVonInput>
create: Prisma.XOR<Prisma.KontaktCreateWithoutRelationenVonInput, Prisma.KontaktUncheckedCreateWithoutRelationenVonInput>
where?: Prisma.KontaktWhereInput
}
export type KontaktUpdateToOneWithWhereWithoutRelationenVonInput = {
where?: Prisma.KontaktWhereInput
data: Prisma.XOR<Prisma.KontaktUpdateWithoutRelationenVonInput, Prisma.KontaktUncheckedUpdateWithoutRelationenVonInput>
}
export type KontaktUpdateWithoutRelationenVonInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adresse?: Prisma.AdresseUpdateOneWithoutKontakteNestedInput
emails?: Prisma.KontaktEmailUpdateManyWithoutKontaktNestedInput
telefone?: Prisma.KontaktTelefonUpdateManyWithoutKontaktNestedInput
relationenZu?: Prisma.KontaktRelationUpdateManyWithoutZuKontaktNestedInput
}
export type KontaktUncheckedUpdateWithoutRelationenVonInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
adresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
emails?: Prisma.KontaktEmailUncheckedUpdateManyWithoutKontaktNestedInput
telefone?: Prisma.KontaktTelefonUncheckedUpdateManyWithoutKontaktNestedInput
relationenZu?: Prisma.KontaktRelationUncheckedUpdateManyWithoutZuKontaktNestedInput
}
export type KontaktUpsertWithoutRelationenZuInput = {
update: Prisma.XOR<Prisma.KontaktUpdateWithoutRelationenZuInput, Prisma.KontaktUncheckedUpdateWithoutRelationenZuInput>
create: Prisma.XOR<Prisma.KontaktCreateWithoutRelationenZuInput, Prisma.KontaktUncheckedCreateWithoutRelationenZuInput>
where?: Prisma.KontaktWhereInput
}
export type KontaktUpdateToOneWithWhereWithoutRelationenZuInput = {
where?: Prisma.KontaktWhereInput
data: Prisma.XOR<Prisma.KontaktUpdateWithoutRelationenZuInput, Prisma.KontaktUncheckedUpdateWithoutRelationenZuInput>
}
export type KontaktUpdateWithoutRelationenZuInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adresse?: Prisma.AdresseUpdateOneWithoutKontakteNestedInput
emails?: Prisma.KontaktEmailUpdateManyWithoutKontaktNestedInput
telefone?: Prisma.KontaktTelefonUpdateManyWithoutKontaktNestedInput
relationenVon?: Prisma.KontaktRelationUpdateManyWithoutVonKontaktNestedInput
}
export type KontaktUncheckedUpdateWithoutRelationenZuInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
adresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
emails?: Prisma.KontaktEmailUncheckedUpdateManyWithoutKontaktNestedInput
telefone?: Prisma.KontaktTelefonUncheckedUpdateManyWithoutKontaktNestedInput
relationenVon?: Prisma.KontaktRelationUncheckedUpdateManyWithoutVonKontaktNestedInput
}
export type KontaktCreateWithoutEmailsInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
adresse?: Prisma.AdresseCreateNestedOneWithoutKontakteInput
telefone?: Prisma.KontaktTelefonCreateNestedManyWithoutKontaktInput
relationenVon?: Prisma.KontaktRelationCreateNestedManyWithoutVonKontaktInput
relationenZu?: Prisma.KontaktRelationCreateNestedManyWithoutZuKontaktInput
}
export type KontaktUncheckedCreateWithoutEmailsInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
adresseId?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
telefone?: Prisma.KontaktTelefonUncheckedCreateNestedManyWithoutKontaktInput
relationenVon?: Prisma.KontaktRelationUncheckedCreateNestedManyWithoutVonKontaktInput
relationenZu?: Prisma.KontaktRelationUncheckedCreateNestedManyWithoutZuKontaktInput
}
export type KontaktCreateOrConnectWithoutEmailsInput = {
where: Prisma.KontaktWhereUniqueInput
create: Prisma.XOR<Prisma.KontaktCreateWithoutEmailsInput, Prisma.KontaktUncheckedCreateWithoutEmailsInput>
}
export type KontaktUpsertWithoutEmailsInput = {
update: Prisma.XOR<Prisma.KontaktUpdateWithoutEmailsInput, Prisma.KontaktUncheckedUpdateWithoutEmailsInput>
create: Prisma.XOR<Prisma.KontaktCreateWithoutEmailsInput, Prisma.KontaktUncheckedCreateWithoutEmailsInput>
where?: Prisma.KontaktWhereInput
}
export type KontaktUpdateToOneWithWhereWithoutEmailsInput = {
where?: Prisma.KontaktWhereInput
data: Prisma.XOR<Prisma.KontaktUpdateWithoutEmailsInput, Prisma.KontaktUncheckedUpdateWithoutEmailsInput>
}
export type KontaktUpdateWithoutEmailsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adresse?: Prisma.AdresseUpdateOneWithoutKontakteNestedInput
telefone?: Prisma.KontaktTelefonUpdateManyWithoutKontaktNestedInput
relationenVon?: Prisma.KontaktRelationUpdateManyWithoutVonKontaktNestedInput
relationenZu?: Prisma.KontaktRelationUpdateManyWithoutZuKontaktNestedInput
}
export type KontaktUncheckedUpdateWithoutEmailsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
adresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
telefone?: Prisma.KontaktTelefonUncheckedUpdateManyWithoutKontaktNestedInput
relationenVon?: Prisma.KontaktRelationUncheckedUpdateManyWithoutVonKontaktNestedInput
relationenZu?: Prisma.KontaktRelationUncheckedUpdateManyWithoutZuKontaktNestedInput
}
export type KontaktCreateWithoutTelefoneInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
adresse?: Prisma.AdresseCreateNestedOneWithoutKontakteInput
emails?: Prisma.KontaktEmailCreateNestedManyWithoutKontaktInput
relationenVon?: Prisma.KontaktRelationCreateNestedManyWithoutVonKontaktInput
relationenZu?: Prisma.KontaktRelationCreateNestedManyWithoutZuKontaktInput
}
export type KontaktUncheckedCreateWithoutTelefoneInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
adresseId?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
emails?: Prisma.KontaktEmailUncheckedCreateNestedManyWithoutKontaktInput
relationenVon?: Prisma.KontaktRelationUncheckedCreateNestedManyWithoutVonKontaktInput
relationenZu?: Prisma.KontaktRelationUncheckedCreateNestedManyWithoutZuKontaktInput
}
export type KontaktCreateOrConnectWithoutTelefoneInput = {
where: Prisma.KontaktWhereUniqueInput
create: Prisma.XOR<Prisma.KontaktCreateWithoutTelefoneInput, Prisma.KontaktUncheckedCreateWithoutTelefoneInput>
}
export type KontaktUpsertWithoutTelefoneInput = {
update: Prisma.XOR<Prisma.KontaktUpdateWithoutTelefoneInput, Prisma.KontaktUncheckedUpdateWithoutTelefoneInput>
create: Prisma.XOR<Prisma.KontaktCreateWithoutTelefoneInput, Prisma.KontaktUncheckedCreateWithoutTelefoneInput>
where?: Prisma.KontaktWhereInput
}
export type KontaktUpdateToOneWithWhereWithoutTelefoneInput = {
where?: Prisma.KontaktWhereInput
data: Prisma.XOR<Prisma.KontaktUpdateWithoutTelefoneInput, Prisma.KontaktUncheckedUpdateWithoutTelefoneInput>
}
export type KontaktUpdateWithoutTelefoneInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adresse?: Prisma.AdresseUpdateOneWithoutKontakteNestedInput
emails?: Prisma.KontaktEmailUpdateManyWithoutKontaktNestedInput
relationenVon?: Prisma.KontaktRelationUpdateManyWithoutVonKontaktNestedInput
relationenZu?: Prisma.KontaktRelationUpdateManyWithoutZuKontaktNestedInput
}
export type KontaktUncheckedUpdateWithoutTelefoneInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
adresseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
emails?: Prisma.KontaktEmailUncheckedUpdateManyWithoutKontaktNestedInput
relationenVon?: Prisma.KontaktRelationUncheckedUpdateManyWithoutVonKontaktNestedInput
relationenZu?: Prisma.KontaktRelationUncheckedUpdateManyWithoutZuKontaktNestedInput
}
export type KontaktCreateWithoutAdresseInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
emails?: Prisma.KontaktEmailCreateNestedManyWithoutKontaktInput
telefone?: Prisma.KontaktTelefonCreateNestedManyWithoutKontaktInput
relationenVon?: Prisma.KontaktRelationCreateNestedManyWithoutVonKontaktInput
relationenZu?: Prisma.KontaktRelationCreateNestedManyWithoutZuKontaktInput
}
export type KontaktUncheckedCreateWithoutAdresseInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
emails?: Prisma.KontaktEmailUncheckedCreateNestedManyWithoutKontaktInput
telefone?: Prisma.KontaktTelefonUncheckedCreateNestedManyWithoutKontaktInput
relationenVon?: Prisma.KontaktRelationUncheckedCreateNestedManyWithoutVonKontaktInput
relationenZu?: Prisma.KontaktRelationUncheckedCreateNestedManyWithoutZuKontaktInput
}
export type KontaktCreateOrConnectWithoutAdresseInput = {
where: Prisma.KontaktWhereUniqueInput
create: Prisma.XOR<Prisma.KontaktCreateWithoutAdresseInput, Prisma.KontaktUncheckedCreateWithoutAdresseInput>
}
export type KontaktCreateManyAdresseInputEnvelope = {
data: Prisma.KontaktCreateManyAdresseInput | Prisma.KontaktCreateManyAdresseInput[]
skipDuplicates?: boolean
}
export type KontaktUpsertWithWhereUniqueWithoutAdresseInput = {
where: Prisma.KontaktWhereUniqueInput
update: Prisma.XOR<Prisma.KontaktUpdateWithoutAdresseInput, Prisma.KontaktUncheckedUpdateWithoutAdresseInput>
create: Prisma.XOR<Prisma.KontaktCreateWithoutAdresseInput, Prisma.KontaktUncheckedCreateWithoutAdresseInput>
}
export type KontaktUpdateWithWhereUniqueWithoutAdresseInput = {
where: Prisma.KontaktWhereUniqueInput
data: Prisma.XOR<Prisma.KontaktUpdateWithoutAdresseInput, Prisma.KontaktUncheckedUpdateWithoutAdresseInput>
}
export type KontaktUpdateManyWithWhereWithoutAdresseInput = {
where: Prisma.KontaktScalarWhereInput
data: Prisma.XOR<Prisma.KontaktUpdateManyMutationInput, Prisma.KontaktUncheckedUpdateManyWithoutAdresseInput>
}
export type KontaktScalarWhereInput = {
AND?: Prisma.KontaktScalarWhereInput | Prisma.KontaktScalarWhereInput[]
OR?: Prisma.KontaktScalarWhereInput[]
NOT?: Prisma.KontaktScalarWhereInput | Prisma.KontaktScalarWhereInput[]
id?: Prisma.StringFilter<"Kontakt"> | string
createdAt?: Prisma.DateTimeFilter<"Kontakt"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"Kontakt"> | Date | string
tenantId?: Prisma.StringFilter<"Kontakt"> | string
createdByUserId?: Prisma.StringFilter<"Kontakt"> | string
kontaktTyp?: Prisma.EnumKontaktTypFilter<"Kontakt"> | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFilter<"Kontakt"> | $Enums.KontaktStatus
vorname?: Prisma.StringNullableFilter<"Kontakt"> | string | null
nachname?: Prisma.StringNullableFilter<"Kontakt"> | string | null
orgName?: Prisma.StringNullableFilter<"Kontakt"> | string | null
orgMerkmal?: Prisma.EnumOrgMerkmalNullableFilter<"Kontakt"> | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.StringNullableFilter<"Kontakt"> | string | null
primaerTelefon?: Prisma.StringNullableFilter<"Kontakt"> | string | null
adresseId?: Prisma.StringNullableFilter<"Kontakt"> | string | null
zustaendigerUserId?: Prisma.StringNullableFilter<"Kontakt"> | string | null
language?: Prisma.StringNullableFilter<"Kontakt"> | string | null
isDemoData?: Prisma.BoolFilter<"Kontakt"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"Kontakt"> | Date | string | null
}
export type KontaktCreateManyAdresseInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus?: $Enums.KontaktStatus
vorname?: string | null
nachname?: string | null
orgName?: string | null
orgMerkmal?: $Enums.OrgMerkmal | null
primaerEmail?: string | null
primaerTelefon?: string | null
zustaendigerUserId?: string | null
language?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type KontaktUpdateWithoutAdresseInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
emails?: Prisma.KontaktEmailUpdateManyWithoutKontaktNestedInput
telefone?: Prisma.KontaktTelefonUpdateManyWithoutKontaktNestedInput
relationenVon?: Prisma.KontaktRelationUpdateManyWithoutVonKontaktNestedInput
relationenZu?: Prisma.KontaktRelationUpdateManyWithoutZuKontaktNestedInput
}
export type KontaktUncheckedUpdateWithoutAdresseInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
emails?: Prisma.KontaktEmailUncheckedUpdateManyWithoutKontaktNestedInput
telefone?: Prisma.KontaktTelefonUncheckedUpdateManyWithoutKontaktNestedInput
relationenVon?: Prisma.KontaktRelationUncheckedUpdateManyWithoutVonKontaktNestedInput
relationenZu?: Prisma.KontaktRelationUncheckedUpdateManyWithoutZuKontaktNestedInput
}
export type KontaktUncheckedUpdateManyWithoutAdresseInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktTyp?: Prisma.EnumKontaktTypFieldUpdateOperationsInput | $Enums.KontaktTyp
kontaktStatus?: Prisma.EnumKontaktStatusFieldUpdateOperationsInput | $Enums.KontaktStatus
vorname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
nachname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
orgMerkmal?: Prisma.NullableEnumOrgMerkmalFieldUpdateOperationsInput | $Enums.OrgMerkmal | null
primaerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
primaerTelefon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
zustaendigerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
/**
* Count Type KontaktCountOutputType
*/
export type KontaktCountOutputType = {
emails: number
telefone: number
relationenVon: number
relationenZu: number
}
export type KontaktCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
emails?: boolean | KontaktCountOutputTypeCountEmailsArgs
telefone?: boolean | KontaktCountOutputTypeCountTelefoneArgs
relationenVon?: boolean | KontaktCountOutputTypeCountRelationenVonArgs
relationenZu?: boolean | KontaktCountOutputTypeCountRelationenZuArgs
}
/**
* KontaktCountOutputType without action
*/
export type KontaktCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktCountOutputType
*/
select?: Prisma.KontaktCountOutputTypeSelect<ExtArgs> | null
}
/**
* KontaktCountOutputType without action
*/
export type KontaktCountOutputTypeCountEmailsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.KontaktEmailWhereInput
}
/**
* KontaktCountOutputType without action
*/
export type KontaktCountOutputTypeCountTelefoneArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.KontaktTelefonWhereInput
}
/**
* KontaktCountOutputType without action
*/
export type KontaktCountOutputTypeCountRelationenVonArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.KontaktRelationWhereInput
}
/**
* KontaktCountOutputType without action
*/
export type KontaktCountOutputTypeCountRelationenZuArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.KontaktRelationWhereInput
}
export type KontaktSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
createdByUserId?: boolean
kontaktTyp?: boolean
kontaktStatus?: boolean
vorname?: boolean
nachname?: boolean
orgName?: boolean
orgMerkmal?: boolean
primaerEmail?: boolean
primaerTelefon?: boolean
adresseId?: boolean
zustaendigerUserId?: boolean
language?: boolean
isDemoData?: boolean
archivedAt?: boolean
adresse?: boolean | Prisma.Kontakt$adresseArgs<ExtArgs>
emails?: boolean | Prisma.Kontakt$emailsArgs<ExtArgs>
telefone?: boolean | Prisma.Kontakt$telefoneArgs<ExtArgs>
relationenVon?: boolean | Prisma.Kontakt$relationenVonArgs<ExtArgs>
relationenZu?: boolean | Prisma.Kontakt$relationenZuArgs<ExtArgs>
_count?: boolean | Prisma.KontaktCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["kontakt"]>
export type KontaktSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
createdByUserId?: boolean
kontaktTyp?: boolean
kontaktStatus?: boolean
vorname?: boolean
nachname?: boolean
orgName?: boolean
orgMerkmal?: boolean
primaerEmail?: boolean
primaerTelefon?: boolean
adresseId?: boolean
zustaendigerUserId?: boolean
language?: boolean
isDemoData?: boolean
archivedAt?: boolean
adresse?: boolean | Prisma.Kontakt$adresseArgs<ExtArgs>
}, ExtArgs["result"]["kontakt"]>
export type KontaktSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
createdByUserId?: boolean
kontaktTyp?: boolean
kontaktStatus?: boolean
vorname?: boolean
nachname?: boolean
orgName?: boolean
orgMerkmal?: boolean
primaerEmail?: boolean
primaerTelefon?: boolean
adresseId?: boolean
zustaendigerUserId?: boolean
language?: boolean
isDemoData?: boolean
archivedAt?: boolean
adresse?: boolean | Prisma.Kontakt$adresseArgs<ExtArgs>
}, ExtArgs["result"]["kontakt"]>
export type KontaktSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
createdByUserId?: boolean
kontaktTyp?: boolean
kontaktStatus?: boolean
vorname?: boolean
nachname?: boolean
orgName?: boolean
orgMerkmal?: boolean
primaerEmail?: boolean
primaerTelefon?: boolean
adresseId?: boolean
zustaendigerUserId?: boolean
language?: boolean
isDemoData?: boolean
archivedAt?: boolean
}
export type KontaktOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "createdByUserId" | "kontaktTyp" | "kontaktStatus" | "vorname" | "nachname" | "orgName" | "orgMerkmal" | "primaerEmail" | "primaerTelefon" | "adresseId" | "zustaendigerUserId" | "language" | "isDemoData" | "archivedAt", ExtArgs["result"]["kontakt"]>
export type KontaktInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
adresse?: boolean | Prisma.Kontakt$adresseArgs<ExtArgs>
emails?: boolean | Prisma.Kontakt$emailsArgs<ExtArgs>
telefone?: boolean | Prisma.Kontakt$telefoneArgs<ExtArgs>
relationenVon?: boolean | Prisma.Kontakt$relationenVonArgs<ExtArgs>
relationenZu?: boolean | Prisma.Kontakt$relationenZuArgs<ExtArgs>
_count?: boolean | Prisma.KontaktCountOutputTypeDefaultArgs<ExtArgs>
}
export type KontaktIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
adresse?: boolean | Prisma.Kontakt$adresseArgs<ExtArgs>
}
export type KontaktIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
adresse?: boolean | Prisma.Kontakt$adresseArgs<ExtArgs>
}
export type $KontaktPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "Kontakt"
objects: {
adresse: Prisma.$AdressePayload<ExtArgs> | null
emails: Prisma.$KontaktEmailPayload<ExtArgs>[]
telefone: Prisma.$KontaktTelefonPayload<ExtArgs>[]
relationenVon: Prisma.$KontaktRelationPayload<ExtArgs>[]
relationenZu: Prisma.$KontaktRelationPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
tenantId: string
createdByUserId: string
kontaktTyp: $Enums.KontaktTyp
kontaktStatus: $Enums.KontaktStatus
vorname: string | null
nachname: string | null
orgName: string | null
orgMerkmal: $Enums.OrgMerkmal | null
primaerEmail: string | null
primaerTelefon: string | null
adresseId: string | null
zustaendigerUserId: string | null
language: string | null
isDemoData: boolean
archivedAt: Date | null
}, ExtArgs["result"]["kontakt"]>
composites: {}
}
export type KontaktGetPayload<S extends boolean | null | undefined | KontaktDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KontaktPayload, S>
export type KontaktCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<KontaktFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: KontaktCountAggregateInputType | true
}
export interface KontaktDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Kontakt'], meta: { name: 'Kontakt' } }
/**
* Find zero or one Kontakt that matches the filter.
* @param {KontaktFindUniqueArgs} args - Arguments to find a Kontakt
* @example
* // Get one Kontakt
* const kontakt = await prisma.kontakt.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends KontaktFindUniqueArgs>(args: Prisma.SelectSubset<T, KontaktFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KontaktClient<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Kontakt that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {KontaktFindUniqueOrThrowArgs} args - Arguments to find a Kontakt
* @example
* // Get one Kontakt
* const kontakt = await prisma.kontakt.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends KontaktFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KontaktFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KontaktClient<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Kontakt 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 {KontaktFindFirstArgs} args - Arguments to find a Kontakt
* @example
* // Get one Kontakt
* const kontakt = await prisma.kontakt.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends KontaktFindFirstArgs>(args?: Prisma.SelectSubset<T, KontaktFindFirstArgs<ExtArgs>>): Prisma.Prisma__KontaktClient<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Kontakt 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 {KontaktFindFirstOrThrowArgs} args - Arguments to find a Kontakt
* @example
* // Get one Kontakt
* const kontakt = await prisma.kontakt.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends KontaktFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KontaktFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KontaktClient<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Kontakts 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 {KontaktFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Kontakts
* const kontakts = await prisma.kontakt.findMany()
*
* // Get first 10 Kontakts
* const kontakts = await prisma.kontakt.findMany({ take: 10 })
*
* // Only select the `id`
* const kontaktWithIdOnly = await prisma.kontakt.findMany({ select: { id: true } })
*
*/
findMany<T extends KontaktFindManyArgs>(args?: Prisma.SelectSubset<T, KontaktFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Kontakt.
* @param {KontaktCreateArgs} args - Arguments to create a Kontakt.
* @example
* // Create one Kontakt
* const Kontakt = await prisma.kontakt.create({
* data: {
* // ... data to create a Kontakt
* }
* })
*
*/
create<T extends KontaktCreateArgs>(args: Prisma.SelectSubset<T, KontaktCreateArgs<ExtArgs>>): Prisma.Prisma__KontaktClient<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Kontakts.
* @param {KontaktCreateManyArgs} args - Arguments to create many Kontakts.
* @example
* // Create many Kontakts
* const kontakt = await prisma.kontakt.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends KontaktCreateManyArgs>(args?: Prisma.SelectSubset<T, KontaktCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many Kontakts and returns the data saved in the database.
* @param {KontaktCreateManyAndReturnArgs} args - Arguments to create many Kontakts.
* @example
* // Create many Kontakts
* const kontakt = await prisma.kontakt.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Kontakts and only return the `id`
* const kontaktWithIdOnly = await prisma.kontakt.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 KontaktCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KontaktCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a Kontakt.
* @param {KontaktDeleteArgs} args - Arguments to delete one Kontakt.
* @example
* // Delete one Kontakt
* const Kontakt = await prisma.kontakt.delete({
* where: {
* // ... filter to delete one Kontakt
* }
* })
*
*/
delete<T extends KontaktDeleteArgs>(args: Prisma.SelectSubset<T, KontaktDeleteArgs<ExtArgs>>): Prisma.Prisma__KontaktClient<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Kontakt.
* @param {KontaktUpdateArgs} args - Arguments to update one Kontakt.
* @example
* // Update one Kontakt
* const kontakt = await prisma.kontakt.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends KontaktUpdateArgs>(args: Prisma.SelectSubset<T, KontaktUpdateArgs<ExtArgs>>): Prisma.Prisma__KontaktClient<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Kontakts.
* @param {KontaktDeleteManyArgs} args - Arguments to filter Kontakts to delete.
* @example
* // Delete a few Kontakts
* const { count } = await prisma.kontakt.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends KontaktDeleteManyArgs>(args?: Prisma.SelectSubset<T, KontaktDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Kontakts.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KontaktUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Kontakts
* const kontakt = await prisma.kontakt.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends KontaktUpdateManyArgs>(args: Prisma.SelectSubset<T, KontaktUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Kontakts and returns the data updated in the database.
* @param {KontaktUpdateManyAndReturnArgs} args - Arguments to update many Kontakts.
* @example
* // Update many Kontakts
* const kontakt = await prisma.kontakt.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Kontakts and only return the `id`
* const kontaktWithIdOnly = await prisma.kontakt.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 KontaktUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KontaktUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one Kontakt.
* @param {KontaktUpsertArgs} args - Arguments to update or create a Kontakt.
* @example
* // Update or create a Kontakt
* const kontakt = await prisma.kontakt.upsert({
* create: {
* // ... data to create a Kontakt
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Kontakt we want to update
* }
* })
*/
upsert<T extends KontaktUpsertArgs>(args: Prisma.SelectSubset<T, KontaktUpsertArgs<ExtArgs>>): Prisma.Prisma__KontaktClient<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Kontakts.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KontaktCountArgs} args - Arguments to filter Kontakts to count.
* @example
* // Count the number of Kontakts
* const count = await prisma.kontakt.count({
* where: {
* // ... the filter for the Kontakts we want to count
* }
* })
**/
count<T extends KontaktCountArgs>(
args?: Prisma.Subset<T, KontaktCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], KontaktCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Kontakt.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KontaktAggregateArgs} 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 KontaktAggregateArgs>(args: Prisma.Subset<T, KontaktAggregateArgs>): Prisma.PrismaPromise<GetKontaktAggregateType<T>>
/**
* Group by Kontakt.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KontaktGroupByArgs} 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 KontaktGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: KontaktGroupByArgs['orderBy'] }
: { orderBy?: KontaktGroupByArgs['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, KontaktGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKontaktGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the Kontakt model
*/
readonly fields: KontaktFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for Kontakt.
* 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__KontaktClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
adresse<T extends Prisma.Kontakt$adresseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Kontakt$adresseArgs<ExtArgs>>): Prisma.Prisma__AdresseClient<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
emails<T extends Prisma.Kontakt$emailsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Kontakt$emailsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
telefone<T extends Prisma.Kontakt$telefoneArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Kontakt$telefoneArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
relationenVon<T extends Prisma.Kontakt$relationenVonArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Kontakt$relationenVonArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
relationenZu<T extends Prisma.Kontakt$relationenZuArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Kontakt$relationenZuArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<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 Kontakt model
*/
export interface KontaktFieldRefs {
readonly id: Prisma.FieldRef<"Kontakt", 'String'>
readonly createdAt: Prisma.FieldRef<"Kontakt", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"Kontakt", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"Kontakt", 'String'>
readonly createdByUserId: Prisma.FieldRef<"Kontakt", 'String'>
readonly kontaktTyp: Prisma.FieldRef<"Kontakt", 'KontaktTyp'>
readonly kontaktStatus: Prisma.FieldRef<"Kontakt", 'KontaktStatus'>
readonly vorname: Prisma.FieldRef<"Kontakt", 'String'>
readonly nachname: Prisma.FieldRef<"Kontakt", 'String'>
readonly orgName: Prisma.FieldRef<"Kontakt", 'String'>
readonly orgMerkmal: Prisma.FieldRef<"Kontakt", 'OrgMerkmal'>
readonly primaerEmail: Prisma.FieldRef<"Kontakt", 'String'>
readonly primaerTelefon: Prisma.FieldRef<"Kontakt", 'String'>
readonly adresseId: Prisma.FieldRef<"Kontakt", 'String'>
readonly zustaendigerUserId: Prisma.FieldRef<"Kontakt", 'String'>
readonly language: Prisma.FieldRef<"Kontakt", 'String'>
readonly isDemoData: Prisma.FieldRef<"Kontakt", 'Boolean'>
readonly archivedAt: Prisma.FieldRef<"Kontakt", 'DateTime'>
}
// Custom InputTypes
/**
* Kontakt findUnique
*/
export type KontaktFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
/**
* Filter, which Kontakt to fetch.
*/
where: Prisma.KontaktWhereUniqueInput
}
/**
* Kontakt findUniqueOrThrow
*/
export type KontaktFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
/**
* Filter, which Kontakt to fetch.
*/
where: Prisma.KontaktWhereUniqueInput
}
/**
* Kontakt findFirst
*/
export type KontaktFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
/**
* Filter, which Kontakt to fetch.
*/
where?: Prisma.KontaktWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Kontakts to fetch.
*/
orderBy?: Prisma.KontaktOrderByWithRelationInput | Prisma.KontaktOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Kontakts.
*/
cursor?: Prisma.KontaktWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Kontakts 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` Kontakts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Kontakts.
*/
distinct?: Prisma.KontaktScalarFieldEnum | Prisma.KontaktScalarFieldEnum[]
}
/**
* Kontakt findFirstOrThrow
*/
export type KontaktFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
/**
* Filter, which Kontakt to fetch.
*/
where?: Prisma.KontaktWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Kontakts to fetch.
*/
orderBy?: Prisma.KontaktOrderByWithRelationInput | Prisma.KontaktOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Kontakts.
*/
cursor?: Prisma.KontaktWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Kontakts 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` Kontakts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Kontakts.
*/
distinct?: Prisma.KontaktScalarFieldEnum | Prisma.KontaktScalarFieldEnum[]
}
/**
* Kontakt findMany
*/
export type KontaktFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
/**
* Filter, which Kontakts to fetch.
*/
where?: Prisma.KontaktWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Kontakts to fetch.
*/
orderBy?: Prisma.KontaktOrderByWithRelationInput | Prisma.KontaktOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing Kontakts.
*/
cursor?: Prisma.KontaktWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Kontakts 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` Kontakts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Kontakts.
*/
distinct?: Prisma.KontaktScalarFieldEnum | Prisma.KontaktScalarFieldEnum[]
}
/**
* Kontakt create
*/
export type KontaktCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
/**
* The data needed to create a Kontakt.
*/
data: Prisma.XOR<Prisma.KontaktCreateInput, Prisma.KontaktUncheckedCreateInput>
}
/**
* Kontakt createMany
*/
export type KontaktCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many Kontakts.
*/
data: Prisma.KontaktCreateManyInput | Prisma.KontaktCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Kontakt createManyAndReturn
*/
export type KontaktCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* The data used to create many Kontakts.
*/
data: Prisma.KontaktCreateManyInput | Prisma.KontaktCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* Kontakt update
*/
export type KontaktUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
/**
* The data needed to update a Kontakt.
*/
data: Prisma.XOR<Prisma.KontaktUpdateInput, Prisma.KontaktUncheckedUpdateInput>
/**
* Choose, which Kontakt to update.
*/
where: Prisma.KontaktWhereUniqueInput
}
/**
* Kontakt updateMany
*/
export type KontaktUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update Kontakts.
*/
data: Prisma.XOR<Prisma.KontaktUpdateManyMutationInput, Prisma.KontaktUncheckedUpdateManyInput>
/**
* Filter which Kontakts to update
*/
where?: Prisma.KontaktWhereInput
/**
* Limit how many Kontakts to update.
*/
limit?: number
}
/**
* Kontakt updateManyAndReturn
*/
export type KontaktUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* The data used to update Kontakts.
*/
data: Prisma.XOR<Prisma.KontaktUpdateManyMutationInput, Prisma.KontaktUncheckedUpdateManyInput>
/**
* Filter which Kontakts to update
*/
where?: Prisma.KontaktWhereInput
/**
* Limit how many Kontakts to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* Kontakt upsert
*/
export type KontaktUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
/**
* The filter to search for the Kontakt to update in case it exists.
*/
where: Prisma.KontaktWhereUniqueInput
/**
* In case the Kontakt found by the `where` argument doesn't exist, create a new Kontakt with this data.
*/
create: Prisma.XOR<Prisma.KontaktCreateInput, Prisma.KontaktUncheckedCreateInput>
/**
* In case the Kontakt was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.KontaktUpdateInput, Prisma.KontaktUncheckedUpdateInput>
}
/**
* Kontakt delete
*/
export type KontaktDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
/**
* Filter which Kontakt to delete.
*/
where: Prisma.KontaktWhereUniqueInput
}
/**
* Kontakt deleteMany
*/
export type KontaktDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which Kontakts to delete
*/
where?: Prisma.KontaktWhereInput
/**
* Limit how many Kontakts to delete.
*/
limit?: number
}
/**
* Kontakt.adresse
*/
export type Kontakt$adresseArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
where?: Prisma.AdresseWhereInput
}
/**
* Kontakt.emails
*/
export type Kontakt$emailsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
where?: Prisma.KontaktEmailWhereInput
orderBy?: Prisma.KontaktEmailOrderByWithRelationInput | Prisma.KontaktEmailOrderByWithRelationInput[]
cursor?: Prisma.KontaktEmailWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.KontaktEmailScalarFieldEnum | Prisma.KontaktEmailScalarFieldEnum[]
}
/**
* Kontakt.telefone
*/
export type Kontakt$telefoneArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktTelefon
*/
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktTelefon
*/
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
where?: Prisma.KontaktTelefonWhereInput
orderBy?: Prisma.KontaktTelefonOrderByWithRelationInput | Prisma.KontaktTelefonOrderByWithRelationInput[]
cursor?: Prisma.KontaktTelefonWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.KontaktTelefonScalarFieldEnum | Prisma.KontaktTelefonScalarFieldEnum[]
}
/**
* Kontakt.relationenVon
*/
export type Kontakt$relationenVonArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktRelation
*/
select?: Prisma.KontaktRelationSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktRelation
*/
omit?: Prisma.KontaktRelationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktRelationInclude<ExtArgs> | null
where?: Prisma.KontaktRelationWhereInput
orderBy?: Prisma.KontaktRelationOrderByWithRelationInput | Prisma.KontaktRelationOrderByWithRelationInput[]
cursor?: Prisma.KontaktRelationWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.KontaktRelationScalarFieldEnum | Prisma.KontaktRelationScalarFieldEnum[]
}
/**
* Kontakt.relationenZu
*/
export type Kontakt$relationenZuArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktRelation
*/
select?: Prisma.KontaktRelationSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktRelation
*/
omit?: Prisma.KontaktRelationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktRelationInclude<ExtArgs> | null
where?: Prisma.KontaktRelationWhereInput
orderBy?: Prisma.KontaktRelationOrderByWithRelationInput | Prisma.KontaktRelationOrderByWithRelationInput[]
cursor?: Prisma.KontaktRelationWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.KontaktRelationScalarFieldEnum | Prisma.KontaktRelationScalarFieldEnum[]
}
/**
* Kontakt without action
*/
export type KontaktDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
}