1510 lines
61 KiB
TypeScript
1510 lines
61 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 `EntityWebhookLog` 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 EntityWebhookLog
|
|
*
|
|
*/
|
|
export type EntityWebhookLogModel = runtime.Types.Result.DefaultSelection<Prisma.$EntityWebhookLogPayload>
|
|
|
|
export type AggregateEntityWebhookLog = {
|
|
_count: EntityWebhookLogCountAggregateOutputType | null
|
|
_avg: EntityWebhookLogAvgAggregateOutputType | null
|
|
_sum: EntityWebhookLogSumAggregateOutputType | null
|
|
_min: EntityWebhookLogMinAggregateOutputType | null
|
|
_max: EntityWebhookLogMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type EntityWebhookLogAvgAggregateOutputType = {
|
|
status: number | null
|
|
}
|
|
|
|
export type EntityWebhookLogSumAggregateOutputType = {
|
|
status: number | null
|
|
}
|
|
|
|
export type EntityWebhookLogMinAggregateOutputType = {
|
|
id: string | null
|
|
webhookId: string | null
|
|
logId: string | null
|
|
status: number | null
|
|
error: string | null
|
|
}
|
|
|
|
export type EntityWebhookLogMaxAggregateOutputType = {
|
|
id: string | null
|
|
webhookId: string | null
|
|
logId: string | null
|
|
status: number | null
|
|
error: string | null
|
|
}
|
|
|
|
export type EntityWebhookLogCountAggregateOutputType = {
|
|
id: number
|
|
webhookId: number
|
|
logId: number
|
|
status: number
|
|
error: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type EntityWebhookLogAvgAggregateInputType = {
|
|
status?: true
|
|
}
|
|
|
|
export type EntityWebhookLogSumAggregateInputType = {
|
|
status?: true
|
|
}
|
|
|
|
export type EntityWebhookLogMinAggregateInputType = {
|
|
id?: true
|
|
webhookId?: true
|
|
logId?: true
|
|
status?: true
|
|
error?: true
|
|
}
|
|
|
|
export type EntityWebhookLogMaxAggregateInputType = {
|
|
id?: true
|
|
webhookId?: true
|
|
logId?: true
|
|
status?: true
|
|
error?: true
|
|
}
|
|
|
|
export type EntityWebhookLogCountAggregateInputType = {
|
|
id?: true
|
|
webhookId?: true
|
|
logId?: true
|
|
status?: true
|
|
error?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type EntityWebhookLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which EntityWebhookLog to aggregate.
|
|
*/
|
|
where?: Prisma.EntityWebhookLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityWebhookLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityWebhookLogOrderByWithRelationInput | Prisma.EntityWebhookLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.EntityWebhookLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityWebhookLogs 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` EntityWebhookLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned EntityWebhookLogs
|
|
**/
|
|
_count?: true | EntityWebhookLogCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: EntityWebhookLogAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: EntityWebhookLogSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: EntityWebhookLogMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: EntityWebhookLogMaxAggregateInputType
|
|
}
|
|
|
|
export type GetEntityWebhookLogAggregateType<T extends EntityWebhookLogAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateEntityWebhookLog]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateEntityWebhookLog[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateEntityWebhookLog[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EntityWebhookLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityWebhookLogWhereInput
|
|
orderBy?: Prisma.EntityWebhookLogOrderByWithAggregationInput | Prisma.EntityWebhookLogOrderByWithAggregationInput[]
|
|
by: Prisma.EntityWebhookLogScalarFieldEnum[] | Prisma.EntityWebhookLogScalarFieldEnum
|
|
having?: Prisma.EntityWebhookLogScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: EntityWebhookLogCountAggregateInputType | true
|
|
_avg?: EntityWebhookLogAvgAggregateInputType
|
|
_sum?: EntityWebhookLogSumAggregateInputType
|
|
_min?: EntityWebhookLogMinAggregateInputType
|
|
_max?: EntityWebhookLogMaxAggregateInputType
|
|
}
|
|
|
|
export type EntityWebhookLogGroupByOutputType = {
|
|
id: string
|
|
webhookId: string
|
|
logId: string
|
|
status: number
|
|
error: string | null
|
|
_count: EntityWebhookLogCountAggregateOutputType | null
|
|
_avg: EntityWebhookLogAvgAggregateOutputType | null
|
|
_sum: EntityWebhookLogSumAggregateOutputType | null
|
|
_min: EntityWebhookLogMinAggregateOutputType | null
|
|
_max: EntityWebhookLogMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetEntityWebhookLogGroupByPayload<T extends EntityWebhookLogGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<EntityWebhookLogGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof EntityWebhookLogGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], EntityWebhookLogGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], EntityWebhookLogGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type EntityWebhookLogWhereInput = {
|
|
AND?: Prisma.EntityWebhookLogWhereInput | Prisma.EntityWebhookLogWhereInput[]
|
|
OR?: Prisma.EntityWebhookLogWhereInput[]
|
|
NOT?: Prisma.EntityWebhookLogWhereInput | Prisma.EntityWebhookLogWhereInput[]
|
|
id?: Prisma.StringFilter<"EntityWebhookLog"> | string
|
|
webhookId?: Prisma.StringFilter<"EntityWebhookLog"> | string
|
|
logId?: Prisma.StringFilter<"EntityWebhookLog"> | string
|
|
status?: Prisma.IntFilter<"EntityWebhookLog"> | number
|
|
error?: Prisma.StringNullableFilter<"EntityWebhookLog"> | string | null
|
|
log?: Prisma.XOR<Prisma.LogScalarRelationFilter, Prisma.LogWhereInput>
|
|
webhook?: Prisma.XOR<Prisma.EntityWebhookScalarRelationFilter, Prisma.EntityWebhookWhereInput>
|
|
}
|
|
|
|
export type EntityWebhookLogOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
webhookId?: Prisma.SortOrder
|
|
logId?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
log?: Prisma.LogOrderByWithRelationInput
|
|
webhook?: Prisma.EntityWebhookOrderByWithRelationInput
|
|
}
|
|
|
|
export type EntityWebhookLogWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.EntityWebhookLogWhereInput | Prisma.EntityWebhookLogWhereInput[]
|
|
OR?: Prisma.EntityWebhookLogWhereInput[]
|
|
NOT?: Prisma.EntityWebhookLogWhereInput | Prisma.EntityWebhookLogWhereInput[]
|
|
webhookId?: Prisma.StringFilter<"EntityWebhookLog"> | string
|
|
logId?: Prisma.StringFilter<"EntityWebhookLog"> | string
|
|
status?: Prisma.IntFilter<"EntityWebhookLog"> | number
|
|
error?: Prisma.StringNullableFilter<"EntityWebhookLog"> | string | null
|
|
log?: Prisma.XOR<Prisma.LogScalarRelationFilter, Prisma.LogWhereInput>
|
|
webhook?: Prisma.XOR<Prisma.EntityWebhookScalarRelationFilter, Prisma.EntityWebhookWhereInput>
|
|
}, "id">
|
|
|
|
export type EntityWebhookLogOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
webhookId?: Prisma.SortOrder
|
|
logId?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.EntityWebhookLogCountOrderByAggregateInput
|
|
_avg?: Prisma.EntityWebhookLogAvgOrderByAggregateInput
|
|
_max?: Prisma.EntityWebhookLogMaxOrderByAggregateInput
|
|
_min?: Prisma.EntityWebhookLogMinOrderByAggregateInput
|
|
_sum?: Prisma.EntityWebhookLogSumOrderByAggregateInput
|
|
}
|
|
|
|
export type EntityWebhookLogScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.EntityWebhookLogScalarWhereWithAggregatesInput | Prisma.EntityWebhookLogScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.EntityWebhookLogScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.EntityWebhookLogScalarWhereWithAggregatesInput | Prisma.EntityWebhookLogScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"EntityWebhookLog"> | string
|
|
webhookId?: Prisma.StringWithAggregatesFilter<"EntityWebhookLog"> | string
|
|
logId?: Prisma.StringWithAggregatesFilter<"EntityWebhookLog"> | string
|
|
status?: Prisma.IntWithAggregatesFilter<"EntityWebhookLog"> | number
|
|
error?: Prisma.StringNullableWithAggregatesFilter<"EntityWebhookLog"> | string | null
|
|
}
|
|
|
|
export type EntityWebhookLogCreateInput = {
|
|
id?: string
|
|
status: number
|
|
error?: string | null
|
|
log: Prisma.LogCreateNestedOneWithoutWebhookLogsInput
|
|
webhook: Prisma.EntityWebhookCreateNestedOneWithoutLogsInput
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedCreateInput = {
|
|
id?: string
|
|
webhookId: string
|
|
logId: string
|
|
status: number
|
|
error?: string | null
|
|
}
|
|
|
|
export type EntityWebhookLogUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
log?: Prisma.LogUpdateOneRequiredWithoutWebhookLogsNestedInput
|
|
webhook?: Prisma.EntityWebhookUpdateOneRequiredWithoutLogsNestedInput
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
webhookId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type EntityWebhookLogCreateManyInput = {
|
|
id?: string
|
|
webhookId: string
|
|
logId: string
|
|
status: number
|
|
error?: string | null
|
|
}
|
|
|
|
export type EntityWebhookLogUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
webhookId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type EntityWebhookLogListRelationFilter = {
|
|
every?: Prisma.EntityWebhookLogWhereInput
|
|
some?: Prisma.EntityWebhookLogWhereInput
|
|
none?: Prisma.EntityWebhookLogWhereInput
|
|
}
|
|
|
|
export type EntityWebhookLogOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityWebhookLogCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
webhookId?: Prisma.SortOrder
|
|
logId?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityWebhookLogAvgOrderByAggregateInput = {
|
|
status?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityWebhookLogMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
webhookId?: Prisma.SortOrder
|
|
logId?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityWebhookLogMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
webhookId?: Prisma.SortOrder
|
|
logId?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityWebhookLogSumOrderByAggregateInput = {
|
|
status?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityWebhookLogCreateNestedManyWithoutLogInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutLogInput, Prisma.EntityWebhookLogUncheckedCreateWithoutLogInput> | Prisma.EntityWebhookLogCreateWithoutLogInput[] | Prisma.EntityWebhookLogUncheckedCreateWithoutLogInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookLogCreateOrConnectWithoutLogInput | Prisma.EntityWebhookLogCreateOrConnectWithoutLogInput[]
|
|
createMany?: Prisma.EntityWebhookLogCreateManyLogInputEnvelope
|
|
connect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedCreateNestedManyWithoutLogInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutLogInput, Prisma.EntityWebhookLogUncheckedCreateWithoutLogInput> | Prisma.EntityWebhookLogCreateWithoutLogInput[] | Prisma.EntityWebhookLogUncheckedCreateWithoutLogInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookLogCreateOrConnectWithoutLogInput | Prisma.EntityWebhookLogCreateOrConnectWithoutLogInput[]
|
|
createMany?: Prisma.EntityWebhookLogCreateManyLogInputEnvelope
|
|
connect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
}
|
|
|
|
export type EntityWebhookLogUpdateManyWithoutLogNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutLogInput, Prisma.EntityWebhookLogUncheckedCreateWithoutLogInput> | Prisma.EntityWebhookLogCreateWithoutLogInput[] | Prisma.EntityWebhookLogUncheckedCreateWithoutLogInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookLogCreateOrConnectWithoutLogInput | Prisma.EntityWebhookLogCreateOrConnectWithoutLogInput[]
|
|
upsert?: Prisma.EntityWebhookLogUpsertWithWhereUniqueWithoutLogInput | Prisma.EntityWebhookLogUpsertWithWhereUniqueWithoutLogInput[]
|
|
createMany?: Prisma.EntityWebhookLogCreateManyLogInputEnvelope
|
|
set?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
disconnect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
delete?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
connect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
update?: Prisma.EntityWebhookLogUpdateWithWhereUniqueWithoutLogInput | Prisma.EntityWebhookLogUpdateWithWhereUniqueWithoutLogInput[]
|
|
updateMany?: Prisma.EntityWebhookLogUpdateManyWithWhereWithoutLogInput | Prisma.EntityWebhookLogUpdateManyWithWhereWithoutLogInput[]
|
|
deleteMany?: Prisma.EntityWebhookLogScalarWhereInput | Prisma.EntityWebhookLogScalarWhereInput[]
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedUpdateManyWithoutLogNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutLogInput, Prisma.EntityWebhookLogUncheckedCreateWithoutLogInput> | Prisma.EntityWebhookLogCreateWithoutLogInput[] | Prisma.EntityWebhookLogUncheckedCreateWithoutLogInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookLogCreateOrConnectWithoutLogInput | Prisma.EntityWebhookLogCreateOrConnectWithoutLogInput[]
|
|
upsert?: Prisma.EntityWebhookLogUpsertWithWhereUniqueWithoutLogInput | Prisma.EntityWebhookLogUpsertWithWhereUniqueWithoutLogInput[]
|
|
createMany?: Prisma.EntityWebhookLogCreateManyLogInputEnvelope
|
|
set?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
disconnect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
delete?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
connect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
update?: Prisma.EntityWebhookLogUpdateWithWhereUniqueWithoutLogInput | Prisma.EntityWebhookLogUpdateWithWhereUniqueWithoutLogInput[]
|
|
updateMany?: Prisma.EntityWebhookLogUpdateManyWithWhereWithoutLogInput | Prisma.EntityWebhookLogUpdateManyWithWhereWithoutLogInput[]
|
|
deleteMany?: Prisma.EntityWebhookLogScalarWhereInput | Prisma.EntityWebhookLogScalarWhereInput[]
|
|
}
|
|
|
|
export type EntityWebhookLogCreateNestedManyWithoutWebhookInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutWebhookInput, Prisma.EntityWebhookLogUncheckedCreateWithoutWebhookInput> | Prisma.EntityWebhookLogCreateWithoutWebhookInput[] | Prisma.EntityWebhookLogUncheckedCreateWithoutWebhookInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookLogCreateOrConnectWithoutWebhookInput | Prisma.EntityWebhookLogCreateOrConnectWithoutWebhookInput[]
|
|
createMany?: Prisma.EntityWebhookLogCreateManyWebhookInputEnvelope
|
|
connect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedCreateNestedManyWithoutWebhookInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutWebhookInput, Prisma.EntityWebhookLogUncheckedCreateWithoutWebhookInput> | Prisma.EntityWebhookLogCreateWithoutWebhookInput[] | Prisma.EntityWebhookLogUncheckedCreateWithoutWebhookInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookLogCreateOrConnectWithoutWebhookInput | Prisma.EntityWebhookLogCreateOrConnectWithoutWebhookInput[]
|
|
createMany?: Prisma.EntityWebhookLogCreateManyWebhookInputEnvelope
|
|
connect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
}
|
|
|
|
export type EntityWebhookLogUpdateManyWithoutWebhookNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutWebhookInput, Prisma.EntityWebhookLogUncheckedCreateWithoutWebhookInput> | Prisma.EntityWebhookLogCreateWithoutWebhookInput[] | Prisma.EntityWebhookLogUncheckedCreateWithoutWebhookInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookLogCreateOrConnectWithoutWebhookInput | Prisma.EntityWebhookLogCreateOrConnectWithoutWebhookInput[]
|
|
upsert?: Prisma.EntityWebhookLogUpsertWithWhereUniqueWithoutWebhookInput | Prisma.EntityWebhookLogUpsertWithWhereUniqueWithoutWebhookInput[]
|
|
createMany?: Prisma.EntityWebhookLogCreateManyWebhookInputEnvelope
|
|
set?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
disconnect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
delete?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
connect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
update?: Prisma.EntityWebhookLogUpdateWithWhereUniqueWithoutWebhookInput | Prisma.EntityWebhookLogUpdateWithWhereUniqueWithoutWebhookInput[]
|
|
updateMany?: Prisma.EntityWebhookLogUpdateManyWithWhereWithoutWebhookInput | Prisma.EntityWebhookLogUpdateManyWithWhereWithoutWebhookInput[]
|
|
deleteMany?: Prisma.EntityWebhookLogScalarWhereInput | Prisma.EntityWebhookLogScalarWhereInput[]
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedUpdateManyWithoutWebhookNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutWebhookInput, Prisma.EntityWebhookLogUncheckedCreateWithoutWebhookInput> | Prisma.EntityWebhookLogCreateWithoutWebhookInput[] | Prisma.EntityWebhookLogUncheckedCreateWithoutWebhookInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookLogCreateOrConnectWithoutWebhookInput | Prisma.EntityWebhookLogCreateOrConnectWithoutWebhookInput[]
|
|
upsert?: Prisma.EntityWebhookLogUpsertWithWhereUniqueWithoutWebhookInput | Prisma.EntityWebhookLogUpsertWithWhereUniqueWithoutWebhookInput[]
|
|
createMany?: Prisma.EntityWebhookLogCreateManyWebhookInputEnvelope
|
|
set?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
disconnect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
delete?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
connect?: Prisma.EntityWebhookLogWhereUniqueInput | Prisma.EntityWebhookLogWhereUniqueInput[]
|
|
update?: Prisma.EntityWebhookLogUpdateWithWhereUniqueWithoutWebhookInput | Prisma.EntityWebhookLogUpdateWithWhereUniqueWithoutWebhookInput[]
|
|
updateMany?: Prisma.EntityWebhookLogUpdateManyWithWhereWithoutWebhookInput | Prisma.EntityWebhookLogUpdateManyWithWhereWithoutWebhookInput[]
|
|
deleteMany?: Prisma.EntityWebhookLogScalarWhereInput | Prisma.EntityWebhookLogScalarWhereInput[]
|
|
}
|
|
|
|
export type EntityWebhookLogCreateWithoutLogInput = {
|
|
id?: string
|
|
status: number
|
|
error?: string | null
|
|
webhook: Prisma.EntityWebhookCreateNestedOneWithoutLogsInput
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedCreateWithoutLogInput = {
|
|
id?: string
|
|
webhookId: string
|
|
status: number
|
|
error?: string | null
|
|
}
|
|
|
|
export type EntityWebhookLogCreateOrConnectWithoutLogInput = {
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutLogInput, Prisma.EntityWebhookLogUncheckedCreateWithoutLogInput>
|
|
}
|
|
|
|
export type EntityWebhookLogCreateManyLogInputEnvelope = {
|
|
data: Prisma.EntityWebhookLogCreateManyLogInput | Prisma.EntityWebhookLogCreateManyLogInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type EntityWebhookLogUpsertWithWhereUniqueWithoutLogInput = {
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.EntityWebhookLogUpdateWithoutLogInput, Prisma.EntityWebhookLogUncheckedUpdateWithoutLogInput>
|
|
create: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutLogInput, Prisma.EntityWebhookLogUncheckedCreateWithoutLogInput>
|
|
}
|
|
|
|
export type EntityWebhookLogUpdateWithWhereUniqueWithoutLogInput = {
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.EntityWebhookLogUpdateWithoutLogInput, Prisma.EntityWebhookLogUncheckedUpdateWithoutLogInput>
|
|
}
|
|
|
|
export type EntityWebhookLogUpdateManyWithWhereWithoutLogInput = {
|
|
where: Prisma.EntityWebhookLogScalarWhereInput
|
|
data: Prisma.XOR<Prisma.EntityWebhookLogUpdateManyMutationInput, Prisma.EntityWebhookLogUncheckedUpdateManyWithoutLogInput>
|
|
}
|
|
|
|
export type EntityWebhookLogScalarWhereInput = {
|
|
AND?: Prisma.EntityWebhookLogScalarWhereInput | Prisma.EntityWebhookLogScalarWhereInput[]
|
|
OR?: Prisma.EntityWebhookLogScalarWhereInput[]
|
|
NOT?: Prisma.EntityWebhookLogScalarWhereInput | Prisma.EntityWebhookLogScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"EntityWebhookLog"> | string
|
|
webhookId?: Prisma.StringFilter<"EntityWebhookLog"> | string
|
|
logId?: Prisma.StringFilter<"EntityWebhookLog"> | string
|
|
status?: Prisma.IntFilter<"EntityWebhookLog"> | number
|
|
error?: Prisma.StringNullableFilter<"EntityWebhookLog"> | string | null
|
|
}
|
|
|
|
export type EntityWebhookLogCreateWithoutWebhookInput = {
|
|
id?: string
|
|
status: number
|
|
error?: string | null
|
|
log: Prisma.LogCreateNestedOneWithoutWebhookLogsInput
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedCreateWithoutWebhookInput = {
|
|
id?: string
|
|
logId: string
|
|
status: number
|
|
error?: string | null
|
|
}
|
|
|
|
export type EntityWebhookLogCreateOrConnectWithoutWebhookInput = {
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutWebhookInput, Prisma.EntityWebhookLogUncheckedCreateWithoutWebhookInput>
|
|
}
|
|
|
|
export type EntityWebhookLogCreateManyWebhookInputEnvelope = {
|
|
data: Prisma.EntityWebhookLogCreateManyWebhookInput | Prisma.EntityWebhookLogCreateManyWebhookInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type EntityWebhookLogUpsertWithWhereUniqueWithoutWebhookInput = {
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.EntityWebhookLogUpdateWithoutWebhookInput, Prisma.EntityWebhookLogUncheckedUpdateWithoutWebhookInput>
|
|
create: Prisma.XOR<Prisma.EntityWebhookLogCreateWithoutWebhookInput, Prisma.EntityWebhookLogUncheckedCreateWithoutWebhookInput>
|
|
}
|
|
|
|
export type EntityWebhookLogUpdateWithWhereUniqueWithoutWebhookInput = {
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.EntityWebhookLogUpdateWithoutWebhookInput, Prisma.EntityWebhookLogUncheckedUpdateWithoutWebhookInput>
|
|
}
|
|
|
|
export type EntityWebhookLogUpdateManyWithWhereWithoutWebhookInput = {
|
|
where: Prisma.EntityWebhookLogScalarWhereInput
|
|
data: Prisma.XOR<Prisma.EntityWebhookLogUpdateManyMutationInput, Prisma.EntityWebhookLogUncheckedUpdateManyWithoutWebhookInput>
|
|
}
|
|
|
|
export type EntityWebhookLogCreateManyLogInput = {
|
|
id?: string
|
|
webhookId: string
|
|
status: number
|
|
error?: string | null
|
|
}
|
|
|
|
export type EntityWebhookLogUpdateWithoutLogInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhook?: Prisma.EntityWebhookUpdateOneRequiredWithoutLogsNestedInput
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedUpdateWithoutLogInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
webhookId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedUpdateManyWithoutLogInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
webhookId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type EntityWebhookLogCreateManyWebhookInput = {
|
|
id?: string
|
|
logId: string
|
|
status: number
|
|
error?: string | null
|
|
}
|
|
|
|
export type EntityWebhookLogUpdateWithoutWebhookInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
log?: Prisma.LogUpdateOneRequiredWithoutWebhookLogsNestedInput
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedUpdateWithoutWebhookInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type EntityWebhookLogUncheckedUpdateManyWithoutWebhookInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
|
|
|
|
export type EntityWebhookLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
webhookId?: boolean
|
|
logId?: boolean
|
|
status?: boolean
|
|
error?: boolean
|
|
log?: boolean | Prisma.LogDefaultArgs<ExtArgs>
|
|
webhook?: boolean | Prisma.EntityWebhookDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["entityWebhookLog"]>
|
|
|
|
export type EntityWebhookLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
webhookId?: boolean
|
|
logId?: boolean
|
|
status?: boolean
|
|
error?: boolean
|
|
log?: boolean | Prisma.LogDefaultArgs<ExtArgs>
|
|
webhook?: boolean | Prisma.EntityWebhookDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["entityWebhookLog"]>
|
|
|
|
export type EntityWebhookLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
webhookId?: boolean
|
|
logId?: boolean
|
|
status?: boolean
|
|
error?: boolean
|
|
log?: boolean | Prisma.LogDefaultArgs<ExtArgs>
|
|
webhook?: boolean | Prisma.EntityWebhookDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["entityWebhookLog"]>
|
|
|
|
export type EntityWebhookLogSelectScalar = {
|
|
id?: boolean
|
|
webhookId?: boolean
|
|
logId?: boolean
|
|
status?: boolean
|
|
error?: boolean
|
|
}
|
|
|
|
export type EntityWebhookLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "webhookId" | "logId" | "status" | "error", ExtArgs["result"]["entityWebhookLog"]>
|
|
export type EntityWebhookLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
log?: boolean | Prisma.LogDefaultArgs<ExtArgs>
|
|
webhook?: boolean | Prisma.EntityWebhookDefaultArgs<ExtArgs>
|
|
}
|
|
export type EntityWebhookLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
log?: boolean | Prisma.LogDefaultArgs<ExtArgs>
|
|
webhook?: boolean | Prisma.EntityWebhookDefaultArgs<ExtArgs>
|
|
}
|
|
export type EntityWebhookLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
log?: boolean | Prisma.LogDefaultArgs<ExtArgs>
|
|
webhook?: boolean | Prisma.EntityWebhookDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $EntityWebhookLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "EntityWebhookLog"
|
|
objects: {
|
|
log: Prisma.$LogPayload<ExtArgs>
|
|
webhook: Prisma.$EntityWebhookPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
webhookId: string
|
|
logId: string
|
|
status: number
|
|
error: string | null
|
|
}, ExtArgs["result"]["entityWebhookLog"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type EntityWebhookLogGetPayload<S extends boolean | null | undefined | EntityWebhookLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload, S>
|
|
|
|
export type EntityWebhookLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<EntityWebhookLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: EntityWebhookLogCountAggregateInputType | true
|
|
}
|
|
|
|
export interface EntityWebhookLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EntityWebhookLog'], meta: { name: 'EntityWebhookLog' } }
|
|
/**
|
|
* Find zero or one EntityWebhookLog that matches the filter.
|
|
* @param {EntityWebhookLogFindUniqueArgs} args - Arguments to find a EntityWebhookLog
|
|
* @example
|
|
* // Get one EntityWebhookLog
|
|
* const entityWebhookLog = await prisma.entityWebhookLog.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends EntityWebhookLogFindUniqueArgs>(args: Prisma.SelectSubset<T, EntityWebhookLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one EntityWebhookLog that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {EntityWebhookLogFindUniqueOrThrowArgs} args - Arguments to find a EntityWebhookLog
|
|
* @example
|
|
* // Get one EntityWebhookLog
|
|
* const entityWebhookLog = await prisma.entityWebhookLog.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends EntityWebhookLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EntityWebhookLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first EntityWebhookLog 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 {EntityWebhookLogFindFirstArgs} args - Arguments to find a EntityWebhookLog
|
|
* @example
|
|
* // Get one EntityWebhookLog
|
|
* const entityWebhookLog = await prisma.entityWebhookLog.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends EntityWebhookLogFindFirstArgs>(args?: Prisma.SelectSubset<T, EntityWebhookLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first EntityWebhookLog 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 {EntityWebhookLogFindFirstOrThrowArgs} args - Arguments to find a EntityWebhookLog
|
|
* @example
|
|
* // Get one EntityWebhookLog
|
|
* const entityWebhookLog = await prisma.entityWebhookLog.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends EntityWebhookLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EntityWebhookLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more EntityWebhookLogs 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 {EntityWebhookLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all EntityWebhookLogs
|
|
* const entityWebhookLogs = await prisma.entityWebhookLog.findMany()
|
|
*
|
|
* // Get first 10 EntityWebhookLogs
|
|
* const entityWebhookLogs = await prisma.entityWebhookLog.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const entityWebhookLogWithIdOnly = await prisma.entityWebhookLog.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends EntityWebhookLogFindManyArgs>(args?: Prisma.SelectSubset<T, EntityWebhookLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a EntityWebhookLog.
|
|
* @param {EntityWebhookLogCreateArgs} args - Arguments to create a EntityWebhookLog.
|
|
* @example
|
|
* // Create one EntityWebhookLog
|
|
* const EntityWebhookLog = await prisma.entityWebhookLog.create({
|
|
* data: {
|
|
* // ... data to create a EntityWebhookLog
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends EntityWebhookLogCreateArgs>(args: Prisma.SelectSubset<T, EntityWebhookLogCreateArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many EntityWebhookLogs.
|
|
* @param {EntityWebhookLogCreateManyArgs} args - Arguments to create many EntityWebhookLogs.
|
|
* @example
|
|
* // Create many EntityWebhookLogs
|
|
* const entityWebhookLog = await prisma.entityWebhookLog.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends EntityWebhookLogCreateManyArgs>(args?: Prisma.SelectSubset<T, EntityWebhookLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many EntityWebhookLogs and returns the data saved in the database.
|
|
* @param {EntityWebhookLogCreateManyAndReturnArgs} args - Arguments to create many EntityWebhookLogs.
|
|
* @example
|
|
* // Create many EntityWebhookLogs
|
|
* const entityWebhookLog = await prisma.entityWebhookLog.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many EntityWebhookLogs and only return the `id`
|
|
* const entityWebhookLogWithIdOnly = await prisma.entityWebhookLog.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 EntityWebhookLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EntityWebhookLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a EntityWebhookLog.
|
|
* @param {EntityWebhookLogDeleteArgs} args - Arguments to delete one EntityWebhookLog.
|
|
* @example
|
|
* // Delete one EntityWebhookLog
|
|
* const EntityWebhookLog = await prisma.entityWebhookLog.delete({
|
|
* where: {
|
|
* // ... filter to delete one EntityWebhookLog
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends EntityWebhookLogDeleteArgs>(args: Prisma.SelectSubset<T, EntityWebhookLogDeleteArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one EntityWebhookLog.
|
|
* @param {EntityWebhookLogUpdateArgs} args - Arguments to update one EntityWebhookLog.
|
|
* @example
|
|
* // Update one EntityWebhookLog
|
|
* const entityWebhookLog = await prisma.entityWebhookLog.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends EntityWebhookLogUpdateArgs>(args: Prisma.SelectSubset<T, EntityWebhookLogUpdateArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more EntityWebhookLogs.
|
|
* @param {EntityWebhookLogDeleteManyArgs} args - Arguments to filter EntityWebhookLogs to delete.
|
|
* @example
|
|
* // Delete a few EntityWebhookLogs
|
|
* const { count } = await prisma.entityWebhookLog.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends EntityWebhookLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, EntityWebhookLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more EntityWebhookLogs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityWebhookLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many EntityWebhookLogs
|
|
* const entityWebhookLog = await prisma.entityWebhookLog.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends EntityWebhookLogUpdateManyArgs>(args: Prisma.SelectSubset<T, EntityWebhookLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more EntityWebhookLogs and returns the data updated in the database.
|
|
* @param {EntityWebhookLogUpdateManyAndReturnArgs} args - Arguments to update many EntityWebhookLogs.
|
|
* @example
|
|
* // Update many EntityWebhookLogs
|
|
* const entityWebhookLog = await prisma.entityWebhookLog.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more EntityWebhookLogs and only return the `id`
|
|
* const entityWebhookLogWithIdOnly = await prisma.entityWebhookLog.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 EntityWebhookLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EntityWebhookLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one EntityWebhookLog.
|
|
* @param {EntityWebhookLogUpsertArgs} args - Arguments to update or create a EntityWebhookLog.
|
|
* @example
|
|
* // Update or create a EntityWebhookLog
|
|
* const entityWebhookLog = await prisma.entityWebhookLog.upsert({
|
|
* create: {
|
|
* // ... data to create a EntityWebhookLog
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the EntityWebhookLog we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends EntityWebhookLogUpsertArgs>(args: Prisma.SelectSubset<T, EntityWebhookLogUpsertArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of EntityWebhookLogs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityWebhookLogCountArgs} args - Arguments to filter EntityWebhookLogs to count.
|
|
* @example
|
|
* // Count the number of EntityWebhookLogs
|
|
* const count = await prisma.entityWebhookLog.count({
|
|
* where: {
|
|
* // ... the filter for the EntityWebhookLogs we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends EntityWebhookLogCountArgs>(
|
|
args?: Prisma.Subset<T, EntityWebhookLogCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], EntityWebhookLogCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a EntityWebhookLog.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityWebhookLogAggregateArgs} 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 EntityWebhookLogAggregateArgs>(args: Prisma.Subset<T, EntityWebhookLogAggregateArgs>): Prisma.PrismaPromise<GetEntityWebhookLogAggregateType<T>>
|
|
|
|
/**
|
|
* Group by EntityWebhookLog.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityWebhookLogGroupByArgs} 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 EntityWebhookLogGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: EntityWebhookLogGroupByArgs['orderBy'] }
|
|
: { orderBy?: EntityWebhookLogGroupByArgs['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, EntityWebhookLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEntityWebhookLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the EntityWebhookLog model
|
|
*/
|
|
readonly fields: EntityWebhookLogFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for EntityWebhookLog.
|
|
* 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__EntityWebhookLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
log<T extends Prisma.LogDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LogDefaultArgs<ExtArgs>>): Prisma.Prisma__LogClient<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
webhook<T extends Prisma.EntityWebhookDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityWebhookDefaultArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<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 EntityWebhookLog model
|
|
*/
|
|
export interface EntityWebhookLogFieldRefs {
|
|
readonly id: Prisma.FieldRef<"EntityWebhookLog", 'String'>
|
|
readonly webhookId: Prisma.FieldRef<"EntityWebhookLog", 'String'>
|
|
readonly logId: Prisma.FieldRef<"EntityWebhookLog", 'String'>
|
|
readonly status: Prisma.FieldRef<"EntityWebhookLog", 'Int'>
|
|
readonly error: Prisma.FieldRef<"EntityWebhookLog", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* EntityWebhookLog findUnique
|
|
*/
|
|
export type EntityWebhookLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityWebhookLog to fetch.
|
|
*/
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog findUniqueOrThrow
|
|
*/
|
|
export type EntityWebhookLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityWebhookLog to fetch.
|
|
*/
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog findFirst
|
|
*/
|
|
export type EntityWebhookLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityWebhookLog to fetch.
|
|
*/
|
|
where?: Prisma.EntityWebhookLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityWebhookLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityWebhookLogOrderByWithRelationInput | Prisma.EntityWebhookLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for EntityWebhookLogs.
|
|
*/
|
|
cursor?: Prisma.EntityWebhookLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityWebhookLogs 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` EntityWebhookLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EntityWebhookLogs.
|
|
*/
|
|
distinct?: Prisma.EntityWebhookLogScalarFieldEnum | Prisma.EntityWebhookLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog findFirstOrThrow
|
|
*/
|
|
export type EntityWebhookLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityWebhookLog to fetch.
|
|
*/
|
|
where?: Prisma.EntityWebhookLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityWebhookLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityWebhookLogOrderByWithRelationInput | Prisma.EntityWebhookLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for EntityWebhookLogs.
|
|
*/
|
|
cursor?: Prisma.EntityWebhookLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityWebhookLogs 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` EntityWebhookLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EntityWebhookLogs.
|
|
*/
|
|
distinct?: Prisma.EntityWebhookLogScalarFieldEnum | Prisma.EntityWebhookLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog findMany
|
|
*/
|
|
export type EntityWebhookLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityWebhookLogs to fetch.
|
|
*/
|
|
where?: Prisma.EntityWebhookLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityWebhookLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityWebhookLogOrderByWithRelationInput | Prisma.EntityWebhookLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing EntityWebhookLogs.
|
|
*/
|
|
cursor?: Prisma.EntityWebhookLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityWebhookLogs 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` EntityWebhookLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EntityWebhookLogs.
|
|
*/
|
|
distinct?: Prisma.EntityWebhookLogScalarFieldEnum | Prisma.EntityWebhookLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog create
|
|
*/
|
|
export type EntityWebhookLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a EntityWebhookLog.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityWebhookLogCreateInput, Prisma.EntityWebhookLogUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog createMany
|
|
*/
|
|
export type EntityWebhookLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many EntityWebhookLogs.
|
|
*/
|
|
data: Prisma.EntityWebhookLogCreateManyInput | Prisma.EntityWebhookLogCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog createManyAndReturn
|
|
*/
|
|
export type EntityWebhookLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many EntityWebhookLogs.
|
|
*/
|
|
data: Prisma.EntityWebhookLogCreateManyInput | Prisma.EntityWebhookLogCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog update
|
|
*/
|
|
export type EntityWebhookLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a EntityWebhookLog.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityWebhookLogUpdateInput, Prisma.EntityWebhookLogUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which EntityWebhookLog to update.
|
|
*/
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog updateMany
|
|
*/
|
|
export type EntityWebhookLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update EntityWebhookLogs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityWebhookLogUpdateManyMutationInput, Prisma.EntityWebhookLogUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which EntityWebhookLogs to update
|
|
*/
|
|
where?: Prisma.EntityWebhookLogWhereInput
|
|
/**
|
|
* Limit how many EntityWebhookLogs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog updateManyAndReturn
|
|
*/
|
|
export type EntityWebhookLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update EntityWebhookLogs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityWebhookLogUpdateManyMutationInput, Prisma.EntityWebhookLogUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which EntityWebhookLogs to update
|
|
*/
|
|
where?: Prisma.EntityWebhookLogWhereInput
|
|
/**
|
|
* Limit how many EntityWebhookLogs to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog upsert
|
|
*/
|
|
export type EntityWebhookLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the EntityWebhookLog to update in case it exists.
|
|
*/
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
/**
|
|
* In case the EntityWebhookLog found by the `where` argument doesn't exist, create a new EntityWebhookLog with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.EntityWebhookLogCreateInput, Prisma.EntityWebhookLogUncheckedCreateInput>
|
|
/**
|
|
* In case the EntityWebhookLog was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.EntityWebhookLogUpdateInput, Prisma.EntityWebhookLogUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog delete
|
|
*/
|
|
export type EntityWebhookLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which EntityWebhookLog to delete.
|
|
*/
|
|
where: Prisma.EntityWebhookLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog deleteMany
|
|
*/
|
|
export type EntityWebhookLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which EntityWebhookLogs to delete
|
|
*/
|
|
where?: Prisma.EntityWebhookLogWhereInput
|
|
/**
|
|
* Limit how many EntityWebhookLogs to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookLog without action
|
|
*/
|
|
export type EntityWebhookLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookLog
|
|
*/
|
|
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhookLog
|
|
*/
|
|
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
|
|
}
|