1560 lines
64 KiB
TypeScript
1560 lines
64 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 `KontaktRelation` 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 KontaktRelation
|
|
* Self-referential M:N relation between contacts (e.g. organisation ↔ primary
|
|
* contact person). The `rolle` (Kontaktart) is the role of the relation itself.
|
|
*/
|
|
export type KontaktRelationModel = runtime.Types.Result.DefaultSelection<Prisma.$KontaktRelationPayload>
|
|
|
|
export type AggregateKontaktRelation = {
|
|
_count: KontaktRelationCountAggregateOutputType | null
|
|
_min: KontaktRelationMinAggregateOutputType | null
|
|
_max: KontaktRelationMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type KontaktRelationMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
tenantId: string | null
|
|
vonKontaktId: string | null
|
|
zuKontaktId: string | null
|
|
rolle: $Enums.KontaktArt | null
|
|
kontext: string | null
|
|
}
|
|
|
|
export type KontaktRelationMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
tenantId: string | null
|
|
vonKontaktId: string | null
|
|
zuKontaktId: string | null
|
|
rolle: $Enums.KontaktArt | null
|
|
kontext: string | null
|
|
}
|
|
|
|
export type KontaktRelationCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
tenantId: number
|
|
vonKontaktId: number
|
|
zuKontaktId: number
|
|
rolle: number
|
|
kontext: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type KontaktRelationMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
vonKontaktId?: true
|
|
zuKontaktId?: true
|
|
rolle?: true
|
|
kontext?: true
|
|
}
|
|
|
|
export type KontaktRelationMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
vonKontaktId?: true
|
|
zuKontaktId?: true
|
|
rolle?: true
|
|
kontext?: true
|
|
}
|
|
|
|
export type KontaktRelationCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
vonKontaktId?: true
|
|
zuKontaktId?: true
|
|
rolle?: true
|
|
kontext?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type KontaktRelationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KontaktRelation to aggregate.
|
|
*/
|
|
where?: Prisma.KontaktRelationWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KontaktRelations to fetch.
|
|
*/
|
|
orderBy?: Prisma.KontaktRelationOrderByWithRelationInput | Prisma.KontaktRelationOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.KontaktRelationWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KontaktRelations 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` KontaktRelations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned KontaktRelations
|
|
**/
|
|
_count?: true | KontaktRelationCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: KontaktRelationMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: KontaktRelationMaxAggregateInputType
|
|
}
|
|
|
|
export type GetKontaktRelationAggregateType<T extends KontaktRelationAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateKontaktRelation]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateKontaktRelation[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateKontaktRelation[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type KontaktRelationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.KontaktRelationWhereInput
|
|
orderBy?: Prisma.KontaktRelationOrderByWithAggregationInput | Prisma.KontaktRelationOrderByWithAggregationInput[]
|
|
by: Prisma.KontaktRelationScalarFieldEnum[] | Prisma.KontaktRelationScalarFieldEnum
|
|
having?: Prisma.KontaktRelationScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: KontaktRelationCountAggregateInputType | true
|
|
_min?: KontaktRelationMinAggregateInputType
|
|
_max?: KontaktRelationMaxAggregateInputType
|
|
}
|
|
|
|
export type KontaktRelationGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
tenantId: string
|
|
vonKontaktId: string
|
|
zuKontaktId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext: string | null
|
|
_count: KontaktRelationCountAggregateOutputType | null
|
|
_min: KontaktRelationMinAggregateOutputType | null
|
|
_max: KontaktRelationMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetKontaktRelationGroupByPayload<T extends KontaktRelationGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<KontaktRelationGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof KontaktRelationGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], KontaktRelationGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], KontaktRelationGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type KontaktRelationWhereInput = {
|
|
AND?: Prisma.KontaktRelationWhereInput | Prisma.KontaktRelationWhereInput[]
|
|
OR?: Prisma.KontaktRelationWhereInput[]
|
|
NOT?: Prisma.KontaktRelationWhereInput | Prisma.KontaktRelationWhereInput[]
|
|
id?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"KontaktRelation"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
vonKontaktId?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
zuKontaktId?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
rolle?: Prisma.EnumKontaktArtFilter<"KontaktRelation"> | $Enums.KontaktArt
|
|
kontext?: Prisma.StringNullableFilter<"KontaktRelation"> | string | null
|
|
vonKontakt?: Prisma.XOR<Prisma.KontaktScalarRelationFilter, Prisma.KontaktWhereInput>
|
|
zuKontakt?: Prisma.XOR<Prisma.KontaktScalarRelationFilter, Prisma.KontaktWhereInput>
|
|
}
|
|
|
|
export type KontaktRelationOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
vonKontaktId?: Prisma.SortOrder
|
|
zuKontaktId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
kontext?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
vonKontakt?: Prisma.KontaktOrderByWithRelationInput
|
|
zuKontakt?: Prisma.KontaktOrderByWithRelationInput
|
|
}
|
|
|
|
export type KontaktRelationWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
vonKontaktId_zuKontaktId_rolle?: Prisma.KontaktRelationVonKontaktIdZuKontaktIdRolleCompoundUniqueInput
|
|
AND?: Prisma.KontaktRelationWhereInput | Prisma.KontaktRelationWhereInput[]
|
|
OR?: Prisma.KontaktRelationWhereInput[]
|
|
NOT?: Prisma.KontaktRelationWhereInput | Prisma.KontaktRelationWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"KontaktRelation"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
vonKontaktId?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
zuKontaktId?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
rolle?: Prisma.EnumKontaktArtFilter<"KontaktRelation"> | $Enums.KontaktArt
|
|
kontext?: Prisma.StringNullableFilter<"KontaktRelation"> | string | null
|
|
vonKontakt?: Prisma.XOR<Prisma.KontaktScalarRelationFilter, Prisma.KontaktWhereInput>
|
|
zuKontakt?: Prisma.XOR<Prisma.KontaktScalarRelationFilter, Prisma.KontaktWhereInput>
|
|
}, "id" | "vonKontaktId_zuKontaktId_rolle">
|
|
|
|
export type KontaktRelationOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
vonKontaktId?: Prisma.SortOrder
|
|
zuKontaktId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
kontext?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.KontaktRelationCountOrderByAggregateInput
|
|
_max?: Prisma.KontaktRelationMaxOrderByAggregateInput
|
|
_min?: Prisma.KontaktRelationMinOrderByAggregateInput
|
|
}
|
|
|
|
export type KontaktRelationScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.KontaktRelationScalarWhereWithAggregatesInput | Prisma.KontaktRelationScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.KontaktRelationScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.KontaktRelationScalarWhereWithAggregatesInput | Prisma.KontaktRelationScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"KontaktRelation"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"KontaktRelation"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"KontaktRelation"> | string
|
|
vonKontaktId?: Prisma.StringWithAggregatesFilter<"KontaktRelation"> | string
|
|
zuKontaktId?: Prisma.StringWithAggregatesFilter<"KontaktRelation"> | string
|
|
rolle?: Prisma.EnumKontaktArtWithAggregatesFilter<"KontaktRelation"> | $Enums.KontaktArt
|
|
kontext?: Prisma.StringNullableWithAggregatesFilter<"KontaktRelation"> | string | null
|
|
}
|
|
|
|
export type KontaktRelationCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext?: string | null
|
|
vonKontakt: Prisma.KontaktCreateNestedOneWithoutRelationenVonInput
|
|
zuKontakt: Prisma.KontaktCreateNestedOneWithoutRelationenZuInput
|
|
}
|
|
|
|
export type KontaktRelationUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
vonKontaktId: string
|
|
zuKontaktId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext?: string | null
|
|
}
|
|
|
|
export type KontaktRelationUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumKontaktArtFieldUpdateOperationsInput | $Enums.KontaktArt
|
|
kontext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
vonKontakt?: Prisma.KontaktUpdateOneRequiredWithoutRelationenVonNestedInput
|
|
zuKontakt?: Prisma.KontaktUpdateOneRequiredWithoutRelationenZuNestedInput
|
|
}
|
|
|
|
export type KontaktRelationUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
vonKontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
zuKontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumKontaktArtFieldUpdateOperationsInput | $Enums.KontaktArt
|
|
kontext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type KontaktRelationCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
vonKontaktId: string
|
|
zuKontaktId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext?: string | null
|
|
}
|
|
|
|
export type KontaktRelationUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumKontaktArtFieldUpdateOperationsInput | $Enums.KontaktArt
|
|
kontext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type KontaktRelationUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
vonKontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
zuKontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumKontaktArtFieldUpdateOperationsInput | $Enums.KontaktArt
|
|
kontext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type KontaktRelationListRelationFilter = {
|
|
every?: Prisma.KontaktRelationWhereInput
|
|
some?: Prisma.KontaktRelationWhereInput
|
|
none?: Prisma.KontaktRelationWhereInput
|
|
}
|
|
|
|
export type KontaktRelationOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KontaktRelationVonKontaktIdZuKontaktIdRolleCompoundUniqueInput = {
|
|
vonKontaktId: string
|
|
zuKontaktId: string
|
|
rolle: $Enums.KontaktArt
|
|
}
|
|
|
|
export type KontaktRelationCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
vonKontaktId?: Prisma.SortOrder
|
|
zuKontaktId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
kontext?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KontaktRelationMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
vonKontaktId?: Prisma.SortOrder
|
|
zuKontaktId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
kontext?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KontaktRelationMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
vonKontaktId?: Prisma.SortOrder
|
|
zuKontaktId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
kontext?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KontaktRelationCreateNestedManyWithoutVonKontaktInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktRelationCreateWithoutVonKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutVonKontaktInput> | Prisma.KontaktRelationCreateWithoutVonKontaktInput[] | Prisma.KontaktRelationUncheckedCreateWithoutVonKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput | Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput[]
|
|
createMany?: Prisma.KontaktRelationCreateManyVonKontaktInputEnvelope
|
|
connect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
}
|
|
|
|
export type KontaktRelationCreateNestedManyWithoutZuKontaktInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktRelationCreateWithoutZuKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutZuKontaktInput> | Prisma.KontaktRelationCreateWithoutZuKontaktInput[] | Prisma.KontaktRelationUncheckedCreateWithoutZuKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktRelationCreateOrConnectWithoutZuKontaktInput | Prisma.KontaktRelationCreateOrConnectWithoutZuKontaktInput[]
|
|
createMany?: Prisma.KontaktRelationCreateManyZuKontaktInputEnvelope
|
|
connect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
}
|
|
|
|
export type KontaktRelationUncheckedCreateNestedManyWithoutVonKontaktInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktRelationCreateWithoutVonKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutVonKontaktInput> | Prisma.KontaktRelationCreateWithoutVonKontaktInput[] | Prisma.KontaktRelationUncheckedCreateWithoutVonKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput | Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput[]
|
|
createMany?: Prisma.KontaktRelationCreateManyVonKontaktInputEnvelope
|
|
connect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
}
|
|
|
|
export type KontaktRelationUncheckedCreateNestedManyWithoutZuKontaktInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktRelationCreateWithoutZuKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutZuKontaktInput> | Prisma.KontaktRelationCreateWithoutZuKontaktInput[] | Prisma.KontaktRelationUncheckedCreateWithoutZuKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktRelationCreateOrConnectWithoutZuKontaktInput | Prisma.KontaktRelationCreateOrConnectWithoutZuKontaktInput[]
|
|
createMany?: Prisma.KontaktRelationCreateManyZuKontaktInputEnvelope
|
|
connect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
}
|
|
|
|
export type KontaktRelationUpdateManyWithoutVonKontaktNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktRelationCreateWithoutVonKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutVonKontaktInput> | Prisma.KontaktRelationCreateWithoutVonKontaktInput[] | Prisma.KontaktRelationUncheckedCreateWithoutVonKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput | Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput[]
|
|
upsert?: Prisma.KontaktRelationUpsertWithWhereUniqueWithoutVonKontaktInput | Prisma.KontaktRelationUpsertWithWhereUniqueWithoutVonKontaktInput[]
|
|
createMany?: Prisma.KontaktRelationCreateManyVonKontaktInputEnvelope
|
|
set?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
disconnect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
delete?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
connect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
update?: Prisma.KontaktRelationUpdateWithWhereUniqueWithoutVonKontaktInput | Prisma.KontaktRelationUpdateWithWhereUniqueWithoutVonKontaktInput[]
|
|
updateMany?: Prisma.KontaktRelationUpdateManyWithWhereWithoutVonKontaktInput | Prisma.KontaktRelationUpdateManyWithWhereWithoutVonKontaktInput[]
|
|
deleteMany?: Prisma.KontaktRelationScalarWhereInput | Prisma.KontaktRelationScalarWhereInput[]
|
|
}
|
|
|
|
export type KontaktRelationUpdateManyWithoutZuKontaktNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktRelationCreateWithoutZuKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutZuKontaktInput> | Prisma.KontaktRelationCreateWithoutZuKontaktInput[] | Prisma.KontaktRelationUncheckedCreateWithoutZuKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktRelationCreateOrConnectWithoutZuKontaktInput | Prisma.KontaktRelationCreateOrConnectWithoutZuKontaktInput[]
|
|
upsert?: Prisma.KontaktRelationUpsertWithWhereUniqueWithoutZuKontaktInput | Prisma.KontaktRelationUpsertWithWhereUniqueWithoutZuKontaktInput[]
|
|
createMany?: Prisma.KontaktRelationCreateManyZuKontaktInputEnvelope
|
|
set?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
disconnect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
delete?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
connect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
update?: Prisma.KontaktRelationUpdateWithWhereUniqueWithoutZuKontaktInput | Prisma.KontaktRelationUpdateWithWhereUniqueWithoutZuKontaktInput[]
|
|
updateMany?: Prisma.KontaktRelationUpdateManyWithWhereWithoutZuKontaktInput | Prisma.KontaktRelationUpdateManyWithWhereWithoutZuKontaktInput[]
|
|
deleteMany?: Prisma.KontaktRelationScalarWhereInput | Prisma.KontaktRelationScalarWhereInput[]
|
|
}
|
|
|
|
export type KontaktRelationUncheckedUpdateManyWithoutVonKontaktNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktRelationCreateWithoutVonKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutVonKontaktInput> | Prisma.KontaktRelationCreateWithoutVonKontaktInput[] | Prisma.KontaktRelationUncheckedCreateWithoutVonKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput | Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput[]
|
|
upsert?: Prisma.KontaktRelationUpsertWithWhereUniqueWithoutVonKontaktInput | Prisma.KontaktRelationUpsertWithWhereUniqueWithoutVonKontaktInput[]
|
|
createMany?: Prisma.KontaktRelationCreateManyVonKontaktInputEnvelope
|
|
set?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
disconnect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
delete?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
connect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
update?: Prisma.KontaktRelationUpdateWithWhereUniqueWithoutVonKontaktInput | Prisma.KontaktRelationUpdateWithWhereUniqueWithoutVonKontaktInput[]
|
|
updateMany?: Prisma.KontaktRelationUpdateManyWithWhereWithoutVonKontaktInput | Prisma.KontaktRelationUpdateManyWithWhereWithoutVonKontaktInput[]
|
|
deleteMany?: Prisma.KontaktRelationScalarWhereInput | Prisma.KontaktRelationScalarWhereInput[]
|
|
}
|
|
|
|
export type KontaktRelationUncheckedUpdateManyWithoutZuKontaktNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktRelationCreateWithoutZuKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutZuKontaktInput> | Prisma.KontaktRelationCreateWithoutZuKontaktInput[] | Prisma.KontaktRelationUncheckedCreateWithoutZuKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktRelationCreateOrConnectWithoutZuKontaktInput | Prisma.KontaktRelationCreateOrConnectWithoutZuKontaktInput[]
|
|
upsert?: Prisma.KontaktRelationUpsertWithWhereUniqueWithoutZuKontaktInput | Prisma.KontaktRelationUpsertWithWhereUniqueWithoutZuKontaktInput[]
|
|
createMany?: Prisma.KontaktRelationCreateManyZuKontaktInputEnvelope
|
|
set?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
disconnect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
delete?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
connect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[]
|
|
update?: Prisma.KontaktRelationUpdateWithWhereUniqueWithoutZuKontaktInput | Prisma.KontaktRelationUpdateWithWhereUniqueWithoutZuKontaktInput[]
|
|
updateMany?: Prisma.KontaktRelationUpdateManyWithWhereWithoutZuKontaktInput | Prisma.KontaktRelationUpdateManyWithWhereWithoutZuKontaktInput[]
|
|
deleteMany?: Prisma.KontaktRelationScalarWhereInput | Prisma.KontaktRelationScalarWhereInput[]
|
|
}
|
|
|
|
export type EnumKontaktArtFieldUpdateOperationsInput = {
|
|
set?: $Enums.KontaktArt
|
|
}
|
|
|
|
export type KontaktRelationCreateWithoutVonKontaktInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext?: string | null
|
|
zuKontakt: Prisma.KontaktCreateNestedOneWithoutRelationenZuInput
|
|
}
|
|
|
|
export type KontaktRelationUncheckedCreateWithoutVonKontaktInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
zuKontaktId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext?: string | null
|
|
}
|
|
|
|
export type KontaktRelationCreateOrConnectWithoutVonKontaktInput = {
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.KontaktRelationCreateWithoutVonKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutVonKontaktInput>
|
|
}
|
|
|
|
export type KontaktRelationCreateManyVonKontaktInputEnvelope = {
|
|
data: Prisma.KontaktRelationCreateManyVonKontaktInput | Prisma.KontaktRelationCreateManyVonKontaktInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type KontaktRelationCreateWithoutZuKontaktInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext?: string | null
|
|
vonKontakt: Prisma.KontaktCreateNestedOneWithoutRelationenVonInput
|
|
}
|
|
|
|
export type KontaktRelationUncheckedCreateWithoutZuKontaktInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
vonKontaktId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext?: string | null
|
|
}
|
|
|
|
export type KontaktRelationCreateOrConnectWithoutZuKontaktInput = {
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.KontaktRelationCreateWithoutZuKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutZuKontaktInput>
|
|
}
|
|
|
|
export type KontaktRelationCreateManyZuKontaktInputEnvelope = {
|
|
data: Prisma.KontaktRelationCreateManyZuKontaktInput | Prisma.KontaktRelationCreateManyZuKontaktInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type KontaktRelationUpsertWithWhereUniqueWithoutVonKontaktInput = {
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.KontaktRelationUpdateWithoutVonKontaktInput, Prisma.KontaktRelationUncheckedUpdateWithoutVonKontaktInput>
|
|
create: Prisma.XOR<Prisma.KontaktRelationCreateWithoutVonKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutVonKontaktInput>
|
|
}
|
|
|
|
export type KontaktRelationUpdateWithWhereUniqueWithoutVonKontaktInput = {
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.KontaktRelationUpdateWithoutVonKontaktInput, Prisma.KontaktRelationUncheckedUpdateWithoutVonKontaktInput>
|
|
}
|
|
|
|
export type KontaktRelationUpdateManyWithWhereWithoutVonKontaktInput = {
|
|
where: Prisma.KontaktRelationScalarWhereInput
|
|
data: Prisma.XOR<Prisma.KontaktRelationUpdateManyMutationInput, Prisma.KontaktRelationUncheckedUpdateManyWithoutVonKontaktInput>
|
|
}
|
|
|
|
export type KontaktRelationScalarWhereInput = {
|
|
AND?: Prisma.KontaktRelationScalarWhereInput | Prisma.KontaktRelationScalarWhereInput[]
|
|
OR?: Prisma.KontaktRelationScalarWhereInput[]
|
|
NOT?: Prisma.KontaktRelationScalarWhereInput | Prisma.KontaktRelationScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"KontaktRelation"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
vonKontaktId?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
zuKontaktId?: Prisma.StringFilter<"KontaktRelation"> | string
|
|
rolle?: Prisma.EnumKontaktArtFilter<"KontaktRelation"> | $Enums.KontaktArt
|
|
kontext?: Prisma.StringNullableFilter<"KontaktRelation"> | string | null
|
|
}
|
|
|
|
export type KontaktRelationUpsertWithWhereUniqueWithoutZuKontaktInput = {
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.KontaktRelationUpdateWithoutZuKontaktInput, Prisma.KontaktRelationUncheckedUpdateWithoutZuKontaktInput>
|
|
create: Prisma.XOR<Prisma.KontaktRelationCreateWithoutZuKontaktInput, Prisma.KontaktRelationUncheckedCreateWithoutZuKontaktInput>
|
|
}
|
|
|
|
export type KontaktRelationUpdateWithWhereUniqueWithoutZuKontaktInput = {
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.KontaktRelationUpdateWithoutZuKontaktInput, Prisma.KontaktRelationUncheckedUpdateWithoutZuKontaktInput>
|
|
}
|
|
|
|
export type KontaktRelationUpdateManyWithWhereWithoutZuKontaktInput = {
|
|
where: Prisma.KontaktRelationScalarWhereInput
|
|
data: Prisma.XOR<Prisma.KontaktRelationUpdateManyMutationInput, Prisma.KontaktRelationUncheckedUpdateManyWithoutZuKontaktInput>
|
|
}
|
|
|
|
export type KontaktRelationCreateManyVonKontaktInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
zuKontaktId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext?: string | null
|
|
}
|
|
|
|
export type KontaktRelationCreateManyZuKontaktInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
vonKontaktId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext?: string | null
|
|
}
|
|
|
|
export type KontaktRelationUpdateWithoutVonKontaktInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumKontaktArtFieldUpdateOperationsInput | $Enums.KontaktArt
|
|
kontext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
zuKontakt?: Prisma.KontaktUpdateOneRequiredWithoutRelationenZuNestedInput
|
|
}
|
|
|
|
export type KontaktRelationUncheckedUpdateWithoutVonKontaktInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
zuKontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumKontaktArtFieldUpdateOperationsInput | $Enums.KontaktArt
|
|
kontext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type KontaktRelationUncheckedUpdateManyWithoutVonKontaktInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
zuKontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumKontaktArtFieldUpdateOperationsInput | $Enums.KontaktArt
|
|
kontext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type KontaktRelationUpdateWithoutZuKontaktInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumKontaktArtFieldUpdateOperationsInput | $Enums.KontaktArt
|
|
kontext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
vonKontakt?: Prisma.KontaktUpdateOneRequiredWithoutRelationenVonNestedInput
|
|
}
|
|
|
|
export type KontaktRelationUncheckedUpdateWithoutZuKontaktInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
vonKontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumKontaktArtFieldUpdateOperationsInput | $Enums.KontaktArt
|
|
kontext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type KontaktRelationUncheckedUpdateManyWithoutZuKontaktInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
vonKontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumKontaktArtFieldUpdateOperationsInput | $Enums.KontaktArt
|
|
kontext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
|
|
|
|
export type KontaktRelationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
vonKontaktId?: boolean
|
|
zuKontaktId?: boolean
|
|
rolle?: boolean
|
|
kontext?: boolean
|
|
vonKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
zuKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kontaktRelation"]>
|
|
|
|
export type KontaktRelationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
vonKontaktId?: boolean
|
|
zuKontaktId?: boolean
|
|
rolle?: boolean
|
|
kontext?: boolean
|
|
vonKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
zuKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kontaktRelation"]>
|
|
|
|
export type KontaktRelationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
vonKontaktId?: boolean
|
|
zuKontaktId?: boolean
|
|
rolle?: boolean
|
|
kontext?: boolean
|
|
vonKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
zuKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kontaktRelation"]>
|
|
|
|
export type KontaktRelationSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
vonKontaktId?: boolean
|
|
zuKontaktId?: boolean
|
|
rolle?: boolean
|
|
kontext?: boolean
|
|
}
|
|
|
|
export type KontaktRelationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "vonKontaktId" | "zuKontaktId" | "rolle" | "kontext", ExtArgs["result"]["kontaktRelation"]>
|
|
export type KontaktRelationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
vonKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
zuKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}
|
|
export type KontaktRelationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
vonKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
zuKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}
|
|
export type KontaktRelationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
vonKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
zuKontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $KontaktRelationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "KontaktRelation"
|
|
objects: {
|
|
vonKontakt: Prisma.$KontaktPayload<ExtArgs>
|
|
zuKontakt: Prisma.$KontaktPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
tenantId: string
|
|
vonKontaktId: string
|
|
zuKontaktId: string
|
|
rolle: $Enums.KontaktArt
|
|
kontext: string | null
|
|
}, ExtArgs["result"]["kontaktRelation"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type KontaktRelationGetPayload<S extends boolean | null | undefined | KontaktRelationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload, S>
|
|
|
|
export type KontaktRelationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<KontaktRelationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: KontaktRelationCountAggregateInputType | true
|
|
}
|
|
|
|
export interface KontaktRelationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['KontaktRelation'], meta: { name: 'KontaktRelation' } }
|
|
/**
|
|
* Find zero or one KontaktRelation that matches the filter.
|
|
* @param {KontaktRelationFindUniqueArgs} args - Arguments to find a KontaktRelation
|
|
* @example
|
|
* // Get one KontaktRelation
|
|
* const kontaktRelation = await prisma.kontaktRelation.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends KontaktRelationFindUniqueArgs>(args: Prisma.SelectSubset<T, KontaktRelationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KontaktRelationClient<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one KontaktRelation that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {KontaktRelationFindUniqueOrThrowArgs} args - Arguments to find a KontaktRelation
|
|
* @example
|
|
* // Get one KontaktRelation
|
|
* const kontaktRelation = await prisma.kontaktRelation.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends KontaktRelationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KontaktRelationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KontaktRelationClient<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KontaktRelation 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 {KontaktRelationFindFirstArgs} args - Arguments to find a KontaktRelation
|
|
* @example
|
|
* // Get one KontaktRelation
|
|
* const kontaktRelation = await prisma.kontaktRelation.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends KontaktRelationFindFirstArgs>(args?: Prisma.SelectSubset<T, KontaktRelationFindFirstArgs<ExtArgs>>): Prisma.Prisma__KontaktRelationClient<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KontaktRelation 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 {KontaktRelationFindFirstOrThrowArgs} args - Arguments to find a KontaktRelation
|
|
* @example
|
|
* // Get one KontaktRelation
|
|
* const kontaktRelation = await prisma.kontaktRelation.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends KontaktRelationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KontaktRelationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KontaktRelationClient<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more KontaktRelations 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 {KontaktRelationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all KontaktRelations
|
|
* const kontaktRelations = await prisma.kontaktRelation.findMany()
|
|
*
|
|
* // Get first 10 KontaktRelations
|
|
* const kontaktRelations = await prisma.kontaktRelation.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const kontaktRelationWithIdOnly = await prisma.kontaktRelation.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends KontaktRelationFindManyArgs>(args?: Prisma.SelectSubset<T, KontaktRelationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a KontaktRelation.
|
|
* @param {KontaktRelationCreateArgs} args - Arguments to create a KontaktRelation.
|
|
* @example
|
|
* // Create one KontaktRelation
|
|
* const KontaktRelation = await prisma.kontaktRelation.create({
|
|
* data: {
|
|
* // ... data to create a KontaktRelation
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends KontaktRelationCreateArgs>(args: Prisma.SelectSubset<T, KontaktRelationCreateArgs<ExtArgs>>): Prisma.Prisma__KontaktRelationClient<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many KontaktRelations.
|
|
* @param {KontaktRelationCreateManyArgs} args - Arguments to create many KontaktRelations.
|
|
* @example
|
|
* // Create many KontaktRelations
|
|
* const kontaktRelation = await prisma.kontaktRelation.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends KontaktRelationCreateManyArgs>(args?: Prisma.SelectSubset<T, KontaktRelationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many KontaktRelations and returns the data saved in the database.
|
|
* @param {KontaktRelationCreateManyAndReturnArgs} args - Arguments to create many KontaktRelations.
|
|
* @example
|
|
* // Create many KontaktRelations
|
|
* const kontaktRelation = await prisma.kontaktRelation.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many KontaktRelations and only return the `id`
|
|
* const kontaktRelationWithIdOnly = await prisma.kontaktRelation.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 KontaktRelationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KontaktRelationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a KontaktRelation.
|
|
* @param {KontaktRelationDeleteArgs} args - Arguments to delete one KontaktRelation.
|
|
* @example
|
|
* // Delete one KontaktRelation
|
|
* const KontaktRelation = await prisma.kontaktRelation.delete({
|
|
* where: {
|
|
* // ... filter to delete one KontaktRelation
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends KontaktRelationDeleteArgs>(args: Prisma.SelectSubset<T, KontaktRelationDeleteArgs<ExtArgs>>): Prisma.Prisma__KontaktRelationClient<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one KontaktRelation.
|
|
* @param {KontaktRelationUpdateArgs} args - Arguments to update one KontaktRelation.
|
|
* @example
|
|
* // Update one KontaktRelation
|
|
* const kontaktRelation = await prisma.kontaktRelation.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends KontaktRelationUpdateArgs>(args: Prisma.SelectSubset<T, KontaktRelationUpdateArgs<ExtArgs>>): Prisma.Prisma__KontaktRelationClient<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more KontaktRelations.
|
|
* @param {KontaktRelationDeleteManyArgs} args - Arguments to filter KontaktRelations to delete.
|
|
* @example
|
|
* // Delete a few KontaktRelations
|
|
* const { count } = await prisma.kontaktRelation.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends KontaktRelationDeleteManyArgs>(args?: Prisma.SelectSubset<T, KontaktRelationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KontaktRelations.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KontaktRelationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many KontaktRelations
|
|
* const kontaktRelation = await prisma.kontaktRelation.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends KontaktRelationUpdateManyArgs>(args: Prisma.SelectSubset<T, KontaktRelationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KontaktRelations and returns the data updated in the database.
|
|
* @param {KontaktRelationUpdateManyAndReturnArgs} args - Arguments to update many KontaktRelations.
|
|
* @example
|
|
* // Update many KontaktRelations
|
|
* const kontaktRelation = await prisma.kontaktRelation.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more KontaktRelations and only return the `id`
|
|
* const kontaktRelationWithIdOnly = await prisma.kontaktRelation.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 KontaktRelationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KontaktRelationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one KontaktRelation.
|
|
* @param {KontaktRelationUpsertArgs} args - Arguments to update or create a KontaktRelation.
|
|
* @example
|
|
* // Update or create a KontaktRelation
|
|
* const kontaktRelation = await prisma.kontaktRelation.upsert({
|
|
* create: {
|
|
* // ... data to create a KontaktRelation
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the KontaktRelation we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends KontaktRelationUpsertArgs>(args: Prisma.SelectSubset<T, KontaktRelationUpsertArgs<ExtArgs>>): Prisma.Prisma__KontaktRelationClient<runtime.Types.Result.GetResult<Prisma.$KontaktRelationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of KontaktRelations.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KontaktRelationCountArgs} args - Arguments to filter KontaktRelations to count.
|
|
* @example
|
|
* // Count the number of KontaktRelations
|
|
* const count = await prisma.kontaktRelation.count({
|
|
* where: {
|
|
* // ... the filter for the KontaktRelations we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends KontaktRelationCountArgs>(
|
|
args?: Prisma.Subset<T, KontaktRelationCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], KontaktRelationCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a KontaktRelation.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KontaktRelationAggregateArgs} 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 KontaktRelationAggregateArgs>(args: Prisma.Subset<T, KontaktRelationAggregateArgs>): Prisma.PrismaPromise<GetKontaktRelationAggregateType<T>>
|
|
|
|
/**
|
|
* Group by KontaktRelation.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KontaktRelationGroupByArgs} 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 KontaktRelationGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: KontaktRelationGroupByArgs['orderBy'] }
|
|
: { orderBy?: KontaktRelationGroupByArgs['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, KontaktRelationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKontaktRelationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the KontaktRelation model
|
|
*/
|
|
readonly fields: KontaktRelationFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for KontaktRelation.
|
|
* 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__KontaktRelationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
vonKontakt<T extends Prisma.KontaktDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KontaktDefaultArgs<ExtArgs>>): Prisma.Prisma__KontaktClient<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
zuKontakt<T extends Prisma.KontaktDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KontaktDefaultArgs<ExtArgs>>): Prisma.Prisma__KontaktClient<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the KontaktRelation model
|
|
*/
|
|
export interface KontaktRelationFieldRefs {
|
|
readonly id: Prisma.FieldRef<"KontaktRelation", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"KontaktRelation", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"KontaktRelation", 'String'>
|
|
readonly vonKontaktId: Prisma.FieldRef<"KontaktRelation", 'String'>
|
|
readonly zuKontaktId: Prisma.FieldRef<"KontaktRelation", 'String'>
|
|
readonly rolle: Prisma.FieldRef<"KontaktRelation", 'KontaktArt'>
|
|
readonly kontext: Prisma.FieldRef<"KontaktRelation", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* KontaktRelation findUnique
|
|
*/
|
|
export type KontaktRelationFindUniqueArgs<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
|
|
/**
|
|
* Filter, which KontaktRelation to fetch.
|
|
*/
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation findUniqueOrThrow
|
|
*/
|
|
export type KontaktRelationFindUniqueOrThrowArgs<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
|
|
/**
|
|
* Filter, which KontaktRelation to fetch.
|
|
*/
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation findFirst
|
|
*/
|
|
export type KontaktRelationFindFirstArgs<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
|
|
/**
|
|
* Filter, which KontaktRelation to fetch.
|
|
*/
|
|
where?: Prisma.KontaktRelationWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KontaktRelations to fetch.
|
|
*/
|
|
orderBy?: Prisma.KontaktRelationOrderByWithRelationInput | Prisma.KontaktRelationOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KontaktRelations.
|
|
*/
|
|
cursor?: Prisma.KontaktRelationWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KontaktRelations 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` KontaktRelations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KontaktRelations.
|
|
*/
|
|
distinct?: Prisma.KontaktRelationScalarFieldEnum | Prisma.KontaktRelationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation findFirstOrThrow
|
|
*/
|
|
export type KontaktRelationFindFirstOrThrowArgs<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
|
|
/**
|
|
* Filter, which KontaktRelation to fetch.
|
|
*/
|
|
where?: Prisma.KontaktRelationWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KontaktRelations to fetch.
|
|
*/
|
|
orderBy?: Prisma.KontaktRelationOrderByWithRelationInput | Prisma.KontaktRelationOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KontaktRelations.
|
|
*/
|
|
cursor?: Prisma.KontaktRelationWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KontaktRelations 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` KontaktRelations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KontaktRelations.
|
|
*/
|
|
distinct?: Prisma.KontaktRelationScalarFieldEnum | Prisma.KontaktRelationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation findMany
|
|
*/
|
|
export type KontaktRelationFindManyArgs<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
|
|
/**
|
|
* Filter, which KontaktRelations to fetch.
|
|
*/
|
|
where?: Prisma.KontaktRelationWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KontaktRelations to fetch.
|
|
*/
|
|
orderBy?: Prisma.KontaktRelationOrderByWithRelationInput | Prisma.KontaktRelationOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing KontaktRelations.
|
|
*/
|
|
cursor?: Prisma.KontaktRelationWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KontaktRelations 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` KontaktRelations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KontaktRelations.
|
|
*/
|
|
distinct?: Prisma.KontaktRelationScalarFieldEnum | Prisma.KontaktRelationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation create
|
|
*/
|
|
export type KontaktRelationCreateArgs<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
|
|
/**
|
|
* The data needed to create a KontaktRelation.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KontaktRelationCreateInput, Prisma.KontaktRelationUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation createMany
|
|
*/
|
|
export type KontaktRelationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many KontaktRelations.
|
|
*/
|
|
data: Prisma.KontaktRelationCreateManyInput | Prisma.KontaktRelationCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation createManyAndReturn
|
|
*/
|
|
export type KontaktRelationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktRelation
|
|
*/
|
|
select?: Prisma.KontaktRelationSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktRelation
|
|
*/
|
|
omit?: Prisma.KontaktRelationOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many KontaktRelations.
|
|
*/
|
|
data: Prisma.KontaktRelationCreateManyInput | Prisma.KontaktRelationCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktRelationIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation update
|
|
*/
|
|
export type KontaktRelationUpdateArgs<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
|
|
/**
|
|
* The data needed to update a KontaktRelation.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KontaktRelationUpdateInput, Prisma.KontaktRelationUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which KontaktRelation to update.
|
|
*/
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation updateMany
|
|
*/
|
|
export type KontaktRelationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update KontaktRelations.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KontaktRelationUpdateManyMutationInput, Prisma.KontaktRelationUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KontaktRelations to update
|
|
*/
|
|
where?: Prisma.KontaktRelationWhereInput
|
|
/**
|
|
* Limit how many KontaktRelations to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation updateManyAndReturn
|
|
*/
|
|
export type KontaktRelationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktRelation
|
|
*/
|
|
select?: Prisma.KontaktRelationSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktRelation
|
|
*/
|
|
omit?: Prisma.KontaktRelationOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update KontaktRelations.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KontaktRelationUpdateManyMutationInput, Prisma.KontaktRelationUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KontaktRelations to update
|
|
*/
|
|
where?: Prisma.KontaktRelationWhereInput
|
|
/**
|
|
* Limit how many KontaktRelations to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktRelationIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation upsert
|
|
*/
|
|
export type KontaktRelationUpsertArgs<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
|
|
/**
|
|
* The filter to search for the KontaktRelation to update in case it exists.
|
|
*/
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
/**
|
|
* In case the KontaktRelation found by the `where` argument doesn't exist, create a new KontaktRelation with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.KontaktRelationCreateInput, Prisma.KontaktRelationUncheckedCreateInput>
|
|
/**
|
|
* In case the KontaktRelation was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.KontaktRelationUpdateInput, Prisma.KontaktRelationUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation delete
|
|
*/
|
|
export type KontaktRelationDeleteArgs<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
|
|
/**
|
|
* Filter which KontaktRelation to delete.
|
|
*/
|
|
where: Prisma.KontaktRelationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation deleteMany
|
|
*/
|
|
export type KontaktRelationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KontaktRelations to delete
|
|
*/
|
|
where?: Prisma.KontaktRelationWhereInput
|
|
/**
|
|
* Limit how many KontaktRelations to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KontaktRelation without action
|
|
*/
|
|
export type KontaktRelationDefaultArgs<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
|
|
}
|