Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/AdminBccAddress.ts
T

1486 lines
59 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 `AdminBccAddress` 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 AdminBccAddress
*
*/
export type AdminBccAddressModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminBccAddressPayload>
export type AggregateAdminBccAddress = {
_count: AdminBccAddressCountAggregateOutputType | null
_min: AdminBccAddressMinAggregateOutputType | null
_max: AdminBccAddressMaxAggregateOutputType | null
}
export type AdminBccAddressMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
archivedAt: Date | null
adminUserId: string | null
mailboxId: string | null
localPartHash: string | null
displayAddress: string | null
rotatedAt: Date | null
}
export type AdminBccAddressMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
archivedAt: Date | null
adminUserId: string | null
mailboxId: string | null
localPartHash: string | null
displayAddress: string | null
rotatedAt: Date | null
}
export type AdminBccAddressCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
archivedAt: number
adminUserId: number
mailboxId: number
localPartHash: number
displayAddress: number
rotatedAt: number
_all: number
}
export type AdminBccAddressMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
archivedAt?: true
adminUserId?: true
mailboxId?: true
localPartHash?: true
displayAddress?: true
rotatedAt?: true
}
export type AdminBccAddressMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
archivedAt?: true
adminUserId?: true
mailboxId?: true
localPartHash?: true
displayAddress?: true
rotatedAt?: true
}
export type AdminBccAddressCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
archivedAt?: true
adminUserId?: true
mailboxId?: true
localPartHash?: true
displayAddress?: true
rotatedAt?: true
_all?: true
}
export type AdminBccAddressAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminBccAddress to aggregate.
*/
where?: Prisma.AdminBccAddressWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBccAddresses to fetch.
*/
orderBy?: Prisma.AdminBccAddressOrderByWithRelationInput | Prisma.AdminBccAddressOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AdminBccAddressWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBccAddresses 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` AdminBccAddresses.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AdminBccAddresses
**/
_count?: true | AdminBccAddressCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AdminBccAddressMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AdminBccAddressMaxAggregateInputType
}
export type GetAdminBccAddressAggregateType<T extends AdminBccAddressAggregateArgs> = {
[P in keyof T & keyof AggregateAdminBccAddress]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAdminBccAddress[P]>
: Prisma.GetScalarType<T[P], AggregateAdminBccAddress[P]>
}
export type AdminBccAddressGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AdminBccAddressWhereInput
orderBy?: Prisma.AdminBccAddressOrderByWithAggregationInput | Prisma.AdminBccAddressOrderByWithAggregationInput[]
by: Prisma.AdminBccAddressScalarFieldEnum[] | Prisma.AdminBccAddressScalarFieldEnum
having?: Prisma.AdminBccAddressScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AdminBccAddressCountAggregateInputType | true
_min?: AdminBccAddressMinAggregateInputType
_max?: AdminBccAddressMaxAggregateInputType
}
export type AdminBccAddressGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
archivedAt: Date | null
adminUserId: string
mailboxId: string
localPartHash: string
displayAddress: string
rotatedAt: Date | null
_count: AdminBccAddressCountAggregateOutputType | null
_min: AdminBccAddressMinAggregateOutputType | null
_max: AdminBccAddressMaxAggregateOutputType | null
}
export type GetAdminBccAddressGroupByPayload<T extends AdminBccAddressGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AdminBccAddressGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AdminBccAddressGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AdminBccAddressGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AdminBccAddressGroupByOutputType[P]>
}
>
>
export type AdminBccAddressWhereInput = {
AND?: Prisma.AdminBccAddressWhereInput | Prisma.AdminBccAddressWhereInput[]
OR?: Prisma.AdminBccAddressWhereInput[]
NOT?: Prisma.AdminBccAddressWhereInput | Prisma.AdminBccAddressWhereInput[]
id?: Prisma.StringFilter<"AdminBccAddress"> | string
createdAt?: Prisma.DateTimeFilter<"AdminBccAddress"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminBccAddress"> | Date | string
archivedAt?: Prisma.DateTimeNullableFilter<"AdminBccAddress"> | Date | string | null
adminUserId?: Prisma.StringFilter<"AdminBccAddress"> | string
mailboxId?: Prisma.StringFilter<"AdminBccAddress"> | string
localPartHash?: Prisma.StringFilter<"AdminBccAddress"> | string
displayAddress?: Prisma.StringFilter<"AdminBccAddress"> | string
rotatedAt?: Prisma.DateTimeNullableFilter<"AdminBccAddress"> | Date | string | null
mailbox?: Prisma.XOR<Prisma.AdminMailboxScalarRelationFilter, Prisma.AdminMailboxWhereInput>
}
export type AdminBccAddressOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
adminUserId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
localPartHash?: Prisma.SortOrder
displayAddress?: Prisma.SortOrder
rotatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
mailbox?: Prisma.AdminMailboxOrderByWithRelationInput
}
export type AdminBccAddressWhereUniqueInput = Prisma.AtLeast<{
id?: string
localPartHash?: string
AND?: Prisma.AdminBccAddressWhereInput | Prisma.AdminBccAddressWhereInput[]
OR?: Prisma.AdminBccAddressWhereInput[]
NOT?: Prisma.AdminBccAddressWhereInput | Prisma.AdminBccAddressWhereInput[]
createdAt?: Prisma.DateTimeFilter<"AdminBccAddress"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminBccAddress"> | Date | string
archivedAt?: Prisma.DateTimeNullableFilter<"AdminBccAddress"> | Date | string | null
adminUserId?: Prisma.StringFilter<"AdminBccAddress"> | string
mailboxId?: Prisma.StringFilter<"AdminBccAddress"> | string
displayAddress?: Prisma.StringFilter<"AdminBccAddress"> | string
rotatedAt?: Prisma.DateTimeNullableFilter<"AdminBccAddress"> | Date | string | null
mailbox?: Prisma.XOR<Prisma.AdminMailboxScalarRelationFilter, Prisma.AdminMailboxWhereInput>
}, "id" | "localPartHash">
export type AdminBccAddressOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
adminUserId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
localPartHash?: Prisma.SortOrder
displayAddress?: Prisma.SortOrder
rotatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.AdminBccAddressCountOrderByAggregateInput
_max?: Prisma.AdminBccAddressMaxOrderByAggregateInput
_min?: Prisma.AdminBccAddressMinOrderByAggregateInput
}
export type AdminBccAddressScalarWhereWithAggregatesInput = {
AND?: Prisma.AdminBccAddressScalarWhereWithAggregatesInput | Prisma.AdminBccAddressScalarWhereWithAggregatesInput[]
OR?: Prisma.AdminBccAddressScalarWhereWithAggregatesInput[]
NOT?: Prisma.AdminBccAddressScalarWhereWithAggregatesInput | Prisma.AdminBccAddressScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AdminBccAddress"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminBccAddress"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminBccAddress"> | Date | string
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminBccAddress"> | Date | string | null
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminBccAddress"> | string
mailboxId?: Prisma.StringWithAggregatesFilter<"AdminBccAddress"> | string
localPartHash?: Prisma.StringWithAggregatesFilter<"AdminBccAddress"> | string
displayAddress?: Prisma.StringWithAggregatesFilter<"AdminBccAddress"> | string
rotatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminBccAddress"> | Date | string | null
}
export type AdminBccAddressCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
adminUserId: string
localPartHash: string
displayAddress: string
rotatedAt?: Date | string | null
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutBccAddressesInput
}
export type AdminBccAddressUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
adminUserId: string
mailboxId: string
localPartHash: string
displayAddress: string
rotatedAt?: Date | string | null
}
export type AdminBccAddressUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
localPartHash?: Prisma.StringFieldUpdateOperationsInput | string
displayAddress?: Prisma.StringFieldUpdateOperationsInput | string
rotatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutBccAddressesNestedInput
}
export type AdminBccAddressUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
localPartHash?: Prisma.StringFieldUpdateOperationsInput | string
displayAddress?: Prisma.StringFieldUpdateOperationsInput | string
rotatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AdminBccAddressCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
adminUserId: string
mailboxId: string
localPartHash: string
displayAddress: string
rotatedAt?: Date | string | null
}
export type AdminBccAddressUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
localPartHash?: Prisma.StringFieldUpdateOperationsInput | string
displayAddress?: Prisma.StringFieldUpdateOperationsInput | string
rotatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AdminBccAddressUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
localPartHash?: Prisma.StringFieldUpdateOperationsInput | string
displayAddress?: Prisma.StringFieldUpdateOperationsInput | string
rotatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AdminBccAddressListRelationFilter = {
every?: Prisma.AdminBccAddressWhereInput
some?: Prisma.AdminBccAddressWhereInput
none?: Prisma.AdminBccAddressWhereInput
}
export type AdminBccAddressOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AdminBccAddressCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
localPartHash?: Prisma.SortOrder
displayAddress?: Prisma.SortOrder
rotatedAt?: Prisma.SortOrder
}
export type AdminBccAddressMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
localPartHash?: Prisma.SortOrder
displayAddress?: Prisma.SortOrder
rotatedAt?: Prisma.SortOrder
}
export type AdminBccAddressMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
localPartHash?: Prisma.SortOrder
displayAddress?: Prisma.SortOrder
rotatedAt?: Prisma.SortOrder
}
export type AdminBccAddressCreateNestedManyWithoutMailboxInput = {
create?: Prisma.XOR<Prisma.AdminBccAddressCreateWithoutMailboxInput, Prisma.AdminBccAddressUncheckedCreateWithoutMailboxInput> | Prisma.AdminBccAddressCreateWithoutMailboxInput[] | Prisma.AdminBccAddressUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.AdminBccAddressCreateOrConnectWithoutMailboxInput | Prisma.AdminBccAddressCreateOrConnectWithoutMailboxInput[]
createMany?: Prisma.AdminBccAddressCreateManyMailboxInputEnvelope
connect?: Prisma.AdminBccAddressWhereUniqueInput | Prisma.AdminBccAddressWhereUniqueInput[]
}
export type AdminBccAddressUncheckedCreateNestedManyWithoutMailboxInput = {
create?: Prisma.XOR<Prisma.AdminBccAddressCreateWithoutMailboxInput, Prisma.AdminBccAddressUncheckedCreateWithoutMailboxInput> | Prisma.AdminBccAddressCreateWithoutMailboxInput[] | Prisma.AdminBccAddressUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.AdminBccAddressCreateOrConnectWithoutMailboxInput | Prisma.AdminBccAddressCreateOrConnectWithoutMailboxInput[]
createMany?: Prisma.AdminBccAddressCreateManyMailboxInputEnvelope
connect?: Prisma.AdminBccAddressWhereUniqueInput | Prisma.AdminBccAddressWhereUniqueInput[]
}
export type AdminBccAddressUpdateManyWithoutMailboxNestedInput = {
create?: Prisma.XOR<Prisma.AdminBccAddressCreateWithoutMailboxInput, Prisma.AdminBccAddressUncheckedCreateWithoutMailboxInput> | Prisma.AdminBccAddressCreateWithoutMailboxInput[] | Prisma.AdminBccAddressUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.AdminBccAddressCreateOrConnectWithoutMailboxInput | Prisma.AdminBccAddressCreateOrConnectWithoutMailboxInput[]
upsert?: Prisma.AdminBccAddressUpsertWithWhereUniqueWithoutMailboxInput | Prisma.AdminBccAddressUpsertWithWhereUniqueWithoutMailboxInput[]
createMany?: Prisma.AdminBccAddressCreateManyMailboxInputEnvelope
set?: Prisma.AdminBccAddressWhereUniqueInput | Prisma.AdminBccAddressWhereUniqueInput[]
disconnect?: Prisma.AdminBccAddressWhereUniqueInput | Prisma.AdminBccAddressWhereUniqueInput[]
delete?: Prisma.AdminBccAddressWhereUniqueInput | Prisma.AdminBccAddressWhereUniqueInput[]
connect?: Prisma.AdminBccAddressWhereUniqueInput | Prisma.AdminBccAddressWhereUniqueInput[]
update?: Prisma.AdminBccAddressUpdateWithWhereUniqueWithoutMailboxInput | Prisma.AdminBccAddressUpdateWithWhereUniqueWithoutMailboxInput[]
updateMany?: Prisma.AdminBccAddressUpdateManyWithWhereWithoutMailboxInput | Prisma.AdminBccAddressUpdateManyWithWhereWithoutMailboxInput[]
deleteMany?: Prisma.AdminBccAddressScalarWhereInput | Prisma.AdminBccAddressScalarWhereInput[]
}
export type AdminBccAddressUncheckedUpdateManyWithoutMailboxNestedInput = {
create?: Prisma.XOR<Prisma.AdminBccAddressCreateWithoutMailboxInput, Prisma.AdminBccAddressUncheckedCreateWithoutMailboxInput> | Prisma.AdminBccAddressCreateWithoutMailboxInput[] | Prisma.AdminBccAddressUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.AdminBccAddressCreateOrConnectWithoutMailboxInput | Prisma.AdminBccAddressCreateOrConnectWithoutMailboxInput[]
upsert?: Prisma.AdminBccAddressUpsertWithWhereUniqueWithoutMailboxInput | Prisma.AdminBccAddressUpsertWithWhereUniqueWithoutMailboxInput[]
createMany?: Prisma.AdminBccAddressCreateManyMailboxInputEnvelope
set?: Prisma.AdminBccAddressWhereUniqueInput | Prisma.AdminBccAddressWhereUniqueInput[]
disconnect?: Prisma.AdminBccAddressWhereUniqueInput | Prisma.AdminBccAddressWhereUniqueInput[]
delete?: Prisma.AdminBccAddressWhereUniqueInput | Prisma.AdminBccAddressWhereUniqueInput[]
connect?: Prisma.AdminBccAddressWhereUniqueInput | Prisma.AdminBccAddressWhereUniqueInput[]
update?: Prisma.AdminBccAddressUpdateWithWhereUniqueWithoutMailboxInput | Prisma.AdminBccAddressUpdateWithWhereUniqueWithoutMailboxInput[]
updateMany?: Prisma.AdminBccAddressUpdateManyWithWhereWithoutMailboxInput | Prisma.AdminBccAddressUpdateManyWithWhereWithoutMailboxInput[]
deleteMany?: Prisma.AdminBccAddressScalarWhereInput | Prisma.AdminBccAddressScalarWhereInput[]
}
export type AdminBccAddressCreateWithoutMailboxInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
adminUserId: string
localPartHash: string
displayAddress: string
rotatedAt?: Date | string | null
}
export type AdminBccAddressUncheckedCreateWithoutMailboxInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
adminUserId: string
localPartHash: string
displayAddress: string
rotatedAt?: Date | string | null
}
export type AdminBccAddressCreateOrConnectWithoutMailboxInput = {
where: Prisma.AdminBccAddressWhereUniqueInput
create: Prisma.XOR<Prisma.AdminBccAddressCreateWithoutMailboxInput, Prisma.AdminBccAddressUncheckedCreateWithoutMailboxInput>
}
export type AdminBccAddressCreateManyMailboxInputEnvelope = {
data: Prisma.AdminBccAddressCreateManyMailboxInput | Prisma.AdminBccAddressCreateManyMailboxInput[]
skipDuplicates?: boolean
}
export type AdminBccAddressUpsertWithWhereUniqueWithoutMailboxInput = {
where: Prisma.AdminBccAddressWhereUniqueInput
update: Prisma.XOR<Prisma.AdminBccAddressUpdateWithoutMailboxInput, Prisma.AdminBccAddressUncheckedUpdateWithoutMailboxInput>
create: Prisma.XOR<Prisma.AdminBccAddressCreateWithoutMailboxInput, Prisma.AdminBccAddressUncheckedCreateWithoutMailboxInput>
}
export type AdminBccAddressUpdateWithWhereUniqueWithoutMailboxInput = {
where: Prisma.AdminBccAddressWhereUniqueInput
data: Prisma.XOR<Prisma.AdminBccAddressUpdateWithoutMailboxInput, Prisma.AdminBccAddressUncheckedUpdateWithoutMailboxInput>
}
export type AdminBccAddressUpdateManyWithWhereWithoutMailboxInput = {
where: Prisma.AdminBccAddressScalarWhereInput
data: Prisma.XOR<Prisma.AdminBccAddressUpdateManyMutationInput, Prisma.AdminBccAddressUncheckedUpdateManyWithoutMailboxInput>
}
export type AdminBccAddressScalarWhereInput = {
AND?: Prisma.AdminBccAddressScalarWhereInput | Prisma.AdminBccAddressScalarWhereInput[]
OR?: Prisma.AdminBccAddressScalarWhereInput[]
NOT?: Prisma.AdminBccAddressScalarWhereInput | Prisma.AdminBccAddressScalarWhereInput[]
id?: Prisma.StringFilter<"AdminBccAddress"> | string
createdAt?: Prisma.DateTimeFilter<"AdminBccAddress"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminBccAddress"> | Date | string
archivedAt?: Prisma.DateTimeNullableFilter<"AdminBccAddress"> | Date | string | null
adminUserId?: Prisma.StringFilter<"AdminBccAddress"> | string
mailboxId?: Prisma.StringFilter<"AdminBccAddress"> | string
localPartHash?: Prisma.StringFilter<"AdminBccAddress"> | string
displayAddress?: Prisma.StringFilter<"AdminBccAddress"> | string
rotatedAt?: Prisma.DateTimeNullableFilter<"AdminBccAddress"> | Date | string | null
}
export type AdminBccAddressCreateManyMailboxInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
adminUserId: string
localPartHash: string
displayAddress: string
rotatedAt?: Date | string | null
}
export type AdminBccAddressUpdateWithoutMailboxInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
localPartHash?: Prisma.StringFieldUpdateOperationsInput | string
displayAddress?: Prisma.StringFieldUpdateOperationsInput | string
rotatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AdminBccAddressUncheckedUpdateWithoutMailboxInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
localPartHash?: Prisma.StringFieldUpdateOperationsInput | string
displayAddress?: Prisma.StringFieldUpdateOperationsInput | string
rotatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AdminBccAddressUncheckedUpdateManyWithoutMailboxInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
localPartHash?: Prisma.StringFieldUpdateOperationsInput | string
displayAddress?: Prisma.StringFieldUpdateOperationsInput | string
rotatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AdminBccAddressSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
adminUserId?: boolean
mailboxId?: boolean
localPartHash?: boolean
displayAddress?: boolean
rotatedAt?: boolean
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminBccAddress"]>
export type AdminBccAddressSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
adminUserId?: boolean
mailboxId?: boolean
localPartHash?: boolean
displayAddress?: boolean
rotatedAt?: boolean
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminBccAddress"]>
export type AdminBccAddressSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
adminUserId?: boolean
mailboxId?: boolean
localPartHash?: boolean
displayAddress?: boolean
rotatedAt?: boolean
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminBccAddress"]>
export type AdminBccAddressSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
adminUserId?: boolean
mailboxId?: boolean
localPartHash?: boolean
displayAddress?: boolean
rotatedAt?: boolean
}
export type AdminBccAddressOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "archivedAt" | "adminUserId" | "mailboxId" | "localPartHash" | "displayAddress" | "rotatedAt", ExtArgs["result"]["adminBccAddress"]>
export type AdminBccAddressInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}
export type AdminBccAddressIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}
export type AdminBccAddressIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}
export type $AdminBccAddressPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AdminBccAddress"
objects: {
mailbox: Prisma.$AdminMailboxPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
archivedAt: Date | null
adminUserId: string
mailboxId: string
localPartHash: string
displayAddress: string
rotatedAt: Date | null
}, ExtArgs["result"]["adminBccAddress"]>
composites: {}
}
export type AdminBccAddressGetPayload<S extends boolean | null | undefined | AdminBccAddressDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload, S>
export type AdminBccAddressCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AdminBccAddressFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AdminBccAddressCountAggregateInputType | true
}
export interface AdminBccAddressDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminBccAddress'], meta: { name: 'AdminBccAddress' } }
/**
* Find zero or one AdminBccAddress that matches the filter.
* @param {AdminBccAddressFindUniqueArgs} args - Arguments to find a AdminBccAddress
* @example
* // Get one AdminBccAddress
* const adminBccAddress = await prisma.adminBccAddress.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AdminBccAddressFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminBccAddressFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminBccAddressClient<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AdminBccAddress that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AdminBccAddressFindUniqueOrThrowArgs} args - Arguments to find a AdminBccAddress
* @example
* // Get one AdminBccAddress
* const adminBccAddress = await prisma.adminBccAddress.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AdminBccAddressFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminBccAddressFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminBccAddressClient<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminBccAddress 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 {AdminBccAddressFindFirstArgs} args - Arguments to find a AdminBccAddress
* @example
* // Get one AdminBccAddress
* const adminBccAddress = await prisma.adminBccAddress.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AdminBccAddressFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminBccAddressFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminBccAddressClient<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminBccAddress 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 {AdminBccAddressFindFirstOrThrowArgs} args - Arguments to find a AdminBccAddress
* @example
* // Get one AdminBccAddress
* const adminBccAddress = await prisma.adminBccAddress.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AdminBccAddressFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminBccAddressFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminBccAddressClient<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AdminBccAddresses 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 {AdminBccAddressFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AdminBccAddresses
* const adminBccAddresses = await prisma.adminBccAddress.findMany()
*
* // Get first 10 AdminBccAddresses
* const adminBccAddresses = await prisma.adminBccAddress.findMany({ take: 10 })
*
* // Only select the `id`
* const adminBccAddressWithIdOnly = await prisma.adminBccAddress.findMany({ select: { id: true } })
*
*/
findMany<T extends AdminBccAddressFindManyArgs>(args?: Prisma.SelectSubset<T, AdminBccAddressFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AdminBccAddress.
* @param {AdminBccAddressCreateArgs} args - Arguments to create a AdminBccAddress.
* @example
* // Create one AdminBccAddress
* const AdminBccAddress = await prisma.adminBccAddress.create({
* data: {
* // ... data to create a AdminBccAddress
* }
* })
*
*/
create<T extends AdminBccAddressCreateArgs>(args: Prisma.SelectSubset<T, AdminBccAddressCreateArgs<ExtArgs>>): Prisma.Prisma__AdminBccAddressClient<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AdminBccAddresses.
* @param {AdminBccAddressCreateManyArgs} args - Arguments to create many AdminBccAddresses.
* @example
* // Create many AdminBccAddresses
* const adminBccAddress = await prisma.adminBccAddress.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AdminBccAddressCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminBccAddressCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AdminBccAddresses and returns the data saved in the database.
* @param {AdminBccAddressCreateManyAndReturnArgs} args - Arguments to create many AdminBccAddresses.
* @example
* // Create many AdminBccAddresses
* const adminBccAddress = await prisma.adminBccAddress.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AdminBccAddresses and only return the `id`
* const adminBccAddressWithIdOnly = await prisma.adminBccAddress.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 AdminBccAddressCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminBccAddressCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AdminBccAddress.
* @param {AdminBccAddressDeleteArgs} args - Arguments to delete one AdminBccAddress.
* @example
* // Delete one AdminBccAddress
* const AdminBccAddress = await prisma.adminBccAddress.delete({
* where: {
* // ... filter to delete one AdminBccAddress
* }
* })
*
*/
delete<T extends AdminBccAddressDeleteArgs>(args: Prisma.SelectSubset<T, AdminBccAddressDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminBccAddressClient<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AdminBccAddress.
* @param {AdminBccAddressUpdateArgs} args - Arguments to update one AdminBccAddress.
* @example
* // Update one AdminBccAddress
* const adminBccAddress = await prisma.adminBccAddress.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AdminBccAddressUpdateArgs>(args: Prisma.SelectSubset<T, AdminBccAddressUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminBccAddressClient<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AdminBccAddresses.
* @param {AdminBccAddressDeleteManyArgs} args - Arguments to filter AdminBccAddresses to delete.
* @example
* // Delete a few AdminBccAddresses
* const { count } = await prisma.adminBccAddress.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AdminBccAddressDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminBccAddressDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminBccAddresses.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBccAddressUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AdminBccAddresses
* const adminBccAddress = await prisma.adminBccAddress.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AdminBccAddressUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminBccAddressUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminBccAddresses and returns the data updated in the database.
* @param {AdminBccAddressUpdateManyAndReturnArgs} args - Arguments to update many AdminBccAddresses.
* @example
* // Update many AdminBccAddresses
* const adminBccAddress = await prisma.adminBccAddress.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AdminBccAddresses and only return the `id`
* const adminBccAddressWithIdOnly = await prisma.adminBccAddress.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 AdminBccAddressUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminBccAddressUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AdminBccAddress.
* @param {AdminBccAddressUpsertArgs} args - Arguments to update or create a AdminBccAddress.
* @example
* // Update or create a AdminBccAddress
* const adminBccAddress = await prisma.adminBccAddress.upsert({
* create: {
* // ... data to create a AdminBccAddress
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AdminBccAddress we want to update
* }
* })
*/
upsert<T extends AdminBccAddressUpsertArgs>(args: Prisma.SelectSubset<T, AdminBccAddressUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminBccAddressClient<runtime.Types.Result.GetResult<Prisma.$AdminBccAddressPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AdminBccAddresses.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBccAddressCountArgs} args - Arguments to filter AdminBccAddresses to count.
* @example
* // Count the number of AdminBccAddresses
* const count = await prisma.adminBccAddress.count({
* where: {
* // ... the filter for the AdminBccAddresses we want to count
* }
* })
**/
count<T extends AdminBccAddressCountArgs>(
args?: Prisma.Subset<T, AdminBccAddressCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AdminBccAddressCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AdminBccAddress.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBccAddressAggregateArgs} 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 AdminBccAddressAggregateArgs>(args: Prisma.Subset<T, AdminBccAddressAggregateArgs>): Prisma.PrismaPromise<GetAdminBccAddressAggregateType<T>>
/**
* Group by AdminBccAddress.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBccAddressGroupByArgs} 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 AdminBccAddressGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AdminBccAddressGroupByArgs['orderBy'] }
: { orderBy?: AdminBccAddressGroupByArgs['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, AdminBccAddressGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminBccAddressGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AdminBccAddress model
*/
readonly fields: AdminBccAddressFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AdminBccAddress.
* 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__AdminBccAddressClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
mailbox<T extends Prisma.AdminMailboxDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminMailboxDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the AdminBccAddress model
*/
export interface AdminBccAddressFieldRefs {
readonly id: Prisma.FieldRef<"AdminBccAddress", 'String'>
readonly createdAt: Prisma.FieldRef<"AdminBccAddress", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"AdminBccAddress", 'DateTime'>
readonly archivedAt: Prisma.FieldRef<"AdminBccAddress", 'DateTime'>
readonly adminUserId: Prisma.FieldRef<"AdminBccAddress", 'String'>
readonly mailboxId: Prisma.FieldRef<"AdminBccAddress", 'String'>
readonly localPartHash: Prisma.FieldRef<"AdminBccAddress", 'String'>
readonly displayAddress: Prisma.FieldRef<"AdminBccAddress", 'String'>
readonly rotatedAt: Prisma.FieldRef<"AdminBccAddress", 'DateTime'>
}
// Custom InputTypes
/**
* AdminBccAddress findUnique
*/
export type AdminBccAddressFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressInclude<ExtArgs> | null
/**
* Filter, which AdminBccAddress to fetch.
*/
where: Prisma.AdminBccAddressWhereUniqueInput
}
/**
* AdminBccAddress findUniqueOrThrow
*/
export type AdminBccAddressFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressInclude<ExtArgs> | null
/**
* Filter, which AdminBccAddress to fetch.
*/
where: Prisma.AdminBccAddressWhereUniqueInput
}
/**
* AdminBccAddress findFirst
*/
export type AdminBccAddressFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressInclude<ExtArgs> | null
/**
* Filter, which AdminBccAddress to fetch.
*/
where?: Prisma.AdminBccAddressWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBccAddresses to fetch.
*/
orderBy?: Prisma.AdminBccAddressOrderByWithRelationInput | Prisma.AdminBccAddressOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminBccAddresses.
*/
cursor?: Prisma.AdminBccAddressWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBccAddresses 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` AdminBccAddresses.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminBccAddresses.
*/
distinct?: Prisma.AdminBccAddressScalarFieldEnum | Prisma.AdminBccAddressScalarFieldEnum[]
}
/**
* AdminBccAddress findFirstOrThrow
*/
export type AdminBccAddressFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressInclude<ExtArgs> | null
/**
* Filter, which AdminBccAddress to fetch.
*/
where?: Prisma.AdminBccAddressWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBccAddresses to fetch.
*/
orderBy?: Prisma.AdminBccAddressOrderByWithRelationInput | Prisma.AdminBccAddressOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminBccAddresses.
*/
cursor?: Prisma.AdminBccAddressWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBccAddresses 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` AdminBccAddresses.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminBccAddresses.
*/
distinct?: Prisma.AdminBccAddressScalarFieldEnum | Prisma.AdminBccAddressScalarFieldEnum[]
}
/**
* AdminBccAddress findMany
*/
export type AdminBccAddressFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressInclude<ExtArgs> | null
/**
* Filter, which AdminBccAddresses to fetch.
*/
where?: Prisma.AdminBccAddressWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBccAddresses to fetch.
*/
orderBy?: Prisma.AdminBccAddressOrderByWithRelationInput | Prisma.AdminBccAddressOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AdminBccAddresses.
*/
cursor?: Prisma.AdminBccAddressWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBccAddresses 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` AdminBccAddresses.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminBccAddresses.
*/
distinct?: Prisma.AdminBccAddressScalarFieldEnum | Prisma.AdminBccAddressScalarFieldEnum[]
}
/**
* AdminBccAddress create
*/
export type AdminBccAddressCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressInclude<ExtArgs> | null
/**
* The data needed to create a AdminBccAddress.
*/
data: Prisma.XOR<Prisma.AdminBccAddressCreateInput, Prisma.AdminBccAddressUncheckedCreateInput>
}
/**
* AdminBccAddress createMany
*/
export type AdminBccAddressCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AdminBccAddresses.
*/
data: Prisma.AdminBccAddressCreateManyInput | Prisma.AdminBccAddressCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AdminBccAddress createManyAndReturn
*/
export type AdminBccAddressCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* The data used to create many AdminBccAddresses.
*/
data: Prisma.AdminBccAddressCreateManyInput | Prisma.AdminBccAddressCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AdminBccAddress update
*/
export type AdminBccAddressUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressInclude<ExtArgs> | null
/**
* The data needed to update a AdminBccAddress.
*/
data: Prisma.XOR<Prisma.AdminBccAddressUpdateInput, Prisma.AdminBccAddressUncheckedUpdateInput>
/**
* Choose, which AdminBccAddress to update.
*/
where: Prisma.AdminBccAddressWhereUniqueInput
}
/**
* AdminBccAddress updateMany
*/
export type AdminBccAddressUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AdminBccAddresses.
*/
data: Prisma.XOR<Prisma.AdminBccAddressUpdateManyMutationInput, Prisma.AdminBccAddressUncheckedUpdateManyInput>
/**
* Filter which AdminBccAddresses to update
*/
where?: Prisma.AdminBccAddressWhereInput
/**
* Limit how many AdminBccAddresses to update.
*/
limit?: number
}
/**
* AdminBccAddress updateManyAndReturn
*/
export type AdminBccAddressUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* The data used to update AdminBccAddresses.
*/
data: Prisma.XOR<Prisma.AdminBccAddressUpdateManyMutationInput, Prisma.AdminBccAddressUncheckedUpdateManyInput>
/**
* Filter which AdminBccAddresses to update
*/
where?: Prisma.AdminBccAddressWhereInput
/**
* Limit how many AdminBccAddresses to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* AdminBccAddress upsert
*/
export type AdminBccAddressUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressInclude<ExtArgs> | null
/**
* The filter to search for the AdminBccAddress to update in case it exists.
*/
where: Prisma.AdminBccAddressWhereUniqueInput
/**
* In case the AdminBccAddress found by the `where` argument doesn't exist, create a new AdminBccAddress with this data.
*/
create: Prisma.XOR<Prisma.AdminBccAddressCreateInput, Prisma.AdminBccAddressUncheckedCreateInput>
/**
* In case the AdminBccAddress was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AdminBccAddressUpdateInput, Prisma.AdminBccAddressUncheckedUpdateInput>
}
/**
* AdminBccAddress delete
*/
export type AdminBccAddressDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressInclude<ExtArgs> | null
/**
* Filter which AdminBccAddress to delete.
*/
where: Prisma.AdminBccAddressWhereUniqueInput
}
/**
* AdminBccAddress deleteMany
*/
export type AdminBccAddressDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminBccAddresses to delete
*/
where?: Prisma.AdminBccAddressWhereInput
/**
* Limit how many AdminBccAddresses to delete.
*/
limit?: number
}
/**
* AdminBccAddress without action
*/
export type AdminBccAddressDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBccAddress
*/
select?: Prisma.AdminBccAddressSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBccAddress
*/
omit?: Prisma.AdminBccAddressOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBccAddressInclude<ExtArgs> | null
}