2526 lines
114 KiB
TypeScript
2526 lines
114 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 `WorkflowExecution` 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 WorkflowExecution
|
|
*
|
|
*/
|
|
export type WorkflowExecutionModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkflowExecutionPayload>
|
|
|
|
export type AggregateWorkflowExecution = {
|
|
_count: WorkflowExecutionCountAggregateOutputType | null
|
|
_avg: WorkflowExecutionAvgAggregateOutputType | null
|
|
_sum: WorkflowExecutionSumAggregateOutputType | null
|
|
_min: WorkflowExecutionMinAggregateOutputType | null
|
|
_max: WorkflowExecutionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type WorkflowExecutionAvgAggregateOutputType = {
|
|
duration: number | null
|
|
}
|
|
|
|
export type WorkflowExecutionSumAggregateOutputType = {
|
|
duration: number | null
|
|
}
|
|
|
|
export type WorkflowExecutionMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
workflowId: string | null
|
|
tenantId: string | null
|
|
type: string | null
|
|
status: string | null
|
|
input: string | null
|
|
output: string | null
|
|
duration: number | null
|
|
endedAt: Date | null
|
|
error: string | null
|
|
waitingBlockId: string | null
|
|
createdByUserId: string | null
|
|
appliesToAllTenants: boolean | null
|
|
}
|
|
|
|
export type WorkflowExecutionMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
workflowId: string | null
|
|
tenantId: string | null
|
|
type: string | null
|
|
status: string | null
|
|
input: string | null
|
|
output: string | null
|
|
duration: number | null
|
|
endedAt: Date | null
|
|
error: string | null
|
|
waitingBlockId: string | null
|
|
createdByUserId: string | null
|
|
appliesToAllTenants: boolean | null
|
|
}
|
|
|
|
export type WorkflowExecutionCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
workflowId: number
|
|
tenantId: number
|
|
type: number
|
|
status: number
|
|
input: number
|
|
output: number
|
|
duration: number
|
|
endedAt: number
|
|
error: number
|
|
waitingBlockId: number
|
|
createdByUserId: number
|
|
appliesToAllTenants: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type WorkflowExecutionAvgAggregateInputType = {
|
|
duration?: true
|
|
}
|
|
|
|
export type WorkflowExecutionSumAggregateInputType = {
|
|
duration?: true
|
|
}
|
|
|
|
export type WorkflowExecutionMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
workflowId?: true
|
|
tenantId?: true
|
|
type?: true
|
|
status?: true
|
|
input?: true
|
|
output?: true
|
|
duration?: true
|
|
endedAt?: true
|
|
error?: true
|
|
waitingBlockId?: true
|
|
createdByUserId?: true
|
|
appliesToAllTenants?: true
|
|
}
|
|
|
|
export type WorkflowExecutionMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
workflowId?: true
|
|
tenantId?: true
|
|
type?: true
|
|
status?: true
|
|
input?: true
|
|
output?: true
|
|
duration?: true
|
|
endedAt?: true
|
|
error?: true
|
|
waitingBlockId?: true
|
|
createdByUserId?: true
|
|
appliesToAllTenants?: true
|
|
}
|
|
|
|
export type WorkflowExecutionCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
workflowId?: true
|
|
tenantId?: true
|
|
type?: true
|
|
status?: true
|
|
input?: true
|
|
output?: true
|
|
duration?: true
|
|
endedAt?: true
|
|
error?: true
|
|
waitingBlockId?: true
|
|
createdByUserId?: true
|
|
appliesToAllTenants?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type WorkflowExecutionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkflowExecution to aggregate.
|
|
*/
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowExecutions to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowExecutionOrderByWithRelationInput | Prisma.WorkflowExecutionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.WorkflowExecutionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowExecutions 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` WorkflowExecutions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned WorkflowExecutions
|
|
**/
|
|
_count?: true | WorkflowExecutionCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: WorkflowExecutionAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: WorkflowExecutionSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: WorkflowExecutionMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: WorkflowExecutionMaxAggregateInputType
|
|
}
|
|
|
|
export type GetWorkflowExecutionAggregateType<T extends WorkflowExecutionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateWorkflowExecution]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflowExecution[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflowExecution[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type WorkflowExecutionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
orderBy?: Prisma.WorkflowExecutionOrderByWithAggregationInput | Prisma.WorkflowExecutionOrderByWithAggregationInput[]
|
|
by: Prisma.WorkflowExecutionScalarFieldEnum[] | Prisma.WorkflowExecutionScalarFieldEnum
|
|
having?: Prisma.WorkflowExecutionScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: WorkflowExecutionCountAggregateInputType | true
|
|
_avg?: WorkflowExecutionAvgAggregateInputType
|
|
_sum?: WorkflowExecutionSumAggregateInputType
|
|
_min?: WorkflowExecutionMinAggregateInputType
|
|
_max?: WorkflowExecutionMaxAggregateInputType
|
|
}
|
|
|
|
export type WorkflowExecutionGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
workflowId: string
|
|
tenantId: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output: string | null
|
|
duration: number | null
|
|
endedAt: Date | null
|
|
error: string | null
|
|
waitingBlockId: string | null
|
|
createdByUserId: string | null
|
|
appliesToAllTenants: boolean
|
|
_count: WorkflowExecutionCountAggregateOutputType | null
|
|
_avg: WorkflowExecutionAvgAggregateOutputType | null
|
|
_sum: WorkflowExecutionSumAggregateOutputType | null
|
|
_min: WorkflowExecutionMinAggregateOutputType | null
|
|
_max: WorkflowExecutionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetWorkflowExecutionGroupByPayload<T extends WorkflowExecutionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<WorkflowExecutionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof WorkflowExecutionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], WorkflowExecutionGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], WorkflowExecutionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type WorkflowExecutionWhereInput = {
|
|
AND?: Prisma.WorkflowExecutionWhereInput | Prisma.WorkflowExecutionWhereInput[]
|
|
OR?: Prisma.WorkflowExecutionWhereInput[]
|
|
NOT?: Prisma.WorkflowExecutionWhereInput | Prisma.WorkflowExecutionWhereInput[]
|
|
id?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"WorkflowExecution"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkflowExecution"> | Date | string
|
|
workflowId?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
tenantId?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
type?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
status?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
input?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
output?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
duration?: Prisma.IntNullableFilter<"WorkflowExecution"> | number | null
|
|
endedAt?: Prisma.DateTimeNullableFilter<"WorkflowExecution"> | Date | string | null
|
|
error?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
waitingBlockId?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
createdByUserId?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
appliesToAllTenants?: Prisma.BoolFilter<"WorkflowExecution"> | boolean
|
|
workflow?: Prisma.XOR<Prisma.WorkflowScalarRelationFilter, Prisma.WorkflowWhereInput>
|
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
waitingBlock?: Prisma.XOR<Prisma.WorkflowBlockNullableScalarRelationFilter, Prisma.WorkflowBlockWhereInput> | null
|
|
createdByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
blockRuns?: Prisma.WorkflowBlockExecutionListRelationFilter
|
|
}
|
|
|
|
export type WorkflowExecutionOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
workflowId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
output?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
duration?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
waitingBlockId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
appliesToAllTenants?: Prisma.SortOrder
|
|
workflow?: Prisma.WorkflowOrderByWithRelationInput
|
|
tenant?: Prisma.TenantOrderByWithRelationInput
|
|
waitingBlock?: Prisma.WorkflowBlockOrderByWithRelationInput
|
|
createdByUser?: Prisma.UserOrderByWithRelationInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type WorkflowExecutionWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.WorkflowExecutionWhereInput | Prisma.WorkflowExecutionWhereInput[]
|
|
OR?: Prisma.WorkflowExecutionWhereInput[]
|
|
NOT?: Prisma.WorkflowExecutionWhereInput | Prisma.WorkflowExecutionWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"WorkflowExecution"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkflowExecution"> | Date | string
|
|
workflowId?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
tenantId?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
type?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
status?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
input?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
output?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
duration?: Prisma.IntNullableFilter<"WorkflowExecution"> | number | null
|
|
endedAt?: Prisma.DateTimeNullableFilter<"WorkflowExecution"> | Date | string | null
|
|
error?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
waitingBlockId?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
createdByUserId?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
appliesToAllTenants?: Prisma.BoolFilter<"WorkflowExecution"> | boolean
|
|
workflow?: Prisma.XOR<Prisma.WorkflowScalarRelationFilter, Prisma.WorkflowWhereInput>
|
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
waitingBlock?: Prisma.XOR<Prisma.WorkflowBlockNullableScalarRelationFilter, Prisma.WorkflowBlockWhereInput> | null
|
|
createdByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
blockRuns?: Prisma.WorkflowBlockExecutionListRelationFilter
|
|
}, "id">
|
|
|
|
export type WorkflowExecutionOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
workflowId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
output?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
duration?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
waitingBlockId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
appliesToAllTenants?: Prisma.SortOrder
|
|
_count?: Prisma.WorkflowExecutionCountOrderByAggregateInput
|
|
_avg?: Prisma.WorkflowExecutionAvgOrderByAggregateInput
|
|
_max?: Prisma.WorkflowExecutionMaxOrderByAggregateInput
|
|
_min?: Prisma.WorkflowExecutionMinOrderByAggregateInput
|
|
_sum?: Prisma.WorkflowExecutionSumOrderByAggregateInput
|
|
}
|
|
|
|
export type WorkflowExecutionScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.WorkflowExecutionScalarWhereWithAggregatesInput | Prisma.WorkflowExecutionScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.WorkflowExecutionScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.WorkflowExecutionScalarWhereWithAggregatesInput | Prisma.WorkflowExecutionScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"WorkflowExecution"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowExecution"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowExecution"> | Date | string
|
|
workflowId?: Prisma.StringWithAggregatesFilter<"WorkflowExecution"> | string
|
|
tenantId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowExecution"> | string | null
|
|
type?: Prisma.StringWithAggregatesFilter<"WorkflowExecution"> | string
|
|
status?: Prisma.StringWithAggregatesFilter<"WorkflowExecution"> | string
|
|
input?: Prisma.StringWithAggregatesFilter<"WorkflowExecution"> | string
|
|
output?: Prisma.StringNullableWithAggregatesFilter<"WorkflowExecution"> | string | null
|
|
duration?: Prisma.IntNullableWithAggregatesFilter<"WorkflowExecution"> | number | null
|
|
endedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"WorkflowExecution"> | Date | string | null
|
|
error?: Prisma.StringNullableWithAggregatesFilter<"WorkflowExecution"> | string | null
|
|
waitingBlockId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowExecution"> | string | null
|
|
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowExecution"> | string | null
|
|
appliesToAllTenants?: Prisma.BoolWithAggregatesFilter<"WorkflowExecution"> | boolean
|
|
}
|
|
|
|
export type WorkflowExecutionCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
appliesToAllTenants?: boolean
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutExecutionsInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowExecutionsInput
|
|
waitingBlock?: Prisma.WorkflowBlockCreateNestedOneWithoutWaitingInExecutionsInput
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowsExecutedInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowExecutionInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
workflowId: string
|
|
tenantId?: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
waitingBlockId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowExecutionInput
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutExecutionsNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowExecutionsNestedInput
|
|
waitingBlock?: Prisma.WorkflowBlockUpdateOneWithoutWaitingInExecutionsNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowsExecutedNestedInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowExecutionNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
waitingBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowExecutionNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
workflowId: string
|
|
tenantId?: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
waitingBlockId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
waitingBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type WorkflowExecutionListRelationFilter = {
|
|
every?: Prisma.WorkflowExecutionWhereInput
|
|
some?: Prisma.WorkflowExecutionWhereInput
|
|
none?: Prisma.WorkflowExecutionWhereInput
|
|
}
|
|
|
|
export type WorkflowExecutionOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowExecutionCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
workflowId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
output?: Prisma.SortOrder
|
|
duration?: Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
waitingBlockId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
appliesToAllTenants?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowExecutionAvgOrderByAggregateInput = {
|
|
duration?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowExecutionMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
workflowId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
output?: Prisma.SortOrder
|
|
duration?: Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
waitingBlockId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
appliesToAllTenants?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowExecutionMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
workflowId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
output?: Prisma.SortOrder
|
|
duration?: Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
waitingBlockId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
appliesToAllTenants?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowExecutionSumOrderByAggregateInput = {
|
|
duration?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowExecutionScalarRelationFilter = {
|
|
is?: Prisma.WorkflowExecutionWhereInput
|
|
isNot?: Prisma.WorkflowExecutionWhereInput
|
|
}
|
|
|
|
export type WorkflowExecutionCreateNestedManyWithoutCreatedByUserInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutCreatedByUserInput, Prisma.WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowExecutionCreateWithoutCreatedByUserInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowExecutionCreateOrConnectWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyCreatedByUserInputEnvelope
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedCreateNestedManyWithoutCreatedByUserInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutCreatedByUserInput, Prisma.WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowExecutionCreateWithoutCreatedByUserInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowExecutionCreateOrConnectWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyCreatedByUserInputEnvelope
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateManyWithoutCreatedByUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutCreatedByUserInput, Prisma.WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowExecutionCreateWithoutCreatedByUserInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowExecutionCreateOrConnectWithoutCreatedByUserInput[]
|
|
upsert?: Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyCreatedByUserInputEnvelope
|
|
set?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
update?: Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutCreatedByUserInput[]
|
|
updateMany?: Prisma.WorkflowExecutionUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.WorkflowExecutionUpdateManyWithWhereWithoutCreatedByUserInput[]
|
|
deleteMany?: Prisma.WorkflowExecutionScalarWhereInput | Prisma.WorkflowExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateManyWithoutCreatedByUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutCreatedByUserInput, Prisma.WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowExecutionCreateWithoutCreatedByUserInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowExecutionCreateOrConnectWithoutCreatedByUserInput[]
|
|
upsert?: Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyCreatedByUserInputEnvelope
|
|
set?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
update?: Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutCreatedByUserInput[]
|
|
updateMany?: Prisma.WorkflowExecutionUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.WorkflowExecutionUpdateManyWithWhereWithoutCreatedByUserInput[]
|
|
deleteMany?: Prisma.WorkflowExecutionScalarWhereInput | Prisma.WorkflowExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutTenantInput, Prisma.WorkflowExecutionUncheckedCreateWithoutTenantInput> | Prisma.WorkflowExecutionCreateWithoutTenantInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutTenantInput | Prisma.WorkflowExecutionCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyTenantInputEnvelope
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutTenantInput, Prisma.WorkflowExecutionUncheckedCreateWithoutTenantInput> | Prisma.WorkflowExecutionCreateWithoutTenantInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutTenantInput | Prisma.WorkflowExecutionCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyTenantInputEnvelope
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutTenantInput, Prisma.WorkflowExecutionUncheckedCreateWithoutTenantInput> | Prisma.WorkflowExecutionCreateWithoutTenantInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutTenantInput | Prisma.WorkflowExecutionCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutTenantInput | Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyTenantInputEnvelope
|
|
set?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
update?: Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutTenantInput | Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.WorkflowExecutionUpdateManyWithWhereWithoutTenantInput | Prisma.WorkflowExecutionUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.WorkflowExecutionScalarWhereInput | Prisma.WorkflowExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutTenantInput, Prisma.WorkflowExecutionUncheckedCreateWithoutTenantInput> | Prisma.WorkflowExecutionCreateWithoutTenantInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutTenantInput | Prisma.WorkflowExecutionCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutTenantInput | Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyTenantInputEnvelope
|
|
set?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
update?: Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutTenantInput | Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.WorkflowExecutionUpdateManyWithWhereWithoutTenantInput | Prisma.WorkflowExecutionUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.WorkflowExecutionScalarWhereInput | Prisma.WorkflowExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionCreateNestedManyWithoutWorkflowInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWorkflowInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWorkflowInput> | Prisma.WorkflowExecutionCreateWithoutWorkflowInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutWorkflowInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowExecutionCreateOrConnectWithoutWorkflowInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyWorkflowInputEnvelope
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedCreateNestedManyWithoutWorkflowInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWorkflowInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWorkflowInput> | Prisma.WorkflowExecutionCreateWithoutWorkflowInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutWorkflowInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowExecutionCreateOrConnectWithoutWorkflowInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyWorkflowInputEnvelope
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateManyWithoutWorkflowNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWorkflowInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWorkflowInput> | Prisma.WorkflowExecutionCreateWithoutWorkflowInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutWorkflowInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowExecutionCreateOrConnectWithoutWorkflowInput[]
|
|
upsert?: Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutWorkflowInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyWorkflowInputEnvelope
|
|
set?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
update?: Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutWorkflowInput[]
|
|
updateMany?: Prisma.WorkflowExecutionUpdateManyWithWhereWithoutWorkflowInput | Prisma.WorkflowExecutionUpdateManyWithWhereWithoutWorkflowInput[]
|
|
deleteMany?: Prisma.WorkflowExecutionScalarWhereInput | Prisma.WorkflowExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateManyWithoutWorkflowNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWorkflowInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWorkflowInput> | Prisma.WorkflowExecutionCreateWithoutWorkflowInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutWorkflowInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowExecutionCreateOrConnectWithoutWorkflowInput[]
|
|
upsert?: Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutWorkflowInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyWorkflowInputEnvelope
|
|
set?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
update?: Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutWorkflowInput[]
|
|
updateMany?: Prisma.WorkflowExecutionUpdateManyWithWhereWithoutWorkflowInput | Prisma.WorkflowExecutionUpdateManyWithWhereWithoutWorkflowInput[]
|
|
deleteMany?: Prisma.WorkflowExecutionScalarWhereInput | Prisma.WorkflowExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWaitingBlockInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput> | Prisma.WorkflowExecutionCreateWithoutWaitingBlockInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutWaitingBlockInput | Prisma.WorkflowExecutionCreateOrConnectWithoutWaitingBlockInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyWaitingBlockInputEnvelope
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWaitingBlockInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput> | Prisma.WorkflowExecutionCreateWithoutWaitingBlockInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutWaitingBlockInput | Prisma.WorkflowExecutionCreateOrConnectWithoutWaitingBlockInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyWaitingBlockInputEnvelope
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWaitingBlockInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput> | Prisma.WorkflowExecutionCreateWithoutWaitingBlockInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutWaitingBlockInput | Prisma.WorkflowExecutionCreateOrConnectWithoutWaitingBlockInput[]
|
|
upsert?: Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutWaitingBlockInput | Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutWaitingBlockInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyWaitingBlockInputEnvelope
|
|
set?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
update?: Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutWaitingBlockInput | Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutWaitingBlockInput[]
|
|
updateMany?: Prisma.WorkflowExecutionUpdateManyWithWhereWithoutWaitingBlockInput | Prisma.WorkflowExecutionUpdateManyWithWhereWithoutWaitingBlockInput[]
|
|
deleteMany?: Prisma.WorkflowExecutionScalarWhereInput | Prisma.WorkflowExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWaitingBlockInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput> | Prisma.WorkflowExecutionCreateWithoutWaitingBlockInput[] | Prisma.WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput[]
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutWaitingBlockInput | Prisma.WorkflowExecutionCreateOrConnectWithoutWaitingBlockInput[]
|
|
upsert?: Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutWaitingBlockInput | Prisma.WorkflowExecutionUpsertWithWhereUniqueWithoutWaitingBlockInput[]
|
|
createMany?: Prisma.WorkflowExecutionCreateManyWaitingBlockInputEnvelope
|
|
set?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput | Prisma.WorkflowExecutionWhereUniqueInput[]
|
|
update?: Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutWaitingBlockInput | Prisma.WorkflowExecutionUpdateWithWhereUniqueWithoutWaitingBlockInput[]
|
|
updateMany?: Prisma.WorkflowExecutionUpdateManyWithWhereWithoutWaitingBlockInput | Prisma.WorkflowExecutionUpdateManyWithWhereWithoutWaitingBlockInput[]
|
|
deleteMany?: Prisma.WorkflowExecutionScalarWhereInput | Prisma.WorkflowExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowExecutionCreateNestedOneWithoutBlockRunsInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutBlockRunsInput, Prisma.WorkflowExecutionUncheckedCreateWithoutBlockRunsInput>
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutBlockRunsInput
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateOneRequiredWithoutBlockRunsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutBlockRunsInput, Prisma.WorkflowExecutionUncheckedCreateWithoutBlockRunsInput>
|
|
connectOrCreate?: Prisma.WorkflowExecutionCreateOrConnectWithoutBlockRunsInput
|
|
upsert?: Prisma.WorkflowExecutionUpsertWithoutBlockRunsInput
|
|
connect?: Prisma.WorkflowExecutionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowExecutionUpdateToOneWithWhereWithoutBlockRunsInput, Prisma.WorkflowExecutionUpdateWithoutBlockRunsInput>, Prisma.WorkflowExecutionUncheckedUpdateWithoutBlockRunsInput>
|
|
}
|
|
|
|
export type WorkflowExecutionCreateWithoutCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
appliesToAllTenants?: boolean
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutExecutionsInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowExecutionsInput
|
|
waitingBlock?: Prisma.WorkflowBlockCreateNestedOneWithoutWaitingInExecutionsInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowExecutionInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
workflowId: string
|
|
tenantId?: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
waitingBlockId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowExecutionInput
|
|
}
|
|
|
|
export type WorkflowExecutionCreateOrConnectWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutCreatedByUserInput, Prisma.WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowExecutionCreateManyCreatedByUserInputEnvelope = {
|
|
data: Prisma.WorkflowExecutionCreateManyCreatedByUserInput | Prisma.WorkflowExecutionCreateManyCreatedByUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionUpsertWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowExecutionUpdateWithoutCreatedByUserInput, Prisma.WorkflowExecutionUncheckedUpdateWithoutCreatedByUserInput>
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutCreatedByUserInput, Prisma.WorkflowExecutionUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateWithoutCreatedByUserInput, Prisma.WorkflowExecutionUncheckedUpdateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateManyWithWhereWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowExecutionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateManyMutationInput, Prisma.WorkflowExecutionUncheckedUpdateManyWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowExecutionScalarWhereInput = {
|
|
AND?: Prisma.WorkflowExecutionScalarWhereInput | Prisma.WorkflowExecutionScalarWhereInput[]
|
|
OR?: Prisma.WorkflowExecutionScalarWhereInput[]
|
|
NOT?: Prisma.WorkflowExecutionScalarWhereInput | Prisma.WorkflowExecutionScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"WorkflowExecution"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkflowExecution"> | Date | string
|
|
workflowId?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
tenantId?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
type?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
status?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
input?: Prisma.StringFilter<"WorkflowExecution"> | string
|
|
output?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
duration?: Prisma.IntNullableFilter<"WorkflowExecution"> | number | null
|
|
endedAt?: Prisma.DateTimeNullableFilter<"WorkflowExecution"> | Date | string | null
|
|
error?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
waitingBlockId?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
createdByUserId?: Prisma.StringNullableFilter<"WorkflowExecution"> | string | null
|
|
appliesToAllTenants?: Prisma.BoolFilter<"WorkflowExecution"> | boolean
|
|
}
|
|
|
|
export type WorkflowExecutionCreateWithoutTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
appliesToAllTenants?: boolean
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutExecutionsInput
|
|
waitingBlock?: Prisma.WorkflowBlockCreateNestedOneWithoutWaitingInExecutionsInput
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowsExecutedInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowExecutionInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedCreateWithoutTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
workflowId: string
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
waitingBlockId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowExecutionInput
|
|
}
|
|
|
|
export type WorkflowExecutionCreateOrConnectWithoutTenantInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutTenantInput, Prisma.WorkflowExecutionUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowExecutionCreateManyTenantInputEnvelope = {
|
|
data: Prisma.WorkflowExecutionCreateManyTenantInput | Prisma.WorkflowExecutionCreateManyTenantInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionUpsertWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowExecutionUpdateWithoutTenantInput, Prisma.WorkflowExecutionUncheckedUpdateWithoutTenantInput>
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutTenantInput, Prisma.WorkflowExecutionUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateWithoutTenantInput, Prisma.WorkflowExecutionUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateManyWithWhereWithoutTenantInput = {
|
|
where: Prisma.WorkflowExecutionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateManyMutationInput, Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowExecutionCreateWithoutWorkflowInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
appliesToAllTenants?: boolean
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowExecutionsInput
|
|
waitingBlock?: Prisma.WorkflowBlockCreateNestedOneWithoutWaitingInExecutionsInput
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowsExecutedInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowExecutionInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedCreateWithoutWorkflowInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId?: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
waitingBlockId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowExecutionInput
|
|
}
|
|
|
|
export type WorkflowExecutionCreateOrConnectWithoutWorkflowInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWorkflowInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWorkflowInput>
|
|
}
|
|
|
|
export type WorkflowExecutionCreateManyWorkflowInputEnvelope = {
|
|
data: Prisma.WorkflowExecutionCreateManyWorkflowInput | Prisma.WorkflowExecutionCreateManyWorkflowInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionUpsertWithWhereUniqueWithoutWorkflowInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowExecutionUpdateWithoutWorkflowInput, Prisma.WorkflowExecutionUncheckedUpdateWithoutWorkflowInput>
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWorkflowInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWorkflowInput>
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateWithWhereUniqueWithoutWorkflowInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateWithoutWorkflowInput, Prisma.WorkflowExecutionUncheckedUpdateWithoutWorkflowInput>
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateManyWithWhereWithoutWorkflowInput = {
|
|
where: Prisma.WorkflowExecutionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateManyMutationInput, Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWorkflowInput>
|
|
}
|
|
|
|
export type WorkflowExecutionCreateWithoutWaitingBlockInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
appliesToAllTenants?: boolean
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutExecutionsInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowExecutionsInput
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowsExecutedInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowExecutionInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
workflowId: string
|
|
tenantId?: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowExecutionInput
|
|
}
|
|
|
|
export type WorkflowExecutionCreateOrConnectWithoutWaitingBlockInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWaitingBlockInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput>
|
|
}
|
|
|
|
export type WorkflowExecutionCreateManyWaitingBlockInputEnvelope = {
|
|
data: Prisma.WorkflowExecutionCreateManyWaitingBlockInput | Prisma.WorkflowExecutionCreateManyWaitingBlockInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionUpsertWithWhereUniqueWithoutWaitingBlockInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowExecutionUpdateWithoutWaitingBlockInput, Prisma.WorkflowExecutionUncheckedUpdateWithoutWaitingBlockInput>
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutWaitingBlockInput, Prisma.WorkflowExecutionUncheckedCreateWithoutWaitingBlockInput>
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateWithWhereUniqueWithoutWaitingBlockInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateWithoutWaitingBlockInput, Prisma.WorkflowExecutionUncheckedUpdateWithoutWaitingBlockInput>
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateManyWithWhereWithoutWaitingBlockInput = {
|
|
where: Prisma.WorkflowExecutionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateManyMutationInput, Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockInput>
|
|
}
|
|
|
|
export type WorkflowExecutionCreateWithoutBlockRunsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
appliesToAllTenants?: boolean
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutExecutionsInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowExecutionsInput
|
|
waitingBlock?: Prisma.WorkflowBlockCreateNestedOneWithoutWaitingInExecutionsInput
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowsExecutedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedCreateWithoutBlockRunsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
workflowId: string
|
|
tenantId?: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
waitingBlockId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionCreateOrConnectWithoutBlockRunsInput = {
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutBlockRunsInput, Prisma.WorkflowExecutionUncheckedCreateWithoutBlockRunsInput>
|
|
}
|
|
|
|
export type WorkflowExecutionUpsertWithoutBlockRunsInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowExecutionUpdateWithoutBlockRunsInput, Prisma.WorkflowExecutionUncheckedUpdateWithoutBlockRunsInput>
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateWithoutBlockRunsInput, Prisma.WorkflowExecutionUncheckedCreateWithoutBlockRunsInput>
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateToOneWithWhereWithoutBlockRunsInput = {
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateWithoutBlockRunsInput, Prisma.WorkflowExecutionUncheckedUpdateWithoutBlockRunsInput>
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateWithoutBlockRunsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutExecutionsNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowExecutionsNestedInput
|
|
waitingBlock?: Prisma.WorkflowBlockUpdateOneWithoutWaitingInExecutionsNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowsExecutedNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateWithoutBlockRunsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
waitingBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type WorkflowExecutionCreateManyCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
workflowId: string
|
|
tenantId?: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
waitingBlockId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutExecutionsNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowExecutionsNestedInput
|
|
waitingBlock?: Prisma.WorkflowBlockUpdateOneWithoutWaitingInExecutionsNestedInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowExecutionNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
waitingBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowExecutionNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateManyWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
waitingBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type WorkflowExecutionCreateManyTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
workflowId: string
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
waitingBlockId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutExecutionsNestedInput
|
|
waitingBlock?: Prisma.WorkflowBlockUpdateOneWithoutWaitingInExecutionsNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowsExecutedNestedInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowExecutionNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
waitingBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowExecutionNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateManyWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
waitingBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type WorkflowExecutionCreateManyWorkflowInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId?: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
waitingBlockId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateWithoutWorkflowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowExecutionsNestedInput
|
|
waitingBlock?: Prisma.WorkflowBlockUpdateOneWithoutWaitingInExecutionsNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowsExecutedNestedInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowExecutionNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateWithoutWorkflowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
waitingBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowExecutionNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateManyWithoutWorkflowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
waitingBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type WorkflowExecutionCreateManyWaitingBlockInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
workflowId: string
|
|
tenantId?: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output?: string | null
|
|
duration?: number | null
|
|
endedAt?: Date | string | null
|
|
error?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionUpdateWithoutWaitingBlockInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutExecutionsNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowExecutionsNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowsExecutedNestedInput
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowExecutionNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateWithoutWaitingBlockInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
blockRuns?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowExecutionNestedInput
|
|
}
|
|
|
|
export type WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type WorkflowExecutionCountOutputType
|
|
*/
|
|
|
|
export type WorkflowExecutionCountOutputType = {
|
|
blockRuns: number
|
|
}
|
|
|
|
export type WorkflowExecutionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
blockRuns?: boolean | WorkflowExecutionCountOutputTypeCountBlockRunsArgs
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecutionCountOutputType without action
|
|
*/
|
|
export type WorkflowExecutionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecutionCountOutputType
|
|
*/
|
|
select?: Prisma.WorkflowExecutionCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecutionCountOutputType without action
|
|
*/
|
|
export type WorkflowExecutionCountOutputTypeCountBlockRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowBlockExecutionWhereInput
|
|
}
|
|
|
|
|
|
export type WorkflowExecutionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
workflowId?: boolean
|
|
tenantId?: boolean
|
|
type?: boolean
|
|
status?: boolean
|
|
input?: boolean
|
|
output?: boolean
|
|
duration?: boolean
|
|
endedAt?: boolean
|
|
error?: boolean
|
|
waitingBlockId?: boolean
|
|
createdByUserId?: boolean
|
|
appliesToAllTenants?: boolean
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.WorkflowExecution$tenantArgs<ExtArgs>
|
|
waitingBlock?: boolean | Prisma.WorkflowExecution$waitingBlockArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowExecution$createdByUserArgs<ExtArgs>
|
|
blockRuns?: boolean | Prisma.WorkflowExecution$blockRunsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.WorkflowExecutionCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowExecution"]>
|
|
|
|
export type WorkflowExecutionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
workflowId?: boolean
|
|
tenantId?: boolean
|
|
type?: boolean
|
|
status?: boolean
|
|
input?: boolean
|
|
output?: boolean
|
|
duration?: boolean
|
|
endedAt?: boolean
|
|
error?: boolean
|
|
waitingBlockId?: boolean
|
|
createdByUserId?: boolean
|
|
appliesToAllTenants?: boolean
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.WorkflowExecution$tenantArgs<ExtArgs>
|
|
waitingBlock?: boolean | Prisma.WorkflowExecution$waitingBlockArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowExecution$createdByUserArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowExecution"]>
|
|
|
|
export type WorkflowExecutionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
workflowId?: boolean
|
|
tenantId?: boolean
|
|
type?: boolean
|
|
status?: boolean
|
|
input?: boolean
|
|
output?: boolean
|
|
duration?: boolean
|
|
endedAt?: boolean
|
|
error?: boolean
|
|
waitingBlockId?: boolean
|
|
createdByUserId?: boolean
|
|
appliesToAllTenants?: boolean
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.WorkflowExecution$tenantArgs<ExtArgs>
|
|
waitingBlock?: boolean | Prisma.WorkflowExecution$waitingBlockArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowExecution$createdByUserArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowExecution"]>
|
|
|
|
export type WorkflowExecutionSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
workflowId?: boolean
|
|
tenantId?: boolean
|
|
type?: boolean
|
|
status?: boolean
|
|
input?: boolean
|
|
output?: boolean
|
|
duration?: boolean
|
|
endedAt?: boolean
|
|
error?: boolean
|
|
waitingBlockId?: boolean
|
|
createdByUserId?: boolean
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowExecutionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "workflowId" | "tenantId" | "type" | "status" | "input" | "output" | "duration" | "endedAt" | "error" | "waitingBlockId" | "createdByUserId" | "appliesToAllTenants", ExtArgs["result"]["workflowExecution"]>
|
|
export type WorkflowExecutionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.WorkflowExecution$tenantArgs<ExtArgs>
|
|
waitingBlock?: boolean | Prisma.WorkflowExecution$waitingBlockArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowExecution$createdByUserArgs<ExtArgs>
|
|
blockRuns?: boolean | Prisma.WorkflowExecution$blockRunsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.WorkflowExecutionCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type WorkflowExecutionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.WorkflowExecution$tenantArgs<ExtArgs>
|
|
waitingBlock?: boolean | Prisma.WorkflowExecution$waitingBlockArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowExecution$createdByUserArgs<ExtArgs>
|
|
}
|
|
export type WorkflowExecutionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.WorkflowExecution$tenantArgs<ExtArgs>
|
|
waitingBlock?: boolean | Prisma.WorkflowExecution$waitingBlockArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowExecution$createdByUserArgs<ExtArgs>
|
|
}
|
|
|
|
export type $WorkflowExecutionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "WorkflowExecution"
|
|
objects: {
|
|
workflow: Prisma.$WorkflowPayload<ExtArgs>
|
|
tenant: Prisma.$TenantPayload<ExtArgs> | null
|
|
waitingBlock: Prisma.$WorkflowBlockPayload<ExtArgs> | null
|
|
createdByUser: Prisma.$UserPayload<ExtArgs> | null
|
|
blockRuns: Prisma.$WorkflowBlockExecutionPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
workflowId: string
|
|
tenantId: string | null
|
|
type: string
|
|
status: string
|
|
input: string
|
|
output: string | null
|
|
duration: number | null
|
|
endedAt: Date | null
|
|
error: string | null
|
|
waitingBlockId: string | null
|
|
createdByUserId: string | null
|
|
appliesToAllTenants: boolean
|
|
}, ExtArgs["result"]["workflowExecution"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type WorkflowExecutionGetPayload<S extends boolean | null | undefined | WorkflowExecutionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload, S>
|
|
|
|
export type WorkflowExecutionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<WorkflowExecutionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: WorkflowExecutionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface WorkflowExecutionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkflowExecution'], meta: { name: 'WorkflowExecution' } }
|
|
/**
|
|
* Find zero or one WorkflowExecution that matches the filter.
|
|
* @param {WorkflowExecutionFindUniqueArgs} args - Arguments to find a WorkflowExecution
|
|
* @example
|
|
* // Get one WorkflowExecution
|
|
* const workflowExecution = await prisma.workflowExecution.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends WorkflowExecutionFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkflowExecutionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkflowExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one WorkflowExecution that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {WorkflowExecutionFindUniqueOrThrowArgs} args - Arguments to find a WorkflowExecution
|
|
* @example
|
|
* // Get one WorkflowExecution
|
|
* const workflowExecution = await prisma.workflowExecution.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends WorkflowExecutionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkflowExecutionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first WorkflowExecution 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 {WorkflowExecutionFindFirstArgs} args - Arguments to find a WorkflowExecution
|
|
* @example
|
|
* // Get one WorkflowExecution
|
|
* const workflowExecution = await prisma.workflowExecution.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends WorkflowExecutionFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkflowExecutionFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkflowExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first WorkflowExecution 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 {WorkflowExecutionFindFirstOrThrowArgs} args - Arguments to find a WorkflowExecution
|
|
* @example
|
|
* // Get one WorkflowExecution
|
|
* const workflowExecution = await prisma.workflowExecution.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends WorkflowExecutionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkflowExecutionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more WorkflowExecutions 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 {WorkflowExecutionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all WorkflowExecutions
|
|
* const workflowExecutions = await prisma.workflowExecution.findMany()
|
|
*
|
|
* // Get first 10 WorkflowExecutions
|
|
* const workflowExecutions = await prisma.workflowExecution.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const workflowExecutionWithIdOnly = await prisma.workflowExecution.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends WorkflowExecutionFindManyArgs>(args?: Prisma.SelectSubset<T, WorkflowExecutionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a WorkflowExecution.
|
|
* @param {WorkflowExecutionCreateArgs} args - Arguments to create a WorkflowExecution.
|
|
* @example
|
|
* // Create one WorkflowExecution
|
|
* const WorkflowExecution = await prisma.workflowExecution.create({
|
|
* data: {
|
|
* // ... data to create a WorkflowExecution
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends WorkflowExecutionCreateArgs>(args: Prisma.SelectSubset<T, WorkflowExecutionCreateArgs<ExtArgs>>): Prisma.Prisma__WorkflowExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many WorkflowExecutions.
|
|
* @param {WorkflowExecutionCreateManyArgs} args - Arguments to create many WorkflowExecutions.
|
|
* @example
|
|
* // Create many WorkflowExecutions
|
|
* const workflowExecution = await prisma.workflowExecution.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends WorkflowExecutionCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkflowExecutionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many WorkflowExecutions and returns the data saved in the database.
|
|
* @param {WorkflowExecutionCreateManyAndReturnArgs} args - Arguments to create many WorkflowExecutions.
|
|
* @example
|
|
* // Create many WorkflowExecutions
|
|
* const workflowExecution = await prisma.workflowExecution.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many WorkflowExecutions and only return the `id`
|
|
* const workflowExecutionWithIdOnly = await prisma.workflowExecution.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 WorkflowExecutionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkflowExecutionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a WorkflowExecution.
|
|
* @param {WorkflowExecutionDeleteArgs} args - Arguments to delete one WorkflowExecution.
|
|
* @example
|
|
* // Delete one WorkflowExecution
|
|
* const WorkflowExecution = await prisma.workflowExecution.delete({
|
|
* where: {
|
|
* // ... filter to delete one WorkflowExecution
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends WorkflowExecutionDeleteArgs>(args: Prisma.SelectSubset<T, WorkflowExecutionDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkflowExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one WorkflowExecution.
|
|
* @param {WorkflowExecutionUpdateArgs} args - Arguments to update one WorkflowExecution.
|
|
* @example
|
|
* // Update one WorkflowExecution
|
|
* const workflowExecution = await prisma.workflowExecution.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends WorkflowExecutionUpdateArgs>(args: Prisma.SelectSubset<T, WorkflowExecutionUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkflowExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more WorkflowExecutions.
|
|
* @param {WorkflowExecutionDeleteManyArgs} args - Arguments to filter WorkflowExecutions to delete.
|
|
* @example
|
|
* // Delete a few WorkflowExecutions
|
|
* const { count } = await prisma.workflowExecution.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends WorkflowExecutionDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkflowExecutionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more WorkflowExecutions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowExecutionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many WorkflowExecutions
|
|
* const workflowExecution = await prisma.workflowExecution.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends WorkflowExecutionUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkflowExecutionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more WorkflowExecutions and returns the data updated in the database.
|
|
* @param {WorkflowExecutionUpdateManyAndReturnArgs} args - Arguments to update many WorkflowExecutions.
|
|
* @example
|
|
* // Update many WorkflowExecutions
|
|
* const workflowExecution = await prisma.workflowExecution.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more WorkflowExecutions and only return the `id`
|
|
* const workflowExecutionWithIdOnly = await prisma.workflowExecution.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 WorkflowExecutionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkflowExecutionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one WorkflowExecution.
|
|
* @param {WorkflowExecutionUpsertArgs} args - Arguments to update or create a WorkflowExecution.
|
|
* @example
|
|
* // Update or create a WorkflowExecution
|
|
* const workflowExecution = await prisma.workflowExecution.upsert({
|
|
* create: {
|
|
* // ... data to create a WorkflowExecution
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the WorkflowExecution we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends WorkflowExecutionUpsertArgs>(args: Prisma.SelectSubset<T, WorkflowExecutionUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkflowExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of WorkflowExecutions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowExecutionCountArgs} args - Arguments to filter WorkflowExecutions to count.
|
|
* @example
|
|
* // Count the number of WorkflowExecutions
|
|
* const count = await prisma.workflowExecution.count({
|
|
* where: {
|
|
* // ... the filter for the WorkflowExecutions we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends WorkflowExecutionCountArgs>(
|
|
args?: Prisma.Subset<T, WorkflowExecutionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], WorkflowExecutionCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a WorkflowExecution.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowExecutionAggregateArgs} 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 WorkflowExecutionAggregateArgs>(args: Prisma.Subset<T, WorkflowExecutionAggregateArgs>): Prisma.PrismaPromise<GetWorkflowExecutionAggregateType<T>>
|
|
|
|
/**
|
|
* Group by WorkflowExecution.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowExecutionGroupByArgs} 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 WorkflowExecutionGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: WorkflowExecutionGroupByArgs['orderBy'] }
|
|
: { orderBy?: WorkflowExecutionGroupByArgs['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, WorkflowExecutionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowExecutionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the WorkflowExecution model
|
|
*/
|
|
readonly fields: WorkflowExecutionFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for WorkflowExecution.
|
|
* 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__WorkflowExecutionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
workflow<T extends Prisma.WorkflowDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkflowClient<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
tenant<T extends Prisma.WorkflowExecution$tenantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowExecution$tenantArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
waitingBlock<T extends Prisma.WorkflowExecution$waitingBlockArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowExecution$waitingBlockArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
createdByUser<T extends Prisma.WorkflowExecution$createdByUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowExecution$createdByUserArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
blockRuns<T extends Prisma.WorkflowExecution$blockRunsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowExecution$blockRunsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<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 WorkflowExecution model
|
|
*/
|
|
export interface WorkflowExecutionFieldRefs {
|
|
readonly id: Prisma.FieldRef<"WorkflowExecution", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"WorkflowExecution", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"WorkflowExecution", 'DateTime'>
|
|
readonly workflowId: Prisma.FieldRef<"WorkflowExecution", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"WorkflowExecution", 'String'>
|
|
readonly type: Prisma.FieldRef<"WorkflowExecution", 'String'>
|
|
readonly status: Prisma.FieldRef<"WorkflowExecution", 'String'>
|
|
readonly input: Prisma.FieldRef<"WorkflowExecution", 'String'>
|
|
readonly output: Prisma.FieldRef<"WorkflowExecution", 'String'>
|
|
readonly duration: Prisma.FieldRef<"WorkflowExecution", 'Int'>
|
|
readonly endedAt: Prisma.FieldRef<"WorkflowExecution", 'DateTime'>
|
|
readonly error: Prisma.FieldRef<"WorkflowExecution", 'String'>
|
|
readonly waitingBlockId: Prisma.FieldRef<"WorkflowExecution", 'String'>
|
|
readonly createdByUserId: Prisma.FieldRef<"WorkflowExecution", 'String'>
|
|
readonly appliesToAllTenants: Prisma.FieldRef<"WorkflowExecution", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* WorkflowExecution findUnique
|
|
*/
|
|
export type WorkflowExecutionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowExecution to fetch.
|
|
*/
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution findUniqueOrThrow
|
|
*/
|
|
export type WorkflowExecutionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowExecution to fetch.
|
|
*/
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution findFirst
|
|
*/
|
|
export type WorkflowExecutionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowExecution to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowExecutions to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowExecutionOrderByWithRelationInput | Prisma.WorkflowExecutionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for WorkflowExecutions.
|
|
*/
|
|
cursor?: Prisma.WorkflowExecutionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowExecutions 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` WorkflowExecutions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowExecutions.
|
|
*/
|
|
distinct?: Prisma.WorkflowExecutionScalarFieldEnum | Prisma.WorkflowExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution findFirstOrThrow
|
|
*/
|
|
export type WorkflowExecutionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowExecution to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowExecutions to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowExecutionOrderByWithRelationInput | Prisma.WorkflowExecutionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for WorkflowExecutions.
|
|
*/
|
|
cursor?: Prisma.WorkflowExecutionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowExecutions 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` WorkflowExecutions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowExecutions.
|
|
*/
|
|
distinct?: Prisma.WorkflowExecutionScalarFieldEnum | Prisma.WorkflowExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution findMany
|
|
*/
|
|
export type WorkflowExecutionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowExecutions to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowExecutions to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowExecutionOrderByWithRelationInput | Prisma.WorkflowExecutionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing WorkflowExecutions.
|
|
*/
|
|
cursor?: Prisma.WorkflowExecutionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowExecutions 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` WorkflowExecutions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowExecutions.
|
|
*/
|
|
distinct?: Prisma.WorkflowExecutionScalarFieldEnum | Prisma.WorkflowExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution create
|
|
*/
|
|
export type WorkflowExecutionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a WorkflowExecution.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionCreateInput, Prisma.WorkflowExecutionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution createMany
|
|
*/
|
|
export type WorkflowExecutionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many WorkflowExecutions.
|
|
*/
|
|
data: Prisma.WorkflowExecutionCreateManyInput | Prisma.WorkflowExecutionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution createManyAndReturn
|
|
*/
|
|
export type WorkflowExecutionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many WorkflowExecutions.
|
|
*/
|
|
data: Prisma.WorkflowExecutionCreateManyInput | Prisma.WorkflowExecutionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution update
|
|
*/
|
|
export type WorkflowExecutionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a WorkflowExecution.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateInput, Prisma.WorkflowExecutionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which WorkflowExecution to update.
|
|
*/
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution updateMany
|
|
*/
|
|
export type WorkflowExecutionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update WorkflowExecutions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateManyMutationInput, Prisma.WorkflowExecutionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkflowExecutions to update
|
|
*/
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
/**
|
|
* Limit how many WorkflowExecutions to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution updateManyAndReturn
|
|
*/
|
|
export type WorkflowExecutionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update WorkflowExecutions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowExecutionUpdateManyMutationInput, Prisma.WorkflowExecutionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkflowExecutions to update
|
|
*/
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
/**
|
|
* Limit how many WorkflowExecutions to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution upsert
|
|
*/
|
|
export type WorkflowExecutionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the WorkflowExecution to update in case it exists.
|
|
*/
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
/**
|
|
* In case the WorkflowExecution found by the `where` argument doesn't exist, create a new WorkflowExecution with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.WorkflowExecutionCreateInput, Prisma.WorkflowExecutionUncheckedCreateInput>
|
|
/**
|
|
* In case the WorkflowExecution was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.WorkflowExecutionUpdateInput, Prisma.WorkflowExecutionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution delete
|
|
*/
|
|
export type WorkflowExecutionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which WorkflowExecution to delete.
|
|
*/
|
|
where: Prisma.WorkflowExecutionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution deleteMany
|
|
*/
|
|
export type WorkflowExecutionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkflowExecutions to delete
|
|
*/
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
/**
|
|
* Limit how many WorkflowExecutions to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution.tenant
|
|
*/
|
|
export type WorkflowExecution$tenantArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Tenant
|
|
*/
|
|
select?: Prisma.TenantSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Tenant
|
|
*/
|
|
omit?: Prisma.TenantOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInclude<ExtArgs> | null
|
|
where?: Prisma.TenantWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution.waitingBlock
|
|
*/
|
|
export type WorkflowExecution$waitingBlockArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowBlock
|
|
*/
|
|
select?: Prisma.WorkflowBlockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowBlock
|
|
*/
|
|
omit?: Prisma.WorkflowBlockOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowBlockInclude<ExtArgs> | null
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution.createdByUser
|
|
*/
|
|
export type WorkflowExecution$createdByUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution.blockRuns
|
|
*/
|
|
export type WorkflowExecution$blockRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowBlockExecution
|
|
*/
|
|
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowBlockExecution
|
|
*/
|
|
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
|
|
where?: Prisma.WorkflowBlockExecutionWhereInput
|
|
orderBy?: Prisma.WorkflowBlockExecutionOrderByWithRelationInput | Prisma.WorkflowBlockExecutionOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowBlockExecutionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowBlockExecutionScalarFieldEnum | Prisma.WorkflowBlockExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowExecution without action
|
|
*/
|
|
export type WorkflowExecutionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
}
|