Files
HiveGrid-Wireframes/hivegrid-cloud/packages/db/generated/prisma/client/models/EmailCc.ts
T

1311 lines
46 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 `EmailCc` 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 EmailCc
*
*/
export type EmailCcModel = runtime.Types.Result.DefaultSelection<Prisma.$EmailCcPayload>
export type AggregateEmailCc = {
_count: EmailCcCountAggregateOutputType | null
_min: EmailCcMinAggregateOutputType | null
_max: EmailCcMaxAggregateOutputType | null
}
export type EmailCcMinAggregateOutputType = {
id: string | null
emailId: string | null
toEmail: string | null
toName: string | null
}
export type EmailCcMaxAggregateOutputType = {
id: string | null
emailId: string | null
toEmail: string | null
toName: string | null
}
export type EmailCcCountAggregateOutputType = {
id: number
emailId: number
toEmail: number
toName: number
_all: number
}
export type EmailCcMinAggregateInputType = {
id?: true
emailId?: true
toEmail?: true
toName?: true
}
export type EmailCcMaxAggregateInputType = {
id?: true
emailId?: true
toEmail?: true
toName?: true
}
export type EmailCcCountAggregateInputType = {
id?: true
emailId?: true
toEmail?: true
toName?: true
_all?: true
}
export type EmailCcAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which EmailCc to aggregate.
*/
where?: Prisma.EmailCcWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmailCcs to fetch.
*/
orderBy?: Prisma.EmailCcOrderByWithRelationInput | Prisma.EmailCcOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.EmailCcWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmailCcs 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` EmailCcs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned EmailCcs
**/
_count?: true | EmailCcCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: EmailCcMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: EmailCcMaxAggregateInputType
}
export type GetEmailCcAggregateType<T extends EmailCcAggregateArgs> = {
[P in keyof T & keyof AggregateEmailCc]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateEmailCc[P]>
: Prisma.GetScalarType<T[P], AggregateEmailCc[P]>
}
export type EmailCcGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.EmailCcWhereInput
orderBy?: Prisma.EmailCcOrderByWithAggregationInput | Prisma.EmailCcOrderByWithAggregationInput[]
by: Prisma.EmailCcScalarFieldEnum[] | Prisma.EmailCcScalarFieldEnum
having?: Prisma.EmailCcScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: EmailCcCountAggregateInputType | true
_min?: EmailCcMinAggregateInputType
_max?: EmailCcMaxAggregateInputType
}
export type EmailCcGroupByOutputType = {
id: string
emailId: string
toEmail: string
toName: string | null
_count: EmailCcCountAggregateOutputType | null
_min: EmailCcMinAggregateOutputType | null
_max: EmailCcMaxAggregateOutputType | null
}
export type GetEmailCcGroupByPayload<T extends EmailCcGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<EmailCcGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof EmailCcGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], EmailCcGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], EmailCcGroupByOutputType[P]>
}
>
>
export type EmailCcWhereInput = {
AND?: Prisma.EmailCcWhereInput | Prisma.EmailCcWhereInput[]
OR?: Prisma.EmailCcWhereInput[]
NOT?: Prisma.EmailCcWhereInput | Prisma.EmailCcWhereInput[]
id?: Prisma.StringFilter<"EmailCc"> | string
emailId?: Prisma.StringFilter<"EmailCc"> | string
toEmail?: Prisma.StringFilter<"EmailCc"> | string
toName?: Prisma.StringNullableFilter<"EmailCc"> | string | null
email?: Prisma.XOR<Prisma.EmailScalarRelationFilter, Prisma.EmailWhereInput>
}
export type EmailCcOrderByWithRelationInput = {
id?: Prisma.SortOrder
emailId?: Prisma.SortOrder
toEmail?: Prisma.SortOrder
toName?: Prisma.SortOrderInput | Prisma.SortOrder
email?: Prisma.EmailOrderByWithRelationInput
}
export type EmailCcWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.EmailCcWhereInput | Prisma.EmailCcWhereInput[]
OR?: Prisma.EmailCcWhereInput[]
NOT?: Prisma.EmailCcWhereInput | Prisma.EmailCcWhereInput[]
emailId?: Prisma.StringFilter<"EmailCc"> | string
toEmail?: Prisma.StringFilter<"EmailCc"> | string
toName?: Prisma.StringNullableFilter<"EmailCc"> | string | null
email?: Prisma.XOR<Prisma.EmailScalarRelationFilter, Prisma.EmailWhereInput>
}, "id">
export type EmailCcOrderByWithAggregationInput = {
id?: Prisma.SortOrder
emailId?: Prisma.SortOrder
toEmail?: Prisma.SortOrder
toName?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.EmailCcCountOrderByAggregateInput
_max?: Prisma.EmailCcMaxOrderByAggregateInput
_min?: Prisma.EmailCcMinOrderByAggregateInput
}
export type EmailCcScalarWhereWithAggregatesInput = {
AND?: Prisma.EmailCcScalarWhereWithAggregatesInput | Prisma.EmailCcScalarWhereWithAggregatesInput[]
OR?: Prisma.EmailCcScalarWhereWithAggregatesInput[]
NOT?: Prisma.EmailCcScalarWhereWithAggregatesInput | Prisma.EmailCcScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"EmailCc"> | string
emailId?: Prisma.StringWithAggregatesFilter<"EmailCc"> | string
toEmail?: Prisma.StringWithAggregatesFilter<"EmailCc"> | string
toName?: Prisma.StringNullableWithAggregatesFilter<"EmailCc"> | string | null
}
export type EmailCcCreateInput = {
id?: string
toEmail: string
toName?: string | null
email: Prisma.EmailCreateNestedOneWithoutCcInput
}
export type EmailCcUncheckedCreateInput = {
id?: string
emailId: string
toEmail: string
toName?: string | null
}
export type EmailCcUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
toEmail?: Prisma.StringFieldUpdateOperationsInput | string
toName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
email?: Prisma.EmailUpdateOneRequiredWithoutCcNestedInput
}
export type EmailCcUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
emailId?: Prisma.StringFieldUpdateOperationsInput | string
toEmail?: Prisma.StringFieldUpdateOperationsInput | string
toName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type EmailCcCreateManyInput = {
id?: string
emailId: string
toEmail: string
toName?: string | null
}
export type EmailCcUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
toEmail?: Prisma.StringFieldUpdateOperationsInput | string
toName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type EmailCcUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
emailId?: Prisma.StringFieldUpdateOperationsInput | string
toEmail?: Prisma.StringFieldUpdateOperationsInput | string
toName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type EmailCcListRelationFilter = {
every?: Prisma.EmailCcWhereInput
some?: Prisma.EmailCcWhereInput
none?: Prisma.EmailCcWhereInput
}
export type EmailCcOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type EmailCcCountOrderByAggregateInput = {
id?: Prisma.SortOrder
emailId?: Prisma.SortOrder
toEmail?: Prisma.SortOrder
toName?: Prisma.SortOrder
}
export type EmailCcMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
emailId?: Prisma.SortOrder
toEmail?: Prisma.SortOrder
toName?: Prisma.SortOrder
}
export type EmailCcMinOrderByAggregateInput = {
id?: Prisma.SortOrder
emailId?: Prisma.SortOrder
toEmail?: Prisma.SortOrder
toName?: Prisma.SortOrder
}
export type EmailCcCreateNestedManyWithoutEmailInput = {
create?: Prisma.XOR<Prisma.EmailCcCreateWithoutEmailInput, Prisma.EmailCcUncheckedCreateWithoutEmailInput> | Prisma.EmailCcCreateWithoutEmailInput[] | Prisma.EmailCcUncheckedCreateWithoutEmailInput[]
connectOrCreate?: Prisma.EmailCcCreateOrConnectWithoutEmailInput | Prisma.EmailCcCreateOrConnectWithoutEmailInput[]
createMany?: Prisma.EmailCcCreateManyEmailInputEnvelope
connect?: Prisma.EmailCcWhereUniqueInput | Prisma.EmailCcWhereUniqueInput[]
}
export type EmailCcUncheckedCreateNestedManyWithoutEmailInput = {
create?: Prisma.XOR<Prisma.EmailCcCreateWithoutEmailInput, Prisma.EmailCcUncheckedCreateWithoutEmailInput> | Prisma.EmailCcCreateWithoutEmailInput[] | Prisma.EmailCcUncheckedCreateWithoutEmailInput[]
connectOrCreate?: Prisma.EmailCcCreateOrConnectWithoutEmailInput | Prisma.EmailCcCreateOrConnectWithoutEmailInput[]
createMany?: Prisma.EmailCcCreateManyEmailInputEnvelope
connect?: Prisma.EmailCcWhereUniqueInput | Prisma.EmailCcWhereUniqueInput[]
}
export type EmailCcUpdateManyWithoutEmailNestedInput = {
create?: Prisma.XOR<Prisma.EmailCcCreateWithoutEmailInput, Prisma.EmailCcUncheckedCreateWithoutEmailInput> | Prisma.EmailCcCreateWithoutEmailInput[] | Prisma.EmailCcUncheckedCreateWithoutEmailInput[]
connectOrCreate?: Prisma.EmailCcCreateOrConnectWithoutEmailInput | Prisma.EmailCcCreateOrConnectWithoutEmailInput[]
upsert?: Prisma.EmailCcUpsertWithWhereUniqueWithoutEmailInput | Prisma.EmailCcUpsertWithWhereUniqueWithoutEmailInput[]
createMany?: Prisma.EmailCcCreateManyEmailInputEnvelope
set?: Prisma.EmailCcWhereUniqueInput | Prisma.EmailCcWhereUniqueInput[]
disconnect?: Prisma.EmailCcWhereUniqueInput | Prisma.EmailCcWhereUniqueInput[]
delete?: Prisma.EmailCcWhereUniqueInput | Prisma.EmailCcWhereUniqueInput[]
connect?: Prisma.EmailCcWhereUniqueInput | Prisma.EmailCcWhereUniqueInput[]
update?: Prisma.EmailCcUpdateWithWhereUniqueWithoutEmailInput | Prisma.EmailCcUpdateWithWhereUniqueWithoutEmailInput[]
updateMany?: Prisma.EmailCcUpdateManyWithWhereWithoutEmailInput | Prisma.EmailCcUpdateManyWithWhereWithoutEmailInput[]
deleteMany?: Prisma.EmailCcScalarWhereInput | Prisma.EmailCcScalarWhereInput[]
}
export type EmailCcUncheckedUpdateManyWithoutEmailNestedInput = {
create?: Prisma.XOR<Prisma.EmailCcCreateWithoutEmailInput, Prisma.EmailCcUncheckedCreateWithoutEmailInput> | Prisma.EmailCcCreateWithoutEmailInput[] | Prisma.EmailCcUncheckedCreateWithoutEmailInput[]
connectOrCreate?: Prisma.EmailCcCreateOrConnectWithoutEmailInput | Prisma.EmailCcCreateOrConnectWithoutEmailInput[]
upsert?: Prisma.EmailCcUpsertWithWhereUniqueWithoutEmailInput | Prisma.EmailCcUpsertWithWhereUniqueWithoutEmailInput[]
createMany?: Prisma.EmailCcCreateManyEmailInputEnvelope
set?: Prisma.EmailCcWhereUniqueInput | Prisma.EmailCcWhereUniqueInput[]
disconnect?: Prisma.EmailCcWhereUniqueInput | Prisma.EmailCcWhereUniqueInput[]
delete?: Prisma.EmailCcWhereUniqueInput | Prisma.EmailCcWhereUniqueInput[]
connect?: Prisma.EmailCcWhereUniqueInput | Prisma.EmailCcWhereUniqueInput[]
update?: Prisma.EmailCcUpdateWithWhereUniqueWithoutEmailInput | Prisma.EmailCcUpdateWithWhereUniqueWithoutEmailInput[]
updateMany?: Prisma.EmailCcUpdateManyWithWhereWithoutEmailInput | Prisma.EmailCcUpdateManyWithWhereWithoutEmailInput[]
deleteMany?: Prisma.EmailCcScalarWhereInput | Prisma.EmailCcScalarWhereInput[]
}
export type EmailCcCreateWithoutEmailInput = {
id?: string
toEmail: string
toName?: string | null
}
export type EmailCcUncheckedCreateWithoutEmailInput = {
id?: string
toEmail: string
toName?: string | null
}
export type EmailCcCreateOrConnectWithoutEmailInput = {
where: Prisma.EmailCcWhereUniqueInput
create: Prisma.XOR<Prisma.EmailCcCreateWithoutEmailInput, Prisma.EmailCcUncheckedCreateWithoutEmailInput>
}
export type EmailCcCreateManyEmailInputEnvelope = {
data: Prisma.EmailCcCreateManyEmailInput | Prisma.EmailCcCreateManyEmailInput[]
skipDuplicates?: boolean
}
export type EmailCcUpsertWithWhereUniqueWithoutEmailInput = {
where: Prisma.EmailCcWhereUniqueInput
update: Prisma.XOR<Prisma.EmailCcUpdateWithoutEmailInput, Prisma.EmailCcUncheckedUpdateWithoutEmailInput>
create: Prisma.XOR<Prisma.EmailCcCreateWithoutEmailInput, Prisma.EmailCcUncheckedCreateWithoutEmailInput>
}
export type EmailCcUpdateWithWhereUniqueWithoutEmailInput = {
where: Prisma.EmailCcWhereUniqueInput
data: Prisma.XOR<Prisma.EmailCcUpdateWithoutEmailInput, Prisma.EmailCcUncheckedUpdateWithoutEmailInput>
}
export type EmailCcUpdateManyWithWhereWithoutEmailInput = {
where: Prisma.EmailCcScalarWhereInput
data: Prisma.XOR<Prisma.EmailCcUpdateManyMutationInput, Prisma.EmailCcUncheckedUpdateManyWithoutEmailInput>
}
export type EmailCcScalarWhereInput = {
AND?: Prisma.EmailCcScalarWhereInput | Prisma.EmailCcScalarWhereInput[]
OR?: Prisma.EmailCcScalarWhereInput[]
NOT?: Prisma.EmailCcScalarWhereInput | Prisma.EmailCcScalarWhereInput[]
id?: Prisma.StringFilter<"EmailCc"> | string
emailId?: Prisma.StringFilter<"EmailCc"> | string
toEmail?: Prisma.StringFilter<"EmailCc"> | string
toName?: Prisma.StringNullableFilter<"EmailCc"> | string | null
}
export type EmailCcCreateManyEmailInput = {
id?: string
toEmail: string
toName?: string | null
}
export type EmailCcUpdateWithoutEmailInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
toEmail?: Prisma.StringFieldUpdateOperationsInput | string
toName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type EmailCcUncheckedUpdateWithoutEmailInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
toEmail?: Prisma.StringFieldUpdateOperationsInput | string
toName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type EmailCcUncheckedUpdateManyWithoutEmailInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
toEmail?: Prisma.StringFieldUpdateOperationsInput | string
toName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type EmailCcSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
emailId?: boolean
toEmail?: boolean
toName?: boolean
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
}, ExtArgs["result"]["emailCc"]>
export type EmailCcSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
emailId?: boolean
toEmail?: boolean
toName?: boolean
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
}, ExtArgs["result"]["emailCc"]>
export type EmailCcSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
emailId?: boolean
toEmail?: boolean
toName?: boolean
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
}, ExtArgs["result"]["emailCc"]>
export type EmailCcSelectScalar = {
id?: boolean
emailId?: boolean
toEmail?: boolean
toName?: boolean
}
export type EmailCcOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "emailId" | "toEmail" | "toName", ExtArgs["result"]["emailCc"]>
export type EmailCcInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
}
export type EmailCcIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
}
export type EmailCcIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
email?: boolean | Prisma.EmailDefaultArgs<ExtArgs>
}
export type $EmailCcPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "EmailCc"
objects: {
email: Prisma.$EmailPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
emailId: string
toEmail: string
toName: string | null
}, ExtArgs["result"]["emailCc"]>
composites: {}
}
export type EmailCcGetPayload<S extends boolean | null | undefined | EmailCcDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EmailCcPayload, S>
export type EmailCcCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<EmailCcFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: EmailCcCountAggregateInputType | true
}
export interface EmailCcDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EmailCc'], meta: { name: 'EmailCc' } }
/**
* Find zero or one EmailCc that matches the filter.
* @param {EmailCcFindUniqueArgs} args - Arguments to find a EmailCc
* @example
* // Get one EmailCc
* const emailCc = await prisma.emailCc.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends EmailCcFindUniqueArgs>(args: Prisma.SelectSubset<T, EmailCcFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EmailCcClient<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one EmailCc that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {EmailCcFindUniqueOrThrowArgs} args - Arguments to find a EmailCc
* @example
* // Get one EmailCc
* const emailCc = await prisma.emailCc.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends EmailCcFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EmailCcFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmailCcClient<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first EmailCc 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 {EmailCcFindFirstArgs} args - Arguments to find a EmailCc
* @example
* // Get one EmailCc
* const emailCc = await prisma.emailCc.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends EmailCcFindFirstArgs>(args?: Prisma.SelectSubset<T, EmailCcFindFirstArgs<ExtArgs>>): Prisma.Prisma__EmailCcClient<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first EmailCc 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 {EmailCcFindFirstOrThrowArgs} args - Arguments to find a EmailCc
* @example
* // Get one EmailCc
* const emailCc = await prisma.emailCc.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends EmailCcFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EmailCcFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmailCcClient<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more EmailCcs 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 {EmailCcFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all EmailCcs
* const emailCcs = await prisma.emailCc.findMany()
*
* // Get first 10 EmailCcs
* const emailCcs = await prisma.emailCc.findMany({ take: 10 })
*
* // Only select the `id`
* const emailCcWithIdOnly = await prisma.emailCc.findMany({ select: { id: true } })
*
*/
findMany<T extends EmailCcFindManyArgs>(args?: Prisma.SelectSubset<T, EmailCcFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a EmailCc.
* @param {EmailCcCreateArgs} args - Arguments to create a EmailCc.
* @example
* // Create one EmailCc
* const EmailCc = await prisma.emailCc.create({
* data: {
* // ... data to create a EmailCc
* }
* })
*
*/
create<T extends EmailCcCreateArgs>(args: Prisma.SelectSubset<T, EmailCcCreateArgs<ExtArgs>>): Prisma.Prisma__EmailCcClient<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many EmailCcs.
* @param {EmailCcCreateManyArgs} args - Arguments to create many EmailCcs.
* @example
* // Create many EmailCcs
* const emailCc = await prisma.emailCc.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends EmailCcCreateManyArgs>(args?: Prisma.SelectSubset<T, EmailCcCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many EmailCcs and returns the data saved in the database.
* @param {EmailCcCreateManyAndReturnArgs} args - Arguments to create many EmailCcs.
* @example
* // Create many EmailCcs
* const emailCc = await prisma.emailCc.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many EmailCcs and only return the `id`
* const emailCcWithIdOnly = await prisma.emailCc.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 EmailCcCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EmailCcCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a EmailCc.
* @param {EmailCcDeleteArgs} args - Arguments to delete one EmailCc.
* @example
* // Delete one EmailCc
* const EmailCc = await prisma.emailCc.delete({
* where: {
* // ... filter to delete one EmailCc
* }
* })
*
*/
delete<T extends EmailCcDeleteArgs>(args: Prisma.SelectSubset<T, EmailCcDeleteArgs<ExtArgs>>): Prisma.Prisma__EmailCcClient<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one EmailCc.
* @param {EmailCcUpdateArgs} args - Arguments to update one EmailCc.
* @example
* // Update one EmailCc
* const emailCc = await prisma.emailCc.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends EmailCcUpdateArgs>(args: Prisma.SelectSubset<T, EmailCcUpdateArgs<ExtArgs>>): Prisma.Prisma__EmailCcClient<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more EmailCcs.
* @param {EmailCcDeleteManyArgs} args - Arguments to filter EmailCcs to delete.
* @example
* // Delete a few EmailCcs
* const { count } = await prisma.emailCc.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends EmailCcDeleteManyArgs>(args?: Prisma.SelectSubset<T, EmailCcDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more EmailCcs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmailCcUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many EmailCcs
* const emailCc = await prisma.emailCc.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends EmailCcUpdateManyArgs>(args: Prisma.SelectSubset<T, EmailCcUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more EmailCcs and returns the data updated in the database.
* @param {EmailCcUpdateManyAndReturnArgs} args - Arguments to update many EmailCcs.
* @example
* // Update many EmailCcs
* const emailCc = await prisma.emailCc.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more EmailCcs and only return the `id`
* const emailCcWithIdOnly = await prisma.emailCc.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 EmailCcUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EmailCcUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one EmailCc.
* @param {EmailCcUpsertArgs} args - Arguments to update or create a EmailCc.
* @example
* // Update or create a EmailCc
* const emailCc = await prisma.emailCc.upsert({
* create: {
* // ... data to create a EmailCc
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the EmailCc we want to update
* }
* })
*/
upsert<T extends EmailCcUpsertArgs>(args: Prisma.SelectSubset<T, EmailCcUpsertArgs<ExtArgs>>): Prisma.Prisma__EmailCcClient<runtime.Types.Result.GetResult<Prisma.$EmailCcPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of EmailCcs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmailCcCountArgs} args - Arguments to filter EmailCcs to count.
* @example
* // Count the number of EmailCcs
* const count = await prisma.emailCc.count({
* where: {
* // ... the filter for the EmailCcs we want to count
* }
* })
**/
count<T extends EmailCcCountArgs>(
args?: Prisma.Subset<T, EmailCcCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], EmailCcCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a EmailCc.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmailCcAggregateArgs} 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 EmailCcAggregateArgs>(args: Prisma.Subset<T, EmailCcAggregateArgs>): Prisma.PrismaPromise<GetEmailCcAggregateType<T>>
/**
* Group by EmailCc.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmailCcGroupByArgs} 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 EmailCcGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: EmailCcGroupByArgs['orderBy'] }
: { orderBy?: EmailCcGroupByArgs['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, EmailCcGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEmailCcGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the EmailCc model
*/
readonly fields: EmailCcFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for EmailCc.
* 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__EmailCcClient<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>
/**
* 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 EmailCc model
*/
export interface EmailCcFieldRefs {
readonly id: Prisma.FieldRef<"EmailCc", 'String'>
readonly emailId: Prisma.FieldRef<"EmailCc", 'String'>
readonly toEmail: Prisma.FieldRef<"EmailCc", 'String'>
readonly toName: Prisma.FieldRef<"EmailCc", 'String'>
}
// Custom InputTypes
/**
* EmailCc findUnique
*/
export type EmailCcFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcInclude<ExtArgs> | null
/**
* Filter, which EmailCc to fetch.
*/
where: Prisma.EmailCcWhereUniqueInput
}
/**
* EmailCc findUniqueOrThrow
*/
export type EmailCcFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcInclude<ExtArgs> | null
/**
* Filter, which EmailCc to fetch.
*/
where: Prisma.EmailCcWhereUniqueInput
}
/**
* EmailCc findFirst
*/
export type EmailCcFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcInclude<ExtArgs> | null
/**
* Filter, which EmailCc to fetch.
*/
where?: Prisma.EmailCcWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmailCcs to fetch.
*/
orderBy?: Prisma.EmailCcOrderByWithRelationInput | Prisma.EmailCcOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for EmailCcs.
*/
cursor?: Prisma.EmailCcWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmailCcs 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` EmailCcs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of EmailCcs.
*/
distinct?: Prisma.EmailCcScalarFieldEnum | Prisma.EmailCcScalarFieldEnum[]
}
/**
* EmailCc findFirstOrThrow
*/
export type EmailCcFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcInclude<ExtArgs> | null
/**
* Filter, which EmailCc to fetch.
*/
where?: Prisma.EmailCcWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmailCcs to fetch.
*/
orderBy?: Prisma.EmailCcOrderByWithRelationInput | Prisma.EmailCcOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for EmailCcs.
*/
cursor?: Prisma.EmailCcWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmailCcs 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` EmailCcs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of EmailCcs.
*/
distinct?: Prisma.EmailCcScalarFieldEnum | Prisma.EmailCcScalarFieldEnum[]
}
/**
* EmailCc findMany
*/
export type EmailCcFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcInclude<ExtArgs> | null
/**
* Filter, which EmailCcs to fetch.
*/
where?: Prisma.EmailCcWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmailCcs to fetch.
*/
orderBy?: Prisma.EmailCcOrderByWithRelationInput | Prisma.EmailCcOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing EmailCcs.
*/
cursor?: Prisma.EmailCcWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmailCcs 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` EmailCcs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of EmailCcs.
*/
distinct?: Prisma.EmailCcScalarFieldEnum | Prisma.EmailCcScalarFieldEnum[]
}
/**
* EmailCc create
*/
export type EmailCcCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcInclude<ExtArgs> | null
/**
* The data needed to create a EmailCc.
*/
data: Prisma.XOR<Prisma.EmailCcCreateInput, Prisma.EmailCcUncheckedCreateInput>
}
/**
* EmailCc createMany
*/
export type EmailCcCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many EmailCcs.
*/
data: Prisma.EmailCcCreateManyInput | Prisma.EmailCcCreateManyInput[]
skipDuplicates?: boolean
}
/**
* EmailCc createManyAndReturn
*/
export type EmailCcCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* The data used to create many EmailCcs.
*/
data: Prisma.EmailCcCreateManyInput | Prisma.EmailCcCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* EmailCc update
*/
export type EmailCcUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcInclude<ExtArgs> | null
/**
* The data needed to update a EmailCc.
*/
data: Prisma.XOR<Prisma.EmailCcUpdateInput, Prisma.EmailCcUncheckedUpdateInput>
/**
* Choose, which EmailCc to update.
*/
where: Prisma.EmailCcWhereUniqueInput
}
/**
* EmailCc updateMany
*/
export type EmailCcUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update EmailCcs.
*/
data: Prisma.XOR<Prisma.EmailCcUpdateManyMutationInput, Prisma.EmailCcUncheckedUpdateManyInput>
/**
* Filter which EmailCcs to update
*/
where?: Prisma.EmailCcWhereInput
/**
* Limit how many EmailCcs to update.
*/
limit?: number
}
/**
* EmailCc updateManyAndReturn
*/
export type EmailCcUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* The data used to update EmailCcs.
*/
data: Prisma.XOR<Prisma.EmailCcUpdateManyMutationInput, Prisma.EmailCcUncheckedUpdateManyInput>
/**
* Filter which EmailCcs to update
*/
where?: Prisma.EmailCcWhereInput
/**
* Limit how many EmailCcs to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* EmailCc upsert
*/
export type EmailCcUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcInclude<ExtArgs> | null
/**
* The filter to search for the EmailCc to update in case it exists.
*/
where: Prisma.EmailCcWhereUniqueInput
/**
* In case the EmailCc found by the `where` argument doesn't exist, create a new EmailCc with this data.
*/
create: Prisma.XOR<Prisma.EmailCcCreateInput, Prisma.EmailCcUncheckedCreateInput>
/**
* In case the EmailCc was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.EmailCcUpdateInput, Prisma.EmailCcUncheckedUpdateInput>
}
/**
* EmailCc delete
*/
export type EmailCcDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcInclude<ExtArgs> | null
/**
* Filter which EmailCc to delete.
*/
where: Prisma.EmailCcWhereUniqueInput
}
/**
* EmailCc deleteMany
*/
export type EmailCcDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which EmailCcs to delete
*/
where?: Prisma.EmailCcWhereInput
/**
* Limit how many EmailCcs to delete.
*/
limit?: number
}
/**
* EmailCc without action
*/
export type EmailCcDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailCc
*/
select?: Prisma.EmailCcSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailCc
*/
omit?: Prisma.EmailCcOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailCcInclude<ExtArgs> | null
}