/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `WorkflowVariable` 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 WorkflowVariable * */ export type WorkflowVariableModel = runtime.Types.Result.DefaultSelection export type AggregateWorkflowVariable = { _count: WorkflowVariableCountAggregateOutputType | null _min: WorkflowVariableMinAggregateOutputType | null _max: WorkflowVariableMaxAggregateOutputType | null } export type WorkflowVariableMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null name: string | null value: string | null createdByUserId: string | null userId: string | null } export type WorkflowVariableMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null name: string | null value: string | null createdByUserId: string | null userId: string | null } export type WorkflowVariableCountAggregateOutputType = { id: number createdAt: number updatedAt: number tenantId: number name: number value: number createdByUserId: number userId: number _all: number } export type WorkflowVariableMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true name?: true value?: true createdByUserId?: true userId?: true } export type WorkflowVariableMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true name?: true value?: true createdByUserId?: true userId?: true } export type WorkflowVariableCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true name?: true value?: true createdByUserId?: true userId?: true _all?: true } export type WorkflowVariableAggregateArgs = { /** * Filter which WorkflowVariable to aggregate. */ where?: Prisma.WorkflowVariableWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowVariables to fetch. */ orderBy?: Prisma.WorkflowVariableOrderByWithRelationInput | Prisma.WorkflowVariableOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.WorkflowVariableWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowVariables 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` WorkflowVariables. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned WorkflowVariables **/ _count?: true | WorkflowVariableCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: WorkflowVariableMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: WorkflowVariableMaxAggregateInputType } export type GetWorkflowVariableAggregateType = { [P in keyof T & keyof AggregateWorkflowVariable]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type WorkflowVariableGroupByArgs = { where?: Prisma.WorkflowVariableWhereInput orderBy?: Prisma.WorkflowVariableOrderByWithAggregationInput | Prisma.WorkflowVariableOrderByWithAggregationInput[] by: Prisma.WorkflowVariableScalarFieldEnum[] | Prisma.WorkflowVariableScalarFieldEnum having?: Prisma.WorkflowVariableScalarWhereWithAggregatesInput take?: number skip?: number _count?: WorkflowVariableCountAggregateInputType | true _min?: WorkflowVariableMinAggregateInputType _max?: WorkflowVariableMaxAggregateInputType } export type WorkflowVariableGroupByOutputType = { id: string createdAt: Date updatedAt: Date tenantId: string | null name: string value: string createdByUserId: string | null userId: string | null _count: WorkflowVariableCountAggregateOutputType | null _min: WorkflowVariableMinAggregateOutputType | null _max: WorkflowVariableMaxAggregateOutputType | null } export type GetWorkflowVariableGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof WorkflowVariableGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type WorkflowVariableWhereInput = { AND?: Prisma.WorkflowVariableWhereInput | Prisma.WorkflowVariableWhereInput[] OR?: Prisma.WorkflowVariableWhereInput[] NOT?: Prisma.WorkflowVariableWhereInput | Prisma.WorkflowVariableWhereInput[] id?: Prisma.StringFilter<"WorkflowVariable"> | string createdAt?: Prisma.DateTimeFilter<"WorkflowVariable"> | Date | string updatedAt?: Prisma.DateTimeFilter<"WorkflowVariable"> | Date | string tenantId?: Prisma.StringNullableFilter<"WorkflowVariable"> | string | null name?: Prisma.StringFilter<"WorkflowVariable"> | string value?: Prisma.StringFilter<"WorkflowVariable"> | string createdByUserId?: Prisma.StringNullableFilter<"WorkflowVariable"> | string | null userId?: Prisma.StringNullableFilter<"WorkflowVariable"> | string | null tenant?: Prisma.XOR | null createdByUser?: Prisma.XOR | null } export type WorkflowVariableOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder userId?: Prisma.SortOrderInput | Prisma.SortOrder tenant?: Prisma.TenantOrderByWithRelationInput createdByUser?: Prisma.UserOrderByWithRelationInput } export type WorkflowVariableWhereUniqueInput = Prisma.AtLeast<{ id?: string tenantId_name?: Prisma.WorkflowVariableTenantIdNameCompoundUniqueInput AND?: Prisma.WorkflowVariableWhereInput | Prisma.WorkflowVariableWhereInput[] OR?: Prisma.WorkflowVariableWhereInput[] NOT?: Prisma.WorkflowVariableWhereInput | Prisma.WorkflowVariableWhereInput[] createdAt?: Prisma.DateTimeFilter<"WorkflowVariable"> | Date | string updatedAt?: Prisma.DateTimeFilter<"WorkflowVariable"> | Date | string tenantId?: Prisma.StringNullableFilter<"WorkflowVariable"> | string | null name?: Prisma.StringFilter<"WorkflowVariable"> | string value?: Prisma.StringFilter<"WorkflowVariable"> | string createdByUserId?: Prisma.StringNullableFilter<"WorkflowVariable"> | string | null userId?: Prisma.StringNullableFilter<"WorkflowVariable"> | string | null tenant?: Prisma.XOR | null createdByUser?: Prisma.XOR | null }, "id" | "tenantId_name"> export type WorkflowVariableOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder userId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.WorkflowVariableCountOrderByAggregateInput _max?: Prisma.WorkflowVariableMaxOrderByAggregateInput _min?: Prisma.WorkflowVariableMinOrderByAggregateInput } export type WorkflowVariableScalarWhereWithAggregatesInput = { AND?: Prisma.WorkflowVariableScalarWhereWithAggregatesInput | Prisma.WorkflowVariableScalarWhereWithAggregatesInput[] OR?: Prisma.WorkflowVariableScalarWhereWithAggregatesInput[] NOT?: Prisma.WorkflowVariableScalarWhereWithAggregatesInput | Prisma.WorkflowVariableScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"WorkflowVariable"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowVariable"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowVariable"> | Date | string tenantId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowVariable"> | string | null name?: Prisma.StringWithAggregatesFilter<"WorkflowVariable"> | string value?: Prisma.StringWithAggregatesFilter<"WorkflowVariable"> | string createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowVariable"> | string | null userId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowVariable"> | string | null } export type WorkflowVariableCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string value: string createdByUserId?: string | null tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowVariablesInput createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowVariablesCreatedInput } export type WorkflowVariableUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId?: string | null name: string value: string createdByUserId?: string | null userId?: string | null } export type WorkflowVariableUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tenant?: Prisma.TenantUpdateOneWithoutWorkflowVariablesNestedInput createdByUser?: Prisma.UserUpdateOneWithoutWorkflowVariablesCreatedNestedInput } export type WorkflowVariableUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type WorkflowVariableCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId?: string | null name: string value: string createdByUserId?: string | null userId?: string | null } export type WorkflowVariableUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type WorkflowVariableUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type WorkflowVariableListRelationFilter = { every?: Prisma.WorkflowVariableWhereInput some?: Prisma.WorkflowVariableWhereInput none?: Prisma.WorkflowVariableWhereInput } export type WorkflowVariableOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type WorkflowVariableTenantIdNameCompoundUniqueInput = { tenantId: string name: string } export type WorkflowVariableCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type WorkflowVariableMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type WorkflowVariableMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type WorkflowVariableCreateNestedManyWithoutCreatedByUserInput = { create?: Prisma.XOR | Prisma.WorkflowVariableCreateWithoutCreatedByUserInput[] | Prisma.WorkflowVariableUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: Prisma.WorkflowVariableCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowVariableCreateOrConnectWithoutCreatedByUserInput[] createMany?: Prisma.WorkflowVariableCreateManyCreatedByUserInputEnvelope connect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] } export type WorkflowVariableUncheckedCreateNestedManyWithoutCreatedByUserInput = { create?: Prisma.XOR | Prisma.WorkflowVariableCreateWithoutCreatedByUserInput[] | Prisma.WorkflowVariableUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: Prisma.WorkflowVariableCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowVariableCreateOrConnectWithoutCreatedByUserInput[] createMany?: Prisma.WorkflowVariableCreateManyCreatedByUserInputEnvelope connect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] } export type WorkflowVariableUpdateManyWithoutCreatedByUserNestedInput = { create?: Prisma.XOR | Prisma.WorkflowVariableCreateWithoutCreatedByUserInput[] | Prisma.WorkflowVariableUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: Prisma.WorkflowVariableCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowVariableCreateOrConnectWithoutCreatedByUserInput[] upsert?: Prisma.WorkflowVariableUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowVariableUpsertWithWhereUniqueWithoutCreatedByUserInput[] createMany?: Prisma.WorkflowVariableCreateManyCreatedByUserInputEnvelope set?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] disconnect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] delete?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] connect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] update?: Prisma.WorkflowVariableUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowVariableUpdateWithWhereUniqueWithoutCreatedByUserInput[] updateMany?: Prisma.WorkflowVariableUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.WorkflowVariableUpdateManyWithWhereWithoutCreatedByUserInput[] deleteMany?: Prisma.WorkflowVariableScalarWhereInput | Prisma.WorkflowVariableScalarWhereInput[] } export type WorkflowVariableUncheckedUpdateManyWithoutCreatedByUserNestedInput = { create?: Prisma.XOR | Prisma.WorkflowVariableCreateWithoutCreatedByUserInput[] | Prisma.WorkflowVariableUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: Prisma.WorkflowVariableCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowVariableCreateOrConnectWithoutCreatedByUserInput[] upsert?: Prisma.WorkflowVariableUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowVariableUpsertWithWhereUniqueWithoutCreatedByUserInput[] createMany?: Prisma.WorkflowVariableCreateManyCreatedByUserInputEnvelope set?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] disconnect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] delete?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] connect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] update?: Prisma.WorkflowVariableUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowVariableUpdateWithWhereUniqueWithoutCreatedByUserInput[] updateMany?: Prisma.WorkflowVariableUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.WorkflowVariableUpdateManyWithWhereWithoutCreatedByUserInput[] deleteMany?: Prisma.WorkflowVariableScalarWhereInput | Prisma.WorkflowVariableScalarWhereInput[] } export type WorkflowVariableCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.WorkflowVariableCreateWithoutTenantInput[] | Prisma.WorkflowVariableUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.WorkflowVariableCreateOrConnectWithoutTenantInput | Prisma.WorkflowVariableCreateOrConnectWithoutTenantInput[] createMany?: Prisma.WorkflowVariableCreateManyTenantInputEnvelope connect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] } export type WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.WorkflowVariableCreateWithoutTenantInput[] | Prisma.WorkflowVariableUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.WorkflowVariableCreateOrConnectWithoutTenantInput | Prisma.WorkflowVariableCreateOrConnectWithoutTenantInput[] createMany?: Prisma.WorkflowVariableCreateManyTenantInputEnvelope connect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] } export type WorkflowVariableUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.WorkflowVariableCreateWithoutTenantInput[] | Prisma.WorkflowVariableUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.WorkflowVariableCreateOrConnectWithoutTenantInput | Prisma.WorkflowVariableCreateOrConnectWithoutTenantInput[] upsert?: Prisma.WorkflowVariableUpsertWithWhereUniqueWithoutTenantInput | Prisma.WorkflowVariableUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.WorkflowVariableCreateManyTenantInputEnvelope set?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] disconnect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] delete?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] connect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] update?: Prisma.WorkflowVariableUpdateWithWhereUniqueWithoutTenantInput | Prisma.WorkflowVariableUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.WorkflowVariableUpdateManyWithWhereWithoutTenantInput | Prisma.WorkflowVariableUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.WorkflowVariableScalarWhereInput | Prisma.WorkflowVariableScalarWhereInput[] } export type WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.WorkflowVariableCreateWithoutTenantInput[] | Prisma.WorkflowVariableUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.WorkflowVariableCreateOrConnectWithoutTenantInput | Prisma.WorkflowVariableCreateOrConnectWithoutTenantInput[] upsert?: Prisma.WorkflowVariableUpsertWithWhereUniqueWithoutTenantInput | Prisma.WorkflowVariableUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.WorkflowVariableCreateManyTenantInputEnvelope set?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] disconnect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] delete?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] connect?: Prisma.WorkflowVariableWhereUniqueInput | Prisma.WorkflowVariableWhereUniqueInput[] update?: Prisma.WorkflowVariableUpdateWithWhereUniqueWithoutTenantInput | Prisma.WorkflowVariableUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.WorkflowVariableUpdateManyWithWhereWithoutTenantInput | Prisma.WorkflowVariableUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.WorkflowVariableScalarWhereInput | Prisma.WorkflowVariableScalarWhereInput[] } export type WorkflowVariableCreateWithoutCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string value: string createdByUserId?: string | null tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowVariablesInput } export type WorkflowVariableUncheckedCreateWithoutCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId?: string | null name: string value: string createdByUserId?: string | null } export type WorkflowVariableCreateOrConnectWithoutCreatedByUserInput = { where: Prisma.WorkflowVariableWhereUniqueInput create: Prisma.XOR } export type WorkflowVariableCreateManyCreatedByUserInputEnvelope = { data: Prisma.WorkflowVariableCreateManyCreatedByUserInput | Prisma.WorkflowVariableCreateManyCreatedByUserInput[] skipDuplicates?: boolean } export type WorkflowVariableUpsertWithWhereUniqueWithoutCreatedByUserInput = { where: Prisma.WorkflowVariableWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type WorkflowVariableUpdateWithWhereUniqueWithoutCreatedByUserInput = { where: Prisma.WorkflowVariableWhereUniqueInput data: Prisma.XOR } export type WorkflowVariableUpdateManyWithWhereWithoutCreatedByUserInput = { where: Prisma.WorkflowVariableScalarWhereInput data: Prisma.XOR } export type WorkflowVariableScalarWhereInput = { AND?: Prisma.WorkflowVariableScalarWhereInput | Prisma.WorkflowVariableScalarWhereInput[] OR?: Prisma.WorkflowVariableScalarWhereInput[] NOT?: Prisma.WorkflowVariableScalarWhereInput | Prisma.WorkflowVariableScalarWhereInput[] id?: Prisma.StringFilter<"WorkflowVariable"> | string createdAt?: Prisma.DateTimeFilter<"WorkflowVariable"> | Date | string updatedAt?: Prisma.DateTimeFilter<"WorkflowVariable"> | Date | string tenantId?: Prisma.StringNullableFilter<"WorkflowVariable"> | string | null name?: Prisma.StringFilter<"WorkflowVariable"> | string value?: Prisma.StringFilter<"WorkflowVariable"> | string createdByUserId?: Prisma.StringNullableFilter<"WorkflowVariable"> | string | null userId?: Prisma.StringNullableFilter<"WorkflowVariable"> | string | null } export type WorkflowVariableCreateWithoutTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string value: string createdByUserId?: string | null createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowVariablesCreatedInput } export type WorkflowVariableUncheckedCreateWithoutTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string value: string createdByUserId?: string | null userId?: string | null } export type WorkflowVariableCreateOrConnectWithoutTenantInput = { where: Prisma.WorkflowVariableWhereUniqueInput create: Prisma.XOR } export type WorkflowVariableCreateManyTenantInputEnvelope = { data: Prisma.WorkflowVariableCreateManyTenantInput | Prisma.WorkflowVariableCreateManyTenantInput[] skipDuplicates?: boolean } export type WorkflowVariableUpsertWithWhereUniqueWithoutTenantInput = { where: Prisma.WorkflowVariableWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type WorkflowVariableUpdateWithWhereUniqueWithoutTenantInput = { where: Prisma.WorkflowVariableWhereUniqueInput data: Prisma.XOR } export type WorkflowVariableUpdateManyWithWhereWithoutTenantInput = { where: Prisma.WorkflowVariableScalarWhereInput data: Prisma.XOR } export type WorkflowVariableCreateManyCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId?: string | null name: string value: string createdByUserId?: string | null } export type WorkflowVariableUpdateWithoutCreatedByUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tenant?: Prisma.TenantUpdateOneWithoutWorkflowVariablesNestedInput } export type WorkflowVariableUncheckedUpdateWithoutCreatedByUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type WorkflowVariableUncheckedUpdateManyWithoutCreatedByUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type WorkflowVariableCreateManyTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string value: string createdByUserId?: string | null userId?: string | null } export type WorkflowVariableUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdByUser?: Prisma.UserUpdateOneWithoutWorkflowVariablesCreatedNestedInput } export type WorkflowVariableUncheckedUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type WorkflowVariableUncheckedUpdateManyWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type WorkflowVariableSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean name?: boolean value?: boolean createdByUserId?: boolean userId?: boolean tenant?: boolean | Prisma.WorkflowVariable$tenantArgs createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs }, ExtArgs["result"]["workflowVariable"]> export type WorkflowVariableSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean name?: boolean value?: boolean createdByUserId?: boolean userId?: boolean tenant?: boolean | Prisma.WorkflowVariable$tenantArgs createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs }, ExtArgs["result"]["workflowVariable"]> export type WorkflowVariableSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean name?: boolean value?: boolean createdByUserId?: boolean userId?: boolean tenant?: boolean | Prisma.WorkflowVariable$tenantArgs createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs }, ExtArgs["result"]["workflowVariable"]> export type WorkflowVariableSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean name?: boolean value?: boolean createdByUserId?: boolean userId?: boolean } export type WorkflowVariableOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "name" | "value" | "createdByUserId" | "userId", ExtArgs["result"]["workflowVariable"]> export type WorkflowVariableInclude = { tenant?: boolean | Prisma.WorkflowVariable$tenantArgs createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs } export type WorkflowVariableIncludeCreateManyAndReturn = { tenant?: boolean | Prisma.WorkflowVariable$tenantArgs createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs } export type WorkflowVariableIncludeUpdateManyAndReturn = { tenant?: boolean | Prisma.WorkflowVariable$tenantArgs createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs } export type $WorkflowVariablePayload = { name: "WorkflowVariable" objects: { tenant: Prisma.$TenantPayload | null createdByUser: Prisma.$UserPayload | null } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date tenantId: string | null name: string value: string createdByUserId: string | null userId: string | null }, ExtArgs["result"]["workflowVariable"]> composites: {} } export type WorkflowVariableGetPayload = runtime.Types.Result.GetResult export type WorkflowVariableCountArgs = Omit & { select?: WorkflowVariableCountAggregateInputType | true } export interface WorkflowVariableDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['WorkflowVariable'], meta: { name: 'WorkflowVariable' } } /** * Find zero or one WorkflowVariable that matches the filter. * @param {WorkflowVariableFindUniqueArgs} args - Arguments to find a WorkflowVariable * @example * // Get one WorkflowVariable * const workflowVariable = await prisma.workflowVariable.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowVariableClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one WorkflowVariable that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {WorkflowVariableFindUniqueOrThrowArgs} args - Arguments to find a WorkflowVariable * @example * // Get one WorkflowVariable * const workflowVariable = await prisma.workflowVariable.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowVariableClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowVariable 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 {WorkflowVariableFindFirstArgs} args - Arguments to find a WorkflowVariable * @example * // Get one WorkflowVariable * const workflowVariable = await prisma.workflowVariable.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__WorkflowVariableClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowVariable 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 {WorkflowVariableFindFirstOrThrowArgs} args - Arguments to find a WorkflowVariable * @example * // Get one WorkflowVariable * const workflowVariable = await prisma.workflowVariable.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__WorkflowVariableClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more WorkflowVariables 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 {WorkflowVariableFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all WorkflowVariables * const workflowVariables = await prisma.workflowVariable.findMany() * * // Get first 10 WorkflowVariables * const workflowVariables = await prisma.workflowVariable.findMany({ take: 10 }) * * // Only select the `id` * const workflowVariableWithIdOnly = await prisma.workflowVariable.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a WorkflowVariable. * @param {WorkflowVariableCreateArgs} args - Arguments to create a WorkflowVariable. * @example * // Create one WorkflowVariable * const WorkflowVariable = await prisma.workflowVariable.create({ * data: { * // ... data to create a WorkflowVariable * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowVariableClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many WorkflowVariables. * @param {WorkflowVariableCreateManyArgs} args - Arguments to create many WorkflowVariables. * @example * // Create many WorkflowVariables * const workflowVariable = await prisma.workflowVariable.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many WorkflowVariables and returns the data saved in the database. * @param {WorkflowVariableCreateManyAndReturnArgs} args - Arguments to create many WorkflowVariables. * @example * // Create many WorkflowVariables * const workflowVariable = await prisma.workflowVariable.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many WorkflowVariables and only return the `id` * const workflowVariableWithIdOnly = await prisma.workflowVariable.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 WorkflowVariable. * @param {WorkflowVariableDeleteArgs} args - Arguments to delete one WorkflowVariable. * @example * // Delete one WorkflowVariable * const WorkflowVariable = await prisma.workflowVariable.delete({ * where: { * // ... filter to delete one WorkflowVariable * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowVariableClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one WorkflowVariable. * @param {WorkflowVariableUpdateArgs} args - Arguments to update one WorkflowVariable. * @example * // Update one WorkflowVariable * const workflowVariable = await prisma.workflowVariable.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowVariableClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more WorkflowVariables. * @param {WorkflowVariableDeleteManyArgs} args - Arguments to filter WorkflowVariables to delete. * @example * // Delete a few WorkflowVariables * const { count } = await prisma.workflowVariable.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowVariables. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowVariableUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many WorkflowVariables * const workflowVariable = await prisma.workflowVariable.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowVariables and returns the data updated in the database. * @param {WorkflowVariableUpdateManyAndReturnArgs} args - Arguments to update many WorkflowVariables. * @example * // Update many WorkflowVariables * const workflowVariable = await prisma.workflowVariable.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more WorkflowVariables and only return the `id` * const workflowVariableWithIdOnly = await prisma.workflowVariable.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 WorkflowVariable. * @param {WorkflowVariableUpsertArgs} args - Arguments to update or create a WorkflowVariable. * @example * // Update or create a WorkflowVariable * const workflowVariable = await prisma.workflowVariable.upsert({ * create: { * // ... data to create a WorkflowVariable * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the WorkflowVariable we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowVariableClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of WorkflowVariables. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowVariableCountArgs} args - Arguments to filter WorkflowVariables to count. * @example * // Count the number of WorkflowVariables * const count = await prisma.workflowVariable.count({ * where: { * // ... the filter for the WorkflowVariables 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 WorkflowVariable. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowVariableAggregateArgs} 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 WorkflowVariable. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowVariableGroupByArgs} 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 WorkflowVariableGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: WorkflowVariableGroupByArgs['orderBy'] } : { orderBy?: WorkflowVariableGroupByArgs['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 ? GetWorkflowVariableGroupByPayload : Prisma.PrismaPromise /** * Fields of the WorkflowVariable model */ readonly fields: WorkflowVariableFieldRefs; } /** * The delegate class that acts as a "Promise-like" for WorkflowVariable. * 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__WorkflowVariableClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" tenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> createdByUser = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 WorkflowVariable model */ export interface WorkflowVariableFieldRefs { readonly id: Prisma.FieldRef<"WorkflowVariable", 'String'> readonly createdAt: Prisma.FieldRef<"WorkflowVariable", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"WorkflowVariable", 'DateTime'> readonly tenantId: Prisma.FieldRef<"WorkflowVariable", 'String'> readonly name: Prisma.FieldRef<"WorkflowVariable", 'String'> readonly value: Prisma.FieldRef<"WorkflowVariable", 'String'> readonly createdByUserId: Prisma.FieldRef<"WorkflowVariable", 'String'> readonly userId: Prisma.FieldRef<"WorkflowVariable", 'String'> } // Custom InputTypes /** * WorkflowVariable findUnique */ export type WorkflowVariableFindUniqueArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null /** * Filter, which WorkflowVariable to fetch. */ where: Prisma.WorkflowVariableWhereUniqueInput } /** * WorkflowVariable findUniqueOrThrow */ export type WorkflowVariableFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null /** * Filter, which WorkflowVariable to fetch. */ where: Prisma.WorkflowVariableWhereUniqueInput } /** * WorkflowVariable findFirst */ export type WorkflowVariableFindFirstArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null /** * Filter, which WorkflowVariable to fetch. */ where?: Prisma.WorkflowVariableWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowVariables to fetch. */ orderBy?: Prisma.WorkflowVariableOrderByWithRelationInput | Prisma.WorkflowVariableOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowVariables. */ cursor?: Prisma.WorkflowVariableWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowVariables 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` WorkflowVariables. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowVariables. */ distinct?: Prisma.WorkflowVariableScalarFieldEnum | Prisma.WorkflowVariableScalarFieldEnum[] } /** * WorkflowVariable findFirstOrThrow */ export type WorkflowVariableFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null /** * Filter, which WorkflowVariable to fetch. */ where?: Prisma.WorkflowVariableWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowVariables to fetch. */ orderBy?: Prisma.WorkflowVariableOrderByWithRelationInput | Prisma.WorkflowVariableOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowVariables. */ cursor?: Prisma.WorkflowVariableWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowVariables 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` WorkflowVariables. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowVariables. */ distinct?: Prisma.WorkflowVariableScalarFieldEnum | Prisma.WorkflowVariableScalarFieldEnum[] } /** * WorkflowVariable findMany */ export type WorkflowVariableFindManyArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null /** * Filter, which WorkflowVariables to fetch. */ where?: Prisma.WorkflowVariableWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowVariables to fetch. */ orderBy?: Prisma.WorkflowVariableOrderByWithRelationInput | Prisma.WorkflowVariableOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing WorkflowVariables. */ cursor?: Prisma.WorkflowVariableWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowVariables 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` WorkflowVariables. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowVariables. */ distinct?: Prisma.WorkflowVariableScalarFieldEnum | Prisma.WorkflowVariableScalarFieldEnum[] } /** * WorkflowVariable create */ export type WorkflowVariableCreateArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null /** * The data needed to create a WorkflowVariable. */ data: Prisma.XOR } /** * WorkflowVariable createMany */ export type WorkflowVariableCreateManyArgs = { /** * The data used to create many WorkflowVariables. */ data: Prisma.WorkflowVariableCreateManyInput | Prisma.WorkflowVariableCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowVariable createManyAndReturn */ export type WorkflowVariableCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelectCreateManyAndReturn | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * The data used to create many WorkflowVariables. */ data: Prisma.WorkflowVariableCreateManyInput | Prisma.WorkflowVariableCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableIncludeCreateManyAndReturn | null } /** * WorkflowVariable update */ export type WorkflowVariableUpdateArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null /** * The data needed to update a WorkflowVariable. */ data: Prisma.XOR /** * Choose, which WorkflowVariable to update. */ where: Prisma.WorkflowVariableWhereUniqueInput } /** * WorkflowVariable updateMany */ export type WorkflowVariableUpdateManyArgs = { /** * The data used to update WorkflowVariables. */ data: Prisma.XOR /** * Filter which WorkflowVariables to update */ where?: Prisma.WorkflowVariableWhereInput /** * Limit how many WorkflowVariables to update. */ limit?: number } /** * WorkflowVariable updateManyAndReturn */ export type WorkflowVariableUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelectUpdateManyAndReturn | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * The data used to update WorkflowVariables. */ data: Prisma.XOR /** * Filter which WorkflowVariables to update */ where?: Prisma.WorkflowVariableWhereInput /** * Limit how many WorkflowVariables to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableIncludeUpdateManyAndReturn | null } /** * WorkflowVariable upsert */ export type WorkflowVariableUpsertArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null /** * The filter to search for the WorkflowVariable to update in case it exists. */ where: Prisma.WorkflowVariableWhereUniqueInput /** * In case the WorkflowVariable found by the `where` argument doesn't exist, create a new WorkflowVariable with this data. */ create: Prisma.XOR /** * In case the WorkflowVariable was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * WorkflowVariable delete */ export type WorkflowVariableDeleteArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null /** * Filter which WorkflowVariable to delete. */ where: Prisma.WorkflowVariableWhereUniqueInput } /** * WorkflowVariable deleteMany */ export type WorkflowVariableDeleteManyArgs = { /** * Filter which WorkflowVariables to delete */ where?: Prisma.WorkflowVariableWhereInput /** * Limit how many WorkflowVariables to delete. */ limit?: number } /** * WorkflowVariable.tenant */ export type WorkflowVariable$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 } /** * WorkflowVariable.createdByUser */ export type WorkflowVariable$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 } /** * WorkflowVariable without action */ export type WorkflowVariableDefaultArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null }