1425 lines
54 KiB
TypeScript
1425 lines
54 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `EmailRead` 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 EmailRead
|
|
*
|
|
*/
|
|
export type EmailReadModel = runtime.Types.Result.DefaultSelection<Prisma.$EmailReadPayload>
|
|
|
|
export type AggregateEmailRead = {
|
|
_count: EmailReadCountAggregateOutputType | null
|
|
_min: EmailReadMinAggregateOutputType | null
|
|
_max: EmailReadMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type EmailReadMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
emailId: string | null
|
|
userId: string | null
|
|
}
|
|
|
|
export type EmailReadMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
emailId: string | null
|
|
userId: string | null
|
|
}
|
|
|
|
export type EmailReadCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
emailId: number
|
|
userId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type EmailReadMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
emailId?: true
|
|
userId?: true
|
|
}
|
|
|
|
export type EmailReadMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
emailId?: true
|
|
userId?: true
|
|
}
|
|
|
|
export type EmailReadCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
emailId?: true
|
|
userId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type EmailReadAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which EmailRead to aggregate.
|
|
*/
|
|
where?: Prisma.EmailReadWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EmailReads to fetch.
|
|
*/
|
|
orderBy?: Prisma.EmailReadOrderByWithRelationInput | Prisma.EmailReadOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.EmailReadWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EmailReads 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` EmailReads.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned EmailReads
|
|
**/
|
|
_count?: true | EmailReadCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: EmailReadMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: EmailReadMaxAggregateInputType
|
|
}
|
|
|
|
export type GetEmailReadAggregateType<T extends EmailReadAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateEmailRead]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateEmailRead[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateEmailRead[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EmailReadGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EmailReadWhereInput
|
|
orderBy?: Prisma.EmailReadOrderByWithAggregationInput | Prisma.EmailReadOrderByWithAggregationInput[]
|
|
by: Prisma.EmailReadScalarFieldEnum[] | Prisma.EmailReadScalarFieldEnum
|
|
having?: Prisma.EmailReadScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: EmailReadCountAggregateInputType | true
|
|
_min?: EmailReadMinAggregateInputType
|
|
_max?: EmailReadMaxAggregateInputType
|
|
}
|
|
|
|
export type EmailReadGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
emailId: string
|
|
userId: string
|
|
_count: EmailReadCountAggregateOutputType | null
|
|
_min: EmailReadMinAggregateOutputType | null
|
|
_max: EmailReadMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetEmailReadGroupByPayload<T extends EmailReadGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<EmailReadGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof EmailReadGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], EmailReadGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], EmailReadGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type EmailReadWhereInput = {
|
|
AND?: Prisma.EmailReadWhereInput | Prisma.EmailReadWhereInput[]
|
|
OR?: Prisma.EmailReadWhereInput[]
|
|
NOT?: Prisma.EmailReadWhereInput | Prisma.EmailReadWhereInput[]
|
|
id?: Prisma.StringFilter<"EmailRead"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"EmailRead"> | Date | string
|
|
emailId?: Prisma.StringFilter<"EmailRead"> | string
|
|
userId?: Prisma.StringFilter<"EmailRead"> | string
|
|
email?: Prisma.XOR<Prisma.EmailScalarRelationFilter, Prisma.EmailWhereInput>
|
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
}
|
|
|
|
export type EmailReadOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
emailId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
email?: Prisma.EmailOrderByWithRelationInput
|
|
user?: Prisma.UserOrderByWithRelationInput
|
|
}
|
|
|
|
export type EmailReadWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.EmailReadWhereInput | Prisma.EmailReadWhereInput[]
|
|
OR?: Prisma.EmailReadWhereInput[]
|
|
NOT?: Prisma.EmailReadWhereInput | Prisma.EmailReadWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"EmailRead"> | Date | string
|
|
emailId?: Prisma.StringFilter<"EmailRead"> | string
|
|
userId?: Prisma.StringFilter<"EmailRead"> | string
|
|
email?: Prisma.XOR<Prisma.EmailScalarRelationFilter, Prisma.EmailWhereInput>
|
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
}, "id">
|
|
|
|
export type EmailReadOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
emailId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
_count?: Prisma.EmailReadCountOrderByAggregateInput
|
|
_max?: Prisma.EmailReadMaxOrderByAggregateInput
|
|
_min?: Prisma.EmailReadMinOrderByAggregateInput
|
|
}
|
|
|
|
export type EmailReadScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.EmailReadScalarWhereWithAggregatesInput | Prisma.EmailReadScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.EmailReadScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.EmailReadScalarWhereWithAggregatesInput | Prisma.EmailReadScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"EmailRead"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"EmailRead"> | Date | string
|
|
emailId?: Prisma.StringWithAggregatesFilter<"EmailRead"> | string
|
|
userId?: Prisma.StringWithAggregatesFilter<"EmailRead"> | string
|
|
}
|
|
|
|
export type EmailReadCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
email: Prisma.EmailCreateNestedOneWithoutReadsInput
|
|
user: Prisma.UserCreateNestedOneWithoutReadEmailsInput
|
|
}
|
|
|
|
export type EmailReadUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
emailId: string
|
|
userId: string
|
|
}
|
|
|
|
export type EmailReadUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.EmailUpdateOneRequiredWithoutReadsNestedInput
|
|
user?: Prisma.UserUpdateOneRequiredWithoutReadEmailsNestedInput
|
|
}
|
|
|
|
export type EmailReadUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
emailId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type EmailReadCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
emailId: string
|
|
userId: string
|
|
}
|
|
|
|
export type EmailReadUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type EmailReadUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
emailId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type EmailReadListRelationFilter = {
|
|
every?: Prisma.EmailReadWhereInput
|
|
some?: Prisma.EmailReadWhereInput
|
|
none?: Prisma.EmailReadWhereInput
|
|
}
|
|
|
|
export type EmailReadOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EmailReadCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
emailId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EmailReadMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
emailId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EmailReadMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
emailId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EmailReadCreateNestedManyWithoutUserInput = {
|
|
create?: Prisma.XOR<Prisma.EmailReadCreateWithoutUserInput, Prisma.EmailReadUncheckedCreateWithoutUserInput> | Prisma.EmailReadCreateWithoutUserInput[] | Prisma.EmailReadUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.EmailReadCreateOrConnectWithoutUserInput | Prisma.EmailReadCreateOrConnectWithoutUserInput[]
|
|
createMany?: Prisma.EmailReadCreateManyUserInputEnvelope
|
|
connect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
}
|
|
|
|
export type EmailReadUncheckedCreateNestedManyWithoutUserInput = {
|
|
create?: Prisma.XOR<Prisma.EmailReadCreateWithoutUserInput, Prisma.EmailReadUncheckedCreateWithoutUserInput> | Prisma.EmailReadCreateWithoutUserInput[] | Prisma.EmailReadUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.EmailReadCreateOrConnectWithoutUserInput | Prisma.EmailReadCreateOrConnectWithoutUserInput[]
|
|
createMany?: Prisma.EmailReadCreateManyUserInputEnvelope
|
|
connect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
}
|
|
|
|
export type EmailReadUpdateManyWithoutUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EmailReadCreateWithoutUserInput, Prisma.EmailReadUncheckedCreateWithoutUserInput> | Prisma.EmailReadCreateWithoutUserInput[] | Prisma.EmailReadUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.EmailReadCreateOrConnectWithoutUserInput | Prisma.EmailReadCreateOrConnectWithoutUserInput[]
|
|
upsert?: Prisma.EmailReadUpsertWithWhereUniqueWithoutUserInput | Prisma.EmailReadUpsertWithWhereUniqueWithoutUserInput[]
|
|
createMany?: Prisma.EmailReadCreateManyUserInputEnvelope
|
|
set?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
disconnect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
delete?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
connect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
update?: Prisma.EmailReadUpdateWithWhereUniqueWithoutUserInput | Prisma.EmailReadUpdateWithWhereUniqueWithoutUserInput[]
|
|
updateMany?: Prisma.EmailReadUpdateManyWithWhereWithoutUserInput | Prisma.EmailReadUpdateManyWithWhereWithoutUserInput[]
|
|
deleteMany?: Prisma.EmailReadScalarWhereInput | Prisma.EmailReadScalarWhereInput[]
|
|
}
|
|
|
|
export type EmailReadUncheckedUpdateManyWithoutUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EmailReadCreateWithoutUserInput, Prisma.EmailReadUncheckedCreateWithoutUserInput> | Prisma.EmailReadCreateWithoutUserInput[] | Prisma.EmailReadUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.EmailReadCreateOrConnectWithoutUserInput | Prisma.EmailReadCreateOrConnectWithoutUserInput[]
|
|
upsert?: Prisma.EmailReadUpsertWithWhereUniqueWithoutUserInput | Prisma.EmailReadUpsertWithWhereUniqueWithoutUserInput[]
|
|
createMany?: Prisma.EmailReadCreateManyUserInputEnvelope
|
|
set?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
disconnect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
delete?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
connect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
update?: Prisma.EmailReadUpdateWithWhereUniqueWithoutUserInput | Prisma.EmailReadUpdateWithWhereUniqueWithoutUserInput[]
|
|
updateMany?: Prisma.EmailReadUpdateManyWithWhereWithoutUserInput | Prisma.EmailReadUpdateManyWithWhereWithoutUserInput[]
|
|
deleteMany?: Prisma.EmailReadScalarWhereInput | Prisma.EmailReadScalarWhereInput[]
|
|
}
|
|
|
|
export type EmailReadCreateNestedManyWithoutEmailInput = {
|
|
create?: Prisma.XOR<Prisma.EmailReadCreateWithoutEmailInput, Prisma.EmailReadUncheckedCreateWithoutEmailInput> | Prisma.EmailReadCreateWithoutEmailInput[] | Prisma.EmailReadUncheckedCreateWithoutEmailInput[]
|
|
connectOrCreate?: Prisma.EmailReadCreateOrConnectWithoutEmailInput | Prisma.EmailReadCreateOrConnectWithoutEmailInput[]
|
|
createMany?: Prisma.EmailReadCreateManyEmailInputEnvelope
|
|
connect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
}
|
|
|
|
export type EmailReadUncheckedCreateNestedManyWithoutEmailInput = {
|
|
create?: Prisma.XOR<Prisma.EmailReadCreateWithoutEmailInput, Prisma.EmailReadUncheckedCreateWithoutEmailInput> | Prisma.EmailReadCreateWithoutEmailInput[] | Prisma.EmailReadUncheckedCreateWithoutEmailInput[]
|
|
connectOrCreate?: Prisma.EmailReadCreateOrConnectWithoutEmailInput | Prisma.EmailReadCreateOrConnectWithoutEmailInput[]
|
|
createMany?: Prisma.EmailReadCreateManyEmailInputEnvelope
|
|
connect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
}
|
|
|
|
export type EmailReadUpdateManyWithoutEmailNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EmailReadCreateWithoutEmailInput, Prisma.EmailReadUncheckedCreateWithoutEmailInput> | Prisma.EmailReadCreateWithoutEmailInput[] | Prisma.EmailReadUncheckedCreateWithoutEmailInput[]
|
|
connectOrCreate?: Prisma.EmailReadCreateOrConnectWithoutEmailInput | Prisma.EmailReadCreateOrConnectWithoutEmailInput[]
|
|
upsert?: Prisma.EmailReadUpsertWithWhereUniqueWithoutEmailInput | Prisma.EmailReadUpsertWithWhereUniqueWithoutEmailInput[]
|
|
createMany?: Prisma.EmailReadCreateManyEmailInputEnvelope
|
|
set?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
disconnect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
delete?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
connect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
update?: Prisma.EmailReadUpdateWithWhereUniqueWithoutEmailInput | Prisma.EmailReadUpdateWithWhereUniqueWithoutEmailInput[]
|
|
updateMany?: Prisma.EmailReadUpdateManyWithWhereWithoutEmailInput | Prisma.EmailReadUpdateManyWithWhereWithoutEmailInput[]
|
|
deleteMany?: Prisma.EmailReadScalarWhereInput | Prisma.EmailReadScalarWhereInput[]
|
|
}
|
|
|
|
export type EmailReadUncheckedUpdateManyWithoutEmailNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EmailReadCreateWithoutEmailInput, Prisma.EmailReadUncheckedCreateWithoutEmailInput> | Prisma.EmailReadCreateWithoutEmailInput[] | Prisma.EmailReadUncheckedCreateWithoutEmailInput[]
|
|
connectOrCreate?: Prisma.EmailReadCreateOrConnectWithoutEmailInput | Prisma.EmailReadCreateOrConnectWithoutEmailInput[]
|
|
upsert?: Prisma.EmailReadUpsertWithWhereUniqueWithoutEmailInput | Prisma.EmailReadUpsertWithWhereUniqueWithoutEmailInput[]
|
|
createMany?: Prisma.EmailReadCreateManyEmailInputEnvelope
|
|
set?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
disconnect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
delete?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
connect?: Prisma.EmailReadWhereUniqueInput | Prisma.EmailReadWhereUniqueInput[]
|
|
update?: Prisma.EmailReadUpdateWithWhereUniqueWithoutEmailInput | Prisma.EmailReadUpdateWithWhereUniqueWithoutEmailInput[]
|
|
updateMany?: Prisma.EmailReadUpdateManyWithWhereWithoutEmailInput | Prisma.EmailReadUpdateManyWithWhereWithoutEmailInput[]
|
|
deleteMany?: Prisma.EmailReadScalarWhereInput | Prisma.EmailReadScalarWhereInput[]
|
|
}
|
|
|
|
export type EmailReadCreateWithoutUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
email: Prisma.EmailCreateNestedOneWithoutReadsInput
|
|
}
|
|
|
|
export type EmailReadUncheckedCreateWithoutUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
emailId: string
|
|
}
|
|
|
|
export type EmailReadCreateOrConnectWithoutUserInput = {
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EmailReadCreateWithoutUserInput, Prisma.EmailReadUncheckedCreateWithoutUserInput>
|
|
}
|
|
|
|
export type EmailReadCreateManyUserInputEnvelope = {
|
|
data: Prisma.EmailReadCreateManyUserInput | Prisma.EmailReadCreateManyUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type EmailReadUpsertWithWhereUniqueWithoutUserInput = {
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.EmailReadUpdateWithoutUserInput, Prisma.EmailReadUncheckedUpdateWithoutUserInput>
|
|
create: Prisma.XOR<Prisma.EmailReadCreateWithoutUserInput, Prisma.EmailReadUncheckedCreateWithoutUserInput>
|
|
}
|
|
|
|
export type EmailReadUpdateWithWhereUniqueWithoutUserInput = {
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.EmailReadUpdateWithoutUserInput, Prisma.EmailReadUncheckedUpdateWithoutUserInput>
|
|
}
|
|
|
|
export type EmailReadUpdateManyWithWhereWithoutUserInput = {
|
|
where: Prisma.EmailReadScalarWhereInput
|
|
data: Prisma.XOR<Prisma.EmailReadUpdateManyMutationInput, Prisma.EmailReadUncheckedUpdateManyWithoutUserInput>
|
|
}
|
|
|
|
export type EmailReadScalarWhereInput = {
|
|
AND?: Prisma.EmailReadScalarWhereInput | Prisma.EmailReadScalarWhereInput[]
|
|
OR?: Prisma.EmailReadScalarWhereInput[]
|
|
NOT?: Prisma.EmailReadScalarWhereInput | Prisma.EmailReadScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"EmailRead"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"EmailRead"> | Date | string
|
|
emailId?: Prisma.StringFilter<"EmailRead"> | string
|
|
userId?: Prisma.StringFilter<"EmailRead"> | string
|
|
}
|
|
|
|
export type EmailReadCreateWithoutEmailInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
user: Prisma.UserCreateNestedOneWithoutReadEmailsInput
|
|
}
|
|
|
|
export type EmailReadUncheckedCreateWithoutEmailInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
userId: string
|
|
}
|
|
|
|
export type EmailReadCreateOrConnectWithoutEmailInput = {
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EmailReadCreateWithoutEmailInput, Prisma.EmailReadUncheckedCreateWithoutEmailInput>
|
|
}
|
|
|
|
export type EmailReadCreateManyEmailInputEnvelope = {
|
|
data: Prisma.EmailReadCreateManyEmailInput | Prisma.EmailReadCreateManyEmailInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type EmailReadUpsertWithWhereUniqueWithoutEmailInput = {
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.EmailReadUpdateWithoutEmailInput, Prisma.EmailReadUncheckedUpdateWithoutEmailInput>
|
|
create: Prisma.XOR<Prisma.EmailReadCreateWithoutEmailInput, Prisma.EmailReadUncheckedCreateWithoutEmailInput>
|
|
}
|
|
|
|
export type EmailReadUpdateWithWhereUniqueWithoutEmailInput = {
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.EmailReadUpdateWithoutEmailInput, Prisma.EmailReadUncheckedUpdateWithoutEmailInput>
|
|
}
|
|
|
|
export type EmailReadUpdateManyWithWhereWithoutEmailInput = {
|
|
where: Prisma.EmailReadScalarWhereInput
|
|
data: Prisma.XOR<Prisma.EmailReadUpdateManyMutationInput, Prisma.EmailReadUncheckedUpdateManyWithoutEmailInput>
|
|
}
|
|
|
|
export type EmailReadCreateManyUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
emailId: string
|
|
}
|
|
|
|
export type EmailReadUpdateWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.EmailUpdateOneRequiredWithoutReadsNestedInput
|
|
}
|
|
|
|
export type EmailReadUncheckedUpdateWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
emailId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type EmailReadUncheckedUpdateManyWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
emailId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type EmailReadCreateManyEmailInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
userId: string
|
|
}
|
|
|
|
export type EmailReadUpdateWithoutEmailInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
user?: Prisma.UserUpdateOneRequiredWithoutReadEmailsNestedInput
|
|
}
|
|
|
|
export type EmailReadUncheckedUpdateWithoutEmailInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type EmailReadUncheckedUpdateManyWithoutEmailInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
|
|
|
|
export type EmailReadSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
emailId?: boolean
|
|
userId?: boolean
|
|
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["emailRead"]>
|
|
|
|
export type EmailReadSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
emailId?: boolean
|
|
userId?: boolean
|
|
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["emailRead"]>
|
|
|
|
export type EmailReadSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
emailId?: boolean
|
|
userId?: boolean
|
|
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["emailRead"]>
|
|
|
|
export type EmailReadSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
emailId?: boolean
|
|
userId?: boolean
|
|
}
|
|
|
|
export type EmailReadOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "emailId" | "userId", ExtArgs["result"]["emailRead"]>
|
|
export type EmailReadInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}
|
|
export type EmailReadIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}
|
|
export type EmailReadIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $EmailReadPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "EmailRead"
|
|
objects: {
|
|
email: Prisma.$EmailPayload<ExtArgs>
|
|
user: Prisma.$UserPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
emailId: string
|
|
userId: string
|
|
}, ExtArgs["result"]["emailRead"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type EmailReadGetPayload<S extends boolean | null | undefined | EmailReadDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EmailReadPayload, S>
|
|
|
|
export type EmailReadCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<EmailReadFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: EmailReadCountAggregateInputType | true
|
|
}
|
|
|
|
export interface EmailReadDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EmailRead'], meta: { name: 'EmailRead' } }
|
|
/**
|
|
* Find zero or one EmailRead that matches the filter.
|
|
* @param {EmailReadFindUniqueArgs} args - Arguments to find a EmailRead
|
|
* @example
|
|
* // Get one EmailRead
|
|
* const emailRead = await prisma.emailRead.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends EmailReadFindUniqueArgs>(args: Prisma.SelectSubset<T, EmailReadFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EmailReadClient<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one EmailRead that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {EmailReadFindUniqueOrThrowArgs} args - Arguments to find a EmailRead
|
|
* @example
|
|
* // Get one EmailRead
|
|
* const emailRead = await prisma.emailRead.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends EmailReadFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EmailReadFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmailReadClient<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first EmailRead 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 {EmailReadFindFirstArgs} args - Arguments to find a EmailRead
|
|
* @example
|
|
* // Get one EmailRead
|
|
* const emailRead = await prisma.emailRead.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends EmailReadFindFirstArgs>(args?: Prisma.SelectSubset<T, EmailReadFindFirstArgs<ExtArgs>>): Prisma.Prisma__EmailReadClient<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first EmailRead 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 {EmailReadFindFirstOrThrowArgs} args - Arguments to find a EmailRead
|
|
* @example
|
|
* // Get one EmailRead
|
|
* const emailRead = await prisma.emailRead.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends EmailReadFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EmailReadFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmailReadClient<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more EmailReads 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 {EmailReadFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all EmailReads
|
|
* const emailReads = await prisma.emailRead.findMany()
|
|
*
|
|
* // Get first 10 EmailReads
|
|
* const emailReads = await prisma.emailRead.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const emailReadWithIdOnly = await prisma.emailRead.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends EmailReadFindManyArgs>(args?: Prisma.SelectSubset<T, EmailReadFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a EmailRead.
|
|
* @param {EmailReadCreateArgs} args - Arguments to create a EmailRead.
|
|
* @example
|
|
* // Create one EmailRead
|
|
* const EmailRead = await prisma.emailRead.create({
|
|
* data: {
|
|
* // ... data to create a EmailRead
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends EmailReadCreateArgs>(args: Prisma.SelectSubset<T, EmailReadCreateArgs<ExtArgs>>): Prisma.Prisma__EmailReadClient<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many EmailReads.
|
|
* @param {EmailReadCreateManyArgs} args - Arguments to create many EmailReads.
|
|
* @example
|
|
* // Create many EmailReads
|
|
* const emailRead = await prisma.emailRead.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends EmailReadCreateManyArgs>(args?: Prisma.SelectSubset<T, EmailReadCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many EmailReads and returns the data saved in the database.
|
|
* @param {EmailReadCreateManyAndReturnArgs} args - Arguments to create many EmailReads.
|
|
* @example
|
|
* // Create many EmailReads
|
|
* const emailRead = await prisma.emailRead.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many EmailReads and only return the `id`
|
|
* const emailReadWithIdOnly = await prisma.emailRead.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 EmailReadCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EmailReadCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a EmailRead.
|
|
* @param {EmailReadDeleteArgs} args - Arguments to delete one EmailRead.
|
|
* @example
|
|
* // Delete one EmailRead
|
|
* const EmailRead = await prisma.emailRead.delete({
|
|
* where: {
|
|
* // ... filter to delete one EmailRead
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends EmailReadDeleteArgs>(args: Prisma.SelectSubset<T, EmailReadDeleteArgs<ExtArgs>>): Prisma.Prisma__EmailReadClient<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one EmailRead.
|
|
* @param {EmailReadUpdateArgs} args - Arguments to update one EmailRead.
|
|
* @example
|
|
* // Update one EmailRead
|
|
* const emailRead = await prisma.emailRead.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends EmailReadUpdateArgs>(args: Prisma.SelectSubset<T, EmailReadUpdateArgs<ExtArgs>>): Prisma.Prisma__EmailReadClient<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more EmailReads.
|
|
* @param {EmailReadDeleteManyArgs} args - Arguments to filter EmailReads to delete.
|
|
* @example
|
|
* // Delete a few EmailReads
|
|
* const { count } = await prisma.emailRead.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends EmailReadDeleteManyArgs>(args?: Prisma.SelectSubset<T, EmailReadDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more EmailReads.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EmailReadUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many EmailReads
|
|
* const emailRead = await prisma.emailRead.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends EmailReadUpdateManyArgs>(args: Prisma.SelectSubset<T, EmailReadUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more EmailReads and returns the data updated in the database.
|
|
* @param {EmailReadUpdateManyAndReturnArgs} args - Arguments to update many EmailReads.
|
|
* @example
|
|
* // Update many EmailReads
|
|
* const emailRead = await prisma.emailRead.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more EmailReads and only return the `id`
|
|
* const emailReadWithIdOnly = await prisma.emailRead.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 EmailReadUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EmailReadUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one EmailRead.
|
|
* @param {EmailReadUpsertArgs} args - Arguments to update or create a EmailRead.
|
|
* @example
|
|
* // Update or create a EmailRead
|
|
* const emailRead = await prisma.emailRead.upsert({
|
|
* create: {
|
|
* // ... data to create a EmailRead
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the EmailRead we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends EmailReadUpsertArgs>(args: Prisma.SelectSubset<T, EmailReadUpsertArgs<ExtArgs>>): Prisma.Prisma__EmailReadClient<runtime.Types.Result.GetResult<Prisma.$EmailReadPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of EmailReads.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EmailReadCountArgs} args - Arguments to filter EmailReads to count.
|
|
* @example
|
|
* // Count the number of EmailReads
|
|
* const count = await prisma.emailRead.count({
|
|
* where: {
|
|
* // ... the filter for the EmailReads we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends EmailReadCountArgs>(
|
|
args?: Prisma.Subset<T, EmailReadCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], EmailReadCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a EmailRead.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EmailReadAggregateArgs} 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 EmailReadAggregateArgs>(args: Prisma.Subset<T, EmailReadAggregateArgs>): Prisma.PrismaPromise<GetEmailReadAggregateType<T>>
|
|
|
|
/**
|
|
* Group by EmailRead.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EmailReadGroupByArgs} 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 EmailReadGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: EmailReadGroupByArgs['orderBy'] }
|
|
: { orderBy?: EmailReadGroupByArgs['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, EmailReadGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEmailReadGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the EmailRead model
|
|
*/
|
|
readonly fields: EmailReadFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for EmailRead.
|
|
* 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__EmailReadClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
email<T extends Prisma.EmailDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EmailDefaultArgs<ExtArgs>>): Prisma.Prisma__EmailClient<runtime.Types.Result.GetResult<Prisma.$EmailPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<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 EmailRead model
|
|
*/
|
|
export interface EmailReadFieldRefs {
|
|
readonly id: Prisma.FieldRef<"EmailRead", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"EmailRead", 'DateTime'>
|
|
readonly emailId: Prisma.FieldRef<"EmailRead", 'String'>
|
|
readonly userId: Prisma.FieldRef<"EmailRead", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* EmailRead findUnique
|
|
*/
|
|
export type EmailReadFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EmailRead to fetch.
|
|
*/
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EmailRead findUniqueOrThrow
|
|
*/
|
|
export type EmailReadFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EmailRead to fetch.
|
|
*/
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EmailRead findFirst
|
|
*/
|
|
export type EmailReadFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EmailRead to fetch.
|
|
*/
|
|
where?: Prisma.EmailReadWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EmailReads to fetch.
|
|
*/
|
|
orderBy?: Prisma.EmailReadOrderByWithRelationInput | Prisma.EmailReadOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for EmailReads.
|
|
*/
|
|
cursor?: Prisma.EmailReadWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EmailReads 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` EmailReads.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EmailReads.
|
|
*/
|
|
distinct?: Prisma.EmailReadScalarFieldEnum | Prisma.EmailReadScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EmailRead findFirstOrThrow
|
|
*/
|
|
export type EmailReadFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EmailRead to fetch.
|
|
*/
|
|
where?: Prisma.EmailReadWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EmailReads to fetch.
|
|
*/
|
|
orderBy?: Prisma.EmailReadOrderByWithRelationInput | Prisma.EmailReadOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for EmailReads.
|
|
*/
|
|
cursor?: Prisma.EmailReadWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EmailReads 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` EmailReads.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EmailReads.
|
|
*/
|
|
distinct?: Prisma.EmailReadScalarFieldEnum | Prisma.EmailReadScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EmailRead findMany
|
|
*/
|
|
export type EmailReadFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EmailReads to fetch.
|
|
*/
|
|
where?: Prisma.EmailReadWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EmailReads to fetch.
|
|
*/
|
|
orderBy?: Prisma.EmailReadOrderByWithRelationInput | Prisma.EmailReadOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing EmailReads.
|
|
*/
|
|
cursor?: Prisma.EmailReadWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EmailReads 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` EmailReads.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EmailReads.
|
|
*/
|
|
distinct?: Prisma.EmailReadScalarFieldEnum | Prisma.EmailReadScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EmailRead create
|
|
*/
|
|
export type EmailReadCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a EmailRead.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EmailReadCreateInput, Prisma.EmailReadUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* EmailRead createMany
|
|
*/
|
|
export type EmailReadCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many EmailReads.
|
|
*/
|
|
data: Prisma.EmailReadCreateManyInput | Prisma.EmailReadCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* EmailRead createManyAndReturn
|
|
*/
|
|
export type EmailReadCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many EmailReads.
|
|
*/
|
|
data: Prisma.EmailReadCreateManyInput | Prisma.EmailReadCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EmailRead update
|
|
*/
|
|
export type EmailReadUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a EmailRead.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EmailReadUpdateInput, Prisma.EmailReadUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which EmailRead to update.
|
|
*/
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EmailRead updateMany
|
|
*/
|
|
export type EmailReadUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update EmailReads.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EmailReadUpdateManyMutationInput, Prisma.EmailReadUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which EmailReads to update
|
|
*/
|
|
where?: Prisma.EmailReadWhereInput
|
|
/**
|
|
* Limit how many EmailReads to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EmailRead updateManyAndReturn
|
|
*/
|
|
export type EmailReadUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update EmailReads.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EmailReadUpdateManyMutationInput, Prisma.EmailReadUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which EmailReads to update
|
|
*/
|
|
where?: Prisma.EmailReadWhereInput
|
|
/**
|
|
* Limit how many EmailReads to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EmailRead upsert
|
|
*/
|
|
export type EmailReadUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the EmailRead to update in case it exists.
|
|
*/
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
/**
|
|
* In case the EmailRead found by the `where` argument doesn't exist, create a new EmailRead with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.EmailReadCreateInput, Prisma.EmailReadUncheckedCreateInput>
|
|
/**
|
|
* In case the EmailRead was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.EmailReadUpdateInput, Prisma.EmailReadUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* EmailRead delete
|
|
*/
|
|
export type EmailReadDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which EmailRead to delete.
|
|
*/
|
|
where: Prisma.EmailReadWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EmailRead deleteMany
|
|
*/
|
|
export type EmailReadDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which EmailReads to delete
|
|
*/
|
|
where?: Prisma.EmailReadWhereInput
|
|
/**
|
|
* Limit how many EmailReads to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EmailRead without action
|
|
*/
|
|
export type EmailReadDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmailRead
|
|
*/
|
|
select?: Prisma.EmailReadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmailRead
|
|
*/
|
|
omit?: Prisma.EmailReadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmailReadInclude<ExtArgs> | null
|
|
}
|