/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateKontaktRelation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type KontaktRelationGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof KontaktRelationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 zuKontakt?: Prisma.XOR } 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 zuKontakt?: Prisma.XOR }, "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[] connectOrCreate?: Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput | Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput[] createMany?: Prisma.KontaktRelationCreateManyVonKontaktInputEnvelope connect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[] } export type KontaktRelationCreateNestedManyWithoutZuKontaktInput = { create?: Prisma.XOR | 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[] connectOrCreate?: Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput | Prisma.KontaktRelationCreateOrConnectWithoutVonKontaktInput[] createMany?: Prisma.KontaktRelationCreateManyVonKontaktInputEnvelope connect?: Prisma.KontaktRelationWhereUniqueInput | Prisma.KontaktRelationWhereUniqueInput[] } export type KontaktRelationUncheckedCreateNestedManyWithoutZuKontaktInput = { create?: Prisma.XOR | 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[] 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[] 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[] 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[] 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 } 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 } export type KontaktRelationCreateManyZuKontaktInputEnvelope = { data: Prisma.KontaktRelationCreateManyZuKontaktInput | Prisma.KontaktRelationCreateManyZuKontaktInput[] skipDuplicates?: boolean } export type KontaktRelationUpsertWithWhereUniqueWithoutVonKontaktInput = { where: Prisma.KontaktRelationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type KontaktRelationUpdateWithWhereUniqueWithoutVonKontaktInput = { where: Prisma.KontaktRelationWhereUniqueInput data: Prisma.XOR } export type KontaktRelationUpdateManyWithWhereWithoutVonKontaktInput = { where: Prisma.KontaktRelationScalarWhereInput data: Prisma.XOR } 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 create: Prisma.XOR } export type KontaktRelationUpdateWithWhereUniqueWithoutZuKontaktInput = { where: Prisma.KontaktRelationWhereUniqueInput data: Prisma.XOR } export type KontaktRelationUpdateManyWithWhereWithoutZuKontaktInput = { where: Prisma.KontaktRelationScalarWhereInput data: Prisma.XOR } 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 = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean vonKontaktId?: boolean zuKontaktId?: boolean rolle?: boolean kontext?: boolean vonKontakt?: boolean | Prisma.KontaktDefaultArgs zuKontakt?: boolean | Prisma.KontaktDefaultArgs }, ExtArgs["result"]["kontaktRelation"]> export type KontaktRelationSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean vonKontaktId?: boolean zuKontaktId?: boolean rolle?: boolean kontext?: boolean vonKontakt?: boolean | Prisma.KontaktDefaultArgs zuKontakt?: boolean | Prisma.KontaktDefaultArgs }, ExtArgs["result"]["kontaktRelation"]> export type KontaktRelationSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean vonKontaktId?: boolean zuKontaktId?: boolean rolle?: boolean kontext?: boolean vonKontakt?: boolean | Prisma.KontaktDefaultArgs zuKontakt?: boolean | Prisma.KontaktDefaultArgs }, ExtArgs["result"]["kontaktRelation"]> export type KontaktRelationSelectScalar = { id?: boolean createdAt?: boolean tenantId?: boolean vonKontaktId?: boolean zuKontaktId?: boolean rolle?: boolean kontext?: boolean } export type KontaktRelationOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "vonKontaktId" | "zuKontaktId" | "rolle" | "kontext", ExtArgs["result"]["kontaktRelation"]> export type KontaktRelationInclude = { vonKontakt?: boolean | Prisma.KontaktDefaultArgs zuKontakt?: boolean | Prisma.KontaktDefaultArgs } export type KontaktRelationIncludeCreateManyAndReturn = { vonKontakt?: boolean | Prisma.KontaktDefaultArgs zuKontakt?: boolean | Prisma.KontaktDefaultArgs } export type KontaktRelationIncludeUpdateManyAndReturn = { vonKontakt?: boolean | Prisma.KontaktDefaultArgs zuKontakt?: boolean | Prisma.KontaktDefaultArgs } export type $KontaktRelationPayload = { name: "KontaktRelation" objects: { vonKontakt: Prisma.$KontaktPayload zuKontakt: Prisma.$KontaktPayload } 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 = runtime.Types.Result.GetResult export type KontaktRelationCountArgs = Omit & { select?: KontaktRelationCountAggregateInputType | true } export interface KontaktRelationDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__KontaktRelationClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__KontaktRelationClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__KontaktRelationClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__KontaktRelationClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__KontaktRelationClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__KontaktRelationClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__KontaktRelationClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__KontaktRelationClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: KontaktRelationGroupByArgs['orderBy'] } : { orderBy?: KontaktRelationGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetKontaktRelationGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" vonKontakt = {}>(args?: Prisma.Subset>): Prisma.Prisma__KontaktClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> zuKontakt = {}>(args?: Prisma.Subset>): Prisma.Prisma__KontaktClient, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelect | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KontaktRelationInclude | null /** * Filter, which KontaktRelation to fetch. */ where: Prisma.KontaktRelationWhereUniqueInput } /** * KontaktRelation findUniqueOrThrow */ export type KontaktRelationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelect | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KontaktRelationInclude | null /** * Filter, which KontaktRelation to fetch. */ where: Prisma.KontaktRelationWhereUniqueInput } /** * KontaktRelation findFirst */ export type KontaktRelationFindFirstArgs = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelect | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KontaktRelationInclude | 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 = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelect | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KontaktRelationInclude | 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 = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelect | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KontaktRelationInclude | 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 = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelect | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KontaktRelationInclude | null /** * The data needed to create a KontaktRelation. */ data: Prisma.XOR } /** * KontaktRelation createMany */ export type KontaktRelationCreateManyArgs = { /** * The data used to create many KontaktRelations. */ data: Prisma.KontaktRelationCreateManyInput | Prisma.KontaktRelationCreateManyInput[] skipDuplicates?: boolean } /** * KontaktRelation createManyAndReturn */ export type KontaktRelationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelectCreateManyAndReturn | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | 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 | null } /** * KontaktRelation update */ export type KontaktRelationUpdateArgs = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelect | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KontaktRelationInclude | null /** * The data needed to update a KontaktRelation. */ data: Prisma.XOR /** * Choose, which KontaktRelation to update. */ where: Prisma.KontaktRelationWhereUniqueInput } /** * KontaktRelation updateMany */ export type KontaktRelationUpdateManyArgs = { /** * The data used to update KontaktRelations. */ data: Prisma.XOR /** * Filter which KontaktRelations to update */ where?: Prisma.KontaktRelationWhereInput /** * Limit how many KontaktRelations to update. */ limit?: number } /** * KontaktRelation updateManyAndReturn */ export type KontaktRelationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelectUpdateManyAndReturn | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * The data used to update KontaktRelations. */ data: Prisma.XOR /** * 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 | null } /** * KontaktRelation upsert */ export type KontaktRelationUpsertArgs = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelect | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KontaktRelationInclude | 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 /** * In case the KontaktRelation was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * KontaktRelation delete */ export type KontaktRelationDeleteArgs = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelect | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KontaktRelationInclude | null /** * Filter which KontaktRelation to delete. */ where: Prisma.KontaktRelationWhereUniqueInput } /** * KontaktRelation deleteMany */ export type KontaktRelationDeleteManyArgs = { /** * Filter which KontaktRelations to delete */ where?: Prisma.KontaktRelationWhereInput /** * Limit how many KontaktRelations to delete. */ limit?: number } /** * KontaktRelation without action */ export type KontaktRelationDefaultArgs = { /** * Select specific fields to fetch from the KontaktRelation */ select?: Prisma.KontaktRelationSelect | null /** * Omit specific fields from the KontaktRelation */ omit?: Prisma.KontaktRelationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KontaktRelationInclude | null }