1520 lines
66 KiB
TypeScript
1520 lines
66 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `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<Prisma.$CalendarWebhookEventPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends CalendarWebhookEventAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCalendarWebhookEvent]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateCalendarWebhookEvent[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateCalendarWebhookEvent[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type CalendarWebhookEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends CalendarWebhookEventGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<CalendarWebhookEventGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof CalendarWebhookEventGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], CalendarWebhookEventGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], CalendarWebhookEventGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.CalendarConnectionScalarRelationFilter, Prisma.CalendarConnectionWhereInput>
|
|
}
|
|
|
|
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<Prisma.CalendarConnectionScalarRelationFilter, Prisma.CalendarConnectionWhereInput>
|
|
}, "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> | 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> | 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> | 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> | 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<Prisma.CalendarWebhookEventCreateWithoutConnectionInput, Prisma.CalendarWebhookEventUncheckedCreateWithoutConnectionInput>
|
|
}
|
|
|
|
export type CalendarWebhookEventCreateManyConnectionInputEnvelope = {
|
|
data: Prisma.CalendarWebhookEventCreateManyConnectionInput | Prisma.CalendarWebhookEventCreateManyConnectionInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type CalendarWebhookEventUpsertWithWhereUniqueWithoutConnectionInput = {
|
|
where: Prisma.CalendarWebhookEventWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.CalendarWebhookEventUpdateWithoutConnectionInput, Prisma.CalendarWebhookEventUncheckedUpdateWithoutConnectionInput>
|
|
create: Prisma.XOR<Prisma.CalendarWebhookEventCreateWithoutConnectionInput, Prisma.CalendarWebhookEventUncheckedCreateWithoutConnectionInput>
|
|
}
|
|
|
|
export type CalendarWebhookEventUpdateWithWhereUniqueWithoutConnectionInput = {
|
|
where: Prisma.CalendarWebhookEventWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.CalendarWebhookEventUpdateWithoutConnectionInput, Prisma.CalendarWebhookEventUncheckedUpdateWithoutConnectionInput>
|
|
}
|
|
|
|
export type CalendarWebhookEventUpdateManyWithWhereWithoutConnectionInput = {
|
|
where: Prisma.CalendarWebhookEventScalarWhereInput
|
|
data: Prisma.XOR<Prisma.CalendarWebhookEventUpdateManyMutationInput, Prisma.CalendarWebhookEventUncheckedUpdateManyWithoutConnectionInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, ExtArgs["result"]["calendarWebhookEvent"]>
|
|
|
|
export type CalendarWebhookEventSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, ExtArgs["result"]["calendarWebhookEvent"]>
|
|
|
|
export type CalendarWebhookEventSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "receivedAt" | "tenantId" | "connectionId" | "provider" | "notificationPayload" | "processingStatus" | "processingErrorText" | "processedAt" | "externalResourceState", ExtArgs["result"]["calendarWebhookEvent"]>
|
|
export type CalendarWebhookEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
connection?: boolean | Prisma.CalendarConnectionDefaultArgs<ExtArgs>
|
|
}
|
|
export type CalendarWebhookEventIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
connection?: boolean | Prisma.CalendarConnectionDefaultArgs<ExtArgs>
|
|
}
|
|
export type CalendarWebhookEventIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
connection?: boolean | Prisma.CalendarConnectionDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $CalendarWebhookEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "CalendarWebhookEvent"
|
|
objects: {
|
|
connection: Prisma.$CalendarConnectionPayload<ExtArgs>
|
|
}
|
|
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<S extends boolean | null | undefined | CalendarWebhookEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload, S>
|
|
|
|
export type CalendarWebhookEventCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<CalendarWebhookEventFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: CalendarWebhookEventCountAggregateInputType | true
|
|
}
|
|
|
|
export interface CalendarWebhookEventDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends CalendarWebhookEventFindUniqueArgs>(args: Prisma.SelectSubset<T, CalendarWebhookEventFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CalendarWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CalendarWebhookEventFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CalendarWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventFindFirstArgs>(args?: Prisma.SelectSubset<T, CalendarWebhookEventFindFirstArgs<ExtArgs>>): Prisma.Prisma__CalendarWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CalendarWebhookEventFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CalendarWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventFindManyArgs>(args?: Prisma.SelectSubset<T, CalendarWebhookEventFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventCreateArgs>(args: Prisma.SelectSubset<T, CalendarWebhookEventCreateArgs<ExtArgs>>): Prisma.Prisma__CalendarWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventCreateManyArgs>(args?: Prisma.SelectSubset<T, CalendarWebhookEventCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CalendarWebhookEventCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CalendarWebhookEventCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventDeleteArgs>(args: Prisma.SelectSubset<T, CalendarWebhookEventDeleteArgs<ExtArgs>>): Prisma.Prisma__CalendarWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventUpdateArgs>(args: Prisma.SelectSubset<T, CalendarWebhookEventUpdateArgs<ExtArgs>>): Prisma.Prisma__CalendarWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventDeleteManyArgs>(args?: Prisma.SelectSubset<T, CalendarWebhookEventDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CalendarWebhookEventUpdateManyArgs>(args: Prisma.SelectSubset<T, CalendarWebhookEventUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CalendarWebhookEventUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CalendarWebhookEventUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventUpsertArgs>(args: Prisma.SelectSubset<T, CalendarWebhookEventUpsertArgs<ExtArgs>>): Prisma.Prisma__CalendarWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$CalendarWebhookEventPayload<ExtArgs>, 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<T extends CalendarWebhookEventCountArgs>(
|
|
args?: Prisma.Subset<T, CalendarWebhookEventCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], CalendarWebhookEventCountAggregateOutputType>
|
|
: 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<T extends CalendarWebhookEventAggregateArgs>(args: Prisma.Subset<T, CalendarWebhookEventAggregateArgs>): Prisma.PrismaPromise<GetCalendarWebhookEventAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: CalendarWebhookEventGroupByArgs['orderBy'] }
|
|
: { orderBy?: CalendarWebhookEventGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, CalendarWebhookEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCalendarWebhookEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
connection<T extends Prisma.CalendarConnectionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CalendarConnectionDefaultArgs<ExtArgs>>): Prisma.Prisma__CalendarConnectionClient<runtime.Types.Result.GetResult<Prisma.$CalendarConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarWebhookEventInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which CalendarWebhookEvent to fetch.
|
|
*/
|
|
where: Prisma.CalendarWebhookEventWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent findUniqueOrThrow
|
|
*/
|
|
export type CalendarWebhookEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarWebhookEventInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which CalendarWebhookEvent to fetch.
|
|
*/
|
|
where: Prisma.CalendarWebhookEventWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent findFirst
|
|
*/
|
|
export type CalendarWebhookEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarWebhookEventInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarWebhookEventInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarWebhookEventInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarWebhookEventInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a CalendarWebhookEvent.
|
|
*/
|
|
data: Prisma.XOR<Prisma.CalendarWebhookEventCreateInput, Prisma.CalendarWebhookEventUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent createMany
|
|
*/
|
|
export type CalendarWebhookEventCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many CalendarWebhookEvents.
|
|
*/
|
|
data: Prisma.CalendarWebhookEventCreateManyInput | Prisma.CalendarWebhookEventCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent createManyAndReturn
|
|
*/
|
|
export type CalendarWebhookEventCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent update
|
|
*/
|
|
export type CalendarWebhookEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarWebhookEventInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a CalendarWebhookEvent.
|
|
*/
|
|
data: Prisma.XOR<Prisma.CalendarWebhookEventUpdateInput, Prisma.CalendarWebhookEventUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which CalendarWebhookEvent to update.
|
|
*/
|
|
where: Prisma.CalendarWebhookEventWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent updateMany
|
|
*/
|
|
export type CalendarWebhookEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update CalendarWebhookEvents.
|
|
*/
|
|
data: Prisma.XOR<Prisma.CalendarWebhookEventUpdateManyMutationInput, Prisma.CalendarWebhookEventUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which CalendarWebhookEvents to update
|
|
*/
|
|
where?: Prisma.CalendarWebhookEventWhereInput
|
|
/**
|
|
* Limit how many CalendarWebhookEvents to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent updateManyAndReturn
|
|
*/
|
|
export type CalendarWebhookEventUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update CalendarWebhookEvents.
|
|
*/
|
|
data: Prisma.XOR<Prisma.CalendarWebhookEventUpdateManyMutationInput, Prisma.CalendarWebhookEventUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent upsert
|
|
*/
|
|
export type CalendarWebhookEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarWebhookEventInclude<ExtArgs> | 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<Prisma.CalendarWebhookEventCreateInput, Prisma.CalendarWebhookEventUncheckedCreateInput>
|
|
/**
|
|
* In case the CalendarWebhookEvent was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.CalendarWebhookEventUpdateInput, Prisma.CalendarWebhookEventUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent delete
|
|
*/
|
|
export type CalendarWebhookEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarWebhookEventInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which CalendarWebhookEvent to delete.
|
|
*/
|
|
where: Prisma.CalendarWebhookEventWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent deleteMany
|
|
*/
|
|
export type CalendarWebhookEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which CalendarWebhookEvents to delete
|
|
*/
|
|
where?: Prisma.CalendarWebhookEventWhereInput
|
|
/**
|
|
* Limit how many CalendarWebhookEvents to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CalendarWebhookEvent without action
|
|
*/
|
|
export type CalendarWebhookEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarWebhookEvent
|
|
*/
|
|
select?: Prisma.CalendarWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarWebhookEvent
|
|
*/
|
|
omit?: Prisma.CalendarWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarWebhookEventInclude<ExtArgs> | null
|
|
}
|