2103 lines
94 KiB
TypeScript
2103 lines
94 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 `AutomationStepExecution` 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 AutomationStepExecution
|
|
*
|
|
*/
|
|
export type AutomationStepExecutionModel = runtime.Types.Result.DefaultSelection<Prisma.$AutomationStepExecutionPayload>
|
|
|
|
export type AggregateAutomationStepExecution = {
|
|
_count: AutomationStepExecutionCountAggregateOutputType | null
|
|
_avg: AutomationStepExecutionAvgAggregateOutputType | null
|
|
_sum: AutomationStepExecutionSumAggregateOutputType | null
|
|
_min: AutomationStepExecutionMinAggregateOutputType | null
|
|
_max: AutomationStepExecutionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AutomationStepExecutionAvgAggregateOutputType = {
|
|
durationMs: number | null
|
|
attempt: number | null
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type AutomationStepExecutionSumAggregateOutputType = {
|
|
durationMs: number | null
|
|
attempt: number | null
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type AutomationStepExecutionMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
executionId: string | null
|
|
ruleStepId: string | null
|
|
stepKey: string | null
|
|
stepKind: $Enums.AutomationStepKind | null
|
|
nodeType: string | null
|
|
status: $Enums.AutomationExecutionStatus | null
|
|
summaryText: string | null
|
|
errorText: string | null
|
|
startedAt: Date | null
|
|
endedAt: Date | null
|
|
durationMs: number | null
|
|
attempt: number | null
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type AutomationStepExecutionMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
executionId: string | null
|
|
ruleStepId: string | null
|
|
stepKey: string | null
|
|
stepKind: $Enums.AutomationStepKind | null
|
|
nodeType: string | null
|
|
status: $Enums.AutomationExecutionStatus | null
|
|
summaryText: string | null
|
|
errorText: string | null
|
|
startedAt: Date | null
|
|
endedAt: Date | null
|
|
durationMs: number | null
|
|
attempt: number | null
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type AutomationStepExecutionCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
executionId: number
|
|
ruleStepId: number
|
|
stepKey: number
|
|
stepKind: number
|
|
nodeType: number
|
|
status: number
|
|
input: number
|
|
output: number
|
|
summaryText: number
|
|
errorText: number
|
|
startedAt: number
|
|
endedAt: number
|
|
durationMs: number
|
|
attempt: number
|
|
sortOrder: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AutomationStepExecutionAvgAggregateInputType = {
|
|
durationMs?: true
|
|
attempt?: true
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type AutomationStepExecutionSumAggregateInputType = {
|
|
durationMs?: true
|
|
attempt?: true
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type AutomationStepExecutionMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
executionId?: true
|
|
ruleStepId?: true
|
|
stepKey?: true
|
|
stepKind?: true
|
|
nodeType?: true
|
|
status?: true
|
|
summaryText?: true
|
|
errorText?: true
|
|
startedAt?: true
|
|
endedAt?: true
|
|
durationMs?: true
|
|
attempt?: true
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type AutomationStepExecutionMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
executionId?: true
|
|
ruleStepId?: true
|
|
stepKey?: true
|
|
stepKind?: true
|
|
nodeType?: true
|
|
status?: true
|
|
summaryText?: true
|
|
errorText?: true
|
|
startedAt?: true
|
|
endedAt?: true
|
|
durationMs?: true
|
|
attempt?: true
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type AutomationStepExecutionCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
executionId?: true
|
|
ruleStepId?: true
|
|
stepKey?: true
|
|
stepKind?: true
|
|
nodeType?: true
|
|
status?: true
|
|
input?: true
|
|
output?: true
|
|
summaryText?: true
|
|
errorText?: true
|
|
startedAt?: true
|
|
endedAt?: true
|
|
durationMs?: true
|
|
attempt?: true
|
|
sortOrder?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AutomationStepExecutionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AutomationStepExecution to aggregate.
|
|
*/
|
|
where?: Prisma.AutomationStepExecutionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AutomationStepExecutions to fetch.
|
|
*/
|
|
orderBy?: Prisma.AutomationStepExecutionOrderByWithRelationInput | Prisma.AutomationStepExecutionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AutomationStepExecutions 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` AutomationStepExecutions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AutomationStepExecutions
|
|
**/
|
|
_count?: true | AutomationStepExecutionCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: AutomationStepExecutionAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: AutomationStepExecutionSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AutomationStepExecutionMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AutomationStepExecutionMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAutomationStepExecutionAggregateType<T extends AutomationStepExecutionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAutomationStepExecution]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAutomationStepExecution[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAutomationStepExecution[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AutomationStepExecutionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AutomationStepExecutionWhereInput
|
|
orderBy?: Prisma.AutomationStepExecutionOrderByWithAggregationInput | Prisma.AutomationStepExecutionOrderByWithAggregationInput[]
|
|
by: Prisma.AutomationStepExecutionScalarFieldEnum[] | Prisma.AutomationStepExecutionScalarFieldEnum
|
|
having?: Prisma.AutomationStepExecutionScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AutomationStepExecutionCountAggregateInputType | true
|
|
_avg?: AutomationStepExecutionAvgAggregateInputType
|
|
_sum?: AutomationStepExecutionSumAggregateInputType
|
|
_min?: AutomationStepExecutionMinAggregateInputType
|
|
_max?: AutomationStepExecutionMaxAggregateInputType
|
|
}
|
|
|
|
export type AutomationStepExecutionGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
executionId: string
|
|
ruleStepId: string | null
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status: $Enums.AutomationExecutionStatus
|
|
input: runtime.JsonValue
|
|
output: runtime.JsonValue
|
|
summaryText: string
|
|
errorText: string | null
|
|
startedAt: Date | null
|
|
endedAt: Date | null
|
|
durationMs: number | null
|
|
attempt: number
|
|
sortOrder: number
|
|
_count: AutomationStepExecutionCountAggregateOutputType | null
|
|
_avg: AutomationStepExecutionAvgAggregateOutputType | null
|
|
_sum: AutomationStepExecutionSumAggregateOutputType | null
|
|
_min: AutomationStepExecutionMinAggregateOutputType | null
|
|
_max: AutomationStepExecutionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAutomationStepExecutionGroupByPayload<T extends AutomationStepExecutionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AutomationStepExecutionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AutomationStepExecutionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AutomationStepExecutionGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AutomationStepExecutionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AutomationStepExecutionWhereInput = {
|
|
AND?: Prisma.AutomationStepExecutionWhereInput | Prisma.AutomationStepExecutionWhereInput[]
|
|
OR?: Prisma.AutomationStepExecutionWhereInput[]
|
|
NOT?: Prisma.AutomationStepExecutionWhereInput | Prisma.AutomationStepExecutionWhereInput[]
|
|
id?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AutomationStepExecution"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AutomationStepExecution"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
executionId?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
ruleStepId?: Prisma.StringNullableFilter<"AutomationStepExecution"> | string | null
|
|
stepKey?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFilter<"AutomationStepExecution"> | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFilter<"AutomationStepExecution"> | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonFilter<"AutomationStepExecution">
|
|
output?: Prisma.JsonFilter<"AutomationStepExecution">
|
|
summaryText?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
errorText?: Prisma.StringNullableFilter<"AutomationStepExecution"> | string | null
|
|
startedAt?: Prisma.DateTimeNullableFilter<"AutomationStepExecution"> | Date | string | null
|
|
endedAt?: Prisma.DateTimeNullableFilter<"AutomationStepExecution"> | Date | string | null
|
|
durationMs?: Prisma.IntNullableFilter<"AutomationStepExecution"> | number | null
|
|
attempt?: Prisma.IntFilter<"AutomationStepExecution"> | number
|
|
sortOrder?: Prisma.IntFilter<"AutomationStepExecution"> | number
|
|
execution?: Prisma.XOR<Prisma.AutomationExecutionScalarRelationFilter, Prisma.AutomationExecutionWhereInput>
|
|
ruleStep?: Prisma.XOR<Prisma.AutomationRuleStepNullableScalarRelationFilter, Prisma.AutomationRuleStepWhereInput> | null
|
|
}
|
|
|
|
export type AutomationStepExecutionOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
executionId?: Prisma.SortOrder
|
|
ruleStepId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
stepKey?: Prisma.SortOrder
|
|
stepKind?: Prisma.SortOrder
|
|
nodeType?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
output?: Prisma.SortOrder
|
|
summaryText?: Prisma.SortOrder
|
|
errorText?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
startedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
durationMs?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
attempt?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
execution?: Prisma.AutomationExecutionOrderByWithRelationInput
|
|
ruleStep?: Prisma.AutomationRuleStepOrderByWithRelationInput
|
|
}
|
|
|
|
export type AutomationStepExecutionWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.AutomationStepExecutionWhereInput | Prisma.AutomationStepExecutionWhereInput[]
|
|
OR?: Prisma.AutomationStepExecutionWhereInput[]
|
|
NOT?: Prisma.AutomationStepExecutionWhereInput | Prisma.AutomationStepExecutionWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AutomationStepExecution"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AutomationStepExecution"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
executionId?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
ruleStepId?: Prisma.StringNullableFilter<"AutomationStepExecution"> | string | null
|
|
stepKey?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFilter<"AutomationStepExecution"> | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFilter<"AutomationStepExecution"> | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonFilter<"AutomationStepExecution">
|
|
output?: Prisma.JsonFilter<"AutomationStepExecution">
|
|
summaryText?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
errorText?: Prisma.StringNullableFilter<"AutomationStepExecution"> | string | null
|
|
startedAt?: Prisma.DateTimeNullableFilter<"AutomationStepExecution"> | Date | string | null
|
|
endedAt?: Prisma.DateTimeNullableFilter<"AutomationStepExecution"> | Date | string | null
|
|
durationMs?: Prisma.IntNullableFilter<"AutomationStepExecution"> | number | null
|
|
attempt?: Prisma.IntFilter<"AutomationStepExecution"> | number
|
|
sortOrder?: Prisma.IntFilter<"AutomationStepExecution"> | number
|
|
execution?: Prisma.XOR<Prisma.AutomationExecutionScalarRelationFilter, Prisma.AutomationExecutionWhereInput>
|
|
ruleStep?: Prisma.XOR<Prisma.AutomationRuleStepNullableScalarRelationFilter, Prisma.AutomationRuleStepWhereInput> | null
|
|
}, "id">
|
|
|
|
export type AutomationStepExecutionOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
executionId?: Prisma.SortOrder
|
|
ruleStepId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
stepKey?: Prisma.SortOrder
|
|
stepKind?: Prisma.SortOrder
|
|
nodeType?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
output?: Prisma.SortOrder
|
|
summaryText?: Prisma.SortOrder
|
|
errorText?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
startedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
durationMs?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
attempt?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
_count?: Prisma.AutomationStepExecutionCountOrderByAggregateInput
|
|
_avg?: Prisma.AutomationStepExecutionAvgOrderByAggregateInput
|
|
_max?: Prisma.AutomationStepExecutionMaxOrderByAggregateInput
|
|
_min?: Prisma.AutomationStepExecutionMinOrderByAggregateInput
|
|
_sum?: Prisma.AutomationStepExecutionSumOrderByAggregateInput
|
|
}
|
|
|
|
export type AutomationStepExecutionScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AutomationStepExecutionScalarWhereWithAggregatesInput | Prisma.AutomationStepExecutionScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AutomationStepExecutionScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AutomationStepExecutionScalarWhereWithAggregatesInput | Prisma.AutomationStepExecutionScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AutomationStepExecution"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AutomationStepExecution"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AutomationStepExecution"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"AutomationStepExecution"> | string
|
|
executionId?: Prisma.StringWithAggregatesFilter<"AutomationStepExecution"> | string
|
|
ruleStepId?: Prisma.StringNullableWithAggregatesFilter<"AutomationStepExecution"> | string | null
|
|
stepKey?: Prisma.StringWithAggregatesFilter<"AutomationStepExecution"> | string
|
|
stepKind?: Prisma.EnumAutomationStepKindWithAggregatesFilter<"AutomationStepExecution"> | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringWithAggregatesFilter<"AutomationStepExecution"> | string
|
|
status?: Prisma.EnumAutomationExecutionStatusWithAggregatesFilter<"AutomationStepExecution"> | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonWithAggregatesFilter<"AutomationStepExecution">
|
|
output?: Prisma.JsonWithAggregatesFilter<"AutomationStepExecution">
|
|
summaryText?: Prisma.StringWithAggregatesFilter<"AutomationStepExecution"> | string
|
|
errorText?: Prisma.StringNullableWithAggregatesFilter<"AutomationStepExecution"> | string | null
|
|
startedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AutomationStepExecution"> | Date | string | null
|
|
endedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AutomationStepExecution"> | Date | string | null
|
|
durationMs?: Prisma.IntNullableWithAggregatesFilter<"AutomationStepExecution"> | number | null
|
|
attempt?: Prisma.IntWithAggregatesFilter<"AutomationStepExecution"> | number
|
|
sortOrder?: Prisma.IntWithAggregatesFilter<"AutomationStepExecution"> | number
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status?: $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText: string
|
|
errorText?: string | null
|
|
startedAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationMs?: number | null
|
|
attempt?: number
|
|
sortOrder?: number
|
|
execution: Prisma.AutomationExecutionCreateNestedOneWithoutStepExecutionsInput
|
|
ruleStep?: Prisma.AutomationRuleStepCreateNestedOneWithoutStepExecutionsInput
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
executionId: string
|
|
ruleStepId?: string | null
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status?: $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText: string
|
|
errorText?: string | null
|
|
startedAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationMs?: number | null
|
|
attempt?: number
|
|
sortOrder?: number
|
|
}
|
|
|
|
export type AutomationStepExecutionUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFieldUpdateOperationsInput | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFieldUpdateOperationsInput | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
errorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
execution?: Prisma.AutomationExecutionUpdateOneRequiredWithoutStepExecutionsNestedInput
|
|
ruleStep?: Prisma.AutomationRuleStepUpdateOneWithoutStepExecutionsNestedInput
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
executionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
ruleStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
stepKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFieldUpdateOperationsInput | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFieldUpdateOperationsInput | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
errorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
executionId: string
|
|
ruleStepId?: string | null
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status?: $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText: string
|
|
errorText?: string | null
|
|
startedAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationMs?: number | null
|
|
attempt?: number
|
|
sortOrder?: number
|
|
}
|
|
|
|
export type AutomationStepExecutionUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFieldUpdateOperationsInput | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFieldUpdateOperationsInput | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
errorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
executionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
ruleStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
stepKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFieldUpdateOperationsInput | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFieldUpdateOperationsInput | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
errorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type AutomationStepExecutionListRelationFilter = {
|
|
every?: Prisma.AutomationStepExecutionWhereInput
|
|
some?: Prisma.AutomationStepExecutionWhereInput
|
|
none?: Prisma.AutomationStepExecutionWhereInput
|
|
}
|
|
|
|
export type AutomationStepExecutionOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AutomationStepExecutionCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
executionId?: Prisma.SortOrder
|
|
ruleStepId?: Prisma.SortOrder
|
|
stepKey?: Prisma.SortOrder
|
|
stepKind?: Prisma.SortOrder
|
|
nodeType?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
output?: Prisma.SortOrder
|
|
summaryText?: Prisma.SortOrder
|
|
errorText?: Prisma.SortOrder
|
|
startedAt?: Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrder
|
|
durationMs?: Prisma.SortOrder
|
|
attempt?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AutomationStepExecutionAvgOrderByAggregateInput = {
|
|
durationMs?: Prisma.SortOrder
|
|
attempt?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AutomationStepExecutionMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
executionId?: Prisma.SortOrder
|
|
ruleStepId?: Prisma.SortOrder
|
|
stepKey?: Prisma.SortOrder
|
|
stepKind?: Prisma.SortOrder
|
|
nodeType?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
summaryText?: Prisma.SortOrder
|
|
errorText?: Prisma.SortOrder
|
|
startedAt?: Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrder
|
|
durationMs?: Prisma.SortOrder
|
|
attempt?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AutomationStepExecutionMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
executionId?: Prisma.SortOrder
|
|
ruleStepId?: Prisma.SortOrder
|
|
stepKey?: Prisma.SortOrder
|
|
stepKind?: Prisma.SortOrder
|
|
nodeType?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
summaryText?: Prisma.SortOrder
|
|
errorText?: Prisma.SortOrder
|
|
startedAt?: Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrder
|
|
durationMs?: Prisma.SortOrder
|
|
attempt?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AutomationStepExecutionSumOrderByAggregateInput = {
|
|
durationMs?: Prisma.SortOrder
|
|
attempt?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateNestedManyWithoutRuleStepInput = {
|
|
create?: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutRuleStepInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutRuleStepInput> | Prisma.AutomationStepExecutionCreateWithoutRuleStepInput[] | Prisma.AutomationStepExecutionUncheckedCreateWithoutRuleStepInput[]
|
|
connectOrCreate?: Prisma.AutomationStepExecutionCreateOrConnectWithoutRuleStepInput | Prisma.AutomationStepExecutionCreateOrConnectWithoutRuleStepInput[]
|
|
createMany?: Prisma.AutomationStepExecutionCreateManyRuleStepInputEnvelope
|
|
connect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedCreateNestedManyWithoutRuleStepInput = {
|
|
create?: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutRuleStepInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutRuleStepInput> | Prisma.AutomationStepExecutionCreateWithoutRuleStepInput[] | Prisma.AutomationStepExecutionUncheckedCreateWithoutRuleStepInput[]
|
|
connectOrCreate?: Prisma.AutomationStepExecutionCreateOrConnectWithoutRuleStepInput | Prisma.AutomationStepExecutionCreateOrConnectWithoutRuleStepInput[]
|
|
createMany?: Prisma.AutomationStepExecutionCreateManyRuleStepInputEnvelope
|
|
connect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AutomationStepExecutionUpdateManyWithoutRuleStepNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutRuleStepInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutRuleStepInput> | Prisma.AutomationStepExecutionCreateWithoutRuleStepInput[] | Prisma.AutomationStepExecutionUncheckedCreateWithoutRuleStepInput[]
|
|
connectOrCreate?: Prisma.AutomationStepExecutionCreateOrConnectWithoutRuleStepInput | Prisma.AutomationStepExecutionCreateOrConnectWithoutRuleStepInput[]
|
|
upsert?: Prisma.AutomationStepExecutionUpsertWithWhereUniqueWithoutRuleStepInput | Prisma.AutomationStepExecutionUpsertWithWhereUniqueWithoutRuleStepInput[]
|
|
createMany?: Prisma.AutomationStepExecutionCreateManyRuleStepInputEnvelope
|
|
set?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
delete?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
connect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
update?: Prisma.AutomationStepExecutionUpdateWithWhereUniqueWithoutRuleStepInput | Prisma.AutomationStepExecutionUpdateWithWhereUniqueWithoutRuleStepInput[]
|
|
updateMany?: Prisma.AutomationStepExecutionUpdateManyWithWhereWithoutRuleStepInput | Prisma.AutomationStepExecutionUpdateManyWithWhereWithoutRuleStepInput[]
|
|
deleteMany?: Prisma.AutomationStepExecutionScalarWhereInput | Prisma.AutomationStepExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedUpdateManyWithoutRuleStepNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutRuleStepInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutRuleStepInput> | Prisma.AutomationStepExecutionCreateWithoutRuleStepInput[] | Prisma.AutomationStepExecutionUncheckedCreateWithoutRuleStepInput[]
|
|
connectOrCreate?: Prisma.AutomationStepExecutionCreateOrConnectWithoutRuleStepInput | Prisma.AutomationStepExecutionCreateOrConnectWithoutRuleStepInput[]
|
|
upsert?: Prisma.AutomationStepExecutionUpsertWithWhereUniqueWithoutRuleStepInput | Prisma.AutomationStepExecutionUpsertWithWhereUniqueWithoutRuleStepInput[]
|
|
createMany?: Prisma.AutomationStepExecutionCreateManyRuleStepInputEnvelope
|
|
set?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
delete?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
connect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
update?: Prisma.AutomationStepExecutionUpdateWithWhereUniqueWithoutRuleStepInput | Prisma.AutomationStepExecutionUpdateWithWhereUniqueWithoutRuleStepInput[]
|
|
updateMany?: Prisma.AutomationStepExecutionUpdateManyWithWhereWithoutRuleStepInput | Prisma.AutomationStepExecutionUpdateManyWithWhereWithoutRuleStepInput[]
|
|
deleteMany?: Prisma.AutomationStepExecutionScalarWhereInput | Prisma.AutomationStepExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateNestedManyWithoutExecutionInput = {
|
|
create?: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutExecutionInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutExecutionInput> | Prisma.AutomationStepExecutionCreateWithoutExecutionInput[] | Prisma.AutomationStepExecutionUncheckedCreateWithoutExecutionInput[]
|
|
connectOrCreate?: Prisma.AutomationStepExecutionCreateOrConnectWithoutExecutionInput | Prisma.AutomationStepExecutionCreateOrConnectWithoutExecutionInput[]
|
|
createMany?: Prisma.AutomationStepExecutionCreateManyExecutionInputEnvelope
|
|
connect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedCreateNestedManyWithoutExecutionInput = {
|
|
create?: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutExecutionInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutExecutionInput> | Prisma.AutomationStepExecutionCreateWithoutExecutionInput[] | Prisma.AutomationStepExecutionUncheckedCreateWithoutExecutionInput[]
|
|
connectOrCreate?: Prisma.AutomationStepExecutionCreateOrConnectWithoutExecutionInput | Prisma.AutomationStepExecutionCreateOrConnectWithoutExecutionInput[]
|
|
createMany?: Prisma.AutomationStepExecutionCreateManyExecutionInputEnvelope
|
|
connect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AutomationStepExecutionUpdateManyWithoutExecutionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutExecutionInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutExecutionInput> | Prisma.AutomationStepExecutionCreateWithoutExecutionInput[] | Prisma.AutomationStepExecutionUncheckedCreateWithoutExecutionInput[]
|
|
connectOrCreate?: Prisma.AutomationStepExecutionCreateOrConnectWithoutExecutionInput | Prisma.AutomationStepExecutionCreateOrConnectWithoutExecutionInput[]
|
|
upsert?: Prisma.AutomationStepExecutionUpsertWithWhereUniqueWithoutExecutionInput | Prisma.AutomationStepExecutionUpsertWithWhereUniqueWithoutExecutionInput[]
|
|
createMany?: Prisma.AutomationStepExecutionCreateManyExecutionInputEnvelope
|
|
set?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
delete?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
connect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
update?: Prisma.AutomationStepExecutionUpdateWithWhereUniqueWithoutExecutionInput | Prisma.AutomationStepExecutionUpdateWithWhereUniqueWithoutExecutionInput[]
|
|
updateMany?: Prisma.AutomationStepExecutionUpdateManyWithWhereWithoutExecutionInput | Prisma.AutomationStepExecutionUpdateManyWithWhereWithoutExecutionInput[]
|
|
deleteMany?: Prisma.AutomationStepExecutionScalarWhereInput | Prisma.AutomationStepExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedUpdateManyWithoutExecutionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutExecutionInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutExecutionInput> | Prisma.AutomationStepExecutionCreateWithoutExecutionInput[] | Prisma.AutomationStepExecutionUncheckedCreateWithoutExecutionInput[]
|
|
connectOrCreate?: Prisma.AutomationStepExecutionCreateOrConnectWithoutExecutionInput | Prisma.AutomationStepExecutionCreateOrConnectWithoutExecutionInput[]
|
|
upsert?: Prisma.AutomationStepExecutionUpsertWithWhereUniqueWithoutExecutionInput | Prisma.AutomationStepExecutionUpsertWithWhereUniqueWithoutExecutionInput[]
|
|
createMany?: Prisma.AutomationStepExecutionCreateManyExecutionInputEnvelope
|
|
set?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
disconnect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
delete?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
connect?: Prisma.AutomationStepExecutionWhereUniqueInput | Prisma.AutomationStepExecutionWhereUniqueInput[]
|
|
update?: Prisma.AutomationStepExecutionUpdateWithWhereUniqueWithoutExecutionInput | Prisma.AutomationStepExecutionUpdateWithWhereUniqueWithoutExecutionInput[]
|
|
updateMany?: Prisma.AutomationStepExecutionUpdateManyWithWhereWithoutExecutionInput | Prisma.AutomationStepExecutionUpdateManyWithWhereWithoutExecutionInput[]
|
|
deleteMany?: Prisma.AutomationStepExecutionScalarWhereInput | Prisma.AutomationStepExecutionScalarWhereInput[]
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateWithoutRuleStepInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status?: $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText: string
|
|
errorText?: string | null
|
|
startedAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationMs?: number | null
|
|
attempt?: number
|
|
sortOrder?: number
|
|
execution: Prisma.AutomationExecutionCreateNestedOneWithoutStepExecutionsInput
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedCreateWithoutRuleStepInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
executionId: string
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status?: $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText: string
|
|
errorText?: string | null
|
|
startedAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationMs?: number | null
|
|
attempt?: number
|
|
sortOrder?: number
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateOrConnectWithoutRuleStepInput = {
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutRuleStepInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutRuleStepInput>
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateManyRuleStepInputEnvelope = {
|
|
data: Prisma.AutomationStepExecutionCreateManyRuleStepInput | Prisma.AutomationStepExecutionCreateManyRuleStepInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AutomationStepExecutionUpsertWithWhereUniqueWithoutRuleStepInput = {
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AutomationStepExecutionUpdateWithoutRuleStepInput, Prisma.AutomationStepExecutionUncheckedUpdateWithoutRuleStepInput>
|
|
create: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutRuleStepInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutRuleStepInput>
|
|
}
|
|
|
|
export type AutomationStepExecutionUpdateWithWhereUniqueWithoutRuleStepInput = {
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AutomationStepExecutionUpdateWithoutRuleStepInput, Prisma.AutomationStepExecutionUncheckedUpdateWithoutRuleStepInput>
|
|
}
|
|
|
|
export type AutomationStepExecutionUpdateManyWithWhereWithoutRuleStepInput = {
|
|
where: Prisma.AutomationStepExecutionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AutomationStepExecutionUpdateManyMutationInput, Prisma.AutomationStepExecutionUncheckedUpdateManyWithoutRuleStepInput>
|
|
}
|
|
|
|
export type AutomationStepExecutionScalarWhereInput = {
|
|
AND?: Prisma.AutomationStepExecutionScalarWhereInput | Prisma.AutomationStepExecutionScalarWhereInput[]
|
|
OR?: Prisma.AutomationStepExecutionScalarWhereInput[]
|
|
NOT?: Prisma.AutomationStepExecutionScalarWhereInput | Prisma.AutomationStepExecutionScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AutomationStepExecution"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AutomationStepExecution"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
executionId?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
ruleStepId?: Prisma.StringNullableFilter<"AutomationStepExecution"> | string | null
|
|
stepKey?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFilter<"AutomationStepExecution"> | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFilter<"AutomationStepExecution"> | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonFilter<"AutomationStepExecution">
|
|
output?: Prisma.JsonFilter<"AutomationStepExecution">
|
|
summaryText?: Prisma.StringFilter<"AutomationStepExecution"> | string
|
|
errorText?: Prisma.StringNullableFilter<"AutomationStepExecution"> | string | null
|
|
startedAt?: Prisma.DateTimeNullableFilter<"AutomationStepExecution"> | Date | string | null
|
|
endedAt?: Prisma.DateTimeNullableFilter<"AutomationStepExecution"> | Date | string | null
|
|
durationMs?: Prisma.IntNullableFilter<"AutomationStepExecution"> | number | null
|
|
attempt?: Prisma.IntFilter<"AutomationStepExecution"> | number
|
|
sortOrder?: Prisma.IntFilter<"AutomationStepExecution"> | number
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateWithoutExecutionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status?: $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText: string
|
|
errorText?: string | null
|
|
startedAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationMs?: number | null
|
|
attempt?: number
|
|
sortOrder?: number
|
|
ruleStep?: Prisma.AutomationRuleStepCreateNestedOneWithoutStepExecutionsInput
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedCreateWithoutExecutionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
ruleStepId?: string | null
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status?: $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText: string
|
|
errorText?: string | null
|
|
startedAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationMs?: number | null
|
|
attempt?: number
|
|
sortOrder?: number
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateOrConnectWithoutExecutionInput = {
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutExecutionInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutExecutionInput>
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateManyExecutionInputEnvelope = {
|
|
data: Prisma.AutomationStepExecutionCreateManyExecutionInput | Prisma.AutomationStepExecutionCreateManyExecutionInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AutomationStepExecutionUpsertWithWhereUniqueWithoutExecutionInput = {
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AutomationStepExecutionUpdateWithoutExecutionInput, Prisma.AutomationStepExecutionUncheckedUpdateWithoutExecutionInput>
|
|
create: Prisma.XOR<Prisma.AutomationStepExecutionCreateWithoutExecutionInput, Prisma.AutomationStepExecutionUncheckedCreateWithoutExecutionInput>
|
|
}
|
|
|
|
export type AutomationStepExecutionUpdateWithWhereUniqueWithoutExecutionInput = {
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AutomationStepExecutionUpdateWithoutExecutionInput, Prisma.AutomationStepExecutionUncheckedUpdateWithoutExecutionInput>
|
|
}
|
|
|
|
export type AutomationStepExecutionUpdateManyWithWhereWithoutExecutionInput = {
|
|
where: Prisma.AutomationStepExecutionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AutomationStepExecutionUpdateManyMutationInput, Prisma.AutomationStepExecutionUncheckedUpdateManyWithoutExecutionInput>
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateManyRuleStepInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
executionId: string
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status?: $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText: string
|
|
errorText?: string | null
|
|
startedAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationMs?: number | null
|
|
attempt?: number
|
|
sortOrder?: number
|
|
}
|
|
|
|
export type AutomationStepExecutionUpdateWithoutRuleStepInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFieldUpdateOperationsInput | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFieldUpdateOperationsInput | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
errorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
execution?: Prisma.AutomationExecutionUpdateOneRequiredWithoutStepExecutionsNestedInput
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedUpdateWithoutRuleStepInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
executionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFieldUpdateOperationsInput | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFieldUpdateOperationsInput | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
errorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedUpdateManyWithoutRuleStepInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
executionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFieldUpdateOperationsInput | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFieldUpdateOperationsInput | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
errorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type AutomationStepExecutionCreateManyExecutionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
ruleStepId?: string | null
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status?: $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText: string
|
|
errorText?: string | null
|
|
startedAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationMs?: number | null
|
|
attempt?: number
|
|
sortOrder?: number
|
|
}
|
|
|
|
export type AutomationStepExecutionUpdateWithoutExecutionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFieldUpdateOperationsInput | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFieldUpdateOperationsInput | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
errorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
ruleStep?: Prisma.AutomationRuleStepUpdateOneWithoutStepExecutionsNestedInput
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedUpdateWithoutExecutionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
ruleStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
stepKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFieldUpdateOperationsInput | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFieldUpdateOperationsInput | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
errorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type AutomationStepExecutionUncheckedUpdateManyWithoutExecutionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
ruleStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
stepKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stepKind?: Prisma.EnumAutomationStepKindFieldUpdateOperationsInput | $Enums.AutomationStepKind
|
|
nodeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAutomationExecutionStatusFieldUpdateOperationsInput | $Enums.AutomationExecutionStatus
|
|
input?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
output?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
summaryText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
errorText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
|
|
|
|
export type AutomationStepExecutionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
executionId?: boolean
|
|
ruleStepId?: boolean
|
|
stepKey?: boolean
|
|
stepKind?: boolean
|
|
nodeType?: boolean
|
|
status?: boolean
|
|
input?: boolean
|
|
output?: boolean
|
|
summaryText?: boolean
|
|
errorText?: boolean
|
|
startedAt?: boolean
|
|
endedAt?: boolean
|
|
durationMs?: boolean
|
|
attempt?: boolean
|
|
sortOrder?: boolean
|
|
execution?: boolean | Prisma.AutomationExecutionDefaultArgs<ExtArgs>
|
|
ruleStep?: boolean | Prisma.AutomationStepExecution$ruleStepArgs<ExtArgs>
|
|
}, ExtArgs["result"]["automationStepExecution"]>
|
|
|
|
export type AutomationStepExecutionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
executionId?: boolean
|
|
ruleStepId?: boolean
|
|
stepKey?: boolean
|
|
stepKind?: boolean
|
|
nodeType?: boolean
|
|
status?: boolean
|
|
input?: boolean
|
|
output?: boolean
|
|
summaryText?: boolean
|
|
errorText?: boolean
|
|
startedAt?: boolean
|
|
endedAt?: boolean
|
|
durationMs?: boolean
|
|
attempt?: boolean
|
|
sortOrder?: boolean
|
|
execution?: boolean | Prisma.AutomationExecutionDefaultArgs<ExtArgs>
|
|
ruleStep?: boolean | Prisma.AutomationStepExecution$ruleStepArgs<ExtArgs>
|
|
}, ExtArgs["result"]["automationStepExecution"]>
|
|
|
|
export type AutomationStepExecutionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
executionId?: boolean
|
|
ruleStepId?: boolean
|
|
stepKey?: boolean
|
|
stepKind?: boolean
|
|
nodeType?: boolean
|
|
status?: boolean
|
|
input?: boolean
|
|
output?: boolean
|
|
summaryText?: boolean
|
|
errorText?: boolean
|
|
startedAt?: boolean
|
|
endedAt?: boolean
|
|
durationMs?: boolean
|
|
attempt?: boolean
|
|
sortOrder?: boolean
|
|
execution?: boolean | Prisma.AutomationExecutionDefaultArgs<ExtArgs>
|
|
ruleStep?: boolean | Prisma.AutomationStepExecution$ruleStepArgs<ExtArgs>
|
|
}, ExtArgs["result"]["automationStepExecution"]>
|
|
|
|
export type AutomationStepExecutionSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
executionId?: boolean
|
|
ruleStepId?: boolean
|
|
stepKey?: boolean
|
|
stepKind?: boolean
|
|
nodeType?: boolean
|
|
status?: boolean
|
|
input?: boolean
|
|
output?: boolean
|
|
summaryText?: boolean
|
|
errorText?: boolean
|
|
startedAt?: boolean
|
|
endedAt?: boolean
|
|
durationMs?: boolean
|
|
attempt?: boolean
|
|
sortOrder?: boolean
|
|
}
|
|
|
|
export type AutomationStepExecutionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "executionId" | "ruleStepId" | "stepKey" | "stepKind" | "nodeType" | "status" | "input" | "output" | "summaryText" | "errorText" | "startedAt" | "endedAt" | "durationMs" | "attempt" | "sortOrder", ExtArgs["result"]["automationStepExecution"]>
|
|
export type AutomationStepExecutionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
execution?: boolean | Prisma.AutomationExecutionDefaultArgs<ExtArgs>
|
|
ruleStep?: boolean | Prisma.AutomationStepExecution$ruleStepArgs<ExtArgs>
|
|
}
|
|
export type AutomationStepExecutionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
execution?: boolean | Prisma.AutomationExecutionDefaultArgs<ExtArgs>
|
|
ruleStep?: boolean | Prisma.AutomationStepExecution$ruleStepArgs<ExtArgs>
|
|
}
|
|
export type AutomationStepExecutionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
execution?: boolean | Prisma.AutomationExecutionDefaultArgs<ExtArgs>
|
|
ruleStep?: boolean | Prisma.AutomationStepExecution$ruleStepArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AutomationStepExecutionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AutomationStepExecution"
|
|
objects: {
|
|
execution: Prisma.$AutomationExecutionPayload<ExtArgs>
|
|
ruleStep: Prisma.$AutomationRuleStepPayload<ExtArgs> | null
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
executionId: string
|
|
ruleStepId: string | null
|
|
stepKey: string
|
|
stepKind: $Enums.AutomationStepKind
|
|
nodeType: string
|
|
status: $Enums.AutomationExecutionStatus
|
|
input: runtime.JsonValue
|
|
output: runtime.JsonValue
|
|
summaryText: string
|
|
errorText: string | null
|
|
startedAt: Date | null
|
|
endedAt: Date | null
|
|
durationMs: number | null
|
|
attempt: number
|
|
sortOrder: number
|
|
}, ExtArgs["result"]["automationStepExecution"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AutomationStepExecutionGetPayload<S extends boolean | null | undefined | AutomationStepExecutionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload, S>
|
|
|
|
export type AutomationStepExecutionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AutomationStepExecutionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AutomationStepExecutionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AutomationStepExecutionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AutomationStepExecution'], meta: { name: 'AutomationStepExecution' } }
|
|
/**
|
|
* Find zero or one AutomationStepExecution that matches the filter.
|
|
* @param {AutomationStepExecutionFindUniqueArgs} args - Arguments to find a AutomationStepExecution
|
|
* @example
|
|
* // Get one AutomationStepExecution
|
|
* const automationStepExecution = await prisma.automationStepExecution.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AutomationStepExecutionFindUniqueArgs>(args: Prisma.SelectSubset<T, AutomationStepExecutionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AutomationStepExecutionClient<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AutomationStepExecution that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AutomationStepExecutionFindUniqueOrThrowArgs} args - Arguments to find a AutomationStepExecution
|
|
* @example
|
|
* // Get one AutomationStepExecution
|
|
* const automationStepExecution = await prisma.automationStepExecution.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AutomationStepExecutionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AutomationStepExecutionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AutomationStepExecutionClient<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AutomationStepExecution 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 {AutomationStepExecutionFindFirstArgs} args - Arguments to find a AutomationStepExecution
|
|
* @example
|
|
* // Get one AutomationStepExecution
|
|
* const automationStepExecution = await prisma.automationStepExecution.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AutomationStepExecutionFindFirstArgs>(args?: Prisma.SelectSubset<T, AutomationStepExecutionFindFirstArgs<ExtArgs>>): Prisma.Prisma__AutomationStepExecutionClient<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AutomationStepExecution 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 {AutomationStepExecutionFindFirstOrThrowArgs} args - Arguments to find a AutomationStepExecution
|
|
* @example
|
|
* // Get one AutomationStepExecution
|
|
* const automationStepExecution = await prisma.automationStepExecution.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AutomationStepExecutionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AutomationStepExecutionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AutomationStepExecutionClient<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AutomationStepExecutions 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 {AutomationStepExecutionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AutomationStepExecutions
|
|
* const automationStepExecutions = await prisma.automationStepExecution.findMany()
|
|
*
|
|
* // Get first 10 AutomationStepExecutions
|
|
* const automationStepExecutions = await prisma.automationStepExecution.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const automationStepExecutionWithIdOnly = await prisma.automationStepExecution.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AutomationStepExecutionFindManyArgs>(args?: Prisma.SelectSubset<T, AutomationStepExecutionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AutomationStepExecution.
|
|
* @param {AutomationStepExecutionCreateArgs} args - Arguments to create a AutomationStepExecution.
|
|
* @example
|
|
* // Create one AutomationStepExecution
|
|
* const AutomationStepExecution = await prisma.automationStepExecution.create({
|
|
* data: {
|
|
* // ... data to create a AutomationStepExecution
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AutomationStepExecutionCreateArgs>(args: Prisma.SelectSubset<T, AutomationStepExecutionCreateArgs<ExtArgs>>): Prisma.Prisma__AutomationStepExecutionClient<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AutomationStepExecutions.
|
|
* @param {AutomationStepExecutionCreateManyArgs} args - Arguments to create many AutomationStepExecutions.
|
|
* @example
|
|
* // Create many AutomationStepExecutions
|
|
* const automationStepExecution = await prisma.automationStepExecution.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AutomationStepExecutionCreateManyArgs>(args?: Prisma.SelectSubset<T, AutomationStepExecutionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AutomationStepExecutions and returns the data saved in the database.
|
|
* @param {AutomationStepExecutionCreateManyAndReturnArgs} args - Arguments to create many AutomationStepExecutions.
|
|
* @example
|
|
* // Create many AutomationStepExecutions
|
|
* const automationStepExecution = await prisma.automationStepExecution.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AutomationStepExecutions and only return the `id`
|
|
* const automationStepExecutionWithIdOnly = await prisma.automationStepExecution.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 AutomationStepExecutionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AutomationStepExecutionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AutomationStepExecution.
|
|
* @param {AutomationStepExecutionDeleteArgs} args - Arguments to delete one AutomationStepExecution.
|
|
* @example
|
|
* // Delete one AutomationStepExecution
|
|
* const AutomationStepExecution = await prisma.automationStepExecution.delete({
|
|
* where: {
|
|
* // ... filter to delete one AutomationStepExecution
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AutomationStepExecutionDeleteArgs>(args: Prisma.SelectSubset<T, AutomationStepExecutionDeleteArgs<ExtArgs>>): Prisma.Prisma__AutomationStepExecutionClient<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AutomationStepExecution.
|
|
* @param {AutomationStepExecutionUpdateArgs} args - Arguments to update one AutomationStepExecution.
|
|
* @example
|
|
* // Update one AutomationStepExecution
|
|
* const automationStepExecution = await prisma.automationStepExecution.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AutomationStepExecutionUpdateArgs>(args: Prisma.SelectSubset<T, AutomationStepExecutionUpdateArgs<ExtArgs>>): Prisma.Prisma__AutomationStepExecutionClient<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AutomationStepExecutions.
|
|
* @param {AutomationStepExecutionDeleteManyArgs} args - Arguments to filter AutomationStepExecutions to delete.
|
|
* @example
|
|
* // Delete a few AutomationStepExecutions
|
|
* const { count } = await prisma.automationStepExecution.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AutomationStepExecutionDeleteManyArgs>(args?: Prisma.SelectSubset<T, AutomationStepExecutionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AutomationStepExecutions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AutomationStepExecutionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AutomationStepExecutions
|
|
* const automationStepExecution = await prisma.automationStepExecution.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AutomationStepExecutionUpdateManyArgs>(args: Prisma.SelectSubset<T, AutomationStepExecutionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AutomationStepExecutions and returns the data updated in the database.
|
|
* @param {AutomationStepExecutionUpdateManyAndReturnArgs} args - Arguments to update many AutomationStepExecutions.
|
|
* @example
|
|
* // Update many AutomationStepExecutions
|
|
* const automationStepExecution = await prisma.automationStepExecution.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AutomationStepExecutions and only return the `id`
|
|
* const automationStepExecutionWithIdOnly = await prisma.automationStepExecution.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 AutomationStepExecutionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AutomationStepExecutionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AutomationStepExecution.
|
|
* @param {AutomationStepExecutionUpsertArgs} args - Arguments to update or create a AutomationStepExecution.
|
|
* @example
|
|
* // Update or create a AutomationStepExecution
|
|
* const automationStepExecution = await prisma.automationStepExecution.upsert({
|
|
* create: {
|
|
* // ... data to create a AutomationStepExecution
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AutomationStepExecution we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AutomationStepExecutionUpsertArgs>(args: Prisma.SelectSubset<T, AutomationStepExecutionUpsertArgs<ExtArgs>>): Prisma.Prisma__AutomationStepExecutionClient<runtime.Types.Result.GetResult<Prisma.$AutomationStepExecutionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AutomationStepExecutions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AutomationStepExecutionCountArgs} args - Arguments to filter AutomationStepExecutions to count.
|
|
* @example
|
|
* // Count the number of AutomationStepExecutions
|
|
* const count = await prisma.automationStepExecution.count({
|
|
* where: {
|
|
* // ... the filter for the AutomationStepExecutions we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AutomationStepExecutionCountArgs>(
|
|
args?: Prisma.Subset<T, AutomationStepExecutionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AutomationStepExecutionCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AutomationStepExecution.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AutomationStepExecutionAggregateArgs} 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 AutomationStepExecutionAggregateArgs>(args: Prisma.Subset<T, AutomationStepExecutionAggregateArgs>): Prisma.PrismaPromise<GetAutomationStepExecutionAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AutomationStepExecution.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AutomationStepExecutionGroupByArgs} 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 AutomationStepExecutionGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AutomationStepExecutionGroupByArgs['orderBy'] }
|
|
: { orderBy?: AutomationStepExecutionGroupByArgs['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, AutomationStepExecutionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAutomationStepExecutionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AutomationStepExecution model
|
|
*/
|
|
readonly fields: AutomationStepExecutionFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AutomationStepExecution.
|
|
* 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__AutomationStepExecutionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
execution<T extends Prisma.AutomationExecutionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AutomationExecutionDefaultArgs<ExtArgs>>): Prisma.Prisma__AutomationExecutionClient<runtime.Types.Result.GetResult<Prisma.$AutomationExecutionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
ruleStep<T extends Prisma.AutomationStepExecution$ruleStepArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AutomationStepExecution$ruleStepArgs<ExtArgs>>): Prisma.Prisma__AutomationRuleStepClient<runtime.Types.Result.GetResult<Prisma.$AutomationRuleStepPayload<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 AutomationStepExecution model
|
|
*/
|
|
export interface AutomationStepExecutionFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AutomationStepExecution", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AutomationStepExecution", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AutomationStepExecution", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"AutomationStepExecution", 'String'>
|
|
readonly executionId: Prisma.FieldRef<"AutomationStepExecution", 'String'>
|
|
readonly ruleStepId: Prisma.FieldRef<"AutomationStepExecution", 'String'>
|
|
readonly stepKey: Prisma.FieldRef<"AutomationStepExecution", 'String'>
|
|
readonly stepKind: Prisma.FieldRef<"AutomationStepExecution", 'AutomationStepKind'>
|
|
readonly nodeType: Prisma.FieldRef<"AutomationStepExecution", 'String'>
|
|
readonly status: Prisma.FieldRef<"AutomationStepExecution", 'AutomationExecutionStatus'>
|
|
readonly input: Prisma.FieldRef<"AutomationStepExecution", 'Json'>
|
|
readonly output: Prisma.FieldRef<"AutomationStepExecution", 'Json'>
|
|
readonly summaryText: Prisma.FieldRef<"AutomationStepExecution", 'String'>
|
|
readonly errorText: Prisma.FieldRef<"AutomationStepExecution", 'String'>
|
|
readonly startedAt: Prisma.FieldRef<"AutomationStepExecution", 'DateTime'>
|
|
readonly endedAt: Prisma.FieldRef<"AutomationStepExecution", 'DateTime'>
|
|
readonly durationMs: Prisma.FieldRef<"AutomationStepExecution", 'Int'>
|
|
readonly attempt: Prisma.FieldRef<"AutomationStepExecution", 'Int'>
|
|
readonly sortOrder: Prisma.FieldRef<"AutomationStepExecution", 'Int'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AutomationStepExecution findUnique
|
|
*/
|
|
export type AutomationStepExecutionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AutomationStepExecution to fetch.
|
|
*/
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution findUniqueOrThrow
|
|
*/
|
|
export type AutomationStepExecutionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AutomationStepExecution to fetch.
|
|
*/
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution findFirst
|
|
*/
|
|
export type AutomationStepExecutionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AutomationStepExecution to fetch.
|
|
*/
|
|
where?: Prisma.AutomationStepExecutionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AutomationStepExecutions to fetch.
|
|
*/
|
|
orderBy?: Prisma.AutomationStepExecutionOrderByWithRelationInput | Prisma.AutomationStepExecutionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AutomationStepExecutions.
|
|
*/
|
|
cursor?: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AutomationStepExecutions 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` AutomationStepExecutions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AutomationStepExecutions.
|
|
*/
|
|
distinct?: Prisma.AutomationStepExecutionScalarFieldEnum | Prisma.AutomationStepExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution findFirstOrThrow
|
|
*/
|
|
export type AutomationStepExecutionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AutomationStepExecution to fetch.
|
|
*/
|
|
where?: Prisma.AutomationStepExecutionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AutomationStepExecutions to fetch.
|
|
*/
|
|
orderBy?: Prisma.AutomationStepExecutionOrderByWithRelationInput | Prisma.AutomationStepExecutionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AutomationStepExecutions.
|
|
*/
|
|
cursor?: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AutomationStepExecutions 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` AutomationStepExecutions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AutomationStepExecutions.
|
|
*/
|
|
distinct?: Prisma.AutomationStepExecutionScalarFieldEnum | Prisma.AutomationStepExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution findMany
|
|
*/
|
|
export type AutomationStepExecutionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AutomationStepExecutions to fetch.
|
|
*/
|
|
where?: Prisma.AutomationStepExecutionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AutomationStepExecutions to fetch.
|
|
*/
|
|
orderBy?: Prisma.AutomationStepExecutionOrderByWithRelationInput | Prisma.AutomationStepExecutionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AutomationStepExecutions.
|
|
*/
|
|
cursor?: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AutomationStepExecutions 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` AutomationStepExecutions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AutomationStepExecutions.
|
|
*/
|
|
distinct?: Prisma.AutomationStepExecutionScalarFieldEnum | Prisma.AutomationStepExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution create
|
|
*/
|
|
export type AutomationStepExecutionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AutomationStepExecution.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AutomationStepExecutionCreateInput, Prisma.AutomationStepExecutionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution createMany
|
|
*/
|
|
export type AutomationStepExecutionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AutomationStepExecutions.
|
|
*/
|
|
data: Prisma.AutomationStepExecutionCreateManyInput | Prisma.AutomationStepExecutionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution createManyAndReturn
|
|
*/
|
|
export type AutomationStepExecutionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AutomationStepExecutions.
|
|
*/
|
|
data: Prisma.AutomationStepExecutionCreateManyInput | Prisma.AutomationStepExecutionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution update
|
|
*/
|
|
export type AutomationStepExecutionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AutomationStepExecution.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AutomationStepExecutionUpdateInput, Prisma.AutomationStepExecutionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AutomationStepExecution to update.
|
|
*/
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution updateMany
|
|
*/
|
|
export type AutomationStepExecutionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AutomationStepExecutions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AutomationStepExecutionUpdateManyMutationInput, Prisma.AutomationStepExecutionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AutomationStepExecutions to update
|
|
*/
|
|
where?: Prisma.AutomationStepExecutionWhereInput
|
|
/**
|
|
* Limit how many AutomationStepExecutions to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution updateManyAndReturn
|
|
*/
|
|
export type AutomationStepExecutionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AutomationStepExecutions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AutomationStepExecutionUpdateManyMutationInput, Prisma.AutomationStepExecutionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AutomationStepExecutions to update
|
|
*/
|
|
where?: Prisma.AutomationStepExecutionWhereInput
|
|
/**
|
|
* Limit how many AutomationStepExecutions to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution upsert
|
|
*/
|
|
export type AutomationStepExecutionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AutomationStepExecution to update in case it exists.
|
|
*/
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
/**
|
|
* In case the AutomationStepExecution found by the `where` argument doesn't exist, create a new AutomationStepExecution with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AutomationStepExecutionCreateInput, Prisma.AutomationStepExecutionUncheckedCreateInput>
|
|
/**
|
|
* In case the AutomationStepExecution was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AutomationStepExecutionUpdateInput, Prisma.AutomationStepExecutionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution delete
|
|
*/
|
|
export type AutomationStepExecutionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AutomationStepExecution to delete.
|
|
*/
|
|
where: Prisma.AutomationStepExecutionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution deleteMany
|
|
*/
|
|
export type AutomationStepExecutionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AutomationStepExecutions to delete
|
|
*/
|
|
where?: Prisma.AutomationStepExecutionWhereInput
|
|
/**
|
|
* Limit how many AutomationStepExecutions to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution.ruleStep
|
|
*/
|
|
export type AutomationStepExecution$ruleStepArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationRuleStep
|
|
*/
|
|
select?: Prisma.AutomationRuleStepSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationRuleStep
|
|
*/
|
|
omit?: Prisma.AutomationRuleStepOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationRuleStepInclude<ExtArgs> | null
|
|
where?: Prisma.AutomationRuleStepWhereInput
|
|
}
|
|
|
|
/**
|
|
* AutomationStepExecution without action
|
|
*/
|
|
export type AutomationStepExecutionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationStepExecution
|
|
*/
|
|
select?: Prisma.AutomationStepExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationStepExecution
|
|
*/
|
|
omit?: Prisma.AutomationStepExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AutomationStepExecutionInclude<ExtArgs> | null
|
|
}
|