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

1945 lines
89 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 `TelephonyWebhookEvent` 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 TelephonyWebhookEvent
* Redacted provider webhook envelope. Provider payload data is immutable;
* only processing metadata changes. Completed rows expire after 30 days and
* failed rows after 90 days through the tenant-scoped retention worker.
*/
export type TelephonyWebhookEventModel = runtime.Types.Result.DefaultSelection<Prisma.$TelephonyWebhookEventPayload>
export type AggregateTelephonyWebhookEvent = {
_count: TelephonyWebhookEventCountAggregateOutputType | null
_avg: TelephonyWebhookEventAvgAggregateOutputType | null
_sum: TelephonyWebhookEventSumAggregateOutputType | null
_min: TelephonyWebhookEventMinAggregateOutputType | null
_max: TelephonyWebhookEventMaxAggregateOutputType | null
}
export type TelephonyWebhookEventAvgAggregateOutputType = {
processingAttempt: number | null
}
export type TelephonyWebhookEventSumAggregateOutputType = {
processingAttempt: number | null
}
export type TelephonyWebhookEventMinAggregateOutputType = {
id: string | null
receivedAt: Date | null
tenantId: string | null
connectionId: string | null
callSessionId: string | null
eventType: string | null
dedupeKey: string | null
authenticationValid: boolean | null
processingStatus: $Enums.TelephonyWebhookProcessingStatus | null
processingLeaseId: string | null
processingLeaseUntil: Date | null
processingAttempt: number | null
processingErrorText: string | null
processedAt: Date | null
}
export type TelephonyWebhookEventMaxAggregateOutputType = {
id: string | null
receivedAt: Date | null
tenantId: string | null
connectionId: string | null
callSessionId: string | null
eventType: string | null
dedupeKey: string | null
authenticationValid: boolean | null
processingStatus: $Enums.TelephonyWebhookProcessingStatus | null
processingLeaseId: string | null
processingLeaseUntil: Date | null
processingAttempt: number | null
processingErrorText: string | null
processedAt: Date | null
}
export type TelephonyWebhookEventCountAggregateOutputType = {
id: number
receivedAt: number
tenantId: number
connectionId: number
callSessionId: number
eventType: number
dedupeKey: number
authenticationValid: number
notificationPayload: number
processingStatus: number
processingLeaseId: number
processingLeaseUntil: number
processingAttempt: number
processingErrorText: number
processedAt: number
_all: number
}
export type TelephonyWebhookEventAvgAggregateInputType = {
processingAttempt?: true
}
export type TelephonyWebhookEventSumAggregateInputType = {
processingAttempt?: true
}
export type TelephonyWebhookEventMinAggregateInputType = {
id?: true
receivedAt?: true
tenantId?: true
connectionId?: true
callSessionId?: true
eventType?: true
dedupeKey?: true
authenticationValid?: true
processingStatus?: true
processingLeaseId?: true
processingLeaseUntil?: true
processingAttempt?: true
processingErrorText?: true
processedAt?: true
}
export type TelephonyWebhookEventMaxAggregateInputType = {
id?: true
receivedAt?: true
tenantId?: true
connectionId?: true
callSessionId?: true
eventType?: true
dedupeKey?: true
authenticationValid?: true
processingStatus?: true
processingLeaseId?: true
processingLeaseUntil?: true
processingAttempt?: true
processingErrorText?: true
processedAt?: true
}
export type TelephonyWebhookEventCountAggregateInputType = {
id?: true
receivedAt?: true
tenantId?: true
connectionId?: true
callSessionId?: true
eventType?: true
dedupeKey?: true
authenticationValid?: true
notificationPayload?: true
processingStatus?: true
processingLeaseId?: true
processingLeaseUntil?: true
processingAttempt?: true
processingErrorText?: true
processedAt?: true
_all?: true
}
export type TelephonyWebhookEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which TelephonyWebhookEvent to aggregate.
*/
where?: Prisma.TelephonyWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of TelephonyWebhookEvents to fetch.
*/
orderBy?: Prisma.TelephonyWebhookEventOrderByWithRelationInput | Prisma.TelephonyWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.TelephonyWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` TelephonyWebhookEvents 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` TelephonyWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned TelephonyWebhookEvents
**/
_count?: true | TelephonyWebhookEventCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: TelephonyWebhookEventAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: TelephonyWebhookEventSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: TelephonyWebhookEventMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: TelephonyWebhookEventMaxAggregateInputType
}
export type GetTelephonyWebhookEventAggregateType<T extends TelephonyWebhookEventAggregateArgs> = {
[P in keyof T & keyof AggregateTelephonyWebhookEvent]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateTelephonyWebhookEvent[P]>
: Prisma.GetScalarType<T[P], AggregateTelephonyWebhookEvent[P]>
}
export type TelephonyWebhookEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.TelephonyWebhookEventWhereInput
orderBy?: Prisma.TelephonyWebhookEventOrderByWithAggregationInput | Prisma.TelephonyWebhookEventOrderByWithAggregationInput[]
by: Prisma.TelephonyWebhookEventScalarFieldEnum[] | Prisma.TelephonyWebhookEventScalarFieldEnum
having?: Prisma.TelephonyWebhookEventScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: TelephonyWebhookEventCountAggregateInputType | true
_avg?: TelephonyWebhookEventAvgAggregateInputType
_sum?: TelephonyWebhookEventSumAggregateInputType
_min?: TelephonyWebhookEventMinAggregateInputType
_max?: TelephonyWebhookEventMaxAggregateInputType
}
export type TelephonyWebhookEventGroupByOutputType = {
id: string
receivedAt: Date
tenantId: string
connectionId: string
callSessionId: string | null
eventType: string
dedupeKey: string
authenticationValid: boolean
notificationPayload: runtime.JsonValue
processingStatus: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId: string | null
processingLeaseUntil: Date | null
processingAttempt: number
processingErrorText: string | null
processedAt: Date | null
_count: TelephonyWebhookEventCountAggregateOutputType | null
_avg: TelephonyWebhookEventAvgAggregateOutputType | null
_sum: TelephonyWebhookEventSumAggregateOutputType | null
_min: TelephonyWebhookEventMinAggregateOutputType | null
_max: TelephonyWebhookEventMaxAggregateOutputType | null
}
export type GetTelephonyWebhookEventGroupByPayload<T extends TelephonyWebhookEventGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<TelephonyWebhookEventGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof TelephonyWebhookEventGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], TelephonyWebhookEventGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], TelephonyWebhookEventGroupByOutputType[P]>
}
>
>
export type TelephonyWebhookEventWhereInput = {
AND?: Prisma.TelephonyWebhookEventWhereInput | Prisma.TelephonyWebhookEventWhereInput[]
OR?: Prisma.TelephonyWebhookEventWhereInput[]
NOT?: Prisma.TelephonyWebhookEventWhereInput | Prisma.TelephonyWebhookEventWhereInput[]
id?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
receivedAt?: Prisma.DateTimeFilter<"TelephonyWebhookEvent"> | Date | string
tenantId?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
connectionId?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
callSessionId?: Prisma.StringNullableFilter<"TelephonyWebhookEvent"> | string | null
eventType?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
dedupeKey?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
authenticationValid?: Prisma.BoolFilter<"TelephonyWebhookEvent"> | boolean
notificationPayload?: Prisma.JsonFilter<"TelephonyWebhookEvent">
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFilter<"TelephonyWebhookEvent"> | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.StringNullableFilter<"TelephonyWebhookEvent"> | string | null
processingLeaseUntil?: Prisma.DateTimeNullableFilter<"TelephonyWebhookEvent"> | Date | string | null
processingAttempt?: Prisma.IntFilter<"TelephonyWebhookEvent"> | number
processingErrorText?: Prisma.StringNullableFilter<"TelephonyWebhookEvent"> | string | null
processedAt?: Prisma.DateTimeNullableFilter<"TelephonyWebhookEvent"> | Date | string | null
connection?: Prisma.XOR<Prisma.TelephonyConnectionScalarRelationFilter, Prisma.TelephonyConnectionWhereInput>
callSession?: Prisma.XOR<Prisma.TelephonyCallSessionNullableScalarRelationFilter, Prisma.TelephonyCallSessionWhereInput> | null
}
export type TelephonyWebhookEventOrderByWithRelationInput = {
id?: Prisma.SortOrder
receivedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
connectionId?: Prisma.SortOrder
callSessionId?: Prisma.SortOrderInput | Prisma.SortOrder
eventType?: Prisma.SortOrder
dedupeKey?: Prisma.SortOrder
authenticationValid?: Prisma.SortOrder
notificationPayload?: Prisma.SortOrder
processingStatus?: Prisma.SortOrder
processingLeaseId?: Prisma.SortOrderInput | Prisma.SortOrder
processingLeaseUntil?: Prisma.SortOrderInput | Prisma.SortOrder
processingAttempt?: Prisma.SortOrder
processingErrorText?: Prisma.SortOrderInput | Prisma.SortOrder
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder
connection?: Prisma.TelephonyConnectionOrderByWithRelationInput
callSession?: Prisma.TelephonyCallSessionOrderByWithRelationInput
}
export type TelephonyWebhookEventWhereUniqueInput = Prisma.AtLeast<{
id?: string
tenantId_dedupeKey?: Prisma.TelephonyWebhookEventTenantIdDedupeKeyCompoundUniqueInput
AND?: Prisma.TelephonyWebhookEventWhereInput | Prisma.TelephonyWebhookEventWhereInput[]
OR?: Prisma.TelephonyWebhookEventWhereInput[]
NOT?: Prisma.TelephonyWebhookEventWhereInput | Prisma.TelephonyWebhookEventWhereInput[]
receivedAt?: Prisma.DateTimeFilter<"TelephonyWebhookEvent"> | Date | string
tenantId?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
connectionId?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
callSessionId?: Prisma.StringNullableFilter<"TelephonyWebhookEvent"> | string | null
eventType?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
dedupeKey?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
authenticationValid?: Prisma.BoolFilter<"TelephonyWebhookEvent"> | boolean
notificationPayload?: Prisma.JsonFilter<"TelephonyWebhookEvent">
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFilter<"TelephonyWebhookEvent"> | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.StringNullableFilter<"TelephonyWebhookEvent"> | string | null
processingLeaseUntil?: Prisma.DateTimeNullableFilter<"TelephonyWebhookEvent"> | Date | string | null
processingAttempt?: Prisma.IntFilter<"TelephonyWebhookEvent"> | number
processingErrorText?: Prisma.StringNullableFilter<"TelephonyWebhookEvent"> | string | null
processedAt?: Prisma.DateTimeNullableFilter<"TelephonyWebhookEvent"> | Date | string | null
connection?: Prisma.XOR<Prisma.TelephonyConnectionScalarRelationFilter, Prisma.TelephonyConnectionWhereInput>
callSession?: Prisma.XOR<Prisma.TelephonyCallSessionNullableScalarRelationFilter, Prisma.TelephonyCallSessionWhereInput> | null
}, "id" | "tenantId_dedupeKey">
export type TelephonyWebhookEventOrderByWithAggregationInput = {
id?: Prisma.SortOrder
receivedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
connectionId?: Prisma.SortOrder
callSessionId?: Prisma.SortOrderInput | Prisma.SortOrder
eventType?: Prisma.SortOrder
dedupeKey?: Prisma.SortOrder
authenticationValid?: Prisma.SortOrder
notificationPayload?: Prisma.SortOrder
processingStatus?: Prisma.SortOrder
processingLeaseId?: Prisma.SortOrderInput | Prisma.SortOrder
processingLeaseUntil?: Prisma.SortOrderInput | Prisma.SortOrder
processingAttempt?: Prisma.SortOrder
processingErrorText?: Prisma.SortOrderInput | Prisma.SortOrder
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.TelephonyWebhookEventCountOrderByAggregateInput
_avg?: Prisma.TelephonyWebhookEventAvgOrderByAggregateInput
_max?: Prisma.TelephonyWebhookEventMaxOrderByAggregateInput
_min?: Prisma.TelephonyWebhookEventMinOrderByAggregateInput
_sum?: Prisma.TelephonyWebhookEventSumOrderByAggregateInput
}
export type TelephonyWebhookEventScalarWhereWithAggregatesInput = {
AND?: Prisma.TelephonyWebhookEventScalarWhereWithAggregatesInput | Prisma.TelephonyWebhookEventScalarWhereWithAggregatesInput[]
OR?: Prisma.TelephonyWebhookEventScalarWhereWithAggregatesInput[]
NOT?: Prisma.TelephonyWebhookEventScalarWhereWithAggregatesInput | Prisma.TelephonyWebhookEventScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"TelephonyWebhookEvent"> | string
receivedAt?: Prisma.DateTimeWithAggregatesFilter<"TelephonyWebhookEvent"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"TelephonyWebhookEvent"> | string
connectionId?: Prisma.StringWithAggregatesFilter<"TelephonyWebhookEvent"> | string
callSessionId?: Prisma.StringNullableWithAggregatesFilter<"TelephonyWebhookEvent"> | string | null
eventType?: Prisma.StringWithAggregatesFilter<"TelephonyWebhookEvent"> | string
dedupeKey?: Prisma.StringWithAggregatesFilter<"TelephonyWebhookEvent"> | string
authenticationValid?: Prisma.BoolWithAggregatesFilter<"TelephonyWebhookEvent"> | boolean
notificationPayload?: Prisma.JsonWithAggregatesFilter<"TelephonyWebhookEvent">
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusWithAggregatesFilter<"TelephonyWebhookEvent"> | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.StringNullableWithAggregatesFilter<"TelephonyWebhookEvent"> | string | null
processingLeaseUntil?: Prisma.DateTimeNullableWithAggregatesFilter<"TelephonyWebhookEvent"> | Date | string | null
processingAttempt?: Prisma.IntWithAggregatesFilter<"TelephonyWebhookEvent"> | number
processingErrorText?: Prisma.StringNullableWithAggregatesFilter<"TelephonyWebhookEvent"> | string | null
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TelephonyWebhookEvent"> | Date | string | null
}
export type TelephonyWebhookEventCreateInput = {
id?: string
receivedAt?: Date | string
tenantId: string
eventType: string
dedupeKey: string
authenticationValid?: boolean
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: string | null
processingLeaseUntil?: Date | string | null
processingAttempt?: number
processingErrorText?: string | null
processedAt?: Date | string | null
connection: Prisma.TelephonyConnectionCreateNestedOneWithoutWebhookEventsInput
callSession?: Prisma.TelephonyCallSessionCreateNestedOneWithoutWebhookEventsInput
}
export type TelephonyWebhookEventUncheckedCreateInput = {
id?: string
receivedAt?: Date | string
tenantId: string
connectionId: string
callSessionId?: string | null
eventType: string
dedupeKey: string
authenticationValid?: boolean
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: string | null
processingLeaseUntil?: Date | string | null
processingAttempt?: number
processingErrorText?: string | null
processedAt?: Date | string | null
}
export type TelephonyWebhookEventUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
authenticationValid?: Prisma.BoolFieldUpdateOperationsInput | boolean
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processingLeaseUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
processingAttempt?: Prisma.IntFieldUpdateOperationsInput | number
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
connection?: Prisma.TelephonyConnectionUpdateOneRequiredWithoutWebhookEventsNestedInput
callSession?: Prisma.TelephonyCallSessionUpdateOneWithoutWebhookEventsNestedInput
}
export type TelephonyWebhookEventUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
eventType?: Prisma.StringFieldUpdateOperationsInput | string
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
authenticationValid?: Prisma.BoolFieldUpdateOperationsInput | boolean
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processingLeaseUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
processingAttempt?: Prisma.IntFieldUpdateOperationsInput | number
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type TelephonyWebhookEventCreateManyInput = {
id?: string
receivedAt?: Date | string
tenantId: string
connectionId: string
callSessionId?: string | null
eventType: string
dedupeKey: string
authenticationValid?: boolean
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: string | null
processingLeaseUntil?: Date | string | null
processingAttempt?: number
processingErrorText?: string | null
processedAt?: Date | string | null
}
export type TelephonyWebhookEventUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
authenticationValid?: Prisma.BoolFieldUpdateOperationsInput | boolean
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processingLeaseUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
processingAttempt?: Prisma.IntFieldUpdateOperationsInput | number
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type TelephonyWebhookEventUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
eventType?: Prisma.StringFieldUpdateOperationsInput | string
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
authenticationValid?: Prisma.BoolFieldUpdateOperationsInput | boolean
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processingLeaseUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
processingAttempt?: Prisma.IntFieldUpdateOperationsInput | number
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type TelephonyWebhookEventListRelationFilter = {
every?: Prisma.TelephonyWebhookEventWhereInput
some?: Prisma.TelephonyWebhookEventWhereInput
none?: Prisma.TelephonyWebhookEventWhereInput
}
export type TelephonyWebhookEventOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type TelephonyWebhookEventTenantIdDedupeKeyCompoundUniqueInput = {
tenantId: string
dedupeKey: string
}
export type TelephonyWebhookEventCountOrderByAggregateInput = {
id?: Prisma.SortOrder
receivedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
connectionId?: Prisma.SortOrder
callSessionId?: Prisma.SortOrder
eventType?: Prisma.SortOrder
dedupeKey?: Prisma.SortOrder
authenticationValid?: Prisma.SortOrder
notificationPayload?: Prisma.SortOrder
processingStatus?: Prisma.SortOrder
processingLeaseId?: Prisma.SortOrder
processingLeaseUntil?: Prisma.SortOrder
processingAttempt?: Prisma.SortOrder
processingErrorText?: Prisma.SortOrder
processedAt?: Prisma.SortOrder
}
export type TelephonyWebhookEventAvgOrderByAggregateInput = {
processingAttempt?: Prisma.SortOrder
}
export type TelephonyWebhookEventMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
receivedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
connectionId?: Prisma.SortOrder
callSessionId?: Prisma.SortOrder
eventType?: Prisma.SortOrder
dedupeKey?: Prisma.SortOrder
authenticationValid?: Prisma.SortOrder
processingStatus?: Prisma.SortOrder
processingLeaseId?: Prisma.SortOrder
processingLeaseUntil?: Prisma.SortOrder
processingAttempt?: Prisma.SortOrder
processingErrorText?: Prisma.SortOrder
processedAt?: Prisma.SortOrder
}
export type TelephonyWebhookEventMinOrderByAggregateInput = {
id?: Prisma.SortOrder
receivedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
connectionId?: Prisma.SortOrder
callSessionId?: Prisma.SortOrder
eventType?: Prisma.SortOrder
dedupeKey?: Prisma.SortOrder
authenticationValid?: Prisma.SortOrder
processingStatus?: Prisma.SortOrder
processingLeaseId?: Prisma.SortOrder
processingLeaseUntil?: Prisma.SortOrder
processingAttempt?: Prisma.SortOrder
processingErrorText?: Prisma.SortOrder
processedAt?: Prisma.SortOrder
}
export type TelephonyWebhookEventSumOrderByAggregateInput = {
processingAttempt?: Prisma.SortOrder
}
export type TelephonyWebhookEventCreateNestedManyWithoutConnectionInput = {
create?: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutConnectionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutConnectionInput> | Prisma.TelephonyWebhookEventCreateWithoutConnectionInput[] | Prisma.TelephonyWebhookEventUncheckedCreateWithoutConnectionInput[]
connectOrCreate?: Prisma.TelephonyWebhookEventCreateOrConnectWithoutConnectionInput | Prisma.TelephonyWebhookEventCreateOrConnectWithoutConnectionInput[]
createMany?: Prisma.TelephonyWebhookEventCreateManyConnectionInputEnvelope
connect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
}
export type TelephonyWebhookEventUncheckedCreateNestedManyWithoutConnectionInput = {
create?: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutConnectionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutConnectionInput> | Prisma.TelephonyWebhookEventCreateWithoutConnectionInput[] | Prisma.TelephonyWebhookEventUncheckedCreateWithoutConnectionInput[]
connectOrCreate?: Prisma.TelephonyWebhookEventCreateOrConnectWithoutConnectionInput | Prisma.TelephonyWebhookEventCreateOrConnectWithoutConnectionInput[]
createMany?: Prisma.TelephonyWebhookEventCreateManyConnectionInputEnvelope
connect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
}
export type TelephonyWebhookEventUpdateManyWithoutConnectionNestedInput = {
create?: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutConnectionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutConnectionInput> | Prisma.TelephonyWebhookEventCreateWithoutConnectionInput[] | Prisma.TelephonyWebhookEventUncheckedCreateWithoutConnectionInput[]
connectOrCreate?: Prisma.TelephonyWebhookEventCreateOrConnectWithoutConnectionInput | Prisma.TelephonyWebhookEventCreateOrConnectWithoutConnectionInput[]
upsert?: Prisma.TelephonyWebhookEventUpsertWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyWebhookEventUpsertWithWhereUniqueWithoutConnectionInput[]
createMany?: Prisma.TelephonyWebhookEventCreateManyConnectionInputEnvelope
set?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
disconnect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
delete?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
connect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
update?: Prisma.TelephonyWebhookEventUpdateWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyWebhookEventUpdateWithWhereUniqueWithoutConnectionInput[]
updateMany?: Prisma.TelephonyWebhookEventUpdateManyWithWhereWithoutConnectionInput | Prisma.TelephonyWebhookEventUpdateManyWithWhereWithoutConnectionInput[]
deleteMany?: Prisma.TelephonyWebhookEventScalarWhereInput | Prisma.TelephonyWebhookEventScalarWhereInput[]
}
export type TelephonyWebhookEventUncheckedUpdateManyWithoutConnectionNestedInput = {
create?: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutConnectionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutConnectionInput> | Prisma.TelephonyWebhookEventCreateWithoutConnectionInput[] | Prisma.TelephonyWebhookEventUncheckedCreateWithoutConnectionInput[]
connectOrCreate?: Prisma.TelephonyWebhookEventCreateOrConnectWithoutConnectionInput | Prisma.TelephonyWebhookEventCreateOrConnectWithoutConnectionInput[]
upsert?: Prisma.TelephonyWebhookEventUpsertWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyWebhookEventUpsertWithWhereUniqueWithoutConnectionInput[]
createMany?: Prisma.TelephonyWebhookEventCreateManyConnectionInputEnvelope
set?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
disconnect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
delete?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
connect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
update?: Prisma.TelephonyWebhookEventUpdateWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyWebhookEventUpdateWithWhereUniqueWithoutConnectionInput[]
updateMany?: Prisma.TelephonyWebhookEventUpdateManyWithWhereWithoutConnectionInput | Prisma.TelephonyWebhookEventUpdateManyWithWhereWithoutConnectionInput[]
deleteMany?: Prisma.TelephonyWebhookEventScalarWhereInput | Prisma.TelephonyWebhookEventScalarWhereInput[]
}
export type TelephonyWebhookEventCreateNestedManyWithoutCallSessionInput = {
create?: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutCallSessionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput> | Prisma.TelephonyWebhookEventCreateWithoutCallSessionInput[] | Prisma.TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput[]
connectOrCreate?: Prisma.TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput | Prisma.TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput[]
createMany?: Prisma.TelephonyWebhookEventCreateManyCallSessionInputEnvelope
connect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
}
export type TelephonyWebhookEventUncheckedCreateNestedManyWithoutCallSessionInput = {
create?: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutCallSessionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput> | Prisma.TelephonyWebhookEventCreateWithoutCallSessionInput[] | Prisma.TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput[]
connectOrCreate?: Prisma.TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput | Prisma.TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput[]
createMany?: Prisma.TelephonyWebhookEventCreateManyCallSessionInputEnvelope
connect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
}
export type TelephonyWebhookEventUpdateManyWithoutCallSessionNestedInput = {
create?: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutCallSessionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput> | Prisma.TelephonyWebhookEventCreateWithoutCallSessionInput[] | Prisma.TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput[]
connectOrCreate?: Prisma.TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput | Prisma.TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput[]
upsert?: Prisma.TelephonyWebhookEventUpsertWithWhereUniqueWithoutCallSessionInput | Prisma.TelephonyWebhookEventUpsertWithWhereUniqueWithoutCallSessionInput[]
createMany?: Prisma.TelephonyWebhookEventCreateManyCallSessionInputEnvelope
set?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
disconnect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
delete?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
connect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
update?: Prisma.TelephonyWebhookEventUpdateWithWhereUniqueWithoutCallSessionInput | Prisma.TelephonyWebhookEventUpdateWithWhereUniqueWithoutCallSessionInput[]
updateMany?: Prisma.TelephonyWebhookEventUpdateManyWithWhereWithoutCallSessionInput | Prisma.TelephonyWebhookEventUpdateManyWithWhereWithoutCallSessionInput[]
deleteMany?: Prisma.TelephonyWebhookEventScalarWhereInput | Prisma.TelephonyWebhookEventScalarWhereInput[]
}
export type TelephonyWebhookEventUncheckedUpdateManyWithoutCallSessionNestedInput = {
create?: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutCallSessionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput> | Prisma.TelephonyWebhookEventCreateWithoutCallSessionInput[] | Prisma.TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput[]
connectOrCreate?: Prisma.TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput | Prisma.TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput[]
upsert?: Prisma.TelephonyWebhookEventUpsertWithWhereUniqueWithoutCallSessionInput | Prisma.TelephonyWebhookEventUpsertWithWhereUniqueWithoutCallSessionInput[]
createMany?: Prisma.TelephonyWebhookEventCreateManyCallSessionInputEnvelope
set?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
disconnect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
delete?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
connect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[]
update?: Prisma.TelephonyWebhookEventUpdateWithWhereUniqueWithoutCallSessionInput | Prisma.TelephonyWebhookEventUpdateWithWhereUniqueWithoutCallSessionInput[]
updateMany?: Prisma.TelephonyWebhookEventUpdateManyWithWhereWithoutCallSessionInput | Prisma.TelephonyWebhookEventUpdateManyWithWhereWithoutCallSessionInput[]
deleteMany?: Prisma.TelephonyWebhookEventScalarWhereInput | Prisma.TelephonyWebhookEventScalarWhereInput[]
}
export type EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput = {
set?: $Enums.TelephonyWebhookProcessingStatus
}
export type TelephonyWebhookEventCreateWithoutConnectionInput = {
id?: string
receivedAt?: Date | string
tenantId: string
eventType: string
dedupeKey: string
authenticationValid?: boolean
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: string | null
processingLeaseUntil?: Date | string | null
processingAttempt?: number
processingErrorText?: string | null
processedAt?: Date | string | null
callSession?: Prisma.TelephonyCallSessionCreateNestedOneWithoutWebhookEventsInput
}
export type TelephonyWebhookEventUncheckedCreateWithoutConnectionInput = {
id?: string
receivedAt?: Date | string
tenantId: string
callSessionId?: string | null
eventType: string
dedupeKey: string
authenticationValid?: boolean
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: string | null
processingLeaseUntil?: Date | string | null
processingAttempt?: number
processingErrorText?: string | null
processedAt?: Date | string | null
}
export type TelephonyWebhookEventCreateOrConnectWithoutConnectionInput = {
where: Prisma.TelephonyWebhookEventWhereUniqueInput
create: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutConnectionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutConnectionInput>
}
export type TelephonyWebhookEventCreateManyConnectionInputEnvelope = {
data: Prisma.TelephonyWebhookEventCreateManyConnectionInput | Prisma.TelephonyWebhookEventCreateManyConnectionInput[]
skipDuplicates?: boolean
}
export type TelephonyWebhookEventUpsertWithWhereUniqueWithoutConnectionInput = {
where: Prisma.TelephonyWebhookEventWhereUniqueInput
update: Prisma.XOR<Prisma.TelephonyWebhookEventUpdateWithoutConnectionInput, Prisma.TelephonyWebhookEventUncheckedUpdateWithoutConnectionInput>
create: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutConnectionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutConnectionInput>
}
export type TelephonyWebhookEventUpdateWithWhereUniqueWithoutConnectionInput = {
where: Prisma.TelephonyWebhookEventWhereUniqueInput
data: Prisma.XOR<Prisma.TelephonyWebhookEventUpdateWithoutConnectionInput, Prisma.TelephonyWebhookEventUncheckedUpdateWithoutConnectionInput>
}
export type TelephonyWebhookEventUpdateManyWithWhereWithoutConnectionInput = {
where: Prisma.TelephonyWebhookEventScalarWhereInput
data: Prisma.XOR<Prisma.TelephonyWebhookEventUpdateManyMutationInput, Prisma.TelephonyWebhookEventUncheckedUpdateManyWithoutConnectionInput>
}
export type TelephonyWebhookEventScalarWhereInput = {
AND?: Prisma.TelephonyWebhookEventScalarWhereInput | Prisma.TelephonyWebhookEventScalarWhereInput[]
OR?: Prisma.TelephonyWebhookEventScalarWhereInput[]
NOT?: Prisma.TelephonyWebhookEventScalarWhereInput | Prisma.TelephonyWebhookEventScalarWhereInput[]
id?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
receivedAt?: Prisma.DateTimeFilter<"TelephonyWebhookEvent"> | Date | string
tenantId?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
connectionId?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
callSessionId?: Prisma.StringNullableFilter<"TelephonyWebhookEvent"> | string | null
eventType?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
dedupeKey?: Prisma.StringFilter<"TelephonyWebhookEvent"> | string
authenticationValid?: Prisma.BoolFilter<"TelephonyWebhookEvent"> | boolean
notificationPayload?: Prisma.JsonFilter<"TelephonyWebhookEvent">
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFilter<"TelephonyWebhookEvent"> | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.StringNullableFilter<"TelephonyWebhookEvent"> | string | null
processingLeaseUntil?: Prisma.DateTimeNullableFilter<"TelephonyWebhookEvent"> | Date | string | null
processingAttempt?: Prisma.IntFilter<"TelephonyWebhookEvent"> | number
processingErrorText?: Prisma.StringNullableFilter<"TelephonyWebhookEvent"> | string | null
processedAt?: Prisma.DateTimeNullableFilter<"TelephonyWebhookEvent"> | Date | string | null
}
export type TelephonyWebhookEventCreateWithoutCallSessionInput = {
id?: string
receivedAt?: Date | string
tenantId: string
eventType: string
dedupeKey: string
authenticationValid?: boolean
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: string | null
processingLeaseUntil?: Date | string | null
processingAttempt?: number
processingErrorText?: string | null
processedAt?: Date | string | null
connection: Prisma.TelephonyConnectionCreateNestedOneWithoutWebhookEventsInput
}
export type TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput = {
id?: string
receivedAt?: Date | string
tenantId: string
connectionId: string
eventType: string
dedupeKey: string
authenticationValid?: boolean
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: string | null
processingLeaseUntil?: Date | string | null
processingAttempt?: number
processingErrorText?: string | null
processedAt?: Date | string | null
}
export type TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput = {
where: Prisma.TelephonyWebhookEventWhereUniqueInput
create: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutCallSessionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput>
}
export type TelephonyWebhookEventCreateManyCallSessionInputEnvelope = {
data: Prisma.TelephonyWebhookEventCreateManyCallSessionInput | Prisma.TelephonyWebhookEventCreateManyCallSessionInput[]
skipDuplicates?: boolean
}
export type TelephonyWebhookEventUpsertWithWhereUniqueWithoutCallSessionInput = {
where: Prisma.TelephonyWebhookEventWhereUniqueInput
update: Prisma.XOR<Prisma.TelephonyWebhookEventUpdateWithoutCallSessionInput, Prisma.TelephonyWebhookEventUncheckedUpdateWithoutCallSessionInput>
create: Prisma.XOR<Prisma.TelephonyWebhookEventCreateWithoutCallSessionInput, Prisma.TelephonyWebhookEventUncheckedCreateWithoutCallSessionInput>
}
export type TelephonyWebhookEventUpdateWithWhereUniqueWithoutCallSessionInput = {
where: Prisma.TelephonyWebhookEventWhereUniqueInput
data: Prisma.XOR<Prisma.TelephonyWebhookEventUpdateWithoutCallSessionInput, Prisma.TelephonyWebhookEventUncheckedUpdateWithoutCallSessionInput>
}
export type TelephonyWebhookEventUpdateManyWithWhereWithoutCallSessionInput = {
where: Prisma.TelephonyWebhookEventScalarWhereInput
data: Prisma.XOR<Prisma.TelephonyWebhookEventUpdateManyMutationInput, Prisma.TelephonyWebhookEventUncheckedUpdateManyWithoutCallSessionInput>
}
export type TelephonyWebhookEventCreateManyConnectionInput = {
id?: string
receivedAt?: Date | string
tenantId: string
callSessionId?: string | null
eventType: string
dedupeKey: string
authenticationValid?: boolean
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: string | null
processingLeaseUntil?: Date | string | null
processingAttempt?: number
processingErrorText?: string | null
processedAt?: Date | string | null
}
export type TelephonyWebhookEventUpdateWithoutConnectionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
authenticationValid?: Prisma.BoolFieldUpdateOperationsInput | boolean
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processingLeaseUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
processingAttempt?: Prisma.IntFieldUpdateOperationsInput | number
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
callSession?: Prisma.TelephonyCallSessionUpdateOneWithoutWebhookEventsNestedInput
}
export type TelephonyWebhookEventUncheckedUpdateWithoutConnectionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
eventType?: Prisma.StringFieldUpdateOperationsInput | string
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
authenticationValid?: Prisma.BoolFieldUpdateOperationsInput | boolean
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processingLeaseUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
processingAttempt?: Prisma.IntFieldUpdateOperationsInput | number
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type TelephonyWebhookEventUncheckedUpdateManyWithoutConnectionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
eventType?: Prisma.StringFieldUpdateOperationsInput | string
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
authenticationValid?: Prisma.BoolFieldUpdateOperationsInput | boolean
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processingLeaseUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
processingAttempt?: Prisma.IntFieldUpdateOperationsInput | number
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type TelephonyWebhookEventCreateManyCallSessionInput = {
id?: string
receivedAt?: Date | string
tenantId: string
connectionId: string
eventType: string
dedupeKey: string
authenticationValid?: boolean
notificationPayload: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: string | null
processingLeaseUntil?: Date | string | null
processingAttempt?: number
processingErrorText?: string | null
processedAt?: Date | string | null
}
export type TelephonyWebhookEventUpdateWithoutCallSessionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
authenticationValid?: Prisma.BoolFieldUpdateOperationsInput | boolean
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processingLeaseUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
processingAttempt?: Prisma.IntFieldUpdateOperationsInput | number
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
connection?: Prisma.TelephonyConnectionUpdateOneRequiredWithoutWebhookEventsNestedInput
}
export type TelephonyWebhookEventUncheckedUpdateWithoutCallSessionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
authenticationValid?: Prisma.BoolFieldUpdateOperationsInput | boolean
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processingLeaseUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
processingAttempt?: Prisma.IntFieldUpdateOperationsInput | number
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type TelephonyWebhookEventUncheckedUpdateManyWithoutCallSessionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
authenticationValid?: Prisma.BoolFieldUpdateOperationsInput | boolean
notificationPayload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
processingStatus?: Prisma.EnumTelephonyWebhookProcessingStatusFieldUpdateOperationsInput | $Enums.TelephonyWebhookProcessingStatus
processingLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processingLeaseUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
processingAttempt?: Prisma.IntFieldUpdateOperationsInput | number
processingErrorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type TelephonyWebhookEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
receivedAt?: boolean
tenantId?: boolean
connectionId?: boolean
callSessionId?: boolean
eventType?: boolean
dedupeKey?: boolean
authenticationValid?: boolean
notificationPayload?: boolean
processingStatus?: boolean
processingLeaseId?: boolean
processingLeaseUntil?: boolean
processingAttempt?: boolean
processingErrorText?: boolean
processedAt?: boolean
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs<ExtArgs>
}, ExtArgs["result"]["telephonyWebhookEvent"]>
export type TelephonyWebhookEventSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
receivedAt?: boolean
tenantId?: boolean
connectionId?: boolean
callSessionId?: boolean
eventType?: boolean
dedupeKey?: boolean
authenticationValid?: boolean
notificationPayload?: boolean
processingStatus?: boolean
processingLeaseId?: boolean
processingLeaseUntil?: boolean
processingAttempt?: boolean
processingErrorText?: boolean
processedAt?: boolean
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs<ExtArgs>
}, ExtArgs["result"]["telephonyWebhookEvent"]>
export type TelephonyWebhookEventSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
receivedAt?: boolean
tenantId?: boolean
connectionId?: boolean
callSessionId?: boolean
eventType?: boolean
dedupeKey?: boolean
authenticationValid?: boolean
notificationPayload?: boolean
processingStatus?: boolean
processingLeaseId?: boolean
processingLeaseUntil?: boolean
processingAttempt?: boolean
processingErrorText?: boolean
processedAt?: boolean
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs<ExtArgs>
}, ExtArgs["result"]["telephonyWebhookEvent"]>
export type TelephonyWebhookEventSelectScalar = {
id?: boolean
receivedAt?: boolean
tenantId?: boolean
connectionId?: boolean
callSessionId?: boolean
eventType?: boolean
dedupeKey?: boolean
authenticationValid?: boolean
notificationPayload?: boolean
processingStatus?: boolean
processingLeaseId?: boolean
processingLeaseUntil?: boolean
processingAttempt?: boolean
processingErrorText?: boolean
processedAt?: boolean
}
export type TelephonyWebhookEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "receivedAt" | "tenantId" | "connectionId" | "callSessionId" | "eventType" | "dedupeKey" | "authenticationValid" | "notificationPayload" | "processingStatus" | "processingLeaseId" | "processingLeaseUntil" | "processingAttempt" | "processingErrorText" | "processedAt", ExtArgs["result"]["telephonyWebhookEvent"]>
export type TelephonyWebhookEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs<ExtArgs>
}
export type TelephonyWebhookEventIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs<ExtArgs>
}
export type TelephonyWebhookEventIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs<ExtArgs>
}
export type $TelephonyWebhookEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "TelephonyWebhookEvent"
objects: {
connection: Prisma.$TelephonyConnectionPayload<ExtArgs>
callSession: Prisma.$TelephonyCallSessionPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
receivedAt: Date
tenantId: string
connectionId: string
callSessionId: string | null
eventType: string
dedupeKey: string
authenticationValid: boolean
notificationPayload: runtime.JsonValue
processingStatus: $Enums.TelephonyWebhookProcessingStatus
processingLeaseId: string | null
processingLeaseUntil: Date | null
processingAttempt: number
processingErrorText: string | null
processedAt: Date | null
}, ExtArgs["result"]["telephonyWebhookEvent"]>
composites: {}
}
export type TelephonyWebhookEventGetPayload<S extends boolean | null | undefined | TelephonyWebhookEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload, S>
export type TelephonyWebhookEventCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<TelephonyWebhookEventFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: TelephonyWebhookEventCountAggregateInputType | true
}
export interface TelephonyWebhookEventDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TelephonyWebhookEvent'], meta: { name: 'TelephonyWebhookEvent' } }
/**
* Find zero or one TelephonyWebhookEvent that matches the filter.
* @param {TelephonyWebhookEventFindUniqueArgs} args - Arguments to find a TelephonyWebhookEvent
* @example
* // Get one TelephonyWebhookEvent
* const telephonyWebhookEvent = await prisma.telephonyWebhookEvent.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends TelephonyWebhookEventFindUniqueArgs>(args: Prisma.SelectSubset<T, TelephonyWebhookEventFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TelephonyWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one TelephonyWebhookEvent that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {TelephonyWebhookEventFindUniqueOrThrowArgs} args - Arguments to find a TelephonyWebhookEvent
* @example
* // Get one TelephonyWebhookEvent
* const telephonyWebhookEvent = await prisma.telephonyWebhookEvent.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends TelephonyWebhookEventFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TelephonyWebhookEventFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TelephonyWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first TelephonyWebhookEvent 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 {TelephonyWebhookEventFindFirstArgs} args - Arguments to find a TelephonyWebhookEvent
* @example
* // Get one TelephonyWebhookEvent
* const telephonyWebhookEvent = await prisma.telephonyWebhookEvent.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends TelephonyWebhookEventFindFirstArgs>(args?: Prisma.SelectSubset<T, TelephonyWebhookEventFindFirstArgs<ExtArgs>>): Prisma.Prisma__TelephonyWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first TelephonyWebhookEvent 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 {TelephonyWebhookEventFindFirstOrThrowArgs} args - Arguments to find a TelephonyWebhookEvent
* @example
* // Get one TelephonyWebhookEvent
* const telephonyWebhookEvent = await prisma.telephonyWebhookEvent.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends TelephonyWebhookEventFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TelephonyWebhookEventFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TelephonyWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more TelephonyWebhookEvents 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 {TelephonyWebhookEventFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all TelephonyWebhookEvents
* const telephonyWebhookEvents = await prisma.telephonyWebhookEvent.findMany()
*
* // Get first 10 TelephonyWebhookEvents
* const telephonyWebhookEvents = await prisma.telephonyWebhookEvent.findMany({ take: 10 })
*
* // Only select the `id`
* const telephonyWebhookEventWithIdOnly = await prisma.telephonyWebhookEvent.findMany({ select: { id: true } })
*
*/
findMany<T extends TelephonyWebhookEventFindManyArgs>(args?: Prisma.SelectSubset<T, TelephonyWebhookEventFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a TelephonyWebhookEvent.
* @param {TelephonyWebhookEventCreateArgs} args - Arguments to create a TelephonyWebhookEvent.
* @example
* // Create one TelephonyWebhookEvent
* const TelephonyWebhookEvent = await prisma.telephonyWebhookEvent.create({
* data: {
* // ... data to create a TelephonyWebhookEvent
* }
* })
*
*/
create<T extends TelephonyWebhookEventCreateArgs>(args: Prisma.SelectSubset<T, TelephonyWebhookEventCreateArgs<ExtArgs>>): Prisma.Prisma__TelephonyWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many TelephonyWebhookEvents.
* @param {TelephonyWebhookEventCreateManyArgs} args - Arguments to create many TelephonyWebhookEvents.
* @example
* // Create many TelephonyWebhookEvents
* const telephonyWebhookEvent = await prisma.telephonyWebhookEvent.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends TelephonyWebhookEventCreateManyArgs>(args?: Prisma.SelectSubset<T, TelephonyWebhookEventCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many TelephonyWebhookEvents and returns the data saved in the database.
* @param {TelephonyWebhookEventCreateManyAndReturnArgs} args - Arguments to create many TelephonyWebhookEvents.
* @example
* // Create many TelephonyWebhookEvents
* const telephonyWebhookEvent = await prisma.telephonyWebhookEvent.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many TelephonyWebhookEvents and only return the `id`
* const telephonyWebhookEventWithIdOnly = await prisma.telephonyWebhookEvent.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 TelephonyWebhookEventCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TelephonyWebhookEventCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a TelephonyWebhookEvent.
* @param {TelephonyWebhookEventDeleteArgs} args - Arguments to delete one TelephonyWebhookEvent.
* @example
* // Delete one TelephonyWebhookEvent
* const TelephonyWebhookEvent = await prisma.telephonyWebhookEvent.delete({
* where: {
* // ... filter to delete one TelephonyWebhookEvent
* }
* })
*
*/
delete<T extends TelephonyWebhookEventDeleteArgs>(args: Prisma.SelectSubset<T, TelephonyWebhookEventDeleteArgs<ExtArgs>>): Prisma.Prisma__TelephonyWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one TelephonyWebhookEvent.
* @param {TelephonyWebhookEventUpdateArgs} args - Arguments to update one TelephonyWebhookEvent.
* @example
* // Update one TelephonyWebhookEvent
* const telephonyWebhookEvent = await prisma.telephonyWebhookEvent.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends TelephonyWebhookEventUpdateArgs>(args: Prisma.SelectSubset<T, TelephonyWebhookEventUpdateArgs<ExtArgs>>): Prisma.Prisma__TelephonyWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more TelephonyWebhookEvents.
* @param {TelephonyWebhookEventDeleteManyArgs} args - Arguments to filter TelephonyWebhookEvents to delete.
* @example
* // Delete a few TelephonyWebhookEvents
* const { count } = await prisma.telephonyWebhookEvent.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends TelephonyWebhookEventDeleteManyArgs>(args?: Prisma.SelectSubset<T, TelephonyWebhookEventDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more TelephonyWebhookEvents.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {TelephonyWebhookEventUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many TelephonyWebhookEvents
* const telephonyWebhookEvent = await prisma.telephonyWebhookEvent.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends TelephonyWebhookEventUpdateManyArgs>(args: Prisma.SelectSubset<T, TelephonyWebhookEventUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more TelephonyWebhookEvents and returns the data updated in the database.
* @param {TelephonyWebhookEventUpdateManyAndReturnArgs} args - Arguments to update many TelephonyWebhookEvents.
* @example
* // Update many TelephonyWebhookEvents
* const telephonyWebhookEvent = await prisma.telephonyWebhookEvent.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more TelephonyWebhookEvents and only return the `id`
* const telephonyWebhookEventWithIdOnly = await prisma.telephonyWebhookEvent.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 TelephonyWebhookEventUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TelephonyWebhookEventUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one TelephonyWebhookEvent.
* @param {TelephonyWebhookEventUpsertArgs} args - Arguments to update or create a TelephonyWebhookEvent.
* @example
* // Update or create a TelephonyWebhookEvent
* const telephonyWebhookEvent = await prisma.telephonyWebhookEvent.upsert({
* create: {
* // ... data to create a TelephonyWebhookEvent
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the TelephonyWebhookEvent we want to update
* }
* })
*/
upsert<T extends TelephonyWebhookEventUpsertArgs>(args: Prisma.SelectSubset<T, TelephonyWebhookEventUpsertArgs<ExtArgs>>): Prisma.Prisma__TelephonyWebhookEventClient<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of TelephonyWebhookEvents.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {TelephonyWebhookEventCountArgs} args - Arguments to filter TelephonyWebhookEvents to count.
* @example
* // Count the number of TelephonyWebhookEvents
* const count = await prisma.telephonyWebhookEvent.count({
* where: {
* // ... the filter for the TelephonyWebhookEvents we want to count
* }
* })
**/
count<T extends TelephonyWebhookEventCountArgs>(
args?: Prisma.Subset<T, TelephonyWebhookEventCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], TelephonyWebhookEventCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a TelephonyWebhookEvent.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {TelephonyWebhookEventAggregateArgs} 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 TelephonyWebhookEventAggregateArgs>(args: Prisma.Subset<T, TelephonyWebhookEventAggregateArgs>): Prisma.PrismaPromise<GetTelephonyWebhookEventAggregateType<T>>
/**
* Group by TelephonyWebhookEvent.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {TelephonyWebhookEventGroupByArgs} 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 TelephonyWebhookEventGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: TelephonyWebhookEventGroupByArgs['orderBy'] }
: { orderBy?: TelephonyWebhookEventGroupByArgs['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, TelephonyWebhookEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTelephonyWebhookEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the TelephonyWebhookEvent model
*/
readonly fields: TelephonyWebhookEventFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for TelephonyWebhookEvent.
* 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__TelephonyWebhookEventClient<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.TelephonyConnectionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TelephonyConnectionDefaultArgs<ExtArgs>>): Prisma.Prisma__TelephonyConnectionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
callSession<T extends Prisma.TelephonyWebhookEvent$callSessionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TelephonyWebhookEvent$callSessionArgs<ExtArgs>>): Prisma.Prisma__TelephonyCallSessionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyCallSessionPayload<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 TelephonyWebhookEvent model
*/
export interface TelephonyWebhookEventFieldRefs {
readonly id: Prisma.FieldRef<"TelephonyWebhookEvent", 'String'>
readonly receivedAt: Prisma.FieldRef<"TelephonyWebhookEvent", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"TelephonyWebhookEvent", 'String'>
readonly connectionId: Prisma.FieldRef<"TelephonyWebhookEvent", 'String'>
readonly callSessionId: Prisma.FieldRef<"TelephonyWebhookEvent", 'String'>
readonly eventType: Prisma.FieldRef<"TelephonyWebhookEvent", 'String'>
readonly dedupeKey: Prisma.FieldRef<"TelephonyWebhookEvent", 'String'>
readonly authenticationValid: Prisma.FieldRef<"TelephonyWebhookEvent", 'Boolean'>
readonly notificationPayload: Prisma.FieldRef<"TelephonyWebhookEvent", 'Json'>
readonly processingStatus: Prisma.FieldRef<"TelephonyWebhookEvent", 'TelephonyWebhookProcessingStatus'>
readonly processingLeaseId: Prisma.FieldRef<"TelephonyWebhookEvent", 'String'>
readonly processingLeaseUntil: Prisma.FieldRef<"TelephonyWebhookEvent", 'DateTime'>
readonly processingAttempt: Prisma.FieldRef<"TelephonyWebhookEvent", 'Int'>
readonly processingErrorText: Prisma.FieldRef<"TelephonyWebhookEvent", 'String'>
readonly processedAt: Prisma.FieldRef<"TelephonyWebhookEvent", 'DateTime'>
}
// Custom InputTypes
/**
* TelephonyWebhookEvent findUnique
*/
export type TelephonyWebhookEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
/**
* Filter, which TelephonyWebhookEvent to fetch.
*/
where: Prisma.TelephonyWebhookEventWhereUniqueInput
}
/**
* TelephonyWebhookEvent findUniqueOrThrow
*/
export type TelephonyWebhookEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
/**
* Filter, which TelephonyWebhookEvent to fetch.
*/
where: Prisma.TelephonyWebhookEventWhereUniqueInput
}
/**
* TelephonyWebhookEvent findFirst
*/
export type TelephonyWebhookEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
/**
* Filter, which TelephonyWebhookEvent to fetch.
*/
where?: Prisma.TelephonyWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of TelephonyWebhookEvents to fetch.
*/
orderBy?: Prisma.TelephonyWebhookEventOrderByWithRelationInput | Prisma.TelephonyWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for TelephonyWebhookEvents.
*/
cursor?: Prisma.TelephonyWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` TelephonyWebhookEvents 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` TelephonyWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of TelephonyWebhookEvents.
*/
distinct?: Prisma.TelephonyWebhookEventScalarFieldEnum | Prisma.TelephonyWebhookEventScalarFieldEnum[]
}
/**
* TelephonyWebhookEvent findFirstOrThrow
*/
export type TelephonyWebhookEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
/**
* Filter, which TelephonyWebhookEvent to fetch.
*/
where?: Prisma.TelephonyWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of TelephonyWebhookEvents to fetch.
*/
orderBy?: Prisma.TelephonyWebhookEventOrderByWithRelationInput | Prisma.TelephonyWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for TelephonyWebhookEvents.
*/
cursor?: Prisma.TelephonyWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` TelephonyWebhookEvents 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` TelephonyWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of TelephonyWebhookEvents.
*/
distinct?: Prisma.TelephonyWebhookEventScalarFieldEnum | Prisma.TelephonyWebhookEventScalarFieldEnum[]
}
/**
* TelephonyWebhookEvent findMany
*/
export type TelephonyWebhookEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
/**
* Filter, which TelephonyWebhookEvents to fetch.
*/
where?: Prisma.TelephonyWebhookEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of TelephonyWebhookEvents to fetch.
*/
orderBy?: Prisma.TelephonyWebhookEventOrderByWithRelationInput | Prisma.TelephonyWebhookEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing TelephonyWebhookEvents.
*/
cursor?: Prisma.TelephonyWebhookEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` TelephonyWebhookEvents 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` TelephonyWebhookEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of TelephonyWebhookEvents.
*/
distinct?: Prisma.TelephonyWebhookEventScalarFieldEnum | Prisma.TelephonyWebhookEventScalarFieldEnum[]
}
/**
* TelephonyWebhookEvent create
*/
export type TelephonyWebhookEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
/**
* The data needed to create a TelephonyWebhookEvent.
*/
data: Prisma.XOR<Prisma.TelephonyWebhookEventCreateInput, Prisma.TelephonyWebhookEventUncheckedCreateInput>
}
/**
* TelephonyWebhookEvent createMany
*/
export type TelephonyWebhookEventCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many TelephonyWebhookEvents.
*/
data: Prisma.TelephonyWebhookEventCreateManyInput | Prisma.TelephonyWebhookEventCreateManyInput[]
skipDuplicates?: boolean
}
/**
* TelephonyWebhookEvent createManyAndReturn
*/
export type TelephonyWebhookEventCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* The data used to create many TelephonyWebhookEvents.
*/
data: Prisma.TelephonyWebhookEventCreateManyInput | Prisma.TelephonyWebhookEventCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* TelephonyWebhookEvent update
*/
export type TelephonyWebhookEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
/**
* The data needed to update a TelephonyWebhookEvent.
*/
data: Prisma.XOR<Prisma.TelephonyWebhookEventUpdateInput, Prisma.TelephonyWebhookEventUncheckedUpdateInput>
/**
* Choose, which TelephonyWebhookEvent to update.
*/
where: Prisma.TelephonyWebhookEventWhereUniqueInput
}
/**
* TelephonyWebhookEvent updateMany
*/
export type TelephonyWebhookEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update TelephonyWebhookEvents.
*/
data: Prisma.XOR<Prisma.TelephonyWebhookEventUpdateManyMutationInput, Prisma.TelephonyWebhookEventUncheckedUpdateManyInput>
/**
* Filter which TelephonyWebhookEvents to update
*/
where?: Prisma.TelephonyWebhookEventWhereInput
/**
* Limit how many TelephonyWebhookEvents to update.
*/
limit?: number
}
/**
* TelephonyWebhookEvent updateManyAndReturn
*/
export type TelephonyWebhookEventUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* The data used to update TelephonyWebhookEvents.
*/
data: Prisma.XOR<Prisma.TelephonyWebhookEventUpdateManyMutationInput, Prisma.TelephonyWebhookEventUncheckedUpdateManyInput>
/**
* Filter which TelephonyWebhookEvents to update
*/
where?: Prisma.TelephonyWebhookEventWhereInput
/**
* Limit how many TelephonyWebhookEvents to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* TelephonyWebhookEvent upsert
*/
export type TelephonyWebhookEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
/**
* The filter to search for the TelephonyWebhookEvent to update in case it exists.
*/
where: Prisma.TelephonyWebhookEventWhereUniqueInput
/**
* In case the TelephonyWebhookEvent found by the `where` argument doesn't exist, create a new TelephonyWebhookEvent with this data.
*/
create: Prisma.XOR<Prisma.TelephonyWebhookEventCreateInput, Prisma.TelephonyWebhookEventUncheckedCreateInput>
/**
* In case the TelephonyWebhookEvent was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.TelephonyWebhookEventUpdateInput, Prisma.TelephonyWebhookEventUncheckedUpdateInput>
}
/**
* TelephonyWebhookEvent delete
*/
export type TelephonyWebhookEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
/**
* Filter which TelephonyWebhookEvent to delete.
*/
where: Prisma.TelephonyWebhookEventWhereUniqueInput
}
/**
* TelephonyWebhookEvent deleteMany
*/
export type TelephonyWebhookEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which TelephonyWebhookEvents to delete
*/
where?: Prisma.TelephonyWebhookEventWhereInput
/**
* Limit how many TelephonyWebhookEvents to delete.
*/
limit?: number
}
/**
* TelephonyWebhookEvent.callSession
*/
export type TelephonyWebhookEvent$callSessionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyCallSession
*/
select?: Prisma.TelephonyCallSessionSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyCallSession
*/
omit?: Prisma.TelephonyCallSessionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyCallSessionInclude<ExtArgs> | null
where?: Prisma.TelephonyCallSessionWhereInput
}
/**
* TelephonyWebhookEvent without action
*/
export type TelephonyWebhookEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyWebhookEvent
*/
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyWebhookEvent
*/
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
}