1407 lines
58 KiB
TypeScript
1407 lines
58 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 `TenantInboundAddress` 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 TenantInboundAddress
|
|
*
|
|
*/
|
|
export type TenantInboundAddressModel = runtime.Types.Result.DefaultSelection<Prisma.$TenantInboundAddressPayload>
|
|
|
|
export type AggregateTenantInboundAddress = {
|
|
_count: TenantInboundAddressCountAggregateOutputType | null
|
|
_min: TenantInboundAddressMinAggregateOutputType | null
|
|
_max: TenantInboundAddressMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type TenantInboundAddressMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
address: string | null
|
|
}
|
|
|
|
export type TenantInboundAddressMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
address: string | null
|
|
}
|
|
|
|
export type TenantInboundAddressCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
address: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type TenantInboundAddressMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
address?: true
|
|
}
|
|
|
|
export type TenantInboundAddressMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
address?: true
|
|
}
|
|
|
|
export type TenantInboundAddressCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
address?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type TenantInboundAddressAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which TenantInboundAddress to aggregate.
|
|
*/
|
|
where?: Prisma.TenantInboundAddressWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TenantInboundAddresses to fetch.
|
|
*/
|
|
orderBy?: Prisma.TenantInboundAddressOrderByWithRelationInput | Prisma.TenantInboundAddressOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.TenantInboundAddressWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TenantInboundAddresses 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` TenantInboundAddresses.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned TenantInboundAddresses
|
|
**/
|
|
_count?: true | TenantInboundAddressCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: TenantInboundAddressMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: TenantInboundAddressMaxAggregateInputType
|
|
}
|
|
|
|
export type GetTenantInboundAddressAggregateType<T extends TenantInboundAddressAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTenantInboundAddress]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateTenantInboundAddress[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateTenantInboundAddress[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TenantInboundAddressGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.TenantInboundAddressWhereInput
|
|
orderBy?: Prisma.TenantInboundAddressOrderByWithAggregationInput | Prisma.TenantInboundAddressOrderByWithAggregationInput[]
|
|
by: Prisma.TenantInboundAddressScalarFieldEnum[] | Prisma.TenantInboundAddressScalarFieldEnum
|
|
having?: Prisma.TenantInboundAddressScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: TenantInboundAddressCountAggregateInputType | true
|
|
_min?: TenantInboundAddressMinAggregateInputType
|
|
_max?: TenantInboundAddressMaxAggregateInputType
|
|
}
|
|
|
|
export type TenantInboundAddressGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
address: string
|
|
_count: TenantInboundAddressCountAggregateOutputType | null
|
|
_min: TenantInboundAddressMinAggregateOutputType | null
|
|
_max: TenantInboundAddressMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetTenantInboundAddressGroupByPayload<T extends TenantInboundAddressGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<TenantInboundAddressGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof TenantInboundAddressGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], TenantInboundAddressGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], TenantInboundAddressGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type TenantInboundAddressWhereInput = {
|
|
AND?: Prisma.TenantInboundAddressWhereInput | Prisma.TenantInboundAddressWhereInput[]
|
|
OR?: Prisma.TenantInboundAddressWhereInput[]
|
|
NOT?: Prisma.TenantInboundAddressWhereInput | Prisma.TenantInboundAddressWhereInput[]
|
|
id?: Prisma.StringFilter<"TenantInboundAddress"> | string
|
|
tenantId?: Prisma.StringFilter<"TenantInboundAddress"> | string
|
|
address?: Prisma.StringFilter<"TenantInboundAddress"> | string
|
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
|
|
email?: Prisma.EmailListRelationFilter
|
|
}
|
|
|
|
export type TenantInboundAddressOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
address?: Prisma.SortOrder
|
|
tenant?: Prisma.TenantOrderByWithRelationInput
|
|
email?: Prisma.EmailOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type TenantInboundAddressWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
address?: string
|
|
AND?: Prisma.TenantInboundAddressWhereInput | Prisma.TenantInboundAddressWhereInput[]
|
|
OR?: Prisma.TenantInboundAddressWhereInput[]
|
|
NOT?: Prisma.TenantInboundAddressWhereInput | Prisma.TenantInboundAddressWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"TenantInboundAddress"> | string
|
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
|
|
email?: Prisma.EmailListRelationFilter
|
|
}, "id" | "address">
|
|
|
|
export type TenantInboundAddressOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
address?: Prisma.SortOrder
|
|
_count?: Prisma.TenantInboundAddressCountOrderByAggregateInput
|
|
_max?: Prisma.TenantInboundAddressMaxOrderByAggregateInput
|
|
_min?: Prisma.TenantInboundAddressMinOrderByAggregateInput
|
|
}
|
|
|
|
export type TenantInboundAddressScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.TenantInboundAddressScalarWhereWithAggregatesInput | Prisma.TenantInboundAddressScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.TenantInboundAddressScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.TenantInboundAddressScalarWhereWithAggregatesInput | Prisma.TenantInboundAddressScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"TenantInboundAddress"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"TenantInboundAddress"> | string
|
|
address?: Prisma.StringWithAggregatesFilter<"TenantInboundAddress"> | string
|
|
}
|
|
|
|
export type TenantInboundAddressCreateInput = {
|
|
id?: string
|
|
address: string
|
|
tenant: Prisma.TenantCreateNestedOneWithoutInboundAddressesInput
|
|
email?: Prisma.EmailCreateNestedManyWithoutTenantInboundAddressInput
|
|
}
|
|
|
|
export type TenantInboundAddressUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
address: string
|
|
email?: Prisma.EmailUncheckedCreateNestedManyWithoutTenantInboundAddressInput
|
|
}
|
|
|
|
export type TenantInboundAddressUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
address?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutInboundAddressesNestedInput
|
|
email?: Prisma.EmailUpdateManyWithoutTenantInboundAddressNestedInput
|
|
}
|
|
|
|
export type TenantInboundAddressUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
address?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.EmailUncheckedUpdateManyWithoutTenantInboundAddressNestedInput
|
|
}
|
|
|
|
export type TenantInboundAddressCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
address: string
|
|
}
|
|
|
|
export type TenantInboundAddressUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
address?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type TenantInboundAddressUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
address?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type TenantInboundAddressListRelationFilter = {
|
|
every?: Prisma.TenantInboundAddressWhereInput
|
|
some?: Prisma.TenantInboundAddressWhereInput
|
|
none?: Prisma.TenantInboundAddressWhereInput
|
|
}
|
|
|
|
export type TenantInboundAddressOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TenantInboundAddressCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
address?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TenantInboundAddressMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
address?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TenantInboundAddressMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
address?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TenantInboundAddressNullableScalarRelationFilter = {
|
|
is?: Prisma.TenantInboundAddressWhereInput | null
|
|
isNot?: Prisma.TenantInboundAddressWhereInput | null
|
|
}
|
|
|
|
export type TenantInboundAddressCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.TenantInboundAddressCreateWithoutTenantInput, Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput> | Prisma.TenantInboundAddressCreateWithoutTenantInput[] | Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput | Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.TenantInboundAddressCreateManyTenantInputEnvelope
|
|
connect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[]
|
|
}
|
|
|
|
export type TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.TenantInboundAddressCreateWithoutTenantInput, Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput> | Prisma.TenantInboundAddressCreateWithoutTenantInput[] | Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput | Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.TenantInboundAddressCreateManyTenantInputEnvelope
|
|
connect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[]
|
|
}
|
|
|
|
export type TenantInboundAddressUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TenantInboundAddressCreateWithoutTenantInput, Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput> | Prisma.TenantInboundAddressCreateWithoutTenantInput[] | Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput | Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.TenantInboundAddressUpsertWithWhereUniqueWithoutTenantInput | Prisma.TenantInboundAddressUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.TenantInboundAddressCreateManyTenantInputEnvelope
|
|
set?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[]
|
|
disconnect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[]
|
|
delete?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[]
|
|
connect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[]
|
|
update?: Prisma.TenantInboundAddressUpdateWithWhereUniqueWithoutTenantInput | Prisma.TenantInboundAddressUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.TenantInboundAddressUpdateManyWithWhereWithoutTenantInput | Prisma.TenantInboundAddressUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.TenantInboundAddressScalarWhereInput | Prisma.TenantInboundAddressScalarWhereInput[]
|
|
}
|
|
|
|
export type TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TenantInboundAddressCreateWithoutTenantInput, Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput> | Prisma.TenantInboundAddressCreateWithoutTenantInput[] | Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput | Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.TenantInboundAddressUpsertWithWhereUniqueWithoutTenantInput | Prisma.TenantInboundAddressUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.TenantInboundAddressCreateManyTenantInputEnvelope
|
|
set?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[]
|
|
disconnect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[]
|
|
delete?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[]
|
|
connect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[]
|
|
update?: Prisma.TenantInboundAddressUpdateWithWhereUniqueWithoutTenantInput | Prisma.TenantInboundAddressUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.TenantInboundAddressUpdateManyWithWhereWithoutTenantInput | Prisma.TenantInboundAddressUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.TenantInboundAddressScalarWhereInput | Prisma.TenantInboundAddressScalarWhereInput[]
|
|
}
|
|
|
|
export type TenantInboundAddressCreateNestedOneWithoutEmailInput = {
|
|
create?: Prisma.XOR<Prisma.TenantInboundAddressCreateWithoutEmailInput, Prisma.TenantInboundAddressUncheckedCreateWithoutEmailInput>
|
|
connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutEmailInput
|
|
connect?: Prisma.TenantInboundAddressWhereUniqueInput
|
|
}
|
|
|
|
export type TenantInboundAddressUpdateOneWithoutEmailNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TenantInboundAddressCreateWithoutEmailInput, Prisma.TenantInboundAddressUncheckedCreateWithoutEmailInput>
|
|
connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutEmailInput
|
|
upsert?: Prisma.TenantInboundAddressUpsertWithoutEmailInput
|
|
disconnect?: Prisma.TenantInboundAddressWhereInput | boolean
|
|
delete?: Prisma.TenantInboundAddressWhereInput | boolean
|
|
connect?: Prisma.TenantInboundAddressWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.TenantInboundAddressUpdateToOneWithWhereWithoutEmailInput, Prisma.TenantInboundAddressUpdateWithoutEmailInput>, Prisma.TenantInboundAddressUncheckedUpdateWithoutEmailInput>
|
|
}
|
|
|
|
export type TenantInboundAddressCreateWithoutTenantInput = {
|
|
id?: string
|
|
address: string
|
|
email?: Prisma.EmailCreateNestedManyWithoutTenantInboundAddressInput
|
|
}
|
|
|
|
export type TenantInboundAddressUncheckedCreateWithoutTenantInput = {
|
|
id?: string
|
|
address: string
|
|
email?: Prisma.EmailUncheckedCreateNestedManyWithoutTenantInboundAddressInput
|
|
}
|
|
|
|
export type TenantInboundAddressCreateOrConnectWithoutTenantInput = {
|
|
where: Prisma.TenantInboundAddressWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.TenantInboundAddressCreateWithoutTenantInput, Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type TenantInboundAddressCreateManyTenantInputEnvelope = {
|
|
data: Prisma.TenantInboundAddressCreateManyTenantInput | Prisma.TenantInboundAddressCreateManyTenantInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type TenantInboundAddressUpsertWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.TenantInboundAddressWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.TenantInboundAddressUpdateWithoutTenantInput, Prisma.TenantInboundAddressUncheckedUpdateWithoutTenantInput>
|
|
create: Prisma.XOR<Prisma.TenantInboundAddressCreateWithoutTenantInput, Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type TenantInboundAddressUpdateWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.TenantInboundAddressWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.TenantInboundAddressUpdateWithoutTenantInput, Prisma.TenantInboundAddressUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type TenantInboundAddressUpdateManyWithWhereWithoutTenantInput = {
|
|
where: Prisma.TenantInboundAddressScalarWhereInput
|
|
data: Prisma.XOR<Prisma.TenantInboundAddressUpdateManyMutationInput, Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantInput>
|
|
}
|
|
|
|
export type TenantInboundAddressScalarWhereInput = {
|
|
AND?: Prisma.TenantInboundAddressScalarWhereInput | Prisma.TenantInboundAddressScalarWhereInput[]
|
|
OR?: Prisma.TenantInboundAddressScalarWhereInput[]
|
|
NOT?: Prisma.TenantInboundAddressScalarWhereInput | Prisma.TenantInboundAddressScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"TenantInboundAddress"> | string
|
|
tenantId?: Prisma.StringFilter<"TenantInboundAddress"> | string
|
|
address?: Prisma.StringFilter<"TenantInboundAddress"> | string
|
|
}
|
|
|
|
export type TenantInboundAddressCreateWithoutEmailInput = {
|
|
id?: string
|
|
address: string
|
|
tenant: Prisma.TenantCreateNestedOneWithoutInboundAddressesInput
|
|
}
|
|
|
|
export type TenantInboundAddressUncheckedCreateWithoutEmailInput = {
|
|
id?: string
|
|
tenantId: string
|
|
address: string
|
|
}
|
|
|
|
export type TenantInboundAddressCreateOrConnectWithoutEmailInput = {
|
|
where: Prisma.TenantInboundAddressWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.TenantInboundAddressCreateWithoutEmailInput, Prisma.TenantInboundAddressUncheckedCreateWithoutEmailInput>
|
|
}
|
|
|
|
export type TenantInboundAddressUpsertWithoutEmailInput = {
|
|
update: Prisma.XOR<Prisma.TenantInboundAddressUpdateWithoutEmailInput, Prisma.TenantInboundAddressUncheckedUpdateWithoutEmailInput>
|
|
create: Prisma.XOR<Prisma.TenantInboundAddressCreateWithoutEmailInput, Prisma.TenantInboundAddressUncheckedCreateWithoutEmailInput>
|
|
where?: Prisma.TenantInboundAddressWhereInput
|
|
}
|
|
|
|
export type TenantInboundAddressUpdateToOneWithWhereWithoutEmailInput = {
|
|
where?: Prisma.TenantInboundAddressWhereInput
|
|
data: Prisma.XOR<Prisma.TenantInboundAddressUpdateWithoutEmailInput, Prisma.TenantInboundAddressUncheckedUpdateWithoutEmailInput>
|
|
}
|
|
|
|
export type TenantInboundAddressUpdateWithoutEmailInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
address?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutInboundAddressesNestedInput
|
|
}
|
|
|
|
export type TenantInboundAddressUncheckedUpdateWithoutEmailInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
address?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type TenantInboundAddressCreateManyTenantInput = {
|
|
id?: string
|
|
address: string
|
|
}
|
|
|
|
export type TenantInboundAddressUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
address?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.EmailUpdateManyWithoutTenantInboundAddressNestedInput
|
|
}
|
|
|
|
export type TenantInboundAddressUncheckedUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
address?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.EmailUncheckedUpdateManyWithoutTenantInboundAddressNestedInput
|
|
}
|
|
|
|
export type TenantInboundAddressUncheckedUpdateManyWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
address?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type TenantInboundAddressCountOutputType
|
|
*/
|
|
|
|
export type TenantInboundAddressCountOutputType = {
|
|
email: number
|
|
}
|
|
|
|
export type TenantInboundAddressCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
email?: boolean | TenantInboundAddressCountOutputTypeCountEmailArgs
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddressCountOutputType without action
|
|
*/
|
|
export type TenantInboundAddressCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddressCountOutputType
|
|
*/
|
|
select?: Prisma.TenantInboundAddressCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddressCountOutputType without action
|
|
*/
|
|
export type TenantInboundAddressCountOutputTypeCountEmailArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EmailWhereInput
|
|
}
|
|
|
|
|
|
export type TenantInboundAddressSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
address?: boolean
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
email?: boolean | Prisma.TenantInboundAddress$emailArgs<ExtArgs>
|
|
_count?: boolean | Prisma.TenantInboundAddressCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["tenantInboundAddress"]>
|
|
|
|
export type TenantInboundAddressSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
address?: boolean
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["tenantInboundAddress"]>
|
|
|
|
export type TenantInboundAddressSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
address?: boolean
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["tenantInboundAddress"]>
|
|
|
|
export type TenantInboundAddressSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
address?: boolean
|
|
}
|
|
|
|
export type TenantInboundAddressOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "address", ExtArgs["result"]["tenantInboundAddress"]>
|
|
export type TenantInboundAddressInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
email?: boolean | Prisma.TenantInboundAddress$emailArgs<ExtArgs>
|
|
_count?: boolean | Prisma.TenantInboundAddressCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type TenantInboundAddressIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}
|
|
export type TenantInboundAddressIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $TenantInboundAddressPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "TenantInboundAddress"
|
|
objects: {
|
|
tenant: Prisma.$TenantPayload<ExtArgs>
|
|
email: Prisma.$EmailPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
address: string
|
|
}, ExtArgs["result"]["tenantInboundAddress"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type TenantInboundAddressGetPayload<S extends boolean | null | undefined | TenantInboundAddressDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload, S>
|
|
|
|
export type TenantInboundAddressCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<TenantInboundAddressFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: TenantInboundAddressCountAggregateInputType | true
|
|
}
|
|
|
|
export interface TenantInboundAddressDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TenantInboundAddress'], meta: { name: 'TenantInboundAddress' } }
|
|
/**
|
|
* Find zero or one TenantInboundAddress that matches the filter.
|
|
* @param {TenantInboundAddressFindUniqueArgs} args - Arguments to find a TenantInboundAddress
|
|
* @example
|
|
* // Get one TenantInboundAddress
|
|
* const tenantInboundAddress = await prisma.tenantInboundAddress.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends TenantInboundAddressFindUniqueArgs>(args: Prisma.SelectSubset<T, TenantInboundAddressFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TenantInboundAddressClient<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one TenantInboundAddress that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {TenantInboundAddressFindUniqueOrThrowArgs} args - Arguments to find a TenantInboundAddress
|
|
* @example
|
|
* // Get one TenantInboundAddress
|
|
* const tenantInboundAddress = await prisma.tenantInboundAddress.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends TenantInboundAddressFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TenantInboundAddressFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TenantInboundAddressClient<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first TenantInboundAddress 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 {TenantInboundAddressFindFirstArgs} args - Arguments to find a TenantInboundAddress
|
|
* @example
|
|
* // Get one TenantInboundAddress
|
|
* const tenantInboundAddress = await prisma.tenantInboundAddress.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends TenantInboundAddressFindFirstArgs>(args?: Prisma.SelectSubset<T, TenantInboundAddressFindFirstArgs<ExtArgs>>): Prisma.Prisma__TenantInboundAddressClient<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first TenantInboundAddress 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 {TenantInboundAddressFindFirstOrThrowArgs} args - Arguments to find a TenantInboundAddress
|
|
* @example
|
|
* // Get one TenantInboundAddress
|
|
* const tenantInboundAddress = await prisma.tenantInboundAddress.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends TenantInboundAddressFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TenantInboundAddressFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TenantInboundAddressClient<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more TenantInboundAddresses 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 {TenantInboundAddressFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all TenantInboundAddresses
|
|
* const tenantInboundAddresses = await prisma.tenantInboundAddress.findMany()
|
|
*
|
|
* // Get first 10 TenantInboundAddresses
|
|
* const tenantInboundAddresses = await prisma.tenantInboundAddress.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const tenantInboundAddressWithIdOnly = await prisma.tenantInboundAddress.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends TenantInboundAddressFindManyArgs>(args?: Prisma.SelectSubset<T, TenantInboundAddressFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a TenantInboundAddress.
|
|
* @param {TenantInboundAddressCreateArgs} args - Arguments to create a TenantInboundAddress.
|
|
* @example
|
|
* // Create one TenantInboundAddress
|
|
* const TenantInboundAddress = await prisma.tenantInboundAddress.create({
|
|
* data: {
|
|
* // ... data to create a TenantInboundAddress
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends TenantInboundAddressCreateArgs>(args: Prisma.SelectSubset<T, TenantInboundAddressCreateArgs<ExtArgs>>): Prisma.Prisma__TenantInboundAddressClient<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many TenantInboundAddresses.
|
|
* @param {TenantInboundAddressCreateManyArgs} args - Arguments to create many TenantInboundAddresses.
|
|
* @example
|
|
* // Create many TenantInboundAddresses
|
|
* const tenantInboundAddress = await prisma.tenantInboundAddress.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends TenantInboundAddressCreateManyArgs>(args?: Prisma.SelectSubset<T, TenantInboundAddressCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many TenantInboundAddresses and returns the data saved in the database.
|
|
* @param {TenantInboundAddressCreateManyAndReturnArgs} args - Arguments to create many TenantInboundAddresses.
|
|
* @example
|
|
* // Create many TenantInboundAddresses
|
|
* const tenantInboundAddress = await prisma.tenantInboundAddress.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many TenantInboundAddresses and only return the `id`
|
|
* const tenantInboundAddressWithIdOnly = await prisma.tenantInboundAddress.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 TenantInboundAddressCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TenantInboundAddressCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a TenantInboundAddress.
|
|
* @param {TenantInboundAddressDeleteArgs} args - Arguments to delete one TenantInboundAddress.
|
|
* @example
|
|
* // Delete one TenantInboundAddress
|
|
* const TenantInboundAddress = await prisma.tenantInboundAddress.delete({
|
|
* where: {
|
|
* // ... filter to delete one TenantInboundAddress
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends TenantInboundAddressDeleteArgs>(args: Prisma.SelectSubset<T, TenantInboundAddressDeleteArgs<ExtArgs>>): Prisma.Prisma__TenantInboundAddressClient<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one TenantInboundAddress.
|
|
* @param {TenantInboundAddressUpdateArgs} args - Arguments to update one TenantInboundAddress.
|
|
* @example
|
|
* // Update one TenantInboundAddress
|
|
* const tenantInboundAddress = await prisma.tenantInboundAddress.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends TenantInboundAddressUpdateArgs>(args: Prisma.SelectSubset<T, TenantInboundAddressUpdateArgs<ExtArgs>>): Prisma.Prisma__TenantInboundAddressClient<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more TenantInboundAddresses.
|
|
* @param {TenantInboundAddressDeleteManyArgs} args - Arguments to filter TenantInboundAddresses to delete.
|
|
* @example
|
|
* // Delete a few TenantInboundAddresses
|
|
* const { count } = await prisma.tenantInboundAddress.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends TenantInboundAddressDeleteManyArgs>(args?: Prisma.SelectSubset<T, TenantInboundAddressDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more TenantInboundAddresses.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TenantInboundAddressUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many TenantInboundAddresses
|
|
* const tenantInboundAddress = await prisma.tenantInboundAddress.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends TenantInboundAddressUpdateManyArgs>(args: Prisma.SelectSubset<T, TenantInboundAddressUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more TenantInboundAddresses and returns the data updated in the database.
|
|
* @param {TenantInboundAddressUpdateManyAndReturnArgs} args - Arguments to update many TenantInboundAddresses.
|
|
* @example
|
|
* // Update many TenantInboundAddresses
|
|
* const tenantInboundAddress = await prisma.tenantInboundAddress.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more TenantInboundAddresses and only return the `id`
|
|
* const tenantInboundAddressWithIdOnly = await prisma.tenantInboundAddress.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 TenantInboundAddressUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TenantInboundAddressUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one TenantInboundAddress.
|
|
* @param {TenantInboundAddressUpsertArgs} args - Arguments to update or create a TenantInboundAddress.
|
|
* @example
|
|
* // Update or create a TenantInboundAddress
|
|
* const tenantInboundAddress = await prisma.tenantInboundAddress.upsert({
|
|
* create: {
|
|
* // ... data to create a TenantInboundAddress
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the TenantInboundAddress we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends TenantInboundAddressUpsertArgs>(args: Prisma.SelectSubset<T, TenantInboundAddressUpsertArgs<ExtArgs>>): Prisma.Prisma__TenantInboundAddressClient<runtime.Types.Result.GetResult<Prisma.$TenantInboundAddressPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of TenantInboundAddresses.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TenantInboundAddressCountArgs} args - Arguments to filter TenantInboundAddresses to count.
|
|
* @example
|
|
* // Count the number of TenantInboundAddresses
|
|
* const count = await prisma.tenantInboundAddress.count({
|
|
* where: {
|
|
* // ... the filter for the TenantInboundAddresses we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends TenantInboundAddressCountArgs>(
|
|
args?: Prisma.Subset<T, TenantInboundAddressCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], TenantInboundAddressCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a TenantInboundAddress.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TenantInboundAddressAggregateArgs} 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 TenantInboundAddressAggregateArgs>(args: Prisma.Subset<T, TenantInboundAddressAggregateArgs>): Prisma.PrismaPromise<GetTenantInboundAddressAggregateType<T>>
|
|
|
|
/**
|
|
* Group by TenantInboundAddress.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TenantInboundAddressGroupByArgs} 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 TenantInboundAddressGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: TenantInboundAddressGroupByArgs['orderBy'] }
|
|
: { orderBy?: TenantInboundAddressGroupByArgs['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, TenantInboundAddressGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTenantInboundAddressGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the TenantInboundAddress model
|
|
*/
|
|
readonly fields: TenantInboundAddressFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for TenantInboundAddress.
|
|
* 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__TenantInboundAddressClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
email<T extends Prisma.TenantInboundAddress$emailArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantInboundAddress$emailArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailPayload<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 TenantInboundAddress model
|
|
*/
|
|
export interface TenantInboundAddressFieldRefs {
|
|
readonly id: Prisma.FieldRef<"TenantInboundAddress", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"TenantInboundAddress", 'String'>
|
|
readonly address: Prisma.FieldRef<"TenantInboundAddress", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* TenantInboundAddress findUnique
|
|
*/
|
|
export type TenantInboundAddressFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TenantInboundAddress to fetch.
|
|
*/
|
|
where: Prisma.TenantInboundAddressWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress findUniqueOrThrow
|
|
*/
|
|
export type TenantInboundAddressFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TenantInboundAddress to fetch.
|
|
*/
|
|
where: Prisma.TenantInboundAddressWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress findFirst
|
|
*/
|
|
export type TenantInboundAddressFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TenantInboundAddress to fetch.
|
|
*/
|
|
where?: Prisma.TenantInboundAddressWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TenantInboundAddresses to fetch.
|
|
*/
|
|
orderBy?: Prisma.TenantInboundAddressOrderByWithRelationInput | Prisma.TenantInboundAddressOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for TenantInboundAddresses.
|
|
*/
|
|
cursor?: Prisma.TenantInboundAddressWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TenantInboundAddresses 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` TenantInboundAddresses.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TenantInboundAddresses.
|
|
*/
|
|
distinct?: Prisma.TenantInboundAddressScalarFieldEnum | Prisma.TenantInboundAddressScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress findFirstOrThrow
|
|
*/
|
|
export type TenantInboundAddressFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TenantInboundAddress to fetch.
|
|
*/
|
|
where?: Prisma.TenantInboundAddressWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TenantInboundAddresses to fetch.
|
|
*/
|
|
orderBy?: Prisma.TenantInboundAddressOrderByWithRelationInput | Prisma.TenantInboundAddressOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for TenantInboundAddresses.
|
|
*/
|
|
cursor?: Prisma.TenantInboundAddressWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TenantInboundAddresses 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` TenantInboundAddresses.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TenantInboundAddresses.
|
|
*/
|
|
distinct?: Prisma.TenantInboundAddressScalarFieldEnum | Prisma.TenantInboundAddressScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress findMany
|
|
*/
|
|
export type TenantInboundAddressFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TenantInboundAddresses to fetch.
|
|
*/
|
|
where?: Prisma.TenantInboundAddressWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TenantInboundAddresses to fetch.
|
|
*/
|
|
orderBy?: Prisma.TenantInboundAddressOrderByWithRelationInput | Prisma.TenantInboundAddressOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing TenantInboundAddresses.
|
|
*/
|
|
cursor?: Prisma.TenantInboundAddressWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TenantInboundAddresses 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` TenantInboundAddresses.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TenantInboundAddresses.
|
|
*/
|
|
distinct?: Prisma.TenantInboundAddressScalarFieldEnum | Prisma.TenantInboundAddressScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress create
|
|
*/
|
|
export type TenantInboundAddressCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a TenantInboundAddress.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TenantInboundAddressCreateInput, Prisma.TenantInboundAddressUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress createMany
|
|
*/
|
|
export type TenantInboundAddressCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many TenantInboundAddresses.
|
|
*/
|
|
data: Prisma.TenantInboundAddressCreateManyInput | Prisma.TenantInboundAddressCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress createManyAndReturn
|
|
*/
|
|
export type TenantInboundAddressCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many TenantInboundAddresses.
|
|
*/
|
|
data: Prisma.TenantInboundAddressCreateManyInput | Prisma.TenantInboundAddressCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress update
|
|
*/
|
|
export type TenantInboundAddressUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a TenantInboundAddress.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TenantInboundAddressUpdateInput, Prisma.TenantInboundAddressUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which TenantInboundAddress to update.
|
|
*/
|
|
where: Prisma.TenantInboundAddressWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress updateMany
|
|
*/
|
|
export type TenantInboundAddressUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update TenantInboundAddresses.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TenantInboundAddressUpdateManyMutationInput, Prisma.TenantInboundAddressUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which TenantInboundAddresses to update
|
|
*/
|
|
where?: Prisma.TenantInboundAddressWhereInput
|
|
/**
|
|
* Limit how many TenantInboundAddresses to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress updateManyAndReturn
|
|
*/
|
|
export type TenantInboundAddressUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update TenantInboundAddresses.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TenantInboundAddressUpdateManyMutationInput, Prisma.TenantInboundAddressUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which TenantInboundAddresses to update
|
|
*/
|
|
where?: Prisma.TenantInboundAddressWhereInput
|
|
/**
|
|
* Limit how many TenantInboundAddresses to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress upsert
|
|
*/
|
|
export type TenantInboundAddressUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the TenantInboundAddress to update in case it exists.
|
|
*/
|
|
where: Prisma.TenantInboundAddressWhereUniqueInput
|
|
/**
|
|
* In case the TenantInboundAddress found by the `where` argument doesn't exist, create a new TenantInboundAddress with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.TenantInboundAddressCreateInput, Prisma.TenantInboundAddressUncheckedCreateInput>
|
|
/**
|
|
* In case the TenantInboundAddress was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.TenantInboundAddressUpdateInput, Prisma.TenantInboundAddressUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress delete
|
|
*/
|
|
export type TenantInboundAddressDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which TenantInboundAddress to delete.
|
|
*/
|
|
where: Prisma.TenantInboundAddressWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress deleteMany
|
|
*/
|
|
export type TenantInboundAddressDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which TenantInboundAddresses to delete
|
|
*/
|
|
where?: Prisma.TenantInboundAddressWhereInput
|
|
/**
|
|
* Limit how many TenantInboundAddresses to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress.email
|
|
*/
|
|
export type TenantInboundAddress$emailArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Email
|
|
*/
|
|
select?: Prisma.EmailSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Email
|
|
*/
|
|
omit?: Prisma.EmailOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailInclude<ExtArgs> | null
|
|
where?: Prisma.EmailWhereInput
|
|
orderBy?: Prisma.EmailOrderByWithRelationInput | Prisma.EmailOrderByWithRelationInput[]
|
|
cursor?: Prisma.EmailWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EmailScalarFieldEnum | Prisma.EmailScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TenantInboundAddress without action
|
|
*/
|
|
export type TenantInboundAddressDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantInboundAddress
|
|
*/
|
|
select?: Prisma.TenantInboundAddressSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantInboundAddress
|
|
*/
|
|
omit?: Prisma.TenantInboundAddressOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInboundAddressInclude<ExtArgs> | null
|
|
}
|