/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `CalendarWebhookEvent` 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 CalendarWebhookEvent * Persisted inbound webhook notification (idempotency + retry, M25 Block E). * A fast 200 is returned to the provider; a worker drains `pending` rows. */ export type CalendarWebhookEventModel = runtime.Types.Result.DefaultSelection export type AggregateCalendarWebhookEvent = { _count: CalendarWebhookEventCountAggregateOutputType | null _min: CalendarWebhookEventMinAggregateOutputType | null _max: CalendarWebhookEventMaxAggregateOutputType | null } export type CalendarWebhookEventMinAggregateOutputType = { id: string | null receivedAt: Date | null tenantId: string | null connectionId: string | null provider: $Enums.CalendarProvider | null processingStatus: $Enums.CalendarWebhookProcessingStatus | null processingErrorText: string | null processedAt: Date | null externalResourceState: string | null } export type CalendarWebhookEventMaxAggregateOutputType = { id: string | null receivedAt: Date | null tenantId: string | null connectionId: string | null provider: $Enums.CalendarProvider | null processingStatus: $Enums.CalendarWebhookProcessingStatus | null processingErrorText: string | null processedAt: Date | null externalResourceState: string | null } export type CalendarWebhookEventCountAggregateOutputType = { id: number receivedAt: number tenantId: number connectionId: number provider: number notificationPayload: number processingStatus: number processingErrorText: number processedAt: number externalResourceState: number _all: number } export type CalendarWebhookEventMinAggregateInputType = { id?: true receivedAt?: true tenantId?: true connectionId?: true provider?: true processingStatus?: true processingErrorText?: true processedAt?: true externalResourceState?: true } export type CalendarWebhookEventMaxAggregateInputType = { id?: true receivedAt?: true tenantId?: true connectionId?: true provider?: true processingStatus?: true processingErrorText?: true processedAt?: true externalResourceState?: true } export type CalendarWebhookEventCountAggregateInputType = { id?: true receivedAt?: true tenantId?: true connectionId?: true provider?: true notificationPayload?: true processingStatus?: true processingErrorText?: true processedAt?: true externalResourceState?: true _all?: true } export type CalendarWebhookEventAggregateArgs = { /** * Filter which CalendarWebhookEvent to aggregate. */ where?: Prisma.CalendarWebhookEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CalendarWebhookEvents to fetch. */ orderBy?: Prisma.CalendarWebhookEventOrderByWithRelationInput | Prisma.CalendarWebhookEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.CalendarWebhookEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CalendarWebhookEvents 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` CalendarWebhookEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CalendarWebhookEvents **/ _count?: true | CalendarWebhookEventCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CalendarWebhookEventMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CalendarWebhookEventMaxAggregateInputType } export type GetCalendarWebhookEventAggregateType = { [P in keyof T & keyof AggregateCalendarWebhookEvent]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type CalendarWebhookEventGroupByArgs = { where?: Prisma.CalendarWebhookEventWhereInput orderBy?: Prisma.CalendarWebhookEventOrderByWithAggregationInput | Prisma.CalendarWebhookEventOrderByWithAggregationInput[] by: Prisma.CalendarWebhookEventScalarFieldEnum[] | Prisma.CalendarWebhookEventScalarFieldEnum having?: Prisma.CalendarWebhookEventScalarWhereWithAggregatesInput take?: number skip?: number _count?: CalendarWebhookEventCountAggregateInputType | true _min?: CalendarWebhookEventMinAggregateInputType _max?: CalendarWebhookEventMaxAggregateInputType } export type CalendarWebhookEventGroupByOutputType = { id: string receivedAt: Date tenantId: string connectionId: string provider: $Enums.CalendarProvider notificationPayload: runtime.JsonValue processingStatus: $Enums.CalendarWebhookProcessingStatus processingErrorText: string | null processedAt: Date | null externalResourceState: string | null _count: CalendarWebhookEventCountAggregateOutputType | null _min: CalendarWebhookEventMinAggregateOutputType | null _max: CalendarWebhookEventMaxAggregateOutputType | null } export type GetCalendarWebhookEventGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof CalendarWebhookEventGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type CalendarWebhookEventWhereInput = { AND?: Prisma.CalendarWebhookEventWhereInput | Prisma.CalendarWebhookEventWhereInput[] OR?: Prisma.CalendarWebhookEventWhereInput[] NOT?: Prisma.CalendarWebhookEventWhereInput | Prisma.CalendarWebhookEventWhereInput[] id?: Prisma.StringFilter<"CalendarWebhookEvent"> | string receivedAt?: Prisma.DateTimeFilter<"CalendarWebhookEvent"> | Date | string tenantId?: Prisma.StringFilter<"CalendarWebhookEvent"> | string connectionId?: Prisma.StringFilter<"CalendarWebhookEvent"> | string provider?: Prisma.EnumCalendarProviderFilter<"CalendarWebhookEvent"> | $Enums.CalendarProvider notificationPayload?: Prisma.JsonFilter<"CalendarWebhookEvent"> processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusFilter<"CalendarWebhookEvent"> | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.StringNullableFilter<"CalendarWebhookEvent"> | string | null processedAt?: Prisma.DateTimeNullableFilter<"CalendarWebhookEvent"> | Date | string | null externalResourceState?: Prisma.StringNullableFilter<"CalendarWebhookEvent"> | string | null connection?: Prisma.XOR } export type CalendarWebhookEventOrderByWithRelationInput = { id?: Prisma.SortOrder receivedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder connectionId?: Prisma.SortOrder provider?: Prisma.SortOrder notificationPayload?: Prisma.SortOrder processingStatus?: Prisma.SortOrder processingErrorText?: Prisma.SortOrderInput | Prisma.SortOrder processedAt?: Prisma.SortOrderInput | Prisma.SortOrder externalResourceState?: Prisma.SortOrderInput | Prisma.SortOrder connection?: Prisma.CalendarConnectionOrderByWithRelationInput } export type CalendarWebhookEventWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.CalendarWebhookEventWhereInput | Prisma.CalendarWebhookEventWhereInput[] OR?: Prisma.CalendarWebhookEventWhereInput[] NOT?: Prisma.CalendarWebhookEventWhereInput | Prisma.CalendarWebhookEventWhereInput[] receivedAt?: Prisma.DateTimeFilter<"CalendarWebhookEvent"> | Date | string tenantId?: Prisma.StringFilter<"CalendarWebhookEvent"> | string connectionId?: Prisma.StringFilter<"CalendarWebhookEvent"> | string provider?: Prisma.EnumCalendarProviderFilter<"CalendarWebhookEvent"> | $Enums.CalendarProvider notificationPayload?: Prisma.JsonFilter<"CalendarWebhookEvent"> processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusFilter<"CalendarWebhookEvent"> | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.StringNullableFilter<"CalendarWebhookEvent"> | string | null processedAt?: Prisma.DateTimeNullableFilter<"CalendarWebhookEvent"> | Date | string | null externalResourceState?: Prisma.StringNullableFilter<"CalendarWebhookEvent"> | string | null connection?: Prisma.XOR }, "id"> export type CalendarWebhookEventOrderByWithAggregationInput = { id?: Prisma.SortOrder receivedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder connectionId?: Prisma.SortOrder provider?: Prisma.SortOrder notificationPayload?: Prisma.SortOrder processingStatus?: Prisma.SortOrder processingErrorText?: Prisma.SortOrderInput | Prisma.SortOrder processedAt?: Prisma.SortOrderInput | Prisma.SortOrder externalResourceState?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.CalendarWebhookEventCountOrderByAggregateInput _max?: Prisma.CalendarWebhookEventMaxOrderByAggregateInput _min?: Prisma.CalendarWebhookEventMinOrderByAggregateInput } export type CalendarWebhookEventScalarWhereWithAggregatesInput = { AND?: Prisma.CalendarWebhookEventScalarWhereWithAggregatesInput | Prisma.CalendarWebhookEventScalarWhereWithAggregatesInput[] OR?: Prisma.CalendarWebhookEventScalarWhereWithAggregatesInput[] NOT?: Prisma.CalendarWebhookEventScalarWhereWithAggregatesInput | Prisma.CalendarWebhookEventScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"CalendarWebhookEvent"> | string receivedAt?: Prisma.DateTimeWithAggregatesFilter<"CalendarWebhookEvent"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"CalendarWebhookEvent"> | string connectionId?: Prisma.StringWithAggregatesFilter<"CalendarWebhookEvent"> | string provider?: Prisma.EnumCalendarProviderWithAggregatesFilter<"CalendarWebhookEvent"> | $Enums.CalendarProvider notificationPayload?: Prisma.JsonWithAggregatesFilter<"CalendarWebhookEvent"> processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusWithAggregatesFilter<"CalendarWebhookEvent"> | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.StringNullableWithAggregatesFilter<"CalendarWebhookEvent"> | string | null processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"CalendarWebhookEvent"> | Date | string | null externalResourceState?: Prisma.StringNullableWithAggregatesFilter<"CalendarWebhookEvent"> | string | null } export type CalendarWebhookEventCreateInput = { id?: string receivedAt?: Date | string tenantId: string provider: $Enums.CalendarProvider notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: $Enums.CalendarWebhookProcessingStatus processingErrorText?: string | null processedAt?: Date | string | null externalResourceState?: string | null connection: Prisma.CalendarConnectionCreateNestedOneWithoutWebhookEventsInput } export type CalendarWebhookEventUncheckedCreateInput = { id?: string receivedAt?: Date | string tenantId: string connectionId: string provider: $Enums.CalendarProvider notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: $Enums.CalendarWebhookProcessingStatus processingErrorText?: string | null processedAt?: Date | string | null externalResourceState?: string | null } export type CalendarWebhookEventUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.EnumCalendarProviderFieldUpdateOperationsInput | $Enums.CalendarProvider notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null externalResourceState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null connection?: Prisma.CalendarConnectionUpdateOneRequiredWithoutWebhookEventsNestedInput } export type CalendarWebhookEventUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string connectionId?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.EnumCalendarProviderFieldUpdateOperationsInput | $Enums.CalendarProvider notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null externalResourceState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type CalendarWebhookEventCreateManyInput = { id?: string receivedAt?: Date | string tenantId: string connectionId: string provider: $Enums.CalendarProvider notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: $Enums.CalendarWebhookProcessingStatus processingErrorText?: string | null processedAt?: Date | string | null externalResourceState?: string | null } export type CalendarWebhookEventUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.EnumCalendarProviderFieldUpdateOperationsInput | $Enums.CalendarProvider notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null externalResourceState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type CalendarWebhookEventUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string connectionId?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.EnumCalendarProviderFieldUpdateOperationsInput | $Enums.CalendarProvider notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null externalResourceState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type CalendarWebhookEventListRelationFilter = { every?: Prisma.CalendarWebhookEventWhereInput some?: Prisma.CalendarWebhookEventWhereInput none?: Prisma.CalendarWebhookEventWhereInput } export type CalendarWebhookEventOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type CalendarWebhookEventCountOrderByAggregateInput = { id?: Prisma.SortOrder receivedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder connectionId?: Prisma.SortOrder provider?: Prisma.SortOrder notificationPayload?: Prisma.SortOrder processingStatus?: Prisma.SortOrder processingErrorText?: Prisma.SortOrder processedAt?: Prisma.SortOrder externalResourceState?: Prisma.SortOrder } export type CalendarWebhookEventMaxOrderByAggregateInput = { id?: Prisma.SortOrder receivedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder connectionId?: Prisma.SortOrder provider?: Prisma.SortOrder processingStatus?: Prisma.SortOrder processingErrorText?: Prisma.SortOrder processedAt?: Prisma.SortOrder externalResourceState?: Prisma.SortOrder } export type CalendarWebhookEventMinOrderByAggregateInput = { id?: Prisma.SortOrder receivedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder connectionId?: Prisma.SortOrder provider?: Prisma.SortOrder processingStatus?: Prisma.SortOrder processingErrorText?: Prisma.SortOrder processedAt?: Prisma.SortOrder externalResourceState?: Prisma.SortOrder } export type CalendarWebhookEventCreateNestedManyWithoutConnectionInput = { create?: Prisma.XOR | Prisma.CalendarWebhookEventCreateWithoutConnectionInput[] | Prisma.CalendarWebhookEventUncheckedCreateWithoutConnectionInput[] connectOrCreate?: Prisma.CalendarWebhookEventCreateOrConnectWithoutConnectionInput | Prisma.CalendarWebhookEventCreateOrConnectWithoutConnectionInput[] createMany?: Prisma.CalendarWebhookEventCreateManyConnectionInputEnvelope connect?: Prisma.CalendarWebhookEventWhereUniqueInput | Prisma.CalendarWebhookEventWhereUniqueInput[] } export type CalendarWebhookEventUncheckedCreateNestedManyWithoutConnectionInput = { create?: Prisma.XOR | Prisma.CalendarWebhookEventCreateWithoutConnectionInput[] | Prisma.CalendarWebhookEventUncheckedCreateWithoutConnectionInput[] connectOrCreate?: Prisma.CalendarWebhookEventCreateOrConnectWithoutConnectionInput | Prisma.CalendarWebhookEventCreateOrConnectWithoutConnectionInput[] createMany?: Prisma.CalendarWebhookEventCreateManyConnectionInputEnvelope connect?: Prisma.CalendarWebhookEventWhereUniqueInput | Prisma.CalendarWebhookEventWhereUniqueInput[] } export type CalendarWebhookEventUpdateManyWithoutConnectionNestedInput = { create?: Prisma.XOR | Prisma.CalendarWebhookEventCreateWithoutConnectionInput[] | Prisma.CalendarWebhookEventUncheckedCreateWithoutConnectionInput[] connectOrCreate?: Prisma.CalendarWebhookEventCreateOrConnectWithoutConnectionInput | Prisma.CalendarWebhookEventCreateOrConnectWithoutConnectionInput[] upsert?: Prisma.CalendarWebhookEventUpsertWithWhereUniqueWithoutConnectionInput | Prisma.CalendarWebhookEventUpsertWithWhereUniqueWithoutConnectionInput[] createMany?: Prisma.CalendarWebhookEventCreateManyConnectionInputEnvelope set?: Prisma.CalendarWebhookEventWhereUniqueInput | Prisma.CalendarWebhookEventWhereUniqueInput[] disconnect?: Prisma.CalendarWebhookEventWhereUniqueInput | Prisma.CalendarWebhookEventWhereUniqueInput[] delete?: Prisma.CalendarWebhookEventWhereUniqueInput | Prisma.CalendarWebhookEventWhereUniqueInput[] connect?: Prisma.CalendarWebhookEventWhereUniqueInput | Prisma.CalendarWebhookEventWhereUniqueInput[] update?: Prisma.CalendarWebhookEventUpdateWithWhereUniqueWithoutConnectionInput | Prisma.CalendarWebhookEventUpdateWithWhereUniqueWithoutConnectionInput[] updateMany?: Prisma.CalendarWebhookEventUpdateManyWithWhereWithoutConnectionInput | Prisma.CalendarWebhookEventUpdateManyWithWhereWithoutConnectionInput[] deleteMany?: Prisma.CalendarWebhookEventScalarWhereInput | Prisma.CalendarWebhookEventScalarWhereInput[] } export type CalendarWebhookEventUncheckedUpdateManyWithoutConnectionNestedInput = { create?: Prisma.XOR | Prisma.CalendarWebhookEventCreateWithoutConnectionInput[] | Prisma.CalendarWebhookEventUncheckedCreateWithoutConnectionInput[] connectOrCreate?: Prisma.CalendarWebhookEventCreateOrConnectWithoutConnectionInput | Prisma.CalendarWebhookEventCreateOrConnectWithoutConnectionInput[] upsert?: Prisma.CalendarWebhookEventUpsertWithWhereUniqueWithoutConnectionInput | Prisma.CalendarWebhookEventUpsertWithWhereUniqueWithoutConnectionInput[] createMany?: Prisma.CalendarWebhookEventCreateManyConnectionInputEnvelope set?: Prisma.CalendarWebhookEventWhereUniqueInput | Prisma.CalendarWebhookEventWhereUniqueInput[] disconnect?: Prisma.CalendarWebhookEventWhereUniqueInput | Prisma.CalendarWebhookEventWhereUniqueInput[] delete?: Prisma.CalendarWebhookEventWhereUniqueInput | Prisma.CalendarWebhookEventWhereUniqueInput[] connect?: Prisma.CalendarWebhookEventWhereUniqueInput | Prisma.CalendarWebhookEventWhereUniqueInput[] update?: Prisma.CalendarWebhookEventUpdateWithWhereUniqueWithoutConnectionInput | Prisma.CalendarWebhookEventUpdateWithWhereUniqueWithoutConnectionInput[] updateMany?: Prisma.CalendarWebhookEventUpdateManyWithWhereWithoutConnectionInput | Prisma.CalendarWebhookEventUpdateManyWithWhereWithoutConnectionInput[] deleteMany?: Prisma.CalendarWebhookEventScalarWhereInput | Prisma.CalendarWebhookEventScalarWhereInput[] } export type EnumCalendarWebhookProcessingStatusFieldUpdateOperationsInput = { set?: $Enums.CalendarWebhookProcessingStatus } export type CalendarWebhookEventCreateWithoutConnectionInput = { id?: string receivedAt?: Date | string tenantId: string provider: $Enums.CalendarProvider notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: $Enums.CalendarWebhookProcessingStatus processingErrorText?: string | null processedAt?: Date | string | null externalResourceState?: string | null } export type CalendarWebhookEventUncheckedCreateWithoutConnectionInput = { id?: string receivedAt?: Date | string tenantId: string provider: $Enums.CalendarProvider notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: $Enums.CalendarWebhookProcessingStatus processingErrorText?: string | null processedAt?: Date | string | null externalResourceState?: string | null } export type CalendarWebhookEventCreateOrConnectWithoutConnectionInput = { where: Prisma.CalendarWebhookEventWhereUniqueInput create: Prisma.XOR } export type CalendarWebhookEventCreateManyConnectionInputEnvelope = { data: Prisma.CalendarWebhookEventCreateManyConnectionInput | Prisma.CalendarWebhookEventCreateManyConnectionInput[] skipDuplicates?: boolean } export type CalendarWebhookEventUpsertWithWhereUniqueWithoutConnectionInput = { where: Prisma.CalendarWebhookEventWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type CalendarWebhookEventUpdateWithWhereUniqueWithoutConnectionInput = { where: Prisma.CalendarWebhookEventWhereUniqueInput data: Prisma.XOR } export type CalendarWebhookEventUpdateManyWithWhereWithoutConnectionInput = { where: Prisma.CalendarWebhookEventScalarWhereInput data: Prisma.XOR } export type CalendarWebhookEventScalarWhereInput = { AND?: Prisma.CalendarWebhookEventScalarWhereInput | Prisma.CalendarWebhookEventScalarWhereInput[] OR?: Prisma.CalendarWebhookEventScalarWhereInput[] NOT?: Prisma.CalendarWebhookEventScalarWhereInput | Prisma.CalendarWebhookEventScalarWhereInput[] id?: Prisma.StringFilter<"CalendarWebhookEvent"> | string receivedAt?: Prisma.DateTimeFilter<"CalendarWebhookEvent"> | Date | string tenantId?: Prisma.StringFilter<"CalendarWebhookEvent"> | string connectionId?: Prisma.StringFilter<"CalendarWebhookEvent"> | string provider?: Prisma.EnumCalendarProviderFilter<"CalendarWebhookEvent"> | $Enums.CalendarProvider notificationPayload?: Prisma.JsonFilter<"CalendarWebhookEvent"> processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusFilter<"CalendarWebhookEvent"> | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.StringNullableFilter<"CalendarWebhookEvent"> | string | null processedAt?: Prisma.DateTimeNullableFilter<"CalendarWebhookEvent"> | Date | string | null externalResourceState?: Prisma.StringNullableFilter<"CalendarWebhookEvent"> | string | null } export type CalendarWebhookEventCreateManyConnectionInput = { id?: string receivedAt?: Date | string tenantId: string provider: $Enums.CalendarProvider notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: $Enums.CalendarWebhookProcessingStatus processingErrorText?: string | null processedAt?: Date | string | null externalResourceState?: string | null } export type CalendarWebhookEventUpdateWithoutConnectionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.EnumCalendarProviderFieldUpdateOperationsInput | $Enums.CalendarProvider notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null externalResourceState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type CalendarWebhookEventUncheckedUpdateWithoutConnectionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.EnumCalendarProviderFieldUpdateOperationsInput | $Enums.CalendarProvider notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null externalResourceState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type CalendarWebhookEventUncheckedUpdateManyWithoutConnectionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.EnumCalendarProviderFieldUpdateOperationsInput | $Enums.CalendarProvider notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue processingStatus?: Prisma.EnumCalendarWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.CalendarWebhookProcessingStatus processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null externalResourceState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type CalendarWebhookEventSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean receivedAt?: boolean tenantId?: boolean connectionId?: boolean provider?: boolean notificationPayload?: boolean processingStatus?: boolean processingErrorText?: boolean processedAt?: boolean externalResourceState?: boolean connection?: boolean | Prisma.CalendarConnectionDefaultArgs }, ExtArgs["result"]["calendarWebhookEvent"]> export type CalendarWebhookEventSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean receivedAt?: boolean tenantId?: boolean connectionId?: boolean provider?: boolean notificationPayload?: boolean processingStatus?: boolean processingErrorText?: boolean processedAt?: boolean externalResourceState?: boolean connection?: boolean | Prisma.CalendarConnectionDefaultArgs }, ExtArgs["result"]["calendarWebhookEvent"]> export type CalendarWebhookEventSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean receivedAt?: boolean tenantId?: boolean connectionId?: boolean provider?: boolean notificationPayload?: boolean processingStatus?: boolean processingErrorText?: boolean processedAt?: boolean externalResourceState?: boolean connection?: boolean | Prisma.CalendarConnectionDefaultArgs }, ExtArgs["result"]["calendarWebhookEvent"]> export type CalendarWebhookEventSelectScalar = { id?: boolean receivedAt?: boolean tenantId?: boolean connectionId?: boolean provider?: boolean notificationPayload?: boolean processingStatus?: boolean processingErrorText?: boolean processedAt?: boolean externalResourceState?: boolean } export type CalendarWebhookEventOmit = runtime.Types.Extensions.GetOmit<"id" | "receivedAt" | "tenantId" | "connectionId" | "provider" | "notificationPayload" | "processingStatus" | "processingErrorText" | "processedAt" | "externalResourceState", ExtArgs["result"]["calendarWebhookEvent"]> export type CalendarWebhookEventInclude = { connection?: boolean | Prisma.CalendarConnectionDefaultArgs } export type CalendarWebhookEventIncludeCreateManyAndReturn = { connection?: boolean | Prisma.CalendarConnectionDefaultArgs } export type CalendarWebhookEventIncludeUpdateManyAndReturn = { connection?: boolean | Prisma.CalendarConnectionDefaultArgs } export type $CalendarWebhookEventPayload = { name: "CalendarWebhookEvent" objects: { connection: Prisma.$CalendarConnectionPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string receivedAt: Date tenantId: string connectionId: string provider: $Enums.CalendarProvider notificationPayload: runtime.JsonValue processingStatus: $Enums.CalendarWebhookProcessingStatus processingErrorText: string | null processedAt: Date | null externalResourceState: string | null }, ExtArgs["result"]["calendarWebhookEvent"]> composites: {} } export type CalendarWebhookEventGetPayload = runtime.Types.Result.GetResult export type CalendarWebhookEventCountArgs = Omit & { select?: CalendarWebhookEventCountAggregateInputType | true } export interface CalendarWebhookEventDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CalendarWebhookEvent'], meta: { name: 'CalendarWebhookEvent' } } /** * Find zero or one CalendarWebhookEvent that matches the filter. * @param {CalendarWebhookEventFindUniqueArgs} args - Arguments to find a CalendarWebhookEvent * @example * // Get one CalendarWebhookEvent * const calendarWebhookEvent = await prisma.calendarWebhookEvent.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__CalendarWebhookEventClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CalendarWebhookEvent that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CalendarWebhookEventFindUniqueOrThrowArgs} args - Arguments to find a CalendarWebhookEvent * @example * // Get one CalendarWebhookEvent * const calendarWebhookEvent = await prisma.calendarWebhookEvent.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__CalendarWebhookEventClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CalendarWebhookEvent 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 {CalendarWebhookEventFindFirstArgs} args - Arguments to find a CalendarWebhookEvent * @example * // Get one CalendarWebhookEvent * const calendarWebhookEvent = await prisma.calendarWebhookEvent.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__CalendarWebhookEventClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CalendarWebhookEvent 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 {CalendarWebhookEventFindFirstOrThrowArgs} args - Arguments to find a CalendarWebhookEvent * @example * // Get one CalendarWebhookEvent * const calendarWebhookEvent = await prisma.calendarWebhookEvent.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__CalendarWebhookEventClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CalendarWebhookEvents 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 {CalendarWebhookEventFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CalendarWebhookEvents * const calendarWebhookEvents = await prisma.calendarWebhookEvent.findMany() * * // Get first 10 CalendarWebhookEvents * const calendarWebhookEvents = await prisma.calendarWebhookEvent.findMany({ take: 10 }) * * // Only select the `id` * const calendarWebhookEventWithIdOnly = await prisma.calendarWebhookEvent.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a CalendarWebhookEvent. * @param {CalendarWebhookEventCreateArgs} args - Arguments to create a CalendarWebhookEvent. * @example * // Create one CalendarWebhookEvent * const CalendarWebhookEvent = await prisma.calendarWebhookEvent.create({ * data: { * // ... data to create a CalendarWebhookEvent * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__CalendarWebhookEventClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CalendarWebhookEvents. * @param {CalendarWebhookEventCreateManyArgs} args - Arguments to create many CalendarWebhookEvents. * @example * // Create many CalendarWebhookEvents * const calendarWebhookEvent = await prisma.calendarWebhookEvent.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many CalendarWebhookEvents and returns the data saved in the database. * @param {CalendarWebhookEventCreateManyAndReturnArgs} args - Arguments to create many CalendarWebhookEvents. * @example * // Create many CalendarWebhookEvents * const calendarWebhookEvent = await prisma.calendarWebhookEvent.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CalendarWebhookEvents and only return the `id` * const calendarWebhookEventWithIdOnly = await prisma.calendarWebhookEvent.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 CalendarWebhookEvent. * @param {CalendarWebhookEventDeleteArgs} args - Arguments to delete one CalendarWebhookEvent. * @example * // Delete one CalendarWebhookEvent * const CalendarWebhookEvent = await prisma.calendarWebhookEvent.delete({ * where: { * // ... filter to delete one CalendarWebhookEvent * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__CalendarWebhookEventClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CalendarWebhookEvent. * @param {CalendarWebhookEventUpdateArgs} args - Arguments to update one CalendarWebhookEvent. * @example * // Update one CalendarWebhookEvent * const calendarWebhookEvent = await prisma.calendarWebhookEvent.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__CalendarWebhookEventClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CalendarWebhookEvents. * @param {CalendarWebhookEventDeleteManyArgs} args - Arguments to filter CalendarWebhookEvents to delete. * @example * // Delete a few CalendarWebhookEvents * const { count } = await prisma.calendarWebhookEvent.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CalendarWebhookEvents. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CalendarWebhookEventUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CalendarWebhookEvents * const calendarWebhookEvent = await prisma.calendarWebhookEvent.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CalendarWebhookEvents and returns the data updated in the database. * @param {CalendarWebhookEventUpdateManyAndReturnArgs} args - Arguments to update many CalendarWebhookEvents. * @example * // Update many CalendarWebhookEvents * const calendarWebhookEvent = await prisma.calendarWebhookEvent.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CalendarWebhookEvents and only return the `id` * const calendarWebhookEventWithIdOnly = await prisma.calendarWebhookEvent.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 CalendarWebhookEvent. * @param {CalendarWebhookEventUpsertArgs} args - Arguments to update or create a CalendarWebhookEvent. * @example * // Update or create a CalendarWebhookEvent * const calendarWebhookEvent = await prisma.calendarWebhookEvent.upsert({ * create: { * // ... data to create a CalendarWebhookEvent * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CalendarWebhookEvent we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__CalendarWebhookEventClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CalendarWebhookEvents. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CalendarWebhookEventCountArgs} args - Arguments to filter CalendarWebhookEvents to count. * @example * // Count the number of CalendarWebhookEvents * const count = await prisma.calendarWebhookEvent.count({ * where: { * // ... the filter for the CalendarWebhookEvents 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 CalendarWebhookEvent. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CalendarWebhookEventAggregateArgs} 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 CalendarWebhookEvent. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CalendarWebhookEventGroupByArgs} 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 CalendarWebhookEventGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: CalendarWebhookEventGroupByArgs['orderBy'] } : { orderBy?: CalendarWebhookEventGroupByArgs['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 ? GetCalendarWebhookEventGroupByPayload : Prisma.PrismaPromise /** * Fields of the CalendarWebhookEvent model */ readonly fields: CalendarWebhookEventFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CalendarWebhookEvent. * 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__CalendarWebhookEventClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" connection = {}>(args?: Prisma.Subset>): Prisma.Prisma__CalendarConnectionClient, 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 CalendarWebhookEvent model */ export interface CalendarWebhookEventFieldRefs { readonly id: Prisma.FieldRef<"CalendarWebhookEvent", 'String'> readonly receivedAt: Prisma.FieldRef<"CalendarWebhookEvent", 'DateTime'> readonly tenantId: Prisma.FieldRef<"CalendarWebhookEvent", 'String'> readonly connectionId: Prisma.FieldRef<"CalendarWebhookEvent", 'String'> readonly provider: Prisma.FieldRef<"CalendarWebhookEvent", 'CalendarProvider'> readonly notificationPayload: Prisma.FieldRef<"CalendarWebhookEvent", 'Json'> readonly processingStatus: Prisma.FieldRef<"CalendarWebhookEvent", 'CalendarWebhookProcessingStatus'> readonly processingErrorText: Prisma.FieldRef<"CalendarWebhookEvent", 'String'> readonly processedAt: Prisma.FieldRef<"CalendarWebhookEvent", 'DateTime'> readonly externalResourceState: Prisma.FieldRef<"CalendarWebhookEvent", 'String'> } // Custom InputTypes /** * CalendarWebhookEvent findUnique */ export type CalendarWebhookEventFindUniqueArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelect | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventInclude | null /** * Filter, which CalendarWebhookEvent to fetch. */ where: Prisma.CalendarWebhookEventWhereUniqueInput } /** * CalendarWebhookEvent findUniqueOrThrow */ export type CalendarWebhookEventFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelect | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventInclude | null /** * Filter, which CalendarWebhookEvent to fetch. */ where: Prisma.CalendarWebhookEventWhereUniqueInput } /** * CalendarWebhookEvent findFirst */ export type CalendarWebhookEventFindFirstArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelect | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventInclude | null /** * Filter, which CalendarWebhookEvent to fetch. */ where?: Prisma.CalendarWebhookEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CalendarWebhookEvents to fetch. */ orderBy?: Prisma.CalendarWebhookEventOrderByWithRelationInput | Prisma.CalendarWebhookEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CalendarWebhookEvents. */ cursor?: Prisma.CalendarWebhookEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CalendarWebhookEvents 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` CalendarWebhookEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CalendarWebhookEvents. */ distinct?: Prisma.CalendarWebhookEventScalarFieldEnum | Prisma.CalendarWebhookEventScalarFieldEnum[] } /** * CalendarWebhookEvent findFirstOrThrow */ export type CalendarWebhookEventFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelect | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventInclude | null /** * Filter, which CalendarWebhookEvent to fetch. */ where?: Prisma.CalendarWebhookEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CalendarWebhookEvents to fetch. */ orderBy?: Prisma.CalendarWebhookEventOrderByWithRelationInput | Prisma.CalendarWebhookEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CalendarWebhookEvents. */ cursor?: Prisma.CalendarWebhookEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CalendarWebhookEvents 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` CalendarWebhookEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CalendarWebhookEvents. */ distinct?: Prisma.CalendarWebhookEventScalarFieldEnum | Prisma.CalendarWebhookEventScalarFieldEnum[] } /** * CalendarWebhookEvent findMany */ export type CalendarWebhookEventFindManyArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelect | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventInclude | null /** * Filter, which CalendarWebhookEvents to fetch. */ where?: Prisma.CalendarWebhookEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CalendarWebhookEvents to fetch. */ orderBy?: Prisma.CalendarWebhookEventOrderByWithRelationInput | Prisma.CalendarWebhookEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CalendarWebhookEvents. */ cursor?: Prisma.CalendarWebhookEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CalendarWebhookEvents 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` CalendarWebhookEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CalendarWebhookEvents. */ distinct?: Prisma.CalendarWebhookEventScalarFieldEnum | Prisma.CalendarWebhookEventScalarFieldEnum[] } /** * CalendarWebhookEvent create */ export type CalendarWebhookEventCreateArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelect | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventInclude | null /** * The data needed to create a CalendarWebhookEvent. */ data: Prisma.XOR } /** * CalendarWebhookEvent createMany */ export type CalendarWebhookEventCreateManyArgs = { /** * The data used to create many CalendarWebhookEvents. */ data: Prisma.CalendarWebhookEventCreateManyInput | Prisma.CalendarWebhookEventCreateManyInput[] skipDuplicates?: boolean } /** * CalendarWebhookEvent createManyAndReturn */ export type CalendarWebhookEventCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelectCreateManyAndReturn | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * The data used to create many CalendarWebhookEvents. */ data: Prisma.CalendarWebhookEventCreateManyInput | Prisma.CalendarWebhookEventCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventIncludeCreateManyAndReturn | null } /** * CalendarWebhookEvent update */ export type CalendarWebhookEventUpdateArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelect | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventInclude | null /** * The data needed to update a CalendarWebhookEvent. */ data: Prisma.XOR /** * Choose, which CalendarWebhookEvent to update. */ where: Prisma.CalendarWebhookEventWhereUniqueInput } /** * CalendarWebhookEvent updateMany */ export type CalendarWebhookEventUpdateManyArgs = { /** * The data used to update CalendarWebhookEvents. */ data: Prisma.XOR /** * Filter which CalendarWebhookEvents to update */ where?: Prisma.CalendarWebhookEventWhereInput /** * Limit how many CalendarWebhookEvents to update. */ limit?: number } /** * CalendarWebhookEvent updateManyAndReturn */ export type CalendarWebhookEventUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelectUpdateManyAndReturn | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * The data used to update CalendarWebhookEvents. */ data: Prisma.XOR /** * Filter which CalendarWebhookEvents to update */ where?: Prisma.CalendarWebhookEventWhereInput /** * Limit how many CalendarWebhookEvents to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventIncludeUpdateManyAndReturn | null } /** * CalendarWebhookEvent upsert */ export type CalendarWebhookEventUpsertArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelect | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventInclude | null /** * The filter to search for the CalendarWebhookEvent to update in case it exists. */ where: Prisma.CalendarWebhookEventWhereUniqueInput /** * In case the CalendarWebhookEvent found by the `where` argument doesn't exist, create a new CalendarWebhookEvent with this data. */ create: Prisma.XOR /** * In case the CalendarWebhookEvent was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * CalendarWebhookEvent delete */ export type CalendarWebhookEventDeleteArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelect | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventInclude | null /** * Filter which CalendarWebhookEvent to delete. */ where: Prisma.CalendarWebhookEventWhereUniqueInput } /** * CalendarWebhookEvent deleteMany */ export type CalendarWebhookEventDeleteManyArgs = { /** * Filter which CalendarWebhookEvents to delete */ where?: Prisma.CalendarWebhookEventWhereInput /** * Limit how many CalendarWebhookEvents to delete. */ limit?: number } /** * CalendarWebhookEvent without action */ export type CalendarWebhookEventDefaultArgs = { /** * Select specific fields to fetch from the CalendarWebhookEvent */ select?: Prisma.CalendarWebhookEventSelect | null /** * Omit specific fields from the CalendarWebhookEvent */ omit?: Prisma.CalendarWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CalendarWebhookEventInclude | null }