1483 lines
56 KiB
TypeScript
1483 lines
56 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 `EntityWebhook` 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 EntityWebhook
|
|
*
|
|
*/
|
|
export type EntityWebhookModel = runtime.Types.Result.DefaultSelection<Prisma.$EntityWebhookPayload>
|
|
|
|
export type AggregateEntityWebhook = {
|
|
_count: EntityWebhookCountAggregateOutputType | null
|
|
_min: EntityWebhookMinAggregateOutputType | null
|
|
_max: EntityWebhookMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type EntityWebhookMinAggregateOutputType = {
|
|
id: string | null
|
|
entityId: string | null
|
|
action: string | null
|
|
method: string | null
|
|
endpoint: string | null
|
|
}
|
|
|
|
export type EntityWebhookMaxAggregateOutputType = {
|
|
id: string | null
|
|
entityId: string | null
|
|
action: string | null
|
|
method: string | null
|
|
endpoint: string | null
|
|
}
|
|
|
|
export type EntityWebhookCountAggregateOutputType = {
|
|
id: number
|
|
entityId: number
|
|
action: number
|
|
method: number
|
|
endpoint: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type EntityWebhookMinAggregateInputType = {
|
|
id?: true
|
|
entityId?: true
|
|
action?: true
|
|
method?: true
|
|
endpoint?: true
|
|
}
|
|
|
|
export type EntityWebhookMaxAggregateInputType = {
|
|
id?: true
|
|
entityId?: true
|
|
action?: true
|
|
method?: true
|
|
endpoint?: true
|
|
}
|
|
|
|
export type EntityWebhookCountAggregateInputType = {
|
|
id?: true
|
|
entityId?: true
|
|
action?: true
|
|
method?: true
|
|
endpoint?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type EntityWebhookAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which EntityWebhook to aggregate.
|
|
*/
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityWebhooks to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityWebhookOrderByWithRelationInput | Prisma.EntityWebhookOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.EntityWebhookWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityWebhooks 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` EntityWebhooks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned EntityWebhooks
|
|
**/
|
|
_count?: true | EntityWebhookCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: EntityWebhookMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: EntityWebhookMaxAggregateInputType
|
|
}
|
|
|
|
export type GetEntityWebhookAggregateType<T extends EntityWebhookAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateEntityWebhook]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateEntityWebhook[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateEntityWebhook[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EntityWebhookGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
orderBy?: Prisma.EntityWebhookOrderByWithAggregationInput | Prisma.EntityWebhookOrderByWithAggregationInput[]
|
|
by: Prisma.EntityWebhookScalarFieldEnum[] | Prisma.EntityWebhookScalarFieldEnum
|
|
having?: Prisma.EntityWebhookScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: EntityWebhookCountAggregateInputType | true
|
|
_min?: EntityWebhookMinAggregateInputType
|
|
_max?: EntityWebhookMaxAggregateInputType
|
|
}
|
|
|
|
export type EntityWebhookGroupByOutputType = {
|
|
id: string
|
|
entityId: string
|
|
action: string
|
|
method: string
|
|
endpoint: string
|
|
_count: EntityWebhookCountAggregateOutputType | null
|
|
_min: EntityWebhookMinAggregateOutputType | null
|
|
_max: EntityWebhookMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetEntityWebhookGroupByPayload<T extends EntityWebhookGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<EntityWebhookGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof EntityWebhookGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], EntityWebhookGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], EntityWebhookGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type EntityWebhookWhereInput = {
|
|
AND?: Prisma.EntityWebhookWhereInput | Prisma.EntityWebhookWhereInput[]
|
|
OR?: Prisma.EntityWebhookWhereInput[]
|
|
NOT?: Prisma.EntityWebhookWhereInput | Prisma.EntityWebhookWhereInput[]
|
|
id?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
entityId?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
action?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
method?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
endpoint?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
entity?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
|
|
logs?: Prisma.EntityWebhookLogListRelationFilter
|
|
}
|
|
|
|
export type EntityWebhookOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
method?: Prisma.SortOrder
|
|
endpoint?: Prisma.SortOrder
|
|
entity?: Prisma.EntityOrderByWithRelationInput
|
|
logs?: Prisma.EntityWebhookLogOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type EntityWebhookWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.EntityWebhookWhereInput | Prisma.EntityWebhookWhereInput[]
|
|
OR?: Prisma.EntityWebhookWhereInput[]
|
|
NOT?: Prisma.EntityWebhookWhereInput | Prisma.EntityWebhookWhereInput[]
|
|
entityId?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
action?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
method?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
endpoint?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
entity?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
|
|
logs?: Prisma.EntityWebhookLogListRelationFilter
|
|
}, "id">
|
|
|
|
export type EntityWebhookOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
method?: Prisma.SortOrder
|
|
endpoint?: Prisma.SortOrder
|
|
_count?: Prisma.EntityWebhookCountOrderByAggregateInput
|
|
_max?: Prisma.EntityWebhookMaxOrderByAggregateInput
|
|
_min?: Prisma.EntityWebhookMinOrderByAggregateInput
|
|
}
|
|
|
|
export type EntityWebhookScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.EntityWebhookScalarWhereWithAggregatesInput | Prisma.EntityWebhookScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.EntityWebhookScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.EntityWebhookScalarWhereWithAggregatesInput | Prisma.EntityWebhookScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"EntityWebhook"> | string
|
|
entityId?: Prisma.StringWithAggregatesFilter<"EntityWebhook"> | string
|
|
action?: Prisma.StringWithAggregatesFilter<"EntityWebhook"> | string
|
|
method?: Prisma.StringWithAggregatesFilter<"EntityWebhook"> | string
|
|
endpoint?: Prisma.StringWithAggregatesFilter<"EntityWebhook"> | string
|
|
}
|
|
|
|
export type EntityWebhookCreateInput = {
|
|
id?: string
|
|
action: string
|
|
method: string
|
|
endpoint: string
|
|
entity: Prisma.EntityCreateNestedOneWithoutWebhooksInput
|
|
logs?: Prisma.EntityWebhookLogCreateNestedManyWithoutWebhookInput
|
|
}
|
|
|
|
export type EntityWebhookUncheckedCreateInput = {
|
|
id?: string
|
|
entityId: string
|
|
action: string
|
|
method: string
|
|
endpoint: string
|
|
logs?: Prisma.EntityWebhookLogUncheckedCreateNestedManyWithoutWebhookInput
|
|
}
|
|
|
|
export type EntityWebhookUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
endpoint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutWebhooksNestedInput
|
|
logs?: Prisma.EntityWebhookLogUpdateManyWithoutWebhookNestedInput
|
|
}
|
|
|
|
export type EntityWebhookUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
endpoint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
logs?: Prisma.EntityWebhookLogUncheckedUpdateManyWithoutWebhookNestedInput
|
|
}
|
|
|
|
export type EntityWebhookCreateManyInput = {
|
|
id?: string
|
|
entityId: string
|
|
action: string
|
|
method: string
|
|
endpoint: string
|
|
}
|
|
|
|
export type EntityWebhookUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
endpoint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type EntityWebhookUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
endpoint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type EntityWebhookListRelationFilter = {
|
|
every?: Prisma.EntityWebhookWhereInput
|
|
some?: Prisma.EntityWebhookWhereInput
|
|
none?: Prisma.EntityWebhookWhereInput
|
|
}
|
|
|
|
export type EntityWebhookOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityWebhookCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
method?: Prisma.SortOrder
|
|
endpoint?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityWebhookMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
method?: Prisma.SortOrder
|
|
endpoint?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityWebhookMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
action?: Prisma.SortOrder
|
|
method?: Prisma.SortOrder
|
|
endpoint?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityWebhookScalarRelationFilter = {
|
|
is?: Prisma.EntityWebhookWhereInput
|
|
isNot?: Prisma.EntityWebhookWhereInput
|
|
}
|
|
|
|
export type EntityWebhookCreateNestedManyWithoutEntityInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookCreateWithoutEntityInput, Prisma.EntityWebhookUncheckedCreateWithoutEntityInput> | Prisma.EntityWebhookCreateWithoutEntityInput[] | Prisma.EntityWebhookUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookCreateOrConnectWithoutEntityInput | Prisma.EntityWebhookCreateOrConnectWithoutEntityInput[]
|
|
createMany?: Prisma.EntityWebhookCreateManyEntityInputEnvelope
|
|
connect?: Prisma.EntityWebhookWhereUniqueInput | Prisma.EntityWebhookWhereUniqueInput[]
|
|
}
|
|
|
|
export type EntityWebhookUncheckedCreateNestedManyWithoutEntityInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookCreateWithoutEntityInput, Prisma.EntityWebhookUncheckedCreateWithoutEntityInput> | Prisma.EntityWebhookCreateWithoutEntityInput[] | Prisma.EntityWebhookUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookCreateOrConnectWithoutEntityInput | Prisma.EntityWebhookCreateOrConnectWithoutEntityInput[]
|
|
createMany?: Prisma.EntityWebhookCreateManyEntityInputEnvelope
|
|
connect?: Prisma.EntityWebhookWhereUniqueInput | Prisma.EntityWebhookWhereUniqueInput[]
|
|
}
|
|
|
|
export type EntityWebhookUpdateManyWithoutEntityNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookCreateWithoutEntityInput, Prisma.EntityWebhookUncheckedCreateWithoutEntityInput> | Prisma.EntityWebhookCreateWithoutEntityInput[] | Prisma.EntityWebhookUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookCreateOrConnectWithoutEntityInput | Prisma.EntityWebhookCreateOrConnectWithoutEntityInput[]
|
|
upsert?: Prisma.EntityWebhookUpsertWithWhereUniqueWithoutEntityInput | Prisma.EntityWebhookUpsertWithWhereUniqueWithoutEntityInput[]
|
|
createMany?: Prisma.EntityWebhookCreateManyEntityInputEnvelope
|
|
set?: Prisma.EntityWebhookWhereUniqueInput | Prisma.EntityWebhookWhereUniqueInput[]
|
|
disconnect?: Prisma.EntityWebhookWhereUniqueInput | Prisma.EntityWebhookWhereUniqueInput[]
|
|
delete?: Prisma.EntityWebhookWhereUniqueInput | Prisma.EntityWebhookWhereUniqueInput[]
|
|
connect?: Prisma.EntityWebhookWhereUniqueInput | Prisma.EntityWebhookWhereUniqueInput[]
|
|
update?: Prisma.EntityWebhookUpdateWithWhereUniqueWithoutEntityInput | Prisma.EntityWebhookUpdateWithWhereUniqueWithoutEntityInput[]
|
|
updateMany?: Prisma.EntityWebhookUpdateManyWithWhereWithoutEntityInput | Prisma.EntityWebhookUpdateManyWithWhereWithoutEntityInput[]
|
|
deleteMany?: Prisma.EntityWebhookScalarWhereInput | Prisma.EntityWebhookScalarWhereInput[]
|
|
}
|
|
|
|
export type EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookCreateWithoutEntityInput, Prisma.EntityWebhookUncheckedCreateWithoutEntityInput> | Prisma.EntityWebhookCreateWithoutEntityInput[] | Prisma.EntityWebhookUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.EntityWebhookCreateOrConnectWithoutEntityInput | Prisma.EntityWebhookCreateOrConnectWithoutEntityInput[]
|
|
upsert?: Prisma.EntityWebhookUpsertWithWhereUniqueWithoutEntityInput | Prisma.EntityWebhookUpsertWithWhereUniqueWithoutEntityInput[]
|
|
createMany?: Prisma.EntityWebhookCreateManyEntityInputEnvelope
|
|
set?: Prisma.EntityWebhookWhereUniqueInput | Prisma.EntityWebhookWhereUniqueInput[]
|
|
disconnect?: Prisma.EntityWebhookWhereUniqueInput | Prisma.EntityWebhookWhereUniqueInput[]
|
|
delete?: Prisma.EntityWebhookWhereUniqueInput | Prisma.EntityWebhookWhereUniqueInput[]
|
|
connect?: Prisma.EntityWebhookWhereUniqueInput | Prisma.EntityWebhookWhereUniqueInput[]
|
|
update?: Prisma.EntityWebhookUpdateWithWhereUniqueWithoutEntityInput | Prisma.EntityWebhookUpdateWithWhereUniqueWithoutEntityInput[]
|
|
updateMany?: Prisma.EntityWebhookUpdateManyWithWhereWithoutEntityInput | Prisma.EntityWebhookUpdateManyWithWhereWithoutEntityInput[]
|
|
deleteMany?: Prisma.EntityWebhookScalarWhereInput | Prisma.EntityWebhookScalarWhereInput[]
|
|
}
|
|
|
|
export type EntityWebhookCreateNestedOneWithoutLogsInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookCreateWithoutLogsInput, Prisma.EntityWebhookUncheckedCreateWithoutLogsInput>
|
|
connectOrCreate?: Prisma.EntityWebhookCreateOrConnectWithoutLogsInput
|
|
connect?: Prisma.EntityWebhookWhereUniqueInput
|
|
}
|
|
|
|
export type EntityWebhookUpdateOneRequiredWithoutLogsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityWebhookCreateWithoutLogsInput, Prisma.EntityWebhookUncheckedCreateWithoutLogsInput>
|
|
connectOrCreate?: Prisma.EntityWebhookCreateOrConnectWithoutLogsInput
|
|
upsert?: Prisma.EntityWebhookUpsertWithoutLogsInput
|
|
connect?: Prisma.EntityWebhookWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityWebhookUpdateToOneWithWhereWithoutLogsInput, Prisma.EntityWebhookUpdateWithoutLogsInput>, Prisma.EntityWebhookUncheckedUpdateWithoutLogsInput>
|
|
}
|
|
|
|
export type EntityWebhookCreateWithoutEntityInput = {
|
|
id?: string
|
|
action: string
|
|
method: string
|
|
endpoint: string
|
|
logs?: Prisma.EntityWebhookLogCreateNestedManyWithoutWebhookInput
|
|
}
|
|
|
|
export type EntityWebhookUncheckedCreateWithoutEntityInput = {
|
|
id?: string
|
|
action: string
|
|
method: string
|
|
endpoint: string
|
|
logs?: Prisma.EntityWebhookLogUncheckedCreateNestedManyWithoutWebhookInput
|
|
}
|
|
|
|
export type EntityWebhookCreateOrConnectWithoutEntityInput = {
|
|
where: Prisma.EntityWebhookWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityWebhookCreateWithoutEntityInput, Prisma.EntityWebhookUncheckedCreateWithoutEntityInput>
|
|
}
|
|
|
|
export type EntityWebhookCreateManyEntityInputEnvelope = {
|
|
data: Prisma.EntityWebhookCreateManyEntityInput | Prisma.EntityWebhookCreateManyEntityInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type EntityWebhookUpsertWithWhereUniqueWithoutEntityInput = {
|
|
where: Prisma.EntityWebhookWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.EntityWebhookUpdateWithoutEntityInput, Prisma.EntityWebhookUncheckedUpdateWithoutEntityInput>
|
|
create: Prisma.XOR<Prisma.EntityWebhookCreateWithoutEntityInput, Prisma.EntityWebhookUncheckedCreateWithoutEntityInput>
|
|
}
|
|
|
|
export type EntityWebhookUpdateWithWhereUniqueWithoutEntityInput = {
|
|
where: Prisma.EntityWebhookWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.EntityWebhookUpdateWithoutEntityInput, Prisma.EntityWebhookUncheckedUpdateWithoutEntityInput>
|
|
}
|
|
|
|
export type EntityWebhookUpdateManyWithWhereWithoutEntityInput = {
|
|
where: Prisma.EntityWebhookScalarWhereInput
|
|
data: Prisma.XOR<Prisma.EntityWebhookUpdateManyMutationInput, Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityInput>
|
|
}
|
|
|
|
export type EntityWebhookScalarWhereInput = {
|
|
AND?: Prisma.EntityWebhookScalarWhereInput | Prisma.EntityWebhookScalarWhereInput[]
|
|
OR?: Prisma.EntityWebhookScalarWhereInput[]
|
|
NOT?: Prisma.EntityWebhookScalarWhereInput | Prisma.EntityWebhookScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
entityId?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
action?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
method?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
endpoint?: Prisma.StringFilter<"EntityWebhook"> | string
|
|
}
|
|
|
|
export type EntityWebhookCreateWithoutLogsInput = {
|
|
id?: string
|
|
action: string
|
|
method: string
|
|
endpoint: string
|
|
entity: Prisma.EntityCreateNestedOneWithoutWebhooksInput
|
|
}
|
|
|
|
export type EntityWebhookUncheckedCreateWithoutLogsInput = {
|
|
id?: string
|
|
entityId: string
|
|
action: string
|
|
method: string
|
|
endpoint: string
|
|
}
|
|
|
|
export type EntityWebhookCreateOrConnectWithoutLogsInput = {
|
|
where: Prisma.EntityWebhookWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityWebhookCreateWithoutLogsInput, Prisma.EntityWebhookUncheckedCreateWithoutLogsInput>
|
|
}
|
|
|
|
export type EntityWebhookUpsertWithoutLogsInput = {
|
|
update: Prisma.XOR<Prisma.EntityWebhookUpdateWithoutLogsInput, Prisma.EntityWebhookUncheckedUpdateWithoutLogsInput>
|
|
create: Prisma.XOR<Prisma.EntityWebhookCreateWithoutLogsInput, Prisma.EntityWebhookUncheckedCreateWithoutLogsInput>
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
}
|
|
|
|
export type EntityWebhookUpdateToOneWithWhereWithoutLogsInput = {
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
data: Prisma.XOR<Prisma.EntityWebhookUpdateWithoutLogsInput, Prisma.EntityWebhookUncheckedUpdateWithoutLogsInput>
|
|
}
|
|
|
|
export type EntityWebhookUpdateWithoutLogsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
endpoint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutWebhooksNestedInput
|
|
}
|
|
|
|
export type EntityWebhookUncheckedUpdateWithoutLogsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
endpoint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type EntityWebhookCreateManyEntityInput = {
|
|
id?: string
|
|
action: string
|
|
method: string
|
|
endpoint: string
|
|
}
|
|
|
|
export type EntityWebhookUpdateWithoutEntityInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
endpoint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
logs?: Prisma.EntityWebhookLogUpdateManyWithoutWebhookNestedInput
|
|
}
|
|
|
|
export type EntityWebhookUncheckedUpdateWithoutEntityInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
endpoint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
logs?: Prisma.EntityWebhookLogUncheckedUpdateManyWithoutWebhookNestedInput
|
|
}
|
|
|
|
export type EntityWebhookUncheckedUpdateManyWithoutEntityInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
action?: Prisma.StringFieldUpdateOperationsInput | string
|
|
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
endpoint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type EntityWebhookCountOutputType
|
|
*/
|
|
|
|
export type EntityWebhookCountOutputType = {
|
|
logs: number
|
|
}
|
|
|
|
export type EntityWebhookCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
logs?: boolean | EntityWebhookCountOutputTypeCountLogsArgs
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookCountOutputType without action
|
|
*/
|
|
export type EntityWebhookCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhookCountOutputType
|
|
*/
|
|
select?: Prisma.EntityWebhookCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EntityWebhookCountOutputType without action
|
|
*/
|
|
export type EntityWebhookCountOutputTypeCountLogsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityWebhookLogWhereInput
|
|
}
|
|
|
|
|
|
export type EntityWebhookSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
entityId?: boolean
|
|
action?: boolean
|
|
method?: boolean
|
|
endpoint?: boolean
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
logs?: boolean | Prisma.EntityWebhook$logsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.EntityWebhookCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["entityWebhook"]>
|
|
|
|
export type EntityWebhookSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
entityId?: boolean
|
|
action?: boolean
|
|
method?: boolean
|
|
endpoint?: boolean
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["entityWebhook"]>
|
|
|
|
export type EntityWebhookSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
entityId?: boolean
|
|
action?: boolean
|
|
method?: boolean
|
|
endpoint?: boolean
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["entityWebhook"]>
|
|
|
|
export type EntityWebhookSelectScalar = {
|
|
id?: boolean
|
|
entityId?: boolean
|
|
action?: boolean
|
|
method?: boolean
|
|
endpoint?: boolean
|
|
}
|
|
|
|
export type EntityWebhookOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "entityId" | "action" | "method" | "endpoint", ExtArgs["result"]["entityWebhook"]>
|
|
export type EntityWebhookInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
logs?: boolean | Prisma.EntityWebhook$logsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.EntityWebhookCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type EntityWebhookIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}
|
|
export type EntityWebhookIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $EntityWebhookPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "EntityWebhook"
|
|
objects: {
|
|
entity: Prisma.$EntityPayload<ExtArgs>
|
|
logs: Prisma.$EntityWebhookLogPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
entityId: string
|
|
action: string
|
|
method: string
|
|
endpoint: string
|
|
}, ExtArgs["result"]["entityWebhook"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type EntityWebhookGetPayload<S extends boolean | null | undefined | EntityWebhookDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload, S>
|
|
|
|
export type EntityWebhookCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<EntityWebhookFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: EntityWebhookCountAggregateInputType | true
|
|
}
|
|
|
|
export interface EntityWebhookDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EntityWebhook'], meta: { name: 'EntityWebhook' } }
|
|
/**
|
|
* Find zero or one EntityWebhook that matches the filter.
|
|
* @param {EntityWebhookFindUniqueArgs} args - Arguments to find a EntityWebhook
|
|
* @example
|
|
* // Get one EntityWebhook
|
|
* const entityWebhook = await prisma.entityWebhook.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends EntityWebhookFindUniqueArgs>(args: Prisma.SelectSubset<T, EntityWebhookFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one EntityWebhook that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {EntityWebhookFindUniqueOrThrowArgs} args - Arguments to find a EntityWebhook
|
|
* @example
|
|
* // Get one EntityWebhook
|
|
* const entityWebhook = await prisma.entityWebhook.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends EntityWebhookFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EntityWebhookFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first EntityWebhook 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 {EntityWebhookFindFirstArgs} args - Arguments to find a EntityWebhook
|
|
* @example
|
|
* // Get one EntityWebhook
|
|
* const entityWebhook = await prisma.entityWebhook.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends EntityWebhookFindFirstArgs>(args?: Prisma.SelectSubset<T, EntityWebhookFindFirstArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first EntityWebhook 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 {EntityWebhookFindFirstOrThrowArgs} args - Arguments to find a EntityWebhook
|
|
* @example
|
|
* // Get one EntityWebhook
|
|
* const entityWebhook = await prisma.entityWebhook.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends EntityWebhookFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EntityWebhookFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more EntityWebhooks 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 {EntityWebhookFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all EntityWebhooks
|
|
* const entityWebhooks = await prisma.entityWebhook.findMany()
|
|
*
|
|
* // Get first 10 EntityWebhooks
|
|
* const entityWebhooks = await prisma.entityWebhook.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const entityWebhookWithIdOnly = await prisma.entityWebhook.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends EntityWebhookFindManyArgs>(args?: Prisma.SelectSubset<T, EntityWebhookFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a EntityWebhook.
|
|
* @param {EntityWebhookCreateArgs} args - Arguments to create a EntityWebhook.
|
|
* @example
|
|
* // Create one EntityWebhook
|
|
* const EntityWebhook = await prisma.entityWebhook.create({
|
|
* data: {
|
|
* // ... data to create a EntityWebhook
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends EntityWebhookCreateArgs>(args: Prisma.SelectSubset<T, EntityWebhookCreateArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many EntityWebhooks.
|
|
* @param {EntityWebhookCreateManyArgs} args - Arguments to create many EntityWebhooks.
|
|
* @example
|
|
* // Create many EntityWebhooks
|
|
* const entityWebhook = await prisma.entityWebhook.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends EntityWebhookCreateManyArgs>(args?: Prisma.SelectSubset<T, EntityWebhookCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many EntityWebhooks and returns the data saved in the database.
|
|
* @param {EntityWebhookCreateManyAndReturnArgs} args - Arguments to create many EntityWebhooks.
|
|
* @example
|
|
* // Create many EntityWebhooks
|
|
* const entityWebhook = await prisma.entityWebhook.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many EntityWebhooks and only return the `id`
|
|
* const entityWebhookWithIdOnly = await prisma.entityWebhook.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 EntityWebhookCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EntityWebhookCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a EntityWebhook.
|
|
* @param {EntityWebhookDeleteArgs} args - Arguments to delete one EntityWebhook.
|
|
* @example
|
|
* // Delete one EntityWebhook
|
|
* const EntityWebhook = await prisma.entityWebhook.delete({
|
|
* where: {
|
|
* // ... filter to delete one EntityWebhook
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends EntityWebhookDeleteArgs>(args: Prisma.SelectSubset<T, EntityWebhookDeleteArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one EntityWebhook.
|
|
* @param {EntityWebhookUpdateArgs} args - Arguments to update one EntityWebhook.
|
|
* @example
|
|
* // Update one EntityWebhook
|
|
* const entityWebhook = await prisma.entityWebhook.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends EntityWebhookUpdateArgs>(args: Prisma.SelectSubset<T, EntityWebhookUpdateArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more EntityWebhooks.
|
|
* @param {EntityWebhookDeleteManyArgs} args - Arguments to filter EntityWebhooks to delete.
|
|
* @example
|
|
* // Delete a few EntityWebhooks
|
|
* const { count } = await prisma.entityWebhook.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends EntityWebhookDeleteManyArgs>(args?: Prisma.SelectSubset<T, EntityWebhookDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more EntityWebhooks.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityWebhookUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many EntityWebhooks
|
|
* const entityWebhook = await prisma.entityWebhook.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends EntityWebhookUpdateManyArgs>(args: Prisma.SelectSubset<T, EntityWebhookUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more EntityWebhooks and returns the data updated in the database.
|
|
* @param {EntityWebhookUpdateManyAndReturnArgs} args - Arguments to update many EntityWebhooks.
|
|
* @example
|
|
* // Update many EntityWebhooks
|
|
* const entityWebhook = await prisma.entityWebhook.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more EntityWebhooks and only return the `id`
|
|
* const entityWebhookWithIdOnly = await prisma.entityWebhook.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 EntityWebhookUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EntityWebhookUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one EntityWebhook.
|
|
* @param {EntityWebhookUpsertArgs} args - Arguments to update or create a EntityWebhook.
|
|
* @example
|
|
* // Update or create a EntityWebhook
|
|
* const entityWebhook = await prisma.entityWebhook.upsert({
|
|
* create: {
|
|
* // ... data to create a EntityWebhook
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the EntityWebhook we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends EntityWebhookUpsertArgs>(args: Prisma.SelectSubset<T, EntityWebhookUpsertArgs<ExtArgs>>): Prisma.Prisma__EntityWebhookClient<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of EntityWebhooks.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityWebhookCountArgs} args - Arguments to filter EntityWebhooks to count.
|
|
* @example
|
|
* // Count the number of EntityWebhooks
|
|
* const count = await prisma.entityWebhook.count({
|
|
* where: {
|
|
* // ... the filter for the EntityWebhooks we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends EntityWebhookCountArgs>(
|
|
args?: Prisma.Subset<T, EntityWebhookCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], EntityWebhookCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a EntityWebhook.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityWebhookAggregateArgs} 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 EntityWebhookAggregateArgs>(args: Prisma.Subset<T, EntityWebhookAggregateArgs>): Prisma.PrismaPromise<GetEntityWebhookAggregateType<T>>
|
|
|
|
/**
|
|
* Group by EntityWebhook.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityWebhookGroupByArgs} 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 EntityWebhookGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: EntityWebhookGroupByArgs['orderBy'] }
|
|
: { orderBy?: EntityWebhookGroupByArgs['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, EntityWebhookGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEntityWebhookGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the EntityWebhook model
|
|
*/
|
|
readonly fields: EntityWebhookFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for EntityWebhook.
|
|
* 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__EntityWebhookClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
entity<T extends Prisma.EntityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityDefaultArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
logs<T extends Prisma.EntityWebhook$logsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityWebhook$logsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* 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 EntityWebhook model
|
|
*/
|
|
export interface EntityWebhookFieldRefs {
|
|
readonly id: Prisma.FieldRef<"EntityWebhook", 'String'>
|
|
readonly entityId: Prisma.FieldRef<"EntityWebhook", 'String'>
|
|
readonly action: Prisma.FieldRef<"EntityWebhook", 'String'>
|
|
readonly method: Prisma.FieldRef<"EntityWebhook", 'String'>
|
|
readonly endpoint: Prisma.FieldRef<"EntityWebhook", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* EntityWebhook findUnique
|
|
*/
|
|
export type EntityWebhookFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityWebhook to fetch.
|
|
*/
|
|
where: Prisma.EntityWebhookWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook findUniqueOrThrow
|
|
*/
|
|
export type EntityWebhookFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityWebhook to fetch.
|
|
*/
|
|
where: Prisma.EntityWebhookWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook findFirst
|
|
*/
|
|
export type EntityWebhookFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityWebhook to fetch.
|
|
*/
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityWebhooks to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityWebhookOrderByWithRelationInput | Prisma.EntityWebhookOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for EntityWebhooks.
|
|
*/
|
|
cursor?: Prisma.EntityWebhookWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityWebhooks 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` EntityWebhooks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EntityWebhooks.
|
|
*/
|
|
distinct?: Prisma.EntityWebhookScalarFieldEnum | Prisma.EntityWebhookScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook findFirstOrThrow
|
|
*/
|
|
export type EntityWebhookFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityWebhook to fetch.
|
|
*/
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityWebhooks to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityWebhookOrderByWithRelationInput | Prisma.EntityWebhookOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for EntityWebhooks.
|
|
*/
|
|
cursor?: Prisma.EntityWebhookWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityWebhooks 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` EntityWebhooks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EntityWebhooks.
|
|
*/
|
|
distinct?: Prisma.EntityWebhookScalarFieldEnum | Prisma.EntityWebhookScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook findMany
|
|
*/
|
|
export type EntityWebhookFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityWebhooks to fetch.
|
|
*/
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityWebhooks to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityWebhookOrderByWithRelationInput | Prisma.EntityWebhookOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing EntityWebhooks.
|
|
*/
|
|
cursor?: Prisma.EntityWebhookWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityWebhooks 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` EntityWebhooks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EntityWebhooks.
|
|
*/
|
|
distinct?: Prisma.EntityWebhookScalarFieldEnum | Prisma.EntityWebhookScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook create
|
|
*/
|
|
export type EntityWebhookCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a EntityWebhook.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityWebhookCreateInput, Prisma.EntityWebhookUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook createMany
|
|
*/
|
|
export type EntityWebhookCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many EntityWebhooks.
|
|
*/
|
|
data: Prisma.EntityWebhookCreateManyInput | Prisma.EntityWebhookCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook createManyAndReturn
|
|
*/
|
|
export type EntityWebhookCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many EntityWebhooks.
|
|
*/
|
|
data: Prisma.EntityWebhookCreateManyInput | Prisma.EntityWebhookCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook update
|
|
*/
|
|
export type EntityWebhookUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a EntityWebhook.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityWebhookUpdateInput, Prisma.EntityWebhookUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which EntityWebhook to update.
|
|
*/
|
|
where: Prisma.EntityWebhookWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook updateMany
|
|
*/
|
|
export type EntityWebhookUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update EntityWebhooks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityWebhookUpdateManyMutationInput, Prisma.EntityWebhookUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which EntityWebhooks to update
|
|
*/
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
/**
|
|
* Limit how many EntityWebhooks to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook updateManyAndReturn
|
|
*/
|
|
export type EntityWebhookUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update EntityWebhooks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityWebhookUpdateManyMutationInput, Prisma.EntityWebhookUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which EntityWebhooks to update
|
|
*/
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
/**
|
|
* Limit how many EntityWebhooks to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook upsert
|
|
*/
|
|
export type EntityWebhookUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the EntityWebhook to update in case it exists.
|
|
*/
|
|
where: Prisma.EntityWebhookWhereUniqueInput
|
|
/**
|
|
* In case the EntityWebhook found by the `where` argument doesn't exist, create a new EntityWebhook with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.EntityWebhookCreateInput, Prisma.EntityWebhookUncheckedCreateInput>
|
|
/**
|
|
* In case the EntityWebhook was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.EntityWebhookUpdateInput, Prisma.EntityWebhookUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook delete
|
|
*/
|
|
export type EntityWebhookDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which EntityWebhook to delete.
|
|
*/
|
|
where: Prisma.EntityWebhookWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook deleteMany
|
|
*/
|
|
export type EntityWebhookDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which EntityWebhooks to delete
|
|
*/
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
/**
|
|
* Limit how many EntityWebhooks to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook.logs
|
|
*/
|
|
export type EntityWebhook$logsArgs<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
|
|
where?: Prisma.EntityWebhookLogWhereInput
|
|
orderBy?: Prisma.EntityWebhookLogOrderByWithRelationInput | Prisma.EntityWebhookLogOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityWebhookLogWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityWebhookLogScalarFieldEnum | Prisma.EntityWebhookLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityWebhook without action
|
|
*/
|
|
export type EntityWebhookDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
}
|