4630 lines
236 KiB
TypeScript
4630 lines
236 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 `AdminEmailMessage` 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 AdminEmailMessage
|
|
*
|
|
*/
|
|
export type AdminEmailMessageModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminEmailMessagePayload>
|
|
|
|
export type AggregateAdminEmailMessage = {
|
|
_count: AdminEmailMessageCountAggregateOutputType | null
|
|
_min: AdminEmailMessageMinAggregateOutputType | null
|
|
_max: AdminEmailMessageMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminEmailMessageMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
adminUserId: string | null
|
|
mailboxId: string | null
|
|
threadId: string | null
|
|
providerMessageId: string | null
|
|
internetMessageId: string | null
|
|
direction: $Enums.AdminEmailDirection | null
|
|
fromAddress: string | null
|
|
subject: string | null
|
|
snippet: string | null
|
|
bodyHtml: string | null
|
|
bodyText: string | null
|
|
sentAt: Date | null
|
|
receivedAt: Date | null
|
|
isRead: boolean | null
|
|
isNewsletter: boolean | null
|
|
matchStatus: $Enums.AdminEmailMatchStatus | null
|
|
matchedContactId: string | null
|
|
matchedLeadId: string | null
|
|
matchedDealId: string | null
|
|
matchedAt: Date | null
|
|
matchedByAdminUserId: string | null
|
|
matchingReason: string | null
|
|
}
|
|
|
|
export type AdminEmailMessageMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
adminUserId: string | null
|
|
mailboxId: string | null
|
|
threadId: string | null
|
|
providerMessageId: string | null
|
|
internetMessageId: string | null
|
|
direction: $Enums.AdminEmailDirection | null
|
|
fromAddress: string | null
|
|
subject: string | null
|
|
snippet: string | null
|
|
bodyHtml: string | null
|
|
bodyText: string | null
|
|
sentAt: Date | null
|
|
receivedAt: Date | null
|
|
isRead: boolean | null
|
|
isNewsletter: boolean | null
|
|
matchStatus: $Enums.AdminEmailMatchStatus | null
|
|
matchedContactId: string | null
|
|
matchedLeadId: string | null
|
|
matchedDealId: string | null
|
|
matchedAt: Date | null
|
|
matchedByAdminUserId: string | null
|
|
matchingReason: string | null
|
|
}
|
|
|
|
export type AdminEmailMessageCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
adminUserId: number
|
|
mailboxId: number
|
|
threadId: number
|
|
providerMessageId: number
|
|
internetMessageId: number
|
|
direction: number
|
|
fromAddress: number
|
|
subject: number
|
|
snippet: number
|
|
bodyHtml: number
|
|
bodyText: number
|
|
sentAt: number
|
|
receivedAt: number
|
|
isRead: number
|
|
isNewsletter: number
|
|
providerLabels: number
|
|
matchStatus: number
|
|
matchedContactId: number
|
|
matchedLeadId: number
|
|
matchedDealId: number
|
|
matchedAt: number
|
|
matchedByAdminUserId: number
|
|
matchingReason: number
|
|
matchingCandidates: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminEmailMessageMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
adminUserId?: true
|
|
mailboxId?: true
|
|
threadId?: true
|
|
providerMessageId?: true
|
|
internetMessageId?: true
|
|
direction?: true
|
|
fromAddress?: true
|
|
subject?: true
|
|
snippet?: true
|
|
bodyHtml?: true
|
|
bodyText?: true
|
|
sentAt?: true
|
|
receivedAt?: true
|
|
isRead?: true
|
|
isNewsletter?: true
|
|
matchStatus?: true
|
|
matchedContactId?: true
|
|
matchedLeadId?: true
|
|
matchedDealId?: true
|
|
matchedAt?: true
|
|
matchedByAdminUserId?: true
|
|
matchingReason?: true
|
|
}
|
|
|
|
export type AdminEmailMessageMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
adminUserId?: true
|
|
mailboxId?: true
|
|
threadId?: true
|
|
providerMessageId?: true
|
|
internetMessageId?: true
|
|
direction?: true
|
|
fromAddress?: true
|
|
subject?: true
|
|
snippet?: true
|
|
bodyHtml?: true
|
|
bodyText?: true
|
|
sentAt?: true
|
|
receivedAt?: true
|
|
isRead?: true
|
|
isNewsletter?: true
|
|
matchStatus?: true
|
|
matchedContactId?: true
|
|
matchedLeadId?: true
|
|
matchedDealId?: true
|
|
matchedAt?: true
|
|
matchedByAdminUserId?: true
|
|
matchingReason?: true
|
|
}
|
|
|
|
export type AdminEmailMessageCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
adminUserId?: true
|
|
mailboxId?: true
|
|
threadId?: true
|
|
providerMessageId?: true
|
|
internetMessageId?: true
|
|
direction?: true
|
|
fromAddress?: true
|
|
subject?: true
|
|
snippet?: true
|
|
bodyHtml?: true
|
|
bodyText?: true
|
|
sentAt?: true
|
|
receivedAt?: true
|
|
isRead?: true
|
|
isNewsletter?: true
|
|
providerLabels?: true
|
|
matchStatus?: true
|
|
matchedContactId?: true
|
|
matchedLeadId?: true
|
|
matchedDealId?: true
|
|
matchedAt?: true
|
|
matchedByAdminUserId?: true
|
|
matchingReason?: true
|
|
matchingCandidates?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminEmailMessageAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminEmailMessage to aggregate.
|
|
*/
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminEmailMessages to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminEmailMessageOrderByWithRelationInput | Prisma.AdminEmailMessageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminEmailMessages 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` AdminEmailMessages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminEmailMessages
|
|
**/
|
|
_count?: true | AdminEmailMessageCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminEmailMessageMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminEmailMessageMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminEmailMessageAggregateType<T extends AdminEmailMessageAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminEmailMessage]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminEmailMessage[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminEmailMessage[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminEmailMessageGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
orderBy?: Prisma.AdminEmailMessageOrderByWithAggregationInput | Prisma.AdminEmailMessageOrderByWithAggregationInput[]
|
|
by: Prisma.AdminEmailMessageScalarFieldEnum[] | Prisma.AdminEmailMessageScalarFieldEnum
|
|
having?: Prisma.AdminEmailMessageScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminEmailMessageCountAggregateInputType | true
|
|
_min?: AdminEmailMessageMinAggregateInputType
|
|
_max?: AdminEmailMessageMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminEmailMessageGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject: string | null
|
|
snippet: string | null
|
|
bodyHtml: string | null
|
|
bodyText: string | null
|
|
sentAt: Date
|
|
receivedAt: Date | null
|
|
isRead: boolean
|
|
isNewsletter: boolean
|
|
providerLabels: string[]
|
|
matchStatus: $Enums.AdminEmailMatchStatus
|
|
matchedContactId: string | null
|
|
matchedLeadId: string | null
|
|
matchedDealId: string | null
|
|
matchedAt: Date | null
|
|
matchedByAdminUserId: string | null
|
|
matchingReason: string | null
|
|
matchingCandidates: runtime.JsonValue | null
|
|
_count: AdminEmailMessageCountAggregateOutputType | null
|
|
_min: AdminEmailMessageMinAggregateOutputType | null
|
|
_max: AdminEmailMessageMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminEmailMessageGroupByPayload<T extends AdminEmailMessageGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminEmailMessageGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminEmailMessageGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminEmailMessageGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminEmailMessageGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminEmailMessageWhereInput = {
|
|
AND?: Prisma.AdminEmailMessageWhereInput | Prisma.AdminEmailMessageWhereInput[]
|
|
OR?: Prisma.AdminEmailMessageWhereInput[]
|
|
NOT?: Prisma.AdminEmailMessageWhereInput | Prisma.AdminEmailMessageWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminEmailMessage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminEmailMessage"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
mailboxId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
threadId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
providerMessageId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
internetMessageId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFilter<"AdminEmailMessage"> | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
subject?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
snippet?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
bodyHtml?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
bodyText?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
sentAt?: Prisma.DateTimeFilter<"AdminEmailMessage"> | Date | string
|
|
receivedAt?: Prisma.DateTimeNullableFilter<"AdminEmailMessage"> | Date | string | null
|
|
isRead?: Prisma.BoolFilter<"AdminEmailMessage"> | boolean
|
|
isNewsletter?: Prisma.BoolFilter<"AdminEmailMessage"> | boolean
|
|
providerLabels?: Prisma.StringNullableListFilter<"AdminEmailMessage">
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFilter<"AdminEmailMessage"> | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchedLeadId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchedDealId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchedAt?: Prisma.DateTimeNullableFilter<"AdminEmailMessage"> | Date | string | null
|
|
matchedByAdminUserId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchingReason?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchingCandidates?: Prisma.JsonNullableFilter<"AdminEmailMessage">
|
|
mailbox?: Prisma.XOR<Prisma.AdminMailboxScalarRelationFilter, Prisma.AdminMailboxWhereInput>
|
|
thread?: Prisma.XOR<Prisma.AdminEmailThreadScalarRelationFilter, Prisma.AdminEmailThreadWhereInput>
|
|
matchedContact?: Prisma.XOR<Prisma.AdminContactNullableScalarRelationFilter, Prisma.AdminContactWhereInput> | null
|
|
matchedLead?: Prisma.XOR<Prisma.AdminLeadNullableScalarRelationFilter, Prisma.AdminLeadWhereInput> | null
|
|
matchedDeal?: Prisma.XOR<Prisma.AdminDealNullableScalarRelationFilter, Prisma.AdminDealWhereInput> | null
|
|
participants?: Prisma.AdminEmailParticipantListRelationFilter
|
|
attachments?: Prisma.AdminEmailAttachmentListRelationFilter
|
|
events?: Prisma.AdminEmailEventListRelationFilter
|
|
links?: Prisma.AdminEmailLinkListRelationFilter
|
|
activities?: Prisma.AdminActivityListRelationFilter
|
|
reminders?: Prisma.AdminNoReplyReminderListRelationFilter
|
|
}
|
|
|
|
export type AdminEmailMessageOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
mailboxId?: Prisma.SortOrder
|
|
threadId?: Prisma.SortOrder
|
|
providerMessageId?: Prisma.SortOrder
|
|
internetMessageId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
direction?: Prisma.SortOrder
|
|
fromAddress?: Prisma.SortOrder
|
|
subject?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
snippet?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
bodyHtml?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
bodyText?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
sentAt?: Prisma.SortOrder
|
|
receivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isRead?: Prisma.SortOrder
|
|
isNewsletter?: Prisma.SortOrder
|
|
providerLabels?: Prisma.SortOrder
|
|
matchStatus?: Prisma.SortOrder
|
|
matchedContactId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchedLeadId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchedDealId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchedByAdminUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchingReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchingCandidates?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
mailbox?: Prisma.AdminMailboxOrderByWithRelationInput
|
|
thread?: Prisma.AdminEmailThreadOrderByWithRelationInput
|
|
matchedContact?: Prisma.AdminContactOrderByWithRelationInput
|
|
matchedLead?: Prisma.AdminLeadOrderByWithRelationInput
|
|
matchedDeal?: Prisma.AdminDealOrderByWithRelationInput
|
|
participants?: Prisma.AdminEmailParticipantOrderByRelationAggregateInput
|
|
attachments?: Prisma.AdminEmailAttachmentOrderByRelationAggregateInput
|
|
events?: Prisma.AdminEmailEventOrderByRelationAggregateInput
|
|
links?: Prisma.AdminEmailLinkOrderByRelationAggregateInput
|
|
activities?: Prisma.AdminActivityOrderByRelationAggregateInput
|
|
reminders?: Prisma.AdminNoReplyReminderOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type AdminEmailMessageWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
admin_email_message_provider_key?: Prisma.AdminEmailMessageAdmin_email_message_provider_keyCompoundUniqueInput
|
|
AND?: Prisma.AdminEmailMessageWhereInput | Prisma.AdminEmailMessageWhereInput[]
|
|
OR?: Prisma.AdminEmailMessageWhereInput[]
|
|
NOT?: Prisma.AdminEmailMessageWhereInput | Prisma.AdminEmailMessageWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminEmailMessage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminEmailMessage"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
mailboxId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
threadId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
providerMessageId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
internetMessageId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFilter<"AdminEmailMessage"> | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
subject?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
snippet?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
bodyHtml?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
bodyText?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
sentAt?: Prisma.DateTimeFilter<"AdminEmailMessage"> | Date | string
|
|
receivedAt?: Prisma.DateTimeNullableFilter<"AdminEmailMessage"> | Date | string | null
|
|
isRead?: Prisma.BoolFilter<"AdminEmailMessage"> | boolean
|
|
isNewsletter?: Prisma.BoolFilter<"AdminEmailMessage"> | boolean
|
|
providerLabels?: Prisma.StringNullableListFilter<"AdminEmailMessage">
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFilter<"AdminEmailMessage"> | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchedLeadId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchedDealId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchedAt?: Prisma.DateTimeNullableFilter<"AdminEmailMessage"> | Date | string | null
|
|
matchedByAdminUserId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchingReason?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchingCandidates?: Prisma.JsonNullableFilter<"AdminEmailMessage">
|
|
mailbox?: Prisma.XOR<Prisma.AdminMailboxScalarRelationFilter, Prisma.AdminMailboxWhereInput>
|
|
thread?: Prisma.XOR<Prisma.AdminEmailThreadScalarRelationFilter, Prisma.AdminEmailThreadWhereInput>
|
|
matchedContact?: Prisma.XOR<Prisma.AdminContactNullableScalarRelationFilter, Prisma.AdminContactWhereInput> | null
|
|
matchedLead?: Prisma.XOR<Prisma.AdminLeadNullableScalarRelationFilter, Prisma.AdminLeadWhereInput> | null
|
|
matchedDeal?: Prisma.XOR<Prisma.AdminDealNullableScalarRelationFilter, Prisma.AdminDealWhereInput> | null
|
|
participants?: Prisma.AdminEmailParticipantListRelationFilter
|
|
attachments?: Prisma.AdminEmailAttachmentListRelationFilter
|
|
events?: Prisma.AdminEmailEventListRelationFilter
|
|
links?: Prisma.AdminEmailLinkListRelationFilter
|
|
activities?: Prisma.AdminActivityListRelationFilter
|
|
reminders?: Prisma.AdminNoReplyReminderListRelationFilter
|
|
}, "id" | "admin_email_message_provider_key">
|
|
|
|
export type AdminEmailMessageOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
mailboxId?: Prisma.SortOrder
|
|
threadId?: Prisma.SortOrder
|
|
providerMessageId?: Prisma.SortOrder
|
|
internetMessageId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
direction?: Prisma.SortOrder
|
|
fromAddress?: Prisma.SortOrder
|
|
subject?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
snippet?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
bodyHtml?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
bodyText?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
sentAt?: Prisma.SortOrder
|
|
receivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isRead?: Prisma.SortOrder
|
|
isNewsletter?: Prisma.SortOrder
|
|
providerLabels?: Prisma.SortOrder
|
|
matchStatus?: Prisma.SortOrder
|
|
matchedContactId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchedLeadId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchedDealId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchedByAdminUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchingReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchingCandidates?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.AdminEmailMessageCountOrderByAggregateInput
|
|
_max?: Prisma.AdminEmailMessageMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminEmailMessageMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminEmailMessageScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminEmailMessageScalarWhereWithAggregatesInput | Prisma.AdminEmailMessageScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminEmailMessageScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminEmailMessageScalarWhereWithAggregatesInput | Prisma.AdminEmailMessageScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminEmailMessage"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminEmailMessage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminEmailMessage"> | Date | string
|
|
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminEmailMessage"> | string
|
|
mailboxId?: Prisma.StringWithAggregatesFilter<"AdminEmailMessage"> | string
|
|
threadId?: Prisma.StringWithAggregatesFilter<"AdminEmailMessage"> | string
|
|
providerMessageId?: Prisma.StringWithAggregatesFilter<"AdminEmailMessage"> | string
|
|
internetMessageId?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailMessage"> | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionWithAggregatesFilter<"AdminEmailMessage"> | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringWithAggregatesFilter<"AdminEmailMessage"> | string
|
|
subject?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailMessage"> | string | null
|
|
snippet?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailMessage"> | string | null
|
|
bodyHtml?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailMessage"> | string | null
|
|
bodyText?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailMessage"> | string | null
|
|
sentAt?: Prisma.DateTimeWithAggregatesFilter<"AdminEmailMessage"> | Date | string
|
|
receivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminEmailMessage"> | Date | string | null
|
|
isRead?: Prisma.BoolWithAggregatesFilter<"AdminEmailMessage"> | boolean
|
|
isNewsletter?: Prisma.BoolWithAggregatesFilter<"AdminEmailMessage"> | boolean
|
|
providerLabels?: Prisma.StringNullableListFilter<"AdminEmailMessage">
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusWithAggregatesFilter<"AdminEmailMessage"> | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailMessage"> | string | null
|
|
matchedLeadId?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailMessage"> | string | null
|
|
matchedDealId?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailMessage"> | string | null
|
|
matchedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminEmailMessage"> | Date | string | null
|
|
matchedByAdminUserId?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailMessage"> | string | null
|
|
matchingReason?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailMessage"> | string | null
|
|
matchingCandidates?: Prisma.JsonNullableWithAggregatesFilter<"AdminEmailMessage">
|
|
}
|
|
|
|
export type AdminEmailMessageCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageListRelationFilter = {
|
|
every?: Prisma.AdminEmailMessageWhereInput
|
|
some?: Prisma.AdminEmailMessageWhereInput
|
|
none?: Prisma.AdminEmailMessageWhereInput
|
|
}
|
|
|
|
export type AdminEmailMessageOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminEmailMessageAdmin_email_message_provider_keyCompoundUniqueInput = {
|
|
mailboxId: string
|
|
providerMessageId: string
|
|
}
|
|
|
|
export type AdminEmailMessageCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
mailboxId?: Prisma.SortOrder
|
|
threadId?: Prisma.SortOrder
|
|
providerMessageId?: Prisma.SortOrder
|
|
internetMessageId?: Prisma.SortOrder
|
|
direction?: Prisma.SortOrder
|
|
fromAddress?: Prisma.SortOrder
|
|
subject?: Prisma.SortOrder
|
|
snippet?: Prisma.SortOrder
|
|
bodyHtml?: Prisma.SortOrder
|
|
bodyText?: Prisma.SortOrder
|
|
sentAt?: Prisma.SortOrder
|
|
receivedAt?: Prisma.SortOrder
|
|
isRead?: Prisma.SortOrder
|
|
isNewsletter?: Prisma.SortOrder
|
|
providerLabels?: Prisma.SortOrder
|
|
matchStatus?: Prisma.SortOrder
|
|
matchedContactId?: Prisma.SortOrder
|
|
matchedLeadId?: Prisma.SortOrder
|
|
matchedDealId?: Prisma.SortOrder
|
|
matchedAt?: Prisma.SortOrder
|
|
matchedByAdminUserId?: Prisma.SortOrder
|
|
matchingReason?: Prisma.SortOrder
|
|
matchingCandidates?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminEmailMessageMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
mailboxId?: Prisma.SortOrder
|
|
threadId?: Prisma.SortOrder
|
|
providerMessageId?: Prisma.SortOrder
|
|
internetMessageId?: Prisma.SortOrder
|
|
direction?: Prisma.SortOrder
|
|
fromAddress?: Prisma.SortOrder
|
|
subject?: Prisma.SortOrder
|
|
snippet?: Prisma.SortOrder
|
|
bodyHtml?: Prisma.SortOrder
|
|
bodyText?: Prisma.SortOrder
|
|
sentAt?: Prisma.SortOrder
|
|
receivedAt?: Prisma.SortOrder
|
|
isRead?: Prisma.SortOrder
|
|
isNewsletter?: Prisma.SortOrder
|
|
matchStatus?: Prisma.SortOrder
|
|
matchedContactId?: Prisma.SortOrder
|
|
matchedLeadId?: Prisma.SortOrder
|
|
matchedDealId?: Prisma.SortOrder
|
|
matchedAt?: Prisma.SortOrder
|
|
matchedByAdminUserId?: Prisma.SortOrder
|
|
matchingReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminEmailMessageMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
mailboxId?: Prisma.SortOrder
|
|
threadId?: Prisma.SortOrder
|
|
providerMessageId?: Prisma.SortOrder
|
|
internetMessageId?: Prisma.SortOrder
|
|
direction?: Prisma.SortOrder
|
|
fromAddress?: Prisma.SortOrder
|
|
subject?: Prisma.SortOrder
|
|
snippet?: Prisma.SortOrder
|
|
bodyHtml?: Prisma.SortOrder
|
|
bodyText?: Prisma.SortOrder
|
|
sentAt?: Prisma.SortOrder
|
|
receivedAt?: Prisma.SortOrder
|
|
isRead?: Prisma.SortOrder
|
|
isNewsletter?: Prisma.SortOrder
|
|
matchStatus?: Prisma.SortOrder
|
|
matchedContactId?: Prisma.SortOrder
|
|
matchedLeadId?: Prisma.SortOrder
|
|
matchedDealId?: Prisma.SortOrder
|
|
matchedAt?: Prisma.SortOrder
|
|
matchedByAdminUserId?: Prisma.SortOrder
|
|
matchingReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminEmailMessageScalarRelationFilter = {
|
|
is?: Prisma.AdminEmailMessageWhereInput
|
|
isNot?: Prisma.AdminEmailMessageWhereInput
|
|
}
|
|
|
|
export type AdminEmailMessageNullableScalarRelationFilter = {
|
|
is?: Prisma.AdminEmailMessageWhereInput | null
|
|
isNot?: Prisma.AdminEmailMessageWhereInput | null
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedManyWithoutMailboxInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMailboxInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMailboxInput> | Prisma.AdminEmailMessageCreateWithoutMailboxInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMailboxInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMailboxInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMailboxInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMailboxInputEnvelope
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateNestedManyWithoutMailboxInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMailboxInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMailboxInput> | Prisma.AdminEmailMessageCreateWithoutMailboxInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMailboxInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMailboxInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMailboxInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMailboxInputEnvelope
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyWithoutMailboxNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMailboxInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMailboxInput> | Prisma.AdminEmailMessageCreateWithoutMailboxInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMailboxInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMailboxInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMailboxInput[]
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMailboxInput | Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMailboxInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMailboxInputEnvelope
|
|
set?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMailboxInput | Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMailboxInput[]
|
|
updateMany?: Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMailboxInput | Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMailboxInput[]
|
|
deleteMany?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyWithoutMailboxNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMailboxInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMailboxInput> | Prisma.AdminEmailMessageCreateWithoutMailboxInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMailboxInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMailboxInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMailboxInput[]
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMailboxInput | Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMailboxInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMailboxInputEnvelope
|
|
set?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMailboxInput | Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMailboxInput[]
|
|
updateMany?: Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMailboxInput | Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMailboxInput[]
|
|
deleteMany?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedManyWithoutThreadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutThreadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutThreadInput> | Prisma.AdminEmailMessageCreateWithoutThreadInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutThreadInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutThreadInput | Prisma.AdminEmailMessageCreateOrConnectWithoutThreadInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyThreadInputEnvelope
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateNestedManyWithoutThreadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutThreadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutThreadInput> | Prisma.AdminEmailMessageCreateWithoutThreadInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutThreadInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutThreadInput | Prisma.AdminEmailMessageCreateOrConnectWithoutThreadInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyThreadInputEnvelope
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyWithoutThreadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutThreadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutThreadInput> | Prisma.AdminEmailMessageCreateWithoutThreadInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutThreadInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutThreadInput | Prisma.AdminEmailMessageCreateOrConnectWithoutThreadInput[]
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutThreadInput | Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutThreadInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyThreadInputEnvelope
|
|
set?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutThreadInput | Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutThreadInput[]
|
|
updateMany?: Prisma.AdminEmailMessageUpdateManyWithWhereWithoutThreadInput | Prisma.AdminEmailMessageUpdateManyWithWhereWithoutThreadInput[]
|
|
deleteMany?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyWithoutThreadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutThreadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutThreadInput> | Prisma.AdminEmailMessageCreateWithoutThreadInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutThreadInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutThreadInput | Prisma.AdminEmailMessageCreateOrConnectWithoutThreadInput[]
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutThreadInput | Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutThreadInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyThreadInputEnvelope
|
|
set?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutThreadInput | Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutThreadInput[]
|
|
updateMany?: Prisma.AdminEmailMessageUpdateManyWithWhereWithoutThreadInput | Prisma.AdminEmailMessageUpdateManyWithWhereWithoutThreadInput[]
|
|
deleteMany?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageCreateproviderLabelsInput = {
|
|
set: string[]
|
|
}
|
|
|
|
export type EnumAdminEmailDirectionFieldUpdateOperationsInput = {
|
|
set?: $Enums.AdminEmailDirection
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateproviderLabelsInput = {
|
|
set?: string[]
|
|
push?: string | string[]
|
|
}
|
|
|
|
export type EnumAdminEmailMatchStatusFieldUpdateOperationsInput = {
|
|
set?: $Enums.AdminEmailMatchStatus
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedOneWithoutParticipantsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutParticipantsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutParticipantsInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutParticipantsInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateOneRequiredWithoutParticipantsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutParticipantsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutParticipantsInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutParticipantsInput
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithoutParticipantsInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminEmailMessageUpdateToOneWithWhereWithoutParticipantsInput, Prisma.AdminEmailMessageUpdateWithoutParticipantsInput>, Prisma.AdminEmailMessageUncheckedUpdateWithoutParticipantsInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedOneWithoutAttachmentsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutAttachmentsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutAttachmentsInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutAttachmentsInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateOneRequiredWithoutAttachmentsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutAttachmentsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutAttachmentsInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutAttachmentsInput
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithoutAttachmentsInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminEmailMessageUpdateToOneWithWhereWithoutAttachmentsInput, Prisma.AdminEmailMessageUpdateWithoutAttachmentsInput>, Prisma.AdminEmailMessageUncheckedUpdateWithoutAttachmentsInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedOneWithoutEventsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutEventsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutEventsInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutEventsInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateOneRequiredWithoutEventsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutEventsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutEventsInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutEventsInput
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithoutEventsInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminEmailMessageUpdateToOneWithWhereWithoutEventsInput, Prisma.AdminEmailMessageUpdateWithoutEventsInput>, Prisma.AdminEmailMessageUncheckedUpdateWithoutEventsInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedOneWithoutLinksInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutLinksInput, Prisma.AdminEmailMessageUncheckedCreateWithoutLinksInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutLinksInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateOneRequiredWithoutLinksNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutLinksInput, Prisma.AdminEmailMessageUncheckedCreateWithoutLinksInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutLinksInput
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithoutLinksInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminEmailMessageUpdateToOneWithWhereWithoutLinksInput, Prisma.AdminEmailMessageUpdateWithoutLinksInput>, Prisma.AdminEmailMessageUncheckedUpdateWithoutLinksInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedOneWithoutRemindersInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutRemindersInput, Prisma.AdminEmailMessageUncheckedCreateWithoutRemindersInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutRemindersInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateOneRequiredWithoutRemindersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutRemindersInput, Prisma.AdminEmailMessageUncheckedCreateWithoutRemindersInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutRemindersInput
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithoutRemindersInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminEmailMessageUpdateToOneWithWhereWithoutRemindersInput, Prisma.AdminEmailMessageUpdateWithoutRemindersInput>, Prisma.AdminEmailMessageUncheckedUpdateWithoutRemindersInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedManyWithoutMatchedLeadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedLeadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput> | Prisma.AdminEmailMessageCreateWithoutMatchedLeadInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedLeadInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedLeadInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedLeadInputEnvelope
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateNestedManyWithoutMatchedLeadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedLeadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput> | Prisma.AdminEmailMessageCreateWithoutMatchedLeadInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedLeadInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedLeadInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedLeadInputEnvelope
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyWithoutMatchedLeadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedLeadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput> | Prisma.AdminEmailMessageCreateWithoutMatchedLeadInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedLeadInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedLeadInput[]
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedLeadInput | Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedLeadInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedLeadInputEnvelope
|
|
set?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedLeadInput | Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedLeadInput[]
|
|
updateMany?: Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedLeadInput | Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedLeadInput[]
|
|
deleteMany?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyWithoutMatchedLeadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedLeadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput> | Prisma.AdminEmailMessageCreateWithoutMatchedLeadInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedLeadInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedLeadInput[]
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedLeadInput | Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedLeadInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedLeadInputEnvelope
|
|
set?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedLeadInput | Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedLeadInput[]
|
|
updateMany?: Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedLeadInput | Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedLeadInput[]
|
|
deleteMany?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedManyWithoutMatchedContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedContactInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedContactInput> | Prisma.AdminEmailMessageCreateWithoutMatchedContactInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedContactInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedContactInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedContactInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedContactInputEnvelope
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateNestedManyWithoutMatchedContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedContactInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedContactInput> | Prisma.AdminEmailMessageCreateWithoutMatchedContactInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedContactInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedContactInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedContactInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedContactInputEnvelope
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyWithoutMatchedContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedContactInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedContactInput> | Prisma.AdminEmailMessageCreateWithoutMatchedContactInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedContactInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedContactInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedContactInput[]
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedContactInput | Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedContactInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedContactInputEnvelope
|
|
set?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedContactInput | Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedContactInput[]
|
|
updateMany?: Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedContactInput | Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedContactInput[]
|
|
deleteMany?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyWithoutMatchedContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedContactInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedContactInput> | Prisma.AdminEmailMessageCreateWithoutMatchedContactInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedContactInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedContactInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedContactInput[]
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedContactInput | Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedContactInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedContactInputEnvelope
|
|
set?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedContactInput | Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedContactInput[]
|
|
updateMany?: Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedContactInput | Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedContactInput[]
|
|
deleteMany?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedManyWithoutMatchedDealInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedDealInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedDealInput> | Prisma.AdminEmailMessageCreateWithoutMatchedDealInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedDealInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedDealInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedDealInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedDealInputEnvelope
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateNestedManyWithoutMatchedDealInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedDealInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedDealInput> | Prisma.AdminEmailMessageCreateWithoutMatchedDealInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedDealInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedDealInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedDealInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedDealInputEnvelope
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyWithoutMatchedDealNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedDealInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedDealInput> | Prisma.AdminEmailMessageCreateWithoutMatchedDealInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedDealInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedDealInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedDealInput[]
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedDealInput | Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedDealInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedDealInputEnvelope
|
|
set?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedDealInput | Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedDealInput[]
|
|
updateMany?: Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedDealInput | Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedDealInput[]
|
|
deleteMany?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyWithoutMatchedDealNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedDealInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedDealInput> | Prisma.AdminEmailMessageCreateWithoutMatchedDealInput[] | Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedDealInput[]
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedDealInput | Prisma.AdminEmailMessageCreateOrConnectWithoutMatchedDealInput[]
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedDealInput | Prisma.AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedDealInput[]
|
|
createMany?: Prisma.AdminEmailMessageCreateManyMatchedDealInputEnvelope
|
|
set?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput | Prisma.AdminEmailMessageWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedDealInput | Prisma.AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedDealInput[]
|
|
updateMany?: Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedDealInput | Prisma.AdminEmailMessageUpdateManyWithWhereWithoutMatchedDealInput[]
|
|
deleteMany?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailMessageCreateNestedOneWithoutActivitiesInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutActivitiesInput, Prisma.AdminEmailMessageUncheckedCreateWithoutActivitiesInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutActivitiesInput
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateOneWithoutActivitiesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutActivitiesInput, Prisma.AdminEmailMessageUncheckedCreateWithoutActivitiesInput>
|
|
connectOrCreate?: Prisma.AdminEmailMessageCreateOrConnectWithoutActivitiesInput
|
|
upsert?: Prisma.AdminEmailMessageUpsertWithoutActivitiesInput
|
|
disconnect?: Prisma.AdminEmailMessageWhereInput | boolean
|
|
delete?: Prisma.AdminEmailMessageWhereInput | boolean
|
|
connect?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminEmailMessageUpdateToOneWithWhereWithoutActivitiesInput, Prisma.AdminEmailMessageUpdateWithoutActivitiesInput>, Prisma.AdminEmailMessageUncheckedUpdateWithoutActivitiesInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutMailboxInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutMailboxInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutMailboxInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMailboxInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMailboxInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyMailboxInputEnvelope = {
|
|
data: Prisma.AdminEmailMessageCreateManyMailboxInput | Prisma.AdminEmailMessageCreateManyMailboxInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithWhereUniqueWithoutMailboxInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutMailboxInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutMailboxInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMailboxInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMailboxInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithWhereUniqueWithoutMailboxInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutMailboxInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutMailboxInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyWithWhereWithoutMailboxInput = {
|
|
where: Prisma.AdminEmailMessageScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateManyMutationInput, Prisma.AdminEmailMessageUncheckedUpdateManyWithoutMailboxInput>
|
|
}
|
|
|
|
export type AdminEmailMessageScalarWhereInput = {
|
|
AND?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
OR?: Prisma.AdminEmailMessageScalarWhereInput[]
|
|
NOT?: Prisma.AdminEmailMessageScalarWhereInput | Prisma.AdminEmailMessageScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminEmailMessage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminEmailMessage"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
mailboxId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
threadId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
providerMessageId?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
internetMessageId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFilter<"AdminEmailMessage"> | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFilter<"AdminEmailMessage"> | string
|
|
subject?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
snippet?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
bodyHtml?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
bodyText?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
sentAt?: Prisma.DateTimeFilter<"AdminEmailMessage"> | Date | string
|
|
receivedAt?: Prisma.DateTimeNullableFilter<"AdminEmailMessage"> | Date | string | null
|
|
isRead?: Prisma.BoolFilter<"AdminEmailMessage"> | boolean
|
|
isNewsletter?: Prisma.BoolFilter<"AdminEmailMessage"> | boolean
|
|
providerLabels?: Prisma.StringNullableListFilter<"AdminEmailMessage">
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFilter<"AdminEmailMessage"> | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchedLeadId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchedDealId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchedAt?: Prisma.DateTimeNullableFilter<"AdminEmailMessage"> | Date | string | null
|
|
matchedByAdminUserId?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchingReason?: Prisma.StringNullableFilter<"AdminEmailMessage"> | string | null
|
|
matchingCandidates?: Prisma.JsonNullableFilter<"AdminEmailMessage">
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutThreadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutThreadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutThreadInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutThreadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutThreadInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyThreadInputEnvelope = {
|
|
data: Prisma.AdminEmailMessageCreateManyThreadInput | Prisma.AdminEmailMessageCreateManyThreadInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithWhereUniqueWithoutThreadInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutThreadInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutThreadInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutThreadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutThreadInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithWhereUniqueWithoutThreadInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutThreadInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutThreadInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyWithWhereWithoutThreadInput = {
|
|
where: Prisma.AdminEmailMessageScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateManyMutationInput, Prisma.AdminEmailMessageUncheckedUpdateManyWithoutThreadInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutParticipantsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutParticipantsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutParticipantsInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutParticipantsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutParticipantsInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithoutParticipantsInput = {
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutParticipantsInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutParticipantsInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutParticipantsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutParticipantsInput>
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateToOneWithWhereWithoutParticipantsInput = {
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutParticipantsInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutParticipantsInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutParticipantsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutParticipantsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutAttachmentsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutAttachmentsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutAttachmentsInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutAttachmentsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutAttachmentsInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithoutAttachmentsInput = {
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutAttachmentsInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutAttachmentsInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutAttachmentsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutAttachmentsInput>
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateToOneWithWhereWithoutAttachmentsInput = {
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutAttachmentsInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutAttachmentsInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutAttachmentsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutAttachmentsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutEventsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutEventsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutEventsInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutEventsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutEventsInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithoutEventsInput = {
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutEventsInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutEventsInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutEventsInput, Prisma.AdminEmailMessageUncheckedCreateWithoutEventsInput>
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateToOneWithWhereWithoutEventsInput = {
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutEventsInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutEventsInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutEventsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutEventsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutLinksInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutLinksInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutLinksInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutLinksInput, Prisma.AdminEmailMessageUncheckedCreateWithoutLinksInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithoutLinksInput = {
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutLinksInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutLinksInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutLinksInput, Prisma.AdminEmailMessageUncheckedCreateWithoutLinksInput>
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateToOneWithWhereWithoutLinksInput = {
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutLinksInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutLinksInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutLinksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutLinksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutRemindersInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutRemindersInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutRemindersInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutRemindersInput, Prisma.AdminEmailMessageUncheckedCreateWithoutRemindersInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithoutRemindersInput = {
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutRemindersInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutRemindersInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutRemindersInput, Prisma.AdminEmailMessageUncheckedCreateWithoutRemindersInput>
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateToOneWithWhereWithoutRemindersInput = {
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutRemindersInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutRemindersInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutRemindersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutRemindersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutMatchedLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutMatchedLeadInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedLeadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyMatchedLeadInputEnvelope = {
|
|
data: Prisma.AdminEmailMessageCreateManyMatchedLeadInput | Prisma.AdminEmailMessageCreateManyMatchedLeadInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedLeadInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutMatchedLeadInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutMatchedLeadInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedLeadInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedLeadInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedLeadInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutMatchedLeadInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutMatchedLeadInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyWithWhereWithoutMatchedLeadInput = {
|
|
where: Prisma.AdminEmailMessageScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateManyMutationInput, Prisma.AdminEmailMessageUncheckedUpdateManyWithoutMatchedLeadInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutMatchedContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutMatchedContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutMatchedContactInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedContactInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedContactInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyMatchedContactInputEnvelope = {
|
|
data: Prisma.AdminEmailMessageCreateManyMatchedContactInput | Prisma.AdminEmailMessageCreateManyMatchedContactInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedContactInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutMatchedContactInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutMatchedContactInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedContactInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedContactInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedContactInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutMatchedContactInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutMatchedContactInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyWithWhereWithoutMatchedContactInput = {
|
|
where: Prisma.AdminEmailMessageScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateManyMutationInput, Prisma.AdminEmailMessageUncheckedUpdateManyWithoutMatchedContactInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutMatchedDealInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutMatchedDealInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutEmailMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutMatchedDealInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedDealInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedDealInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyMatchedDealInputEnvelope = {
|
|
data: Prisma.AdminEmailMessageCreateManyMatchedDealInput | Prisma.AdminEmailMessageCreateManyMatchedDealInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithWhereUniqueWithoutMatchedDealInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutMatchedDealInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutMatchedDealInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutMatchedDealInput, Prisma.AdminEmailMessageUncheckedCreateWithoutMatchedDealInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithWhereUniqueWithoutMatchedDealInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutMatchedDealInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutMatchedDealInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateManyWithWhereWithoutMatchedDealInput = {
|
|
where: Prisma.AdminEmailMessageScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateManyMutationInput, Prisma.AdminEmailMessageUncheckedUpdateManyWithoutMatchedDealInput>
|
|
}
|
|
|
|
export type AdminEmailMessageCreateWithoutActivitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutMessagesInput
|
|
thread: Prisma.AdminEmailThreadCreateNestedOneWithoutMessagesInput
|
|
matchedContact?: Prisma.AdminContactCreateNestedOneWithoutEmailMessagesInput
|
|
matchedLead?: Prisma.AdminLeadCreateNestedOneWithoutEmailMessagesInput
|
|
matchedDeal?: Prisma.AdminDealCreateNestedOneWithoutEmailMessagesInput
|
|
participants?: Prisma.AdminEmailParticipantCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkCreateNestedManyWithoutMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedCreateWithoutActivitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedCreateNestedManyWithoutMessageInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput
|
|
events?: Prisma.AdminEmailEventUncheckedCreateNestedManyWithoutMessageInput
|
|
links?: Prisma.AdminEmailLinkUncheckedCreateNestedManyWithoutMessageInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateOrConnectWithoutActivitiesInput = {
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutActivitiesInput, Prisma.AdminEmailMessageUncheckedCreateWithoutActivitiesInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpsertWithoutActivitiesInput = {
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutActivitiesInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutActivitiesInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateWithoutActivitiesInput, Prisma.AdminEmailMessageUncheckedCreateWithoutActivitiesInput>
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateToOneWithWhereWithoutActivitiesInput = {
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateWithoutActivitiesInput, Prisma.AdminEmailMessageUncheckedUpdateWithoutActivitiesInput>
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutActivitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutActivitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyMailboxInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutMailboxInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutMailboxInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyWithoutMailboxInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyThreadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutThreadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutThreadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyWithoutThreadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyMatchedLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutMatchedLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutMatchedLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyWithoutMatchedLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyMatchedContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedLeadId?: string | null
|
|
matchedDealId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutMatchedContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedDeal?: Prisma.AdminDealUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutMatchedContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyWithoutMatchedContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageCreateManyMatchedDealInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId?: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject?: string | null
|
|
snippet?: string | null
|
|
bodyHtml?: string | null
|
|
bodyText?: string | null
|
|
sentAt: Date | string
|
|
receivedAt?: Date | string | null
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: Prisma.AdminEmailMessageCreateproviderLabelsInput | string[]
|
|
matchStatus?: $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: string | null
|
|
matchedLeadId?: string | null
|
|
matchedAt?: Date | string | null
|
|
matchedByAdminUserId?: string | null
|
|
matchingReason?: string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type AdminEmailMessageUpdateWithoutMatchedDealInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutMessagesNestedInput
|
|
thread?: Prisma.AdminEmailThreadUpdateOneRequiredWithoutMessagesNestedInput
|
|
matchedContact?: Prisma.AdminContactUpdateOneWithoutEmailMessagesNestedInput
|
|
matchedLead?: Prisma.AdminLeadUpdateOneWithoutEmailMessagesNestedInput
|
|
participants?: Prisma.AdminEmailParticipantUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateWithoutMatchedDealInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
participants?: Prisma.AdminEmailParticipantUncheckedUpdateManyWithoutMessageNestedInput
|
|
attachments?: Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput
|
|
events?: Prisma.AdminEmailEventUncheckedUpdateManyWithoutMessageNestedInput
|
|
links?: Prisma.AdminEmailLinkUncheckedUpdateManyWithoutMessageNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutEmailMessageNestedInput
|
|
reminders?: Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput
|
|
}
|
|
|
|
export type AdminEmailMessageUncheckedUpdateManyWithoutMatchedDealInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerMessageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internetMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
direction?: Prisma.EnumAdminEmailDirectionFieldUpdateOperationsInput | $Enums.AdminEmailDirection
|
|
fromAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
snippet?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyHtml?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
receivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isNewsletter?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
providerLabels?: Prisma.AdminEmailMessageUpdateproviderLabelsInput | string[]
|
|
matchStatus?: Prisma.EnumAdminEmailMatchStatusFieldUpdateOperationsInput | $Enums.AdminEmailMatchStatus
|
|
matchedContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
matchedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchingCandidates?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type AdminEmailMessageCountOutputType
|
|
*/
|
|
|
|
export type AdminEmailMessageCountOutputType = {
|
|
participants: number
|
|
attachments: number
|
|
events: number
|
|
links: number
|
|
activities: number
|
|
reminders: number
|
|
}
|
|
|
|
export type AdminEmailMessageCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
participants?: boolean | AdminEmailMessageCountOutputTypeCountParticipantsArgs
|
|
attachments?: boolean | AdminEmailMessageCountOutputTypeCountAttachmentsArgs
|
|
events?: boolean | AdminEmailMessageCountOutputTypeCountEventsArgs
|
|
links?: boolean | AdminEmailMessageCountOutputTypeCountLinksArgs
|
|
activities?: boolean | AdminEmailMessageCountOutputTypeCountActivitiesArgs
|
|
reminders?: boolean | AdminEmailMessageCountOutputTypeCountRemindersArgs
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessageCountOutputType without action
|
|
*/
|
|
export type AdminEmailMessageCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessageCountOutputType
|
|
*/
|
|
select?: Prisma.AdminEmailMessageCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessageCountOutputType without action
|
|
*/
|
|
export type AdminEmailMessageCountOutputTypeCountParticipantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminEmailParticipantWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessageCountOutputType without action
|
|
*/
|
|
export type AdminEmailMessageCountOutputTypeCountAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminEmailAttachmentWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessageCountOutputType without action
|
|
*/
|
|
export type AdminEmailMessageCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminEmailEventWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessageCountOutputType without action
|
|
*/
|
|
export type AdminEmailMessageCountOutputTypeCountLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminEmailLinkWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessageCountOutputType without action
|
|
*/
|
|
export type AdminEmailMessageCountOutputTypeCountActivitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminActivityWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessageCountOutputType without action
|
|
*/
|
|
export type AdminEmailMessageCountOutputTypeCountRemindersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminNoReplyReminderWhereInput
|
|
}
|
|
|
|
|
|
export type AdminEmailMessageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
mailboxId?: boolean
|
|
threadId?: boolean
|
|
providerMessageId?: boolean
|
|
internetMessageId?: boolean
|
|
direction?: boolean
|
|
fromAddress?: boolean
|
|
subject?: boolean
|
|
snippet?: boolean
|
|
bodyHtml?: boolean
|
|
bodyText?: boolean
|
|
sentAt?: boolean
|
|
receivedAt?: boolean
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: boolean
|
|
matchStatus?: boolean
|
|
matchedContactId?: boolean
|
|
matchedLeadId?: boolean
|
|
matchedDealId?: boolean
|
|
matchedAt?: boolean
|
|
matchedByAdminUserId?: boolean
|
|
matchingReason?: boolean
|
|
matchingCandidates?: boolean
|
|
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
|
|
thread?: boolean | Prisma.AdminEmailThreadDefaultArgs<ExtArgs>
|
|
matchedContact?: boolean | Prisma.AdminEmailMessage$matchedContactArgs<ExtArgs>
|
|
matchedLead?: boolean | Prisma.AdminEmailMessage$matchedLeadArgs<ExtArgs>
|
|
matchedDeal?: boolean | Prisma.AdminEmailMessage$matchedDealArgs<ExtArgs>
|
|
participants?: boolean | Prisma.AdminEmailMessage$participantsArgs<ExtArgs>
|
|
attachments?: boolean | Prisma.AdminEmailMessage$attachmentsArgs<ExtArgs>
|
|
events?: boolean | Prisma.AdminEmailMessage$eventsArgs<ExtArgs>
|
|
links?: boolean | Prisma.AdminEmailMessage$linksArgs<ExtArgs>
|
|
activities?: boolean | Prisma.AdminEmailMessage$activitiesArgs<ExtArgs>
|
|
reminders?: boolean | Prisma.AdminEmailMessage$remindersArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminEmailMessageCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminEmailMessage"]>
|
|
|
|
export type AdminEmailMessageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
mailboxId?: boolean
|
|
threadId?: boolean
|
|
providerMessageId?: boolean
|
|
internetMessageId?: boolean
|
|
direction?: boolean
|
|
fromAddress?: boolean
|
|
subject?: boolean
|
|
snippet?: boolean
|
|
bodyHtml?: boolean
|
|
bodyText?: boolean
|
|
sentAt?: boolean
|
|
receivedAt?: boolean
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: boolean
|
|
matchStatus?: boolean
|
|
matchedContactId?: boolean
|
|
matchedLeadId?: boolean
|
|
matchedDealId?: boolean
|
|
matchedAt?: boolean
|
|
matchedByAdminUserId?: boolean
|
|
matchingReason?: boolean
|
|
matchingCandidates?: boolean
|
|
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
|
|
thread?: boolean | Prisma.AdminEmailThreadDefaultArgs<ExtArgs>
|
|
matchedContact?: boolean | Prisma.AdminEmailMessage$matchedContactArgs<ExtArgs>
|
|
matchedLead?: boolean | Prisma.AdminEmailMessage$matchedLeadArgs<ExtArgs>
|
|
matchedDeal?: boolean | Prisma.AdminEmailMessage$matchedDealArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminEmailMessage"]>
|
|
|
|
export type AdminEmailMessageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
mailboxId?: boolean
|
|
threadId?: boolean
|
|
providerMessageId?: boolean
|
|
internetMessageId?: boolean
|
|
direction?: boolean
|
|
fromAddress?: boolean
|
|
subject?: boolean
|
|
snippet?: boolean
|
|
bodyHtml?: boolean
|
|
bodyText?: boolean
|
|
sentAt?: boolean
|
|
receivedAt?: boolean
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: boolean
|
|
matchStatus?: boolean
|
|
matchedContactId?: boolean
|
|
matchedLeadId?: boolean
|
|
matchedDealId?: boolean
|
|
matchedAt?: boolean
|
|
matchedByAdminUserId?: boolean
|
|
matchingReason?: boolean
|
|
matchingCandidates?: boolean
|
|
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
|
|
thread?: boolean | Prisma.AdminEmailThreadDefaultArgs<ExtArgs>
|
|
matchedContact?: boolean | Prisma.AdminEmailMessage$matchedContactArgs<ExtArgs>
|
|
matchedLead?: boolean | Prisma.AdminEmailMessage$matchedLeadArgs<ExtArgs>
|
|
matchedDeal?: boolean | Prisma.AdminEmailMessage$matchedDealArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminEmailMessage"]>
|
|
|
|
export type AdminEmailMessageSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
mailboxId?: boolean
|
|
threadId?: boolean
|
|
providerMessageId?: boolean
|
|
internetMessageId?: boolean
|
|
direction?: boolean
|
|
fromAddress?: boolean
|
|
subject?: boolean
|
|
snippet?: boolean
|
|
bodyHtml?: boolean
|
|
bodyText?: boolean
|
|
sentAt?: boolean
|
|
receivedAt?: boolean
|
|
isRead?: boolean
|
|
isNewsletter?: boolean
|
|
providerLabels?: boolean
|
|
matchStatus?: boolean
|
|
matchedContactId?: boolean
|
|
matchedLeadId?: boolean
|
|
matchedDealId?: boolean
|
|
matchedAt?: boolean
|
|
matchedByAdminUserId?: boolean
|
|
matchingReason?: boolean
|
|
matchingCandidates?: boolean
|
|
}
|
|
|
|
export type AdminEmailMessageOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "adminUserId" | "mailboxId" | "threadId" | "providerMessageId" | "internetMessageId" | "direction" | "fromAddress" | "subject" | "snippet" | "bodyHtml" | "bodyText" | "sentAt" | "receivedAt" | "isRead" | "isNewsletter" | "providerLabels" | "matchStatus" | "matchedContactId" | "matchedLeadId" | "matchedDealId" | "matchedAt" | "matchedByAdminUserId" | "matchingReason" | "matchingCandidates", ExtArgs["result"]["adminEmailMessage"]>
|
|
export type AdminEmailMessageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
|
|
thread?: boolean | Prisma.AdminEmailThreadDefaultArgs<ExtArgs>
|
|
matchedContact?: boolean | Prisma.AdminEmailMessage$matchedContactArgs<ExtArgs>
|
|
matchedLead?: boolean | Prisma.AdminEmailMessage$matchedLeadArgs<ExtArgs>
|
|
matchedDeal?: boolean | Prisma.AdminEmailMessage$matchedDealArgs<ExtArgs>
|
|
participants?: boolean | Prisma.AdminEmailMessage$participantsArgs<ExtArgs>
|
|
attachments?: boolean | Prisma.AdminEmailMessage$attachmentsArgs<ExtArgs>
|
|
events?: boolean | Prisma.AdminEmailMessage$eventsArgs<ExtArgs>
|
|
links?: boolean | Prisma.AdminEmailMessage$linksArgs<ExtArgs>
|
|
activities?: boolean | Prisma.AdminEmailMessage$activitiesArgs<ExtArgs>
|
|
reminders?: boolean | Prisma.AdminEmailMessage$remindersArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminEmailMessageCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminEmailMessageIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
|
|
thread?: boolean | Prisma.AdminEmailThreadDefaultArgs<ExtArgs>
|
|
matchedContact?: boolean | Prisma.AdminEmailMessage$matchedContactArgs<ExtArgs>
|
|
matchedLead?: boolean | Prisma.AdminEmailMessage$matchedLeadArgs<ExtArgs>
|
|
matchedDeal?: boolean | Prisma.AdminEmailMessage$matchedDealArgs<ExtArgs>
|
|
}
|
|
export type AdminEmailMessageIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
|
|
thread?: boolean | Prisma.AdminEmailThreadDefaultArgs<ExtArgs>
|
|
matchedContact?: boolean | Prisma.AdminEmailMessage$matchedContactArgs<ExtArgs>
|
|
matchedLead?: boolean | Prisma.AdminEmailMessage$matchedLeadArgs<ExtArgs>
|
|
matchedDeal?: boolean | Prisma.AdminEmailMessage$matchedDealArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AdminEmailMessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminEmailMessage"
|
|
objects: {
|
|
mailbox: Prisma.$AdminMailboxPayload<ExtArgs>
|
|
thread: Prisma.$AdminEmailThreadPayload<ExtArgs>
|
|
matchedContact: Prisma.$AdminContactPayload<ExtArgs> | null
|
|
matchedLead: Prisma.$AdminLeadPayload<ExtArgs> | null
|
|
matchedDeal: Prisma.$AdminDealPayload<ExtArgs> | null
|
|
participants: Prisma.$AdminEmailParticipantPayload<ExtArgs>[]
|
|
attachments: Prisma.$AdminEmailAttachmentPayload<ExtArgs>[]
|
|
events: Prisma.$AdminEmailEventPayload<ExtArgs>[]
|
|
links: Prisma.$AdminEmailLinkPayload<ExtArgs>[]
|
|
activities: Prisma.$AdminActivityPayload<ExtArgs>[]
|
|
reminders: Prisma.$AdminNoReplyReminderPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
adminUserId: string
|
|
mailboxId: string
|
|
threadId: string
|
|
providerMessageId: string
|
|
internetMessageId: string | null
|
|
direction: $Enums.AdminEmailDirection
|
|
fromAddress: string
|
|
subject: string | null
|
|
snippet: string | null
|
|
bodyHtml: string | null
|
|
bodyText: string | null
|
|
sentAt: Date
|
|
receivedAt: Date | null
|
|
isRead: boolean
|
|
isNewsletter: boolean
|
|
providerLabels: string[]
|
|
matchStatus: $Enums.AdminEmailMatchStatus
|
|
matchedContactId: string | null
|
|
matchedLeadId: string | null
|
|
matchedDealId: string | null
|
|
matchedAt: Date | null
|
|
matchedByAdminUserId: string | null
|
|
matchingReason: string | null
|
|
matchingCandidates: runtime.JsonValue | null
|
|
}, ExtArgs["result"]["adminEmailMessage"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminEmailMessageGetPayload<S extends boolean | null | undefined | AdminEmailMessageDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload, S>
|
|
|
|
export type AdminEmailMessageCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminEmailMessageFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminEmailMessageCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminEmailMessageDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminEmailMessage'], meta: { name: 'AdminEmailMessage' } }
|
|
/**
|
|
* Find zero or one AdminEmailMessage that matches the filter.
|
|
* @param {AdminEmailMessageFindUniqueArgs} args - Arguments to find a AdminEmailMessage
|
|
* @example
|
|
* // Get one AdminEmailMessage
|
|
* const adminEmailMessage = await prisma.adminEmailMessage.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminEmailMessageFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminEmailMessageFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminEmailMessageClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminEmailMessage that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminEmailMessageFindUniqueOrThrowArgs} args - Arguments to find a AdminEmailMessage
|
|
* @example
|
|
* // Get one AdminEmailMessage
|
|
* const adminEmailMessage = await prisma.adminEmailMessage.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminEmailMessageFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminEmailMessageFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminEmailMessageClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminEmailMessage 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 {AdminEmailMessageFindFirstArgs} args - Arguments to find a AdminEmailMessage
|
|
* @example
|
|
* // Get one AdminEmailMessage
|
|
* const adminEmailMessage = await prisma.adminEmailMessage.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminEmailMessageFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminEmailMessageFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminEmailMessageClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminEmailMessage 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 {AdminEmailMessageFindFirstOrThrowArgs} args - Arguments to find a AdminEmailMessage
|
|
* @example
|
|
* // Get one AdminEmailMessage
|
|
* const adminEmailMessage = await prisma.adminEmailMessage.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminEmailMessageFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminEmailMessageFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminEmailMessageClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminEmailMessages 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 {AdminEmailMessageFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminEmailMessages
|
|
* const adminEmailMessages = await prisma.adminEmailMessage.findMany()
|
|
*
|
|
* // Get first 10 AdminEmailMessages
|
|
* const adminEmailMessages = await prisma.adminEmailMessage.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminEmailMessageWithIdOnly = await prisma.adminEmailMessage.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminEmailMessageFindManyArgs>(args?: Prisma.SelectSubset<T, AdminEmailMessageFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminEmailMessage.
|
|
* @param {AdminEmailMessageCreateArgs} args - Arguments to create a AdminEmailMessage.
|
|
* @example
|
|
* // Create one AdminEmailMessage
|
|
* const AdminEmailMessage = await prisma.adminEmailMessage.create({
|
|
* data: {
|
|
* // ... data to create a AdminEmailMessage
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminEmailMessageCreateArgs>(args: Prisma.SelectSubset<T, AdminEmailMessageCreateArgs<ExtArgs>>): Prisma.Prisma__AdminEmailMessageClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminEmailMessages.
|
|
* @param {AdminEmailMessageCreateManyArgs} args - Arguments to create many AdminEmailMessages.
|
|
* @example
|
|
* // Create many AdminEmailMessages
|
|
* const adminEmailMessage = await prisma.adminEmailMessage.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminEmailMessageCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminEmailMessageCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminEmailMessages and returns the data saved in the database.
|
|
* @param {AdminEmailMessageCreateManyAndReturnArgs} args - Arguments to create many AdminEmailMessages.
|
|
* @example
|
|
* // Create many AdminEmailMessages
|
|
* const adminEmailMessage = await prisma.adminEmailMessage.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminEmailMessages and only return the `id`
|
|
* const adminEmailMessageWithIdOnly = await prisma.adminEmailMessage.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 AdminEmailMessageCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminEmailMessageCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminEmailMessage.
|
|
* @param {AdminEmailMessageDeleteArgs} args - Arguments to delete one AdminEmailMessage.
|
|
* @example
|
|
* // Delete one AdminEmailMessage
|
|
* const AdminEmailMessage = await prisma.adminEmailMessage.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminEmailMessage
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminEmailMessageDeleteArgs>(args: Prisma.SelectSubset<T, AdminEmailMessageDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminEmailMessageClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminEmailMessage.
|
|
* @param {AdminEmailMessageUpdateArgs} args - Arguments to update one AdminEmailMessage.
|
|
* @example
|
|
* // Update one AdminEmailMessage
|
|
* const adminEmailMessage = await prisma.adminEmailMessage.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminEmailMessageUpdateArgs>(args: Prisma.SelectSubset<T, AdminEmailMessageUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminEmailMessageClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminEmailMessages.
|
|
* @param {AdminEmailMessageDeleteManyArgs} args - Arguments to filter AdminEmailMessages to delete.
|
|
* @example
|
|
* // Delete a few AdminEmailMessages
|
|
* const { count } = await prisma.adminEmailMessage.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminEmailMessageDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminEmailMessageDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminEmailMessages.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminEmailMessageUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminEmailMessages
|
|
* const adminEmailMessage = await prisma.adminEmailMessage.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminEmailMessageUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminEmailMessageUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminEmailMessages and returns the data updated in the database.
|
|
* @param {AdminEmailMessageUpdateManyAndReturnArgs} args - Arguments to update many AdminEmailMessages.
|
|
* @example
|
|
* // Update many AdminEmailMessages
|
|
* const adminEmailMessage = await prisma.adminEmailMessage.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminEmailMessages and only return the `id`
|
|
* const adminEmailMessageWithIdOnly = await prisma.adminEmailMessage.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 AdminEmailMessageUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminEmailMessageUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminEmailMessage.
|
|
* @param {AdminEmailMessageUpsertArgs} args - Arguments to update or create a AdminEmailMessage.
|
|
* @example
|
|
* // Update or create a AdminEmailMessage
|
|
* const adminEmailMessage = await prisma.adminEmailMessage.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminEmailMessage
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminEmailMessage we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminEmailMessageUpsertArgs>(args: Prisma.SelectSubset<T, AdminEmailMessageUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminEmailMessageClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminEmailMessages.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminEmailMessageCountArgs} args - Arguments to filter AdminEmailMessages to count.
|
|
* @example
|
|
* // Count the number of AdminEmailMessages
|
|
* const count = await prisma.adminEmailMessage.count({
|
|
* where: {
|
|
* // ... the filter for the AdminEmailMessages we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminEmailMessageCountArgs>(
|
|
args?: Prisma.Subset<T, AdminEmailMessageCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminEmailMessageCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminEmailMessage.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminEmailMessageAggregateArgs} 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 AdminEmailMessageAggregateArgs>(args: Prisma.Subset<T, AdminEmailMessageAggregateArgs>): Prisma.PrismaPromise<GetAdminEmailMessageAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminEmailMessage.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminEmailMessageGroupByArgs} 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 AdminEmailMessageGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminEmailMessageGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminEmailMessageGroupByArgs['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, AdminEmailMessageGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminEmailMessageGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminEmailMessage model
|
|
*/
|
|
readonly fields: AdminEmailMessageFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminEmailMessage.
|
|
* 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__AdminEmailMessageClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
mailbox<T extends Prisma.AdminMailboxDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminMailboxDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
thread<T extends Prisma.AdminEmailThreadDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailThreadDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminEmailThreadClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailThreadPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
matchedContact<T extends Prisma.AdminEmailMessage$matchedContactArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessage$matchedContactArgs<ExtArgs>>): Prisma.Prisma__AdminContactClient<runtime.Types.Result.GetResult<Prisma.$AdminContactPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
matchedLead<T extends Prisma.AdminEmailMessage$matchedLeadArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessage$matchedLeadArgs<ExtArgs>>): Prisma.Prisma__AdminLeadClient<runtime.Types.Result.GetResult<Prisma.$AdminLeadPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
matchedDeal<T extends Prisma.AdminEmailMessage$matchedDealArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessage$matchedDealArgs<ExtArgs>>): Prisma.Prisma__AdminDealClient<runtime.Types.Result.GetResult<Prisma.$AdminDealPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
participants<T extends Prisma.AdminEmailMessage$participantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessage$participantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminEmailParticipantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
attachments<T extends Prisma.AdminEmailMessage$attachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessage$attachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
events<T extends Prisma.AdminEmailMessage$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessage$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminEmailEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
links<T extends Prisma.AdminEmailMessage$linksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessage$linksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminEmailLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
activities<T extends Prisma.AdminEmailMessage$activitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessage$activitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminActivityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
reminders<T extends Prisma.AdminEmailMessage$remindersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessage$remindersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the AdminEmailMessage model
|
|
*/
|
|
export interface AdminEmailMessageFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminEmailMessage", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AdminEmailMessage", 'DateTime'>
|
|
readonly adminUserId: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly mailboxId: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly threadId: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly providerMessageId: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly internetMessageId: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly direction: Prisma.FieldRef<"AdminEmailMessage", 'AdminEmailDirection'>
|
|
readonly fromAddress: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly subject: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly snippet: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly bodyHtml: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly bodyText: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly sentAt: Prisma.FieldRef<"AdminEmailMessage", 'DateTime'>
|
|
readonly receivedAt: Prisma.FieldRef<"AdminEmailMessage", 'DateTime'>
|
|
readonly isRead: Prisma.FieldRef<"AdminEmailMessage", 'Boolean'>
|
|
readonly isNewsletter: Prisma.FieldRef<"AdminEmailMessage", 'Boolean'>
|
|
readonly providerLabels: Prisma.FieldRef<"AdminEmailMessage", 'String[]'>
|
|
readonly matchStatus: Prisma.FieldRef<"AdminEmailMessage", 'AdminEmailMatchStatus'>
|
|
readonly matchedContactId: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly matchedLeadId: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly matchedDealId: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly matchedAt: Prisma.FieldRef<"AdminEmailMessage", 'DateTime'>
|
|
readonly matchedByAdminUserId: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly matchingReason: Prisma.FieldRef<"AdminEmailMessage", 'String'>
|
|
readonly matchingCandidates: Prisma.FieldRef<"AdminEmailMessage", 'Json'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminEmailMessage findUnique
|
|
*/
|
|
export type AdminEmailMessageFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminEmailMessage to fetch.
|
|
*/
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage findUniqueOrThrow
|
|
*/
|
|
export type AdminEmailMessageFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminEmailMessage to fetch.
|
|
*/
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage findFirst
|
|
*/
|
|
export type AdminEmailMessageFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminEmailMessage to fetch.
|
|
*/
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminEmailMessages to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminEmailMessageOrderByWithRelationInput | Prisma.AdminEmailMessageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminEmailMessages.
|
|
*/
|
|
cursor?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminEmailMessages 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` AdminEmailMessages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminEmailMessages.
|
|
*/
|
|
distinct?: Prisma.AdminEmailMessageScalarFieldEnum | Prisma.AdminEmailMessageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage findFirstOrThrow
|
|
*/
|
|
export type AdminEmailMessageFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminEmailMessage to fetch.
|
|
*/
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminEmailMessages to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminEmailMessageOrderByWithRelationInput | Prisma.AdminEmailMessageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminEmailMessages.
|
|
*/
|
|
cursor?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminEmailMessages 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` AdminEmailMessages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminEmailMessages.
|
|
*/
|
|
distinct?: Prisma.AdminEmailMessageScalarFieldEnum | Prisma.AdminEmailMessageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage findMany
|
|
*/
|
|
export type AdminEmailMessageFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminEmailMessages to fetch.
|
|
*/
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminEmailMessages to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminEmailMessageOrderByWithRelationInput | Prisma.AdminEmailMessageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminEmailMessages.
|
|
*/
|
|
cursor?: Prisma.AdminEmailMessageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminEmailMessages 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` AdminEmailMessages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminEmailMessages.
|
|
*/
|
|
distinct?: Prisma.AdminEmailMessageScalarFieldEnum | Prisma.AdminEmailMessageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage create
|
|
*/
|
|
export type AdminEmailMessageCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminEmailMessage.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageCreateInput, Prisma.AdminEmailMessageUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage createMany
|
|
*/
|
|
export type AdminEmailMessageCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminEmailMessages.
|
|
*/
|
|
data: Prisma.AdminEmailMessageCreateManyInput | Prisma.AdminEmailMessageCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage createManyAndReturn
|
|
*/
|
|
export type AdminEmailMessageCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminEmailMessages.
|
|
*/
|
|
data: Prisma.AdminEmailMessageCreateManyInput | Prisma.AdminEmailMessageCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage update
|
|
*/
|
|
export type AdminEmailMessageUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminEmailMessage.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateInput, Prisma.AdminEmailMessageUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminEmailMessage to update.
|
|
*/
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage updateMany
|
|
*/
|
|
export type AdminEmailMessageUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminEmailMessages.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateManyMutationInput, Prisma.AdminEmailMessageUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminEmailMessages to update
|
|
*/
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
/**
|
|
* Limit how many AdminEmailMessages to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage updateManyAndReturn
|
|
*/
|
|
export type AdminEmailMessageUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminEmailMessages.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminEmailMessageUpdateManyMutationInput, Prisma.AdminEmailMessageUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminEmailMessages to update
|
|
*/
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
/**
|
|
* Limit how many AdminEmailMessages to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage upsert
|
|
*/
|
|
export type AdminEmailMessageUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AdminEmailMessage to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
/**
|
|
* In case the AdminEmailMessage found by the `where` argument doesn't exist, create a new AdminEmailMessage with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminEmailMessageCreateInput, Prisma.AdminEmailMessageUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminEmailMessage was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminEmailMessageUpdateInput, Prisma.AdminEmailMessageUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage delete
|
|
*/
|
|
export type AdminEmailMessageDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminEmailMessage to delete.
|
|
*/
|
|
where: Prisma.AdminEmailMessageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage deleteMany
|
|
*/
|
|
export type AdminEmailMessageDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminEmailMessages to delete
|
|
*/
|
|
where?: Prisma.AdminEmailMessageWhereInput
|
|
/**
|
|
* Limit how many AdminEmailMessages to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage.matchedContact
|
|
*/
|
|
export type AdminEmailMessage$matchedContactArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContact
|
|
*/
|
|
select?: Prisma.AdminContactSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContact
|
|
*/
|
|
omit?: Prisma.AdminContactOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactInclude<ExtArgs> | null
|
|
where?: Prisma.AdminContactWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage.matchedLead
|
|
*/
|
|
export type AdminEmailMessage$matchedLeadArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminLead
|
|
*/
|
|
select?: Prisma.AdminLeadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminLead
|
|
*/
|
|
omit?: Prisma.AdminLeadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminLeadInclude<ExtArgs> | null
|
|
where?: Prisma.AdminLeadWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage.matchedDeal
|
|
*/
|
|
export type AdminEmailMessage$matchedDealArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDeal
|
|
*/
|
|
select?: Prisma.AdminDealSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDeal
|
|
*/
|
|
omit?: Prisma.AdminDealOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDealInclude<ExtArgs> | null
|
|
where?: Prisma.AdminDealWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage.participants
|
|
*/
|
|
export type AdminEmailMessage$participantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailParticipant
|
|
*/
|
|
select?: Prisma.AdminEmailParticipantSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailParticipant
|
|
*/
|
|
omit?: Prisma.AdminEmailParticipantOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailParticipantInclude<ExtArgs> | null
|
|
where?: Prisma.AdminEmailParticipantWhereInput
|
|
orderBy?: Prisma.AdminEmailParticipantOrderByWithRelationInput | Prisma.AdminEmailParticipantOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminEmailParticipantWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminEmailParticipantScalarFieldEnum | Prisma.AdminEmailParticipantScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage.attachments
|
|
*/
|
|
export type AdminEmailMessage$attachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
where?: Prisma.AdminEmailAttachmentWhereInput
|
|
orderBy?: Prisma.AdminEmailAttachmentOrderByWithRelationInput | Prisma.AdminEmailAttachmentOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminEmailAttachmentScalarFieldEnum | Prisma.AdminEmailAttachmentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage.events
|
|
*/
|
|
export type AdminEmailMessage$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailEvent
|
|
*/
|
|
select?: Prisma.AdminEmailEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailEvent
|
|
*/
|
|
omit?: Prisma.AdminEmailEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailEventInclude<ExtArgs> | null
|
|
where?: Prisma.AdminEmailEventWhereInput
|
|
orderBy?: Prisma.AdminEmailEventOrderByWithRelationInput | Prisma.AdminEmailEventOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminEmailEventWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminEmailEventScalarFieldEnum | Prisma.AdminEmailEventScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage.links
|
|
*/
|
|
export type AdminEmailMessage$linksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailLink
|
|
*/
|
|
select?: Prisma.AdminEmailLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailLink
|
|
*/
|
|
omit?: Prisma.AdminEmailLinkOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailLinkInclude<ExtArgs> | null
|
|
where?: Prisma.AdminEmailLinkWhereInput
|
|
orderBy?: Prisma.AdminEmailLinkOrderByWithRelationInput | Prisma.AdminEmailLinkOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminEmailLinkWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminEmailLinkScalarFieldEnum | Prisma.AdminEmailLinkScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage.activities
|
|
*/
|
|
export type AdminEmailMessage$activitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminActivity
|
|
*/
|
|
select?: Prisma.AdminActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminActivity
|
|
*/
|
|
omit?: Prisma.AdminActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminActivityInclude<ExtArgs> | null
|
|
where?: Prisma.AdminActivityWhereInput
|
|
orderBy?: Prisma.AdminActivityOrderByWithRelationInput | Prisma.AdminActivityOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminActivityWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminActivityScalarFieldEnum | Prisma.AdminActivityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage.reminders
|
|
*/
|
|
export type AdminEmailMessage$remindersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminNoReplyReminder
|
|
*/
|
|
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminNoReplyReminder
|
|
*/
|
|
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
|
|
where?: Prisma.AdminNoReplyReminderWhereInput
|
|
orderBy?: Prisma.AdminNoReplyReminderOrderByWithRelationInput | Prisma.AdminNoReplyReminderOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminNoReplyReminderWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminNoReplyReminderScalarFieldEnum | Prisma.AdminNoReplyReminderScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailMessage without action
|
|
*/
|
|
export type AdminEmailMessageDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailMessage
|
|
*/
|
|
select?: Prisma.AdminEmailMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailMessage
|
|
*/
|
|
omit?: Prisma.AdminEmailMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailMessageInclude<ExtArgs> | null
|
|
}
|