1420 lines
54 KiB
TypeScript
1420 lines
54 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 `KontaktTelefon` 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 KontaktTelefon
|
|
*
|
|
*/
|
|
export type KontaktTelefonModel = runtime.Types.Result.DefaultSelection<Prisma.$KontaktTelefonPayload>
|
|
|
|
export type AggregateKontaktTelefon = {
|
|
_count: KontaktTelefonCountAggregateOutputType | null
|
|
_min: KontaktTelefonMinAggregateOutputType | null
|
|
_max: KontaktTelefonMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type KontaktTelefonMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
tenantId: string | null
|
|
kontaktId: string | null
|
|
telefon: string | null
|
|
typ: $Enums.KontaktTelefonTyp | null
|
|
primaer: boolean | null
|
|
}
|
|
|
|
export type KontaktTelefonMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
tenantId: string | null
|
|
kontaktId: string | null
|
|
telefon: string | null
|
|
typ: $Enums.KontaktTelefonTyp | null
|
|
primaer: boolean | null
|
|
}
|
|
|
|
export type KontaktTelefonCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
tenantId: number
|
|
kontaktId: number
|
|
telefon: number
|
|
typ: number
|
|
primaer: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type KontaktTelefonMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
kontaktId?: true
|
|
telefon?: true
|
|
typ?: true
|
|
primaer?: true
|
|
}
|
|
|
|
export type KontaktTelefonMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
kontaktId?: true
|
|
telefon?: true
|
|
typ?: true
|
|
primaer?: true
|
|
}
|
|
|
|
export type KontaktTelefonCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
kontaktId?: true
|
|
telefon?: true
|
|
typ?: true
|
|
primaer?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type KontaktTelefonAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KontaktTelefon to aggregate.
|
|
*/
|
|
where?: Prisma.KontaktTelefonWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KontaktTelefons to fetch.
|
|
*/
|
|
orderBy?: Prisma.KontaktTelefonOrderByWithRelationInput | Prisma.KontaktTelefonOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.KontaktTelefonWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KontaktTelefons 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` KontaktTelefons.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned KontaktTelefons
|
|
**/
|
|
_count?: true | KontaktTelefonCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: KontaktTelefonMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: KontaktTelefonMaxAggregateInputType
|
|
}
|
|
|
|
export type GetKontaktTelefonAggregateType<T extends KontaktTelefonAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateKontaktTelefon]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateKontaktTelefon[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateKontaktTelefon[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type KontaktTelefonGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.KontaktTelefonWhereInput
|
|
orderBy?: Prisma.KontaktTelefonOrderByWithAggregationInput | Prisma.KontaktTelefonOrderByWithAggregationInput[]
|
|
by: Prisma.KontaktTelefonScalarFieldEnum[] | Prisma.KontaktTelefonScalarFieldEnum
|
|
having?: Prisma.KontaktTelefonScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: KontaktTelefonCountAggregateInputType | true
|
|
_min?: KontaktTelefonMinAggregateInputType
|
|
_max?: KontaktTelefonMaxAggregateInputType
|
|
}
|
|
|
|
export type KontaktTelefonGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
tenantId: string
|
|
kontaktId: string
|
|
telefon: string
|
|
typ: $Enums.KontaktTelefonTyp
|
|
primaer: boolean
|
|
_count: KontaktTelefonCountAggregateOutputType | null
|
|
_min: KontaktTelefonMinAggregateOutputType | null
|
|
_max: KontaktTelefonMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetKontaktTelefonGroupByPayload<T extends KontaktTelefonGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<KontaktTelefonGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof KontaktTelefonGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], KontaktTelefonGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], KontaktTelefonGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type KontaktTelefonWhereInput = {
|
|
AND?: Prisma.KontaktTelefonWhereInput | Prisma.KontaktTelefonWhereInput[]
|
|
OR?: Prisma.KontaktTelefonWhereInput[]
|
|
NOT?: Prisma.KontaktTelefonWhereInput | Prisma.KontaktTelefonWhereInput[]
|
|
id?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"KontaktTelefon"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
kontaktId?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
telefon?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
typ?: Prisma.EnumKontaktTelefonTypFilter<"KontaktTelefon"> | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolFilter<"KontaktTelefon"> | boolean
|
|
kontakt?: Prisma.XOR<Prisma.KontaktScalarRelationFilter, Prisma.KontaktWhereInput>
|
|
}
|
|
|
|
export type KontaktTelefonOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
kontaktId?: Prisma.SortOrder
|
|
telefon?: Prisma.SortOrder
|
|
typ?: Prisma.SortOrder
|
|
primaer?: Prisma.SortOrder
|
|
kontakt?: Prisma.KontaktOrderByWithRelationInput
|
|
}
|
|
|
|
export type KontaktTelefonWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.KontaktTelefonWhereInput | Prisma.KontaktTelefonWhereInput[]
|
|
OR?: Prisma.KontaktTelefonWhereInput[]
|
|
NOT?: Prisma.KontaktTelefonWhereInput | Prisma.KontaktTelefonWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"KontaktTelefon"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
kontaktId?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
telefon?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
typ?: Prisma.EnumKontaktTelefonTypFilter<"KontaktTelefon"> | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolFilter<"KontaktTelefon"> | boolean
|
|
kontakt?: Prisma.XOR<Prisma.KontaktScalarRelationFilter, Prisma.KontaktWhereInput>
|
|
}, "id">
|
|
|
|
export type KontaktTelefonOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
kontaktId?: Prisma.SortOrder
|
|
telefon?: Prisma.SortOrder
|
|
typ?: Prisma.SortOrder
|
|
primaer?: Prisma.SortOrder
|
|
_count?: Prisma.KontaktTelefonCountOrderByAggregateInput
|
|
_max?: Prisma.KontaktTelefonMaxOrderByAggregateInput
|
|
_min?: Prisma.KontaktTelefonMinOrderByAggregateInput
|
|
}
|
|
|
|
export type KontaktTelefonScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.KontaktTelefonScalarWhereWithAggregatesInput | Prisma.KontaktTelefonScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.KontaktTelefonScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.KontaktTelefonScalarWhereWithAggregatesInput | Prisma.KontaktTelefonScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"KontaktTelefon"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"KontaktTelefon"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"KontaktTelefon"> | string
|
|
kontaktId?: Prisma.StringWithAggregatesFilter<"KontaktTelefon"> | string
|
|
telefon?: Prisma.StringWithAggregatesFilter<"KontaktTelefon"> | string
|
|
typ?: Prisma.EnumKontaktTelefonTypWithAggregatesFilter<"KontaktTelefon"> | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolWithAggregatesFilter<"KontaktTelefon"> | boolean
|
|
}
|
|
|
|
export type KontaktTelefonCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
telefon: string
|
|
typ?: $Enums.KontaktTelefonTyp
|
|
primaer?: boolean
|
|
kontakt: Prisma.KontaktCreateNestedOneWithoutTelefoneInput
|
|
}
|
|
|
|
export type KontaktTelefonUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
kontaktId: string
|
|
telefon: string
|
|
typ?: $Enums.KontaktTelefonTyp
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type KontaktTelefonUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
telefon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typ?: Prisma.EnumKontaktTelefonTypFieldUpdateOperationsInput | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
kontakt?: Prisma.KontaktUpdateOneRequiredWithoutTelefoneNestedInput
|
|
}
|
|
|
|
export type KontaktTelefonUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
telefon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typ?: Prisma.EnumKontaktTelefonTypFieldUpdateOperationsInput | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type KontaktTelefonCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
kontaktId: string
|
|
telefon: string
|
|
typ?: $Enums.KontaktTelefonTyp
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type KontaktTelefonUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
telefon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typ?: Prisma.EnumKontaktTelefonTypFieldUpdateOperationsInput | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type KontaktTelefonUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
telefon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typ?: Prisma.EnumKontaktTelefonTypFieldUpdateOperationsInput | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type KontaktTelefonListRelationFilter = {
|
|
every?: Prisma.KontaktTelefonWhereInput
|
|
some?: Prisma.KontaktTelefonWhereInput
|
|
none?: Prisma.KontaktTelefonWhereInput
|
|
}
|
|
|
|
export type KontaktTelefonOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KontaktTelefonCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
kontaktId?: Prisma.SortOrder
|
|
telefon?: Prisma.SortOrder
|
|
typ?: Prisma.SortOrder
|
|
primaer?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KontaktTelefonMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
kontaktId?: Prisma.SortOrder
|
|
telefon?: Prisma.SortOrder
|
|
typ?: Prisma.SortOrder
|
|
primaer?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KontaktTelefonMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
kontaktId?: Prisma.SortOrder
|
|
telefon?: Prisma.SortOrder
|
|
typ?: Prisma.SortOrder
|
|
primaer?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KontaktTelefonCreateNestedManyWithoutKontaktInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktTelefonCreateWithoutKontaktInput, Prisma.KontaktTelefonUncheckedCreateWithoutKontaktInput> | Prisma.KontaktTelefonCreateWithoutKontaktInput[] | Prisma.KontaktTelefonUncheckedCreateWithoutKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktTelefonCreateOrConnectWithoutKontaktInput | Prisma.KontaktTelefonCreateOrConnectWithoutKontaktInput[]
|
|
createMany?: Prisma.KontaktTelefonCreateManyKontaktInputEnvelope
|
|
connect?: Prisma.KontaktTelefonWhereUniqueInput | Prisma.KontaktTelefonWhereUniqueInput[]
|
|
}
|
|
|
|
export type KontaktTelefonUncheckedCreateNestedManyWithoutKontaktInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktTelefonCreateWithoutKontaktInput, Prisma.KontaktTelefonUncheckedCreateWithoutKontaktInput> | Prisma.KontaktTelefonCreateWithoutKontaktInput[] | Prisma.KontaktTelefonUncheckedCreateWithoutKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktTelefonCreateOrConnectWithoutKontaktInput | Prisma.KontaktTelefonCreateOrConnectWithoutKontaktInput[]
|
|
createMany?: Prisma.KontaktTelefonCreateManyKontaktInputEnvelope
|
|
connect?: Prisma.KontaktTelefonWhereUniqueInput | Prisma.KontaktTelefonWhereUniqueInput[]
|
|
}
|
|
|
|
export type KontaktTelefonUpdateManyWithoutKontaktNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktTelefonCreateWithoutKontaktInput, Prisma.KontaktTelefonUncheckedCreateWithoutKontaktInput> | Prisma.KontaktTelefonCreateWithoutKontaktInput[] | Prisma.KontaktTelefonUncheckedCreateWithoutKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktTelefonCreateOrConnectWithoutKontaktInput | Prisma.KontaktTelefonCreateOrConnectWithoutKontaktInput[]
|
|
upsert?: Prisma.KontaktTelefonUpsertWithWhereUniqueWithoutKontaktInput | Prisma.KontaktTelefonUpsertWithWhereUniqueWithoutKontaktInput[]
|
|
createMany?: Prisma.KontaktTelefonCreateManyKontaktInputEnvelope
|
|
set?: Prisma.KontaktTelefonWhereUniqueInput | Prisma.KontaktTelefonWhereUniqueInput[]
|
|
disconnect?: Prisma.KontaktTelefonWhereUniqueInput | Prisma.KontaktTelefonWhereUniqueInput[]
|
|
delete?: Prisma.KontaktTelefonWhereUniqueInput | Prisma.KontaktTelefonWhereUniqueInput[]
|
|
connect?: Prisma.KontaktTelefonWhereUniqueInput | Prisma.KontaktTelefonWhereUniqueInput[]
|
|
update?: Prisma.KontaktTelefonUpdateWithWhereUniqueWithoutKontaktInput | Prisma.KontaktTelefonUpdateWithWhereUniqueWithoutKontaktInput[]
|
|
updateMany?: Prisma.KontaktTelefonUpdateManyWithWhereWithoutKontaktInput | Prisma.KontaktTelefonUpdateManyWithWhereWithoutKontaktInput[]
|
|
deleteMany?: Prisma.KontaktTelefonScalarWhereInput | Prisma.KontaktTelefonScalarWhereInput[]
|
|
}
|
|
|
|
export type KontaktTelefonUncheckedUpdateManyWithoutKontaktNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KontaktTelefonCreateWithoutKontaktInput, Prisma.KontaktTelefonUncheckedCreateWithoutKontaktInput> | Prisma.KontaktTelefonCreateWithoutKontaktInput[] | Prisma.KontaktTelefonUncheckedCreateWithoutKontaktInput[]
|
|
connectOrCreate?: Prisma.KontaktTelefonCreateOrConnectWithoutKontaktInput | Prisma.KontaktTelefonCreateOrConnectWithoutKontaktInput[]
|
|
upsert?: Prisma.KontaktTelefonUpsertWithWhereUniqueWithoutKontaktInput | Prisma.KontaktTelefonUpsertWithWhereUniqueWithoutKontaktInput[]
|
|
createMany?: Prisma.KontaktTelefonCreateManyKontaktInputEnvelope
|
|
set?: Prisma.KontaktTelefonWhereUniqueInput | Prisma.KontaktTelefonWhereUniqueInput[]
|
|
disconnect?: Prisma.KontaktTelefonWhereUniqueInput | Prisma.KontaktTelefonWhereUniqueInput[]
|
|
delete?: Prisma.KontaktTelefonWhereUniqueInput | Prisma.KontaktTelefonWhereUniqueInput[]
|
|
connect?: Prisma.KontaktTelefonWhereUniqueInput | Prisma.KontaktTelefonWhereUniqueInput[]
|
|
update?: Prisma.KontaktTelefonUpdateWithWhereUniqueWithoutKontaktInput | Prisma.KontaktTelefonUpdateWithWhereUniqueWithoutKontaktInput[]
|
|
updateMany?: Prisma.KontaktTelefonUpdateManyWithWhereWithoutKontaktInput | Prisma.KontaktTelefonUpdateManyWithWhereWithoutKontaktInput[]
|
|
deleteMany?: Prisma.KontaktTelefonScalarWhereInput | Prisma.KontaktTelefonScalarWhereInput[]
|
|
}
|
|
|
|
export type EnumKontaktTelefonTypFieldUpdateOperationsInput = {
|
|
set?: $Enums.KontaktTelefonTyp
|
|
}
|
|
|
|
export type KontaktTelefonCreateWithoutKontaktInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
telefon: string
|
|
typ?: $Enums.KontaktTelefonTyp
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type KontaktTelefonUncheckedCreateWithoutKontaktInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
telefon: string
|
|
typ?: $Enums.KontaktTelefonTyp
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type KontaktTelefonCreateOrConnectWithoutKontaktInput = {
|
|
where: Prisma.KontaktTelefonWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.KontaktTelefonCreateWithoutKontaktInput, Prisma.KontaktTelefonUncheckedCreateWithoutKontaktInput>
|
|
}
|
|
|
|
export type KontaktTelefonCreateManyKontaktInputEnvelope = {
|
|
data: Prisma.KontaktTelefonCreateManyKontaktInput | Prisma.KontaktTelefonCreateManyKontaktInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type KontaktTelefonUpsertWithWhereUniqueWithoutKontaktInput = {
|
|
where: Prisma.KontaktTelefonWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.KontaktTelefonUpdateWithoutKontaktInput, Prisma.KontaktTelefonUncheckedUpdateWithoutKontaktInput>
|
|
create: Prisma.XOR<Prisma.KontaktTelefonCreateWithoutKontaktInput, Prisma.KontaktTelefonUncheckedCreateWithoutKontaktInput>
|
|
}
|
|
|
|
export type KontaktTelefonUpdateWithWhereUniqueWithoutKontaktInput = {
|
|
where: Prisma.KontaktTelefonWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.KontaktTelefonUpdateWithoutKontaktInput, Prisma.KontaktTelefonUncheckedUpdateWithoutKontaktInput>
|
|
}
|
|
|
|
export type KontaktTelefonUpdateManyWithWhereWithoutKontaktInput = {
|
|
where: Prisma.KontaktTelefonScalarWhereInput
|
|
data: Prisma.XOR<Prisma.KontaktTelefonUpdateManyMutationInput, Prisma.KontaktTelefonUncheckedUpdateManyWithoutKontaktInput>
|
|
}
|
|
|
|
export type KontaktTelefonScalarWhereInput = {
|
|
AND?: Prisma.KontaktTelefonScalarWhereInput | Prisma.KontaktTelefonScalarWhereInput[]
|
|
OR?: Prisma.KontaktTelefonScalarWhereInput[]
|
|
NOT?: Prisma.KontaktTelefonScalarWhereInput | Prisma.KontaktTelefonScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"KontaktTelefon"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
kontaktId?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
telefon?: Prisma.StringFilter<"KontaktTelefon"> | string
|
|
typ?: Prisma.EnumKontaktTelefonTypFilter<"KontaktTelefon"> | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolFilter<"KontaktTelefon"> | boolean
|
|
}
|
|
|
|
export type KontaktTelefonCreateManyKontaktInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
telefon: string
|
|
typ?: $Enums.KontaktTelefonTyp
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type KontaktTelefonUpdateWithoutKontaktInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
telefon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typ?: Prisma.EnumKontaktTelefonTypFieldUpdateOperationsInput | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type KontaktTelefonUncheckedUpdateWithoutKontaktInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
telefon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typ?: Prisma.EnumKontaktTelefonTypFieldUpdateOperationsInput | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type KontaktTelefonUncheckedUpdateManyWithoutKontaktInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
telefon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
typ?: Prisma.EnumKontaktTelefonTypFieldUpdateOperationsInput | $Enums.KontaktTelefonTyp
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
|
|
|
|
export type KontaktTelefonSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
kontaktId?: boolean
|
|
telefon?: boolean
|
|
typ?: boolean
|
|
primaer?: boolean
|
|
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kontaktTelefon"]>
|
|
|
|
export type KontaktTelefonSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
kontaktId?: boolean
|
|
telefon?: boolean
|
|
typ?: boolean
|
|
primaer?: boolean
|
|
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kontaktTelefon"]>
|
|
|
|
export type KontaktTelefonSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
kontaktId?: boolean
|
|
telefon?: boolean
|
|
typ?: boolean
|
|
primaer?: boolean
|
|
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kontaktTelefon"]>
|
|
|
|
export type KontaktTelefonSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
kontaktId?: boolean
|
|
telefon?: boolean
|
|
typ?: boolean
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type KontaktTelefonOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "kontaktId" | "telefon" | "typ" | "primaer", ExtArgs["result"]["kontaktTelefon"]>
|
|
export type KontaktTelefonInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}
|
|
export type KontaktTelefonIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}
|
|
export type KontaktTelefonIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $KontaktTelefonPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "KontaktTelefon"
|
|
objects: {
|
|
kontakt: Prisma.$KontaktPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
tenantId: string
|
|
kontaktId: string
|
|
telefon: string
|
|
typ: $Enums.KontaktTelefonTyp
|
|
primaer: boolean
|
|
}, ExtArgs["result"]["kontaktTelefon"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type KontaktTelefonGetPayload<S extends boolean | null | undefined | KontaktTelefonDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload, S>
|
|
|
|
export type KontaktTelefonCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<KontaktTelefonFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: KontaktTelefonCountAggregateInputType | true
|
|
}
|
|
|
|
export interface KontaktTelefonDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['KontaktTelefon'], meta: { name: 'KontaktTelefon' } }
|
|
/**
|
|
* Find zero or one KontaktTelefon that matches the filter.
|
|
* @param {KontaktTelefonFindUniqueArgs} args - Arguments to find a KontaktTelefon
|
|
* @example
|
|
* // Get one KontaktTelefon
|
|
* const kontaktTelefon = await prisma.kontaktTelefon.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends KontaktTelefonFindUniqueArgs>(args: Prisma.SelectSubset<T, KontaktTelefonFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KontaktTelefonClient<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one KontaktTelefon that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {KontaktTelefonFindUniqueOrThrowArgs} args - Arguments to find a KontaktTelefon
|
|
* @example
|
|
* // Get one KontaktTelefon
|
|
* const kontaktTelefon = await prisma.kontaktTelefon.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends KontaktTelefonFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KontaktTelefonFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KontaktTelefonClient<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KontaktTelefon 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 {KontaktTelefonFindFirstArgs} args - Arguments to find a KontaktTelefon
|
|
* @example
|
|
* // Get one KontaktTelefon
|
|
* const kontaktTelefon = await prisma.kontaktTelefon.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends KontaktTelefonFindFirstArgs>(args?: Prisma.SelectSubset<T, KontaktTelefonFindFirstArgs<ExtArgs>>): Prisma.Prisma__KontaktTelefonClient<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KontaktTelefon 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 {KontaktTelefonFindFirstOrThrowArgs} args - Arguments to find a KontaktTelefon
|
|
* @example
|
|
* // Get one KontaktTelefon
|
|
* const kontaktTelefon = await prisma.kontaktTelefon.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends KontaktTelefonFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KontaktTelefonFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KontaktTelefonClient<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more KontaktTelefons 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 {KontaktTelefonFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all KontaktTelefons
|
|
* const kontaktTelefons = await prisma.kontaktTelefon.findMany()
|
|
*
|
|
* // Get first 10 KontaktTelefons
|
|
* const kontaktTelefons = await prisma.kontaktTelefon.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const kontaktTelefonWithIdOnly = await prisma.kontaktTelefon.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends KontaktTelefonFindManyArgs>(args?: Prisma.SelectSubset<T, KontaktTelefonFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a KontaktTelefon.
|
|
* @param {KontaktTelefonCreateArgs} args - Arguments to create a KontaktTelefon.
|
|
* @example
|
|
* // Create one KontaktTelefon
|
|
* const KontaktTelefon = await prisma.kontaktTelefon.create({
|
|
* data: {
|
|
* // ... data to create a KontaktTelefon
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends KontaktTelefonCreateArgs>(args: Prisma.SelectSubset<T, KontaktTelefonCreateArgs<ExtArgs>>): Prisma.Prisma__KontaktTelefonClient<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many KontaktTelefons.
|
|
* @param {KontaktTelefonCreateManyArgs} args - Arguments to create many KontaktTelefons.
|
|
* @example
|
|
* // Create many KontaktTelefons
|
|
* const kontaktTelefon = await prisma.kontaktTelefon.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends KontaktTelefonCreateManyArgs>(args?: Prisma.SelectSubset<T, KontaktTelefonCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many KontaktTelefons and returns the data saved in the database.
|
|
* @param {KontaktTelefonCreateManyAndReturnArgs} args - Arguments to create many KontaktTelefons.
|
|
* @example
|
|
* // Create many KontaktTelefons
|
|
* const kontaktTelefon = await prisma.kontaktTelefon.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many KontaktTelefons and only return the `id`
|
|
* const kontaktTelefonWithIdOnly = await prisma.kontaktTelefon.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 KontaktTelefonCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KontaktTelefonCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a KontaktTelefon.
|
|
* @param {KontaktTelefonDeleteArgs} args - Arguments to delete one KontaktTelefon.
|
|
* @example
|
|
* // Delete one KontaktTelefon
|
|
* const KontaktTelefon = await prisma.kontaktTelefon.delete({
|
|
* where: {
|
|
* // ... filter to delete one KontaktTelefon
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends KontaktTelefonDeleteArgs>(args: Prisma.SelectSubset<T, KontaktTelefonDeleteArgs<ExtArgs>>): Prisma.Prisma__KontaktTelefonClient<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one KontaktTelefon.
|
|
* @param {KontaktTelefonUpdateArgs} args - Arguments to update one KontaktTelefon.
|
|
* @example
|
|
* // Update one KontaktTelefon
|
|
* const kontaktTelefon = await prisma.kontaktTelefon.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends KontaktTelefonUpdateArgs>(args: Prisma.SelectSubset<T, KontaktTelefonUpdateArgs<ExtArgs>>): Prisma.Prisma__KontaktTelefonClient<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more KontaktTelefons.
|
|
* @param {KontaktTelefonDeleteManyArgs} args - Arguments to filter KontaktTelefons to delete.
|
|
* @example
|
|
* // Delete a few KontaktTelefons
|
|
* const { count } = await prisma.kontaktTelefon.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends KontaktTelefonDeleteManyArgs>(args?: Prisma.SelectSubset<T, KontaktTelefonDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KontaktTelefons.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KontaktTelefonUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many KontaktTelefons
|
|
* const kontaktTelefon = await prisma.kontaktTelefon.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends KontaktTelefonUpdateManyArgs>(args: Prisma.SelectSubset<T, KontaktTelefonUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KontaktTelefons and returns the data updated in the database.
|
|
* @param {KontaktTelefonUpdateManyAndReturnArgs} args - Arguments to update many KontaktTelefons.
|
|
* @example
|
|
* // Update many KontaktTelefons
|
|
* const kontaktTelefon = await prisma.kontaktTelefon.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more KontaktTelefons and only return the `id`
|
|
* const kontaktTelefonWithIdOnly = await prisma.kontaktTelefon.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 KontaktTelefonUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KontaktTelefonUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one KontaktTelefon.
|
|
* @param {KontaktTelefonUpsertArgs} args - Arguments to update or create a KontaktTelefon.
|
|
* @example
|
|
* // Update or create a KontaktTelefon
|
|
* const kontaktTelefon = await prisma.kontaktTelefon.upsert({
|
|
* create: {
|
|
* // ... data to create a KontaktTelefon
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the KontaktTelefon we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends KontaktTelefonUpsertArgs>(args: Prisma.SelectSubset<T, KontaktTelefonUpsertArgs<ExtArgs>>): Prisma.Prisma__KontaktTelefonClient<runtime.Types.Result.GetResult<Prisma.$KontaktTelefonPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of KontaktTelefons.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KontaktTelefonCountArgs} args - Arguments to filter KontaktTelefons to count.
|
|
* @example
|
|
* // Count the number of KontaktTelefons
|
|
* const count = await prisma.kontaktTelefon.count({
|
|
* where: {
|
|
* // ... the filter for the KontaktTelefons we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends KontaktTelefonCountArgs>(
|
|
args?: Prisma.Subset<T, KontaktTelefonCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], KontaktTelefonCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a KontaktTelefon.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KontaktTelefonAggregateArgs} 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 KontaktTelefonAggregateArgs>(args: Prisma.Subset<T, KontaktTelefonAggregateArgs>): Prisma.PrismaPromise<GetKontaktTelefonAggregateType<T>>
|
|
|
|
/**
|
|
* Group by KontaktTelefon.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KontaktTelefonGroupByArgs} 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 KontaktTelefonGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: KontaktTelefonGroupByArgs['orderBy'] }
|
|
: { orderBy?: KontaktTelefonGroupByArgs['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, KontaktTelefonGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKontaktTelefonGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the KontaktTelefon model
|
|
*/
|
|
readonly fields: KontaktTelefonFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for KontaktTelefon.
|
|
* 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__KontaktTelefonClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
kontakt<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 KontaktTelefon model
|
|
*/
|
|
export interface KontaktTelefonFieldRefs {
|
|
readonly id: Prisma.FieldRef<"KontaktTelefon", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"KontaktTelefon", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"KontaktTelefon", 'String'>
|
|
readonly kontaktId: Prisma.FieldRef<"KontaktTelefon", 'String'>
|
|
readonly telefon: Prisma.FieldRef<"KontaktTelefon", 'String'>
|
|
readonly typ: Prisma.FieldRef<"KontaktTelefon", 'KontaktTelefonTyp'>
|
|
readonly primaer: Prisma.FieldRef<"KontaktTelefon", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* KontaktTelefon findUnique
|
|
*/
|
|
export type KontaktTelefonFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KontaktTelefon to fetch.
|
|
*/
|
|
where: Prisma.KontaktTelefonWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon findUniqueOrThrow
|
|
*/
|
|
export type KontaktTelefonFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KontaktTelefon to fetch.
|
|
*/
|
|
where: Prisma.KontaktTelefonWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon findFirst
|
|
*/
|
|
export type KontaktTelefonFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KontaktTelefon to fetch.
|
|
*/
|
|
where?: Prisma.KontaktTelefonWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KontaktTelefons to fetch.
|
|
*/
|
|
orderBy?: Prisma.KontaktTelefonOrderByWithRelationInput | Prisma.KontaktTelefonOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KontaktTelefons.
|
|
*/
|
|
cursor?: Prisma.KontaktTelefonWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KontaktTelefons 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` KontaktTelefons.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KontaktTelefons.
|
|
*/
|
|
distinct?: Prisma.KontaktTelefonScalarFieldEnum | Prisma.KontaktTelefonScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon findFirstOrThrow
|
|
*/
|
|
export type KontaktTelefonFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KontaktTelefon to fetch.
|
|
*/
|
|
where?: Prisma.KontaktTelefonWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KontaktTelefons to fetch.
|
|
*/
|
|
orderBy?: Prisma.KontaktTelefonOrderByWithRelationInput | Prisma.KontaktTelefonOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KontaktTelefons.
|
|
*/
|
|
cursor?: Prisma.KontaktTelefonWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KontaktTelefons 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` KontaktTelefons.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KontaktTelefons.
|
|
*/
|
|
distinct?: Prisma.KontaktTelefonScalarFieldEnum | Prisma.KontaktTelefonScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon findMany
|
|
*/
|
|
export type KontaktTelefonFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KontaktTelefons to fetch.
|
|
*/
|
|
where?: Prisma.KontaktTelefonWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KontaktTelefons to fetch.
|
|
*/
|
|
orderBy?: Prisma.KontaktTelefonOrderByWithRelationInput | Prisma.KontaktTelefonOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing KontaktTelefons.
|
|
*/
|
|
cursor?: Prisma.KontaktTelefonWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KontaktTelefons 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` KontaktTelefons.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KontaktTelefons.
|
|
*/
|
|
distinct?: Prisma.KontaktTelefonScalarFieldEnum | Prisma.KontaktTelefonScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon create
|
|
*/
|
|
export type KontaktTelefonCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a KontaktTelefon.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KontaktTelefonCreateInput, Prisma.KontaktTelefonUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon createMany
|
|
*/
|
|
export type KontaktTelefonCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many KontaktTelefons.
|
|
*/
|
|
data: Prisma.KontaktTelefonCreateManyInput | Prisma.KontaktTelefonCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon createManyAndReturn
|
|
*/
|
|
export type KontaktTelefonCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many KontaktTelefons.
|
|
*/
|
|
data: Prisma.KontaktTelefonCreateManyInput | Prisma.KontaktTelefonCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon update
|
|
*/
|
|
export type KontaktTelefonUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a KontaktTelefon.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KontaktTelefonUpdateInput, Prisma.KontaktTelefonUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which KontaktTelefon to update.
|
|
*/
|
|
where: Prisma.KontaktTelefonWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon updateMany
|
|
*/
|
|
export type KontaktTelefonUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update KontaktTelefons.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KontaktTelefonUpdateManyMutationInput, Prisma.KontaktTelefonUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KontaktTelefons to update
|
|
*/
|
|
where?: Prisma.KontaktTelefonWhereInput
|
|
/**
|
|
* Limit how many KontaktTelefons to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon updateManyAndReturn
|
|
*/
|
|
export type KontaktTelefonUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update KontaktTelefons.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KontaktTelefonUpdateManyMutationInput, Prisma.KontaktTelefonUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KontaktTelefons to update
|
|
*/
|
|
where?: Prisma.KontaktTelefonWhereInput
|
|
/**
|
|
* Limit how many KontaktTelefons to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon upsert
|
|
*/
|
|
export type KontaktTelefonUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the KontaktTelefon to update in case it exists.
|
|
*/
|
|
where: Prisma.KontaktTelefonWhereUniqueInput
|
|
/**
|
|
* In case the KontaktTelefon found by the `where` argument doesn't exist, create a new KontaktTelefon with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.KontaktTelefonCreateInput, Prisma.KontaktTelefonUncheckedCreateInput>
|
|
/**
|
|
* In case the KontaktTelefon was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.KontaktTelefonUpdateInput, Prisma.KontaktTelefonUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon delete
|
|
*/
|
|
export type KontaktTelefonDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which KontaktTelefon to delete.
|
|
*/
|
|
where: Prisma.KontaktTelefonWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon deleteMany
|
|
*/
|
|
export type KontaktTelefonDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KontaktTelefons to delete
|
|
*/
|
|
where?: Prisma.KontaktTelefonWhereInput
|
|
/**
|
|
* Limit how many KontaktTelefons to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KontaktTelefon without action
|
|
*/
|
|
export type KontaktTelefonDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KontaktTelefon
|
|
*/
|
|
select?: Prisma.KontaktTelefonSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KontaktTelefon
|
|
*/
|
|
omit?: Prisma.KontaktTelefonOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KontaktTelefonInclude<ExtArgs> | null
|
|
}
|