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

1458 lines
50 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 `Adresse` 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 Adresse
* A reusable postal address. v1 is DE-only (`land` defaults to "DE").
*/
export type AdresseModel = runtime.Types.Result.DefaultSelection<Prisma.$AdressePayload>
export type AggregateAdresse = {
_count: AdresseCountAggregateOutputType | null
_min: AdresseMinAggregateOutputType | null
_max: AdresseMaxAggregateOutputType | null
}
export type AdresseMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
strasse: string | null
hausnummer: string | null
plz: string | null
ort: string | null
land: string | null
}
export type AdresseMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
strasse: string | null
hausnummer: string | null
plz: string | null
ort: string | null
land: string | null
}
export type AdresseCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
tenantId: number
strasse: number
hausnummer: number
plz: number
ort: number
land: number
_all: number
}
export type AdresseMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
strasse?: true
hausnummer?: true
plz?: true
ort?: true
land?: true
}
export type AdresseMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
strasse?: true
hausnummer?: true
plz?: true
ort?: true
land?: true
}
export type AdresseCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
strasse?: true
hausnummer?: true
plz?: true
ort?: true
land?: true
_all?: true
}
export type AdresseAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which Adresse to aggregate.
*/
where?: Prisma.AdresseWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Adresses to fetch.
*/
orderBy?: Prisma.AdresseOrderByWithRelationInput | Prisma.AdresseOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AdresseWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Adresses 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` Adresses.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned Adresses
**/
_count?: true | AdresseCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AdresseMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AdresseMaxAggregateInputType
}
export type GetAdresseAggregateType<T extends AdresseAggregateArgs> = {
[P in keyof T & keyof AggregateAdresse]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAdresse[P]>
: Prisma.GetScalarType<T[P], AggregateAdresse[P]>
}
export type AdresseGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AdresseWhereInput
orderBy?: Prisma.AdresseOrderByWithAggregationInput | Prisma.AdresseOrderByWithAggregationInput[]
by: Prisma.AdresseScalarFieldEnum[] | Prisma.AdresseScalarFieldEnum
having?: Prisma.AdresseScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AdresseCountAggregateInputType | true
_min?: AdresseMinAggregateInputType
_max?: AdresseMaxAggregateInputType
}
export type AdresseGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
tenantId: string
strasse: string | null
hausnummer: string | null
plz: string | null
ort: string | null
land: string
_count: AdresseCountAggregateOutputType | null
_min: AdresseMinAggregateOutputType | null
_max: AdresseMaxAggregateOutputType | null
}
export type GetAdresseGroupByPayload<T extends AdresseGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AdresseGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AdresseGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AdresseGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AdresseGroupByOutputType[P]>
}
>
>
export type AdresseWhereInput = {
AND?: Prisma.AdresseWhereInput | Prisma.AdresseWhereInput[]
OR?: Prisma.AdresseWhereInput[]
NOT?: Prisma.AdresseWhereInput | Prisma.AdresseWhereInput[]
id?: Prisma.StringFilter<"Adresse"> | string
createdAt?: Prisma.DateTimeFilter<"Adresse"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"Adresse"> | Date | string
tenantId?: Prisma.StringFilter<"Adresse"> | string
strasse?: Prisma.StringNullableFilter<"Adresse"> | string | null
hausnummer?: Prisma.StringNullableFilter<"Adresse"> | string | null
plz?: Prisma.StringNullableFilter<"Adresse"> | string | null
ort?: Prisma.StringNullableFilter<"Adresse"> | string | null
land?: Prisma.StringFilter<"Adresse"> | string
kontakte?: Prisma.KontaktListRelationFilter
}
export type AdresseOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
strasse?: Prisma.SortOrderInput | Prisma.SortOrder
hausnummer?: Prisma.SortOrderInput | Prisma.SortOrder
plz?: Prisma.SortOrderInput | Prisma.SortOrder
ort?: Prisma.SortOrderInput | Prisma.SortOrder
land?: Prisma.SortOrder
kontakte?: Prisma.KontaktOrderByRelationAggregateInput
}
export type AdresseWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.AdresseWhereInput | Prisma.AdresseWhereInput[]
OR?: Prisma.AdresseWhereInput[]
NOT?: Prisma.AdresseWhereInput | Prisma.AdresseWhereInput[]
createdAt?: Prisma.DateTimeFilter<"Adresse"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"Adresse"> | Date | string
tenantId?: Prisma.StringFilter<"Adresse"> | string
strasse?: Prisma.StringNullableFilter<"Adresse"> | string | null
hausnummer?: Prisma.StringNullableFilter<"Adresse"> | string | null
plz?: Prisma.StringNullableFilter<"Adresse"> | string | null
ort?: Prisma.StringNullableFilter<"Adresse"> | string | null
land?: Prisma.StringFilter<"Adresse"> | string
kontakte?: Prisma.KontaktListRelationFilter
}, "id">
export type AdresseOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
strasse?: Prisma.SortOrderInput | Prisma.SortOrder
hausnummer?: Prisma.SortOrderInput | Prisma.SortOrder
plz?: Prisma.SortOrderInput | Prisma.SortOrder
ort?: Prisma.SortOrderInput | Prisma.SortOrder
land?: Prisma.SortOrder
_count?: Prisma.AdresseCountOrderByAggregateInput
_max?: Prisma.AdresseMaxOrderByAggregateInput
_min?: Prisma.AdresseMinOrderByAggregateInput
}
export type AdresseScalarWhereWithAggregatesInput = {
AND?: Prisma.AdresseScalarWhereWithAggregatesInput | Prisma.AdresseScalarWhereWithAggregatesInput[]
OR?: Prisma.AdresseScalarWhereWithAggregatesInput[]
NOT?: Prisma.AdresseScalarWhereWithAggregatesInput | Prisma.AdresseScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"Adresse"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Adresse"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Adresse"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"Adresse"> | string
strasse?: Prisma.StringNullableWithAggregatesFilter<"Adresse"> | string | null
hausnummer?: Prisma.StringNullableWithAggregatesFilter<"Adresse"> | string | null
plz?: Prisma.StringNullableWithAggregatesFilter<"Adresse"> | string | null
ort?: Prisma.StringNullableWithAggregatesFilter<"Adresse"> | string | null
land?: Prisma.StringWithAggregatesFilter<"Adresse"> | string
}
export type AdresseCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
strasse?: string | null
hausnummer?: string | null
plz?: string | null
ort?: string | null
land?: string
kontakte?: Prisma.KontaktCreateNestedManyWithoutAdresseInput
}
export type AdresseUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
strasse?: string | null
hausnummer?: string | null
plz?: string | null
ort?: string | null
land?: string
kontakte?: Prisma.KontaktUncheckedCreateNestedManyWithoutAdresseInput
}
export type AdresseUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
strasse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
hausnummer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
plz?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
land?: Prisma.StringFieldUpdateOperationsInput | string
kontakte?: Prisma.KontaktUpdateManyWithoutAdresseNestedInput
}
export type AdresseUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
strasse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
hausnummer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
plz?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
land?: Prisma.StringFieldUpdateOperationsInput | string
kontakte?: Prisma.KontaktUncheckedUpdateManyWithoutAdresseNestedInput
}
export type AdresseCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
strasse?: string | null
hausnummer?: string | null
plz?: string | null
ort?: string | null
land?: string
}
export type AdresseUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
strasse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
hausnummer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
plz?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
land?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdresseUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
strasse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
hausnummer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
plz?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
land?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdresseNullableScalarRelationFilter = {
is?: Prisma.AdresseWhereInput | null
isNot?: Prisma.AdresseWhereInput | null
}
export type AdresseCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
strasse?: Prisma.SortOrder
hausnummer?: Prisma.SortOrder
plz?: Prisma.SortOrder
ort?: Prisma.SortOrder
land?: Prisma.SortOrder
}
export type AdresseMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
strasse?: Prisma.SortOrder
hausnummer?: Prisma.SortOrder
plz?: Prisma.SortOrder
ort?: Prisma.SortOrder
land?: Prisma.SortOrder
}
export type AdresseMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
strasse?: Prisma.SortOrder
hausnummer?: Prisma.SortOrder
plz?: Prisma.SortOrder
ort?: Prisma.SortOrder
land?: Prisma.SortOrder
}
export type AdresseCreateNestedOneWithoutKontakteInput = {
create?: Prisma.XOR<Prisma.AdresseCreateWithoutKontakteInput, Prisma.AdresseUncheckedCreateWithoutKontakteInput>
connectOrCreate?: Prisma.AdresseCreateOrConnectWithoutKontakteInput
connect?: Prisma.AdresseWhereUniqueInput
}
export type AdresseUpdateOneWithoutKontakteNestedInput = {
create?: Prisma.XOR<Prisma.AdresseCreateWithoutKontakteInput, Prisma.AdresseUncheckedCreateWithoutKontakteInput>
connectOrCreate?: Prisma.AdresseCreateOrConnectWithoutKontakteInput
upsert?: Prisma.AdresseUpsertWithoutKontakteInput
disconnect?: Prisma.AdresseWhereInput | boolean
delete?: Prisma.AdresseWhereInput | boolean
connect?: Prisma.AdresseWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.AdresseUpdateToOneWithWhereWithoutKontakteInput, Prisma.AdresseUpdateWithoutKontakteInput>, Prisma.AdresseUncheckedUpdateWithoutKontakteInput>
}
export type AdresseCreateWithoutKontakteInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
strasse?: string | null
hausnummer?: string | null
plz?: string | null
ort?: string | null
land?: string
}
export type AdresseUncheckedCreateWithoutKontakteInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
strasse?: string | null
hausnummer?: string | null
plz?: string | null
ort?: string | null
land?: string
}
export type AdresseCreateOrConnectWithoutKontakteInput = {
where: Prisma.AdresseWhereUniqueInput
create: Prisma.XOR<Prisma.AdresseCreateWithoutKontakteInput, Prisma.AdresseUncheckedCreateWithoutKontakteInput>
}
export type AdresseUpsertWithoutKontakteInput = {
update: Prisma.XOR<Prisma.AdresseUpdateWithoutKontakteInput, Prisma.AdresseUncheckedUpdateWithoutKontakteInput>
create: Prisma.XOR<Prisma.AdresseCreateWithoutKontakteInput, Prisma.AdresseUncheckedCreateWithoutKontakteInput>
where?: Prisma.AdresseWhereInput
}
export type AdresseUpdateToOneWithWhereWithoutKontakteInput = {
where?: Prisma.AdresseWhereInput
data: Prisma.XOR<Prisma.AdresseUpdateWithoutKontakteInput, Prisma.AdresseUncheckedUpdateWithoutKontakteInput>
}
export type AdresseUpdateWithoutKontakteInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
strasse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
hausnummer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
plz?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
land?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdresseUncheckedUpdateWithoutKontakteInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
strasse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
hausnummer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
plz?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
ort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
land?: Prisma.StringFieldUpdateOperationsInput | string
}
/**
* Count Type AdresseCountOutputType
*/
export type AdresseCountOutputType = {
kontakte: number
}
export type AdresseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
kontakte?: boolean | AdresseCountOutputTypeCountKontakteArgs
}
/**
* AdresseCountOutputType without action
*/
export type AdresseCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdresseCountOutputType
*/
select?: Prisma.AdresseCountOutputTypeSelect<ExtArgs> | null
}
/**
* AdresseCountOutputType without action
*/
export type AdresseCountOutputTypeCountKontakteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.KontaktWhereInput
}
export type AdresseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
strasse?: boolean
hausnummer?: boolean
plz?: boolean
ort?: boolean
land?: boolean
kontakte?: boolean | Prisma.Adresse$kontakteArgs<ExtArgs>
_count?: boolean | Prisma.AdresseCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adresse"]>
export type AdresseSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
strasse?: boolean
hausnummer?: boolean
plz?: boolean
ort?: boolean
land?: boolean
}, ExtArgs["result"]["adresse"]>
export type AdresseSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
strasse?: boolean
hausnummer?: boolean
plz?: boolean
ort?: boolean
land?: boolean
}, ExtArgs["result"]["adresse"]>
export type AdresseSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
strasse?: boolean
hausnummer?: boolean
plz?: boolean
ort?: boolean
land?: boolean
}
export type AdresseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "strasse" | "hausnummer" | "plz" | "ort" | "land", ExtArgs["result"]["adresse"]>
export type AdresseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
kontakte?: boolean | Prisma.Adresse$kontakteArgs<ExtArgs>
_count?: boolean | Prisma.AdresseCountOutputTypeDefaultArgs<ExtArgs>
}
export type AdresseIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type AdresseIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type $AdressePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "Adresse"
objects: {
kontakte: Prisma.$KontaktPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
tenantId: string
strasse: string | null
hausnummer: string | null
plz: string | null
ort: string | null
land: string
}, ExtArgs["result"]["adresse"]>
composites: {}
}
export type AdresseGetPayload<S extends boolean | null | undefined | AdresseDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdressePayload, S>
export type AdresseCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AdresseFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AdresseCountAggregateInputType | true
}
export interface AdresseDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Adresse'], meta: { name: 'Adresse' } }
/**
* Find zero or one Adresse that matches the filter.
* @param {AdresseFindUniqueArgs} args - Arguments to find a Adresse
* @example
* // Get one Adresse
* const adresse = await prisma.adresse.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AdresseFindUniqueArgs>(args: Prisma.SelectSubset<T, AdresseFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdresseClient<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Adresse that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AdresseFindUniqueOrThrowArgs} args - Arguments to find a Adresse
* @example
* // Get one Adresse
* const adresse = await prisma.adresse.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AdresseFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdresseFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdresseClient<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Adresse 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 {AdresseFindFirstArgs} args - Arguments to find a Adresse
* @example
* // Get one Adresse
* const adresse = await prisma.adresse.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AdresseFindFirstArgs>(args?: Prisma.SelectSubset<T, AdresseFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdresseClient<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Adresse 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 {AdresseFindFirstOrThrowArgs} args - Arguments to find a Adresse
* @example
* // Get one Adresse
* const adresse = await prisma.adresse.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AdresseFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdresseFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdresseClient<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Adresses 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 {AdresseFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Adresses
* const adresses = await prisma.adresse.findMany()
*
* // Get first 10 Adresses
* const adresses = await prisma.adresse.findMany({ take: 10 })
*
* // Only select the `id`
* const adresseWithIdOnly = await prisma.adresse.findMany({ select: { id: true } })
*
*/
findMany<T extends AdresseFindManyArgs>(args?: Prisma.SelectSubset<T, AdresseFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Adresse.
* @param {AdresseCreateArgs} args - Arguments to create a Adresse.
* @example
* // Create one Adresse
* const Adresse = await prisma.adresse.create({
* data: {
* // ... data to create a Adresse
* }
* })
*
*/
create<T extends AdresseCreateArgs>(args: Prisma.SelectSubset<T, AdresseCreateArgs<ExtArgs>>): Prisma.Prisma__AdresseClient<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Adresses.
* @param {AdresseCreateManyArgs} args - Arguments to create many Adresses.
* @example
* // Create many Adresses
* const adresse = await prisma.adresse.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AdresseCreateManyArgs>(args?: Prisma.SelectSubset<T, AdresseCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many Adresses and returns the data saved in the database.
* @param {AdresseCreateManyAndReturnArgs} args - Arguments to create many Adresses.
* @example
* // Create many Adresses
* const adresse = await prisma.adresse.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Adresses and only return the `id`
* const adresseWithIdOnly = await prisma.adresse.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 AdresseCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdresseCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a Adresse.
* @param {AdresseDeleteArgs} args - Arguments to delete one Adresse.
* @example
* // Delete one Adresse
* const Adresse = await prisma.adresse.delete({
* where: {
* // ... filter to delete one Adresse
* }
* })
*
*/
delete<T extends AdresseDeleteArgs>(args: Prisma.SelectSubset<T, AdresseDeleteArgs<ExtArgs>>): Prisma.Prisma__AdresseClient<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Adresse.
* @param {AdresseUpdateArgs} args - Arguments to update one Adresse.
* @example
* // Update one Adresse
* const adresse = await prisma.adresse.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AdresseUpdateArgs>(args: Prisma.SelectSubset<T, AdresseUpdateArgs<ExtArgs>>): Prisma.Prisma__AdresseClient<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Adresses.
* @param {AdresseDeleteManyArgs} args - Arguments to filter Adresses to delete.
* @example
* // Delete a few Adresses
* const { count } = await prisma.adresse.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AdresseDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdresseDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Adresses.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdresseUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Adresses
* const adresse = await prisma.adresse.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AdresseUpdateManyArgs>(args: Prisma.SelectSubset<T, AdresseUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Adresses and returns the data updated in the database.
* @param {AdresseUpdateManyAndReturnArgs} args - Arguments to update many Adresses.
* @example
* // Update many Adresses
* const adresse = await prisma.adresse.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Adresses and only return the `id`
* const adresseWithIdOnly = await prisma.adresse.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 AdresseUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdresseUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one Adresse.
* @param {AdresseUpsertArgs} args - Arguments to update or create a Adresse.
* @example
* // Update or create a Adresse
* const adresse = await prisma.adresse.upsert({
* create: {
* // ... data to create a Adresse
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Adresse we want to update
* }
* })
*/
upsert<T extends AdresseUpsertArgs>(args: Prisma.SelectSubset<T, AdresseUpsertArgs<ExtArgs>>): Prisma.Prisma__AdresseClient<runtime.Types.Result.GetResult<Prisma.$AdressePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Adresses.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdresseCountArgs} args - Arguments to filter Adresses to count.
* @example
* // Count the number of Adresses
* const count = await prisma.adresse.count({
* where: {
* // ... the filter for the Adresses we want to count
* }
* })
**/
count<T extends AdresseCountArgs>(
args?: Prisma.Subset<T, AdresseCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AdresseCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Adresse.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdresseAggregateArgs} 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 AdresseAggregateArgs>(args: Prisma.Subset<T, AdresseAggregateArgs>): Prisma.PrismaPromise<GetAdresseAggregateType<T>>
/**
* Group by Adresse.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdresseGroupByArgs} 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 AdresseGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AdresseGroupByArgs['orderBy'] }
: { orderBy?: AdresseGroupByArgs['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, AdresseGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdresseGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the Adresse model
*/
readonly fields: AdresseFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for Adresse.
* 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__AdresseClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
kontakte<T extends Prisma.Adresse$kontakteArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Adresse$kontakteArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KontaktPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the Adresse model
*/
export interface AdresseFieldRefs {
readonly id: Prisma.FieldRef<"Adresse", 'String'>
readonly createdAt: Prisma.FieldRef<"Adresse", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"Adresse", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"Adresse", 'String'>
readonly strasse: Prisma.FieldRef<"Adresse", 'String'>
readonly hausnummer: Prisma.FieldRef<"Adresse", 'String'>
readonly plz: Prisma.FieldRef<"Adresse", 'String'>
readonly ort: Prisma.FieldRef<"Adresse", 'String'>
readonly land: Prisma.FieldRef<"Adresse", 'String'>
}
// Custom InputTypes
/**
* Adresse findUnique
*/
export type AdresseFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
/**
* Filter, which Adresse to fetch.
*/
where: Prisma.AdresseWhereUniqueInput
}
/**
* Adresse findUniqueOrThrow
*/
export type AdresseFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
/**
* Filter, which Adresse to fetch.
*/
where: Prisma.AdresseWhereUniqueInput
}
/**
* Adresse findFirst
*/
export type AdresseFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
/**
* Filter, which Adresse to fetch.
*/
where?: Prisma.AdresseWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Adresses to fetch.
*/
orderBy?: Prisma.AdresseOrderByWithRelationInput | Prisma.AdresseOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Adresses.
*/
cursor?: Prisma.AdresseWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Adresses 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` Adresses.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Adresses.
*/
distinct?: Prisma.AdresseScalarFieldEnum | Prisma.AdresseScalarFieldEnum[]
}
/**
* Adresse findFirstOrThrow
*/
export type AdresseFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
/**
* Filter, which Adresse to fetch.
*/
where?: Prisma.AdresseWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Adresses to fetch.
*/
orderBy?: Prisma.AdresseOrderByWithRelationInput | Prisma.AdresseOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Adresses.
*/
cursor?: Prisma.AdresseWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Adresses 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` Adresses.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Adresses.
*/
distinct?: Prisma.AdresseScalarFieldEnum | Prisma.AdresseScalarFieldEnum[]
}
/**
* Adresse findMany
*/
export type AdresseFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
/**
* Filter, which Adresses to fetch.
*/
where?: Prisma.AdresseWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Adresses to fetch.
*/
orderBy?: Prisma.AdresseOrderByWithRelationInput | Prisma.AdresseOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing Adresses.
*/
cursor?: Prisma.AdresseWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Adresses 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` Adresses.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Adresses.
*/
distinct?: Prisma.AdresseScalarFieldEnum | Prisma.AdresseScalarFieldEnum[]
}
/**
* Adresse create
*/
export type AdresseCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
/**
* The data needed to create a Adresse.
*/
data: Prisma.XOR<Prisma.AdresseCreateInput, Prisma.AdresseUncheckedCreateInput>
}
/**
* Adresse createMany
*/
export type AdresseCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many Adresses.
*/
data: Prisma.AdresseCreateManyInput | Prisma.AdresseCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Adresse createManyAndReturn
*/
export type AdresseCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* The data used to create many Adresses.
*/
data: Prisma.AdresseCreateManyInput | Prisma.AdresseCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Adresse update
*/
export type AdresseUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
/**
* The data needed to update a Adresse.
*/
data: Prisma.XOR<Prisma.AdresseUpdateInput, Prisma.AdresseUncheckedUpdateInput>
/**
* Choose, which Adresse to update.
*/
where: Prisma.AdresseWhereUniqueInput
}
/**
* Adresse updateMany
*/
export type AdresseUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update Adresses.
*/
data: Prisma.XOR<Prisma.AdresseUpdateManyMutationInput, Prisma.AdresseUncheckedUpdateManyInput>
/**
* Filter which Adresses to update
*/
where?: Prisma.AdresseWhereInput
/**
* Limit how many Adresses to update.
*/
limit?: number
}
/**
* Adresse updateManyAndReturn
*/
export type AdresseUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* The data used to update Adresses.
*/
data: Prisma.XOR<Prisma.AdresseUpdateManyMutationInput, Prisma.AdresseUncheckedUpdateManyInput>
/**
* Filter which Adresses to update
*/
where?: Prisma.AdresseWhereInput
/**
* Limit how many Adresses to update.
*/
limit?: number
}
/**
* Adresse upsert
*/
export type AdresseUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
/**
* The filter to search for the Adresse to update in case it exists.
*/
where: Prisma.AdresseWhereUniqueInput
/**
* In case the Adresse found by the `where` argument doesn't exist, create a new Adresse with this data.
*/
create: Prisma.XOR<Prisma.AdresseCreateInput, Prisma.AdresseUncheckedCreateInput>
/**
* In case the Adresse was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AdresseUpdateInput, Prisma.AdresseUncheckedUpdateInput>
}
/**
* Adresse delete
*/
export type AdresseDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
/**
* Filter which Adresse to delete.
*/
where: Prisma.AdresseWhereUniqueInput
}
/**
* Adresse deleteMany
*/
export type AdresseDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which Adresses to delete
*/
where?: Prisma.AdresseWhereInput
/**
* Limit how many Adresses to delete.
*/
limit?: number
}
/**
* Adresse.kontakte
*/
export type Adresse$kontakteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Kontakt
*/
select?: Prisma.KontaktSelect<ExtArgs> | null
/**
* Omit specific fields from the Kontakt
*/
omit?: Prisma.KontaktOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KontaktInclude<ExtArgs> | null
where?: Prisma.KontaktWhereInput
orderBy?: Prisma.KontaktOrderByWithRelationInput | Prisma.KontaktOrderByWithRelationInput[]
cursor?: Prisma.KontaktWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.KontaktScalarFieldEnum | Prisma.KontaktScalarFieldEnum[]
}
/**
* Adresse without action
*/
export type AdresseDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Adresse
*/
select?: Prisma.AdresseSelect<ExtArgs> | null
/**
* Omit specific fields from the Adresse
*/
omit?: Prisma.AdresseOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdresseInclude<ExtArgs> | null
}