Files
HiveGrid-Wireframes/hivegrid-cloud/packages/db/generated/prisma/client/models/WorkflowBlockCondition.ts
T

1425 lines
61 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `WorkflowBlockCondition` 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 WorkflowBlockCondition
*
*/
export type WorkflowBlockConditionModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkflowBlockConditionPayload>
export type AggregateWorkflowBlockCondition = {
_count: WorkflowBlockConditionCountAggregateOutputType | null
_avg: WorkflowBlockConditionAvgAggregateOutputType | null
_sum: WorkflowBlockConditionSumAggregateOutputType | null
_min: WorkflowBlockConditionMinAggregateOutputType | null
_max: WorkflowBlockConditionMaxAggregateOutputType | null
}
export type WorkflowBlockConditionAvgAggregateOutputType = {
index: number | null
}
export type WorkflowBlockConditionSumAggregateOutputType = {
index: number | null
}
export type WorkflowBlockConditionMinAggregateOutputType = {
id: string | null
workflowBlockConditionGroupId: string | null
index: number | null
variable: string | null
operator: string | null
value: string | null
}
export type WorkflowBlockConditionMaxAggregateOutputType = {
id: string | null
workflowBlockConditionGroupId: string | null
index: number | null
variable: string | null
operator: string | null
value: string | null
}
export type WorkflowBlockConditionCountAggregateOutputType = {
id: number
workflowBlockConditionGroupId: number
index: number
variable: number
operator: number
value: number
_all: number
}
export type WorkflowBlockConditionAvgAggregateInputType = {
index?: true
}
export type WorkflowBlockConditionSumAggregateInputType = {
index?: true
}
export type WorkflowBlockConditionMinAggregateInputType = {
id?: true
workflowBlockConditionGroupId?: true
index?: true
variable?: true
operator?: true
value?: true
}
export type WorkflowBlockConditionMaxAggregateInputType = {
id?: true
workflowBlockConditionGroupId?: true
index?: true
variable?: true
operator?: true
value?: true
}
export type WorkflowBlockConditionCountAggregateInputType = {
id?: true
workflowBlockConditionGroupId?: true
index?: true
variable?: true
operator?: true
value?: true
_all?: true
}
export type WorkflowBlockConditionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which WorkflowBlockCondition to aggregate.
*/
where?: Prisma.WorkflowBlockConditionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockConditions to fetch.
*/
orderBy?: Prisma.WorkflowBlockConditionOrderByWithRelationInput | Prisma.WorkflowBlockConditionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.WorkflowBlockConditionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockConditions 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` WorkflowBlockConditions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned WorkflowBlockConditions
**/
_count?: true | WorkflowBlockConditionCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: WorkflowBlockConditionAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: WorkflowBlockConditionSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: WorkflowBlockConditionMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: WorkflowBlockConditionMaxAggregateInputType
}
export type GetWorkflowBlockConditionAggregateType<T extends WorkflowBlockConditionAggregateArgs> = {
[P in keyof T & keyof AggregateWorkflowBlockCondition]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateWorkflowBlockCondition[P]>
: Prisma.GetScalarType<T[P], AggregateWorkflowBlockCondition[P]>
}
export type WorkflowBlockConditionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.WorkflowBlockConditionWhereInput
orderBy?: Prisma.WorkflowBlockConditionOrderByWithAggregationInput | Prisma.WorkflowBlockConditionOrderByWithAggregationInput[]
by: Prisma.WorkflowBlockConditionScalarFieldEnum[] | Prisma.WorkflowBlockConditionScalarFieldEnum
having?: Prisma.WorkflowBlockConditionScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: WorkflowBlockConditionCountAggregateInputType | true
_avg?: WorkflowBlockConditionAvgAggregateInputType
_sum?: WorkflowBlockConditionSumAggregateInputType
_min?: WorkflowBlockConditionMinAggregateInputType
_max?: WorkflowBlockConditionMaxAggregateInputType
}
export type WorkflowBlockConditionGroupByOutputType = {
id: string
workflowBlockConditionGroupId: string
index: number
variable: string
operator: string
value: string
_count: WorkflowBlockConditionCountAggregateOutputType | null
_avg: WorkflowBlockConditionAvgAggregateOutputType | null
_sum: WorkflowBlockConditionSumAggregateOutputType | null
_min: WorkflowBlockConditionMinAggregateOutputType | null
_max: WorkflowBlockConditionMaxAggregateOutputType | null
}
export type GetWorkflowBlockConditionGroupByPayload<T extends WorkflowBlockConditionGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<WorkflowBlockConditionGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof WorkflowBlockConditionGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], WorkflowBlockConditionGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], WorkflowBlockConditionGroupByOutputType[P]>
}
>
>
export type WorkflowBlockConditionWhereInput = {
AND?: Prisma.WorkflowBlockConditionWhereInput | Prisma.WorkflowBlockConditionWhereInput[]
OR?: Prisma.WorkflowBlockConditionWhereInput[]
NOT?: Prisma.WorkflowBlockConditionWhereInput | Prisma.WorkflowBlockConditionWhereInput[]
id?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
workflowBlockConditionGroupId?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
index?: Prisma.IntFilter<"WorkflowBlockCondition"> | number
variable?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
operator?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
value?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
workflowBlockConditionGroup?: Prisma.XOR<Prisma.WorkflowBlockConditionGroupScalarRelationFilter, Prisma.WorkflowBlockConditionGroupWhereInput>
}
export type WorkflowBlockConditionOrderByWithRelationInput = {
id?: Prisma.SortOrder
workflowBlockConditionGroupId?: Prisma.SortOrder
index?: Prisma.SortOrder
variable?: Prisma.SortOrder
operator?: Prisma.SortOrder
value?: Prisma.SortOrder
workflowBlockConditionGroup?: Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput
}
export type WorkflowBlockConditionWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.WorkflowBlockConditionWhereInput | Prisma.WorkflowBlockConditionWhereInput[]
OR?: Prisma.WorkflowBlockConditionWhereInput[]
NOT?: Prisma.WorkflowBlockConditionWhereInput | Prisma.WorkflowBlockConditionWhereInput[]
workflowBlockConditionGroupId?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
index?: Prisma.IntFilter<"WorkflowBlockCondition"> | number
variable?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
operator?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
value?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
workflowBlockConditionGroup?: Prisma.XOR<Prisma.WorkflowBlockConditionGroupScalarRelationFilter, Prisma.WorkflowBlockConditionGroupWhereInput>
}, "id">
export type WorkflowBlockConditionOrderByWithAggregationInput = {
id?: Prisma.SortOrder
workflowBlockConditionGroupId?: Prisma.SortOrder
index?: Prisma.SortOrder
variable?: Prisma.SortOrder
operator?: Prisma.SortOrder
value?: Prisma.SortOrder
_count?: Prisma.WorkflowBlockConditionCountOrderByAggregateInput
_avg?: Prisma.WorkflowBlockConditionAvgOrderByAggregateInput
_max?: Prisma.WorkflowBlockConditionMaxOrderByAggregateInput
_min?: Prisma.WorkflowBlockConditionMinOrderByAggregateInput
_sum?: Prisma.WorkflowBlockConditionSumOrderByAggregateInput
}
export type WorkflowBlockConditionScalarWhereWithAggregatesInput = {
AND?: Prisma.WorkflowBlockConditionScalarWhereWithAggregatesInput | Prisma.WorkflowBlockConditionScalarWhereWithAggregatesInput[]
OR?: Prisma.WorkflowBlockConditionScalarWhereWithAggregatesInput[]
NOT?: Prisma.WorkflowBlockConditionScalarWhereWithAggregatesInput | Prisma.WorkflowBlockConditionScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"WorkflowBlockCondition"> | string
workflowBlockConditionGroupId?: Prisma.StringWithAggregatesFilter<"WorkflowBlockCondition"> | string
index?: Prisma.IntWithAggregatesFilter<"WorkflowBlockCondition"> | number
variable?: Prisma.StringWithAggregatesFilter<"WorkflowBlockCondition"> | string
operator?: Prisma.StringWithAggregatesFilter<"WorkflowBlockCondition"> | string
value?: Prisma.StringWithAggregatesFilter<"WorkflowBlockCondition"> | string
}
export type WorkflowBlockConditionCreateInput = {
id?: string
index: number
variable: string
operator: string
value: string
workflowBlockConditionGroup: Prisma.WorkflowBlockConditionGroupCreateNestedOneWithoutConditionsInput
}
export type WorkflowBlockConditionUncheckedCreateInput = {
id?: string
workflowBlockConditionGroupId: string
index: number
variable: string
operator: string
value: string
}
export type WorkflowBlockConditionUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
index?: Prisma.IntFieldUpdateOperationsInput | number
variable?: Prisma.StringFieldUpdateOperationsInput | string
operator?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
workflowBlockConditionGroup?: Prisma.WorkflowBlockConditionGroupUpdateOneRequiredWithoutConditionsNestedInput
}
export type WorkflowBlockConditionUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
workflowBlockConditionGroupId?: Prisma.StringFieldUpdateOperationsInput | string
index?: Prisma.IntFieldUpdateOperationsInput | number
variable?: Prisma.StringFieldUpdateOperationsInput | string
operator?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type WorkflowBlockConditionCreateManyInput = {
id?: string
workflowBlockConditionGroupId: string
index: number
variable: string
operator: string
value: string
}
export type WorkflowBlockConditionUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
index?: Prisma.IntFieldUpdateOperationsInput | number
variable?: Prisma.StringFieldUpdateOperationsInput | string
operator?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type WorkflowBlockConditionUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
workflowBlockConditionGroupId?: Prisma.StringFieldUpdateOperationsInput | string
index?: Prisma.IntFieldUpdateOperationsInput | number
variable?: Prisma.StringFieldUpdateOperationsInput | string
operator?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type WorkflowBlockConditionListRelationFilter = {
every?: Prisma.WorkflowBlockConditionWhereInput
some?: Prisma.WorkflowBlockConditionWhereInput
none?: Prisma.WorkflowBlockConditionWhereInput
}
export type WorkflowBlockConditionOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type WorkflowBlockConditionCountOrderByAggregateInput = {
id?: Prisma.SortOrder
workflowBlockConditionGroupId?: Prisma.SortOrder
index?: Prisma.SortOrder
variable?: Prisma.SortOrder
operator?: Prisma.SortOrder
value?: Prisma.SortOrder
}
export type WorkflowBlockConditionAvgOrderByAggregateInput = {
index?: Prisma.SortOrder
}
export type WorkflowBlockConditionMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
workflowBlockConditionGroupId?: Prisma.SortOrder
index?: Prisma.SortOrder
variable?: Prisma.SortOrder
operator?: Prisma.SortOrder
value?: Prisma.SortOrder
}
export type WorkflowBlockConditionMinOrderByAggregateInput = {
id?: Prisma.SortOrder
workflowBlockConditionGroupId?: Prisma.SortOrder
index?: Prisma.SortOrder
variable?: Prisma.SortOrder
operator?: Prisma.SortOrder
value?: Prisma.SortOrder
}
export type WorkflowBlockConditionSumOrderByAggregateInput = {
index?: Prisma.SortOrder
}
export type WorkflowBlockConditionCreateNestedManyWithoutWorkflowBlockConditionGroupInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput, Prisma.WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput> | Prisma.WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput[] | Prisma.WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput[]
connectOrCreate?: Prisma.WorkflowBlockConditionCreateOrConnectWithoutWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionCreateOrConnectWithoutWorkflowBlockConditionGroupInput[]
createMany?: Prisma.WorkflowBlockConditionCreateManyWorkflowBlockConditionGroupInputEnvelope
connect?: Prisma.WorkflowBlockConditionWhereUniqueInput | Prisma.WorkflowBlockConditionWhereUniqueInput[]
}
export type WorkflowBlockConditionUncheckedCreateNestedManyWithoutWorkflowBlockConditionGroupInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput, Prisma.WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput> | Prisma.WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput[] | Prisma.WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput[]
connectOrCreate?: Prisma.WorkflowBlockConditionCreateOrConnectWithoutWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionCreateOrConnectWithoutWorkflowBlockConditionGroupInput[]
createMany?: Prisma.WorkflowBlockConditionCreateManyWorkflowBlockConditionGroupInputEnvelope
connect?: Prisma.WorkflowBlockConditionWhereUniqueInput | Prisma.WorkflowBlockConditionWhereUniqueInput[]
}
export type WorkflowBlockConditionUpdateManyWithoutWorkflowBlockConditionGroupNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput, Prisma.WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput> | Prisma.WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput[] | Prisma.WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput[]
connectOrCreate?: Prisma.WorkflowBlockConditionCreateOrConnectWithoutWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionCreateOrConnectWithoutWorkflowBlockConditionGroupInput[]
upsert?: Prisma.WorkflowBlockConditionUpsertWithWhereUniqueWithoutWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionUpsertWithWhereUniqueWithoutWorkflowBlockConditionGroupInput[]
createMany?: Prisma.WorkflowBlockConditionCreateManyWorkflowBlockConditionGroupInputEnvelope
set?: Prisma.WorkflowBlockConditionWhereUniqueInput | Prisma.WorkflowBlockConditionWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockConditionWhereUniqueInput | Prisma.WorkflowBlockConditionWhereUniqueInput[]
delete?: Prisma.WorkflowBlockConditionWhereUniqueInput | Prisma.WorkflowBlockConditionWhereUniqueInput[]
connect?: Prisma.WorkflowBlockConditionWhereUniqueInput | Prisma.WorkflowBlockConditionWhereUniqueInput[]
update?: Prisma.WorkflowBlockConditionUpdateWithWhereUniqueWithoutWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionUpdateWithWhereUniqueWithoutWorkflowBlockConditionGroupInput[]
updateMany?: Prisma.WorkflowBlockConditionUpdateManyWithWhereWithoutWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionUpdateManyWithWhereWithoutWorkflowBlockConditionGroupInput[]
deleteMany?: Prisma.WorkflowBlockConditionScalarWhereInput | Prisma.WorkflowBlockConditionScalarWhereInput[]
}
export type WorkflowBlockConditionUncheckedUpdateManyWithoutWorkflowBlockConditionGroupNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput, Prisma.WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput> | Prisma.WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput[] | Prisma.WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput[]
connectOrCreate?: Prisma.WorkflowBlockConditionCreateOrConnectWithoutWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionCreateOrConnectWithoutWorkflowBlockConditionGroupInput[]
upsert?: Prisma.WorkflowBlockConditionUpsertWithWhereUniqueWithoutWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionUpsertWithWhereUniqueWithoutWorkflowBlockConditionGroupInput[]
createMany?: Prisma.WorkflowBlockConditionCreateManyWorkflowBlockConditionGroupInputEnvelope
set?: Prisma.WorkflowBlockConditionWhereUniqueInput | Prisma.WorkflowBlockConditionWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockConditionWhereUniqueInput | Prisma.WorkflowBlockConditionWhereUniqueInput[]
delete?: Prisma.WorkflowBlockConditionWhereUniqueInput | Prisma.WorkflowBlockConditionWhereUniqueInput[]
connect?: Prisma.WorkflowBlockConditionWhereUniqueInput | Prisma.WorkflowBlockConditionWhereUniqueInput[]
update?: Prisma.WorkflowBlockConditionUpdateWithWhereUniqueWithoutWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionUpdateWithWhereUniqueWithoutWorkflowBlockConditionGroupInput[]
updateMany?: Prisma.WorkflowBlockConditionUpdateManyWithWhereWithoutWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionUpdateManyWithWhereWithoutWorkflowBlockConditionGroupInput[]
deleteMany?: Prisma.WorkflowBlockConditionScalarWhereInput | Prisma.WorkflowBlockConditionScalarWhereInput[]
}
export type WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput = {
id?: string
index: number
variable: string
operator: string
value: string
}
export type WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput = {
id?: string
index: number
variable: string
operator: string
value: string
}
export type WorkflowBlockConditionCreateOrConnectWithoutWorkflowBlockConditionGroupInput = {
where: Prisma.WorkflowBlockConditionWhereUniqueInput
create: Prisma.XOR<Prisma.WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput, Prisma.WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput>
}
export type WorkflowBlockConditionCreateManyWorkflowBlockConditionGroupInputEnvelope = {
data: Prisma.WorkflowBlockConditionCreateManyWorkflowBlockConditionGroupInput | Prisma.WorkflowBlockConditionCreateManyWorkflowBlockConditionGroupInput[]
skipDuplicates?: boolean
}
export type WorkflowBlockConditionUpsertWithWhereUniqueWithoutWorkflowBlockConditionGroupInput = {
where: Prisma.WorkflowBlockConditionWhereUniqueInput
update: Prisma.XOR<Prisma.WorkflowBlockConditionUpdateWithoutWorkflowBlockConditionGroupInput, Prisma.WorkflowBlockConditionUncheckedUpdateWithoutWorkflowBlockConditionGroupInput>
create: Prisma.XOR<Prisma.WorkflowBlockConditionCreateWithoutWorkflowBlockConditionGroupInput, Prisma.WorkflowBlockConditionUncheckedCreateWithoutWorkflowBlockConditionGroupInput>
}
export type WorkflowBlockConditionUpdateWithWhereUniqueWithoutWorkflowBlockConditionGroupInput = {
where: Prisma.WorkflowBlockConditionWhereUniqueInput
data: Prisma.XOR<Prisma.WorkflowBlockConditionUpdateWithoutWorkflowBlockConditionGroupInput, Prisma.WorkflowBlockConditionUncheckedUpdateWithoutWorkflowBlockConditionGroupInput>
}
export type WorkflowBlockConditionUpdateManyWithWhereWithoutWorkflowBlockConditionGroupInput = {
where: Prisma.WorkflowBlockConditionScalarWhereInput
data: Prisma.XOR<Prisma.WorkflowBlockConditionUpdateManyMutationInput, Prisma.WorkflowBlockConditionUncheckedUpdateManyWithoutWorkflowBlockConditionGroupInput>
}
export type WorkflowBlockConditionScalarWhereInput = {
AND?: Prisma.WorkflowBlockConditionScalarWhereInput | Prisma.WorkflowBlockConditionScalarWhereInput[]
OR?: Prisma.WorkflowBlockConditionScalarWhereInput[]
NOT?: Prisma.WorkflowBlockConditionScalarWhereInput | Prisma.WorkflowBlockConditionScalarWhereInput[]
id?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
workflowBlockConditionGroupId?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
index?: Prisma.IntFilter<"WorkflowBlockCondition"> | number
variable?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
operator?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
value?: Prisma.StringFilter<"WorkflowBlockCondition"> | string
}
export type WorkflowBlockConditionCreateManyWorkflowBlockConditionGroupInput = {
id?: string
index: number
variable: string
operator: string
value: string
}
export type WorkflowBlockConditionUpdateWithoutWorkflowBlockConditionGroupInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
index?: Prisma.IntFieldUpdateOperationsInput | number
variable?: Prisma.StringFieldUpdateOperationsInput | string
operator?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type WorkflowBlockConditionUncheckedUpdateWithoutWorkflowBlockConditionGroupInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
index?: Prisma.IntFieldUpdateOperationsInput | number
variable?: Prisma.StringFieldUpdateOperationsInput | string
operator?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type WorkflowBlockConditionUncheckedUpdateManyWithoutWorkflowBlockConditionGroupInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
index?: Prisma.IntFieldUpdateOperationsInput | number
variable?: Prisma.StringFieldUpdateOperationsInput | string
operator?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type WorkflowBlockConditionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
workflowBlockConditionGroupId?: boolean
index?: boolean
variable?: boolean
operator?: boolean
value?: boolean
workflowBlockConditionGroup?: boolean | Prisma.WorkflowBlockConditionGroupDefaultArgs<ExtArgs>
}, ExtArgs["result"]["workflowBlockCondition"]>
export type WorkflowBlockConditionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
workflowBlockConditionGroupId?: boolean
index?: boolean
variable?: boolean
operator?: boolean
value?: boolean
workflowBlockConditionGroup?: boolean | Prisma.WorkflowBlockConditionGroupDefaultArgs<ExtArgs>
}, ExtArgs["result"]["workflowBlockCondition"]>
export type WorkflowBlockConditionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
workflowBlockConditionGroupId?: boolean
index?: boolean
variable?: boolean
operator?: boolean
value?: boolean
workflowBlockConditionGroup?: boolean | Prisma.WorkflowBlockConditionGroupDefaultArgs<ExtArgs>
}, ExtArgs["result"]["workflowBlockCondition"]>
export type WorkflowBlockConditionSelectScalar = {
id?: boolean
workflowBlockConditionGroupId?: boolean
index?: boolean
variable?: boolean
operator?: boolean
value?: boolean
}
export type WorkflowBlockConditionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "workflowBlockConditionGroupId" | "index" | "variable" | "operator" | "value", ExtArgs["result"]["workflowBlockCondition"]>
export type WorkflowBlockConditionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
workflowBlockConditionGroup?: boolean | Prisma.WorkflowBlockConditionGroupDefaultArgs<ExtArgs>
}
export type WorkflowBlockConditionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
workflowBlockConditionGroup?: boolean | Prisma.WorkflowBlockConditionGroupDefaultArgs<ExtArgs>
}
export type WorkflowBlockConditionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
workflowBlockConditionGroup?: boolean | Prisma.WorkflowBlockConditionGroupDefaultArgs<ExtArgs>
}
export type $WorkflowBlockConditionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "WorkflowBlockCondition"
objects: {
workflowBlockConditionGroup: Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
workflowBlockConditionGroupId: string
index: number
variable: string
operator: string
value: string
}, ExtArgs["result"]["workflowBlockCondition"]>
composites: {}
}
export type WorkflowBlockConditionGetPayload<S extends boolean | null | undefined | WorkflowBlockConditionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload, S>
export type WorkflowBlockConditionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<WorkflowBlockConditionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: WorkflowBlockConditionCountAggregateInputType | true
}
export interface WorkflowBlockConditionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkflowBlockCondition'], meta: { name: 'WorkflowBlockCondition' } }
/**
* Find zero or one WorkflowBlockCondition that matches the filter.
* @param {WorkflowBlockConditionFindUniqueArgs} args - Arguments to find a WorkflowBlockCondition
* @example
* // Get one WorkflowBlockCondition
* const workflowBlockCondition = await prisma.workflowBlockCondition.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends WorkflowBlockConditionFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one WorkflowBlockCondition that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {WorkflowBlockConditionFindUniqueOrThrowArgs} args - Arguments to find a WorkflowBlockCondition
* @example
* // Get one WorkflowBlockCondition
* const workflowBlockCondition = await prisma.workflowBlockCondition.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends WorkflowBlockConditionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first WorkflowBlockCondition 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 {WorkflowBlockConditionFindFirstArgs} args - Arguments to find a WorkflowBlockCondition
* @example
* // Get one WorkflowBlockCondition
* const workflowBlockCondition = await prisma.workflowBlockCondition.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends WorkflowBlockConditionFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first WorkflowBlockCondition 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 {WorkflowBlockConditionFindFirstOrThrowArgs} args - Arguments to find a WorkflowBlockCondition
* @example
* // Get one WorkflowBlockCondition
* const workflowBlockCondition = await prisma.workflowBlockCondition.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends WorkflowBlockConditionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more WorkflowBlockConditions 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 {WorkflowBlockConditionFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all WorkflowBlockConditions
* const workflowBlockConditions = await prisma.workflowBlockCondition.findMany()
*
* // Get first 10 WorkflowBlockConditions
* const workflowBlockConditions = await prisma.workflowBlockCondition.findMany({ take: 10 })
*
* // Only select the `id`
* const workflowBlockConditionWithIdOnly = await prisma.workflowBlockCondition.findMany({ select: { id: true } })
*
*/
findMany<T extends WorkflowBlockConditionFindManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a WorkflowBlockCondition.
* @param {WorkflowBlockConditionCreateArgs} args - Arguments to create a WorkflowBlockCondition.
* @example
* // Create one WorkflowBlockCondition
* const WorkflowBlockCondition = await prisma.workflowBlockCondition.create({
* data: {
* // ... data to create a WorkflowBlockCondition
* }
* })
*
*/
create<T extends WorkflowBlockConditionCreateArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionCreateArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many WorkflowBlockConditions.
* @param {WorkflowBlockConditionCreateManyArgs} args - Arguments to create many WorkflowBlockConditions.
* @example
* // Create many WorkflowBlockConditions
* const workflowBlockCondition = await prisma.workflowBlockCondition.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends WorkflowBlockConditionCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many WorkflowBlockConditions and returns the data saved in the database.
* @param {WorkflowBlockConditionCreateManyAndReturnArgs} args - Arguments to create many WorkflowBlockConditions.
* @example
* // Create many WorkflowBlockConditions
* const workflowBlockCondition = await prisma.workflowBlockCondition.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many WorkflowBlockConditions and only return the `id`
* const workflowBlockConditionWithIdOnly = await prisma.workflowBlockCondition.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 WorkflowBlockConditionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a WorkflowBlockCondition.
* @param {WorkflowBlockConditionDeleteArgs} args - Arguments to delete one WorkflowBlockCondition.
* @example
* // Delete one WorkflowBlockCondition
* const WorkflowBlockCondition = await prisma.workflowBlockCondition.delete({
* where: {
* // ... filter to delete one WorkflowBlockCondition
* }
* })
*
*/
delete<T extends WorkflowBlockConditionDeleteArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one WorkflowBlockCondition.
* @param {WorkflowBlockConditionUpdateArgs} args - Arguments to update one WorkflowBlockCondition.
* @example
* // Update one WorkflowBlockCondition
* const workflowBlockCondition = await prisma.workflowBlockCondition.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends WorkflowBlockConditionUpdateArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more WorkflowBlockConditions.
* @param {WorkflowBlockConditionDeleteManyArgs} args - Arguments to filter WorkflowBlockConditions to delete.
* @example
* // Delete a few WorkflowBlockConditions
* const { count } = await prisma.workflowBlockCondition.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends WorkflowBlockConditionDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more WorkflowBlockConditions.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockConditionUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many WorkflowBlockConditions
* const workflowBlockCondition = await prisma.workflowBlockCondition.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends WorkflowBlockConditionUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more WorkflowBlockConditions and returns the data updated in the database.
* @param {WorkflowBlockConditionUpdateManyAndReturnArgs} args - Arguments to update many WorkflowBlockConditions.
* @example
* // Update many WorkflowBlockConditions
* const workflowBlockCondition = await prisma.workflowBlockCondition.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more WorkflowBlockConditions and only return the `id`
* const workflowBlockConditionWithIdOnly = await prisma.workflowBlockCondition.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 WorkflowBlockConditionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one WorkflowBlockCondition.
* @param {WorkflowBlockConditionUpsertArgs} args - Arguments to update or create a WorkflowBlockCondition.
* @example
* // Update or create a WorkflowBlockCondition
* const workflowBlockCondition = await prisma.workflowBlockCondition.upsert({
* create: {
* // ... data to create a WorkflowBlockCondition
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the WorkflowBlockCondition we want to update
* }
* })
*/
upsert<T extends WorkflowBlockConditionUpsertArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of WorkflowBlockConditions.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockConditionCountArgs} args - Arguments to filter WorkflowBlockConditions to count.
* @example
* // Count the number of WorkflowBlockConditions
* const count = await prisma.workflowBlockCondition.count({
* where: {
* // ... the filter for the WorkflowBlockConditions we want to count
* }
* })
**/
count<T extends WorkflowBlockConditionCountArgs>(
args?: Prisma.Subset<T, WorkflowBlockConditionCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], WorkflowBlockConditionCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a WorkflowBlockCondition.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockConditionAggregateArgs} 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 WorkflowBlockConditionAggregateArgs>(args: Prisma.Subset<T, WorkflowBlockConditionAggregateArgs>): Prisma.PrismaPromise<GetWorkflowBlockConditionAggregateType<T>>
/**
* Group by WorkflowBlockCondition.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockConditionGroupByArgs} 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 WorkflowBlockConditionGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: WorkflowBlockConditionGroupByArgs['orderBy'] }
: { orderBy?: WorkflowBlockConditionGroupByArgs['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, WorkflowBlockConditionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowBlockConditionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the WorkflowBlockCondition model
*/
readonly fields: WorkflowBlockConditionFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for WorkflowBlockCondition.
* 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__WorkflowBlockConditionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
workflowBlockConditionGroup<T extends Prisma.WorkflowBlockConditionGroupDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlockConditionGroupDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionGroupClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the WorkflowBlockCondition model
*/
export interface WorkflowBlockConditionFieldRefs {
readonly id: Prisma.FieldRef<"WorkflowBlockCondition", 'String'>
readonly workflowBlockConditionGroupId: Prisma.FieldRef<"WorkflowBlockCondition", 'String'>
readonly index: Prisma.FieldRef<"WorkflowBlockCondition", 'Int'>
readonly variable: Prisma.FieldRef<"WorkflowBlockCondition", 'String'>
readonly operator: Prisma.FieldRef<"WorkflowBlockCondition", 'String'>
readonly value: Prisma.FieldRef<"WorkflowBlockCondition", 'String'>
}
// Custom InputTypes
/**
* WorkflowBlockCondition findUnique
*/
export type WorkflowBlockConditionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockCondition to fetch.
*/
where: Prisma.WorkflowBlockConditionWhereUniqueInput
}
/**
* WorkflowBlockCondition findUniqueOrThrow
*/
export type WorkflowBlockConditionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockCondition to fetch.
*/
where: Prisma.WorkflowBlockConditionWhereUniqueInput
}
/**
* WorkflowBlockCondition findFirst
*/
export type WorkflowBlockConditionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockCondition to fetch.
*/
where?: Prisma.WorkflowBlockConditionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockConditions to fetch.
*/
orderBy?: Prisma.WorkflowBlockConditionOrderByWithRelationInput | Prisma.WorkflowBlockConditionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for WorkflowBlockConditions.
*/
cursor?: Prisma.WorkflowBlockConditionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockConditions 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` WorkflowBlockConditions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of WorkflowBlockConditions.
*/
distinct?: Prisma.WorkflowBlockConditionScalarFieldEnum | Prisma.WorkflowBlockConditionScalarFieldEnum[]
}
/**
* WorkflowBlockCondition findFirstOrThrow
*/
export type WorkflowBlockConditionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockCondition to fetch.
*/
where?: Prisma.WorkflowBlockConditionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockConditions to fetch.
*/
orderBy?: Prisma.WorkflowBlockConditionOrderByWithRelationInput | Prisma.WorkflowBlockConditionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for WorkflowBlockConditions.
*/
cursor?: Prisma.WorkflowBlockConditionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockConditions 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` WorkflowBlockConditions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of WorkflowBlockConditions.
*/
distinct?: Prisma.WorkflowBlockConditionScalarFieldEnum | Prisma.WorkflowBlockConditionScalarFieldEnum[]
}
/**
* WorkflowBlockCondition findMany
*/
export type WorkflowBlockConditionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockConditions to fetch.
*/
where?: Prisma.WorkflowBlockConditionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockConditions to fetch.
*/
orderBy?: Prisma.WorkflowBlockConditionOrderByWithRelationInput | Prisma.WorkflowBlockConditionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing WorkflowBlockConditions.
*/
cursor?: Prisma.WorkflowBlockConditionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockConditions 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` WorkflowBlockConditions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of WorkflowBlockConditions.
*/
distinct?: Prisma.WorkflowBlockConditionScalarFieldEnum | Prisma.WorkflowBlockConditionScalarFieldEnum[]
}
/**
* WorkflowBlockCondition create
*/
export type WorkflowBlockConditionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
/**
* The data needed to create a WorkflowBlockCondition.
*/
data: Prisma.XOR<Prisma.WorkflowBlockConditionCreateInput, Prisma.WorkflowBlockConditionUncheckedCreateInput>
}
/**
* WorkflowBlockCondition createMany
*/
export type WorkflowBlockConditionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many WorkflowBlockConditions.
*/
data: Prisma.WorkflowBlockConditionCreateManyInput | Prisma.WorkflowBlockConditionCreateManyInput[]
skipDuplicates?: boolean
}
/**
* WorkflowBlockCondition createManyAndReturn
*/
export type WorkflowBlockConditionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* The data used to create many WorkflowBlockConditions.
*/
data: Prisma.WorkflowBlockConditionCreateManyInput | Prisma.WorkflowBlockConditionCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* WorkflowBlockCondition update
*/
export type WorkflowBlockConditionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
/**
* The data needed to update a WorkflowBlockCondition.
*/
data: Prisma.XOR<Prisma.WorkflowBlockConditionUpdateInput, Prisma.WorkflowBlockConditionUncheckedUpdateInput>
/**
* Choose, which WorkflowBlockCondition to update.
*/
where: Prisma.WorkflowBlockConditionWhereUniqueInput
}
/**
* WorkflowBlockCondition updateMany
*/
export type WorkflowBlockConditionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update WorkflowBlockConditions.
*/
data: Prisma.XOR<Prisma.WorkflowBlockConditionUpdateManyMutationInput, Prisma.WorkflowBlockConditionUncheckedUpdateManyInput>
/**
* Filter which WorkflowBlockConditions to update
*/
where?: Prisma.WorkflowBlockConditionWhereInput
/**
* Limit how many WorkflowBlockConditions to update.
*/
limit?: number
}
/**
* WorkflowBlockCondition updateManyAndReturn
*/
export type WorkflowBlockConditionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* The data used to update WorkflowBlockConditions.
*/
data: Prisma.XOR<Prisma.WorkflowBlockConditionUpdateManyMutationInput, Prisma.WorkflowBlockConditionUncheckedUpdateManyInput>
/**
* Filter which WorkflowBlockConditions to update
*/
where?: Prisma.WorkflowBlockConditionWhereInput
/**
* Limit how many WorkflowBlockConditions to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* WorkflowBlockCondition upsert
*/
export type WorkflowBlockConditionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
/**
* The filter to search for the WorkflowBlockCondition to update in case it exists.
*/
where: Prisma.WorkflowBlockConditionWhereUniqueInput
/**
* In case the WorkflowBlockCondition found by the `where` argument doesn't exist, create a new WorkflowBlockCondition with this data.
*/
create: Prisma.XOR<Prisma.WorkflowBlockConditionCreateInput, Prisma.WorkflowBlockConditionUncheckedCreateInput>
/**
* In case the WorkflowBlockCondition was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.WorkflowBlockConditionUpdateInput, Prisma.WorkflowBlockConditionUncheckedUpdateInput>
}
/**
* WorkflowBlockCondition delete
*/
export type WorkflowBlockConditionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
/**
* Filter which WorkflowBlockCondition to delete.
*/
where: Prisma.WorkflowBlockConditionWhereUniqueInput
}
/**
* WorkflowBlockCondition deleteMany
*/
export type WorkflowBlockConditionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which WorkflowBlockConditions to delete
*/
where?: Prisma.WorkflowBlockConditionWhereInput
/**
* Limit how many WorkflowBlockConditions to delete.
*/
limit?: number
}
/**
* WorkflowBlockCondition without action
*/
export type WorkflowBlockConditionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockCondition
*/
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockCondition
*/
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
}