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