/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateAdminMailboxWebhookEvent]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AdminMailboxWebhookEventGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AdminMailboxWebhookEventGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 } 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 }, "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[] connectOrCreate?: Prisma.AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput | Prisma.AdminMailboxWebhookEventCreateOrConnectWithoutMailboxInput[] createMany?: Prisma.AdminMailboxWebhookEventCreateManyMailboxInputEnvelope connect?: Prisma.AdminMailboxWebhookEventWhereUniqueInput | Prisma.AdminMailboxWebhookEventWhereUniqueInput[] } export type AdminMailboxWebhookEventUncheckedCreateNestedManyWithoutMailboxInput = { create?: Prisma.XOR | 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[] 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[] 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 } export type AdminMailboxWebhookEventCreateManyMailboxInputEnvelope = { data: Prisma.AdminMailboxWebhookEventCreateManyMailboxInput | Prisma.AdminMailboxWebhookEventCreateManyMailboxInput[] skipDuplicates?: boolean } export type AdminMailboxWebhookEventUpsertWithWhereUniqueWithoutMailboxInput = { where: Prisma.AdminMailboxWebhookEventWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminMailboxWebhookEventUpdateWithWhereUniqueWithoutMailboxInput = { where: Prisma.AdminMailboxWebhookEventWhereUniqueInput data: Prisma.XOR } export type AdminMailboxWebhookEventUpdateManyWithWhereWithoutMailboxInput = { where: Prisma.AdminMailboxWebhookEventScalarWhereInput data: Prisma.XOR } 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 = 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["result"]["adminMailboxWebhookEvent"]> export type AdminMailboxWebhookEventSelectCreateManyAndReturn = 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["result"]["adminMailboxWebhookEvent"]> export type AdminMailboxWebhookEventSelectUpdateManyAndReturn = 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["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 = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "processedAt" | "failedAt" | "adminUserId" | "mailboxId" | "providerEventId" | "idempotencyKey" | "payload" | "lastErrorMessageKey", ExtArgs["result"]["adminMailboxWebhookEvent"]> export type AdminMailboxWebhookEventInclude = { mailbox?: boolean | Prisma.AdminMailboxDefaultArgs } export type AdminMailboxWebhookEventIncludeCreateManyAndReturn = { mailbox?: boolean | Prisma.AdminMailboxDefaultArgs } export type AdminMailboxWebhookEventIncludeUpdateManyAndReturn = { mailbox?: boolean | Prisma.AdminMailboxDefaultArgs } export type $AdminMailboxWebhookEventPayload = { name: "AdminMailboxWebhookEvent" objects: { mailbox: Prisma.$AdminMailboxPayload } 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 = runtime.Types.Result.GetResult export type AdminMailboxWebhookEventCountArgs = Omit & { select?: AdminMailboxWebhookEventCountAggregateInputType | true } export interface AdminMailboxWebhookEventDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminMailboxWebhookEventClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminMailboxWebhookEventClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminMailboxWebhookEventClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminMailboxWebhookEventClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminMailboxWebhookEventClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminMailboxWebhookEventClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminMailboxWebhookEventClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminMailboxWebhookEventClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AdminMailboxWebhookEventGroupByArgs['orderBy'] } : { orderBy?: AdminMailboxWebhookEventGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetAdminMailboxWebhookEventGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" mailbox = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminMailboxClient, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelect | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminMailboxWebhookEventInclude | null /** * Filter, which AdminMailboxWebhookEvent to fetch. */ where: Prisma.AdminMailboxWebhookEventWhereUniqueInput } /** * AdminMailboxWebhookEvent findUniqueOrThrow */ export type AdminMailboxWebhookEventFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelect | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminMailboxWebhookEventInclude | null /** * Filter, which AdminMailboxWebhookEvent to fetch. */ where: Prisma.AdminMailboxWebhookEventWhereUniqueInput } /** * AdminMailboxWebhookEvent findFirst */ export type AdminMailboxWebhookEventFindFirstArgs = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelect | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminMailboxWebhookEventInclude | 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 = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelect | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminMailboxWebhookEventInclude | 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 = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelect | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminMailboxWebhookEventInclude | 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 = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelect | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminMailboxWebhookEventInclude | null /** * The data needed to create a AdminMailboxWebhookEvent. */ data: Prisma.XOR } /** * AdminMailboxWebhookEvent createMany */ export type AdminMailboxWebhookEventCreateManyArgs = { /** * The data used to create many AdminMailboxWebhookEvents. */ data: Prisma.AdminMailboxWebhookEventCreateManyInput | Prisma.AdminMailboxWebhookEventCreateManyInput[] skipDuplicates?: boolean } /** * AdminMailboxWebhookEvent createManyAndReturn */ export type AdminMailboxWebhookEventCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelectCreateManyAndReturn | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | 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 | null } /** * AdminMailboxWebhookEvent update */ export type AdminMailboxWebhookEventUpdateArgs = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelect | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminMailboxWebhookEventInclude | null /** * The data needed to update a AdminMailboxWebhookEvent. */ data: Prisma.XOR /** * Choose, which AdminMailboxWebhookEvent to update. */ where: Prisma.AdminMailboxWebhookEventWhereUniqueInput } /** * AdminMailboxWebhookEvent updateMany */ export type AdminMailboxWebhookEventUpdateManyArgs = { /** * The data used to update AdminMailboxWebhookEvents. */ data: Prisma.XOR /** * Filter which AdminMailboxWebhookEvents to update */ where?: Prisma.AdminMailboxWebhookEventWhereInput /** * Limit how many AdminMailboxWebhookEvents to update. */ limit?: number } /** * AdminMailboxWebhookEvent updateManyAndReturn */ export type AdminMailboxWebhookEventUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelectUpdateManyAndReturn | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * The data used to update AdminMailboxWebhookEvents. */ data: Prisma.XOR /** * 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 | null } /** * AdminMailboxWebhookEvent upsert */ export type AdminMailboxWebhookEventUpsertArgs = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelect | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminMailboxWebhookEventInclude | 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 /** * In case the AdminMailboxWebhookEvent was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AdminMailboxWebhookEvent delete */ export type AdminMailboxWebhookEventDeleteArgs = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelect | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminMailboxWebhookEventInclude | null /** * Filter which AdminMailboxWebhookEvent to delete. */ where: Prisma.AdminMailboxWebhookEventWhereUniqueInput } /** * AdminMailboxWebhookEvent deleteMany */ export type AdminMailboxWebhookEventDeleteManyArgs = { /** * Filter which AdminMailboxWebhookEvents to delete */ where?: Prisma.AdminMailboxWebhookEventWhereInput /** * Limit how many AdminMailboxWebhookEvents to delete. */ limit?: number } /** * AdminMailboxWebhookEvent without action */ export type AdminMailboxWebhookEventDefaultArgs = { /** * Select specific fields to fetch from the AdminMailboxWebhookEvent */ select?: Prisma.AdminMailboxWebhookEventSelect | null /** * Omit specific fields from the AdminMailboxWebhookEvent */ omit?: Prisma.AdminMailboxWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminMailboxWebhookEventInclude | null }