Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/EmailIntegrationWebhookEvent.ts
T
2026-07-08 16:15:37 +02:00

1515 lines
70 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 `EmailIntegrationWebhookEvent` 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 EmailIntegrationWebhookEvent
* Persisted inbound provider push (idempotency + retry). Append-only; a fast
* 200/202 is returned to the provider and a worker drains `pending` rows.
* Retention: 30 days (failed rows 90 days) via the cleanup cron.
*/
export type EmailIntegrationWebhookEventModel = runtime.Types.Result.DefaultSelection<Prisma.$EmailIntegrationWebhookEventPayload>
export type AggregateEmailIntegrationWebhookEvent = {
_count: EmailIntegrationWebhookEventCountAggregateOutputType | null
_min: EmailIntegrationWebhookEventMinAggregateOutputType | null
_max: EmailIntegrationWebhookEventMaxAggregateOutputType | null
}
export type EmailIntegrationWebhookEventMinAggregateOutputType = {
id: string | null
receivedAt: Date | null
tenantId: string | null
mailboxId: string | null
provider: $Enums.EmailInboxProvider | null
processingStatus: $Enums.EmailWebhookProcessingStatus | null
processingErrorText: string | null
processedAt: Date | null
}
export type EmailIntegrationWebhookEventMaxAggregateOutputType = {
id: string | null
receivedAt: Date | null
tenantId: string | null
mailboxId: string | null
provider: $Enums.EmailInboxProvider | null
processingStatus: $Enums.EmailWebhookProcessingStatus | null
processingErrorText: string | null
processedAt: Date | null
}
export type EmailIntegrationWebhookEventCountAggregateOutputType = {
id: number
receivedAt: number
tenantId: number
mailboxId: number
provider: number
notificationPayload: number
processingStatus: number
processingErrorText: number
processedAt: number
derivedMessageIds: number
_all: number
}
export type EmailIntegrationWebhookEventMinAggregateInputType = {
id?: true
receivedAt?: true
tenantId?: true
mailboxId?: true
provider?: true
processingStatus?: true
processingErrorText?: true
processedAt?: true
}
export type EmailIntegrationWebhookEventMaxAggregateInputType = {
id?: true
receivedAt?: true
tenantId?: true
mailboxId?: true
provider?: true
processingStatus?: true
processingErrorText?: true
processedAt?: true
}
export type EmailIntegrationWebhookEventCountAggregateInputType = {
id?: true
receivedAt?: true
tenantId?: true
mailboxId?: true
provider?: true
notificationPayload?: true
processingStatus?: true
processingErrorText?: true
processedAt?: true
derivedMessageIds?: true
_all?: true
}
export type EmailIntegrationWebhookEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which EmailIntegrationWebhookEvent to aggregate.
*/
where?: Prisma.EmailIntegrationWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmailIntegrationWebhookEvents to fetch.
*/
orderBy?: Prisma.EmailIntegrationWebhookEventOrderByWithRelationInput | Prisma.EmailIntegrationWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmailIntegrationWebhookEvents 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` EmailIntegrationWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned EmailIntegrationWebhookEvents
**/
_count?: true | EmailIntegrationWebhookEventCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: EmailIntegrationWebhookEventMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: EmailIntegrationWebhookEventMaxAggregateInputType
}
export type GetEmailIntegrationWebhookEventAggregateType<T extends EmailIntegrationWebhookEventAggregateArgs> = {
[P in keyof T & keyof AggregateEmailIntegrationWebhookEvent]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateEmailIntegrationWebhookEvent[P]>
: Prisma.GetScalarType<T[P], AggregateEmailIntegrationWebhookEvent[P]>
}
export type EmailIntegrationWebhookEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.EmailIntegrationWebhookEventWhereInput
orderBy?: Prisma.EmailIntegrationWebhookEventOrderByWithAggregationInput | Prisma.EmailIntegrationWebhookEventOrderByWithAggregationInput[]
by: Prisma.EmailIntegrationWebhookEventScalarFieldEnum[] | Prisma.EmailIntegrationWebhookEventScalarFieldEnum
having?: Prisma.EmailIntegrationWebhookEventScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: EmailIntegrationWebhookEventCountAggregateInputType | true
_min?: EmailIntegrationWebhookEventMinAggregateInputType
_max?: EmailIntegrationWebhookEventMaxAggregateInputType
}
export type EmailIntegrationWebhookEventGroupByOutputType = {
id: string
receivedAt: Date
tenantId: string
mailboxId: string
provider: $Enums.EmailInboxProvider
notificationPayload: runtime.JsonValue
processingStatus: $Enums.EmailWebhookProcessingStatus
processingErrorText: string | null
processedAt: Date | null
derivedMessageIds: runtime.JsonValue
_count: EmailIntegrationWebhookEventCountAggregateOutputType | null
_min: EmailIntegrationWebhookEventMinAggregateOutputType | null
_max: EmailIntegrationWebhookEventMaxAggregateOutputType | null
}
export type GetEmailIntegrationWebhookEventGroupByPayload<T extends EmailIntegrationWebhookEventGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<EmailIntegrationWebhookEventGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof EmailIntegrationWebhookEventGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], EmailIntegrationWebhookEventGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], EmailIntegrationWebhookEventGroupByOutputType[P]>
}
>
>
export type EmailIntegrationWebhookEventWhereInput = {
AND?: Prisma.EmailIntegrationWebhookEventWhereInput | Prisma.EmailIntegrationWebhookEventWhereInput[]
OR?: Prisma.EmailIntegrationWebhookEventWhereInput[]
NOT?: Prisma.EmailIntegrationWebhookEventWhereInput | Prisma.EmailIntegrationWebhookEventWhereInput[]
id?: Prisma.StringFilter<"EmailIntegrationWebhookEvent"> | string
receivedAt?: Prisma.DateTimeFilter<"EmailIntegrationWebhookEvent"> | Date | string
tenantId?: Prisma.StringFilter<"EmailIntegrationWebhookEvent"> | string
mailboxId?: Prisma.StringFilter<"EmailIntegrationWebhookEvent"> | string
provider?: Prisma.EnumEmailInboxProviderFilter<"EmailIntegrationWebhookEvent"> | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonFilter<"EmailIntegrationWebhookEvent">
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusFilter<"EmailIntegrationWebhookEvent"> | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.StringNullableFilter<"EmailIntegrationWebhookEvent"> | string | null
processedAt?: Prisma.DateTimeNullableFilter<"EmailIntegrationWebhookEvent"> | Date | string | null
derivedMessageIds?: Prisma.JsonFilter<"EmailIntegrationWebhookEvent">
mailbox?: Prisma.XOR<Prisma.EmailIntegrationMailboxScalarRelationFilter, Prisma.EmailIntegrationMailboxWhereInput>
}
export type EmailIntegrationWebhookEventOrderByWithRelationInput = {
id?: Prisma.SortOrder
receivedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
provider?: Prisma.SortOrder
notificationPayload?: Prisma.SortOrder
processingStatus?: Prisma.SortOrder
processingErrorText?: Prisma.SortOrderInput | Prisma.SortOrder
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder
derivedMessageIds?: Prisma.SortOrder
mailbox?: Prisma.EmailIntegrationMailboxOrderByWithRelationInput
}
export type EmailIntegrationWebhookEventWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.EmailIntegrationWebhookEventWhereInput | Prisma.EmailIntegrationWebhookEventWhereInput[]
OR?: Prisma.EmailIntegrationWebhookEventWhereInput[]
NOT?: Prisma.EmailIntegrationWebhookEventWhereInput | Prisma.EmailIntegrationWebhookEventWhereInput[]
receivedAt?: Prisma.DateTimeFilter<"EmailIntegrationWebhookEvent"> | Date | string
tenantId?: Prisma.StringFilter<"EmailIntegrationWebhookEvent"> | string
mailboxId?: Prisma.StringFilter<"EmailIntegrationWebhookEvent"> | string
provider?: Prisma.EnumEmailInboxProviderFilter<"EmailIntegrationWebhookEvent"> | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonFilter<"EmailIntegrationWebhookEvent">
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusFilter<"EmailIntegrationWebhookEvent"> | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.StringNullableFilter<"EmailIntegrationWebhookEvent"> | string | null
processedAt?: Prisma.DateTimeNullableFilter<"EmailIntegrationWebhookEvent"> | Date | string | null
derivedMessageIds?: Prisma.JsonFilter<"EmailIntegrationWebhookEvent">
mailbox?: Prisma.XOR<Prisma.EmailIntegrationMailboxScalarRelationFilter, Prisma.EmailIntegrationMailboxWhereInput>
}, "id">
export type EmailIntegrationWebhookEventOrderByWithAggregationInput = {
id?: Prisma.SortOrder
receivedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
provider?: Prisma.SortOrder
notificationPayload?: Prisma.SortOrder
processingStatus?: Prisma.SortOrder
processingErrorText?: Prisma.SortOrderInput | Prisma.SortOrder
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder
derivedMessageIds?: Prisma.SortOrder
_count?: Prisma.EmailIntegrationWebhookEventCountOrderByAggregateInput
_max?: Prisma.EmailIntegrationWebhookEventMaxOrderByAggregateInput
_min?: Prisma.EmailIntegrationWebhookEventMinOrderByAggregateInput
}
export type EmailIntegrationWebhookEventScalarWhereWithAggregatesInput = {
AND?: Prisma.EmailIntegrationWebhookEventScalarWhereWithAggregatesInput | Prisma.EmailIntegrationWebhookEventScalarWhereWithAggregatesInput[]
OR?: Prisma.EmailIntegrationWebhookEventScalarWhereWithAggregatesInput[]
NOT?: Prisma.EmailIntegrationWebhookEventScalarWhereWithAggregatesInput | Prisma.EmailIntegrationWebhookEventScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"EmailIntegrationWebhookEvent"> | string
receivedAt?: Prisma.DateTimeWithAggregatesFilter<"EmailIntegrationWebhookEvent"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"EmailIntegrationWebhookEvent"> | string
mailboxId?: Prisma.StringWithAggregatesFilter<"EmailIntegrationWebhookEvent"> | string
provider?: Prisma.EnumEmailInboxProviderWithAggregatesFilter<"EmailIntegrationWebhookEvent"> | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonWithAggregatesFilter<"EmailIntegrationWebhookEvent">
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusWithAggregatesFilter<"EmailIntegrationWebhookEvent"> | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.StringNullableWithAggregatesFilter<"EmailIntegrationWebhookEvent"> | string | null
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EmailIntegrationWebhookEvent"> | Date | string | null
derivedMessageIds?: Prisma.JsonWithAggregatesFilter<"EmailIntegrationWebhookEvent">
}
export type EmailIntegrationWebhookEventCreateInput = {
id?: string
receivedAt?: Date | string
tenantId: string
provider: $Enums.EmailInboxProvider
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.EmailWebhookProcessingStatus
processingErrorText?: string | null
processedAt?: Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
mailbox: Prisma.EmailIntegrationMailboxCreateNestedOneWithoutWebhookEventsInput
}
export type EmailIntegrationWebhookEventUncheckedCreateInput = {
id?: string
receivedAt?: Date | string
tenantId: string
mailboxId: string
provider: $Enums.EmailInboxProvider
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.EmailWebhookProcessingStatus
processingErrorText?: string | null
processedAt?: Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
provider?: Prisma.EnumEmailInboxProviderFieldUpdateOperationsInput | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
mailbox?: Prisma.EmailIntegrationMailboxUpdateOneRequiredWithoutWebhookEventsNestedInput
}
export type EmailIntegrationWebhookEventUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
provider?: Prisma.EnumEmailInboxProviderFieldUpdateOperationsInput | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventCreateManyInput = {
id?: string
receivedAt?: Date | string
tenantId: string
mailboxId: string
provider: $Enums.EmailInboxProvider
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.EmailWebhookProcessingStatus
processingErrorText?: string | null
processedAt?: Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
provider?: Prisma.EnumEmailInboxProviderFieldUpdateOperationsInput | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
provider?: Prisma.EnumEmailInboxProviderFieldUpdateOperationsInput | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventListRelationFilter = {
every?: Prisma.EmailIntegrationWebhookEventWhereInput
some?: Prisma.EmailIntegrationWebhookEventWhereInput
none?: Prisma.EmailIntegrationWebhookEventWhereInput
}
export type EmailIntegrationWebhookEventOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type EmailIntegrationWebhookEventCountOrderByAggregateInput = {
id?: Prisma.SortOrder
receivedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
provider?: Prisma.SortOrder
notificationPayload?: Prisma.SortOrder
processingStatus?: Prisma.SortOrder
processingErrorText?: Prisma.SortOrder
processedAt?: Prisma.SortOrder
derivedMessageIds?: Prisma.SortOrder
}
export type EmailIntegrationWebhookEventMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
receivedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
provider?: Prisma.SortOrder
processingStatus?: Prisma.SortOrder
processingErrorText?: Prisma.SortOrder
processedAt?: Prisma.SortOrder
}
export type EmailIntegrationWebhookEventMinOrderByAggregateInput = {
id?: Prisma.SortOrder
receivedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
provider?: Prisma.SortOrder
processingStatus?: Prisma.SortOrder
processingErrorText?: Prisma.SortOrder
processedAt?: Prisma.SortOrder
}
export type EmailIntegrationWebhookEventCreateNestedManyWithoutMailboxInput = {
create?: Prisma.XOR<Prisma.EmailIntegrationWebhookEventCreateWithoutMailboxInput, Prisma.EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput> | Prisma.EmailIntegrationWebhookEventCreateWithoutMailboxInput[] | Prisma.EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.EmailIntegrationWebhookEventCreateOrConnectWithoutMailboxInput | Prisma.EmailIntegrationWebhookEventCreateOrConnectWithoutMailboxInput[]
createMany?: Prisma.EmailIntegrationWebhookEventCreateManyMailboxInputEnvelope
connect?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput | Prisma.EmailIntegrationWebhookEventWhereUniqueInput[]
}
export type EmailIntegrationWebhookEventUncheckedCreateNestedManyWithoutMailboxInput = {
create?: Prisma.XOR<Prisma.EmailIntegrationWebhookEventCreateWithoutMailboxInput, Prisma.EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput> | Prisma.EmailIntegrationWebhookEventCreateWithoutMailboxInput[] | Prisma.EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.EmailIntegrationWebhookEventCreateOrConnectWithoutMailboxInput | Prisma.EmailIntegrationWebhookEventCreateOrConnectWithoutMailboxInput[]
createMany?: Prisma.EmailIntegrationWebhookEventCreateManyMailboxInputEnvelope
connect?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput | Prisma.EmailIntegrationWebhookEventWhereUniqueInput[]
}
export type EmailIntegrationWebhookEventUpdateManyWithoutMailboxNestedInput = {
create?: Prisma.XOR<Prisma.EmailIntegrationWebhookEventCreateWithoutMailboxInput, Prisma.EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput> | Prisma.EmailIntegrationWebhookEventCreateWithoutMailboxInput[] | Prisma.EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.EmailIntegrationWebhookEventCreateOrConnectWithoutMailboxInput | Prisma.EmailIntegrationWebhookEventCreateOrConnectWithoutMailboxInput[]
upsert?: Prisma.EmailIntegrationWebhookEventUpsertWithWhereUniqueWithoutMailboxInput | Prisma.EmailIntegrationWebhookEventUpsertWithWhereUniqueWithoutMailboxInput[]
createMany?: Prisma.EmailIntegrationWebhookEventCreateManyMailboxInputEnvelope
set?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput | Prisma.EmailIntegrationWebhookEventWhereUniqueInput[]
disconnect?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput | Prisma.EmailIntegrationWebhookEventWhereUniqueInput[]
delete?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput | Prisma.EmailIntegrationWebhookEventWhereUniqueInput[]
connect?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput | Prisma.EmailIntegrationWebhookEventWhereUniqueInput[]
update?: Prisma.EmailIntegrationWebhookEventUpdateWithWhereUniqueWithoutMailboxInput | Prisma.EmailIntegrationWebhookEventUpdateWithWhereUniqueWithoutMailboxInput[]
updateMany?: Prisma.EmailIntegrationWebhookEventUpdateManyWithWhereWithoutMailboxInput | Prisma.EmailIntegrationWebhookEventUpdateManyWithWhereWithoutMailboxInput[]
deleteMany?: Prisma.EmailIntegrationWebhookEventScalarWhereInput | Prisma.EmailIntegrationWebhookEventScalarWhereInput[]
}
export type EmailIntegrationWebhookEventUncheckedUpdateManyWithoutMailboxNestedInput = {
create?: Prisma.XOR<Prisma.EmailIntegrationWebhookEventCreateWithoutMailboxInput, Prisma.EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput> | Prisma.EmailIntegrationWebhookEventCreateWithoutMailboxInput[] | Prisma.EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.EmailIntegrationWebhookEventCreateOrConnectWithoutMailboxInput | Prisma.EmailIntegrationWebhookEventCreateOrConnectWithoutMailboxInput[]
upsert?: Prisma.EmailIntegrationWebhookEventUpsertWithWhereUniqueWithoutMailboxInput | Prisma.EmailIntegrationWebhookEventUpsertWithWhereUniqueWithoutMailboxInput[]
createMany?: Prisma.EmailIntegrationWebhookEventCreateManyMailboxInputEnvelope
set?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput | Prisma.EmailIntegrationWebhookEventWhereUniqueInput[]
disconnect?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput | Prisma.EmailIntegrationWebhookEventWhereUniqueInput[]
delete?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput | Prisma.EmailIntegrationWebhookEventWhereUniqueInput[]
connect?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput | Prisma.EmailIntegrationWebhookEventWhereUniqueInput[]
update?: Prisma.EmailIntegrationWebhookEventUpdateWithWhereUniqueWithoutMailboxInput | Prisma.EmailIntegrationWebhookEventUpdateWithWhereUniqueWithoutMailboxInput[]
updateMany?: Prisma.EmailIntegrationWebhookEventUpdateManyWithWhereWithoutMailboxInput | Prisma.EmailIntegrationWebhookEventUpdateManyWithWhereWithoutMailboxInput[]
deleteMany?: Prisma.EmailIntegrationWebhookEventScalarWhereInput | Prisma.EmailIntegrationWebhookEventScalarWhereInput[]
}
export type EnumEmailWebhookProcessingStatusFieldUpdateOperationsInput = {
set?: $Enums.EmailWebhookProcessingStatus
}
export type EmailIntegrationWebhookEventCreateWithoutMailboxInput = {
id?: string
receivedAt?: Date | string
tenantId: string
provider: $Enums.EmailInboxProvider
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.EmailWebhookProcessingStatus
processingErrorText?: string | null
processedAt?: Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput = {
id?: string
receivedAt?: Date | string
tenantId: string
provider: $Enums.EmailInboxProvider
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.EmailWebhookProcessingStatus
processingErrorText?: string | null
processedAt?: Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventCreateOrConnectWithoutMailboxInput = {
where: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
create: Prisma.XOR<Prisma.EmailIntegrationWebhookEventCreateWithoutMailboxInput, Prisma.EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput>
}
export type EmailIntegrationWebhookEventCreateManyMailboxInputEnvelope = {
data: Prisma.EmailIntegrationWebhookEventCreateManyMailboxInput | Prisma.EmailIntegrationWebhookEventCreateManyMailboxInput[]
skipDuplicates?: boolean
}
export type EmailIntegrationWebhookEventUpsertWithWhereUniqueWithoutMailboxInput = {
where: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
update: Prisma.XOR<Prisma.EmailIntegrationWebhookEventUpdateWithoutMailboxInput, Prisma.EmailIntegrationWebhookEventUncheckedUpdateWithoutMailboxInput>
create: Prisma.XOR<Prisma.EmailIntegrationWebhookEventCreateWithoutMailboxInput, Prisma.EmailIntegrationWebhookEventUncheckedCreateWithoutMailboxInput>
}
export type EmailIntegrationWebhookEventUpdateWithWhereUniqueWithoutMailboxInput = {
where: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
data: Prisma.XOR<Prisma.EmailIntegrationWebhookEventUpdateWithoutMailboxInput, Prisma.EmailIntegrationWebhookEventUncheckedUpdateWithoutMailboxInput>
}
export type EmailIntegrationWebhookEventUpdateManyWithWhereWithoutMailboxInput = {
where: Prisma.EmailIntegrationWebhookEventScalarWhereInput
data: Prisma.XOR<Prisma.EmailIntegrationWebhookEventUpdateManyMutationInput, Prisma.EmailIntegrationWebhookEventUncheckedUpdateManyWithoutMailboxInput>
}
export type EmailIntegrationWebhookEventScalarWhereInput = {
AND?: Prisma.EmailIntegrationWebhookEventScalarWhereInput | Prisma.EmailIntegrationWebhookEventScalarWhereInput[]
OR?: Prisma.EmailIntegrationWebhookEventScalarWhereInput[]
NOT?: Prisma.EmailIntegrationWebhookEventScalarWhereInput | Prisma.EmailIntegrationWebhookEventScalarWhereInput[]
id?: Prisma.StringFilter<"EmailIntegrationWebhookEvent"> | string
receivedAt?: Prisma.DateTimeFilter<"EmailIntegrationWebhookEvent"> | Date | string
tenantId?: Prisma.StringFilter<"EmailIntegrationWebhookEvent"> | string
mailboxId?: Prisma.StringFilter<"EmailIntegrationWebhookEvent"> | string
provider?: Prisma.EnumEmailInboxProviderFilter<"EmailIntegrationWebhookEvent"> | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonFilter<"EmailIntegrationWebhookEvent">
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusFilter<"EmailIntegrationWebhookEvent"> | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.StringNullableFilter<"EmailIntegrationWebhookEvent"> | string | null
processedAt?: Prisma.DateTimeNullableFilter<"EmailIntegrationWebhookEvent"> | Date | string | null
derivedMessageIds?: Prisma.JsonFilter<"EmailIntegrationWebhookEvent">
}
export type EmailIntegrationWebhookEventCreateManyMailboxInput = {
id?: string
receivedAt?: Date | string
tenantId: string
provider: $Enums.EmailInboxProvider
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.EmailWebhookProcessingStatus
processingErrorText?: string | null
processedAt?: Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventUpdateWithoutMailboxInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
provider?: Prisma.EnumEmailInboxProviderFieldUpdateOperationsInput | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventUncheckedUpdateWithoutMailboxInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
provider?: Prisma.EnumEmailInboxProviderFieldUpdateOperationsInput | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventUncheckedUpdateManyWithoutMailboxInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
provider?: Prisma.EnumEmailInboxProviderFieldUpdateOperationsInput | $Enums.EmailInboxProvider
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumEmailWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.EmailWebhookProcessingStatus
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
derivedMessageIds?: Prisma.JsonNullValueInput | runtime.InputJsonValue
}
export type EmailIntegrationWebhookEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
receivedAt?: boolean
tenantId?: boolean
mailboxId?: boolean
provider?: boolean
notificationPayload?: boolean
processingStatus?: boolean
processingErrorText?: boolean
processedAt?: boolean
derivedMessageIds?: boolean
mailbox?: boolean | Prisma.EmailIntegrationMailboxDefaultArgs<ExtArgs>
}, ExtArgs["result"]["emailIntegrationWebhookEvent"]>
export type EmailIntegrationWebhookEventSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
receivedAt?: boolean
tenantId?: boolean
mailboxId?: boolean
provider?: boolean
notificationPayload?: boolean
processingStatus?: boolean
processingErrorText?: boolean
processedAt?: boolean
derivedMessageIds?: boolean
mailbox?: boolean | Prisma.EmailIntegrationMailboxDefaultArgs<ExtArgs>
}, ExtArgs["result"]["emailIntegrationWebhookEvent"]>
export type EmailIntegrationWebhookEventSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
receivedAt?: boolean
tenantId?: boolean
mailboxId?: boolean
provider?: boolean
notificationPayload?: boolean
processingStatus?: boolean
processingErrorText?: boolean
processedAt?: boolean
derivedMessageIds?: boolean
mailbox?: boolean | Prisma.EmailIntegrationMailboxDefaultArgs<ExtArgs>
}, ExtArgs["result"]["emailIntegrationWebhookEvent"]>
export type EmailIntegrationWebhookEventSelectScalar = {
id?: boolean
receivedAt?: boolean
tenantId?: boolean
mailboxId?: boolean
provider?: boolean
notificationPayload?: boolean
processingStatus?: boolean
processingErrorText?: boolean
processedAt?: boolean
derivedMessageIds?: boolean
}
export type EmailIntegrationWebhookEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "receivedAt" | "tenantId" | "mailboxId" | "provider" | "notificationPayload" | "processingStatus" | "processingErrorText" | "processedAt" | "derivedMessageIds", ExtArgs["result"]["emailIntegrationWebhookEvent"]>
export type EmailIntegrationWebhookEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
mailbox?: boolean | Prisma.EmailIntegrationMailboxDefaultArgs<ExtArgs>
}
export type EmailIntegrationWebhookEventIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
mailbox?: boolean | Prisma.EmailIntegrationMailboxDefaultArgs<ExtArgs>
}
export type EmailIntegrationWebhookEventIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
mailbox?: boolean | Prisma.EmailIntegrationMailboxDefaultArgs<ExtArgs>
}
export type $EmailIntegrationWebhookEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "EmailIntegrationWebhookEvent"
objects: {
mailbox: Prisma.$EmailIntegrationMailboxPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
receivedAt: Date
tenantId: string
mailboxId: string
provider: $Enums.EmailInboxProvider
notificationPayload: runtime.JsonValue
processingStatus: $Enums.EmailWebhookProcessingStatus
processingErrorText: string | null
processedAt: Date | null
derivedMessageIds: runtime.JsonValue
}, ExtArgs["result"]["emailIntegrationWebhookEvent"]>
composites: {}
}
export type EmailIntegrationWebhookEventGetPayload<S extends boolean | null | undefined | EmailIntegrationWebhookEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload, S>
export type EmailIntegrationWebhookEventCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<EmailIntegrationWebhookEventFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: EmailIntegrationWebhookEventCountAggregateInputType | true
}
export interface EmailIntegrationWebhookEventDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EmailIntegrationWebhookEvent'], meta: { name: 'EmailIntegrationWebhookEvent' } }
/**
* Find zero or one EmailIntegrationWebhookEvent that matches the filter.
* @param {EmailIntegrationWebhookEventFindUniqueArgs} args - Arguments to find a EmailIntegrationWebhookEvent
* @example
* // Get one EmailIntegrationWebhookEvent
* const emailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends EmailIntegrationWebhookEventFindUniqueArgs>(args: Prisma.SelectSubset<T, EmailIntegrationWebhookEventFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EmailIntegrationWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one EmailIntegrationWebhookEvent that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {EmailIntegrationWebhookEventFindUniqueOrThrowArgs} args - Arguments to find a EmailIntegrationWebhookEvent
* @example
* // Get one EmailIntegrationWebhookEvent
* const emailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends EmailIntegrationWebhookEventFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EmailIntegrationWebhookEventFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmailIntegrationWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first EmailIntegrationWebhookEvent 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 {EmailIntegrationWebhookEventFindFirstArgs} args - Arguments to find a EmailIntegrationWebhookEvent
* @example
* // Get one EmailIntegrationWebhookEvent
* const emailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends EmailIntegrationWebhookEventFindFirstArgs>(args?: Prisma.SelectSubset<T, EmailIntegrationWebhookEventFindFirstArgs<ExtArgs>>): Prisma.Prisma__EmailIntegrationWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first EmailIntegrationWebhookEvent 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 {EmailIntegrationWebhookEventFindFirstOrThrowArgs} args - Arguments to find a EmailIntegrationWebhookEvent
* @example
* // Get one EmailIntegrationWebhookEvent
* const emailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends EmailIntegrationWebhookEventFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EmailIntegrationWebhookEventFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmailIntegrationWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more EmailIntegrationWebhookEvents 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 {EmailIntegrationWebhookEventFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all EmailIntegrationWebhookEvents
* const emailIntegrationWebhookEvents = await prisma.emailIntegrationWebhookEvent.findMany()
*
* // Get first 10 EmailIntegrationWebhookEvents
* const emailIntegrationWebhookEvents = await prisma.emailIntegrationWebhookEvent.findMany({ take: 10 })
*
* // Only select the `id`
* const emailIntegrationWebhookEventWithIdOnly = await prisma.emailIntegrationWebhookEvent.findMany({ select: { id: true } })
*
*/
findMany<T extends EmailIntegrationWebhookEventFindManyArgs>(args?: Prisma.SelectSubset<T, EmailIntegrationWebhookEventFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a EmailIntegrationWebhookEvent.
* @param {EmailIntegrationWebhookEventCreateArgs} args - Arguments to create a EmailIntegrationWebhookEvent.
* @example
* // Create one EmailIntegrationWebhookEvent
* const EmailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.create({
* data: {
* // ... data to create a EmailIntegrationWebhookEvent
* }
* })
*
*/
create<T extends EmailIntegrationWebhookEventCreateArgs>(args: Prisma.SelectSubset<T, EmailIntegrationWebhookEventCreateArgs<ExtArgs>>): Prisma.Prisma__EmailIntegrationWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many EmailIntegrationWebhookEvents.
* @param {EmailIntegrationWebhookEventCreateManyArgs} args - Arguments to create many EmailIntegrationWebhookEvents.
* @example
* // Create many EmailIntegrationWebhookEvents
* const emailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends EmailIntegrationWebhookEventCreateManyArgs>(args?: Prisma.SelectSubset<T, EmailIntegrationWebhookEventCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many EmailIntegrationWebhookEvents and returns the data saved in the database.
* @param {EmailIntegrationWebhookEventCreateManyAndReturnArgs} args - Arguments to create many EmailIntegrationWebhookEvents.
* @example
* // Create many EmailIntegrationWebhookEvents
* const emailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many EmailIntegrationWebhookEvents and only return the `id`
* const emailIntegrationWebhookEventWithIdOnly = await prisma.emailIntegrationWebhookEvent.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 EmailIntegrationWebhookEventCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EmailIntegrationWebhookEventCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a EmailIntegrationWebhookEvent.
* @param {EmailIntegrationWebhookEventDeleteArgs} args - Arguments to delete one EmailIntegrationWebhookEvent.
* @example
* // Delete one EmailIntegrationWebhookEvent
* const EmailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.delete({
* where: {
* // ... filter to delete one EmailIntegrationWebhookEvent
* }
* })
*
*/
delete<T extends EmailIntegrationWebhookEventDeleteArgs>(args: Prisma.SelectSubset<T, EmailIntegrationWebhookEventDeleteArgs<ExtArgs>>): Prisma.Prisma__EmailIntegrationWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one EmailIntegrationWebhookEvent.
* @param {EmailIntegrationWebhookEventUpdateArgs} args - Arguments to update one EmailIntegrationWebhookEvent.
* @example
* // Update one EmailIntegrationWebhookEvent
* const emailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends EmailIntegrationWebhookEventUpdateArgs>(args: Prisma.SelectSubset<T, EmailIntegrationWebhookEventUpdateArgs<ExtArgs>>): Prisma.Prisma__EmailIntegrationWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more EmailIntegrationWebhookEvents.
* @param {EmailIntegrationWebhookEventDeleteManyArgs} args - Arguments to filter EmailIntegrationWebhookEvents to delete.
* @example
* // Delete a few EmailIntegrationWebhookEvents
* const { count } = await prisma.emailIntegrationWebhookEvent.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends EmailIntegrationWebhookEventDeleteManyArgs>(args?: Prisma.SelectSubset<T, EmailIntegrationWebhookEventDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more EmailIntegrationWebhookEvents.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmailIntegrationWebhookEventUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many EmailIntegrationWebhookEvents
* const emailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends EmailIntegrationWebhookEventUpdateManyArgs>(args: Prisma.SelectSubset<T, EmailIntegrationWebhookEventUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more EmailIntegrationWebhookEvents and returns the data updated in the database.
* @param {EmailIntegrationWebhookEventUpdateManyAndReturnArgs} args - Arguments to update many EmailIntegrationWebhookEvents.
* @example
* // Update many EmailIntegrationWebhookEvents
* const emailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more EmailIntegrationWebhookEvents and only return the `id`
* const emailIntegrationWebhookEventWithIdOnly = await prisma.emailIntegrationWebhookEvent.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 EmailIntegrationWebhookEventUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EmailIntegrationWebhookEventUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one EmailIntegrationWebhookEvent.
* @param {EmailIntegrationWebhookEventUpsertArgs} args - Arguments to update or create a EmailIntegrationWebhookEvent.
* @example
* // Update or create a EmailIntegrationWebhookEvent
* const emailIntegrationWebhookEvent = await prisma.emailIntegrationWebhookEvent.upsert({
* create: {
* // ... data to create a EmailIntegrationWebhookEvent
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the EmailIntegrationWebhookEvent we want to update
* }
* })
*/
upsert<T extends EmailIntegrationWebhookEventUpsertArgs>(args: Prisma.SelectSubset<T, EmailIntegrationWebhookEventUpsertArgs<ExtArgs>>): Prisma.Prisma__EmailIntegrationWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationWebhookEventPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of EmailIntegrationWebhookEvents.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmailIntegrationWebhookEventCountArgs} args - Arguments to filter EmailIntegrationWebhookEvents to count.
* @example
* // Count the number of EmailIntegrationWebhookEvents
* const count = await prisma.emailIntegrationWebhookEvent.count({
* where: {
* // ... the filter for the EmailIntegrationWebhookEvents we want to count
* }
* })
**/
count<T extends EmailIntegrationWebhookEventCountArgs>(
args?: Prisma.Subset<T, EmailIntegrationWebhookEventCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], EmailIntegrationWebhookEventCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a EmailIntegrationWebhookEvent.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmailIntegrationWebhookEventAggregateArgs} 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 EmailIntegrationWebhookEventAggregateArgs>(args: Prisma.Subset<T, EmailIntegrationWebhookEventAggregateArgs>): Prisma.PrismaPromise<GetEmailIntegrationWebhookEventAggregateType<T>>
/**
* Group by EmailIntegrationWebhookEvent.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmailIntegrationWebhookEventGroupByArgs} 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 EmailIntegrationWebhookEventGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: EmailIntegrationWebhookEventGroupByArgs['orderBy'] }
: { orderBy?: EmailIntegrationWebhookEventGroupByArgs['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, EmailIntegrationWebhookEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEmailIntegrationWebhookEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the EmailIntegrationWebhookEvent model
*/
readonly fields: EmailIntegrationWebhookEventFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for EmailIntegrationWebhookEvent.
* 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__EmailIntegrationWebhookEventClient<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.EmailIntegrationMailboxDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EmailIntegrationMailboxDefaultArgs<ExtArgs>>): Prisma.Prisma__EmailIntegrationMailboxClient<runtime.Types.Result.GetResult<Prisma.$EmailIntegrationMailboxPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the EmailIntegrationWebhookEvent model
*/
export interface EmailIntegrationWebhookEventFieldRefs {
readonly id: Prisma.FieldRef<"EmailIntegrationWebhookEvent", 'String'>
readonly receivedAt: Prisma.FieldRef<"EmailIntegrationWebhookEvent", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"EmailIntegrationWebhookEvent", 'String'>
readonly mailboxId: Prisma.FieldRef<"EmailIntegrationWebhookEvent", 'String'>
readonly provider: Prisma.FieldRef<"EmailIntegrationWebhookEvent", 'EmailInboxProvider'>
readonly notificationPayload: Prisma.FieldRef<"EmailIntegrationWebhookEvent", 'Json'>
readonly processingStatus: Prisma.FieldRef<"EmailIntegrationWebhookEvent", 'EmailWebhookProcessingStatus'>
readonly processingErrorText: Prisma.FieldRef<"EmailIntegrationWebhookEvent", 'String'>
readonly processedAt: Prisma.FieldRef<"EmailIntegrationWebhookEvent", 'DateTime'>
readonly derivedMessageIds: Prisma.FieldRef<"EmailIntegrationWebhookEvent", 'Json'>
}
// Custom InputTypes
/**
* EmailIntegrationWebhookEvent findUnique
*/
export type EmailIntegrationWebhookEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventInclude<ExtArgs> | null
/**
* Filter, which EmailIntegrationWebhookEvent to fetch.
*/
where: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
}
/**
* EmailIntegrationWebhookEvent findUniqueOrThrow
*/
export type EmailIntegrationWebhookEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventInclude<ExtArgs> | null
/**
* Filter, which EmailIntegrationWebhookEvent to fetch.
*/
where: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
}
/**
* EmailIntegrationWebhookEvent findFirst
*/
export type EmailIntegrationWebhookEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventInclude<ExtArgs> | null
/**
* Filter, which EmailIntegrationWebhookEvent to fetch.
*/
where?: Prisma.EmailIntegrationWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmailIntegrationWebhookEvents to fetch.
*/
orderBy?: Prisma.EmailIntegrationWebhookEventOrderByWithRelationInput | Prisma.EmailIntegrationWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for EmailIntegrationWebhookEvents.
*/
cursor?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmailIntegrationWebhookEvents 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` EmailIntegrationWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of EmailIntegrationWebhookEvents.
*/
distinct?: Prisma.EmailIntegrationWebhookEventScalarFieldEnum | Prisma.EmailIntegrationWebhookEventScalarFieldEnum[]
}
/**
* EmailIntegrationWebhookEvent findFirstOrThrow
*/
export type EmailIntegrationWebhookEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventInclude<ExtArgs> | null
/**
* Filter, which EmailIntegrationWebhookEvent to fetch.
*/
where?: Prisma.EmailIntegrationWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmailIntegrationWebhookEvents to fetch.
*/
orderBy?: Prisma.EmailIntegrationWebhookEventOrderByWithRelationInput | Prisma.EmailIntegrationWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for EmailIntegrationWebhookEvents.
*/
cursor?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmailIntegrationWebhookEvents 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` EmailIntegrationWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of EmailIntegrationWebhookEvents.
*/
distinct?: Prisma.EmailIntegrationWebhookEventScalarFieldEnum | Prisma.EmailIntegrationWebhookEventScalarFieldEnum[]
}
/**
* EmailIntegrationWebhookEvent findMany
*/
export type EmailIntegrationWebhookEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventInclude<ExtArgs> | null
/**
* Filter, which EmailIntegrationWebhookEvents to fetch.
*/
where?: Prisma.EmailIntegrationWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmailIntegrationWebhookEvents to fetch.
*/
orderBy?: Prisma.EmailIntegrationWebhookEventOrderByWithRelationInput | Prisma.EmailIntegrationWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing EmailIntegrationWebhookEvents.
*/
cursor?: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmailIntegrationWebhookEvents 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` EmailIntegrationWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of EmailIntegrationWebhookEvents.
*/
distinct?: Prisma.EmailIntegrationWebhookEventScalarFieldEnum | Prisma.EmailIntegrationWebhookEventScalarFieldEnum[]
}
/**
* EmailIntegrationWebhookEvent create
*/
export type EmailIntegrationWebhookEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventInclude<ExtArgs> | null
/**
* The data needed to create a EmailIntegrationWebhookEvent.
*/
data: Prisma.XOR<Prisma.EmailIntegrationWebhookEventCreateInput, Prisma.EmailIntegrationWebhookEventUncheckedCreateInput>
}
/**
* EmailIntegrationWebhookEvent createMany
*/
export type EmailIntegrationWebhookEventCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many EmailIntegrationWebhookEvents.
*/
data: Prisma.EmailIntegrationWebhookEventCreateManyInput | Prisma.EmailIntegrationWebhookEventCreateManyInput[]
skipDuplicates?: boolean
}
/**
* EmailIntegrationWebhookEvent createManyAndReturn
*/
export type EmailIntegrationWebhookEventCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* The data used to create many EmailIntegrationWebhookEvents.
*/
data: Prisma.EmailIntegrationWebhookEventCreateManyInput | Prisma.EmailIntegrationWebhookEventCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* EmailIntegrationWebhookEvent update
*/
export type EmailIntegrationWebhookEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventInclude<ExtArgs> | null
/**
* The data needed to update a EmailIntegrationWebhookEvent.
*/
data: Prisma.XOR<Prisma.EmailIntegrationWebhookEventUpdateInput, Prisma.EmailIntegrationWebhookEventUncheckedUpdateInput>
/**
* Choose, which EmailIntegrationWebhookEvent to update.
*/
where: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
}
/**
* EmailIntegrationWebhookEvent updateMany
*/
export type EmailIntegrationWebhookEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update EmailIntegrationWebhookEvents.
*/
data: Prisma.XOR<Prisma.EmailIntegrationWebhookEventUpdateManyMutationInput, Prisma.EmailIntegrationWebhookEventUncheckedUpdateManyInput>
/**
* Filter which EmailIntegrationWebhookEvents to update
*/
where?: Prisma.EmailIntegrationWebhookEventWhereInput
/**
* Limit how many EmailIntegrationWebhookEvents to update.
*/
limit?: number
}
/**
* EmailIntegrationWebhookEvent updateManyAndReturn
*/
export type EmailIntegrationWebhookEventUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* The data used to update EmailIntegrationWebhookEvents.
*/
data: Prisma.XOR<Prisma.EmailIntegrationWebhookEventUpdateManyMutationInput, Prisma.EmailIntegrationWebhookEventUncheckedUpdateManyInput>
/**
* Filter which EmailIntegrationWebhookEvents to update
*/
where?: Prisma.EmailIntegrationWebhookEventWhereInput
/**
* Limit how many EmailIntegrationWebhookEvents to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* EmailIntegrationWebhookEvent upsert
*/
export type EmailIntegrationWebhookEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventInclude<ExtArgs> | null
/**
* The filter to search for the EmailIntegrationWebhookEvent to update in case it exists.
*/
where: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
/**
* In case the EmailIntegrationWebhookEvent found by the `where` argument doesn't exist, create a new EmailIntegrationWebhookEvent with this data.
*/
create: Prisma.XOR<Prisma.EmailIntegrationWebhookEventCreateInput, Prisma.EmailIntegrationWebhookEventUncheckedCreateInput>
/**
* In case the EmailIntegrationWebhookEvent was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.EmailIntegrationWebhookEventUpdateInput, Prisma.EmailIntegrationWebhookEventUncheckedUpdateInput>
}
/**
* EmailIntegrationWebhookEvent delete
*/
export type EmailIntegrationWebhookEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventInclude<ExtArgs> | null
/**
* Filter which EmailIntegrationWebhookEvent to delete.
*/
where: Prisma.EmailIntegrationWebhookEventWhereUniqueInput
}
/**
* EmailIntegrationWebhookEvent deleteMany
*/
export type EmailIntegrationWebhookEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which EmailIntegrationWebhookEvents to delete
*/
where?: Prisma.EmailIntegrationWebhookEventWhereInput
/**
* Limit how many EmailIntegrationWebhookEvents to delete.
*/
limit?: number
}
/**
* EmailIntegrationWebhookEvent without action
*/
export type EmailIntegrationWebhookEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmailIntegrationWebhookEvent
*/
select?: Prisma.EmailIntegrationWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the EmailIntegrationWebhookEvent
*/
omit?: Prisma.EmailIntegrationWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EmailIntegrationWebhookEventInclude<ExtArgs> | null
}