1368 lines
50 KiB
TypeScript
1368 lines
50 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 `PluginInvocation` 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 PluginInvocation
|
|
*
|
|
*/
|
|
export type PluginInvocationModel = runtime.Types.Result.DefaultSelection<Prisma.$PluginInvocationPayload>
|
|
|
|
export type AggregatePluginInvocation = {
|
|
_count: PluginInvocationCountAggregateOutputType | null
|
|
_avg: PluginInvocationAvgAggregateOutputType | null
|
|
_sum: PluginInvocationSumAggregateOutputType | null
|
|
_min: PluginInvocationMinAggregateOutputType | null
|
|
_max: PluginInvocationMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type PluginInvocationAvgAggregateOutputType = {
|
|
durationMs: number | null
|
|
fuelUsed: number | null
|
|
}
|
|
|
|
export type PluginInvocationSumAggregateOutputType = {
|
|
durationMs: number | null
|
|
fuelUsed: number | null
|
|
}
|
|
|
|
export type PluginInvocationMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
pluginId: string | null
|
|
version: string | null
|
|
hookName: string | null
|
|
outcome: string | null
|
|
failureReason: string | null
|
|
message: string | null
|
|
durationMs: number | null
|
|
fuelUsed: number | null
|
|
createdAt: Date | null
|
|
}
|
|
|
|
export type PluginInvocationMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
pluginId: string | null
|
|
version: string | null
|
|
hookName: string | null
|
|
outcome: string | null
|
|
failureReason: string | null
|
|
message: string | null
|
|
durationMs: number | null
|
|
fuelUsed: number | null
|
|
createdAt: Date | null
|
|
}
|
|
|
|
export type PluginInvocationCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
pluginId: number
|
|
version: number
|
|
hookName: number
|
|
outcome: number
|
|
failureReason: number
|
|
message: number
|
|
durationMs: number
|
|
fuelUsed: number
|
|
createdAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type PluginInvocationAvgAggregateInputType = {
|
|
durationMs?: true
|
|
fuelUsed?: true
|
|
}
|
|
|
|
export type PluginInvocationSumAggregateInputType = {
|
|
durationMs?: true
|
|
fuelUsed?: true
|
|
}
|
|
|
|
export type PluginInvocationMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
pluginId?: true
|
|
version?: true
|
|
hookName?: true
|
|
outcome?: true
|
|
failureReason?: true
|
|
message?: true
|
|
durationMs?: true
|
|
fuelUsed?: true
|
|
createdAt?: true
|
|
}
|
|
|
|
export type PluginInvocationMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
pluginId?: true
|
|
version?: true
|
|
hookName?: true
|
|
outcome?: true
|
|
failureReason?: true
|
|
message?: true
|
|
durationMs?: true
|
|
fuelUsed?: true
|
|
createdAt?: true
|
|
}
|
|
|
|
export type PluginInvocationCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
pluginId?: true
|
|
version?: true
|
|
hookName?: true
|
|
outcome?: true
|
|
failureReason?: true
|
|
message?: true
|
|
durationMs?: true
|
|
fuelUsed?: true
|
|
createdAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type PluginInvocationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PluginInvocation to aggregate.
|
|
*/
|
|
where?: Prisma.PluginInvocationWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PluginInvocations to fetch.
|
|
*/
|
|
orderBy?: Prisma.PluginInvocationOrderByWithRelationInput | Prisma.PluginInvocationOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.PluginInvocationWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PluginInvocations 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` PluginInvocations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned PluginInvocations
|
|
**/
|
|
_count?: true | PluginInvocationCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: PluginInvocationAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: PluginInvocationSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: PluginInvocationMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: PluginInvocationMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPluginInvocationAggregateType<T extends PluginInvocationAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePluginInvocation]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePluginInvocation[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePluginInvocation[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PluginInvocationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PluginInvocationWhereInput
|
|
orderBy?: Prisma.PluginInvocationOrderByWithAggregationInput | Prisma.PluginInvocationOrderByWithAggregationInput[]
|
|
by: Prisma.PluginInvocationScalarFieldEnum[] | Prisma.PluginInvocationScalarFieldEnum
|
|
having?: Prisma.PluginInvocationScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: PluginInvocationCountAggregateInputType | true
|
|
_avg?: PluginInvocationAvgAggregateInputType
|
|
_sum?: PluginInvocationSumAggregateInputType
|
|
_min?: PluginInvocationMinAggregateInputType
|
|
_max?: PluginInvocationMaxAggregateInputType
|
|
}
|
|
|
|
export type PluginInvocationGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
pluginId: string
|
|
version: string
|
|
hookName: string
|
|
outcome: string
|
|
failureReason: string | null
|
|
message: string | null
|
|
durationMs: number
|
|
fuelUsed: number | null
|
|
createdAt: Date
|
|
_count: PluginInvocationCountAggregateOutputType | null
|
|
_avg: PluginInvocationAvgAggregateOutputType | null
|
|
_sum: PluginInvocationSumAggregateOutputType | null
|
|
_min: PluginInvocationMinAggregateOutputType | null
|
|
_max: PluginInvocationMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetPluginInvocationGroupByPayload<T extends PluginInvocationGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<PluginInvocationGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof PluginInvocationGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], PluginInvocationGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], PluginInvocationGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type PluginInvocationWhereInput = {
|
|
AND?: Prisma.PluginInvocationWhereInput | Prisma.PluginInvocationWhereInput[]
|
|
OR?: Prisma.PluginInvocationWhereInput[]
|
|
NOT?: Prisma.PluginInvocationWhereInput | Prisma.PluginInvocationWhereInput[]
|
|
id?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
tenantId?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
pluginId?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
version?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
hookName?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
outcome?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
failureReason?: Prisma.StringNullableFilter<"PluginInvocation"> | string | null
|
|
message?: Prisma.StringNullableFilter<"PluginInvocation"> | string | null
|
|
durationMs?: Prisma.IntFilter<"PluginInvocation"> | number
|
|
fuelUsed?: Prisma.IntNullableFilter<"PluginInvocation"> | number | null
|
|
createdAt?: Prisma.DateTimeFilter<"PluginInvocation"> | Date | string
|
|
}
|
|
|
|
export type PluginInvocationOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
pluginId?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
hookName?: Prisma.SortOrder
|
|
outcome?: Prisma.SortOrder
|
|
failureReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
message?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
durationMs?: Prisma.SortOrder
|
|
fuelUsed?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PluginInvocationWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.PluginInvocationWhereInput | Prisma.PluginInvocationWhereInput[]
|
|
OR?: Prisma.PluginInvocationWhereInput[]
|
|
NOT?: Prisma.PluginInvocationWhereInput | Prisma.PluginInvocationWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
pluginId?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
version?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
hookName?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
outcome?: Prisma.StringFilter<"PluginInvocation"> | string
|
|
failureReason?: Prisma.StringNullableFilter<"PluginInvocation"> | string | null
|
|
message?: Prisma.StringNullableFilter<"PluginInvocation"> | string | null
|
|
durationMs?: Prisma.IntFilter<"PluginInvocation"> | number
|
|
fuelUsed?: Prisma.IntNullableFilter<"PluginInvocation"> | number | null
|
|
createdAt?: Prisma.DateTimeFilter<"PluginInvocation"> | Date | string
|
|
}, "id">
|
|
|
|
export type PluginInvocationOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
pluginId?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
hookName?: Prisma.SortOrder
|
|
outcome?: Prisma.SortOrder
|
|
failureReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
message?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
durationMs?: Prisma.SortOrder
|
|
fuelUsed?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
_count?: Prisma.PluginInvocationCountOrderByAggregateInput
|
|
_avg?: Prisma.PluginInvocationAvgOrderByAggregateInput
|
|
_max?: Prisma.PluginInvocationMaxOrderByAggregateInput
|
|
_min?: Prisma.PluginInvocationMinOrderByAggregateInput
|
|
_sum?: Prisma.PluginInvocationSumOrderByAggregateInput
|
|
}
|
|
|
|
export type PluginInvocationScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.PluginInvocationScalarWhereWithAggregatesInput | Prisma.PluginInvocationScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.PluginInvocationScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.PluginInvocationScalarWhereWithAggregatesInput | Prisma.PluginInvocationScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"PluginInvocation"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"PluginInvocation"> | string
|
|
pluginId?: Prisma.StringWithAggregatesFilter<"PluginInvocation"> | string
|
|
version?: Prisma.StringWithAggregatesFilter<"PluginInvocation"> | string
|
|
hookName?: Prisma.StringWithAggregatesFilter<"PluginInvocation"> | string
|
|
outcome?: Prisma.StringWithAggregatesFilter<"PluginInvocation"> | string
|
|
failureReason?: Prisma.StringNullableWithAggregatesFilter<"PluginInvocation"> | string | null
|
|
message?: Prisma.StringNullableWithAggregatesFilter<"PluginInvocation"> | string | null
|
|
durationMs?: Prisma.IntWithAggregatesFilter<"PluginInvocation"> | number
|
|
fuelUsed?: Prisma.IntNullableWithAggregatesFilter<"PluginInvocation"> | number | null
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PluginInvocation"> | Date | string
|
|
}
|
|
|
|
export type PluginInvocationCreateInput = {
|
|
id: string
|
|
tenantId: string
|
|
pluginId: string
|
|
version: string
|
|
hookName: string
|
|
outcome: string
|
|
failureReason?: string | null
|
|
message?: string | null
|
|
durationMs: number
|
|
fuelUsed?: number | null
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PluginInvocationUncheckedCreateInput = {
|
|
id: string
|
|
tenantId: string
|
|
pluginId: string
|
|
version: string
|
|
hookName: string
|
|
outcome: string
|
|
failureReason?: string | null
|
|
message?: string | null
|
|
durationMs: number
|
|
fuelUsed?: number | null
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PluginInvocationUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pluginId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
hookName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
outcome?: Prisma.StringFieldUpdateOperationsInput | string
|
|
failureReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMs?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fuelUsed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PluginInvocationUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pluginId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
hookName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
outcome?: Prisma.StringFieldUpdateOperationsInput | string
|
|
failureReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMs?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fuelUsed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PluginInvocationCreateManyInput = {
|
|
id: string
|
|
tenantId: string
|
|
pluginId: string
|
|
version: string
|
|
hookName: string
|
|
outcome: string
|
|
failureReason?: string | null
|
|
message?: string | null
|
|
durationMs: number
|
|
fuelUsed?: number | null
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PluginInvocationUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pluginId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
hookName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
outcome?: Prisma.StringFieldUpdateOperationsInput | string
|
|
failureReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMs?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fuelUsed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PluginInvocationUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pluginId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
hookName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
outcome?: Prisma.StringFieldUpdateOperationsInput | string
|
|
failureReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMs?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fuelUsed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PluginInvocationCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
pluginId?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
hookName?: Prisma.SortOrder
|
|
outcome?: Prisma.SortOrder
|
|
failureReason?: Prisma.SortOrder
|
|
message?: Prisma.SortOrder
|
|
durationMs?: Prisma.SortOrder
|
|
fuelUsed?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PluginInvocationAvgOrderByAggregateInput = {
|
|
durationMs?: Prisma.SortOrder
|
|
fuelUsed?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PluginInvocationMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
pluginId?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
hookName?: Prisma.SortOrder
|
|
outcome?: Prisma.SortOrder
|
|
failureReason?: Prisma.SortOrder
|
|
message?: Prisma.SortOrder
|
|
durationMs?: Prisma.SortOrder
|
|
fuelUsed?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PluginInvocationMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
pluginId?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
hookName?: Prisma.SortOrder
|
|
outcome?: Prisma.SortOrder
|
|
failureReason?: Prisma.SortOrder
|
|
message?: Prisma.SortOrder
|
|
durationMs?: Prisma.SortOrder
|
|
fuelUsed?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PluginInvocationSumOrderByAggregateInput = {
|
|
durationMs?: Prisma.SortOrder
|
|
fuelUsed?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type PluginInvocationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
pluginId?: boolean
|
|
version?: boolean
|
|
hookName?: boolean
|
|
outcome?: boolean
|
|
failureReason?: boolean
|
|
message?: boolean
|
|
durationMs?: boolean
|
|
fuelUsed?: boolean
|
|
createdAt?: boolean
|
|
}, ExtArgs["result"]["pluginInvocation"]>
|
|
|
|
export type PluginInvocationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
pluginId?: boolean
|
|
version?: boolean
|
|
hookName?: boolean
|
|
outcome?: boolean
|
|
failureReason?: boolean
|
|
message?: boolean
|
|
durationMs?: boolean
|
|
fuelUsed?: boolean
|
|
createdAt?: boolean
|
|
}, ExtArgs["result"]["pluginInvocation"]>
|
|
|
|
export type PluginInvocationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
pluginId?: boolean
|
|
version?: boolean
|
|
hookName?: boolean
|
|
outcome?: boolean
|
|
failureReason?: boolean
|
|
message?: boolean
|
|
durationMs?: boolean
|
|
fuelUsed?: boolean
|
|
createdAt?: boolean
|
|
}, ExtArgs["result"]["pluginInvocation"]>
|
|
|
|
export type PluginInvocationSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
pluginId?: boolean
|
|
version?: boolean
|
|
hookName?: boolean
|
|
outcome?: boolean
|
|
failureReason?: boolean
|
|
message?: boolean
|
|
durationMs?: boolean
|
|
fuelUsed?: boolean
|
|
createdAt?: boolean
|
|
}
|
|
|
|
export type PluginInvocationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "pluginId" | "version" | "hookName" | "outcome" | "failureReason" | "message" | "durationMs" | "fuelUsed" | "createdAt", ExtArgs["result"]["pluginInvocation"]>
|
|
|
|
export type $PluginInvocationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "PluginInvocation"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
pluginId: string
|
|
version: string
|
|
hookName: string
|
|
outcome: string
|
|
failureReason: string | null
|
|
message: string | null
|
|
durationMs: number
|
|
fuelUsed: number | null
|
|
createdAt: Date
|
|
}, ExtArgs["result"]["pluginInvocation"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type PluginInvocationGetPayload<S extends boolean | null | undefined | PluginInvocationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload, S>
|
|
|
|
export type PluginInvocationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<PluginInvocationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: PluginInvocationCountAggregateInputType | true
|
|
}
|
|
|
|
export interface PluginInvocationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PluginInvocation'], meta: { name: 'PluginInvocation' } }
|
|
/**
|
|
* Find zero or one PluginInvocation that matches the filter.
|
|
* @param {PluginInvocationFindUniqueArgs} args - Arguments to find a PluginInvocation
|
|
* @example
|
|
* // Get one PluginInvocation
|
|
* const pluginInvocation = await prisma.pluginInvocation.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends PluginInvocationFindUniqueArgs>(args: Prisma.SelectSubset<T, PluginInvocationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PluginInvocationClient<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one PluginInvocation that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {PluginInvocationFindUniqueOrThrowArgs} args - Arguments to find a PluginInvocation
|
|
* @example
|
|
* // Get one PluginInvocation
|
|
* const pluginInvocation = await prisma.pluginInvocation.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends PluginInvocationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PluginInvocationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PluginInvocationClient<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PluginInvocation 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 {PluginInvocationFindFirstArgs} args - Arguments to find a PluginInvocation
|
|
* @example
|
|
* // Get one PluginInvocation
|
|
* const pluginInvocation = await prisma.pluginInvocation.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends PluginInvocationFindFirstArgs>(args?: Prisma.SelectSubset<T, PluginInvocationFindFirstArgs<ExtArgs>>): Prisma.Prisma__PluginInvocationClient<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PluginInvocation 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 {PluginInvocationFindFirstOrThrowArgs} args - Arguments to find a PluginInvocation
|
|
* @example
|
|
* // Get one PluginInvocation
|
|
* const pluginInvocation = await prisma.pluginInvocation.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends PluginInvocationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PluginInvocationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PluginInvocationClient<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more PluginInvocations 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 {PluginInvocationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all PluginInvocations
|
|
* const pluginInvocations = await prisma.pluginInvocation.findMany()
|
|
*
|
|
* // Get first 10 PluginInvocations
|
|
* const pluginInvocations = await prisma.pluginInvocation.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const pluginInvocationWithIdOnly = await prisma.pluginInvocation.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends PluginInvocationFindManyArgs>(args?: Prisma.SelectSubset<T, PluginInvocationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a PluginInvocation.
|
|
* @param {PluginInvocationCreateArgs} args - Arguments to create a PluginInvocation.
|
|
* @example
|
|
* // Create one PluginInvocation
|
|
* const PluginInvocation = await prisma.pluginInvocation.create({
|
|
* data: {
|
|
* // ... data to create a PluginInvocation
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends PluginInvocationCreateArgs>(args: Prisma.SelectSubset<T, PluginInvocationCreateArgs<ExtArgs>>): Prisma.Prisma__PluginInvocationClient<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many PluginInvocations.
|
|
* @param {PluginInvocationCreateManyArgs} args - Arguments to create many PluginInvocations.
|
|
* @example
|
|
* // Create many PluginInvocations
|
|
* const pluginInvocation = await prisma.pluginInvocation.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends PluginInvocationCreateManyArgs>(args?: Prisma.SelectSubset<T, PluginInvocationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many PluginInvocations and returns the data saved in the database.
|
|
* @param {PluginInvocationCreateManyAndReturnArgs} args - Arguments to create many PluginInvocations.
|
|
* @example
|
|
* // Create many PluginInvocations
|
|
* const pluginInvocation = await prisma.pluginInvocation.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many PluginInvocations and only return the `id`
|
|
* const pluginInvocationWithIdOnly = await prisma.pluginInvocation.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 PluginInvocationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PluginInvocationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a PluginInvocation.
|
|
* @param {PluginInvocationDeleteArgs} args - Arguments to delete one PluginInvocation.
|
|
* @example
|
|
* // Delete one PluginInvocation
|
|
* const PluginInvocation = await prisma.pluginInvocation.delete({
|
|
* where: {
|
|
* // ... filter to delete one PluginInvocation
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends PluginInvocationDeleteArgs>(args: Prisma.SelectSubset<T, PluginInvocationDeleteArgs<ExtArgs>>): Prisma.Prisma__PluginInvocationClient<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one PluginInvocation.
|
|
* @param {PluginInvocationUpdateArgs} args - Arguments to update one PluginInvocation.
|
|
* @example
|
|
* // Update one PluginInvocation
|
|
* const pluginInvocation = await prisma.pluginInvocation.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends PluginInvocationUpdateArgs>(args: Prisma.SelectSubset<T, PluginInvocationUpdateArgs<ExtArgs>>): Prisma.Prisma__PluginInvocationClient<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more PluginInvocations.
|
|
* @param {PluginInvocationDeleteManyArgs} args - Arguments to filter PluginInvocations to delete.
|
|
* @example
|
|
* // Delete a few PluginInvocations
|
|
* const { count } = await prisma.pluginInvocation.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends PluginInvocationDeleteManyArgs>(args?: Prisma.SelectSubset<T, PluginInvocationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PluginInvocations.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PluginInvocationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many PluginInvocations
|
|
* const pluginInvocation = await prisma.pluginInvocation.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends PluginInvocationUpdateManyArgs>(args: Prisma.SelectSubset<T, PluginInvocationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PluginInvocations and returns the data updated in the database.
|
|
* @param {PluginInvocationUpdateManyAndReturnArgs} args - Arguments to update many PluginInvocations.
|
|
* @example
|
|
* // Update many PluginInvocations
|
|
* const pluginInvocation = await prisma.pluginInvocation.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more PluginInvocations and only return the `id`
|
|
* const pluginInvocationWithIdOnly = await prisma.pluginInvocation.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 PluginInvocationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PluginInvocationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one PluginInvocation.
|
|
* @param {PluginInvocationUpsertArgs} args - Arguments to update or create a PluginInvocation.
|
|
* @example
|
|
* // Update or create a PluginInvocation
|
|
* const pluginInvocation = await prisma.pluginInvocation.upsert({
|
|
* create: {
|
|
* // ... data to create a PluginInvocation
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the PluginInvocation we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends PluginInvocationUpsertArgs>(args: Prisma.SelectSubset<T, PluginInvocationUpsertArgs<ExtArgs>>): Prisma.Prisma__PluginInvocationClient<runtime.Types.Result.GetResult<Prisma.$PluginInvocationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of PluginInvocations.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PluginInvocationCountArgs} args - Arguments to filter PluginInvocations to count.
|
|
* @example
|
|
* // Count the number of PluginInvocations
|
|
* const count = await prisma.pluginInvocation.count({
|
|
* where: {
|
|
* // ... the filter for the PluginInvocations we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends PluginInvocationCountArgs>(
|
|
args?: Prisma.Subset<T, PluginInvocationCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], PluginInvocationCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a PluginInvocation.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PluginInvocationAggregateArgs} 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 PluginInvocationAggregateArgs>(args: Prisma.Subset<T, PluginInvocationAggregateArgs>): Prisma.PrismaPromise<GetPluginInvocationAggregateType<T>>
|
|
|
|
/**
|
|
* Group by PluginInvocation.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PluginInvocationGroupByArgs} 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 PluginInvocationGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: PluginInvocationGroupByArgs['orderBy'] }
|
|
: { orderBy?: PluginInvocationGroupByArgs['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, PluginInvocationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPluginInvocationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the PluginInvocation model
|
|
*/
|
|
readonly fields: PluginInvocationFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for PluginInvocation.
|
|
* 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__PluginInvocationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* 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 PluginInvocation model
|
|
*/
|
|
export interface PluginInvocationFieldRefs {
|
|
readonly id: Prisma.FieldRef<"PluginInvocation", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"PluginInvocation", 'String'>
|
|
readonly pluginId: Prisma.FieldRef<"PluginInvocation", 'String'>
|
|
readonly version: Prisma.FieldRef<"PluginInvocation", 'String'>
|
|
readonly hookName: Prisma.FieldRef<"PluginInvocation", 'String'>
|
|
readonly outcome: Prisma.FieldRef<"PluginInvocation", 'String'>
|
|
readonly failureReason: Prisma.FieldRef<"PluginInvocation", 'String'>
|
|
readonly message: Prisma.FieldRef<"PluginInvocation", 'String'>
|
|
readonly durationMs: Prisma.FieldRef<"PluginInvocation", 'Int'>
|
|
readonly fuelUsed: Prisma.FieldRef<"PluginInvocation", 'Int'>
|
|
readonly createdAt: Prisma.FieldRef<"PluginInvocation", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* PluginInvocation findUnique
|
|
*/
|
|
export type PluginInvocationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which PluginInvocation to fetch.
|
|
*/
|
|
where: Prisma.PluginInvocationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation findUniqueOrThrow
|
|
*/
|
|
export type PluginInvocationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which PluginInvocation to fetch.
|
|
*/
|
|
where: Prisma.PluginInvocationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation findFirst
|
|
*/
|
|
export type PluginInvocationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which PluginInvocation to fetch.
|
|
*/
|
|
where?: Prisma.PluginInvocationWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PluginInvocations to fetch.
|
|
*/
|
|
orderBy?: Prisma.PluginInvocationOrderByWithRelationInput | Prisma.PluginInvocationOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PluginInvocations.
|
|
*/
|
|
cursor?: Prisma.PluginInvocationWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PluginInvocations 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` PluginInvocations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PluginInvocations.
|
|
*/
|
|
distinct?: Prisma.PluginInvocationScalarFieldEnum | Prisma.PluginInvocationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation findFirstOrThrow
|
|
*/
|
|
export type PluginInvocationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which PluginInvocation to fetch.
|
|
*/
|
|
where?: Prisma.PluginInvocationWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PluginInvocations to fetch.
|
|
*/
|
|
orderBy?: Prisma.PluginInvocationOrderByWithRelationInput | Prisma.PluginInvocationOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PluginInvocations.
|
|
*/
|
|
cursor?: Prisma.PluginInvocationWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PluginInvocations 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` PluginInvocations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PluginInvocations.
|
|
*/
|
|
distinct?: Prisma.PluginInvocationScalarFieldEnum | Prisma.PluginInvocationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation findMany
|
|
*/
|
|
export type PluginInvocationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which PluginInvocations to fetch.
|
|
*/
|
|
where?: Prisma.PluginInvocationWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PluginInvocations to fetch.
|
|
*/
|
|
orderBy?: Prisma.PluginInvocationOrderByWithRelationInput | Prisma.PluginInvocationOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing PluginInvocations.
|
|
*/
|
|
cursor?: Prisma.PluginInvocationWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PluginInvocations 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` PluginInvocations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PluginInvocations.
|
|
*/
|
|
distinct?: Prisma.PluginInvocationScalarFieldEnum | Prisma.PluginInvocationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation create
|
|
*/
|
|
export type PluginInvocationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a PluginInvocation.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PluginInvocationCreateInput, Prisma.PluginInvocationUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation createMany
|
|
*/
|
|
export type PluginInvocationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many PluginInvocations.
|
|
*/
|
|
data: Prisma.PluginInvocationCreateManyInput | Prisma.PluginInvocationCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation createManyAndReturn
|
|
*/
|
|
export type PluginInvocationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many PluginInvocations.
|
|
*/
|
|
data: Prisma.PluginInvocationCreateManyInput | Prisma.PluginInvocationCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation update
|
|
*/
|
|
export type PluginInvocationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a PluginInvocation.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PluginInvocationUpdateInput, Prisma.PluginInvocationUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which PluginInvocation to update.
|
|
*/
|
|
where: Prisma.PluginInvocationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation updateMany
|
|
*/
|
|
export type PluginInvocationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update PluginInvocations.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PluginInvocationUpdateManyMutationInput, Prisma.PluginInvocationUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PluginInvocations to update
|
|
*/
|
|
where?: Prisma.PluginInvocationWhereInput
|
|
/**
|
|
* Limit how many PluginInvocations to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation updateManyAndReturn
|
|
*/
|
|
export type PluginInvocationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update PluginInvocations.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PluginInvocationUpdateManyMutationInput, Prisma.PluginInvocationUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PluginInvocations to update
|
|
*/
|
|
where?: Prisma.PluginInvocationWhereInput
|
|
/**
|
|
* Limit how many PluginInvocations to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation upsert
|
|
*/
|
|
export type PluginInvocationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the PluginInvocation to update in case it exists.
|
|
*/
|
|
where: Prisma.PluginInvocationWhereUniqueInput
|
|
/**
|
|
* In case the PluginInvocation found by the `where` argument doesn't exist, create a new PluginInvocation with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.PluginInvocationCreateInput, Prisma.PluginInvocationUncheckedCreateInput>
|
|
/**
|
|
* In case the PluginInvocation was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.PluginInvocationUpdateInput, Prisma.PluginInvocationUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation delete
|
|
*/
|
|
export type PluginInvocationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which PluginInvocation to delete.
|
|
*/
|
|
where: Prisma.PluginInvocationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation deleteMany
|
|
*/
|
|
export type PluginInvocationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PluginInvocations to delete
|
|
*/
|
|
where?: Prisma.PluginInvocationWhereInput
|
|
/**
|
|
* Limit how many PluginInvocations to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PluginInvocation without action
|
|
*/
|
|
export type PluginInvocationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginInvocation
|
|
*/
|
|
select?: Prisma.PluginInvocationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginInvocation
|
|
*/
|
|
omit?: Prisma.PluginInvocationOmit<ExtArgs> | null
|
|
}
|