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

1521 lines
66 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 `AdminMailboxWebhookEvent` 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 AdminMailboxWebhookEvent
*
*/
export type AdminMailboxWebhookEventModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminMailboxWebhookEventPayload>
export type AggregateAdminMailboxWebhookEvent = {
_count: AdminMailboxWebhookEventCountAggregateOutputType | null
_min: AdminMailboxWebhookEventMinAggregateOutputType | null
_max: AdminMailboxWebhookEventMaxAggregateOutputType | null
}
export type AdminMailboxWebhookEventMinAggregateOutputType = {
id: string | null
createdAt: Date | null
processedAt: Date | null
failedAt: Date | null
adminUserId: string | null
mailboxId: string | null
providerEventId: string | null
idempotencyKey: string | null
lastErrorMessageKey: string | null
}
export type AdminMailboxWebhookEventMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
processedAt: Date | null
failedAt: Date | null
adminUserId: string | null
mailboxId: string | null
providerEventId: string | null
idempotencyKey: string | null
lastErrorMessageKey: string | null
}
export type AdminMailboxWebhookEventCountAggregateOutputType = {
id: number
createdAt: number
processedAt: number
failedAt: number
adminUserId: number
mailboxId: number
providerEventId: number
idempotencyKey: number
payload: number
lastErrorMessageKey: number
_all: number
}
export type AdminMailboxWebhookEventMinAggregateInputType = {
id?: true
createdAt?: true
processedAt?: true
failedAt?: true
adminUserId?: true
mailboxId?: true
providerEventId?: true
idempotencyKey?: true
lastErrorMessageKey?: true
}
export type AdminMailboxWebhookEventMaxAggregateInputType = {
id?: true
createdAt?: true
processedAt?: true
failedAt?: true
adminUserId?: true
mailboxId?: true
providerEventId?: true
idempotencyKey?: true
lastErrorMessageKey?: true
}
export type AdminMailboxWebhookEventCountAggregateInputType = {
id?: true
createdAt?: true
processedAt?: true
failedAt?: true
adminUserId?: true
mailboxId?: true
providerEventId?: true
idempotencyKey?: true
payload?: true
lastErrorMessageKey?: true
_all?: true
}
export type AdminMailboxWebhookEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminMailboxWebhookEvent to aggregate.
*/
where?: Prisma.AdminMailboxWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminMailboxWebhookEvents to fetch.
*/
orderBy?: Prisma.AdminMailboxWebhookEventOrderByWithRelationInput | Prisma.AdminMailboxWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AdminMailboxWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminMailboxWebhookEvents 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` AdminMailboxWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AdminMailboxWebhookEvents
**/
_count?: true | AdminMailboxWebhookEventCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AdminMailboxWebhookEventMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AdminMailboxWebhookEventMaxAggregateInputType
}
export type GetAdminMailboxWebhookEventAggregateType<T extends AdminMailboxWebhookEventAggregateArgs> = {
[P in keyof T & keyof AggregateAdminMailboxWebhookEvent]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAdminMailboxWebhookEvent[P]>
: Prisma.GetScalarType<T[P], AggregateAdminMailboxWebhookEvent[P]>
}
export type AdminMailboxWebhookEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AdminMailboxWebhookEventWhereInput
orderBy?: Prisma.AdminMailboxWebhookEventOrderByWithAggregationInput | Prisma.AdminMailboxWebhookEventOrderByWithAggregationInput[]
by: Prisma.AdminMailboxWebhookEventScalarFieldEnum[] | Prisma.AdminMailboxWebhookEventScalarFieldEnum
having?: Prisma.AdminMailboxWebhookEventScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AdminMailboxWebhookEventCountAggregateInputType | true
_min?: AdminMailboxWebhookEventMinAggregateInputType
_max?: AdminMailboxWebhookEventMaxAggregateInputType
}
export type AdminMailboxWebhookEventGroupByOutputType = {
id: string
createdAt: Date
processedAt: Date | null
failedAt: Date | null
adminUserId: string
mailboxId: string
providerEventId: string
idempotencyKey: string
payload: runtime.JsonValue
lastErrorMessageKey: string | null
_count: AdminMailboxWebhookEventCountAggregateOutputType | null
_min: AdminMailboxWebhookEventMinAggregateOutputType | null
_max: AdminMailboxWebhookEventMaxAggregateOutputType | null
}
export type GetAdminMailboxWebhookEventGroupByPayload<T extends AdminMailboxWebhookEventGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AdminMailboxWebhookEventGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AdminMailboxWebhookEventGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AdminMailboxWebhookEventGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AdminMailboxWebhookEventGroupByOutputType[P]>
}
>
>
export type AdminMailboxWebhookEventWhereInput = {
AND?: Prisma.AdminMailboxWebhookEventWhereInput | Prisma.AdminMailboxWebhookEventWhereInput[]
OR?: Prisma.AdminMailboxWebhookEventWhereInput[]
NOT?: Prisma.AdminMailboxWebhookEventWhereInput | Prisma.AdminMailboxWebhookEventWhereInput[]
id?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
createdAt?: Prisma.DateTimeFilter<"AdminMailboxWebhookEvent"> | Date | string
processedAt?: Prisma.DateTimeNullableFilter<"AdminMailboxWebhookEvent"> | Date | string | null
failedAt?: Prisma.DateTimeNullableFilter<"AdminMailboxWebhookEvent"> | Date | string | null
adminUserId?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
mailboxId?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
providerEventId?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
idempotencyKey?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
payload?: Prisma.JsonFilter<"AdminMailboxWebhookEvent">
lastErrorMessageKey?: Prisma.StringNullableFilter<"AdminMailboxWebhookEvent"> | string | null
mailbox?: Prisma.XOR<Prisma.AdminMailboxScalarRelationFilter, Prisma.AdminMailboxWhereInput>
}
export type AdminMailboxWebhookEventOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder
failedAt?: Prisma.SortOrderInput | Prisma.SortOrder
adminUserId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
providerEventId?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
payload?: Prisma.SortOrder
lastErrorMessageKey?: Prisma.SortOrderInput | Prisma.SortOrder
mailbox?: Prisma.AdminMailboxOrderByWithRelationInput
}
export type AdminMailboxWebhookEventWhereUniqueInput = Prisma.AtLeast<{
id?: string
idempotencyKey?: string
admin_mailbox_webhook_provider_event_key?: Prisma.AdminMailboxWebhookEventAdmin_mailbox_webhook_provider_event_keyCompoundUniqueInput
AND?: Prisma.AdminMailboxWebhookEventWhereInput | Prisma.AdminMailboxWebhookEventWhereInput[]
OR?: Prisma.AdminMailboxWebhookEventWhereInput[]
NOT?: Prisma.AdminMailboxWebhookEventWhereInput | Prisma.AdminMailboxWebhookEventWhereInput[]
createdAt?: Prisma.DateTimeFilter<"AdminMailboxWebhookEvent"> | Date | string
processedAt?: Prisma.DateTimeNullableFilter<"AdminMailboxWebhookEvent"> | Date | string | null
failedAt?: Prisma.DateTimeNullableFilter<"AdminMailboxWebhookEvent"> | Date | string | null
adminUserId?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
mailboxId?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
providerEventId?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
payload?: Prisma.JsonFilter<"AdminMailboxWebhookEvent">
lastErrorMessageKey?: Prisma.StringNullableFilter<"AdminMailboxWebhookEvent"> | string | null
mailbox?: Prisma.XOR<Prisma.AdminMailboxScalarRelationFilter, Prisma.AdminMailboxWhereInput>
}, "id" | "idempotencyKey" | "admin_mailbox_webhook_provider_event_key">
export type AdminMailboxWebhookEventOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder
failedAt?: Prisma.SortOrderInput | Prisma.SortOrder
adminUserId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
providerEventId?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
payload?: Prisma.SortOrder
lastErrorMessageKey?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.AdminMailboxWebhookEventCountOrderByAggregateInput
_max?: Prisma.AdminMailboxWebhookEventMaxOrderByAggregateInput
_min?: Prisma.AdminMailboxWebhookEventMinOrderByAggregateInput
}
export type AdminMailboxWebhookEventScalarWhereWithAggregatesInput = {
AND?: Prisma.AdminMailboxWebhookEventScalarWhereWithAggregatesInput | Prisma.AdminMailboxWebhookEventScalarWhereWithAggregatesInput[]
OR?: Prisma.AdminMailboxWebhookEventScalarWhereWithAggregatesInput[]
NOT?: Prisma.AdminMailboxWebhookEventScalarWhereWithAggregatesInput | Prisma.AdminMailboxWebhookEventScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AdminMailboxWebhookEvent"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminMailboxWebhookEvent"> | Date | string
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminMailboxWebhookEvent"> | Date | string | null
failedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminMailboxWebhookEvent"> | Date | string | null
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminMailboxWebhookEvent"> | string
mailboxId?: Prisma.StringWithAggregatesFilter<"AdminMailboxWebhookEvent"> | string
providerEventId?: Prisma.StringWithAggregatesFilter<"AdminMailboxWebhookEvent"> | string
idempotencyKey?: Prisma.StringWithAggregatesFilter<"AdminMailboxWebhookEvent"> | string
payload?: Prisma.JsonWithAggregatesFilter<"AdminMailboxWebhookEvent">
lastErrorMessageKey?: Prisma.StringNullableWithAggregatesFilter<"AdminMailboxWebhookEvent"> | string | null
}
export type AdminMailboxWebhookEventCreateInput = {
id?: string
createdAt?: Date | string
processedAt?: Date | string | null
failedAt?: Date | string | null
adminUserId: string
providerEventId: string
idempotencyKey: string
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: string | null
mailbox: Prisma.AdminMailboxCreateNestedOneWithoutWebhookEventsInput
}
export type AdminMailboxWebhookEventUncheckedCreateInput = {
id?: string
createdAt?: Date | string
processedAt?: Date | string | null
failedAt?: Date | string | null
adminUserId: string
mailboxId: string
providerEventId: string
idempotencyKey: string
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: string | null
}
export type AdminMailboxWebhookEventUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutWebhookEventsNestedInput
}
export type AdminMailboxWebhookEventUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminMailboxWebhookEventCreateManyInput = {
id?: string
createdAt?: Date | string
processedAt?: Date | string | null
failedAt?: Date | string | null
adminUserId: string
mailboxId: string
providerEventId: string
idempotencyKey: string
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: string | null
}
export type AdminMailboxWebhookEventUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminMailboxWebhookEventUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
mailboxId?: Prisma.StringFieldUpdateOperationsInput | string
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminMailboxWebhookEventListRelationFilter = {
every?: Prisma.AdminMailboxWebhookEventWhereInput
some?: Prisma.AdminMailboxWebhookEventWhereInput
none?: Prisma.AdminMailboxWebhookEventWhereInput
}
export type AdminMailboxWebhookEventOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AdminMailboxWebhookEventAdmin_mailbox_webhook_provider_event_keyCompoundUniqueInput = {
mailboxId: string
providerEventId: string
}
export type AdminMailboxWebhookEventCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
processedAt?: Prisma.SortOrder
failedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
providerEventId?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
payload?: Prisma.SortOrder
lastErrorMessageKey?: Prisma.SortOrder
}
export type AdminMailboxWebhookEventMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
processedAt?: Prisma.SortOrder
failedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
providerEventId?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
lastErrorMessageKey?: Prisma.SortOrder
}
export type AdminMailboxWebhookEventMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
processedAt?: Prisma.SortOrder
failedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
mailboxId?: Prisma.SortOrder
providerEventId?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
lastErrorMessageKey?: Prisma.SortOrder
}
export type AdminMailboxWebhookEventCreateNestedManyWithoutMailboxInput = {
create?: Prisma.XOR<Prisma.AdminMailboxWebhookEventCreateWithoutMailboxInput, Prisma.AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput> | Prisma.AdminMailboxWebhookEventCreateWithoutMailboxInput[] | Prisma.AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput | Prisma.AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput[]
createMany?: Prisma.AdminMailboxWebhookEventCreateManyMailboxInputEnvelope
connect?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[]
}
export type AdminMailboxWebhookEventUncheckedCreateNestedManyWithoutMailboxInput = {
create?: Prisma.XOR<Prisma.AdminMailboxWebhookEventCreateWithoutMailboxInput, Prisma.AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput> | Prisma.AdminMailboxWebhookEventCreateWithoutMailboxInput[] | Prisma.AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput | Prisma.AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput[]
createMany?: Prisma.AdminMailboxWebhookEventCreateManyMailboxInputEnvelope
connect?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[]
}
export type AdminMailboxWebhookEventUpdateManyWithoutMailboxNestedInput = {
create?: Prisma.XOR<Prisma.AdminMailboxWebhookEventCreateWithoutMailboxInput, Prisma.AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput> | Prisma.AdminMailboxWebhookEventCreateWithoutMailboxInput[] | Prisma.AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput | Prisma.AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput[]
upsert?: Prisma.AdminMailboxWebhookEventUpsertWithWhereUniqueWithoutMailboxInput | Prisma.AdminMailboxWebhookEventUpsertWithWhereUniqueWithoutMailboxInput[]
createMany?: Prisma.AdminMailboxWebhookEventCreateManyMailboxInputEnvelope
set?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[]
disconnect?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[]
delete?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[]
connect?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[]
update?: Prisma.AdminMailboxWebhookEventUpdateWithWhereUniqueWithoutMailboxInput | Prisma.AdminMailboxWebhookEventUpdateWithWhereUniqueWithoutMailboxInput[]
updateMany?: Prisma.AdminMailboxWebhookEventUpdateManyWithWhereWithoutMailboxInput | Prisma.AdminMailboxWebhookEventUpdateManyWithWhereWithoutMailboxInput[]
deleteMany?: Prisma.AdminMailboxWebhookEventScalarWhereInput | Prisma.AdminMailboxWebhookEventScalarWhereInput[]
}
export type AdminMailboxWebhookEventUncheckedUpdateManyWithoutMailboxNestedInput = {
create?: Prisma.XOR<Prisma.AdminMailboxWebhookEventCreateWithoutMailboxInput, Prisma.AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput> | Prisma.AdminMailboxWebhookEventCreateWithoutMailboxInput[] | Prisma.AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput[]
connectOrCreate?: Prisma.AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput | Prisma.AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput[]
upsert?: Prisma.AdminMailboxWebhookEventUpsertWithWhereUniqueWithoutMailboxInput | Prisma.AdminMailboxWebhookEventUpsertWithWhereUniqueWithoutMailboxInput[]
createMany?: Prisma.AdminMailboxWebhookEventCreateManyMailboxInputEnvelope
set?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[]
disconnect?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[]
delete?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[]
connect?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[]
update?: Prisma.AdminMailboxWebhookEventUpdateWithWhereUniqueWithoutMailboxInput | Prisma.AdminMailboxWebhookEventUpdateWithWhereUniqueWithoutMailboxInput[]
updateMany?: Prisma.AdminMailboxWebhookEventUpdateManyWithWhereWithoutMailboxInput | Prisma.AdminMailboxWebhookEventUpdateManyWithWhereWithoutMailboxInput[]
deleteMany?: Prisma.AdminMailboxWebhookEventScalarWhereInput | Prisma.AdminMailboxWebhookEventScalarWhereInput[]
}
export type AdminMailboxWebhookEventCreateWithoutMailboxInput = {
id?: string
createdAt?: Date | string
processedAt?: Date | string | null
failedAt?: Date | string | null
adminUserId: string
providerEventId: string
idempotencyKey: string
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: string | null
}
export type AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput = {
id?: string
createdAt?: Date | string
processedAt?: Date | string | null
failedAt?: Date | string | null
adminUserId: string
providerEventId: string
idempotencyKey: string
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: string | null
}
export type AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput = {
where: Prisma.AdminMailboxWebhookEventWhereUniqueInput
create: Prisma.XOR<Prisma.AdminMailboxWebhookEventCreateWithoutMailboxInput, Prisma.AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput>
}
export type AdminMailboxWebhookEventCreateManyMailboxInputEnvelope = {
data: Prisma.AdminMailboxWebhookEventCreateManyMailboxInput | Prisma.AdminMailboxWebhookEventCreateManyMailboxInput[]
skipDuplicates?: boolean
}
export type AdminMailboxWebhookEventUpsertWithWhereUniqueWithoutMailboxInput = {
where: Prisma.AdminMailboxWebhookEventWhereUniqueInput
update: Prisma.XOR<Prisma.AdminMailboxWebhookEventUpdateWithoutMailboxInput, Prisma.AdminMailboxWebhookEventUncheckedUpdateWithoutMailboxInput>
create: Prisma.XOR<Prisma.AdminMailboxWebhookEventCreateWithoutMailboxInput, Prisma.AdminMailboxWebhookEventUncheckedCreateWithoutMailboxInput>
}
export type AdminMailboxWebhookEventUpdateWithWhereUniqueWithoutMailboxInput = {
where: Prisma.AdminMailboxWebhookEventWhereUniqueInput
data: Prisma.XOR<Prisma.AdminMailboxWebhookEventUpdateWithoutMailboxInput, Prisma.AdminMailboxWebhookEventUncheckedUpdateWithoutMailboxInput>
}
export type AdminMailboxWebhookEventUpdateManyWithWhereWithoutMailboxInput = {
where: Prisma.AdminMailboxWebhookEventScalarWhereInput
data: Prisma.XOR<Prisma.AdminMailboxWebhookEventUpdateManyMutationInput, Prisma.AdminMailboxWebhookEventUncheckedUpdateManyWithoutMailboxInput>
}
export type AdminMailboxWebhookEventScalarWhereInput = {
AND?: Prisma.AdminMailboxWebhookEventScalarWhereInput | Prisma.AdminMailboxWebhookEventScalarWhereInput[]
OR?: Prisma.AdminMailboxWebhookEventScalarWhereInput[]
NOT?: Prisma.AdminMailboxWebhookEventScalarWhereInput | Prisma.AdminMailboxWebhookEventScalarWhereInput[]
id?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
createdAt?: Prisma.DateTimeFilter<"AdminMailboxWebhookEvent"> | Date | string
processedAt?: Prisma.DateTimeNullableFilter<"AdminMailboxWebhookEvent"> | Date | string | null
failedAt?: Prisma.DateTimeNullableFilter<"AdminMailboxWebhookEvent"> | Date | string | null
adminUserId?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
mailboxId?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
providerEventId?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
idempotencyKey?: Prisma.StringFilter<"AdminMailboxWebhookEvent"> | string
payload?: Prisma.JsonFilter<"AdminMailboxWebhookEvent">
lastErrorMessageKey?: Prisma.StringNullableFilter<"AdminMailboxWebhookEvent"> | string | null
}
export type AdminMailboxWebhookEventCreateManyMailboxInput = {
id?: string
createdAt?: Date | string
processedAt?: Date | string | null
failedAt?: Date | string | null
adminUserId: string
providerEventId: string
idempotencyKey: string
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: string | null
}
export type AdminMailboxWebhookEventUpdateWithoutMailboxInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminMailboxWebhookEventUncheckedUpdateWithoutMailboxInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminMailboxWebhookEventUncheckedUpdateManyWithoutMailboxInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminMailboxWebhookEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
processedAt?: boolean
failedAt?: boolean
adminUserId?: boolean
mailboxId?: boolean
providerEventId?: boolean
idempotencyKey?: boolean
payload?: boolean
lastErrorMessageKey?: boolean
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminMailboxWebhookEvent"]>
export type AdminMailboxWebhookEventSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
processedAt?: boolean
failedAt?: boolean
adminUserId?: boolean
mailboxId?: boolean
providerEventId?: boolean
idempotencyKey?: boolean
payload?: boolean
lastErrorMessageKey?: boolean
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminMailboxWebhookEvent"]>
export type AdminMailboxWebhookEventSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
processedAt?: boolean
failedAt?: boolean
adminUserId?: boolean
mailboxId?: boolean
providerEventId?: boolean
idempotencyKey?: boolean
payload?: boolean
lastErrorMessageKey?: boolean
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminMailboxWebhookEvent"]>
export type AdminMailboxWebhookEventSelectScalar = {
id?: boolean
createdAt?: boolean
processedAt?: boolean
failedAt?: boolean
adminUserId?: boolean
mailboxId?: boolean
providerEventId?: boolean
idempotencyKey?: boolean
payload?: boolean
lastErrorMessageKey?: boolean
}
export type AdminMailboxWebhookEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "processedAt" | "failedAt" | "adminUserId" | "mailboxId" | "providerEventId" | "idempotencyKey" | "payload" | "lastErrorMessageKey", ExtArgs["result"]["adminMailboxWebhookEvent"]>
export type AdminMailboxWebhookEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}
export type AdminMailboxWebhookEventIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}
export type AdminMailboxWebhookEventIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
mailbox?: boolean | Prisma.AdminMailboxDefaultArgs<ExtArgs>
}
export type $AdminMailboxWebhookEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AdminMailboxWebhookEvent"
objects: {
mailbox: Prisma.$AdminMailboxPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
processedAt: Date | null
failedAt: Date | null
adminUserId: string
mailboxId: string
providerEventId: string
idempotencyKey: string
payload: runtime.JsonValue
lastErrorMessageKey: string | null
}, ExtArgs["result"]["adminMailboxWebhookEvent"]>
composites: {}
}
export type AdminMailboxWebhookEventGetPayload<S extends boolean | null | undefined | AdminMailboxWebhookEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload, S>
export type AdminMailboxWebhookEventCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AdminMailboxWebhookEventFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AdminMailboxWebhookEventCountAggregateInputType | true
}
export interface AdminMailboxWebhookEventDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminMailboxWebhookEvent'], meta: { name: 'AdminMailboxWebhookEvent' } }
/**
* Find zero or one AdminMailboxWebhookEvent that matches the filter.
* @param {AdminMailboxWebhookEventFindUniqueArgs} args - Arguments to find a AdminMailboxWebhookEvent
* @example
* // Get one AdminMailboxWebhookEvent
* const adminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AdminMailboxWebhookEventFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminMailboxWebhookEventFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AdminMailboxWebhookEvent that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AdminMailboxWebhookEventFindUniqueOrThrowArgs} args - Arguments to find a AdminMailboxWebhookEvent
* @example
* // Get one AdminMailboxWebhookEvent
* const adminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AdminMailboxWebhookEventFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminMailboxWebhookEventFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminMailboxWebhookEvent 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 {AdminMailboxWebhookEventFindFirstArgs} args - Arguments to find a AdminMailboxWebhookEvent
* @example
* // Get one AdminMailboxWebhookEvent
* const adminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AdminMailboxWebhookEventFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminMailboxWebhookEventFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminMailboxWebhookEvent 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 {AdminMailboxWebhookEventFindFirstOrThrowArgs} args - Arguments to find a AdminMailboxWebhookEvent
* @example
* // Get one AdminMailboxWebhookEvent
* const adminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AdminMailboxWebhookEventFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminMailboxWebhookEventFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AdminMailboxWebhookEvents 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 {AdminMailboxWebhookEventFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AdminMailboxWebhookEvents
* const adminMailboxWebhookEvents = await prisma.adminMailboxWebhookEvent.findMany()
*
* // Get first 10 AdminMailboxWebhookEvents
* const adminMailboxWebhookEvents = await prisma.adminMailboxWebhookEvent.findMany({ take: 10 })
*
* // Only select the `id`
* const adminMailboxWebhookEventWithIdOnly = await prisma.adminMailboxWebhookEvent.findMany({ select: { id: true } })
*
*/
findMany<T extends AdminMailboxWebhookEventFindManyArgs>(args?: Prisma.SelectSubset<T, AdminMailboxWebhookEventFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AdminMailboxWebhookEvent.
* @param {AdminMailboxWebhookEventCreateArgs} args - Arguments to create a AdminMailboxWebhookEvent.
* @example
* // Create one AdminMailboxWebhookEvent
* const AdminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.create({
* data: {
* // ... data to create a AdminMailboxWebhookEvent
* }
* })
*
*/
create<T extends AdminMailboxWebhookEventCreateArgs>(args: Prisma.SelectSubset<T, AdminMailboxWebhookEventCreateArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AdminMailboxWebhookEvents.
* @param {AdminMailboxWebhookEventCreateManyArgs} args - Arguments to create many AdminMailboxWebhookEvents.
* @example
* // Create many AdminMailboxWebhookEvents
* const adminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AdminMailboxWebhookEventCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminMailboxWebhookEventCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AdminMailboxWebhookEvents and returns the data saved in the database.
* @param {AdminMailboxWebhookEventCreateManyAndReturnArgs} args - Arguments to create many AdminMailboxWebhookEvents.
* @example
* // Create many AdminMailboxWebhookEvents
* const adminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AdminMailboxWebhookEvents and only return the `id`
* const adminMailboxWebhookEventWithIdOnly = await prisma.adminMailboxWebhookEvent.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 AdminMailboxWebhookEventCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminMailboxWebhookEventCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AdminMailboxWebhookEvent.
* @param {AdminMailboxWebhookEventDeleteArgs} args - Arguments to delete one AdminMailboxWebhookEvent.
* @example
* // Delete one AdminMailboxWebhookEvent
* const AdminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.delete({
* where: {
* // ... filter to delete one AdminMailboxWebhookEvent
* }
* })
*
*/
delete<T extends AdminMailboxWebhookEventDeleteArgs>(args: Prisma.SelectSubset<T, AdminMailboxWebhookEventDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AdminMailboxWebhookEvent.
* @param {AdminMailboxWebhookEventUpdateArgs} args - Arguments to update one AdminMailboxWebhookEvent.
* @example
* // Update one AdminMailboxWebhookEvent
* const adminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AdminMailboxWebhookEventUpdateArgs>(args: Prisma.SelectSubset<T, AdminMailboxWebhookEventUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AdminMailboxWebhookEvents.
* @param {AdminMailboxWebhookEventDeleteManyArgs} args - Arguments to filter AdminMailboxWebhookEvents to delete.
* @example
* // Delete a few AdminMailboxWebhookEvents
* const { count } = await prisma.adminMailboxWebhookEvent.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AdminMailboxWebhookEventDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminMailboxWebhookEventDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminMailboxWebhookEvents.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminMailboxWebhookEventUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AdminMailboxWebhookEvents
* const adminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AdminMailboxWebhookEventUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminMailboxWebhookEventUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminMailboxWebhookEvents and returns the data updated in the database.
* @param {AdminMailboxWebhookEventUpdateManyAndReturnArgs} args - Arguments to update many AdminMailboxWebhookEvents.
* @example
* // Update many AdminMailboxWebhookEvents
* const adminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AdminMailboxWebhookEvents and only return the `id`
* const adminMailboxWebhookEventWithIdOnly = await prisma.adminMailboxWebhookEvent.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 AdminMailboxWebhookEventUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminMailboxWebhookEventUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AdminMailboxWebhookEvent.
* @param {AdminMailboxWebhookEventUpsertArgs} args - Arguments to update or create a AdminMailboxWebhookEvent.
* @example
* // Update or create a AdminMailboxWebhookEvent
* const adminMailboxWebhookEvent = await prisma.adminMailboxWebhookEvent.upsert({
* create: {
* // ... data to create a AdminMailboxWebhookEvent
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AdminMailboxWebhookEvent we want to update
* }
* })
*/
upsert<T extends AdminMailboxWebhookEventUpsertArgs>(args: Prisma.SelectSubset<T, AdminMailboxWebhookEventUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxWebhookEventPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AdminMailboxWebhookEvents.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminMailboxWebhookEventCountArgs} args - Arguments to filter AdminMailboxWebhookEvents to count.
* @example
* // Count the number of AdminMailboxWebhookEvents
* const count = await prisma.adminMailboxWebhookEvent.count({
* where: {
* // ... the filter for the AdminMailboxWebhookEvents we want to count
* }
* })
**/
count<T extends AdminMailboxWebhookEventCountArgs>(
args?: Prisma.Subset<T, AdminMailboxWebhookEventCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AdminMailboxWebhookEventCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AdminMailboxWebhookEvent.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminMailboxWebhookEventAggregateArgs} 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 AdminMailboxWebhookEventAggregateArgs>(args: Prisma.Subset<T, AdminMailboxWebhookEventAggregateArgs>): Prisma.PrismaPromise<GetAdminMailboxWebhookEventAggregateType<T>>
/**
* Group by AdminMailboxWebhookEvent.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminMailboxWebhookEventGroupByArgs} 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 AdminMailboxWebhookEventGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AdminMailboxWebhookEventGroupByArgs['orderBy'] }
: { orderBy?: AdminMailboxWebhookEventGroupByArgs['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, AdminMailboxWebhookEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminMailboxWebhookEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AdminMailboxWebhookEvent model
*/
readonly fields: AdminMailboxWebhookEventFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AdminMailboxWebhookEvent.
* 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__AdminMailboxWebhookEventClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
mailbox<T extends Prisma.AdminMailboxDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminMailboxDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminMailboxClient<runtime.Types.Result.GetResult<Prisma.$AdminMailboxPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the AdminMailboxWebhookEvent model
*/
export interface AdminMailboxWebhookEventFieldRefs {
readonly id: Prisma.FieldRef<"AdminMailboxWebhookEvent", 'String'>
readonly createdAt: Prisma.FieldRef<"AdminMailboxWebhookEvent", 'DateTime'>
readonly processedAt: Prisma.FieldRef<"AdminMailboxWebhookEvent", 'DateTime'>
readonly failedAt: Prisma.FieldRef<"AdminMailboxWebhookEvent", 'DateTime'>
readonly adminUserId: Prisma.FieldRef<"AdminMailboxWebhookEvent", 'String'>
readonly mailboxId: Prisma.FieldRef<"AdminMailboxWebhookEvent", 'String'>
readonly providerEventId: Prisma.FieldRef<"AdminMailboxWebhookEvent", 'String'>
readonly idempotencyKey: Prisma.FieldRef<"AdminMailboxWebhookEvent", 'String'>
readonly payload: Prisma.FieldRef<"AdminMailboxWebhookEvent", 'Json'>
readonly lastErrorMessageKey: Prisma.FieldRef<"AdminMailboxWebhookEvent", 'String'>
}
// Custom InputTypes
/**
* AdminMailboxWebhookEvent findUnique
*/
export type AdminMailboxWebhookEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventInclude<ExtArgs> | null
/**
* Filter, which AdminMailboxWebhookEvent to fetch.
*/
where: Prisma.AdminMailboxWebhookEventWhereUniqueInput
}
/**
* AdminMailboxWebhookEvent findUniqueOrThrow
*/
export type AdminMailboxWebhookEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventInclude<ExtArgs> | null
/**
* Filter, which AdminMailboxWebhookEvent to fetch.
*/
where: Prisma.AdminMailboxWebhookEventWhereUniqueInput
}
/**
* AdminMailboxWebhookEvent findFirst
*/
export type AdminMailboxWebhookEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventInclude<ExtArgs> | null
/**
* Filter, which AdminMailboxWebhookEvent to fetch.
*/
where?: Prisma.AdminMailboxWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminMailboxWebhookEvents to fetch.
*/
orderBy?: Prisma.AdminMailboxWebhookEventOrderByWithRelationInput | Prisma.AdminMailboxWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminMailboxWebhookEvents.
*/
cursor?: Prisma.AdminMailboxWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminMailboxWebhookEvents 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` AdminMailboxWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminMailboxWebhookEvents.
*/
distinct?: Prisma.AdminMailboxWebhookEventScalarFieldEnum | Prisma.AdminMailboxWebhookEventScalarFieldEnum[]
}
/**
* AdminMailboxWebhookEvent findFirstOrThrow
*/
export type AdminMailboxWebhookEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventInclude<ExtArgs> | null
/**
* Filter, which AdminMailboxWebhookEvent to fetch.
*/
where?: Prisma.AdminMailboxWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminMailboxWebhookEvents to fetch.
*/
orderBy?: Prisma.AdminMailboxWebhookEventOrderByWithRelationInput | Prisma.AdminMailboxWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminMailboxWebhookEvents.
*/
cursor?: Prisma.AdminMailboxWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminMailboxWebhookEvents 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` AdminMailboxWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminMailboxWebhookEvents.
*/
distinct?: Prisma.AdminMailboxWebhookEventScalarFieldEnum | Prisma.AdminMailboxWebhookEventScalarFieldEnum[]
}
/**
* AdminMailboxWebhookEvent findMany
*/
export type AdminMailboxWebhookEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventInclude<ExtArgs> | null
/**
* Filter, which AdminMailboxWebhookEvents to fetch.
*/
where?: Prisma.AdminMailboxWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminMailboxWebhookEvents to fetch.
*/
orderBy?: Prisma.AdminMailboxWebhookEventOrderByWithRelationInput | Prisma.AdminMailboxWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AdminMailboxWebhookEvents.
*/
cursor?: Prisma.AdminMailboxWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminMailboxWebhookEvents 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` AdminMailboxWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminMailboxWebhookEvents.
*/
distinct?: Prisma.AdminMailboxWebhookEventScalarFieldEnum | Prisma.AdminMailboxWebhookEventScalarFieldEnum[]
}
/**
* AdminMailboxWebhookEvent create
*/
export type AdminMailboxWebhookEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventInclude<ExtArgs> | null
/**
* The data needed to create a AdminMailboxWebhookEvent.
*/
data: Prisma.XOR<Prisma.AdminMailboxWebhookEventCreateInput, Prisma.AdminMailboxWebhookEventUncheckedCreateInput>
}
/**
* AdminMailboxWebhookEvent createMany
*/
export type AdminMailboxWebhookEventCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AdminMailboxWebhookEvents.
*/
data: Prisma.AdminMailboxWebhookEventCreateManyInput | Prisma.AdminMailboxWebhookEventCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AdminMailboxWebhookEvent createManyAndReturn
*/
export type AdminMailboxWebhookEventCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* The data used to create many AdminMailboxWebhookEvents.
*/
data: Prisma.AdminMailboxWebhookEventCreateManyInput | Prisma.AdminMailboxWebhookEventCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AdminMailboxWebhookEvent update
*/
export type AdminMailboxWebhookEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventInclude<ExtArgs> | null
/**
* The data needed to update a AdminMailboxWebhookEvent.
*/
data: Prisma.XOR<Prisma.AdminMailboxWebhookEventUpdateInput, Prisma.AdminMailboxWebhookEventUncheckedUpdateInput>
/**
* Choose, which AdminMailboxWebhookEvent to update.
*/
where: Prisma.AdminMailboxWebhookEventWhereUniqueInput
}
/**
* AdminMailboxWebhookEvent updateMany
*/
export type AdminMailboxWebhookEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AdminMailboxWebhookEvents.
*/
data: Prisma.XOR<Prisma.AdminMailboxWebhookEventUpdateManyMutationInput, Prisma.AdminMailboxWebhookEventUncheckedUpdateManyInput>
/**
* Filter which AdminMailboxWebhookEvents to update
*/
where?: Prisma.AdminMailboxWebhookEventWhereInput
/**
* Limit how many AdminMailboxWebhookEvents to update.
*/
limit?: number
}
/**
* AdminMailboxWebhookEvent updateManyAndReturn
*/
export type AdminMailboxWebhookEventUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* The data used to update AdminMailboxWebhookEvents.
*/
data: Prisma.XOR<Prisma.AdminMailboxWebhookEventUpdateManyMutationInput, Prisma.AdminMailboxWebhookEventUncheckedUpdateManyInput>
/**
* Filter which AdminMailboxWebhookEvents to update
*/
where?: Prisma.AdminMailboxWebhookEventWhereInput
/**
* Limit how many AdminMailboxWebhookEvents to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* AdminMailboxWebhookEvent upsert
*/
export type AdminMailboxWebhookEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventInclude<ExtArgs> | null
/**
* The filter to search for the AdminMailboxWebhookEvent to update in case it exists.
*/
where: Prisma.AdminMailboxWebhookEventWhereUniqueInput
/**
* In case the AdminMailboxWebhookEvent found by the `where` argument doesn't exist, create a new AdminMailboxWebhookEvent with this data.
*/
create: Prisma.XOR<Prisma.AdminMailboxWebhookEventCreateInput, Prisma.AdminMailboxWebhookEventUncheckedCreateInput>
/**
* In case the AdminMailboxWebhookEvent was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AdminMailboxWebhookEventUpdateInput, Prisma.AdminMailboxWebhookEventUncheckedUpdateInput>
}
/**
* AdminMailboxWebhookEvent delete
*/
export type AdminMailboxWebhookEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventInclude<ExtArgs> | null
/**
* Filter which AdminMailboxWebhookEvent to delete.
*/
where: Prisma.AdminMailboxWebhookEventWhereUniqueInput
}
/**
* AdminMailboxWebhookEvent deleteMany
*/
export type AdminMailboxWebhookEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminMailboxWebhookEvents to delete
*/
where?: Prisma.AdminMailboxWebhookEventWhereInput
/**
* Limit how many AdminMailboxWebhookEvents to delete.
*/
limit?: number
}
/**
* AdminMailboxWebhookEvent without action
*/
export type AdminMailboxWebhookEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminMailboxWebhookEvent
*/
select?: Prisma.AdminMailboxWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminMailboxWebhookEvent
*/
omit?: Prisma.AdminMailboxWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminMailboxWebhookEventInclude<ExtArgs> | null
}