2109 lines
85 KiB
TypeScript
2109 lines
85 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 `Workflow` 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 Workflow
|
|
*
|
|
*/
|
|
export type WorkflowModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkflowPayload>
|
|
|
|
export type AggregateWorkflow = {
|
|
_count: WorkflowCountAggregateOutputType | null
|
|
_min: WorkflowMinAggregateOutputType | null
|
|
_max: WorkflowMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type WorkflowMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
name: string | null
|
|
description: string | null
|
|
status: string | null
|
|
tenantId: string | null
|
|
createdByUserId: string | null
|
|
appliesToAllTenants: boolean | null
|
|
}
|
|
|
|
export type WorkflowMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
name: string | null
|
|
description: string | null
|
|
status: string | null
|
|
tenantId: string | null
|
|
createdByUserId: string | null
|
|
appliesToAllTenants: boolean | null
|
|
}
|
|
|
|
export type WorkflowCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
name: number
|
|
description: number
|
|
status: number
|
|
tenantId: number
|
|
createdByUserId: number
|
|
appliesToAllTenants: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type WorkflowMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
name?: true
|
|
description?: true
|
|
status?: true
|
|
tenantId?: true
|
|
createdByUserId?: true
|
|
appliesToAllTenants?: true
|
|
}
|
|
|
|
export type WorkflowMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
name?: true
|
|
description?: true
|
|
status?: true
|
|
tenantId?: true
|
|
createdByUserId?: true
|
|
appliesToAllTenants?: true
|
|
}
|
|
|
|
export type WorkflowCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
name?: true
|
|
description?: true
|
|
status?: true
|
|
tenantId?: true
|
|
createdByUserId?: true
|
|
appliesToAllTenants?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type WorkflowAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Workflow to aggregate.
|
|
*/
|
|
where?: Prisma.WorkflowWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Workflows to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowOrderByWithRelationInput | Prisma.WorkflowOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.WorkflowWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Workflows 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` Workflows.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned Workflows
|
|
**/
|
|
_count?: true | WorkflowCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: WorkflowMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: WorkflowMaxAggregateInputType
|
|
}
|
|
|
|
export type GetWorkflowAggregateType<T extends WorkflowAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateWorkflow]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflow[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflow[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type WorkflowGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowWhereInput
|
|
orderBy?: Prisma.WorkflowOrderByWithAggregationInput | Prisma.WorkflowOrderByWithAggregationInput[]
|
|
by: Prisma.WorkflowScalarFieldEnum[] | Prisma.WorkflowScalarFieldEnum
|
|
having?: Prisma.WorkflowScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: WorkflowCountAggregateInputType | true
|
|
_min?: WorkflowMinAggregateInputType
|
|
_max?: WorkflowMaxAggregateInputType
|
|
}
|
|
|
|
export type WorkflowGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
name: string
|
|
description: string
|
|
status: string
|
|
tenantId: string | null
|
|
createdByUserId: string | null
|
|
appliesToAllTenants: boolean
|
|
_count: WorkflowCountAggregateOutputType | null
|
|
_min: WorkflowMinAggregateOutputType | null
|
|
_max: WorkflowMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetWorkflowGroupByPayload<T extends WorkflowGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<WorkflowGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof WorkflowGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], WorkflowGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], WorkflowGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type WorkflowWhereInput = {
|
|
AND?: Prisma.WorkflowWhereInput | Prisma.WorkflowWhereInput[]
|
|
OR?: Prisma.WorkflowWhereInput[]
|
|
NOT?: Prisma.WorkflowWhereInput | Prisma.WorkflowWhereInput[]
|
|
id?: Prisma.StringFilter<"Workflow"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"Workflow"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"Workflow"> | Date | string
|
|
name?: Prisma.StringFilter<"Workflow"> | string
|
|
description?: Prisma.StringFilter<"Workflow"> | string
|
|
status?: Prisma.StringFilter<"Workflow"> | string
|
|
tenantId?: Prisma.StringNullableFilter<"Workflow"> | string | null
|
|
createdByUserId?: Prisma.StringNullableFilter<"Workflow"> | string | null
|
|
appliesToAllTenants?: Prisma.BoolFilter<"Workflow"> | boolean
|
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
createdByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
blocks?: Prisma.WorkflowBlockListRelationFilter
|
|
inputExamples?: Prisma.WorkflowInputExampleListRelationFilter
|
|
executions?: Prisma.WorkflowExecutionListRelationFilter
|
|
}
|
|
|
|
export type WorkflowOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
appliesToAllTenants?: Prisma.SortOrder
|
|
tenant?: Prisma.TenantOrderByWithRelationInput
|
|
createdByUser?: Prisma.UserOrderByWithRelationInput
|
|
blocks?: Prisma.WorkflowBlockOrderByRelationAggregateInput
|
|
inputExamples?: Prisma.WorkflowInputExampleOrderByRelationAggregateInput
|
|
executions?: Prisma.WorkflowExecutionOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type WorkflowWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.WorkflowWhereInput | Prisma.WorkflowWhereInput[]
|
|
OR?: Prisma.WorkflowWhereInput[]
|
|
NOT?: Prisma.WorkflowWhereInput | Prisma.WorkflowWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"Workflow"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"Workflow"> | Date | string
|
|
name?: Prisma.StringFilter<"Workflow"> | string
|
|
description?: Prisma.StringFilter<"Workflow"> | string
|
|
status?: Prisma.StringFilter<"Workflow"> | string
|
|
tenantId?: Prisma.StringNullableFilter<"Workflow"> | string | null
|
|
createdByUserId?: Prisma.StringNullableFilter<"Workflow"> | string | null
|
|
appliesToAllTenants?: Prisma.BoolFilter<"Workflow"> | boolean
|
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
createdByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
blocks?: Prisma.WorkflowBlockListRelationFilter
|
|
inputExamples?: Prisma.WorkflowInputExampleListRelationFilter
|
|
executions?: Prisma.WorkflowExecutionListRelationFilter
|
|
}, "id">
|
|
|
|
export type WorkflowOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
appliesToAllTenants?: Prisma.SortOrder
|
|
_count?: Prisma.WorkflowCountOrderByAggregateInput
|
|
_max?: Prisma.WorkflowMaxOrderByAggregateInput
|
|
_min?: Prisma.WorkflowMinOrderByAggregateInput
|
|
}
|
|
|
|
export type WorkflowScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.WorkflowScalarWhereWithAggregatesInput | Prisma.WorkflowScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.WorkflowScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.WorkflowScalarWhereWithAggregatesInput | Prisma.WorkflowScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"Workflow"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Workflow"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Workflow"> | Date | string
|
|
name?: Prisma.StringWithAggregatesFilter<"Workflow"> | string
|
|
description?: Prisma.StringWithAggregatesFilter<"Workflow"> | string
|
|
status?: Prisma.StringWithAggregatesFilter<"Workflow"> | string
|
|
tenantId?: Prisma.StringNullableWithAggregatesFilter<"Workflow"> | string | null
|
|
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"Workflow"> | string | null
|
|
appliesToAllTenants?: Prisma.BoolWithAggregatesFilter<"Workflow"> | boolean
|
|
}
|
|
|
|
export type WorkflowCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
appliesToAllTenants?: boolean
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowsInput
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowsCreatedInput
|
|
blocks?: Prisma.WorkflowBlockCreateNestedManyWithoutWorkflowInput
|
|
inputExamples?: Prisma.WorkflowInputExampleCreateNestedManyWithoutWorkflowInput
|
|
executions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
tenantId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
blocks?: Prisma.WorkflowBlockUncheckedCreateNestedManyWithoutWorkflowInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUncheckedCreateNestedManyWithoutWorkflowInput
|
|
executions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowsNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowsCreatedNestedInput
|
|
blocks?: Prisma.WorkflowBlockUpdateManyWithoutWorkflowNestedInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUpdateManyWithoutWorkflowNestedInput
|
|
executions?: Prisma.WorkflowExecutionUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
blocks?: Prisma.WorkflowBlockUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
executions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
tenantId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type WorkflowListRelationFilter = {
|
|
every?: Prisma.WorkflowWhereInput
|
|
some?: Prisma.WorkflowWhereInput
|
|
none?: Prisma.WorkflowWhereInput
|
|
}
|
|
|
|
export type WorkflowOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
appliesToAllTenants?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
appliesToAllTenants?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
appliesToAllTenants?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowScalarRelationFilter = {
|
|
is?: Prisma.WorkflowWhereInput
|
|
isNot?: Prisma.WorkflowWhereInput
|
|
}
|
|
|
|
export type WorkflowCreateNestedManyWithoutCreatedByUserInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutCreatedByUserInput, Prisma.WorkflowUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowCreateWithoutCreatedByUserInput[] | Prisma.WorkflowUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowCreateOrConnectWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowCreateManyCreatedByUserInputEnvelope
|
|
connect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowUncheckedCreateNestedManyWithoutCreatedByUserInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutCreatedByUserInput, Prisma.WorkflowUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowCreateWithoutCreatedByUserInput[] | Prisma.WorkflowUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowCreateOrConnectWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowCreateManyCreatedByUserInputEnvelope
|
|
connect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowUpdateManyWithoutCreatedByUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutCreatedByUserInput, Prisma.WorkflowUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowCreateWithoutCreatedByUserInput[] | Prisma.WorkflowUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowCreateOrConnectWithoutCreatedByUserInput[]
|
|
upsert?: Prisma.WorkflowUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowUpsertWithWhereUniqueWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowCreateManyCreatedByUserInputEnvelope
|
|
set?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
update?: Prisma.WorkflowUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowUpdateWithWhereUniqueWithoutCreatedByUserInput[]
|
|
updateMany?: Prisma.WorkflowUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.WorkflowUpdateManyWithWhereWithoutCreatedByUserInput[]
|
|
deleteMany?: Prisma.WorkflowScalarWhereInput | Prisma.WorkflowScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateManyWithoutCreatedByUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutCreatedByUserInput, Prisma.WorkflowUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowCreateWithoutCreatedByUserInput[] | Prisma.WorkflowUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowCreateOrConnectWithoutCreatedByUserInput[]
|
|
upsert?: Prisma.WorkflowUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowUpsertWithWhereUniqueWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowCreateManyCreatedByUserInputEnvelope
|
|
set?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
update?: Prisma.WorkflowUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowUpdateWithWhereUniqueWithoutCreatedByUserInput[]
|
|
updateMany?: Prisma.WorkflowUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.WorkflowUpdateManyWithWhereWithoutCreatedByUserInput[]
|
|
deleteMany?: Prisma.WorkflowScalarWhereInput | Prisma.WorkflowScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutTenantInput, Prisma.WorkflowUncheckedCreateWithoutTenantInput> | Prisma.WorkflowCreateWithoutTenantInput[] | Prisma.WorkflowUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutTenantInput | Prisma.WorkflowCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowCreateManyTenantInputEnvelope
|
|
connect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowUncheckedCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutTenantInput, Prisma.WorkflowUncheckedCreateWithoutTenantInput> | Prisma.WorkflowCreateWithoutTenantInput[] | Prisma.WorkflowUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutTenantInput | Prisma.WorkflowCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowCreateManyTenantInputEnvelope
|
|
connect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutTenantInput, Prisma.WorkflowUncheckedCreateWithoutTenantInput> | Prisma.WorkflowCreateWithoutTenantInput[] | Prisma.WorkflowUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutTenantInput | Prisma.WorkflowCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.WorkflowUpsertWithWhereUniqueWithoutTenantInput | Prisma.WorkflowUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowCreateManyTenantInputEnvelope
|
|
set?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
update?: Prisma.WorkflowUpdateWithWhereUniqueWithoutTenantInput | Prisma.WorkflowUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.WorkflowUpdateManyWithWhereWithoutTenantInput | Prisma.WorkflowUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.WorkflowScalarWhereInput | Prisma.WorkflowScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutTenantInput, Prisma.WorkflowUncheckedCreateWithoutTenantInput> | Prisma.WorkflowCreateWithoutTenantInput[] | Prisma.WorkflowUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutTenantInput | Prisma.WorkflowCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.WorkflowUpsertWithWhereUniqueWithoutTenantInput | Prisma.WorkflowUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowCreateManyTenantInputEnvelope
|
|
set?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowWhereUniqueInput | Prisma.WorkflowWhereUniqueInput[]
|
|
update?: Prisma.WorkflowUpdateWithWhereUniqueWithoutTenantInput | Prisma.WorkflowUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.WorkflowUpdateManyWithWhereWithoutTenantInput | Prisma.WorkflowUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.WorkflowScalarWhereInput | Prisma.WorkflowScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowCreateNestedOneWithoutBlocksInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutBlocksInput, Prisma.WorkflowUncheckedCreateWithoutBlocksInput>
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutBlocksInput
|
|
connect?: Prisma.WorkflowWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowUpdateOneRequiredWithoutBlocksNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutBlocksInput, Prisma.WorkflowUncheckedCreateWithoutBlocksInput>
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutBlocksInput
|
|
upsert?: Prisma.WorkflowUpsertWithoutBlocksInput
|
|
connect?: Prisma.WorkflowWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowUpdateToOneWithWhereWithoutBlocksInput, Prisma.WorkflowUpdateWithoutBlocksInput>, Prisma.WorkflowUncheckedUpdateWithoutBlocksInput>
|
|
}
|
|
|
|
export type WorkflowCreateNestedOneWithoutExecutionsInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutExecutionsInput, Prisma.WorkflowUncheckedCreateWithoutExecutionsInput>
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutExecutionsInput
|
|
connect?: Prisma.WorkflowWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowUpdateOneRequiredWithoutExecutionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutExecutionsInput, Prisma.WorkflowUncheckedCreateWithoutExecutionsInput>
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutExecutionsInput
|
|
upsert?: Prisma.WorkflowUpsertWithoutExecutionsInput
|
|
connect?: Prisma.WorkflowWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowUpdateToOneWithWhereWithoutExecutionsInput, Prisma.WorkflowUpdateWithoutExecutionsInput>, Prisma.WorkflowUncheckedUpdateWithoutExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowCreateNestedOneWithoutInputExamplesInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutInputExamplesInput, Prisma.WorkflowUncheckedCreateWithoutInputExamplesInput>
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutInputExamplesInput
|
|
connect?: Prisma.WorkflowWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowUpdateOneRequiredWithoutInputExamplesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCreateWithoutInputExamplesInput, Prisma.WorkflowUncheckedCreateWithoutInputExamplesInput>
|
|
connectOrCreate?: Prisma.WorkflowCreateOrConnectWithoutInputExamplesInput
|
|
upsert?: Prisma.WorkflowUpsertWithoutInputExamplesInput
|
|
connect?: Prisma.WorkflowWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowUpdateToOneWithWhereWithoutInputExamplesInput, Prisma.WorkflowUpdateWithoutInputExamplesInput>, Prisma.WorkflowUncheckedUpdateWithoutInputExamplesInput>
|
|
}
|
|
|
|
export type WorkflowCreateWithoutCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
appliesToAllTenants?: boolean
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowsInput
|
|
blocks?: Prisma.WorkflowBlockCreateNestedManyWithoutWorkflowInput
|
|
inputExamples?: Prisma.WorkflowInputExampleCreateNestedManyWithoutWorkflowInput
|
|
executions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowUncheckedCreateWithoutCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
tenantId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
blocks?: Prisma.WorkflowBlockUncheckedCreateNestedManyWithoutWorkflowInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUncheckedCreateNestedManyWithoutWorkflowInput
|
|
executions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowCreateOrConnectWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowCreateWithoutCreatedByUserInput, Prisma.WorkflowUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowCreateManyCreatedByUserInputEnvelope = {
|
|
data: Prisma.WorkflowCreateManyCreatedByUserInput | Prisma.WorkflowCreateManyCreatedByUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowUpsertWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowUpdateWithoutCreatedByUserInput, Prisma.WorkflowUncheckedUpdateWithoutCreatedByUserInput>
|
|
create: Prisma.XOR<Prisma.WorkflowCreateWithoutCreatedByUserInput, Prisma.WorkflowUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowUpdateWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowUpdateWithoutCreatedByUserInput, Prisma.WorkflowUncheckedUpdateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowUpdateManyWithWhereWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowUpdateManyMutationInput, Prisma.WorkflowUncheckedUpdateManyWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowScalarWhereInput = {
|
|
AND?: Prisma.WorkflowScalarWhereInput | Prisma.WorkflowScalarWhereInput[]
|
|
OR?: Prisma.WorkflowScalarWhereInput[]
|
|
NOT?: Prisma.WorkflowScalarWhereInput | Prisma.WorkflowScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"Workflow"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"Workflow"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"Workflow"> | Date | string
|
|
name?: Prisma.StringFilter<"Workflow"> | string
|
|
description?: Prisma.StringFilter<"Workflow"> | string
|
|
status?: Prisma.StringFilter<"Workflow"> | string
|
|
tenantId?: Prisma.StringNullableFilter<"Workflow"> | string | null
|
|
createdByUserId?: Prisma.StringNullableFilter<"Workflow"> | string | null
|
|
appliesToAllTenants?: Prisma.BoolFilter<"Workflow"> | boolean
|
|
}
|
|
|
|
export type WorkflowCreateWithoutTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
appliesToAllTenants?: boolean
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowsCreatedInput
|
|
blocks?: Prisma.WorkflowBlockCreateNestedManyWithoutWorkflowInput
|
|
inputExamples?: Prisma.WorkflowInputExampleCreateNestedManyWithoutWorkflowInput
|
|
executions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowUncheckedCreateWithoutTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
blocks?: Prisma.WorkflowBlockUncheckedCreateNestedManyWithoutWorkflowInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUncheckedCreateNestedManyWithoutWorkflowInput
|
|
executions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowCreateOrConnectWithoutTenantInput = {
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowCreateWithoutTenantInput, Prisma.WorkflowUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowCreateManyTenantInputEnvelope = {
|
|
data: Prisma.WorkflowCreateManyTenantInput | Prisma.WorkflowCreateManyTenantInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowUpsertWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowUpdateWithoutTenantInput, Prisma.WorkflowUncheckedUpdateWithoutTenantInput>
|
|
create: Prisma.XOR<Prisma.WorkflowCreateWithoutTenantInput, Prisma.WorkflowUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowUpdateWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowUpdateWithoutTenantInput, Prisma.WorkflowUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowUpdateManyWithWhereWithoutTenantInput = {
|
|
where: Prisma.WorkflowScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowUpdateManyMutationInput, Prisma.WorkflowUncheckedUpdateManyWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowCreateWithoutBlocksInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
appliesToAllTenants?: boolean
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowsInput
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowsCreatedInput
|
|
inputExamples?: Prisma.WorkflowInputExampleCreateNestedManyWithoutWorkflowInput
|
|
executions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowUncheckedCreateWithoutBlocksInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
tenantId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
inputExamples?: Prisma.WorkflowInputExampleUncheckedCreateNestedManyWithoutWorkflowInput
|
|
executions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowCreateOrConnectWithoutBlocksInput = {
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowCreateWithoutBlocksInput, Prisma.WorkflowUncheckedCreateWithoutBlocksInput>
|
|
}
|
|
|
|
export type WorkflowUpsertWithoutBlocksInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowUpdateWithoutBlocksInput, Prisma.WorkflowUncheckedUpdateWithoutBlocksInput>
|
|
create: Prisma.XOR<Prisma.WorkflowCreateWithoutBlocksInput, Prisma.WorkflowUncheckedCreateWithoutBlocksInput>
|
|
where?: Prisma.WorkflowWhereInput
|
|
}
|
|
|
|
export type WorkflowUpdateToOneWithWhereWithoutBlocksInput = {
|
|
where?: Prisma.WorkflowWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowUpdateWithoutBlocksInput, Prisma.WorkflowUncheckedUpdateWithoutBlocksInput>
|
|
}
|
|
|
|
export type WorkflowUpdateWithoutBlocksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowsNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowsCreatedNestedInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUpdateManyWithoutWorkflowNestedInput
|
|
executions?: Prisma.WorkflowExecutionUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateWithoutBlocksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
inputExamples?: Prisma.WorkflowInputExampleUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
executions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowCreateWithoutExecutionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
appliesToAllTenants?: boolean
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowsInput
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowsCreatedInput
|
|
blocks?: Prisma.WorkflowBlockCreateNestedManyWithoutWorkflowInput
|
|
inputExamples?: Prisma.WorkflowInputExampleCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowUncheckedCreateWithoutExecutionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
tenantId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
blocks?: Prisma.WorkflowBlockUncheckedCreateNestedManyWithoutWorkflowInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUncheckedCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowCreateOrConnectWithoutExecutionsInput = {
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowCreateWithoutExecutionsInput, Prisma.WorkflowUncheckedCreateWithoutExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowUpsertWithoutExecutionsInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowUpdateWithoutExecutionsInput, Prisma.WorkflowUncheckedUpdateWithoutExecutionsInput>
|
|
create: Prisma.XOR<Prisma.WorkflowCreateWithoutExecutionsInput, Prisma.WorkflowUncheckedCreateWithoutExecutionsInput>
|
|
where?: Prisma.WorkflowWhereInput
|
|
}
|
|
|
|
export type WorkflowUpdateToOneWithWhereWithoutExecutionsInput = {
|
|
where?: Prisma.WorkflowWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowUpdateWithoutExecutionsInput, Prisma.WorkflowUncheckedUpdateWithoutExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowUpdateWithoutExecutionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowsNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowsCreatedNestedInput
|
|
blocks?: Prisma.WorkflowBlockUpdateManyWithoutWorkflowNestedInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateWithoutExecutionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
blocks?: Prisma.WorkflowBlockUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowCreateWithoutInputExamplesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
appliesToAllTenants?: boolean
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowsInput
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowsCreatedInput
|
|
blocks?: Prisma.WorkflowBlockCreateNestedManyWithoutWorkflowInput
|
|
executions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowUncheckedCreateWithoutInputExamplesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
tenantId?: string | null
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
blocks?: Prisma.WorkflowBlockUncheckedCreateNestedManyWithoutWorkflowInput
|
|
executions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWorkflowInput
|
|
}
|
|
|
|
export type WorkflowCreateOrConnectWithoutInputExamplesInput = {
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowCreateWithoutInputExamplesInput, Prisma.WorkflowUncheckedCreateWithoutInputExamplesInput>
|
|
}
|
|
|
|
export type WorkflowUpsertWithoutInputExamplesInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowUpdateWithoutInputExamplesInput, Prisma.WorkflowUncheckedUpdateWithoutInputExamplesInput>
|
|
create: Prisma.XOR<Prisma.WorkflowCreateWithoutInputExamplesInput, Prisma.WorkflowUncheckedCreateWithoutInputExamplesInput>
|
|
where?: Prisma.WorkflowWhereInput
|
|
}
|
|
|
|
export type WorkflowUpdateToOneWithWhereWithoutInputExamplesInput = {
|
|
where?: Prisma.WorkflowWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowUpdateWithoutInputExamplesInput, Prisma.WorkflowUncheckedUpdateWithoutInputExamplesInput>
|
|
}
|
|
|
|
export type WorkflowUpdateWithoutInputExamplesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowsNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowsCreatedNestedInput
|
|
blocks?: Prisma.WorkflowBlockUpdateManyWithoutWorkflowNestedInput
|
|
executions?: Prisma.WorkflowExecutionUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateWithoutInputExamplesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
blocks?: Prisma.WorkflowBlockUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
executions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowCreateManyCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
tenantId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowUpdateWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowsNestedInput
|
|
blocks?: Prisma.WorkflowBlockUpdateManyWithoutWorkflowNestedInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUpdateManyWithoutWorkflowNestedInput
|
|
executions?: Prisma.WorkflowExecutionUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
blocks?: Prisma.WorkflowBlockUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
executions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateManyWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type WorkflowCreateManyTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
description: string
|
|
status?: string
|
|
createdByUserId?: string | null
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowsCreatedNestedInput
|
|
blocks?: Prisma.WorkflowBlockUpdateManyWithoutWorkflowNestedInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUpdateManyWithoutWorkflowNestedInput
|
|
executions?: Prisma.WorkflowExecutionUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
blocks?: Prisma.WorkflowBlockUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
inputExamples?: Prisma.WorkflowInputExampleUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
executions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWorkflowNestedInput
|
|
}
|
|
|
|
export type WorkflowUncheckedUpdateManyWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
appliesToAllTenants?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type WorkflowCountOutputType
|
|
*/
|
|
|
|
export type WorkflowCountOutputType = {
|
|
blocks: number
|
|
inputExamples: number
|
|
executions: number
|
|
}
|
|
|
|
export type WorkflowCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
blocks?: boolean | WorkflowCountOutputTypeCountBlocksArgs
|
|
inputExamples?: boolean | WorkflowCountOutputTypeCountInputExamplesArgs
|
|
executions?: boolean | WorkflowCountOutputTypeCountExecutionsArgs
|
|
}
|
|
|
|
/**
|
|
* WorkflowCountOutputType without action
|
|
*/
|
|
export type WorkflowCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCountOutputType
|
|
*/
|
|
select?: Prisma.WorkflowCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowCountOutputType without action
|
|
*/
|
|
export type WorkflowCountOutputTypeCountBlocksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowCountOutputType without action
|
|
*/
|
|
export type WorkflowCountOutputTypeCountInputExamplesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowInputExampleWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowCountOutputType without action
|
|
*/
|
|
export type WorkflowCountOutputTypeCountExecutionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
}
|
|
|
|
|
|
export type WorkflowSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
name?: boolean
|
|
description?: boolean
|
|
status?: boolean
|
|
tenantId?: boolean
|
|
createdByUserId?: boolean
|
|
appliesToAllTenants?: boolean
|
|
tenant?: boolean | Prisma.Workflow$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.Workflow$createdByUserArgs<ExtArgs>
|
|
blocks?: boolean | Prisma.Workflow$blocksArgs<ExtArgs>
|
|
inputExamples?: boolean | Prisma.Workflow$inputExamplesArgs<ExtArgs>
|
|
executions?: boolean | Prisma.Workflow$executionsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.WorkflowCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflow"]>
|
|
|
|
export type WorkflowSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
name?: boolean
|
|
description?: boolean
|
|
status?: boolean
|
|
tenantId?: boolean
|
|
createdByUserId?: boolean
|
|
appliesToAllTenants?: boolean
|
|
tenant?: boolean | Prisma.Workflow$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.Workflow$createdByUserArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflow"]>
|
|
|
|
export type WorkflowSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
name?: boolean
|
|
description?: boolean
|
|
status?: boolean
|
|
tenantId?: boolean
|
|
createdByUserId?: boolean
|
|
appliesToAllTenants?: boolean
|
|
tenant?: boolean | Prisma.Workflow$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.Workflow$createdByUserArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflow"]>
|
|
|
|
export type WorkflowSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
name?: boolean
|
|
description?: boolean
|
|
status?: boolean
|
|
tenantId?: boolean
|
|
createdByUserId?: boolean
|
|
appliesToAllTenants?: boolean
|
|
}
|
|
|
|
export type WorkflowOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "name" | "description" | "status" | "tenantId" | "createdByUserId" | "appliesToAllTenants", ExtArgs["result"]["workflow"]>
|
|
export type WorkflowInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.Workflow$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.Workflow$createdByUserArgs<ExtArgs>
|
|
blocks?: boolean | Prisma.Workflow$blocksArgs<ExtArgs>
|
|
inputExamples?: boolean | Prisma.Workflow$inputExamplesArgs<ExtArgs>
|
|
executions?: boolean | Prisma.Workflow$executionsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.WorkflowCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type WorkflowIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.Workflow$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.Workflow$createdByUserArgs<ExtArgs>
|
|
}
|
|
export type WorkflowIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.Workflow$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.Workflow$createdByUserArgs<ExtArgs>
|
|
}
|
|
|
|
export type $WorkflowPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "Workflow"
|
|
objects: {
|
|
tenant: Prisma.$TenantPayload<ExtArgs> | null
|
|
createdByUser: Prisma.$UserPayload<ExtArgs> | null
|
|
blocks: Prisma.$WorkflowBlockPayload<ExtArgs>[]
|
|
inputExamples: Prisma.$WorkflowInputExamplePayload<ExtArgs>[]
|
|
executions: Prisma.$WorkflowExecutionPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
name: string
|
|
description: string
|
|
status: string
|
|
tenantId: string | null
|
|
createdByUserId: string | null
|
|
appliesToAllTenants: boolean
|
|
}, ExtArgs["result"]["workflow"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type WorkflowGetPayload<S extends boolean | null | undefined | WorkflowDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkflowPayload, S>
|
|
|
|
export type WorkflowCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<WorkflowFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: WorkflowCountAggregateInputType | true
|
|
}
|
|
|
|
export interface WorkflowDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Workflow'], meta: { name: 'Workflow' } }
|
|
/**
|
|
* Find zero or one Workflow that matches the filter.
|
|
* @param {WorkflowFindUniqueArgs} args - Arguments to find a Workflow
|
|
* @example
|
|
* // Get one Workflow
|
|
* const workflow = await prisma.workflow.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends WorkflowFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkflowFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkflowClient<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Workflow that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {WorkflowFindUniqueOrThrowArgs} args - Arguments to find a Workflow
|
|
* @example
|
|
* // Get one Workflow
|
|
* const workflow = await prisma.workflow.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends WorkflowFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkflowFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowClient<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Workflow 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 {WorkflowFindFirstArgs} args - Arguments to find a Workflow
|
|
* @example
|
|
* // Get one Workflow
|
|
* const workflow = await prisma.workflow.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends WorkflowFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkflowFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkflowClient<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Workflow 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 {WorkflowFindFirstOrThrowArgs} args - Arguments to find a Workflow
|
|
* @example
|
|
* // Get one Workflow
|
|
* const workflow = await prisma.workflow.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends WorkflowFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkflowFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowClient<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Workflows 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 {WorkflowFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Workflows
|
|
* const workflows = await prisma.workflow.findMany()
|
|
*
|
|
* // Get first 10 Workflows
|
|
* const workflows = await prisma.workflow.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const workflowWithIdOnly = await prisma.workflow.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends WorkflowFindManyArgs>(args?: Prisma.SelectSubset<T, WorkflowFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Workflow.
|
|
* @param {WorkflowCreateArgs} args - Arguments to create a Workflow.
|
|
* @example
|
|
* // Create one Workflow
|
|
* const Workflow = await prisma.workflow.create({
|
|
* data: {
|
|
* // ... data to create a Workflow
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends WorkflowCreateArgs>(args: Prisma.SelectSubset<T, WorkflowCreateArgs<ExtArgs>>): Prisma.Prisma__WorkflowClient<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Workflows.
|
|
* @param {WorkflowCreateManyArgs} args - Arguments to create many Workflows.
|
|
* @example
|
|
* // Create many Workflows
|
|
* const workflow = await prisma.workflow.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends WorkflowCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkflowCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many Workflows and returns the data saved in the database.
|
|
* @param {WorkflowCreateManyAndReturnArgs} args - Arguments to create many Workflows.
|
|
* @example
|
|
* // Create many Workflows
|
|
* const workflow = await prisma.workflow.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many Workflows and only return the `id`
|
|
* const workflowWithIdOnly = await prisma.workflow.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 WorkflowCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkflowCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a Workflow.
|
|
* @param {WorkflowDeleteArgs} args - Arguments to delete one Workflow.
|
|
* @example
|
|
* // Delete one Workflow
|
|
* const Workflow = await prisma.workflow.delete({
|
|
* where: {
|
|
* // ... filter to delete one Workflow
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends WorkflowDeleteArgs>(args: Prisma.SelectSubset<T, WorkflowDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkflowClient<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Workflow.
|
|
* @param {WorkflowUpdateArgs} args - Arguments to update one Workflow.
|
|
* @example
|
|
* // Update one Workflow
|
|
* const workflow = await prisma.workflow.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends WorkflowUpdateArgs>(args: Prisma.SelectSubset<T, WorkflowUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkflowClient<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Workflows.
|
|
* @param {WorkflowDeleteManyArgs} args - Arguments to filter Workflows to delete.
|
|
* @example
|
|
* // Delete a few Workflows
|
|
* const { count } = await prisma.workflow.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends WorkflowDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkflowDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Workflows.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Workflows
|
|
* const workflow = await prisma.workflow.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends WorkflowUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkflowUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Workflows and returns the data updated in the database.
|
|
* @param {WorkflowUpdateManyAndReturnArgs} args - Arguments to update many Workflows.
|
|
* @example
|
|
* // Update many Workflows
|
|
* const workflow = await prisma.workflow.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more Workflows and only return the `id`
|
|
* const workflowWithIdOnly = await prisma.workflow.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 WorkflowUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkflowUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one Workflow.
|
|
* @param {WorkflowUpsertArgs} args - Arguments to update or create a Workflow.
|
|
* @example
|
|
* // Update or create a Workflow
|
|
* const workflow = await prisma.workflow.upsert({
|
|
* create: {
|
|
* // ... data to create a Workflow
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Workflow we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends WorkflowUpsertArgs>(args: Prisma.SelectSubset<T, WorkflowUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkflowClient<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Workflows.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowCountArgs} args - Arguments to filter Workflows to count.
|
|
* @example
|
|
* // Count the number of Workflows
|
|
* const count = await prisma.workflow.count({
|
|
* where: {
|
|
* // ... the filter for the Workflows we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends WorkflowCountArgs>(
|
|
args?: Prisma.Subset<T, WorkflowCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], WorkflowCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Workflow.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowAggregateArgs} 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 WorkflowAggregateArgs>(args: Prisma.Subset<T, WorkflowAggregateArgs>): Prisma.PrismaPromise<GetWorkflowAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Workflow.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowGroupByArgs} 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 WorkflowGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: WorkflowGroupByArgs['orderBy'] }
|
|
: { orderBy?: WorkflowGroupByArgs['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, WorkflowGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the Workflow model
|
|
*/
|
|
readonly fields: WorkflowFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for Workflow.
|
|
* 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__WorkflowClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
tenant<T extends Prisma.Workflow$tenantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workflow$tenantArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
createdByUser<T extends Prisma.Workflow$createdByUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workflow$createdByUserArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
blocks<T extends Prisma.Workflow$blocksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workflow$blocksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
inputExamples<T extends Prisma.Workflow$inputExamplesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workflow$inputExamplesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowInputExamplePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
executions<T extends Prisma.Workflow$executionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workflow$executionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<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 Workflow model
|
|
*/
|
|
export interface WorkflowFieldRefs {
|
|
readonly id: Prisma.FieldRef<"Workflow", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"Workflow", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"Workflow", 'DateTime'>
|
|
readonly name: Prisma.FieldRef<"Workflow", 'String'>
|
|
readonly description: Prisma.FieldRef<"Workflow", 'String'>
|
|
readonly status: Prisma.FieldRef<"Workflow", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"Workflow", 'String'>
|
|
readonly createdByUserId: Prisma.FieldRef<"Workflow", 'String'>
|
|
readonly appliesToAllTenants: Prisma.FieldRef<"Workflow", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* Workflow findUnique
|
|
*/
|
|
export type WorkflowFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Workflow to fetch.
|
|
*/
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Workflow findUniqueOrThrow
|
|
*/
|
|
export type WorkflowFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Workflow to fetch.
|
|
*/
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Workflow findFirst
|
|
*/
|
|
export type WorkflowFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Workflow to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Workflows to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowOrderByWithRelationInput | Prisma.WorkflowOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Workflows.
|
|
*/
|
|
cursor?: Prisma.WorkflowWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Workflows 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` Workflows.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Workflows.
|
|
*/
|
|
distinct?: Prisma.WorkflowScalarFieldEnum | Prisma.WorkflowScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Workflow findFirstOrThrow
|
|
*/
|
|
export type WorkflowFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Workflow to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Workflows to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowOrderByWithRelationInput | Prisma.WorkflowOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Workflows.
|
|
*/
|
|
cursor?: Prisma.WorkflowWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Workflows 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` Workflows.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Workflows.
|
|
*/
|
|
distinct?: Prisma.WorkflowScalarFieldEnum | Prisma.WorkflowScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Workflow findMany
|
|
*/
|
|
export type WorkflowFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Workflows to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Workflows to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowOrderByWithRelationInput | Prisma.WorkflowOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing Workflows.
|
|
*/
|
|
cursor?: Prisma.WorkflowWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Workflows 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` Workflows.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Workflows.
|
|
*/
|
|
distinct?: Prisma.WorkflowScalarFieldEnum | Prisma.WorkflowScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Workflow create
|
|
*/
|
|
export type WorkflowCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a Workflow.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowCreateInput, Prisma.WorkflowUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* Workflow createMany
|
|
*/
|
|
export type WorkflowCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many Workflows.
|
|
*/
|
|
data: Prisma.WorkflowCreateManyInput | Prisma.WorkflowCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* Workflow createManyAndReturn
|
|
*/
|
|
export type WorkflowCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many Workflows.
|
|
*/
|
|
data: Prisma.WorkflowCreateManyInput | Prisma.WorkflowCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* Workflow update
|
|
*/
|
|
export type WorkflowUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a Workflow.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowUpdateInput, Prisma.WorkflowUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which Workflow to update.
|
|
*/
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Workflow updateMany
|
|
*/
|
|
export type WorkflowUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update Workflows.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowUpdateManyMutationInput, Prisma.WorkflowUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Workflows to update
|
|
*/
|
|
where?: Prisma.WorkflowWhereInput
|
|
/**
|
|
* Limit how many Workflows to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Workflow updateManyAndReturn
|
|
*/
|
|
export type WorkflowUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update Workflows.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowUpdateManyMutationInput, Prisma.WorkflowUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Workflows to update
|
|
*/
|
|
where?: Prisma.WorkflowWhereInput
|
|
/**
|
|
* Limit how many Workflows to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* Workflow upsert
|
|
*/
|
|
export type WorkflowUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the Workflow to update in case it exists.
|
|
*/
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
/**
|
|
* In case the Workflow found by the `where` argument doesn't exist, create a new Workflow with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.WorkflowCreateInput, Prisma.WorkflowUncheckedCreateInput>
|
|
/**
|
|
* In case the Workflow was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.WorkflowUpdateInput, Prisma.WorkflowUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* Workflow delete
|
|
*/
|
|
export type WorkflowDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which Workflow to delete.
|
|
*/
|
|
where: Prisma.WorkflowWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Workflow deleteMany
|
|
*/
|
|
export type WorkflowDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Workflows to delete
|
|
*/
|
|
where?: Prisma.WorkflowWhereInput
|
|
/**
|
|
* Limit how many Workflows to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Workflow.tenant
|
|
*/
|
|
export type Workflow$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
|
|
}
|
|
|
|
/**
|
|
* Workflow.createdByUser
|
|
*/
|
|
export type Workflow$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
|
|
}
|
|
|
|
/**
|
|
* Workflow.blocks
|
|
*/
|
|
export type Workflow$blocksArgs<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
|
|
orderBy?: Prisma.WorkflowBlockOrderByWithRelationInput | Prisma.WorkflowBlockOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowBlockWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowBlockScalarFieldEnum | Prisma.WorkflowBlockScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Workflow.inputExamples
|
|
*/
|
|
export type Workflow$inputExamplesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowInputExample
|
|
*/
|
|
select?: Prisma.WorkflowInputExampleSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowInputExample
|
|
*/
|
|
omit?: Prisma.WorkflowInputExampleOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInputExampleInclude<ExtArgs> | null
|
|
where?: Prisma.WorkflowInputExampleWhereInput
|
|
orderBy?: Prisma.WorkflowInputExampleOrderByWithRelationInput | Prisma.WorkflowInputExampleOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowInputExampleWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowInputExampleScalarFieldEnum | Prisma.WorkflowInputExampleScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Workflow.executions
|
|
*/
|
|
export type Workflow$executionsArgs<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
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
orderBy?: Prisma.WorkflowExecutionOrderByWithRelationInput | Prisma.WorkflowExecutionOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowExecutionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowExecutionScalarFieldEnum | Prisma.WorkflowExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Workflow without action
|
|
*/
|
|
export type WorkflowDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Workflow
|
|
*/
|
|
select?: Prisma.WorkflowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Workflow
|
|
*/
|
|
omit?: Prisma.WorkflowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowInclude<ExtArgs> | null
|
|
}
|