Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/KontaktEmail.ts
T
2026-07-08 16:15:37 +02:00

1382 lines
52 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 `KontaktEmail` 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 KontaktEmail
* One of a contact's e-mail addresses. Exactly one carries `primaer = true`
* (enforced in the service), mirrored to `Kontakt.primaerEmail`.
*/
export type KontaktEmailModel = runtime.Types.Result.DefaultSelection<Prisma.$KontaktEmailPayload>
export type AggregateKontaktEmail = {
_count: KontaktEmailCountAggregateOutputType | null
_min: KontaktEmailMinAggregateOutputType | null
_max: KontaktEmailMaxAggregateOutputType | null
}
export type KontaktEmailMinAggregateOutputType = {
id: string | null
createdAt: Date | null
tenantId: string | null
kontaktId: string | null
email: string | null
primaer: boolean | null
}
export type KontaktEmailMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
tenantId: string | null
kontaktId: string | null
email: string | null
primaer: boolean | null
}
export type KontaktEmailCountAggregateOutputType = {
id: number
createdAt: number
tenantId: number
kontaktId: number
email: number
primaer: number
_all: number
}
export type KontaktEmailMinAggregateInputType = {
id?: true
createdAt?: true
tenantId?: true
kontaktId?: true
email?: true
primaer?: true
}
export type KontaktEmailMaxAggregateInputType = {
id?: true
createdAt?: true
tenantId?: true
kontaktId?: true
email?: true
primaer?: true
}
export type KontaktEmailCountAggregateInputType = {
id?: true
createdAt?: true
tenantId?: true
kontaktId?: true
email?: true
primaer?: true
_all?: true
}
export type KontaktEmailAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which KontaktEmail to aggregate.
*/
where?: Prisma.KontaktEmailWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KontaktEmails to fetch.
*/
orderBy?: Prisma.KontaktEmailOrderByWithRelationInput | Prisma.KontaktEmailOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.KontaktEmailWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KontaktEmails 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` KontaktEmails.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned KontaktEmails
**/
_count?: true | KontaktEmailCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: KontaktEmailMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: KontaktEmailMaxAggregateInputType
}
export type GetKontaktEmailAggregateType<T extends KontaktEmailAggregateArgs> = {
[P in keyof T & keyof AggregateKontaktEmail]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateKontaktEmail[P]>
: Prisma.GetScalarType<T[P], AggregateKontaktEmail[P]>
}
export type KontaktEmailGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.KontaktEmailWhereInput
orderBy?: Prisma.KontaktEmailOrderByWithAggregationInput | Prisma.KontaktEmailOrderByWithAggregationInput[]
by: Prisma.KontaktEmailScalarFieldEnum[] | Prisma.KontaktEmailScalarFieldEnum
having?: Prisma.KontaktEmailScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: KontaktEmailCountAggregateInputType | true
_min?: KontaktEmailMinAggregateInputType
_max?: KontaktEmailMaxAggregateInputType
}
export type KontaktEmailGroupByOutputType = {
id: string
createdAt: Date
tenantId: string
kontaktId: string
email: string
primaer: boolean
_count: KontaktEmailCountAggregateOutputType | null
_min: KontaktEmailMinAggregateOutputType | null
_max: KontaktEmailMaxAggregateOutputType | null
}
export type GetKontaktEmailGroupByPayload<T extends KontaktEmailGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<KontaktEmailGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof KontaktEmailGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], KontaktEmailGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], KontaktEmailGroupByOutputType[P]>
}
>
>
export type KontaktEmailWhereInput = {
AND?: Prisma.KontaktEmailWhereInput | Prisma.KontaktEmailWhereInput[]
OR?: Prisma.KontaktEmailWhereInput[]
NOT?: Prisma.KontaktEmailWhereInput | Prisma.KontaktEmailWhereInput[]
id?: Prisma.StringFilter<"KontaktEmail"> | string
createdAt?: Prisma.DateTimeFilter<"KontaktEmail"> | Date | string
tenantId?: Prisma.StringFilter<"KontaktEmail"> | string
kontaktId?: Prisma.StringFilter<"KontaktEmail"> | string
email?: Prisma.StringFilter<"KontaktEmail"> | string
primaer?: Prisma.BoolFilter<"KontaktEmail"> | boolean
kontakt?: Prisma.XOR<Prisma.KontaktScalarRelationFilter, Prisma.KontaktWhereInput>
}
export type KontaktEmailOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
kontaktId?: Prisma.SortOrder
email?: Prisma.SortOrder
primaer?: Prisma.SortOrder
kontakt?: Prisma.KontaktOrderByWithRelationInput
}
export type KontaktEmailWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.KontaktEmailWhereInput | Prisma.KontaktEmailWhereInput[]
OR?: Prisma.KontaktEmailWhereInput[]
NOT?: Prisma.KontaktEmailWhereInput | Prisma.KontaktEmailWhereInput[]
createdAt?: Prisma.DateTimeFilter<"KontaktEmail"> | Date | string
tenantId?: Prisma.StringFilter<"KontaktEmail"> | string
kontaktId?: Prisma.StringFilter<"KontaktEmail"> | string
email?: Prisma.StringFilter<"KontaktEmail"> | string
primaer?: Prisma.BoolFilter<"KontaktEmail"> | boolean
kontakt?: Prisma.XOR<Prisma.KontaktScalarRelationFilter, Prisma.KontaktWhereInput>
}, "id">
export type KontaktEmailOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
kontaktId?: Prisma.SortOrder
email?: Prisma.SortOrder
primaer?: Prisma.SortOrder
_count?: Prisma.KontaktEmailCountOrderByAggregateInput
_max?: Prisma.KontaktEmailMaxOrderByAggregateInput
_min?: Prisma.KontaktEmailMinOrderByAggregateInput
}
export type KontaktEmailScalarWhereWithAggregatesInput = {
AND?: Prisma.KontaktEmailScalarWhereWithAggregatesInput | Prisma.KontaktEmailScalarWhereWithAggregatesInput[]
OR?: Prisma.KontaktEmailScalarWhereWithAggregatesInput[]
NOT?: Prisma.KontaktEmailScalarWhereWithAggregatesInput | Prisma.KontaktEmailScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"KontaktEmail"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"KontaktEmail"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"KontaktEmail"> | string
kontaktId?: Prisma.StringWithAggregatesFilter<"KontaktEmail"> | string
email?: Prisma.StringWithAggregatesFilter<"KontaktEmail"> | string
primaer?: Prisma.BoolWithAggregatesFilter<"KontaktEmail"> | boolean
}
export type KontaktEmailCreateInput = {
id?: string
createdAt?: Date | string
tenantId: string
email: string
primaer?: boolean
kontakt: Prisma.KontaktCreateNestedOneWithoutEmailsInput
}
export type KontaktEmailUncheckedCreateInput = {
id?: string
createdAt?: Date | string
tenantId: string
kontaktId: string
email: string
primaer?: boolean
}
export type KontaktEmailUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
kontakt?: Prisma.KontaktUpdateOneRequiredWithoutEmailsNestedInput
}
export type KontaktEmailUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type KontaktEmailCreateManyInput = {
id?: string
createdAt?: Date | string
tenantId: string
kontaktId: string
email: string
primaer?: boolean
}
export type KontaktEmailUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type KontaktEmailUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type KontaktEmailListRelationFilter = {
every?: Prisma.KontaktEmailWhereInput
some?: Prisma.KontaktEmailWhereInput
none?: Prisma.KontaktEmailWhereInput
}
export type KontaktEmailOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type KontaktEmailCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
kontaktId?: Prisma.SortOrder
email?: Prisma.SortOrder
primaer?: Prisma.SortOrder
}
export type KontaktEmailMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
kontaktId?: Prisma.SortOrder
email?: Prisma.SortOrder
primaer?: Prisma.SortOrder
}
export type KontaktEmailMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
kontaktId?: Prisma.SortOrder
email?: Prisma.SortOrder
primaer?: Prisma.SortOrder
}
export type KontaktEmailCreateNestedManyWithoutKontaktInput = {
create?: Prisma.XOR<Prisma.KontaktEmailCreateWithoutKontaktInput, Prisma.KontaktEmailUncheckedCreateWithoutKontaktInput> | Prisma.KontaktEmailCreateWithoutKontaktInput[] | Prisma.KontaktEmailUncheckedCreateWithoutKontaktInput[]
connectOrCreate?: Prisma.KontaktEmailCreateOrConnectWithoutKontaktInput | Prisma.KontaktEmailCreateOrConnectWithoutKontaktInput[]
createMany?: Prisma.KontaktEmailCreateManyKontaktInputEnvelope
connect?: Prisma.KontaktEmailWhereUniqueInput | Prisma.KontaktEmailWhereUniqueInput[]
}
export type KontaktEmailUncheckedCreateNestedManyWithoutKontaktInput = {
create?: Prisma.XOR<Prisma.KontaktEmailCreateWithoutKontaktInput, Prisma.KontaktEmailUncheckedCreateWithoutKontaktInput> | Prisma.KontaktEmailCreateWithoutKontaktInput[] | Prisma.KontaktEmailUncheckedCreateWithoutKontaktInput[]
connectOrCreate?: Prisma.KontaktEmailCreateOrConnectWithoutKontaktInput | Prisma.KontaktEmailCreateOrConnectWithoutKontaktInput[]
createMany?: Prisma.KontaktEmailCreateManyKontaktInputEnvelope
connect?: Prisma.KontaktEmailWhereUniqueInput | Prisma.KontaktEmailWhereUniqueInput[]
}
export type KontaktEmailUpdateManyWithoutKontaktNestedInput = {
create?: Prisma.XOR<Prisma.KontaktEmailCreateWithoutKontaktInput, Prisma.KontaktEmailUncheckedCreateWithoutKontaktInput> | Prisma.KontaktEmailCreateWithoutKontaktInput[] | Prisma.KontaktEmailUncheckedCreateWithoutKontaktInput[]
connectOrCreate?: Prisma.KontaktEmailCreateOrConnectWithoutKontaktInput | Prisma.KontaktEmailCreateOrConnectWithoutKontaktInput[]
upsert?: Prisma.KontaktEmailUpsertWithWhereUniqueWithoutKontaktInput | Prisma.KontaktEmailUpsertWithWhereUniqueWithoutKontaktInput[]
createMany?: Prisma.KontaktEmailCreateManyKontaktInputEnvelope
set?: Prisma.KontaktEmailWhereUniqueInput | Prisma.KontaktEmailWhereUniqueInput[]
disconnect?: Prisma.KontaktEmailWhereUniqueInput | Prisma.KontaktEmailWhereUniqueInput[]
delete?: Prisma.KontaktEmailWhereUniqueInput | Prisma.KontaktEmailWhereUniqueInput[]
connect?: Prisma.KontaktEmailWhereUniqueInput | Prisma.KontaktEmailWhereUniqueInput[]
update?: Prisma.KontaktEmailUpdateWithWhereUniqueWithoutKontaktInput | Prisma.KontaktEmailUpdateWithWhereUniqueWithoutKontaktInput[]
updateMany?: Prisma.KontaktEmailUpdateManyWithWhereWithoutKontaktInput | Prisma.KontaktEmailUpdateManyWithWhereWithoutKontaktInput[]
deleteMany?: Prisma.KontaktEmailScalarWhereInput | Prisma.KontaktEmailScalarWhereInput[]
}
export type KontaktEmailUncheckedUpdateManyWithoutKontaktNestedInput = {
create?: Prisma.XOR<Prisma.KontaktEmailCreateWithoutKontaktInput, Prisma.KontaktEmailUncheckedCreateWithoutKontaktInput> | Prisma.KontaktEmailCreateWithoutKontaktInput[] | Prisma.KontaktEmailUncheckedCreateWithoutKontaktInput[]
connectOrCreate?: Prisma.KontaktEmailCreateOrConnectWithoutKontaktInput | Prisma.KontaktEmailCreateOrConnectWithoutKontaktInput[]
upsert?: Prisma.KontaktEmailUpsertWithWhereUniqueWithoutKontaktInput | Prisma.KontaktEmailUpsertWithWhereUniqueWithoutKontaktInput[]
createMany?: Prisma.KontaktEmailCreateManyKontaktInputEnvelope
set?: Prisma.KontaktEmailWhereUniqueInput | Prisma.KontaktEmailWhereUniqueInput[]
disconnect?: Prisma.KontaktEmailWhereUniqueInput | Prisma.KontaktEmailWhereUniqueInput[]
delete?: Prisma.KontaktEmailWhereUniqueInput | Prisma.KontaktEmailWhereUniqueInput[]
connect?: Prisma.KontaktEmailWhereUniqueInput | Prisma.KontaktEmailWhereUniqueInput[]
update?: Prisma.KontaktEmailUpdateWithWhereUniqueWithoutKontaktInput | Prisma.KontaktEmailUpdateWithWhereUniqueWithoutKontaktInput[]
updateMany?: Prisma.KontaktEmailUpdateManyWithWhereWithoutKontaktInput | Prisma.KontaktEmailUpdateManyWithWhereWithoutKontaktInput[]
deleteMany?: Prisma.KontaktEmailScalarWhereInput | Prisma.KontaktEmailScalarWhereInput[]
}
export type KontaktEmailCreateWithoutKontaktInput = {
id?: string
createdAt?: Date | string
tenantId: string
email: string
primaer?: boolean
}
export type KontaktEmailUncheckedCreateWithoutKontaktInput = {
id?: string
createdAt?: Date | string
tenantId: string
email: string
primaer?: boolean
}
export type KontaktEmailCreateOrConnectWithoutKontaktInput = {
where: Prisma.KontaktEmailWhereUniqueInput
create: Prisma.XOR<Prisma.KontaktEmailCreateWithoutKontaktInput, Prisma.KontaktEmailUncheckedCreateWithoutKontaktInput>
}
export type KontaktEmailCreateManyKontaktInputEnvelope = {
data: Prisma.KontaktEmailCreateManyKontaktInput | Prisma.KontaktEmailCreateManyKontaktInput[]
skipDuplicates?: boolean
}
export type KontaktEmailUpsertWithWhereUniqueWithoutKontaktInput = {
where: Prisma.KontaktEmailWhereUniqueInput
update: Prisma.XOR<Prisma.KontaktEmailUpdateWithoutKontaktInput, Prisma.KontaktEmailUncheckedUpdateWithoutKontaktInput>
create: Prisma.XOR<Prisma.KontaktEmailCreateWithoutKontaktInput, Prisma.KontaktEmailUncheckedCreateWithoutKontaktInput>
}
export type KontaktEmailUpdateWithWhereUniqueWithoutKontaktInput = {
where: Prisma.KontaktEmailWhereUniqueInput
data: Prisma.XOR<Prisma.KontaktEmailUpdateWithoutKontaktInput, Prisma.KontaktEmailUncheckedUpdateWithoutKontaktInput>
}
export type KontaktEmailUpdateManyWithWhereWithoutKontaktInput = {
where: Prisma.KontaktEmailScalarWhereInput
data: Prisma.XOR<Prisma.KontaktEmailUpdateManyMutationInput, Prisma.KontaktEmailUncheckedUpdateManyWithoutKontaktInput>
}
export type KontaktEmailScalarWhereInput = {
AND?: Prisma.KontaktEmailScalarWhereInput | Prisma.KontaktEmailScalarWhereInput[]
OR?: Prisma.KontaktEmailScalarWhereInput[]
NOT?: Prisma.KontaktEmailScalarWhereInput | Prisma.KontaktEmailScalarWhereInput[]
id?: Prisma.StringFilter<"KontaktEmail"> | string
createdAt?: Prisma.DateTimeFilter<"KontaktEmail"> | Date | string
tenantId?: Prisma.StringFilter<"KontaktEmail"> | string
kontaktId?: Prisma.StringFilter<"KontaktEmail"> | string
email?: Prisma.StringFilter<"KontaktEmail"> | string
primaer?: Prisma.BoolFilter<"KontaktEmail"> | boolean
}
export type KontaktEmailCreateManyKontaktInput = {
id?: string
createdAt?: Date | string
tenantId: string
email: string
primaer?: boolean
}
export type KontaktEmailUpdateWithoutKontaktInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type KontaktEmailUncheckedUpdateWithoutKontaktInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type KontaktEmailUncheckedUpdateManyWithoutKontaktInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type KontaktEmailSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
tenantId?: boolean
kontaktId?: boolean
email?: boolean
primaer?: boolean
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
}, ExtArgs["result"]["kontaktEmail"]>
export type KontaktEmailSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
tenantId?: boolean
kontaktId?: boolean
email?: boolean
primaer?: boolean
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
}, ExtArgs["result"]["kontaktEmail"]>
export type KontaktEmailSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
tenantId?: boolean
kontaktId?: boolean
email?: boolean
primaer?: boolean
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
}, ExtArgs["result"]["kontaktEmail"]>
export type KontaktEmailSelectScalar = {
id?: boolean
createdAt?: boolean
tenantId?: boolean
kontaktId?: boolean
email?: boolean
primaer?: boolean
}
export type KontaktEmailOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "kontaktId" | "email" | "primaer", ExtArgs["result"]["kontaktEmail"]>
export type KontaktEmailInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
}
export type KontaktEmailIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
}
export type KontaktEmailIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
kontakt?: boolean | Prisma.KontaktDefaultArgs<ExtArgs>
}
export type $KontaktEmailPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "KontaktEmail"
objects: {
kontakt: Prisma.$KontaktPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
tenantId: string
kontaktId: string
email: string
primaer: boolean
}, ExtArgs["result"]["kontaktEmail"]>
composites: {}
}
export type KontaktEmailGetPayload<S extends boolean | null | undefined | KontaktEmailDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload, S>
export type KontaktEmailCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<KontaktEmailFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: KontaktEmailCountAggregateInputType | true
}
export interface KontaktEmailDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['KontaktEmail'], meta: { name: 'KontaktEmail' } }
/**
* Find zero or one KontaktEmail that matches the filter.
* @param {KontaktEmailFindUniqueArgs} args - Arguments to find a KontaktEmail
* @example
* // Get one KontaktEmail
* const kontaktEmail = await prisma.kontaktEmail.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends KontaktEmailFindUniqueArgs>(args: Prisma.SelectSubset<T, KontaktEmailFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KontaktEmailClient<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one KontaktEmail that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {KontaktEmailFindUniqueOrThrowArgs} args - Arguments to find a KontaktEmail
* @example
* // Get one KontaktEmail
* const kontaktEmail = await prisma.kontaktEmail.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends KontaktEmailFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KontaktEmailFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KontaktEmailClient<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first KontaktEmail 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 {KontaktEmailFindFirstArgs} args - Arguments to find a KontaktEmail
* @example
* // Get one KontaktEmail
* const kontaktEmail = await prisma.kontaktEmail.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends KontaktEmailFindFirstArgs>(args?: Prisma.SelectSubset<T, KontaktEmailFindFirstArgs<ExtArgs>>): Prisma.Prisma__KontaktEmailClient<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first KontaktEmail 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 {KontaktEmailFindFirstOrThrowArgs} args - Arguments to find a KontaktEmail
* @example
* // Get one KontaktEmail
* const kontaktEmail = await prisma.kontaktEmail.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends KontaktEmailFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KontaktEmailFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KontaktEmailClient<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more KontaktEmails 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 {KontaktEmailFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all KontaktEmails
* const kontaktEmails = await prisma.kontaktEmail.findMany()
*
* // Get first 10 KontaktEmails
* const kontaktEmails = await prisma.kontaktEmail.findMany({ take: 10 })
*
* // Only select the `id`
* const kontaktEmailWithIdOnly = await prisma.kontaktEmail.findMany({ select: { id: true } })
*
*/
findMany<T extends KontaktEmailFindManyArgs>(args?: Prisma.SelectSubset<T, KontaktEmailFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a KontaktEmail.
* @param {KontaktEmailCreateArgs} args - Arguments to create a KontaktEmail.
* @example
* // Create one KontaktEmail
* const KontaktEmail = await prisma.kontaktEmail.create({
* data: {
* // ... data to create a KontaktEmail
* }
* })
*
*/
create<T extends KontaktEmailCreateArgs>(args: Prisma.SelectSubset<T, KontaktEmailCreateArgs<ExtArgs>>): Prisma.Prisma__KontaktEmailClient<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many KontaktEmails.
* @param {KontaktEmailCreateManyArgs} args - Arguments to create many KontaktEmails.
* @example
* // Create many KontaktEmails
* const kontaktEmail = await prisma.kontaktEmail.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends KontaktEmailCreateManyArgs>(args?: Prisma.SelectSubset<T, KontaktEmailCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many KontaktEmails and returns the data saved in the database.
* @param {KontaktEmailCreateManyAndReturnArgs} args - Arguments to create many KontaktEmails.
* @example
* // Create many KontaktEmails
* const kontaktEmail = await prisma.kontaktEmail.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many KontaktEmails and only return the `id`
* const kontaktEmailWithIdOnly = await prisma.kontaktEmail.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 KontaktEmailCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KontaktEmailCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a KontaktEmail.
* @param {KontaktEmailDeleteArgs} args - Arguments to delete one KontaktEmail.
* @example
* // Delete one KontaktEmail
* const KontaktEmail = await prisma.kontaktEmail.delete({
* where: {
* // ... filter to delete one KontaktEmail
* }
* })
*
*/
delete<T extends KontaktEmailDeleteArgs>(args: Prisma.SelectSubset<T, KontaktEmailDeleteArgs<ExtArgs>>): Prisma.Prisma__KontaktEmailClient<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one KontaktEmail.
* @param {KontaktEmailUpdateArgs} args - Arguments to update one KontaktEmail.
* @example
* // Update one KontaktEmail
* const kontaktEmail = await prisma.kontaktEmail.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends KontaktEmailUpdateArgs>(args: Prisma.SelectSubset<T, KontaktEmailUpdateArgs<ExtArgs>>): Prisma.Prisma__KontaktEmailClient<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more KontaktEmails.
* @param {KontaktEmailDeleteManyArgs} args - Arguments to filter KontaktEmails to delete.
* @example
* // Delete a few KontaktEmails
* const { count } = await prisma.kontaktEmail.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends KontaktEmailDeleteManyArgs>(args?: Prisma.SelectSubset<T, KontaktEmailDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more KontaktEmails.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KontaktEmailUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many KontaktEmails
* const kontaktEmail = await prisma.kontaktEmail.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends KontaktEmailUpdateManyArgs>(args: Prisma.SelectSubset<T, KontaktEmailUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more KontaktEmails and returns the data updated in the database.
* @param {KontaktEmailUpdateManyAndReturnArgs} args - Arguments to update many KontaktEmails.
* @example
* // Update many KontaktEmails
* const kontaktEmail = await prisma.kontaktEmail.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more KontaktEmails and only return the `id`
* const kontaktEmailWithIdOnly = await prisma.kontaktEmail.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 KontaktEmailUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KontaktEmailUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one KontaktEmail.
* @param {KontaktEmailUpsertArgs} args - Arguments to update or create a KontaktEmail.
* @example
* // Update or create a KontaktEmail
* const kontaktEmail = await prisma.kontaktEmail.upsert({
* create: {
* // ... data to create a KontaktEmail
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the KontaktEmail we want to update
* }
* })
*/
upsert<T extends KontaktEmailUpsertArgs>(args: Prisma.SelectSubset<T, KontaktEmailUpsertArgs<ExtArgs>>): Prisma.Prisma__KontaktEmailClient<runtime.Types.Result.GetResult<Prisma.$KontaktEmailPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of KontaktEmails.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KontaktEmailCountArgs} args - Arguments to filter KontaktEmails to count.
* @example
* // Count the number of KontaktEmails
* const count = await prisma.kontaktEmail.count({
* where: {
* // ... the filter for the KontaktEmails we want to count
* }
* })
**/
count<T extends KontaktEmailCountArgs>(
args?: Prisma.Subset<T, KontaktEmailCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], KontaktEmailCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a KontaktEmail.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KontaktEmailAggregateArgs} 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 KontaktEmailAggregateArgs>(args: Prisma.Subset<T, KontaktEmailAggregateArgs>): Prisma.PrismaPromise<GetKontaktEmailAggregateType<T>>
/**
* Group by KontaktEmail.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KontaktEmailGroupByArgs} 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 KontaktEmailGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: KontaktEmailGroupByArgs['orderBy'] }
: { orderBy?: KontaktEmailGroupByArgs['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, KontaktEmailGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKontaktEmailGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the KontaktEmail model
*/
readonly fields: KontaktEmailFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for KontaktEmail.
* 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__KontaktEmailClient<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 KontaktEmail model
*/
export interface KontaktEmailFieldRefs {
readonly id: Prisma.FieldRef<"KontaktEmail", 'String'>
readonly createdAt: Prisma.FieldRef<"KontaktEmail", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"KontaktEmail", 'String'>
readonly kontaktId: Prisma.FieldRef<"KontaktEmail", 'String'>
readonly email: Prisma.FieldRef<"KontaktEmail", 'String'>
readonly primaer: Prisma.FieldRef<"KontaktEmail", 'Boolean'>
}
// Custom InputTypes
/**
* KontaktEmail findUnique
*/
export type KontaktEmailFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
/**
* Filter, which KontaktEmail to fetch.
*/
where: Prisma.KontaktEmailWhereUniqueInput
}
/**
* KontaktEmail findUniqueOrThrow
*/
export type KontaktEmailFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
/**
* Filter, which KontaktEmail to fetch.
*/
where: Prisma.KontaktEmailWhereUniqueInput
}
/**
* KontaktEmail findFirst
*/
export type KontaktEmailFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
/**
* Filter, which KontaktEmail to fetch.
*/
where?: Prisma.KontaktEmailWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KontaktEmails to fetch.
*/
orderBy?: Prisma.KontaktEmailOrderByWithRelationInput | Prisma.KontaktEmailOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for KontaktEmails.
*/
cursor?: Prisma.KontaktEmailWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KontaktEmails 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` KontaktEmails.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KontaktEmails.
*/
distinct?: Prisma.KontaktEmailScalarFieldEnum | Prisma.KontaktEmailScalarFieldEnum[]
}
/**
* KontaktEmail findFirstOrThrow
*/
export type KontaktEmailFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
/**
* Filter, which KontaktEmail to fetch.
*/
where?: Prisma.KontaktEmailWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KontaktEmails to fetch.
*/
orderBy?: Prisma.KontaktEmailOrderByWithRelationInput | Prisma.KontaktEmailOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for KontaktEmails.
*/
cursor?: Prisma.KontaktEmailWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KontaktEmails 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` KontaktEmails.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KontaktEmails.
*/
distinct?: Prisma.KontaktEmailScalarFieldEnum | Prisma.KontaktEmailScalarFieldEnum[]
}
/**
* KontaktEmail findMany
*/
export type KontaktEmailFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
/**
* Filter, which KontaktEmails to fetch.
*/
where?: Prisma.KontaktEmailWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KontaktEmails to fetch.
*/
orderBy?: Prisma.KontaktEmailOrderByWithRelationInput | Prisma.KontaktEmailOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing KontaktEmails.
*/
cursor?: Prisma.KontaktEmailWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KontaktEmails 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` KontaktEmails.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KontaktEmails.
*/
distinct?: Prisma.KontaktEmailScalarFieldEnum | Prisma.KontaktEmailScalarFieldEnum[]
}
/**
* KontaktEmail create
*/
export type KontaktEmailCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
/**
* The data needed to create a KontaktEmail.
*/
data: Prisma.XOR<Prisma.KontaktEmailCreateInput, Prisma.KontaktEmailUncheckedCreateInput>
}
/**
* KontaktEmail createMany
*/
export type KontaktEmailCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many KontaktEmails.
*/
data: Prisma.KontaktEmailCreateManyInput | Prisma.KontaktEmailCreateManyInput[]
skipDuplicates?: boolean
}
/**
* KontaktEmail createManyAndReturn
*/
export type KontaktEmailCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* The data used to create many KontaktEmails.
*/
data: Prisma.KontaktEmailCreateManyInput | Prisma.KontaktEmailCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* KontaktEmail update
*/
export type KontaktEmailUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
/**
* The data needed to update a KontaktEmail.
*/
data: Prisma.XOR<Prisma.KontaktEmailUpdateInput, Prisma.KontaktEmailUncheckedUpdateInput>
/**
* Choose, which KontaktEmail to update.
*/
where: Prisma.KontaktEmailWhereUniqueInput
}
/**
* KontaktEmail updateMany
*/
export type KontaktEmailUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update KontaktEmails.
*/
data: Prisma.XOR<Prisma.KontaktEmailUpdateManyMutationInput, Prisma.KontaktEmailUncheckedUpdateManyInput>
/**
* Filter which KontaktEmails to update
*/
where?: Prisma.KontaktEmailWhereInput
/**
* Limit how many KontaktEmails to update.
*/
limit?: number
}
/**
* KontaktEmail updateManyAndReturn
*/
export type KontaktEmailUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* The data used to update KontaktEmails.
*/
data: Prisma.XOR<Prisma.KontaktEmailUpdateManyMutationInput, Prisma.KontaktEmailUncheckedUpdateManyInput>
/**
* Filter which KontaktEmails to update
*/
where?: Prisma.KontaktEmailWhereInput
/**
* Limit how many KontaktEmails to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* KontaktEmail upsert
*/
export type KontaktEmailUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
/**
* The filter to search for the KontaktEmail to update in case it exists.
*/
where: Prisma.KontaktEmailWhereUniqueInput
/**
* In case the KontaktEmail found by the `where` argument doesn't exist, create a new KontaktEmail with this data.
*/
create: Prisma.XOR<Prisma.KontaktEmailCreateInput, Prisma.KontaktEmailUncheckedCreateInput>
/**
* In case the KontaktEmail was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.KontaktEmailUpdateInput, Prisma.KontaktEmailUncheckedUpdateInput>
}
/**
* KontaktEmail delete
*/
export type KontaktEmailDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
/**
* Filter which KontaktEmail to delete.
*/
where: Prisma.KontaktEmailWhereUniqueInput
}
/**
* KontaktEmail deleteMany
*/
export type KontaktEmailDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which KontaktEmails to delete
*/
where?: Prisma.KontaktEmailWhereInput
/**
* Limit how many KontaktEmails to delete.
*/
limit?: number
}
/**
* KontaktEmail without action
*/
export type KontaktEmailDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KontaktEmail
*/
select?: Prisma.KontaktEmailSelect<ExtArgs> | null
/**
* Omit specific fields from the KontaktEmail
*/
omit?: Prisma.KontaktEmailOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktEmailInclude<ExtArgs> | null
}