Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/PublicWebhookDeliveryLog.ts
T
2026-07-08 16:15:37 +02:00

1826 lines
79 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 `PublicWebhookDeliveryLog` 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 PublicWebhookDeliveryLog
*
*/
export type PublicWebhookDeliveryLogModel = runtime.Types.Result.DefaultSelection<Prisma.$PublicWebhookDeliveryLogPayload>
export type AggregatePublicWebhookDeliveryLog = {
_count: PublicWebhookDeliveryLogCountAggregateOutputType | null
_avg: PublicWebhookDeliveryLogAvgAggregateOutputType | null
_sum: PublicWebhookDeliveryLogSumAggregateOutputType | null
_min: PublicWebhookDeliveryLogMinAggregateOutputType | null
_max: PublicWebhookDeliveryLogMaxAggregateOutputType | null
}
export type PublicWebhookDeliveryLogAvgAggregateOutputType = {
httpStatus: number | null
attempt: number | null
maxAttempts: number | null
}
export type PublicWebhookDeliveryLogSumAggregateOutputType = {
httpStatus: number | null
attempt: number | null
maxAttempts: number | null
}
export type PublicWebhookDeliveryLogMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
subscriptionId: string | null
eventType: string | null
targetUrl: string | null
status: $Enums.PublicWebhookDeliveryStatus | null
httpStatus: number | null
attempt: number | null
maxAttempts: number | null
nextAttemptAt: Date | null
idempotencyKey: string | null
payloadHash: string | null
error: string | null
sentAt: Date | null
}
export type PublicWebhookDeliveryLogMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
subscriptionId: string | null
eventType: string | null
targetUrl: string | null
status: $Enums.PublicWebhookDeliveryStatus | null
httpStatus: number | null
attempt: number | null
maxAttempts: number | null
nextAttemptAt: Date | null
idempotencyKey: string | null
payloadHash: string | null
error: string | null
sentAt: Date | null
}
export type PublicWebhookDeliveryLogCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
tenantId: number
subscriptionId: number
eventType: number
targetUrl: number
status: number
httpStatus: number
attempt: number
maxAttempts: number
nextAttemptAt: number
idempotencyKey: number
payloadHash: number
error: number
responsePreview: number
sentAt: number
_all: number
}
export type PublicWebhookDeliveryLogAvgAggregateInputType = {
httpStatus?: true
attempt?: true
maxAttempts?: true
}
export type PublicWebhookDeliveryLogSumAggregateInputType = {
httpStatus?: true
attempt?: true
maxAttempts?: true
}
export type PublicWebhookDeliveryLogMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
subscriptionId?: true
eventType?: true
targetUrl?: true
status?: true
httpStatus?: true
attempt?: true
maxAttempts?: true
nextAttemptAt?: true
idempotencyKey?: true
payloadHash?: true
error?: true
sentAt?: true
}
export type PublicWebhookDeliveryLogMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
subscriptionId?: true
eventType?: true
targetUrl?: true
status?: true
httpStatus?: true
attempt?: true
maxAttempts?: true
nextAttemptAt?: true
idempotencyKey?: true
payloadHash?: true
error?: true
sentAt?: true
}
export type PublicWebhookDeliveryLogCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
subscriptionId?: true
eventType?: true
targetUrl?: true
status?: true
httpStatus?: true
attempt?: true
maxAttempts?: true
nextAttemptAt?: true
idempotencyKey?: true
payloadHash?: true
error?: true
responsePreview?: true
sentAt?: true
_all?: true
}
export type PublicWebhookDeliveryLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which PublicWebhookDeliveryLog to aggregate.
*/
where?: Prisma.PublicWebhookDeliveryLogWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PublicWebhookDeliveryLogs to fetch.
*/
orderBy?: Prisma.PublicWebhookDeliveryLogOrderByWithRelationInput | Prisma.PublicWebhookDeliveryLogOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PublicWebhookDeliveryLogs 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` PublicWebhookDeliveryLogs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned PublicWebhookDeliveryLogs
**/
_count?: true | PublicWebhookDeliveryLogCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: PublicWebhookDeliveryLogAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: PublicWebhookDeliveryLogSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: PublicWebhookDeliveryLogMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: PublicWebhookDeliveryLogMaxAggregateInputType
}
export type GetPublicWebhookDeliveryLogAggregateType<T extends PublicWebhookDeliveryLogAggregateArgs> = {
[P in keyof T & keyof AggregatePublicWebhookDeliveryLog]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregatePublicWebhookDeliveryLog[P]>
: Prisma.GetScalarType<T[P], AggregatePublicWebhookDeliveryLog[P]>
}
export type PublicWebhookDeliveryLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.PublicWebhookDeliveryLogWhereInput
orderBy?: Prisma.PublicWebhookDeliveryLogOrderByWithAggregationInput | Prisma.PublicWebhookDeliveryLogOrderByWithAggregationInput[]
by: Prisma.PublicWebhookDeliveryLogScalarFieldEnum[] | Prisma.PublicWebhookDeliveryLogScalarFieldEnum
having?: Prisma.PublicWebhookDeliveryLogScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: PublicWebhookDeliveryLogCountAggregateInputType | true
_avg?: PublicWebhookDeliveryLogAvgAggregateInputType
_sum?: PublicWebhookDeliveryLogSumAggregateInputType
_min?: PublicWebhookDeliveryLogMinAggregateInputType
_max?: PublicWebhookDeliveryLogMaxAggregateInputType
}
export type PublicWebhookDeliveryLogGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
tenantId: string
subscriptionId: string
eventType: string
targetUrl: string
status: $Enums.PublicWebhookDeliveryStatus
httpStatus: number | null
attempt: number
maxAttempts: number
nextAttemptAt: Date | null
idempotencyKey: string
payloadHash: string
error: string | null
responsePreview: runtime.JsonValue | null
sentAt: Date | null
_count: PublicWebhookDeliveryLogCountAggregateOutputType | null
_avg: PublicWebhookDeliveryLogAvgAggregateOutputType | null
_sum: PublicWebhookDeliveryLogSumAggregateOutputType | null
_min: PublicWebhookDeliveryLogMinAggregateOutputType | null
_max: PublicWebhookDeliveryLogMaxAggregateOutputType | null
}
export type GetPublicWebhookDeliveryLogGroupByPayload<T extends PublicWebhookDeliveryLogGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<PublicWebhookDeliveryLogGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof PublicWebhookDeliveryLogGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], PublicWebhookDeliveryLogGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], PublicWebhookDeliveryLogGroupByOutputType[P]>
}
>
>
export type PublicWebhookDeliveryLogWhereInput = {
AND?: Prisma.PublicWebhookDeliveryLogWhereInput | Prisma.PublicWebhookDeliveryLogWhereInput[]
OR?: Prisma.PublicWebhookDeliveryLogWhereInput[]
NOT?: Prisma.PublicWebhookDeliveryLogWhereInput | Prisma.PublicWebhookDeliveryLogWhereInput[]
id?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
createdAt?: Prisma.DateTimeFilter<"PublicWebhookDeliveryLog"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"PublicWebhookDeliveryLog"> | Date | string
tenantId?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
subscriptionId?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
eventType?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
targetUrl?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
status?: Prisma.EnumPublicWebhookDeliveryStatusFilter<"PublicWebhookDeliveryLog"> | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.IntNullableFilter<"PublicWebhookDeliveryLog"> | number | null
attempt?: Prisma.IntFilter<"PublicWebhookDeliveryLog"> | number
maxAttempts?: Prisma.IntFilter<"PublicWebhookDeliveryLog"> | number
nextAttemptAt?: Prisma.DateTimeNullableFilter<"PublicWebhookDeliveryLog"> | Date | string | null
idempotencyKey?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
payloadHash?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
error?: Prisma.StringNullableFilter<"PublicWebhookDeliveryLog"> | string | null
responsePreview?: Prisma.JsonNullableFilter<"PublicWebhookDeliveryLog">
sentAt?: Prisma.DateTimeNullableFilter<"PublicWebhookDeliveryLog"> | Date | string | null
subscription?: Prisma.XOR<Prisma.PublicWebhookSubscriptionScalarRelationFilter, Prisma.PublicWebhookSubscriptionWhereInput>
}
export type PublicWebhookDeliveryLogOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
subscriptionId?: Prisma.SortOrder
eventType?: Prisma.SortOrder
targetUrl?: Prisma.SortOrder
status?: Prisma.SortOrder
httpStatus?: Prisma.SortOrderInput | Prisma.SortOrder
attempt?: Prisma.SortOrder
maxAttempts?: Prisma.SortOrder
nextAttemptAt?: Prisma.SortOrderInput | Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
payloadHash?: Prisma.SortOrder
error?: Prisma.SortOrderInput | Prisma.SortOrder
responsePreview?: Prisma.SortOrderInput | Prisma.SortOrder
sentAt?: Prisma.SortOrderInput | Prisma.SortOrder
subscription?: Prisma.PublicWebhookSubscriptionOrderByWithRelationInput
}
export type PublicWebhookDeliveryLogWhereUniqueInput = Prisma.AtLeast<{
id?: string
subscriptionId_idempotencyKey?: Prisma.PublicWebhookDeliveryLogSubscriptionIdIdempotencyKeyCompoundUniqueInput
AND?: Prisma.PublicWebhookDeliveryLogWhereInput | Prisma.PublicWebhookDeliveryLogWhereInput[]
OR?: Prisma.PublicWebhookDeliveryLogWhereInput[]
NOT?: Prisma.PublicWebhookDeliveryLogWhereInput | Prisma.PublicWebhookDeliveryLogWhereInput[]
createdAt?: Prisma.DateTimeFilter<"PublicWebhookDeliveryLog"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"PublicWebhookDeliveryLog"> | Date | string
tenantId?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
subscriptionId?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
eventType?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
targetUrl?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
status?: Prisma.EnumPublicWebhookDeliveryStatusFilter<"PublicWebhookDeliveryLog"> | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.IntNullableFilter<"PublicWebhookDeliveryLog"> | number | null
attempt?: Prisma.IntFilter<"PublicWebhookDeliveryLog"> | number
maxAttempts?: Prisma.IntFilter<"PublicWebhookDeliveryLog"> | number
nextAttemptAt?: Prisma.DateTimeNullableFilter<"PublicWebhookDeliveryLog"> | Date | string | null
idempotencyKey?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
payloadHash?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
error?: Prisma.StringNullableFilter<"PublicWebhookDeliveryLog"> | string | null
responsePreview?: Prisma.JsonNullableFilter<"PublicWebhookDeliveryLog">
sentAt?: Prisma.DateTimeNullableFilter<"PublicWebhookDeliveryLog"> | Date | string | null
subscription?: Prisma.XOR<Prisma.PublicWebhookSubscriptionScalarRelationFilter, Prisma.PublicWebhookSubscriptionWhereInput>
}, "id" | "subscriptionId_idempotencyKey">
export type PublicWebhookDeliveryLogOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
subscriptionId?: Prisma.SortOrder
eventType?: Prisma.SortOrder
targetUrl?: Prisma.SortOrder
status?: Prisma.SortOrder
httpStatus?: Prisma.SortOrderInput | Prisma.SortOrder
attempt?: Prisma.SortOrder
maxAttempts?: Prisma.SortOrder
nextAttemptAt?: Prisma.SortOrderInput | Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
payloadHash?: Prisma.SortOrder
error?: Prisma.SortOrderInput | Prisma.SortOrder
responsePreview?: Prisma.SortOrderInput | Prisma.SortOrder
sentAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.PublicWebhookDeliveryLogCountOrderByAggregateInput
_avg?: Prisma.PublicWebhookDeliveryLogAvgOrderByAggregateInput
_max?: Prisma.PublicWebhookDeliveryLogMaxOrderByAggregateInput
_min?: Prisma.PublicWebhookDeliveryLogMinOrderByAggregateInput
_sum?: Prisma.PublicWebhookDeliveryLogSumOrderByAggregateInput
}
export type PublicWebhookDeliveryLogScalarWhereWithAggregatesInput = {
AND?: Prisma.PublicWebhookDeliveryLogScalarWhereWithAggregatesInput | Prisma.PublicWebhookDeliveryLogScalarWhereWithAggregatesInput[]
OR?: Prisma.PublicWebhookDeliveryLogScalarWhereWithAggregatesInput[]
NOT?: Prisma.PublicWebhookDeliveryLogScalarWhereWithAggregatesInput | Prisma.PublicWebhookDeliveryLogScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"PublicWebhookDeliveryLog"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PublicWebhookDeliveryLog"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PublicWebhookDeliveryLog"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"PublicWebhookDeliveryLog"> | string
subscriptionId?: Prisma.StringWithAggregatesFilter<"PublicWebhookDeliveryLog"> | string
eventType?: Prisma.StringWithAggregatesFilter<"PublicWebhookDeliveryLog"> | string
targetUrl?: Prisma.StringWithAggregatesFilter<"PublicWebhookDeliveryLog"> | string
status?: Prisma.EnumPublicWebhookDeliveryStatusWithAggregatesFilter<"PublicWebhookDeliveryLog"> | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.IntNullableWithAggregatesFilter<"PublicWebhookDeliveryLog"> | number | null
attempt?: Prisma.IntWithAggregatesFilter<"PublicWebhookDeliveryLog"> | number
maxAttempts?: Prisma.IntWithAggregatesFilter<"PublicWebhookDeliveryLog"> | number
nextAttemptAt?: Prisma.DateTimeNullableWithAggregatesFilter<"PublicWebhookDeliveryLog"> | Date | string | null
idempotencyKey?: Prisma.StringWithAggregatesFilter<"PublicWebhookDeliveryLog"> | string
payloadHash?: Prisma.StringWithAggregatesFilter<"PublicWebhookDeliveryLog"> | string
error?: Prisma.StringNullableWithAggregatesFilter<"PublicWebhookDeliveryLog"> | string | null
responsePreview?: Prisma.JsonNullableWithAggregatesFilter<"PublicWebhookDeliveryLog">
sentAt?: Prisma.DateTimeNullableWithAggregatesFilter<"PublicWebhookDeliveryLog"> | Date | string | null
}
export type PublicWebhookDeliveryLogCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
eventType: string
targetUrl: string
status?: $Enums.PublicWebhookDeliveryStatus
httpStatus?: number | null
attempt?: number
maxAttempts?: number
nextAttemptAt?: Date | string | null
idempotencyKey: string
payloadHash: string
error?: string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Date | string | null
subscription: Prisma.PublicWebhookSubscriptionCreateNestedOneWithoutDeliveriesInput
}
export type PublicWebhookDeliveryLogUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
subscriptionId: string
eventType: string
targetUrl: string
status?: $Enums.PublicWebhookDeliveryStatus
httpStatus?: number | null
attempt?: number
maxAttempts?: number
nextAttemptAt?: Date | string | null
idempotencyKey: string
payloadHash: string
error?: string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Date | string | null
}
export type PublicWebhookDeliveryLogUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
targetUrl?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.EnumPublicWebhookDeliveryStatusFieldUpdateOperationsInput | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
attempt?: Prisma.IntFieldUpdateOperationsInput | number
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payloadHash?: Prisma.StringFieldUpdateOperationsInput | string
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
subscription?: Prisma.PublicWebhookSubscriptionUpdateOneRequiredWithoutDeliveriesNestedInput
}
export type PublicWebhookDeliveryLogUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
subscriptionId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
targetUrl?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.EnumPublicWebhookDeliveryStatusFieldUpdateOperationsInput | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
attempt?: Prisma.IntFieldUpdateOperationsInput | number
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payloadHash?: Prisma.StringFieldUpdateOperationsInput | string
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type PublicWebhookDeliveryLogCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
subscriptionId: string
eventType: string
targetUrl: string
status?: $Enums.PublicWebhookDeliveryStatus
httpStatus?: number | null
attempt?: number
maxAttempts?: number
nextAttemptAt?: Date | string | null
idempotencyKey: string
payloadHash: string
error?: string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Date | string | null
}
export type PublicWebhookDeliveryLogUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
targetUrl?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.EnumPublicWebhookDeliveryStatusFieldUpdateOperationsInput | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
attempt?: Prisma.IntFieldUpdateOperationsInput | number
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payloadHash?: Prisma.StringFieldUpdateOperationsInput | string
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type PublicWebhookDeliveryLogUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
subscriptionId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
targetUrl?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.EnumPublicWebhookDeliveryStatusFieldUpdateOperationsInput | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
attempt?: Prisma.IntFieldUpdateOperationsInput | number
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payloadHash?: Prisma.StringFieldUpdateOperationsInput | string
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type PublicWebhookDeliveryLogListRelationFilter = {
every?: Prisma.PublicWebhookDeliveryLogWhereInput
some?: Prisma.PublicWebhookDeliveryLogWhereInput
none?: Prisma.PublicWebhookDeliveryLogWhereInput
}
export type PublicWebhookDeliveryLogOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type PublicWebhookDeliveryLogSubscriptionIdIdempotencyKeyCompoundUniqueInput = {
subscriptionId: string
idempotencyKey: string
}
export type PublicWebhookDeliveryLogCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
subscriptionId?: Prisma.SortOrder
eventType?: Prisma.SortOrder
targetUrl?: Prisma.SortOrder
status?: Prisma.SortOrder
httpStatus?: Prisma.SortOrder
attempt?: Prisma.SortOrder
maxAttempts?: Prisma.SortOrder
nextAttemptAt?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
payloadHash?: Prisma.SortOrder
error?: Prisma.SortOrder
responsePreview?: Prisma.SortOrder
sentAt?: Prisma.SortOrder
}
export type PublicWebhookDeliveryLogAvgOrderByAggregateInput = {
httpStatus?: Prisma.SortOrder
attempt?: Prisma.SortOrder
maxAttempts?: Prisma.SortOrder
}
export type PublicWebhookDeliveryLogMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
subscriptionId?: Prisma.SortOrder
eventType?: Prisma.SortOrder
targetUrl?: Prisma.SortOrder
status?: Prisma.SortOrder
httpStatus?: Prisma.SortOrder
attempt?: Prisma.SortOrder
maxAttempts?: Prisma.SortOrder
nextAttemptAt?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
payloadHash?: Prisma.SortOrder
error?: Prisma.SortOrder
sentAt?: Prisma.SortOrder
}
export type PublicWebhookDeliveryLogMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
subscriptionId?: Prisma.SortOrder
eventType?: Prisma.SortOrder
targetUrl?: Prisma.SortOrder
status?: Prisma.SortOrder
httpStatus?: Prisma.SortOrder
attempt?: Prisma.SortOrder
maxAttempts?: Prisma.SortOrder
nextAttemptAt?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
payloadHash?: Prisma.SortOrder
error?: Prisma.SortOrder
sentAt?: Prisma.SortOrder
}
export type PublicWebhookDeliveryLogSumOrderByAggregateInput = {
httpStatus?: Prisma.SortOrder
attempt?: Prisma.SortOrder
maxAttempts?: Prisma.SortOrder
}
export type PublicWebhookDeliveryLogCreateNestedManyWithoutSubscriptionInput = {
create?: Prisma.XOR<Prisma.PublicWebhookDeliveryLogCreateWithoutSubscriptionInput, Prisma.PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput> | Prisma.PublicWebhookDeliveryLogCreateWithoutSubscriptionInput[] | Prisma.PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput[]
connectOrCreate?: Prisma.PublicWebhookDeliveryLogCreateOrConnectWithoutSubscriptionInput | Prisma.PublicWebhookDeliveryLogCreateOrConnectWithoutSubscriptionInput[]
createMany?: Prisma.PublicWebhookDeliveryLogCreateManySubscriptionInputEnvelope
connect?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput | Prisma.PublicWebhookDeliveryLogWhereUniqueInput[]
}
export type PublicWebhookDeliveryLogUncheckedCreateNestedManyWithoutSubscriptionInput = {
create?: Prisma.XOR<Prisma.PublicWebhookDeliveryLogCreateWithoutSubscriptionInput, Prisma.PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput> | Prisma.PublicWebhookDeliveryLogCreateWithoutSubscriptionInput[] | Prisma.PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput[]
connectOrCreate?: Prisma.PublicWebhookDeliveryLogCreateOrConnectWithoutSubscriptionInput | Prisma.PublicWebhookDeliveryLogCreateOrConnectWithoutSubscriptionInput[]
createMany?: Prisma.PublicWebhookDeliveryLogCreateManySubscriptionInputEnvelope
connect?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput | Prisma.PublicWebhookDeliveryLogWhereUniqueInput[]
}
export type PublicWebhookDeliveryLogUpdateManyWithoutSubscriptionNestedInput = {
create?: Prisma.XOR<Prisma.PublicWebhookDeliveryLogCreateWithoutSubscriptionInput, Prisma.PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput> | Prisma.PublicWebhookDeliveryLogCreateWithoutSubscriptionInput[] | Prisma.PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput[]
connectOrCreate?: Prisma.PublicWebhookDeliveryLogCreateOrConnectWithoutSubscriptionInput | Prisma.PublicWebhookDeliveryLogCreateOrConnectWithoutSubscriptionInput[]
upsert?: Prisma.PublicWebhookDeliveryLogUpsertWithWhereUniqueWithoutSubscriptionInput | Prisma.PublicWebhookDeliveryLogUpsertWithWhereUniqueWithoutSubscriptionInput[]
createMany?: Prisma.PublicWebhookDeliveryLogCreateManySubscriptionInputEnvelope
set?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput | Prisma.PublicWebhookDeliveryLogWhereUniqueInput[]
disconnect?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput | Prisma.PublicWebhookDeliveryLogWhereUniqueInput[]
delete?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput | Prisma.PublicWebhookDeliveryLogWhereUniqueInput[]
connect?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput | Prisma.PublicWebhookDeliveryLogWhereUniqueInput[]
update?: Prisma.PublicWebhookDeliveryLogUpdateWithWhereUniqueWithoutSubscriptionInput | Prisma.PublicWebhookDeliveryLogUpdateWithWhereUniqueWithoutSubscriptionInput[]
updateMany?: Prisma.PublicWebhookDeliveryLogUpdateManyWithWhereWithoutSubscriptionInput | Prisma.PublicWebhookDeliveryLogUpdateManyWithWhereWithoutSubscriptionInput[]
deleteMany?: Prisma.PublicWebhookDeliveryLogScalarWhereInput | Prisma.PublicWebhookDeliveryLogScalarWhereInput[]
}
export type PublicWebhookDeliveryLogUncheckedUpdateManyWithoutSubscriptionNestedInput = {
create?: Prisma.XOR<Prisma.PublicWebhookDeliveryLogCreateWithoutSubscriptionInput, Prisma.PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput> | Prisma.PublicWebhookDeliveryLogCreateWithoutSubscriptionInput[] | Prisma.PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput[]
connectOrCreate?: Prisma.PublicWebhookDeliveryLogCreateOrConnectWithoutSubscriptionInput | Prisma.PublicWebhookDeliveryLogCreateOrConnectWithoutSubscriptionInput[]
upsert?: Prisma.PublicWebhookDeliveryLogUpsertWithWhereUniqueWithoutSubscriptionInput | Prisma.PublicWebhookDeliveryLogUpsertWithWhereUniqueWithoutSubscriptionInput[]
createMany?: Prisma.PublicWebhookDeliveryLogCreateManySubscriptionInputEnvelope
set?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput | Prisma.PublicWebhookDeliveryLogWhereUniqueInput[]
disconnect?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput | Prisma.PublicWebhookDeliveryLogWhereUniqueInput[]
delete?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput | Prisma.PublicWebhookDeliveryLogWhereUniqueInput[]
connect?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput | Prisma.PublicWebhookDeliveryLogWhereUniqueInput[]
update?: Prisma.PublicWebhookDeliveryLogUpdateWithWhereUniqueWithoutSubscriptionInput | Prisma.PublicWebhookDeliveryLogUpdateWithWhereUniqueWithoutSubscriptionInput[]
updateMany?: Prisma.PublicWebhookDeliveryLogUpdateManyWithWhereWithoutSubscriptionInput | Prisma.PublicWebhookDeliveryLogUpdateManyWithWhereWithoutSubscriptionInput[]
deleteMany?: Prisma.PublicWebhookDeliveryLogScalarWhereInput | Prisma.PublicWebhookDeliveryLogScalarWhereInput[]
}
export type EnumPublicWebhookDeliveryStatusFieldUpdateOperationsInput = {
set?: $Enums.PublicWebhookDeliveryStatus
}
export type PublicWebhookDeliveryLogCreateWithoutSubscriptionInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
eventType: string
targetUrl: string
status?: $Enums.PublicWebhookDeliveryStatus
httpStatus?: number | null
attempt?: number
maxAttempts?: number
nextAttemptAt?: Date | string | null
idempotencyKey: string
payloadHash: string
error?: string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Date | string | null
}
export type PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
eventType: string
targetUrl: string
status?: $Enums.PublicWebhookDeliveryStatus
httpStatus?: number | null
attempt?: number
maxAttempts?: number
nextAttemptAt?: Date | string | null
idempotencyKey: string
payloadHash: string
error?: string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Date | string | null
}
export type PublicWebhookDeliveryLogCreateOrConnectWithoutSubscriptionInput = {
where: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
create: Prisma.XOR<Prisma.PublicWebhookDeliveryLogCreateWithoutSubscriptionInput, Prisma.PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput>
}
export type PublicWebhookDeliveryLogCreateManySubscriptionInputEnvelope = {
data: Prisma.PublicWebhookDeliveryLogCreateManySubscriptionInput | Prisma.PublicWebhookDeliveryLogCreateManySubscriptionInput[]
skipDuplicates?: boolean
}
export type PublicWebhookDeliveryLogUpsertWithWhereUniqueWithoutSubscriptionInput = {
where: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
update: Prisma.XOR<Prisma.PublicWebhookDeliveryLogUpdateWithoutSubscriptionInput, Prisma.PublicWebhookDeliveryLogUncheckedUpdateWithoutSubscriptionInput>
create: Prisma.XOR<Prisma.PublicWebhookDeliveryLogCreateWithoutSubscriptionInput, Prisma.PublicWebhookDeliveryLogUncheckedCreateWithoutSubscriptionInput>
}
export type PublicWebhookDeliveryLogUpdateWithWhereUniqueWithoutSubscriptionInput = {
where: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
data: Prisma.XOR<Prisma.PublicWebhookDeliveryLogUpdateWithoutSubscriptionInput, Prisma.PublicWebhookDeliveryLogUncheckedUpdateWithoutSubscriptionInput>
}
export type PublicWebhookDeliveryLogUpdateManyWithWhereWithoutSubscriptionInput = {
where: Prisma.PublicWebhookDeliveryLogScalarWhereInput
data: Prisma.XOR<Prisma.PublicWebhookDeliveryLogUpdateManyMutationInput, Prisma.PublicWebhookDeliveryLogUncheckedUpdateManyWithoutSubscriptionInput>
}
export type PublicWebhookDeliveryLogScalarWhereInput = {
AND?: Prisma.PublicWebhookDeliveryLogScalarWhereInput | Prisma.PublicWebhookDeliveryLogScalarWhereInput[]
OR?: Prisma.PublicWebhookDeliveryLogScalarWhereInput[]
NOT?: Prisma.PublicWebhookDeliveryLogScalarWhereInput | Prisma.PublicWebhookDeliveryLogScalarWhereInput[]
id?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
createdAt?: Prisma.DateTimeFilter<"PublicWebhookDeliveryLog"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"PublicWebhookDeliveryLog"> | Date | string
tenantId?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
subscriptionId?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
eventType?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
targetUrl?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
status?: Prisma.EnumPublicWebhookDeliveryStatusFilter<"PublicWebhookDeliveryLog"> | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.IntNullableFilter<"PublicWebhookDeliveryLog"> | number | null
attempt?: Prisma.IntFilter<"PublicWebhookDeliveryLog"> | number
maxAttempts?: Prisma.IntFilter<"PublicWebhookDeliveryLog"> | number
nextAttemptAt?: Prisma.DateTimeNullableFilter<"PublicWebhookDeliveryLog"> | Date | string | null
idempotencyKey?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
payloadHash?: Prisma.StringFilter<"PublicWebhookDeliveryLog"> | string
error?: Prisma.StringNullableFilter<"PublicWebhookDeliveryLog"> | string | null
responsePreview?: Prisma.JsonNullableFilter<"PublicWebhookDeliveryLog">
sentAt?: Prisma.DateTimeNullableFilter<"PublicWebhookDeliveryLog"> | Date | string | null
}
export type PublicWebhookDeliveryLogCreateManySubscriptionInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
eventType: string
targetUrl: string
status?: $Enums.PublicWebhookDeliveryStatus
httpStatus?: number | null
attempt?: number
maxAttempts?: number
nextAttemptAt?: Date | string | null
idempotencyKey: string
payloadHash: string
error?: string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Date | string | null
}
export type PublicWebhookDeliveryLogUpdateWithoutSubscriptionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
targetUrl?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.EnumPublicWebhookDeliveryStatusFieldUpdateOperationsInput | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
attempt?: Prisma.IntFieldUpdateOperationsInput | number
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payloadHash?: Prisma.StringFieldUpdateOperationsInput | string
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type PublicWebhookDeliveryLogUncheckedUpdateWithoutSubscriptionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
targetUrl?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.EnumPublicWebhookDeliveryStatusFieldUpdateOperationsInput | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
attempt?: Prisma.IntFieldUpdateOperationsInput | number
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payloadHash?: Prisma.StringFieldUpdateOperationsInput | string
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type PublicWebhookDeliveryLogUncheckedUpdateManyWithoutSubscriptionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
eventType?: Prisma.StringFieldUpdateOperationsInput | string
targetUrl?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.EnumPublicWebhookDeliveryStatusFieldUpdateOperationsInput | $Enums.PublicWebhookDeliveryStatus
httpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
attempt?: Prisma.IntFieldUpdateOperationsInput | number
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
payloadHash?: Prisma.StringFieldUpdateOperationsInput | string
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
responsePreview?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type PublicWebhookDeliveryLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
subscriptionId?: boolean
eventType?: boolean
targetUrl?: boolean
status?: boolean
httpStatus?: boolean
attempt?: boolean
maxAttempts?: boolean
nextAttemptAt?: boolean
idempotencyKey?: boolean
payloadHash?: boolean
error?: boolean
responsePreview?: boolean
sentAt?: boolean
subscription?: boolean | Prisma.PublicWebhookSubscriptionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["publicWebhookDeliveryLog"]>
export type PublicWebhookDeliveryLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
subscriptionId?: boolean
eventType?: boolean
targetUrl?: boolean
status?: boolean
httpStatus?: boolean
attempt?: boolean
maxAttempts?: boolean
nextAttemptAt?: boolean
idempotencyKey?: boolean
payloadHash?: boolean
error?: boolean
responsePreview?: boolean
sentAt?: boolean
subscription?: boolean | Prisma.PublicWebhookSubscriptionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["publicWebhookDeliveryLog"]>
export type PublicWebhookDeliveryLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
subscriptionId?: boolean
eventType?: boolean
targetUrl?: boolean
status?: boolean
httpStatus?: boolean
attempt?: boolean
maxAttempts?: boolean
nextAttemptAt?: boolean
idempotencyKey?: boolean
payloadHash?: boolean
error?: boolean
responsePreview?: boolean
sentAt?: boolean
subscription?: boolean | Prisma.PublicWebhookSubscriptionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["publicWebhookDeliveryLog"]>
export type PublicWebhookDeliveryLogSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
subscriptionId?: boolean
eventType?: boolean
targetUrl?: boolean
status?: boolean
httpStatus?: boolean
attempt?: boolean
maxAttempts?: boolean
nextAttemptAt?: boolean
idempotencyKey?: boolean
payloadHash?: boolean
error?: boolean
responsePreview?: boolean
sentAt?: boolean
}
export type PublicWebhookDeliveryLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "subscriptionId" | "eventType" | "targetUrl" | "status" | "httpStatus" | "attempt" | "maxAttempts" | "nextAttemptAt" | "idempotencyKey" | "payloadHash" | "error" | "responsePreview" | "sentAt", ExtArgs["result"]["publicWebhookDeliveryLog"]>
export type PublicWebhookDeliveryLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
subscription?: boolean | Prisma.PublicWebhookSubscriptionDefaultArgs<ExtArgs>
}
export type PublicWebhookDeliveryLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
subscription?: boolean | Prisma.PublicWebhookSubscriptionDefaultArgs<ExtArgs>
}
export type PublicWebhookDeliveryLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
subscription?: boolean | Prisma.PublicWebhookSubscriptionDefaultArgs<ExtArgs>
}
export type $PublicWebhookDeliveryLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "PublicWebhookDeliveryLog"
objects: {
subscription: Prisma.$PublicWebhookSubscriptionPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
tenantId: string
subscriptionId: string
eventType: string
targetUrl: string
status: $Enums.PublicWebhookDeliveryStatus
httpStatus: number | null
attempt: number
maxAttempts: number
nextAttemptAt: Date | null
idempotencyKey: string
payloadHash: string
error: string | null
responsePreview: runtime.JsonValue | null
sentAt: Date | null
}, ExtArgs["result"]["publicWebhookDeliveryLog"]>
composites: {}
}
export type PublicWebhookDeliveryLogGetPayload<S extends boolean | null | undefined | PublicWebhookDeliveryLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload, S>
export type PublicWebhookDeliveryLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<PublicWebhookDeliveryLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: PublicWebhookDeliveryLogCountAggregateInputType | true
}
export interface PublicWebhookDeliveryLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PublicWebhookDeliveryLog'], meta: { name: 'PublicWebhookDeliveryLog' } }
/**
* Find zero or one PublicWebhookDeliveryLog that matches the filter.
* @param {PublicWebhookDeliveryLogFindUniqueArgs} args - Arguments to find a PublicWebhookDeliveryLog
* @example
* // Get one PublicWebhookDeliveryLog
* const publicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends PublicWebhookDeliveryLogFindUniqueArgs>(args: Prisma.SelectSubset<T, PublicWebhookDeliveryLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PublicWebhookDeliveryLogClient<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one PublicWebhookDeliveryLog that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {PublicWebhookDeliveryLogFindUniqueOrThrowArgs} args - Arguments to find a PublicWebhookDeliveryLog
* @example
* // Get one PublicWebhookDeliveryLog
* const publicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends PublicWebhookDeliveryLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PublicWebhookDeliveryLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PublicWebhookDeliveryLogClient<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first PublicWebhookDeliveryLog 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 {PublicWebhookDeliveryLogFindFirstArgs} args - Arguments to find a PublicWebhookDeliveryLog
* @example
* // Get one PublicWebhookDeliveryLog
* const publicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends PublicWebhookDeliveryLogFindFirstArgs>(args?: Prisma.SelectSubset<T, PublicWebhookDeliveryLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__PublicWebhookDeliveryLogClient<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first PublicWebhookDeliveryLog 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 {PublicWebhookDeliveryLogFindFirstOrThrowArgs} args - Arguments to find a PublicWebhookDeliveryLog
* @example
* // Get one PublicWebhookDeliveryLog
* const publicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends PublicWebhookDeliveryLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PublicWebhookDeliveryLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PublicWebhookDeliveryLogClient<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more PublicWebhookDeliveryLogs 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 {PublicWebhookDeliveryLogFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all PublicWebhookDeliveryLogs
* const publicWebhookDeliveryLogs = await prisma.publicWebhookDeliveryLog.findMany()
*
* // Get first 10 PublicWebhookDeliveryLogs
* const publicWebhookDeliveryLogs = await prisma.publicWebhookDeliveryLog.findMany({ take: 10 })
*
* // Only select the `id`
* const publicWebhookDeliveryLogWithIdOnly = await prisma.publicWebhookDeliveryLog.findMany({ select: { id: true } })
*
*/
findMany<T extends PublicWebhookDeliveryLogFindManyArgs>(args?: Prisma.SelectSubset<T, PublicWebhookDeliveryLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a PublicWebhookDeliveryLog.
* @param {PublicWebhookDeliveryLogCreateArgs} args - Arguments to create a PublicWebhookDeliveryLog.
* @example
* // Create one PublicWebhookDeliveryLog
* const PublicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.create({
* data: {
* // ... data to create a PublicWebhookDeliveryLog
* }
* })
*
*/
create<T extends PublicWebhookDeliveryLogCreateArgs>(args: Prisma.SelectSubset<T, PublicWebhookDeliveryLogCreateArgs<ExtArgs>>): Prisma.Prisma__PublicWebhookDeliveryLogClient<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many PublicWebhookDeliveryLogs.
* @param {PublicWebhookDeliveryLogCreateManyArgs} args - Arguments to create many PublicWebhookDeliveryLogs.
* @example
* // Create many PublicWebhookDeliveryLogs
* const publicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends PublicWebhookDeliveryLogCreateManyArgs>(args?: Prisma.SelectSubset<T, PublicWebhookDeliveryLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many PublicWebhookDeliveryLogs and returns the data saved in the database.
* @param {PublicWebhookDeliveryLogCreateManyAndReturnArgs} args - Arguments to create many PublicWebhookDeliveryLogs.
* @example
* // Create many PublicWebhookDeliveryLogs
* const publicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many PublicWebhookDeliveryLogs and only return the `id`
* const publicWebhookDeliveryLogWithIdOnly = await prisma.publicWebhookDeliveryLog.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 PublicWebhookDeliveryLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PublicWebhookDeliveryLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a PublicWebhookDeliveryLog.
* @param {PublicWebhookDeliveryLogDeleteArgs} args - Arguments to delete one PublicWebhookDeliveryLog.
* @example
* // Delete one PublicWebhookDeliveryLog
* const PublicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.delete({
* where: {
* // ... filter to delete one PublicWebhookDeliveryLog
* }
* })
*
*/
delete<T extends PublicWebhookDeliveryLogDeleteArgs>(args: Prisma.SelectSubset<T, PublicWebhookDeliveryLogDeleteArgs<ExtArgs>>): Prisma.Prisma__PublicWebhookDeliveryLogClient<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one PublicWebhookDeliveryLog.
* @param {PublicWebhookDeliveryLogUpdateArgs} args - Arguments to update one PublicWebhookDeliveryLog.
* @example
* // Update one PublicWebhookDeliveryLog
* const publicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends PublicWebhookDeliveryLogUpdateArgs>(args: Prisma.SelectSubset<T, PublicWebhookDeliveryLogUpdateArgs<ExtArgs>>): Prisma.Prisma__PublicWebhookDeliveryLogClient<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more PublicWebhookDeliveryLogs.
* @param {PublicWebhookDeliveryLogDeleteManyArgs} args - Arguments to filter PublicWebhookDeliveryLogs to delete.
* @example
* // Delete a few PublicWebhookDeliveryLogs
* const { count } = await prisma.publicWebhookDeliveryLog.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends PublicWebhookDeliveryLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, PublicWebhookDeliveryLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more PublicWebhookDeliveryLogs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PublicWebhookDeliveryLogUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many PublicWebhookDeliveryLogs
* const publicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends PublicWebhookDeliveryLogUpdateManyArgs>(args: Prisma.SelectSubset<T, PublicWebhookDeliveryLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more PublicWebhookDeliveryLogs and returns the data updated in the database.
* @param {PublicWebhookDeliveryLogUpdateManyAndReturnArgs} args - Arguments to update many PublicWebhookDeliveryLogs.
* @example
* // Update many PublicWebhookDeliveryLogs
* const publicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more PublicWebhookDeliveryLogs and only return the `id`
* const publicWebhookDeliveryLogWithIdOnly = await prisma.publicWebhookDeliveryLog.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 PublicWebhookDeliveryLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PublicWebhookDeliveryLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one PublicWebhookDeliveryLog.
* @param {PublicWebhookDeliveryLogUpsertArgs} args - Arguments to update or create a PublicWebhookDeliveryLog.
* @example
* // Update or create a PublicWebhookDeliveryLog
* const publicWebhookDeliveryLog = await prisma.publicWebhookDeliveryLog.upsert({
* create: {
* // ... data to create a PublicWebhookDeliveryLog
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the PublicWebhookDeliveryLog we want to update
* }
* })
*/
upsert<T extends PublicWebhookDeliveryLogUpsertArgs>(args: Prisma.SelectSubset<T, PublicWebhookDeliveryLogUpsertArgs<ExtArgs>>): Prisma.Prisma__PublicWebhookDeliveryLogClient<runtime.Types.Result.GetResult<Prisma.$PublicWebhookDeliveryLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of PublicWebhookDeliveryLogs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PublicWebhookDeliveryLogCountArgs} args - Arguments to filter PublicWebhookDeliveryLogs to count.
* @example
* // Count the number of PublicWebhookDeliveryLogs
* const count = await prisma.publicWebhookDeliveryLog.count({
* where: {
* // ... the filter for the PublicWebhookDeliveryLogs we want to count
* }
* })
**/
count<T extends PublicWebhookDeliveryLogCountArgs>(
args?: Prisma.Subset<T, PublicWebhookDeliveryLogCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], PublicWebhookDeliveryLogCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a PublicWebhookDeliveryLog.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PublicWebhookDeliveryLogAggregateArgs} 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 PublicWebhookDeliveryLogAggregateArgs>(args: Prisma.Subset<T, PublicWebhookDeliveryLogAggregateArgs>): Prisma.PrismaPromise<GetPublicWebhookDeliveryLogAggregateType<T>>
/**
* Group by PublicWebhookDeliveryLog.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PublicWebhookDeliveryLogGroupByArgs} 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 PublicWebhookDeliveryLogGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: PublicWebhookDeliveryLogGroupByArgs['orderBy'] }
: { orderBy?: PublicWebhookDeliveryLogGroupByArgs['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, PublicWebhookDeliveryLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPublicWebhookDeliveryLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the PublicWebhookDeliveryLog model
*/
readonly fields: PublicWebhookDeliveryLogFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for PublicWebhookDeliveryLog.
* 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__PublicWebhookDeliveryLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
subscription<T extends Prisma.PublicWebhookSubscriptionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PublicWebhookSubscriptionDefaultArgs<ExtArgs>>): Prisma.Prisma__PublicWebhookSubscriptionClient<runtime.Types.Result.GetResult<Prisma.$PublicWebhookSubscriptionPayload<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 PublicWebhookDeliveryLog model
*/
export interface PublicWebhookDeliveryLogFieldRefs {
readonly id: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'String'>
readonly createdAt: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'String'>
readonly subscriptionId: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'String'>
readonly eventType: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'String'>
readonly targetUrl: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'String'>
readonly status: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'PublicWebhookDeliveryStatus'>
readonly httpStatus: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'Int'>
readonly attempt: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'Int'>
readonly maxAttempts: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'Int'>
readonly nextAttemptAt: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'DateTime'>
readonly idempotencyKey: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'String'>
readonly payloadHash: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'String'>
readonly error: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'String'>
readonly responsePreview: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'Json'>
readonly sentAt: Prisma.FieldRef<"PublicWebhookDeliveryLog", 'DateTime'>
}
// Custom InputTypes
/**
* PublicWebhookDeliveryLog findUnique
*/
export type PublicWebhookDeliveryLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelect<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogInclude<ExtArgs> | null
/**
* Filter, which PublicWebhookDeliveryLog to fetch.
*/
where: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
}
/**
* PublicWebhookDeliveryLog findUniqueOrThrow
*/
export type PublicWebhookDeliveryLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelect<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogInclude<ExtArgs> | null
/**
* Filter, which PublicWebhookDeliveryLog to fetch.
*/
where: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
}
/**
* PublicWebhookDeliveryLog findFirst
*/
export type PublicWebhookDeliveryLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelect<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogInclude<ExtArgs> | null
/**
* Filter, which PublicWebhookDeliveryLog to fetch.
*/
where?: Prisma.PublicWebhookDeliveryLogWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PublicWebhookDeliveryLogs to fetch.
*/
orderBy?: Prisma.PublicWebhookDeliveryLogOrderByWithRelationInput | Prisma.PublicWebhookDeliveryLogOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for PublicWebhookDeliveryLogs.
*/
cursor?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PublicWebhookDeliveryLogs 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` PublicWebhookDeliveryLogs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PublicWebhookDeliveryLogs.
*/
distinct?: Prisma.PublicWebhookDeliveryLogScalarFieldEnum | Prisma.PublicWebhookDeliveryLogScalarFieldEnum[]
}
/**
* PublicWebhookDeliveryLog findFirstOrThrow
*/
export type PublicWebhookDeliveryLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelect<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogInclude<ExtArgs> | null
/**
* Filter, which PublicWebhookDeliveryLog to fetch.
*/
where?: Prisma.PublicWebhookDeliveryLogWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PublicWebhookDeliveryLogs to fetch.
*/
orderBy?: Prisma.PublicWebhookDeliveryLogOrderByWithRelationInput | Prisma.PublicWebhookDeliveryLogOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for PublicWebhookDeliveryLogs.
*/
cursor?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PublicWebhookDeliveryLogs 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` PublicWebhookDeliveryLogs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PublicWebhookDeliveryLogs.
*/
distinct?: Prisma.PublicWebhookDeliveryLogScalarFieldEnum | Prisma.PublicWebhookDeliveryLogScalarFieldEnum[]
}
/**
* PublicWebhookDeliveryLog findMany
*/
export type PublicWebhookDeliveryLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelect<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogInclude<ExtArgs> | null
/**
* Filter, which PublicWebhookDeliveryLogs to fetch.
*/
where?: Prisma.PublicWebhookDeliveryLogWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PublicWebhookDeliveryLogs to fetch.
*/
orderBy?: Prisma.PublicWebhookDeliveryLogOrderByWithRelationInput | Prisma.PublicWebhookDeliveryLogOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing PublicWebhookDeliveryLogs.
*/
cursor?: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PublicWebhookDeliveryLogs 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` PublicWebhookDeliveryLogs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PublicWebhookDeliveryLogs.
*/
distinct?: Prisma.PublicWebhookDeliveryLogScalarFieldEnum | Prisma.PublicWebhookDeliveryLogScalarFieldEnum[]
}
/**
* PublicWebhookDeliveryLog create
*/
export type PublicWebhookDeliveryLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelect<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogInclude<ExtArgs> | null
/**
* The data needed to create a PublicWebhookDeliveryLog.
*/
data: Prisma.XOR<Prisma.PublicWebhookDeliveryLogCreateInput, Prisma.PublicWebhookDeliveryLogUncheckedCreateInput>
}
/**
* PublicWebhookDeliveryLog createMany
*/
export type PublicWebhookDeliveryLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many PublicWebhookDeliveryLogs.
*/
data: Prisma.PublicWebhookDeliveryLogCreateManyInput | Prisma.PublicWebhookDeliveryLogCreateManyInput[]
skipDuplicates?: boolean
}
/**
* PublicWebhookDeliveryLog createManyAndReturn
*/
export type PublicWebhookDeliveryLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* The data used to create many PublicWebhookDeliveryLogs.
*/
data: Prisma.PublicWebhookDeliveryLogCreateManyInput | Prisma.PublicWebhookDeliveryLogCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* PublicWebhookDeliveryLog update
*/
export type PublicWebhookDeliveryLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelect<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogInclude<ExtArgs> | null
/**
* The data needed to update a PublicWebhookDeliveryLog.
*/
data: Prisma.XOR<Prisma.PublicWebhookDeliveryLogUpdateInput, Prisma.PublicWebhookDeliveryLogUncheckedUpdateInput>
/**
* Choose, which PublicWebhookDeliveryLog to update.
*/
where: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
}
/**
* PublicWebhookDeliveryLog updateMany
*/
export type PublicWebhookDeliveryLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update PublicWebhookDeliveryLogs.
*/
data: Prisma.XOR<Prisma.PublicWebhookDeliveryLogUpdateManyMutationInput, Prisma.PublicWebhookDeliveryLogUncheckedUpdateManyInput>
/**
* Filter which PublicWebhookDeliveryLogs to update
*/
where?: Prisma.PublicWebhookDeliveryLogWhereInput
/**
* Limit how many PublicWebhookDeliveryLogs to update.
*/
limit?: number
}
/**
* PublicWebhookDeliveryLog updateManyAndReturn
*/
export type PublicWebhookDeliveryLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* The data used to update PublicWebhookDeliveryLogs.
*/
data: Prisma.XOR<Prisma.PublicWebhookDeliveryLogUpdateManyMutationInput, Prisma.PublicWebhookDeliveryLogUncheckedUpdateManyInput>
/**
* Filter which PublicWebhookDeliveryLogs to update
*/
where?: Prisma.PublicWebhookDeliveryLogWhereInput
/**
* Limit how many PublicWebhookDeliveryLogs to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* PublicWebhookDeliveryLog upsert
*/
export type PublicWebhookDeliveryLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelect<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogInclude<ExtArgs> | null
/**
* The filter to search for the PublicWebhookDeliveryLog to update in case it exists.
*/
where: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
/**
* In case the PublicWebhookDeliveryLog found by the `where` argument doesn't exist, create a new PublicWebhookDeliveryLog with this data.
*/
create: Prisma.XOR<Prisma.PublicWebhookDeliveryLogCreateInput, Prisma.PublicWebhookDeliveryLogUncheckedCreateInput>
/**
* In case the PublicWebhookDeliveryLog was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.PublicWebhookDeliveryLogUpdateInput, Prisma.PublicWebhookDeliveryLogUncheckedUpdateInput>
}
/**
* PublicWebhookDeliveryLog delete
*/
export type PublicWebhookDeliveryLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelect<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogInclude<ExtArgs> | null
/**
* Filter which PublicWebhookDeliveryLog to delete.
*/
where: Prisma.PublicWebhookDeliveryLogWhereUniqueInput
}
/**
* PublicWebhookDeliveryLog deleteMany
*/
export type PublicWebhookDeliveryLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which PublicWebhookDeliveryLogs to delete
*/
where?: Prisma.PublicWebhookDeliveryLogWhereInput
/**
* Limit how many PublicWebhookDeliveryLogs to delete.
*/
limit?: number
}
/**
* PublicWebhookDeliveryLog without action
*/
export type PublicWebhookDeliveryLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PublicWebhookDeliveryLog
*/
select?: Prisma.PublicWebhookDeliveryLogSelect<ExtArgs> | null
/**
* Omit specific fields from the PublicWebhookDeliveryLog
*/
omit?: Prisma.PublicWebhookDeliveryLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PublicWebhookDeliveryLogInclude<ExtArgs> | null
}