/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `WorkflowBlock` 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 WorkflowBlock * */ export type WorkflowBlockModel = runtime.Types.Result.DefaultSelection export type AggregateWorkflowBlock = { _count: WorkflowBlockCountAggregateOutputType | null _min: WorkflowBlockMinAggregateOutputType | null _max: WorkflowBlockMaxAggregateOutputType | null } export type WorkflowBlockMinAggregateOutputType = { id: string | null workflowId: string | null createdAt: Date | null updatedAt: Date | null type: string | null description: string | null isTrigger: boolean | null isBlock: boolean | null input: string | null } export type WorkflowBlockMaxAggregateOutputType = { id: string | null workflowId: string | null createdAt: Date | null updatedAt: Date | null type: string | null description: string | null isTrigger: boolean | null isBlock: boolean | null input: string | null } export type WorkflowBlockCountAggregateOutputType = { id: number workflowId: number createdAt: number updatedAt: number type: number description: number isTrigger: number isBlock: number input: number _all: number } export type WorkflowBlockMinAggregateInputType = { id?: true workflowId?: true createdAt?: true updatedAt?: true type?: true description?: true isTrigger?: true isBlock?: true input?: true } export type WorkflowBlockMaxAggregateInputType = { id?: true workflowId?: true createdAt?: true updatedAt?: true type?: true description?: true isTrigger?: true isBlock?: true input?: true } export type WorkflowBlockCountAggregateInputType = { id?: true workflowId?: true createdAt?: true updatedAt?: true type?: true description?: true isTrigger?: true isBlock?: true input?: true _all?: true } export type WorkflowBlockAggregateArgs = { /** * Filter which WorkflowBlock to aggregate. */ where?: Prisma.WorkflowBlockWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowBlocks to fetch. */ orderBy?: Prisma.WorkflowBlockOrderByWithRelationInput | Prisma.WorkflowBlockOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.WorkflowBlockWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowBlocks 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` WorkflowBlocks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned WorkflowBlocks **/ _count?: true | WorkflowBlockCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: WorkflowBlockMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: WorkflowBlockMaxAggregateInputType } export type GetWorkflowBlockAggregateType = { [P in keyof T & keyof AggregateWorkflowBlock]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type WorkflowBlockGroupByArgs = { where?: Prisma.WorkflowBlockWhereInput orderBy?: Prisma.WorkflowBlockOrderByWithAggregationInput | Prisma.WorkflowBlockOrderByWithAggregationInput[] by: Prisma.WorkflowBlockScalarFieldEnum[] | Prisma.WorkflowBlockScalarFieldEnum having?: Prisma.WorkflowBlockScalarWhereWithAggregatesInput take?: number skip?: number _count?: WorkflowBlockCountAggregateInputType | true _min?: WorkflowBlockMinAggregateInputType _max?: WorkflowBlockMaxAggregateInputType } export type WorkflowBlockGroupByOutputType = { id: string workflowId: string createdAt: Date updatedAt: Date type: string description: string isTrigger: boolean isBlock: boolean input: string _count: WorkflowBlockCountAggregateOutputType | null _min: WorkflowBlockMinAggregateOutputType | null _max: WorkflowBlockMaxAggregateOutputType | null } export type GetWorkflowBlockGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof WorkflowBlockGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type WorkflowBlockWhereInput = { AND?: Prisma.WorkflowBlockWhereInput | Prisma.WorkflowBlockWhereInput[] OR?: Prisma.WorkflowBlockWhereInput[] NOT?: Prisma.WorkflowBlockWhereInput | Prisma.WorkflowBlockWhereInput[] id?: Prisma.StringFilter<"WorkflowBlock"> | string workflowId?: Prisma.StringFilter<"WorkflowBlock"> | string createdAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string updatedAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string type?: Prisma.StringFilter<"WorkflowBlock"> | string description?: Prisma.StringFilter<"WorkflowBlock"> | string isTrigger?: Prisma.BoolFilter<"WorkflowBlock"> | boolean isBlock?: Prisma.BoolFilter<"WorkflowBlock"> | boolean input?: Prisma.StringFilter<"WorkflowBlock"> | string workflow?: Prisma.XOR fromBlocks?: Prisma.WorkflowBlockToBlockListRelationFilter toBlocks?: Prisma.WorkflowBlockToBlockListRelationFilter executions?: Prisma.WorkflowBlockExecutionListRelationFilter fromExecutions?: Prisma.WorkflowBlockExecutionListRelationFilter conditionsGroups?: Prisma.WorkflowBlockConditionGroupListRelationFilter waitingInExecutions?: Prisma.WorkflowExecutionListRelationFilter } export type WorkflowBlockOrderByWithRelationInput = { id?: Prisma.SortOrder workflowId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder type?: Prisma.SortOrder description?: Prisma.SortOrder isTrigger?: Prisma.SortOrder isBlock?: Prisma.SortOrder input?: Prisma.SortOrder workflow?: Prisma.WorkflowOrderByWithRelationInput fromBlocks?: Prisma.WorkflowBlockToBlockOrderByRelationAggregateInput toBlocks?: Prisma.WorkflowBlockToBlockOrderByRelationAggregateInput executions?: Prisma.WorkflowBlockExecutionOrderByRelationAggregateInput fromExecutions?: Prisma.WorkflowBlockExecutionOrderByRelationAggregateInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupOrderByRelationAggregateInput waitingInExecutions?: Prisma.WorkflowExecutionOrderByRelationAggregateInput } export type WorkflowBlockWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.WorkflowBlockWhereInput | Prisma.WorkflowBlockWhereInput[] OR?: Prisma.WorkflowBlockWhereInput[] NOT?: Prisma.WorkflowBlockWhereInput | Prisma.WorkflowBlockWhereInput[] workflowId?: Prisma.StringFilter<"WorkflowBlock"> | string createdAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string updatedAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string type?: Prisma.StringFilter<"WorkflowBlock"> | string description?: Prisma.StringFilter<"WorkflowBlock"> | string isTrigger?: Prisma.BoolFilter<"WorkflowBlock"> | boolean isBlock?: Prisma.BoolFilter<"WorkflowBlock"> | boolean input?: Prisma.StringFilter<"WorkflowBlock"> | string workflow?: Prisma.XOR fromBlocks?: Prisma.WorkflowBlockToBlockListRelationFilter toBlocks?: Prisma.WorkflowBlockToBlockListRelationFilter executions?: Prisma.WorkflowBlockExecutionListRelationFilter fromExecutions?: Prisma.WorkflowBlockExecutionListRelationFilter conditionsGroups?: Prisma.WorkflowBlockConditionGroupListRelationFilter waitingInExecutions?: Prisma.WorkflowExecutionListRelationFilter }, "id"> export type WorkflowBlockOrderByWithAggregationInput = { id?: Prisma.SortOrder workflowId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder type?: Prisma.SortOrder description?: Prisma.SortOrder isTrigger?: Prisma.SortOrder isBlock?: Prisma.SortOrder input?: Prisma.SortOrder _count?: Prisma.WorkflowBlockCountOrderByAggregateInput _max?: Prisma.WorkflowBlockMaxOrderByAggregateInput _min?: Prisma.WorkflowBlockMinOrderByAggregateInput } export type WorkflowBlockScalarWhereWithAggregatesInput = { AND?: Prisma.WorkflowBlockScalarWhereWithAggregatesInput | Prisma.WorkflowBlockScalarWhereWithAggregatesInput[] OR?: Prisma.WorkflowBlockScalarWhereWithAggregatesInput[] NOT?: Prisma.WorkflowBlockScalarWhereWithAggregatesInput | Prisma.WorkflowBlockScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"WorkflowBlock"> | string workflowId?: Prisma.StringWithAggregatesFilter<"WorkflowBlock"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowBlock"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowBlock"> | Date | string type?: Prisma.StringWithAggregatesFilter<"WorkflowBlock"> | string description?: Prisma.StringWithAggregatesFilter<"WorkflowBlock"> | string isTrigger?: Prisma.BoolWithAggregatesFilter<"WorkflowBlock"> | boolean isBlock?: Prisma.BoolWithAggregatesFilter<"WorkflowBlock"> | boolean input?: Prisma.StringWithAggregatesFilter<"WorkflowBlock"> | string } export type WorkflowBlockCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockUncheckedCreateInput = { id?: string workflowId: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string workflowId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockCreateManyInput = { id?: string workflowId: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string } export type WorkflowBlockUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string } export type WorkflowBlockUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string workflowId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string } export type WorkflowBlockListRelationFilter = { every?: Prisma.WorkflowBlockWhereInput some?: Prisma.WorkflowBlockWhereInput none?: Prisma.WorkflowBlockWhereInput } export type WorkflowBlockOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type WorkflowBlockCountOrderByAggregateInput = { id?: Prisma.SortOrder workflowId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder type?: Prisma.SortOrder description?: Prisma.SortOrder isTrigger?: Prisma.SortOrder isBlock?: Prisma.SortOrder input?: Prisma.SortOrder } export type WorkflowBlockMaxOrderByAggregateInput = { id?: Prisma.SortOrder workflowId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder type?: Prisma.SortOrder description?: Prisma.SortOrder isTrigger?: Prisma.SortOrder isBlock?: Prisma.SortOrder input?: Prisma.SortOrder } export type WorkflowBlockMinOrderByAggregateInput = { id?: Prisma.SortOrder workflowId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder type?: Prisma.SortOrder description?: Prisma.SortOrder isTrigger?: Prisma.SortOrder isBlock?: Prisma.SortOrder input?: Prisma.SortOrder } export type WorkflowBlockScalarRelationFilter = { is?: Prisma.WorkflowBlockWhereInput isNot?: Prisma.WorkflowBlockWhereInput } export type WorkflowBlockNullableScalarRelationFilter = { is?: Prisma.WorkflowBlockWhereInput | null isNot?: Prisma.WorkflowBlockWhereInput | null } export type WorkflowBlockCreateNestedManyWithoutWorkflowInput = { create?: Prisma.XOR | Prisma.WorkflowBlockCreateWithoutWorkflowInput[] | Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput[] connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput[] createMany?: Prisma.WorkflowBlockCreateManyWorkflowInputEnvelope connect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[] } export type WorkflowBlockUncheckedCreateNestedManyWithoutWorkflowInput = { create?: Prisma.XOR | Prisma.WorkflowBlockCreateWithoutWorkflowInput[] | Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput[] connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput[] createMany?: Prisma.WorkflowBlockCreateManyWorkflowInputEnvelope connect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[] } export type WorkflowBlockUpdateManyWithoutWorkflowNestedInput = { create?: Prisma.XOR | Prisma.WorkflowBlockCreateWithoutWorkflowInput[] | Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput[] connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput[] upsert?: Prisma.WorkflowBlockUpsertWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowBlockUpsertWithWhereUniqueWithoutWorkflowInput[] createMany?: Prisma.WorkflowBlockCreateManyWorkflowInputEnvelope set?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[] disconnect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[] delete?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[] connect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[] update?: Prisma.WorkflowBlockUpdateWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowBlockUpdateWithWhereUniqueWithoutWorkflowInput[] updateMany?: Prisma.WorkflowBlockUpdateManyWithWhereWithoutWorkflowInput | Prisma.WorkflowBlockUpdateManyWithWhereWithoutWorkflowInput[] deleteMany?: Prisma.WorkflowBlockScalarWhereInput | Prisma.WorkflowBlockScalarWhereInput[] } export type WorkflowBlockUncheckedUpdateManyWithoutWorkflowNestedInput = { create?: Prisma.XOR | Prisma.WorkflowBlockCreateWithoutWorkflowInput[] | Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput[] connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput[] upsert?: Prisma.WorkflowBlockUpsertWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowBlockUpsertWithWhereUniqueWithoutWorkflowInput[] createMany?: Prisma.WorkflowBlockCreateManyWorkflowInputEnvelope set?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[] disconnect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[] delete?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[] connect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[] update?: Prisma.WorkflowBlockUpdateWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowBlockUpdateWithWhereUniqueWithoutWorkflowInput[] updateMany?: Prisma.WorkflowBlockUpdateManyWithWhereWithoutWorkflowInput | Prisma.WorkflowBlockUpdateManyWithWhereWithoutWorkflowInput[] deleteMany?: Prisma.WorkflowBlockScalarWhereInput | Prisma.WorkflowBlockScalarWhereInput[] } export type WorkflowBlockCreateNestedOneWithoutConditionsGroupsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutConditionsGroupsInput connect?: Prisma.WorkflowBlockWhereUniqueInput } export type WorkflowBlockUpdateOneRequiredWithoutConditionsGroupsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutConditionsGroupsInput upsert?: Prisma.WorkflowBlockUpsertWithoutConditionsGroupsInput connect?: Prisma.WorkflowBlockWhereUniqueInput update?: Prisma.XOR, Prisma.WorkflowBlockUncheckedUpdateWithoutConditionsGroupsInput> } export type WorkflowBlockCreateNestedOneWithoutToBlocksInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutToBlocksInput connect?: Prisma.WorkflowBlockWhereUniqueInput } export type WorkflowBlockCreateNestedOneWithoutFromBlocksInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutFromBlocksInput connect?: Prisma.WorkflowBlockWhereUniqueInput } export type WorkflowBlockUpdateOneRequiredWithoutToBlocksNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutToBlocksInput upsert?: Prisma.WorkflowBlockUpsertWithoutToBlocksInput connect?: Prisma.WorkflowBlockWhereUniqueInput update?: Prisma.XOR, Prisma.WorkflowBlockUncheckedUpdateWithoutToBlocksInput> } export type WorkflowBlockUpdateOneRequiredWithoutFromBlocksNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutFromBlocksInput upsert?: Prisma.WorkflowBlockUpsertWithoutFromBlocksInput connect?: Prisma.WorkflowBlockWhereUniqueInput update?: Prisma.XOR, Prisma.WorkflowBlockUncheckedUpdateWithoutFromBlocksInput> } export type WorkflowBlockCreateNestedOneWithoutWaitingInExecutionsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWaitingInExecutionsInput connect?: Prisma.WorkflowBlockWhereUniqueInput } export type WorkflowBlockUpdateOneWithoutWaitingInExecutionsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWaitingInExecutionsInput upsert?: Prisma.WorkflowBlockUpsertWithoutWaitingInExecutionsInput disconnect?: Prisma.WorkflowBlockWhereInput | boolean delete?: Prisma.WorkflowBlockWhereInput | boolean connect?: Prisma.WorkflowBlockWhereUniqueInput update?: Prisma.XOR, Prisma.WorkflowBlockUncheckedUpdateWithoutWaitingInExecutionsInput> } export type WorkflowBlockCreateNestedOneWithoutExecutionsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutExecutionsInput connect?: Prisma.WorkflowBlockWhereUniqueInput } export type WorkflowBlockCreateNestedOneWithoutFromExecutionsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutFromExecutionsInput connect?: Prisma.WorkflowBlockWhereUniqueInput } export type WorkflowBlockUpdateOneRequiredWithoutExecutionsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutExecutionsInput upsert?: Prisma.WorkflowBlockUpsertWithoutExecutionsInput connect?: Prisma.WorkflowBlockWhereUniqueInput update?: Prisma.XOR, Prisma.WorkflowBlockUncheckedUpdateWithoutExecutionsInput> } export type WorkflowBlockUpdateOneWithoutFromExecutionsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutFromExecutionsInput upsert?: Prisma.WorkflowBlockUpsertWithoutFromExecutionsInput disconnect?: Prisma.WorkflowBlockWhereInput | boolean delete?: Prisma.WorkflowBlockWhereInput | boolean connect?: Prisma.WorkflowBlockWhereUniqueInput update?: Prisma.XOR, Prisma.WorkflowBlockUncheckedUpdateWithoutFromExecutionsInput> } export type WorkflowBlockCreateWithoutWorkflowInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockUncheckedCreateWithoutWorkflowInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockCreateOrConnectWithoutWorkflowInput = { where: Prisma.WorkflowBlockWhereUniqueInput create: Prisma.XOR } export type WorkflowBlockCreateManyWorkflowInputEnvelope = { data: Prisma.WorkflowBlockCreateManyWorkflowInput | Prisma.WorkflowBlockCreateManyWorkflowInput[] skipDuplicates?: boolean } export type WorkflowBlockUpsertWithWhereUniqueWithoutWorkflowInput = { where: Prisma.WorkflowBlockWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type WorkflowBlockUpdateWithWhereUniqueWithoutWorkflowInput = { where: Prisma.WorkflowBlockWhereUniqueInput data: Prisma.XOR } export type WorkflowBlockUpdateManyWithWhereWithoutWorkflowInput = { where: Prisma.WorkflowBlockScalarWhereInput data: Prisma.XOR } export type WorkflowBlockScalarWhereInput = { AND?: Prisma.WorkflowBlockScalarWhereInput | Prisma.WorkflowBlockScalarWhereInput[] OR?: Prisma.WorkflowBlockScalarWhereInput[] NOT?: Prisma.WorkflowBlockScalarWhereInput | Prisma.WorkflowBlockScalarWhereInput[] id?: Prisma.StringFilter<"WorkflowBlock"> | string workflowId?: Prisma.StringFilter<"WorkflowBlock"> | string createdAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string updatedAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string type?: Prisma.StringFilter<"WorkflowBlock"> | string description?: Prisma.StringFilter<"WorkflowBlock"> | string isTrigger?: Prisma.BoolFilter<"WorkflowBlock"> | boolean isBlock?: Prisma.BoolFilter<"WorkflowBlock"> | boolean input?: Prisma.StringFilter<"WorkflowBlock"> | string } export type WorkflowBlockCreateWithoutConditionsGroupsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockUncheckedCreateWithoutConditionsGroupsInput = { id?: string workflowId: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockCreateOrConnectWithoutConditionsGroupsInput = { where: Prisma.WorkflowBlockWhereUniqueInput create: Prisma.XOR } export type WorkflowBlockUpsertWithoutConditionsGroupsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.WorkflowBlockWhereInput } export type WorkflowBlockUpdateToOneWithWhereWithoutConditionsGroupsInput = { where?: Prisma.WorkflowBlockWhereInput data: Prisma.XOR } export type WorkflowBlockUpdateWithoutConditionsGroupsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockUncheckedUpdateWithoutConditionsGroupsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string workflowId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockCreateWithoutToBlocksInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockUncheckedCreateWithoutToBlocksInput = { id?: string workflowId: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockCreateOrConnectWithoutToBlocksInput = { where: Prisma.WorkflowBlockWhereUniqueInput create: Prisma.XOR } export type WorkflowBlockCreateWithoutFromBlocksInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockUncheckedCreateWithoutFromBlocksInput = { id?: string workflowId: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockCreateOrConnectWithoutFromBlocksInput = { where: Prisma.WorkflowBlockWhereUniqueInput create: Prisma.XOR } export type WorkflowBlockUpsertWithoutToBlocksInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.WorkflowBlockWhereInput } export type WorkflowBlockUpdateToOneWithWhereWithoutToBlocksInput = { where?: Prisma.WorkflowBlockWhereInput data: Prisma.XOR } export type WorkflowBlockUpdateWithoutToBlocksInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockUncheckedUpdateWithoutToBlocksInput = { id?: Prisma.StringFieldUpdateOperationsInput | string workflowId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockUpsertWithoutFromBlocksInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.WorkflowBlockWhereInput } export type WorkflowBlockUpdateToOneWithWhereWithoutFromBlocksInput = { where?: Prisma.WorkflowBlockWhereInput data: Prisma.XOR } export type WorkflowBlockUpdateWithoutFromBlocksInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockUncheckedUpdateWithoutFromBlocksInput = { id?: Prisma.StringFieldUpdateOperationsInput | string workflowId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockCreateWithoutWaitingInExecutionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput } export type WorkflowBlockUncheckedCreateWithoutWaitingInExecutionsInput = { id?: string workflowId: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput } export type WorkflowBlockCreateOrConnectWithoutWaitingInExecutionsInput = { where: Prisma.WorkflowBlockWhereUniqueInput create: Prisma.XOR } export type WorkflowBlockUpsertWithoutWaitingInExecutionsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.WorkflowBlockWhereInput } export type WorkflowBlockUpdateToOneWithWhereWithoutWaitingInExecutionsInput = { where?: Prisma.WorkflowBlockWhereInput data: Prisma.XOR } export type WorkflowBlockUpdateWithoutWaitingInExecutionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput } export type WorkflowBlockUncheckedUpdateWithoutWaitingInExecutionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string workflowId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput } export type WorkflowBlockCreateWithoutExecutionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockUncheckedCreateWithoutExecutionsInput = { id?: string workflowId: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockCreateOrConnectWithoutExecutionsInput = { where: Prisma.WorkflowBlockWhereUniqueInput create: Prisma.XOR } export type WorkflowBlockCreateWithoutFromExecutionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockUncheckedCreateWithoutFromExecutionsInput = { id?: string workflowId: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput } export type WorkflowBlockCreateOrConnectWithoutFromExecutionsInput = { where: Prisma.WorkflowBlockWhereUniqueInput create: Prisma.XOR } export type WorkflowBlockUpsertWithoutExecutionsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.WorkflowBlockWhereInput } export type WorkflowBlockUpdateToOneWithWhereWithoutExecutionsInput = { where?: Prisma.WorkflowBlockWhereInput data: Prisma.XOR } export type WorkflowBlockUpdateWithoutExecutionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockUncheckedUpdateWithoutExecutionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string workflowId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockUpsertWithoutFromExecutionsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.WorkflowBlockWhereInput } export type WorkflowBlockUpdateToOneWithWhereWithoutFromExecutionsInput = { where?: Prisma.WorkflowBlockWhereInput data: Prisma.XOR } export type WorkflowBlockUpdateWithoutFromExecutionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockUncheckedUpdateWithoutFromExecutionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string workflowId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockCreateManyWorkflowInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string description: string isTrigger?: boolean isBlock?: boolean input: string } export type WorkflowBlockUpdateWithoutWorkflowInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockUncheckedUpdateWithoutWorkflowInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput } export type WorkflowBlockUncheckedUpdateManyWithoutWorkflowInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.StringFieldUpdateOperationsInput | string isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean input?: Prisma.StringFieldUpdateOperationsInput | string } /** * Count Type WorkflowBlockCountOutputType */ export type WorkflowBlockCountOutputType = { fromBlocks: number toBlocks: number executions: number fromExecutions: number conditionsGroups: number waitingInExecutions: number } export type WorkflowBlockCountOutputTypeSelect = { fromBlocks?: boolean | WorkflowBlockCountOutputTypeCountFromBlocksArgs toBlocks?: boolean | WorkflowBlockCountOutputTypeCountToBlocksArgs executions?: boolean | WorkflowBlockCountOutputTypeCountExecutionsArgs fromExecutions?: boolean | WorkflowBlockCountOutputTypeCountFromExecutionsArgs conditionsGroups?: boolean | WorkflowBlockCountOutputTypeCountConditionsGroupsArgs waitingInExecutions?: boolean | WorkflowBlockCountOutputTypeCountWaitingInExecutionsArgs } /** * WorkflowBlockCountOutputType without action */ export type WorkflowBlockCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the WorkflowBlockCountOutputType */ select?: Prisma.WorkflowBlockCountOutputTypeSelect | null } /** * WorkflowBlockCountOutputType without action */ export type WorkflowBlockCountOutputTypeCountFromBlocksArgs = { where?: Prisma.WorkflowBlockToBlockWhereInput } /** * WorkflowBlockCountOutputType without action */ export type WorkflowBlockCountOutputTypeCountToBlocksArgs = { where?: Prisma.WorkflowBlockToBlockWhereInput } /** * WorkflowBlockCountOutputType without action */ export type WorkflowBlockCountOutputTypeCountExecutionsArgs = { where?: Prisma.WorkflowBlockExecutionWhereInput } /** * WorkflowBlockCountOutputType without action */ export type WorkflowBlockCountOutputTypeCountFromExecutionsArgs = { where?: Prisma.WorkflowBlockExecutionWhereInput } /** * WorkflowBlockCountOutputType without action */ export type WorkflowBlockCountOutputTypeCountConditionsGroupsArgs = { where?: Prisma.WorkflowBlockConditionGroupWhereInput } /** * WorkflowBlockCountOutputType without action */ export type WorkflowBlockCountOutputTypeCountWaitingInExecutionsArgs = { where?: Prisma.WorkflowExecutionWhereInput } export type WorkflowBlockSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean workflowId?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean description?: boolean isTrigger?: boolean isBlock?: boolean input?: boolean workflow?: boolean | Prisma.WorkflowDefaultArgs fromBlocks?: boolean | Prisma.WorkflowBlock$fromBlocksArgs toBlocks?: boolean | Prisma.WorkflowBlock$toBlocksArgs executions?: boolean | Prisma.WorkflowBlock$executionsArgs fromExecutions?: boolean | Prisma.WorkflowBlock$fromExecutionsArgs conditionsGroups?: boolean | Prisma.WorkflowBlock$conditionsGroupsArgs waitingInExecutions?: boolean | Prisma.WorkflowBlock$waitingInExecutionsArgs _count?: boolean | Prisma.WorkflowBlockCountOutputTypeDefaultArgs }, ExtArgs["result"]["workflowBlock"]> export type WorkflowBlockSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean workflowId?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean description?: boolean isTrigger?: boolean isBlock?: boolean input?: boolean workflow?: boolean | Prisma.WorkflowDefaultArgs }, ExtArgs["result"]["workflowBlock"]> export type WorkflowBlockSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean workflowId?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean description?: boolean isTrigger?: boolean isBlock?: boolean input?: boolean workflow?: boolean | Prisma.WorkflowDefaultArgs }, ExtArgs["result"]["workflowBlock"]> export type WorkflowBlockSelectScalar = { id?: boolean workflowId?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean description?: boolean isTrigger?: boolean isBlock?: boolean input?: boolean } export type WorkflowBlockOmit = runtime.Types.Extensions.GetOmit<"id" | "workflowId" | "createdAt" | "updatedAt" | "type" | "description" | "isTrigger" | "isBlock" | "input", ExtArgs["result"]["workflowBlock"]> export type WorkflowBlockInclude = { workflow?: boolean | Prisma.WorkflowDefaultArgs fromBlocks?: boolean | Prisma.WorkflowBlock$fromBlocksArgs toBlocks?: boolean | Prisma.WorkflowBlock$toBlocksArgs executions?: boolean | Prisma.WorkflowBlock$executionsArgs fromExecutions?: boolean | Prisma.WorkflowBlock$fromExecutionsArgs conditionsGroups?: boolean | Prisma.WorkflowBlock$conditionsGroupsArgs waitingInExecutions?: boolean | Prisma.WorkflowBlock$waitingInExecutionsArgs _count?: boolean | Prisma.WorkflowBlockCountOutputTypeDefaultArgs } export type WorkflowBlockIncludeCreateManyAndReturn = { workflow?: boolean | Prisma.WorkflowDefaultArgs } export type WorkflowBlockIncludeUpdateManyAndReturn = { workflow?: boolean | Prisma.WorkflowDefaultArgs } export type $WorkflowBlockPayload = { name: "WorkflowBlock" objects: { workflow: Prisma.$WorkflowPayload fromBlocks: Prisma.$WorkflowBlockToBlockPayload[] toBlocks: Prisma.$WorkflowBlockToBlockPayload[] executions: Prisma.$WorkflowBlockExecutionPayload[] fromExecutions: Prisma.$WorkflowBlockExecutionPayload[] conditionsGroups: Prisma.$WorkflowBlockConditionGroupPayload[] waitingInExecutions: Prisma.$WorkflowExecutionPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string workflowId: string createdAt: Date updatedAt: Date type: string description: string isTrigger: boolean isBlock: boolean input: string }, ExtArgs["result"]["workflowBlock"]> composites: {} } export type WorkflowBlockGetPayload = runtime.Types.Result.GetResult export type WorkflowBlockCountArgs = Omit & { select?: WorkflowBlockCountAggregateInputType | true } export interface WorkflowBlockDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['WorkflowBlock'], meta: { name: 'WorkflowBlock' } } /** * Find zero or one WorkflowBlock that matches the filter. * @param {WorkflowBlockFindUniqueArgs} args - Arguments to find a WorkflowBlock * @example * // Get one WorkflowBlock * const workflowBlock = await prisma.workflowBlock.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowBlockClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one WorkflowBlock that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {WorkflowBlockFindUniqueOrThrowArgs} args - Arguments to find a WorkflowBlock * @example * // Get one WorkflowBlock * const workflowBlock = await prisma.workflowBlock.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowBlockClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowBlock 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 {WorkflowBlockFindFirstArgs} args - Arguments to find a WorkflowBlock * @example * // Get one WorkflowBlock * const workflowBlock = await prisma.workflowBlock.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__WorkflowBlockClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowBlock 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 {WorkflowBlockFindFirstOrThrowArgs} args - Arguments to find a WorkflowBlock * @example * // Get one WorkflowBlock * const workflowBlock = await prisma.workflowBlock.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__WorkflowBlockClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more WorkflowBlocks 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 {WorkflowBlockFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all WorkflowBlocks * const workflowBlocks = await prisma.workflowBlock.findMany() * * // Get first 10 WorkflowBlocks * const workflowBlocks = await prisma.workflowBlock.findMany({ take: 10 }) * * // Only select the `id` * const workflowBlockWithIdOnly = await prisma.workflowBlock.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a WorkflowBlock. * @param {WorkflowBlockCreateArgs} args - Arguments to create a WorkflowBlock. * @example * // Create one WorkflowBlock * const WorkflowBlock = await prisma.workflowBlock.create({ * data: { * // ... data to create a WorkflowBlock * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowBlockClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many WorkflowBlocks. * @param {WorkflowBlockCreateManyArgs} args - Arguments to create many WorkflowBlocks. * @example * // Create many WorkflowBlocks * const workflowBlock = await prisma.workflowBlock.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many WorkflowBlocks and returns the data saved in the database. * @param {WorkflowBlockCreateManyAndReturnArgs} args - Arguments to create many WorkflowBlocks. * @example * // Create many WorkflowBlocks * const workflowBlock = await prisma.workflowBlock.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many WorkflowBlocks and only return the `id` * const workflowBlockWithIdOnly = await prisma.workflowBlock.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a WorkflowBlock. * @param {WorkflowBlockDeleteArgs} args - Arguments to delete one WorkflowBlock. * @example * // Delete one WorkflowBlock * const WorkflowBlock = await prisma.workflowBlock.delete({ * where: { * // ... filter to delete one WorkflowBlock * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowBlockClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one WorkflowBlock. * @param {WorkflowBlockUpdateArgs} args - Arguments to update one WorkflowBlock. * @example * // Update one WorkflowBlock * const workflowBlock = await prisma.workflowBlock.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowBlockClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more WorkflowBlocks. * @param {WorkflowBlockDeleteManyArgs} args - Arguments to filter WorkflowBlocks to delete. * @example * // Delete a few WorkflowBlocks * const { count } = await prisma.workflowBlock.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowBlocks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowBlockUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many WorkflowBlocks * const workflowBlock = await prisma.workflowBlock.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowBlocks and returns the data updated in the database. * @param {WorkflowBlockUpdateManyAndReturnArgs} args - Arguments to update many WorkflowBlocks. * @example * // Update many WorkflowBlocks * const workflowBlock = await prisma.workflowBlock.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more WorkflowBlocks and only return the `id` * const workflowBlockWithIdOnly = await prisma.workflowBlock.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one WorkflowBlock. * @param {WorkflowBlockUpsertArgs} args - Arguments to update or create a WorkflowBlock. * @example * // Update or create a WorkflowBlock * const workflowBlock = await prisma.workflowBlock.upsert({ * create: { * // ... data to create a WorkflowBlock * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the WorkflowBlock we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowBlockClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of WorkflowBlocks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowBlockCountArgs} args - Arguments to filter WorkflowBlocks to count. * @example * // Count the number of WorkflowBlocks * const count = await prisma.workflowBlock.count({ * where: { * // ... the filter for the WorkflowBlocks we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a WorkflowBlock. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowBlockAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by WorkflowBlock. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowBlockGroupByArgs} 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 WorkflowBlockGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: WorkflowBlockGroupByArgs['orderBy'] } : { orderBy?: WorkflowBlockGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetWorkflowBlockGroupByPayload : Prisma.PrismaPromise /** * Fields of the WorkflowBlock model */ readonly fields: WorkflowBlockFieldRefs; } /** * The delegate class that acts as a "Promise-like" for WorkflowBlock. * 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__WorkflowBlockClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" workflow = {}>(args?: Prisma.Subset>): Prisma.Prisma__WorkflowClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> fromBlocks = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> toBlocks = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> executions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> fromExecutions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> conditionsGroups = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> waitingInExecutions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the WorkflowBlock model */ export interface WorkflowBlockFieldRefs { readonly id: Prisma.FieldRef<"WorkflowBlock", 'String'> readonly workflowId: Prisma.FieldRef<"WorkflowBlock", 'String'> readonly createdAt: Prisma.FieldRef<"WorkflowBlock", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"WorkflowBlock", 'DateTime'> readonly type: Prisma.FieldRef<"WorkflowBlock", 'String'> readonly description: Prisma.FieldRef<"WorkflowBlock", 'String'> readonly isTrigger: Prisma.FieldRef<"WorkflowBlock", 'Boolean'> readonly isBlock: Prisma.FieldRef<"WorkflowBlock", 'Boolean'> readonly input: Prisma.FieldRef<"WorkflowBlock", 'String'> } // Custom InputTypes /** * WorkflowBlock findUnique */ export type WorkflowBlockFindUniqueArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelect | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockInclude | null /** * Filter, which WorkflowBlock to fetch. */ where: Prisma.WorkflowBlockWhereUniqueInput } /** * WorkflowBlock findUniqueOrThrow */ export type WorkflowBlockFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelect | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockInclude | null /** * Filter, which WorkflowBlock to fetch. */ where: Prisma.WorkflowBlockWhereUniqueInput } /** * WorkflowBlock findFirst */ export type WorkflowBlockFindFirstArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelect | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockInclude | null /** * Filter, which WorkflowBlock to fetch. */ where?: Prisma.WorkflowBlockWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowBlocks to fetch. */ orderBy?: Prisma.WorkflowBlockOrderByWithRelationInput | Prisma.WorkflowBlockOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowBlocks. */ cursor?: Prisma.WorkflowBlockWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowBlocks 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` WorkflowBlocks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowBlocks. */ distinct?: Prisma.WorkflowBlockScalarFieldEnum | Prisma.WorkflowBlockScalarFieldEnum[] } /** * WorkflowBlock findFirstOrThrow */ export type WorkflowBlockFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelect | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockInclude | null /** * Filter, which WorkflowBlock to fetch. */ where?: Prisma.WorkflowBlockWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowBlocks to fetch. */ orderBy?: Prisma.WorkflowBlockOrderByWithRelationInput | Prisma.WorkflowBlockOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowBlocks. */ cursor?: Prisma.WorkflowBlockWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowBlocks 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` WorkflowBlocks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowBlocks. */ distinct?: Prisma.WorkflowBlockScalarFieldEnum | Prisma.WorkflowBlockScalarFieldEnum[] } /** * WorkflowBlock findMany */ export type WorkflowBlockFindManyArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelect | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockInclude | null /** * Filter, which WorkflowBlocks to fetch. */ where?: Prisma.WorkflowBlockWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowBlocks to fetch. */ orderBy?: Prisma.WorkflowBlockOrderByWithRelationInput | Prisma.WorkflowBlockOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing WorkflowBlocks. */ cursor?: Prisma.WorkflowBlockWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowBlocks 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` WorkflowBlocks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowBlocks. */ distinct?: Prisma.WorkflowBlockScalarFieldEnum | Prisma.WorkflowBlockScalarFieldEnum[] } /** * WorkflowBlock create */ export type WorkflowBlockCreateArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelect | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockInclude | null /** * The data needed to create a WorkflowBlock. */ data: Prisma.XOR } /** * WorkflowBlock createMany */ export type WorkflowBlockCreateManyArgs = { /** * The data used to create many WorkflowBlocks. */ data: Prisma.WorkflowBlockCreateManyInput | Prisma.WorkflowBlockCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowBlock createManyAndReturn */ export type WorkflowBlockCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelectCreateManyAndReturn | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * The data used to create many WorkflowBlocks. */ data: Prisma.WorkflowBlockCreateManyInput | Prisma.WorkflowBlockCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockIncludeCreateManyAndReturn | null } /** * WorkflowBlock update */ export type WorkflowBlockUpdateArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelect | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockInclude | null /** * The data needed to update a WorkflowBlock. */ data: Prisma.XOR /** * Choose, which WorkflowBlock to update. */ where: Prisma.WorkflowBlockWhereUniqueInput } /** * WorkflowBlock updateMany */ export type WorkflowBlockUpdateManyArgs = { /** * The data used to update WorkflowBlocks. */ data: Prisma.XOR /** * Filter which WorkflowBlocks to update */ where?: Prisma.WorkflowBlockWhereInput /** * Limit how many WorkflowBlocks to update. */ limit?: number } /** * WorkflowBlock updateManyAndReturn */ export type WorkflowBlockUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelectUpdateManyAndReturn | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * The data used to update WorkflowBlocks. */ data: Prisma.XOR /** * Filter which WorkflowBlocks to update */ where?: Prisma.WorkflowBlockWhereInput /** * Limit how many WorkflowBlocks to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockIncludeUpdateManyAndReturn | null } /** * WorkflowBlock upsert */ export type WorkflowBlockUpsertArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelect | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockInclude | null /** * The filter to search for the WorkflowBlock to update in case it exists. */ where: Prisma.WorkflowBlockWhereUniqueInput /** * In case the WorkflowBlock found by the `where` argument doesn't exist, create a new WorkflowBlock with this data. */ create: Prisma.XOR /** * In case the WorkflowBlock was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * WorkflowBlock delete */ export type WorkflowBlockDeleteArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelect | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockInclude | null /** * Filter which WorkflowBlock to delete. */ where: Prisma.WorkflowBlockWhereUniqueInput } /** * WorkflowBlock deleteMany */ export type WorkflowBlockDeleteManyArgs = { /** * Filter which WorkflowBlocks to delete */ where?: Prisma.WorkflowBlockWhereInput /** * Limit how many WorkflowBlocks to delete. */ limit?: number } /** * WorkflowBlock.fromBlocks */ export type WorkflowBlock$fromBlocksArgs = { /** * Select specific fields to fetch from the WorkflowBlockToBlock */ select?: Prisma.WorkflowBlockToBlockSelect | null /** * Omit specific fields from the WorkflowBlockToBlock */ omit?: Prisma.WorkflowBlockToBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockToBlockInclude | null where?: Prisma.WorkflowBlockToBlockWhereInput orderBy?: Prisma.WorkflowBlockToBlockOrderByWithRelationInput | Prisma.WorkflowBlockToBlockOrderByWithRelationInput[] cursor?: Prisma.WorkflowBlockToBlockWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkflowBlockToBlockScalarFieldEnum | Prisma.WorkflowBlockToBlockScalarFieldEnum[] } /** * WorkflowBlock.toBlocks */ export type WorkflowBlock$toBlocksArgs = { /** * Select specific fields to fetch from the WorkflowBlockToBlock */ select?: Prisma.WorkflowBlockToBlockSelect | null /** * Omit specific fields from the WorkflowBlockToBlock */ omit?: Prisma.WorkflowBlockToBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockToBlockInclude | null where?: Prisma.WorkflowBlockToBlockWhereInput orderBy?: Prisma.WorkflowBlockToBlockOrderByWithRelationInput | Prisma.WorkflowBlockToBlockOrderByWithRelationInput[] cursor?: Prisma.WorkflowBlockToBlockWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkflowBlockToBlockScalarFieldEnum | Prisma.WorkflowBlockToBlockScalarFieldEnum[] } /** * WorkflowBlock.executions */ export type WorkflowBlock$executionsArgs = { /** * Select specific fields to fetch from the WorkflowBlockExecution */ select?: Prisma.WorkflowBlockExecutionSelect | null /** * Omit specific fields from the WorkflowBlockExecution */ omit?: Prisma.WorkflowBlockExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockExecutionInclude | null where?: Prisma.WorkflowBlockExecutionWhereInput orderBy?: Prisma.WorkflowBlockExecutionOrderByWithRelationInput | Prisma.WorkflowBlockExecutionOrderByWithRelationInput[] cursor?: Prisma.WorkflowBlockExecutionWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkflowBlockExecutionScalarFieldEnum | Prisma.WorkflowBlockExecutionScalarFieldEnum[] } /** * WorkflowBlock.fromExecutions */ export type WorkflowBlock$fromExecutionsArgs = { /** * Select specific fields to fetch from the WorkflowBlockExecution */ select?: Prisma.WorkflowBlockExecutionSelect | null /** * Omit specific fields from the WorkflowBlockExecution */ omit?: Prisma.WorkflowBlockExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockExecutionInclude | null where?: Prisma.WorkflowBlockExecutionWhereInput orderBy?: Prisma.WorkflowBlockExecutionOrderByWithRelationInput | Prisma.WorkflowBlockExecutionOrderByWithRelationInput[] cursor?: Prisma.WorkflowBlockExecutionWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkflowBlockExecutionScalarFieldEnum | Prisma.WorkflowBlockExecutionScalarFieldEnum[] } /** * WorkflowBlock.conditionsGroups */ export type WorkflowBlock$conditionsGroupsArgs = { /** * Select specific fields to fetch from the WorkflowBlockConditionGroup */ select?: Prisma.WorkflowBlockConditionGroupSelect | null /** * Omit specific fields from the WorkflowBlockConditionGroup */ omit?: Prisma.WorkflowBlockConditionGroupOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockConditionGroupInclude | null where?: Prisma.WorkflowBlockConditionGroupWhereInput orderBy?: Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput | Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput[] cursor?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkflowBlockConditionGroupScalarFieldEnum | Prisma.WorkflowBlockConditionGroupScalarFieldEnum[] } /** * WorkflowBlock.waitingInExecutions */ export type WorkflowBlock$waitingInExecutionsArgs = { /** * Select specific fields to fetch from the WorkflowExecution */ select?: Prisma.WorkflowExecutionSelect | null /** * Omit specific fields from the WorkflowExecution */ omit?: Prisma.WorkflowExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowExecutionInclude | null where?: Prisma.WorkflowExecutionWhereInput orderBy?: Prisma.WorkflowExecutionOrderByWithRelationInput | Prisma.WorkflowExecutionOrderByWithRelationInput[] cursor?: Prisma.WorkflowExecutionWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkflowExecutionScalarFieldEnum | Prisma.WorkflowExecutionScalarFieldEnum[] } /** * WorkflowBlock without action */ export type WorkflowBlockDefaultArgs = { /** * Select specific fields to fetch from the WorkflowBlock */ select?: Prisma.WorkflowBlockSelect | null /** * Omit specific fields from the WorkflowBlock */ omit?: Prisma.WorkflowBlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowBlockInclude | null }