/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateTelephonyWebhookEvent]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type TelephonyWebhookEventGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof TelephonyWebhookEventGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 callSession?: Prisma.XOR | 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 callSession?: Prisma.XOR | 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[] connectOrCreate?: Prisma.TelephonyWebhookEventCreateOrConnectWithoutConnectionInput | Prisma.TelephonyWebhookEventCreateOrConnectWithoutConnectionInput[] createMany?: Prisma.TelephonyWebhookEventCreateManyConnectionInputEnvelope connect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[] } export type TelephonyWebhookEventUncheckedCreateNestedManyWithoutConnectionInput = { create?: Prisma.XOR | 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[] 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[] 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[] connectOrCreate?: Prisma.TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput | Prisma.TelephonyWebhookEventCreateOrConnectWithoutCallSessionInput[] createMany?: Prisma.TelephonyWebhookEventCreateManyCallSessionInputEnvelope connect?: Prisma.TelephonyWebhookEventWhereUniqueInput | Prisma.TelephonyWebhookEventWhereUniqueInput[] } export type TelephonyWebhookEventUncheckedCreateNestedManyWithoutCallSessionInput = { create?: Prisma.XOR | 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[] 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[] 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 } export type TelephonyWebhookEventCreateManyConnectionInputEnvelope = { data: Prisma.TelephonyWebhookEventCreateManyConnectionInput | Prisma.TelephonyWebhookEventCreateManyConnectionInput[] skipDuplicates?: boolean } export type TelephonyWebhookEventUpsertWithWhereUniqueWithoutConnectionInput = { where: Prisma.TelephonyWebhookEventWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TelephonyWebhookEventUpdateWithWhereUniqueWithoutConnectionInput = { where: Prisma.TelephonyWebhookEventWhereUniqueInput data: Prisma.XOR } export type TelephonyWebhookEventUpdateManyWithWhereWithoutConnectionInput = { where: Prisma.TelephonyWebhookEventScalarWhereInput data: Prisma.XOR } 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 } export type TelephonyWebhookEventCreateManyCallSessionInputEnvelope = { data: Prisma.TelephonyWebhookEventCreateManyCallSessionInput | Prisma.TelephonyWebhookEventCreateManyCallSessionInput[] skipDuplicates?: boolean } export type TelephonyWebhookEventUpsertWithWhereUniqueWithoutCallSessionInput = { where: Prisma.TelephonyWebhookEventWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TelephonyWebhookEventUpdateWithWhereUniqueWithoutCallSessionInput = { where: Prisma.TelephonyWebhookEventWhereUniqueInput data: Prisma.XOR } export type TelephonyWebhookEventUpdateManyWithWhereWithoutCallSessionInput = { where: Prisma.TelephonyWebhookEventScalarWhereInput data: Prisma.XOR } 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 = 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 callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs }, ExtArgs["result"]["telephonyWebhookEvent"]> export type TelephonyWebhookEventSelectCreateManyAndReturn = 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 callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs }, ExtArgs["result"]["telephonyWebhookEvent"]> export type TelephonyWebhookEventSelectUpdateManyAndReturn = 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 callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs }, 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 = 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 = { connection?: boolean | Prisma.TelephonyConnectionDefaultArgs callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs } export type TelephonyWebhookEventIncludeCreateManyAndReturn = { connection?: boolean | Prisma.TelephonyConnectionDefaultArgs callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs } export type TelephonyWebhookEventIncludeUpdateManyAndReturn = { connection?: boolean | Prisma.TelephonyConnectionDefaultArgs callSession?: boolean | Prisma.TelephonyWebhookEvent$callSessionArgs } export type $TelephonyWebhookEventPayload = { name: "TelephonyWebhookEvent" objects: { connection: Prisma.$TelephonyConnectionPayload callSession: Prisma.$TelephonyCallSessionPayload | 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 = runtime.Types.Result.GetResult export type TelephonyWebhookEventCountArgs = Omit & { select?: TelephonyWebhookEventCountAggregateInputType | true } export interface TelephonyWebhookEventDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyWebhookEventClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyWebhookEventClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__TelephonyWebhookEventClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__TelephonyWebhookEventClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyWebhookEventClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyWebhookEventClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyWebhookEventClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyWebhookEventClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: TelephonyWebhookEventGroupByArgs['orderBy'] } : { orderBy?: TelephonyWebhookEventGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTelephonyWebhookEventGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" connection = {}>(args?: Prisma.Subset>): Prisma.Prisma__TelephonyConnectionClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> callSession = {}>(args?: Prisma.Subset>): Prisma.Prisma__TelephonyCallSessionClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the 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 = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelect | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyWebhookEventInclude | null /** * Filter, which TelephonyWebhookEvent to fetch. */ where: Prisma.TelephonyWebhookEventWhereUniqueInput } /** * TelephonyWebhookEvent findUniqueOrThrow */ export type TelephonyWebhookEventFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelect | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyWebhookEventInclude | null /** * Filter, which TelephonyWebhookEvent to fetch. */ where: Prisma.TelephonyWebhookEventWhereUniqueInput } /** * TelephonyWebhookEvent findFirst */ export type TelephonyWebhookEventFindFirstArgs = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelect | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyWebhookEventInclude | 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 = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelect | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyWebhookEventInclude | 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 = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelect | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyWebhookEventInclude | 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 = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelect | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyWebhookEventInclude | null /** * The data needed to create a TelephonyWebhookEvent. */ data: Prisma.XOR } /** * TelephonyWebhookEvent createMany */ export type TelephonyWebhookEventCreateManyArgs = { /** * The data used to create many TelephonyWebhookEvents. */ data: Prisma.TelephonyWebhookEventCreateManyInput | Prisma.TelephonyWebhookEventCreateManyInput[] skipDuplicates?: boolean } /** * TelephonyWebhookEvent createManyAndReturn */ export type TelephonyWebhookEventCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelectCreateManyAndReturn | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | 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 | null } /** * TelephonyWebhookEvent update */ export type TelephonyWebhookEventUpdateArgs = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelect | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyWebhookEventInclude | null /** * The data needed to update a TelephonyWebhookEvent. */ data: Prisma.XOR /** * Choose, which TelephonyWebhookEvent to update. */ where: Prisma.TelephonyWebhookEventWhereUniqueInput } /** * TelephonyWebhookEvent updateMany */ export type TelephonyWebhookEventUpdateManyArgs = { /** * The data used to update TelephonyWebhookEvents. */ data: Prisma.XOR /** * Filter which TelephonyWebhookEvents to update */ where?: Prisma.TelephonyWebhookEventWhereInput /** * Limit how many TelephonyWebhookEvents to update. */ limit?: number } /** * TelephonyWebhookEvent updateManyAndReturn */ export type TelephonyWebhookEventUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelectUpdateManyAndReturn | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * The data used to update TelephonyWebhookEvents. */ data: Prisma.XOR /** * 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 | null } /** * TelephonyWebhookEvent upsert */ export type TelephonyWebhookEventUpsertArgs = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelect | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyWebhookEventInclude | 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 /** * In case the TelephonyWebhookEvent was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * TelephonyWebhookEvent delete */ export type TelephonyWebhookEventDeleteArgs = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelect | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyWebhookEventInclude | null /** * Filter which TelephonyWebhookEvent to delete. */ where: Prisma.TelephonyWebhookEventWhereUniqueInput } /** * TelephonyWebhookEvent deleteMany */ export type TelephonyWebhookEventDeleteManyArgs = { /** * Filter which TelephonyWebhookEvents to delete */ where?: Prisma.TelephonyWebhookEventWhereInput /** * Limit how many TelephonyWebhookEvents to delete. */ limit?: number } /** * TelephonyWebhookEvent.callSession */ export type TelephonyWebhookEvent$callSessionArgs = { /** * Select specific fields to fetch from the TelephonyCallSession */ select?: Prisma.TelephonyCallSessionSelect | null /** * Omit specific fields from the TelephonyCallSession */ omit?: Prisma.TelephonyCallSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyCallSessionInclude | null where?: Prisma.TelephonyCallSessionWhereInput } /** * TelephonyWebhookEvent without action */ export type TelephonyWebhookEventDefaultArgs = { /** * Select specific fields to fetch from the TelephonyWebhookEvent */ select?: Prisma.TelephonyWebhookEventSelect | null /** * Omit specific fields from the TelephonyWebhookEvent */ omit?: Prisma.TelephonyWebhookEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyWebhookEventInclude | null }