1633 lines
68 KiB
TypeScript
1633 lines
68 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `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<Prisma.$WorkflowVariablePayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends WorkflowVariableAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateWorkflowVariable]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflowVariable[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflowVariable[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type WorkflowVariableGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends WorkflowVariableGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<WorkflowVariableGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof WorkflowVariableGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], WorkflowVariableGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], WorkflowVariableGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
createdByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | 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<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
createdByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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<Prisma.WorkflowVariableCreateWithoutCreatedByUserInput, Prisma.WorkflowVariableUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowVariableCreateManyCreatedByUserInputEnvelope = {
|
|
data: Prisma.WorkflowVariableCreateManyCreatedByUserInput | Prisma.WorkflowVariableCreateManyCreatedByUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowVariableUpsertWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowVariableWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowVariableUpdateWithoutCreatedByUserInput, Prisma.WorkflowVariableUncheckedUpdateWithoutCreatedByUserInput>
|
|
create: Prisma.XOR<Prisma.WorkflowVariableCreateWithoutCreatedByUserInput, Prisma.WorkflowVariableUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowVariableUpdateWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowVariableWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowVariableUpdateWithoutCreatedByUserInput, Prisma.WorkflowVariableUncheckedUpdateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowVariableUpdateManyWithWhereWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowVariableScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowVariableUpdateManyMutationInput, Prisma.WorkflowVariableUncheckedUpdateManyWithoutCreatedByUserInput>
|
|
}
|
|
|
|
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<Prisma.WorkflowVariableCreateWithoutTenantInput, Prisma.WorkflowVariableUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowVariableCreateManyTenantInputEnvelope = {
|
|
data: Prisma.WorkflowVariableCreateManyTenantInput | Prisma.WorkflowVariableCreateManyTenantInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowVariableUpsertWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.WorkflowVariableWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowVariableUpdateWithoutTenantInput, Prisma.WorkflowVariableUncheckedUpdateWithoutTenantInput>
|
|
create: Prisma.XOR<Prisma.WorkflowVariableCreateWithoutTenantInput, Prisma.WorkflowVariableUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowVariableUpdateWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.WorkflowVariableWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowVariableUpdateWithoutTenantInput, Prisma.WorkflowVariableUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowVariableUpdateManyWithWhereWithoutTenantInput = {
|
|
where: Prisma.WorkflowVariableScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowVariableUpdateManyMutationInput, Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowVariable"]>
|
|
|
|
export type WorkflowVariableSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowVariable"]>
|
|
|
|
export type WorkflowVariableSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs<ExtArgs>
|
|
}, 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "name" | "value" | "createdByUserId" | "userId", ExtArgs["result"]["workflowVariable"]>
|
|
export type WorkflowVariableInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.WorkflowVariable$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs<ExtArgs>
|
|
}
|
|
export type WorkflowVariableIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.WorkflowVariable$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs<ExtArgs>
|
|
}
|
|
export type WorkflowVariableIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.WorkflowVariable$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowVariable$createdByUserArgs<ExtArgs>
|
|
}
|
|
|
|
export type $WorkflowVariablePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "WorkflowVariable"
|
|
objects: {
|
|
tenant: Prisma.$TenantPayload<ExtArgs> | null
|
|
createdByUser: Prisma.$UserPayload<ExtArgs> | 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<S extends boolean | null | undefined | WorkflowVariableDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload, S>
|
|
|
|
export type WorkflowVariableCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<WorkflowVariableFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: WorkflowVariableCountAggregateInputType | true
|
|
}
|
|
|
|
export interface WorkflowVariableDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends WorkflowVariableFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkflowVariableFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkflowVariableClient<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkflowVariableFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowVariableClient<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkflowVariableFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkflowVariableClient<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkflowVariableFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowVariableClient<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableFindManyArgs>(args?: Prisma.SelectSubset<T, WorkflowVariableFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableCreateArgs>(args: Prisma.SelectSubset<T, WorkflowVariableCreateArgs<ExtArgs>>): Prisma.Prisma__WorkflowVariableClient<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkflowVariableCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends WorkflowVariableCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkflowVariableCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableDeleteArgs>(args: Prisma.SelectSubset<T, WorkflowVariableDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkflowVariableClient<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableUpdateArgs>(args: Prisma.SelectSubset<T, WorkflowVariableUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkflowVariableClient<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkflowVariableDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends WorkflowVariableUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkflowVariableUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends WorkflowVariableUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkflowVariableUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableUpsertArgs>(args: Prisma.SelectSubset<T, WorkflowVariableUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkflowVariableClient<runtime.Types.Result.GetResult<Prisma.$WorkflowVariablePayload<ExtArgs>, 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<T extends WorkflowVariableCountArgs>(
|
|
args?: Prisma.Subset<T, WorkflowVariableCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], WorkflowVariableCountAggregateOutputType>
|
|
: 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<T extends WorkflowVariableAggregateArgs>(args: Prisma.Subset<T, WorkflowVariableAggregateArgs>): Prisma.PrismaPromise<GetWorkflowVariableAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: WorkflowVariableGroupByArgs['orderBy'] }
|
|
: { orderBy?: WorkflowVariableGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, WorkflowVariableGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowVariableGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
tenant<T extends Prisma.WorkflowVariable$tenantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowVariable$tenantArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
createdByUser<T extends Prisma.WorkflowVariable$createdByUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowVariable$createdByUserArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowVariableInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowVariable to fetch.
|
|
*/
|
|
where: Prisma.WorkflowVariableWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable findUniqueOrThrow
|
|
*/
|
|
export type WorkflowVariableFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowVariableInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowVariable to fetch.
|
|
*/
|
|
where: Prisma.WorkflowVariableWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable findFirst
|
|
*/
|
|
export type WorkflowVariableFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowVariableInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowVariableInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowVariableInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowVariableInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a WorkflowVariable.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowVariableCreateInput, Prisma.WorkflowVariableUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable createMany
|
|
*/
|
|
export type WorkflowVariableCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many WorkflowVariables.
|
|
*/
|
|
data: Prisma.WorkflowVariableCreateManyInput | Prisma.WorkflowVariableCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable createManyAndReturn
|
|
*/
|
|
export type WorkflowVariableCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable update
|
|
*/
|
|
export type WorkflowVariableUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowVariableInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a WorkflowVariable.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowVariableUpdateInput, Prisma.WorkflowVariableUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which WorkflowVariable to update.
|
|
*/
|
|
where: Prisma.WorkflowVariableWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable updateMany
|
|
*/
|
|
export type WorkflowVariableUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update WorkflowVariables.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowVariableUpdateManyMutationInput, Prisma.WorkflowVariableUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkflowVariables to update
|
|
*/
|
|
where?: Prisma.WorkflowVariableWhereInput
|
|
/**
|
|
* Limit how many WorkflowVariables to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable updateManyAndReturn
|
|
*/
|
|
export type WorkflowVariableUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update WorkflowVariables.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowVariableUpdateManyMutationInput, Prisma.WorkflowVariableUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable upsert
|
|
*/
|
|
export type WorkflowVariableUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowVariableInclude<ExtArgs> | 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<Prisma.WorkflowVariableCreateInput, Prisma.WorkflowVariableUncheckedCreateInput>
|
|
/**
|
|
* In case the WorkflowVariable was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.WorkflowVariableUpdateInput, Prisma.WorkflowVariableUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable delete
|
|
*/
|
|
export type WorkflowVariableDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowVariableInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which WorkflowVariable to delete.
|
|
*/
|
|
where: Prisma.WorkflowVariableWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable deleteMany
|
|
*/
|
|
export type WorkflowVariableDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkflowVariables to delete
|
|
*/
|
|
where?: Prisma.WorkflowVariableWhereInput
|
|
/**
|
|
* Limit how many WorkflowVariables to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable.tenant
|
|
*/
|
|
export type WorkflowVariable$tenantArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Tenant
|
|
*/
|
|
select?: Prisma.TenantSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Tenant
|
|
*/
|
|
omit?: Prisma.TenantOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInclude<ExtArgs> | null
|
|
where?: Prisma.TenantWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable.createdByUser
|
|
*/
|
|
export type WorkflowVariable$createdByUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowVariable without action
|
|
*/
|
|
export type WorkflowVariableDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowVariable
|
|
*/
|
|
select?: Prisma.WorkflowVariableSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowVariable
|
|
*/
|
|
omit?: Prisma.WorkflowVariableOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowVariableInclude<ExtArgs> | null
|
|
}
|