@valentine-efagene/qshelter-common 2.0.66 → 2.0.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/browser.d.ts +29 -0
- package/dist/generated/client/client.d.ts +29 -0
- package/dist/generated/client/commonInputTypes.d.ts +120 -0
- package/dist/generated/client/enums.d.ts +33 -0
- package/dist/generated/client/enums.js +29 -0
- package/dist/generated/client/internal/class.d.ts +55 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +475 -1
- package/dist/generated/client/internal/prismaNamespace.js +113 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +123 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +113 -0
- package/dist/generated/client/models/EventChannel.d.ts +1305 -0
- package/dist/generated/client/models/EventChannel.js +1 -0
- package/dist/generated/client/models/EventHandler.d.ts +1749 -0
- package/dist/generated/client/models/EventHandler.js +1 -0
- package/dist/generated/client/models/EventHandlerExecution.d.ts +1525 -0
- package/dist/generated/client/models/EventHandlerExecution.js +1 -0
- package/dist/generated/client/models/EventType.d.ts +1653 -0
- package/dist/generated/client/models/EventType.js +1 -0
- package/dist/generated/client/models/Tenant.d.ts +796 -0
- package/dist/generated/client/models/WorkflowEvent.d.ts +1654 -0
- package/dist/generated/client/models/WorkflowEvent.js +1 -0
- package/dist/generated/client/models/index.d.ts +5 -0
- package/dist/generated/client/models/index.js +5 -0
- package/dist/generated/client/models.d.ts +5 -0
- package/dist/src/events/event-config.service.d.ts +123 -0
- package/dist/src/events/event-config.service.js +416 -0
- package/dist/src/events/index.d.ts +3 -0
- package/dist/src/events/index.js +5 -0
- package/dist/src/events/workflow-event.service.d.ts +205 -0
- package/dist/src/events/workflow-event.service.js +660 -0
- package/dist/src/events/workflow-types.d.ts +315 -0
- package/dist/src/events/workflow-types.js +14 -0
- package/package.json +1 -1
- package/prisma/migrations/20260105151535_add_event_workflow_system/migration.sql +132 -0
- package/prisma/schema.prisma +272 -0
|
@@ -0,0 +1,1525 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model EventHandlerExecution
|
|
6
|
+
* Event Handler Execution - Log of a handler processing an event
|
|
7
|
+
*/
|
|
8
|
+
export type EventHandlerExecutionModel = runtime.Types.Result.DefaultSelection<Prisma.$EventHandlerExecutionPayload>;
|
|
9
|
+
export type AggregateEventHandlerExecution = {
|
|
10
|
+
_count: EventHandlerExecutionCountAggregateOutputType | null;
|
|
11
|
+
_avg: EventHandlerExecutionAvgAggregateOutputType | null;
|
|
12
|
+
_sum: EventHandlerExecutionSumAggregateOutputType | null;
|
|
13
|
+
_min: EventHandlerExecutionMinAggregateOutputType | null;
|
|
14
|
+
_max: EventHandlerExecutionMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type EventHandlerExecutionAvgAggregateOutputType = {
|
|
17
|
+
attempt: number | null;
|
|
18
|
+
durationMs: number | null;
|
|
19
|
+
};
|
|
20
|
+
export type EventHandlerExecutionSumAggregateOutputType = {
|
|
21
|
+
attempt: number | null;
|
|
22
|
+
durationMs: number | null;
|
|
23
|
+
};
|
|
24
|
+
export type EventHandlerExecutionMinAggregateOutputType = {
|
|
25
|
+
id: string | null;
|
|
26
|
+
eventId: string | null;
|
|
27
|
+
handlerId: string | null;
|
|
28
|
+
status: $Enums.ExecutionStatus | null;
|
|
29
|
+
attempt: number | null;
|
|
30
|
+
error: string | null;
|
|
31
|
+
errorCode: string | null;
|
|
32
|
+
startedAt: Date | null;
|
|
33
|
+
completedAt: Date | null;
|
|
34
|
+
durationMs: number | null;
|
|
35
|
+
createdAt: Date | null;
|
|
36
|
+
};
|
|
37
|
+
export type EventHandlerExecutionMaxAggregateOutputType = {
|
|
38
|
+
id: string | null;
|
|
39
|
+
eventId: string | null;
|
|
40
|
+
handlerId: string | null;
|
|
41
|
+
status: $Enums.ExecutionStatus | null;
|
|
42
|
+
attempt: number | null;
|
|
43
|
+
error: string | null;
|
|
44
|
+
errorCode: string | null;
|
|
45
|
+
startedAt: Date | null;
|
|
46
|
+
completedAt: Date | null;
|
|
47
|
+
durationMs: number | null;
|
|
48
|
+
createdAt: Date | null;
|
|
49
|
+
};
|
|
50
|
+
export type EventHandlerExecutionCountAggregateOutputType = {
|
|
51
|
+
id: number;
|
|
52
|
+
eventId: number;
|
|
53
|
+
handlerId: number;
|
|
54
|
+
status: number;
|
|
55
|
+
attempt: number;
|
|
56
|
+
input: number;
|
|
57
|
+
output: number;
|
|
58
|
+
error: number;
|
|
59
|
+
errorCode: number;
|
|
60
|
+
startedAt: number;
|
|
61
|
+
completedAt: number;
|
|
62
|
+
durationMs: number;
|
|
63
|
+
createdAt: number;
|
|
64
|
+
_all: number;
|
|
65
|
+
};
|
|
66
|
+
export type EventHandlerExecutionAvgAggregateInputType = {
|
|
67
|
+
attempt?: true;
|
|
68
|
+
durationMs?: true;
|
|
69
|
+
};
|
|
70
|
+
export type EventHandlerExecutionSumAggregateInputType = {
|
|
71
|
+
attempt?: true;
|
|
72
|
+
durationMs?: true;
|
|
73
|
+
};
|
|
74
|
+
export type EventHandlerExecutionMinAggregateInputType = {
|
|
75
|
+
id?: true;
|
|
76
|
+
eventId?: true;
|
|
77
|
+
handlerId?: true;
|
|
78
|
+
status?: true;
|
|
79
|
+
attempt?: true;
|
|
80
|
+
error?: true;
|
|
81
|
+
errorCode?: true;
|
|
82
|
+
startedAt?: true;
|
|
83
|
+
completedAt?: true;
|
|
84
|
+
durationMs?: true;
|
|
85
|
+
createdAt?: true;
|
|
86
|
+
};
|
|
87
|
+
export type EventHandlerExecutionMaxAggregateInputType = {
|
|
88
|
+
id?: true;
|
|
89
|
+
eventId?: true;
|
|
90
|
+
handlerId?: true;
|
|
91
|
+
status?: true;
|
|
92
|
+
attempt?: true;
|
|
93
|
+
error?: true;
|
|
94
|
+
errorCode?: true;
|
|
95
|
+
startedAt?: true;
|
|
96
|
+
completedAt?: true;
|
|
97
|
+
durationMs?: true;
|
|
98
|
+
createdAt?: true;
|
|
99
|
+
};
|
|
100
|
+
export type EventHandlerExecutionCountAggregateInputType = {
|
|
101
|
+
id?: true;
|
|
102
|
+
eventId?: true;
|
|
103
|
+
handlerId?: true;
|
|
104
|
+
status?: true;
|
|
105
|
+
attempt?: true;
|
|
106
|
+
input?: true;
|
|
107
|
+
output?: true;
|
|
108
|
+
error?: true;
|
|
109
|
+
errorCode?: true;
|
|
110
|
+
startedAt?: true;
|
|
111
|
+
completedAt?: true;
|
|
112
|
+
durationMs?: true;
|
|
113
|
+
createdAt?: true;
|
|
114
|
+
_all?: true;
|
|
115
|
+
};
|
|
116
|
+
export type EventHandlerExecutionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
117
|
+
/**
|
|
118
|
+
* Filter which EventHandlerExecution to aggregate.
|
|
119
|
+
*/
|
|
120
|
+
where?: Prisma.EventHandlerExecutionWhereInput;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
123
|
+
*
|
|
124
|
+
* Determine the order of EventHandlerExecutions to fetch.
|
|
125
|
+
*/
|
|
126
|
+
orderBy?: Prisma.EventHandlerExecutionOrderByWithRelationInput | Prisma.EventHandlerExecutionOrderByWithRelationInput[];
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
129
|
+
*
|
|
130
|
+
* Sets the start position
|
|
131
|
+
*/
|
|
132
|
+
cursor?: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
135
|
+
*
|
|
136
|
+
* Take `±n` EventHandlerExecutions from the position of the cursor.
|
|
137
|
+
*/
|
|
138
|
+
take?: number;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
141
|
+
*
|
|
142
|
+
* Skip the first `n` EventHandlerExecutions.
|
|
143
|
+
*/
|
|
144
|
+
skip?: number;
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
+
*
|
|
148
|
+
* Count returned EventHandlerExecutions
|
|
149
|
+
**/
|
|
150
|
+
_count?: true | EventHandlerExecutionCountAggregateInputType;
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
+
*
|
|
154
|
+
* Select which fields to average
|
|
155
|
+
**/
|
|
156
|
+
_avg?: EventHandlerExecutionAvgAggregateInputType;
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
+
*
|
|
160
|
+
* Select which fields to sum
|
|
161
|
+
**/
|
|
162
|
+
_sum?: EventHandlerExecutionSumAggregateInputType;
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
+
*
|
|
166
|
+
* Select which fields to find the minimum value
|
|
167
|
+
**/
|
|
168
|
+
_min?: EventHandlerExecutionMinAggregateInputType;
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
+
*
|
|
172
|
+
* Select which fields to find the maximum value
|
|
173
|
+
**/
|
|
174
|
+
_max?: EventHandlerExecutionMaxAggregateInputType;
|
|
175
|
+
};
|
|
176
|
+
export type GetEventHandlerExecutionAggregateType<T extends EventHandlerExecutionAggregateArgs> = {
|
|
177
|
+
[P in keyof T & keyof AggregateEventHandlerExecution]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateEventHandlerExecution[P]> : Prisma.GetScalarType<T[P], AggregateEventHandlerExecution[P]>;
|
|
178
|
+
};
|
|
179
|
+
export type EventHandlerExecutionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
180
|
+
where?: Prisma.EventHandlerExecutionWhereInput;
|
|
181
|
+
orderBy?: Prisma.EventHandlerExecutionOrderByWithAggregationInput | Prisma.EventHandlerExecutionOrderByWithAggregationInput[];
|
|
182
|
+
by: Prisma.EventHandlerExecutionScalarFieldEnum[] | Prisma.EventHandlerExecutionScalarFieldEnum;
|
|
183
|
+
having?: Prisma.EventHandlerExecutionScalarWhereWithAggregatesInput;
|
|
184
|
+
take?: number;
|
|
185
|
+
skip?: number;
|
|
186
|
+
_count?: EventHandlerExecutionCountAggregateInputType | true;
|
|
187
|
+
_avg?: EventHandlerExecutionAvgAggregateInputType;
|
|
188
|
+
_sum?: EventHandlerExecutionSumAggregateInputType;
|
|
189
|
+
_min?: EventHandlerExecutionMinAggregateInputType;
|
|
190
|
+
_max?: EventHandlerExecutionMaxAggregateInputType;
|
|
191
|
+
};
|
|
192
|
+
export type EventHandlerExecutionGroupByOutputType = {
|
|
193
|
+
id: string;
|
|
194
|
+
eventId: string;
|
|
195
|
+
handlerId: string;
|
|
196
|
+
status: $Enums.ExecutionStatus;
|
|
197
|
+
attempt: number;
|
|
198
|
+
input: runtime.JsonValue | null;
|
|
199
|
+
output: runtime.JsonValue | null;
|
|
200
|
+
error: string | null;
|
|
201
|
+
errorCode: string | null;
|
|
202
|
+
startedAt: Date | null;
|
|
203
|
+
completedAt: Date | null;
|
|
204
|
+
durationMs: number | null;
|
|
205
|
+
createdAt: Date;
|
|
206
|
+
_count: EventHandlerExecutionCountAggregateOutputType | null;
|
|
207
|
+
_avg: EventHandlerExecutionAvgAggregateOutputType | null;
|
|
208
|
+
_sum: EventHandlerExecutionSumAggregateOutputType | null;
|
|
209
|
+
_min: EventHandlerExecutionMinAggregateOutputType | null;
|
|
210
|
+
_max: EventHandlerExecutionMaxAggregateOutputType | null;
|
|
211
|
+
};
|
|
212
|
+
type GetEventHandlerExecutionGroupByPayload<T extends EventHandlerExecutionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<EventHandlerExecutionGroupByOutputType, T['by']> & {
|
|
213
|
+
[P in ((keyof T) & (keyof EventHandlerExecutionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], EventHandlerExecutionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], EventHandlerExecutionGroupByOutputType[P]>;
|
|
214
|
+
}>>;
|
|
215
|
+
export type EventHandlerExecutionWhereInput = {
|
|
216
|
+
AND?: Prisma.EventHandlerExecutionWhereInput | Prisma.EventHandlerExecutionWhereInput[];
|
|
217
|
+
OR?: Prisma.EventHandlerExecutionWhereInput[];
|
|
218
|
+
NOT?: Prisma.EventHandlerExecutionWhereInput | Prisma.EventHandlerExecutionWhereInput[];
|
|
219
|
+
id?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
220
|
+
eventId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
221
|
+
handlerId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
222
|
+
status?: Prisma.EnumExecutionStatusFilter<"EventHandlerExecution"> | $Enums.ExecutionStatus;
|
|
223
|
+
attempt?: Prisma.IntFilter<"EventHandlerExecution"> | number;
|
|
224
|
+
input?: Prisma.JsonNullableFilter<"EventHandlerExecution">;
|
|
225
|
+
output?: Prisma.JsonNullableFilter<"EventHandlerExecution">;
|
|
226
|
+
error?: Prisma.StringNullableFilter<"EventHandlerExecution"> | string | null;
|
|
227
|
+
errorCode?: Prisma.StringNullableFilter<"EventHandlerExecution"> | string | null;
|
|
228
|
+
startedAt?: Prisma.DateTimeNullableFilter<"EventHandlerExecution"> | Date | string | null;
|
|
229
|
+
completedAt?: Prisma.DateTimeNullableFilter<"EventHandlerExecution"> | Date | string | null;
|
|
230
|
+
durationMs?: Prisma.IntNullableFilter<"EventHandlerExecution"> | number | null;
|
|
231
|
+
createdAt?: Prisma.DateTimeFilter<"EventHandlerExecution"> | Date | string;
|
|
232
|
+
event?: Prisma.XOR<Prisma.WorkflowEventScalarRelationFilter, Prisma.WorkflowEventWhereInput>;
|
|
233
|
+
handler?: Prisma.XOR<Prisma.EventHandlerScalarRelationFilter, Prisma.EventHandlerWhereInput>;
|
|
234
|
+
};
|
|
235
|
+
export type EventHandlerExecutionOrderByWithRelationInput = {
|
|
236
|
+
id?: Prisma.SortOrder;
|
|
237
|
+
eventId?: Prisma.SortOrder;
|
|
238
|
+
handlerId?: Prisma.SortOrder;
|
|
239
|
+
status?: Prisma.SortOrder;
|
|
240
|
+
attempt?: Prisma.SortOrder;
|
|
241
|
+
input?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
242
|
+
output?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
243
|
+
error?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
244
|
+
errorCode?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
245
|
+
startedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
246
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
247
|
+
durationMs?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
248
|
+
createdAt?: Prisma.SortOrder;
|
|
249
|
+
event?: Prisma.WorkflowEventOrderByWithRelationInput;
|
|
250
|
+
handler?: Prisma.EventHandlerOrderByWithRelationInput;
|
|
251
|
+
_relevance?: Prisma.EventHandlerExecutionOrderByRelevanceInput;
|
|
252
|
+
};
|
|
253
|
+
export type EventHandlerExecutionWhereUniqueInput = Prisma.AtLeast<{
|
|
254
|
+
id?: string;
|
|
255
|
+
AND?: Prisma.EventHandlerExecutionWhereInput | Prisma.EventHandlerExecutionWhereInput[];
|
|
256
|
+
OR?: Prisma.EventHandlerExecutionWhereInput[];
|
|
257
|
+
NOT?: Prisma.EventHandlerExecutionWhereInput | Prisma.EventHandlerExecutionWhereInput[];
|
|
258
|
+
eventId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
259
|
+
handlerId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
260
|
+
status?: Prisma.EnumExecutionStatusFilter<"EventHandlerExecution"> | $Enums.ExecutionStatus;
|
|
261
|
+
attempt?: Prisma.IntFilter<"EventHandlerExecution"> | number;
|
|
262
|
+
input?: Prisma.JsonNullableFilter<"EventHandlerExecution">;
|
|
263
|
+
output?: Prisma.JsonNullableFilter<"EventHandlerExecution">;
|
|
264
|
+
error?: Prisma.StringNullableFilter<"EventHandlerExecution"> | string | null;
|
|
265
|
+
errorCode?: Prisma.StringNullableFilter<"EventHandlerExecution"> | string | null;
|
|
266
|
+
startedAt?: Prisma.DateTimeNullableFilter<"EventHandlerExecution"> | Date | string | null;
|
|
267
|
+
completedAt?: Prisma.DateTimeNullableFilter<"EventHandlerExecution"> | Date | string | null;
|
|
268
|
+
durationMs?: Prisma.IntNullableFilter<"EventHandlerExecution"> | number | null;
|
|
269
|
+
createdAt?: Prisma.DateTimeFilter<"EventHandlerExecution"> | Date | string;
|
|
270
|
+
event?: Prisma.XOR<Prisma.WorkflowEventScalarRelationFilter, Prisma.WorkflowEventWhereInput>;
|
|
271
|
+
handler?: Prisma.XOR<Prisma.EventHandlerScalarRelationFilter, Prisma.EventHandlerWhereInput>;
|
|
272
|
+
}, "id">;
|
|
273
|
+
export type EventHandlerExecutionOrderByWithAggregationInput = {
|
|
274
|
+
id?: Prisma.SortOrder;
|
|
275
|
+
eventId?: Prisma.SortOrder;
|
|
276
|
+
handlerId?: Prisma.SortOrder;
|
|
277
|
+
status?: Prisma.SortOrder;
|
|
278
|
+
attempt?: Prisma.SortOrder;
|
|
279
|
+
input?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
280
|
+
output?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
|
+
error?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
282
|
+
errorCode?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
283
|
+
startedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
284
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
285
|
+
durationMs?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
286
|
+
createdAt?: Prisma.SortOrder;
|
|
287
|
+
_count?: Prisma.EventHandlerExecutionCountOrderByAggregateInput;
|
|
288
|
+
_avg?: Prisma.EventHandlerExecutionAvgOrderByAggregateInput;
|
|
289
|
+
_max?: Prisma.EventHandlerExecutionMaxOrderByAggregateInput;
|
|
290
|
+
_min?: Prisma.EventHandlerExecutionMinOrderByAggregateInput;
|
|
291
|
+
_sum?: Prisma.EventHandlerExecutionSumOrderByAggregateInput;
|
|
292
|
+
};
|
|
293
|
+
export type EventHandlerExecutionScalarWhereWithAggregatesInput = {
|
|
294
|
+
AND?: Prisma.EventHandlerExecutionScalarWhereWithAggregatesInput | Prisma.EventHandlerExecutionScalarWhereWithAggregatesInput[];
|
|
295
|
+
OR?: Prisma.EventHandlerExecutionScalarWhereWithAggregatesInput[];
|
|
296
|
+
NOT?: Prisma.EventHandlerExecutionScalarWhereWithAggregatesInput | Prisma.EventHandlerExecutionScalarWhereWithAggregatesInput[];
|
|
297
|
+
id?: Prisma.StringWithAggregatesFilter<"EventHandlerExecution"> | string;
|
|
298
|
+
eventId?: Prisma.StringWithAggregatesFilter<"EventHandlerExecution"> | string;
|
|
299
|
+
handlerId?: Prisma.StringWithAggregatesFilter<"EventHandlerExecution"> | string;
|
|
300
|
+
status?: Prisma.EnumExecutionStatusWithAggregatesFilter<"EventHandlerExecution"> | $Enums.ExecutionStatus;
|
|
301
|
+
attempt?: Prisma.IntWithAggregatesFilter<"EventHandlerExecution"> | number;
|
|
302
|
+
input?: Prisma.JsonNullableWithAggregatesFilter<"EventHandlerExecution">;
|
|
303
|
+
output?: Prisma.JsonNullableWithAggregatesFilter<"EventHandlerExecution">;
|
|
304
|
+
error?: Prisma.StringNullableWithAggregatesFilter<"EventHandlerExecution"> | string | null;
|
|
305
|
+
errorCode?: Prisma.StringNullableWithAggregatesFilter<"EventHandlerExecution"> | string | null;
|
|
306
|
+
startedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EventHandlerExecution"> | Date | string | null;
|
|
307
|
+
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EventHandlerExecution"> | Date | string | null;
|
|
308
|
+
durationMs?: Prisma.IntNullableWithAggregatesFilter<"EventHandlerExecution"> | number | null;
|
|
309
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"EventHandlerExecution"> | Date | string;
|
|
310
|
+
};
|
|
311
|
+
export type EventHandlerExecutionCreateInput = {
|
|
312
|
+
id?: string;
|
|
313
|
+
status?: $Enums.ExecutionStatus;
|
|
314
|
+
attempt?: number;
|
|
315
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
316
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
317
|
+
error?: string | null;
|
|
318
|
+
errorCode?: string | null;
|
|
319
|
+
startedAt?: Date | string | null;
|
|
320
|
+
completedAt?: Date | string | null;
|
|
321
|
+
durationMs?: number | null;
|
|
322
|
+
createdAt?: Date | string;
|
|
323
|
+
event: Prisma.WorkflowEventCreateNestedOneWithoutExecutionsInput;
|
|
324
|
+
handler: Prisma.EventHandlerCreateNestedOneWithoutExecutionsInput;
|
|
325
|
+
};
|
|
326
|
+
export type EventHandlerExecutionUncheckedCreateInput = {
|
|
327
|
+
id?: string;
|
|
328
|
+
eventId: string;
|
|
329
|
+
handlerId: string;
|
|
330
|
+
status?: $Enums.ExecutionStatus;
|
|
331
|
+
attempt?: number;
|
|
332
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
333
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
334
|
+
error?: string | null;
|
|
335
|
+
errorCode?: string | null;
|
|
336
|
+
startedAt?: Date | string | null;
|
|
337
|
+
completedAt?: Date | string | null;
|
|
338
|
+
durationMs?: number | null;
|
|
339
|
+
createdAt?: Date | string;
|
|
340
|
+
};
|
|
341
|
+
export type EventHandlerExecutionUpdateInput = {
|
|
342
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
343
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
344
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
345
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
346
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
347
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
348
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
349
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
350
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
351
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
352
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
353
|
+
event?: Prisma.WorkflowEventUpdateOneRequiredWithoutExecutionsNestedInput;
|
|
354
|
+
handler?: Prisma.EventHandlerUpdateOneRequiredWithoutExecutionsNestedInput;
|
|
355
|
+
};
|
|
356
|
+
export type EventHandlerExecutionUncheckedUpdateInput = {
|
|
357
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
358
|
+
eventId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
359
|
+
handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
360
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
361
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
362
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
363
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
364
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
365
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
366
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
367
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
368
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
369
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
370
|
+
};
|
|
371
|
+
export type EventHandlerExecutionCreateManyInput = {
|
|
372
|
+
id?: string;
|
|
373
|
+
eventId: string;
|
|
374
|
+
handlerId: string;
|
|
375
|
+
status?: $Enums.ExecutionStatus;
|
|
376
|
+
attempt?: number;
|
|
377
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
378
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
379
|
+
error?: string | null;
|
|
380
|
+
errorCode?: string | null;
|
|
381
|
+
startedAt?: Date | string | null;
|
|
382
|
+
completedAt?: Date | string | null;
|
|
383
|
+
durationMs?: number | null;
|
|
384
|
+
createdAt?: Date | string;
|
|
385
|
+
};
|
|
386
|
+
export type EventHandlerExecutionUpdateManyMutationInput = {
|
|
387
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
388
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
389
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
390
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
391
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
392
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
393
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
394
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
395
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
396
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
397
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
398
|
+
};
|
|
399
|
+
export type EventHandlerExecutionUncheckedUpdateManyInput = {
|
|
400
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
|
+
eventId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
402
|
+
handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
403
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
404
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
405
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
406
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
407
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
408
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
409
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
410
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
411
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
412
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
413
|
+
};
|
|
414
|
+
export type EventHandlerExecutionListRelationFilter = {
|
|
415
|
+
every?: Prisma.EventHandlerExecutionWhereInput;
|
|
416
|
+
some?: Prisma.EventHandlerExecutionWhereInput;
|
|
417
|
+
none?: Prisma.EventHandlerExecutionWhereInput;
|
|
418
|
+
};
|
|
419
|
+
export type EventHandlerExecutionOrderByRelationAggregateInput = {
|
|
420
|
+
_count?: Prisma.SortOrder;
|
|
421
|
+
};
|
|
422
|
+
export type EventHandlerExecutionOrderByRelevanceInput = {
|
|
423
|
+
fields: Prisma.EventHandlerExecutionOrderByRelevanceFieldEnum | Prisma.EventHandlerExecutionOrderByRelevanceFieldEnum[];
|
|
424
|
+
sort: Prisma.SortOrder;
|
|
425
|
+
search: string;
|
|
426
|
+
};
|
|
427
|
+
export type EventHandlerExecutionCountOrderByAggregateInput = {
|
|
428
|
+
id?: Prisma.SortOrder;
|
|
429
|
+
eventId?: Prisma.SortOrder;
|
|
430
|
+
handlerId?: Prisma.SortOrder;
|
|
431
|
+
status?: Prisma.SortOrder;
|
|
432
|
+
attempt?: Prisma.SortOrder;
|
|
433
|
+
input?: Prisma.SortOrder;
|
|
434
|
+
output?: Prisma.SortOrder;
|
|
435
|
+
error?: Prisma.SortOrder;
|
|
436
|
+
errorCode?: Prisma.SortOrder;
|
|
437
|
+
startedAt?: Prisma.SortOrder;
|
|
438
|
+
completedAt?: Prisma.SortOrder;
|
|
439
|
+
durationMs?: Prisma.SortOrder;
|
|
440
|
+
createdAt?: Prisma.SortOrder;
|
|
441
|
+
};
|
|
442
|
+
export type EventHandlerExecutionAvgOrderByAggregateInput = {
|
|
443
|
+
attempt?: Prisma.SortOrder;
|
|
444
|
+
durationMs?: Prisma.SortOrder;
|
|
445
|
+
};
|
|
446
|
+
export type EventHandlerExecutionMaxOrderByAggregateInput = {
|
|
447
|
+
id?: Prisma.SortOrder;
|
|
448
|
+
eventId?: Prisma.SortOrder;
|
|
449
|
+
handlerId?: Prisma.SortOrder;
|
|
450
|
+
status?: Prisma.SortOrder;
|
|
451
|
+
attempt?: Prisma.SortOrder;
|
|
452
|
+
error?: Prisma.SortOrder;
|
|
453
|
+
errorCode?: Prisma.SortOrder;
|
|
454
|
+
startedAt?: Prisma.SortOrder;
|
|
455
|
+
completedAt?: Prisma.SortOrder;
|
|
456
|
+
durationMs?: Prisma.SortOrder;
|
|
457
|
+
createdAt?: Prisma.SortOrder;
|
|
458
|
+
};
|
|
459
|
+
export type EventHandlerExecutionMinOrderByAggregateInput = {
|
|
460
|
+
id?: Prisma.SortOrder;
|
|
461
|
+
eventId?: Prisma.SortOrder;
|
|
462
|
+
handlerId?: Prisma.SortOrder;
|
|
463
|
+
status?: Prisma.SortOrder;
|
|
464
|
+
attempt?: Prisma.SortOrder;
|
|
465
|
+
error?: Prisma.SortOrder;
|
|
466
|
+
errorCode?: Prisma.SortOrder;
|
|
467
|
+
startedAt?: Prisma.SortOrder;
|
|
468
|
+
completedAt?: Prisma.SortOrder;
|
|
469
|
+
durationMs?: Prisma.SortOrder;
|
|
470
|
+
createdAt?: Prisma.SortOrder;
|
|
471
|
+
};
|
|
472
|
+
export type EventHandlerExecutionSumOrderByAggregateInput = {
|
|
473
|
+
attempt?: Prisma.SortOrder;
|
|
474
|
+
durationMs?: Prisma.SortOrder;
|
|
475
|
+
};
|
|
476
|
+
export type EventHandlerExecutionCreateNestedManyWithoutHandlerInput = {
|
|
477
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput> | Prisma.EventHandlerExecutionCreateWithoutHandlerInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput[];
|
|
478
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutHandlerInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutHandlerInput[];
|
|
479
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyHandlerInputEnvelope;
|
|
480
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
481
|
+
};
|
|
482
|
+
export type EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput = {
|
|
483
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput> | Prisma.EventHandlerExecutionCreateWithoutHandlerInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput[];
|
|
484
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutHandlerInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutHandlerInput[];
|
|
485
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyHandlerInputEnvelope;
|
|
486
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
487
|
+
};
|
|
488
|
+
export type EventHandlerExecutionUpdateManyWithoutHandlerNestedInput = {
|
|
489
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput> | Prisma.EventHandlerExecutionCreateWithoutHandlerInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput[];
|
|
490
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutHandlerInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutHandlerInput[];
|
|
491
|
+
upsert?: Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutHandlerInput | Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutHandlerInput[];
|
|
492
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyHandlerInputEnvelope;
|
|
493
|
+
set?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
494
|
+
disconnect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
495
|
+
delete?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
496
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
497
|
+
update?: Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutHandlerInput | Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutHandlerInput[];
|
|
498
|
+
updateMany?: Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutHandlerInput | Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutHandlerInput[];
|
|
499
|
+
deleteMany?: Prisma.EventHandlerExecutionScalarWhereInput | Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
500
|
+
};
|
|
501
|
+
export type EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput = {
|
|
502
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput> | Prisma.EventHandlerExecutionCreateWithoutHandlerInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput[];
|
|
503
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutHandlerInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutHandlerInput[];
|
|
504
|
+
upsert?: Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutHandlerInput | Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutHandlerInput[];
|
|
505
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyHandlerInputEnvelope;
|
|
506
|
+
set?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
507
|
+
disconnect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
508
|
+
delete?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
509
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
510
|
+
update?: Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutHandlerInput | Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutHandlerInput[];
|
|
511
|
+
updateMany?: Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutHandlerInput | Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutHandlerInput[];
|
|
512
|
+
deleteMany?: Prisma.EventHandlerExecutionScalarWhereInput | Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
513
|
+
};
|
|
514
|
+
export type EventHandlerExecutionCreateNestedManyWithoutEventInput = {
|
|
515
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutEventInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutEventInput> | Prisma.EventHandlerExecutionCreateWithoutEventInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutEventInput[];
|
|
516
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutEventInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutEventInput[];
|
|
517
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyEventInputEnvelope;
|
|
518
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
519
|
+
};
|
|
520
|
+
export type EventHandlerExecutionUncheckedCreateNestedManyWithoutEventInput = {
|
|
521
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutEventInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutEventInput> | Prisma.EventHandlerExecutionCreateWithoutEventInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutEventInput[];
|
|
522
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutEventInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutEventInput[];
|
|
523
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyEventInputEnvelope;
|
|
524
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
525
|
+
};
|
|
526
|
+
export type EventHandlerExecutionUpdateManyWithoutEventNestedInput = {
|
|
527
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutEventInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutEventInput> | Prisma.EventHandlerExecutionCreateWithoutEventInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutEventInput[];
|
|
528
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutEventInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutEventInput[];
|
|
529
|
+
upsert?: Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutEventInput | Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutEventInput[];
|
|
530
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyEventInputEnvelope;
|
|
531
|
+
set?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
532
|
+
disconnect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
533
|
+
delete?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
534
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
535
|
+
update?: Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutEventInput | Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutEventInput[];
|
|
536
|
+
updateMany?: Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutEventInput | Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutEventInput[];
|
|
537
|
+
deleteMany?: Prisma.EventHandlerExecutionScalarWhereInput | Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
538
|
+
};
|
|
539
|
+
export type EventHandlerExecutionUncheckedUpdateManyWithoutEventNestedInput = {
|
|
540
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutEventInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutEventInput> | Prisma.EventHandlerExecutionCreateWithoutEventInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutEventInput[];
|
|
541
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutEventInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutEventInput[];
|
|
542
|
+
upsert?: Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutEventInput | Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutEventInput[];
|
|
543
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyEventInputEnvelope;
|
|
544
|
+
set?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
545
|
+
disconnect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
546
|
+
delete?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
547
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
548
|
+
update?: Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutEventInput | Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutEventInput[];
|
|
549
|
+
updateMany?: Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutEventInput | Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutEventInput[];
|
|
550
|
+
deleteMany?: Prisma.EventHandlerExecutionScalarWhereInput | Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
551
|
+
};
|
|
552
|
+
export type EnumExecutionStatusFieldUpdateOperationsInput = {
|
|
553
|
+
set?: $Enums.ExecutionStatus;
|
|
554
|
+
};
|
|
555
|
+
export type EventHandlerExecutionCreateWithoutHandlerInput = {
|
|
556
|
+
id?: string;
|
|
557
|
+
status?: $Enums.ExecutionStatus;
|
|
558
|
+
attempt?: number;
|
|
559
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
560
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
561
|
+
error?: string | null;
|
|
562
|
+
errorCode?: string | null;
|
|
563
|
+
startedAt?: Date | string | null;
|
|
564
|
+
completedAt?: Date | string | null;
|
|
565
|
+
durationMs?: number | null;
|
|
566
|
+
createdAt?: Date | string;
|
|
567
|
+
event: Prisma.WorkflowEventCreateNestedOneWithoutExecutionsInput;
|
|
568
|
+
};
|
|
569
|
+
export type EventHandlerExecutionUncheckedCreateWithoutHandlerInput = {
|
|
570
|
+
id?: string;
|
|
571
|
+
eventId: string;
|
|
572
|
+
status?: $Enums.ExecutionStatus;
|
|
573
|
+
attempt?: number;
|
|
574
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
575
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
576
|
+
error?: string | null;
|
|
577
|
+
errorCode?: string | null;
|
|
578
|
+
startedAt?: Date | string | null;
|
|
579
|
+
completedAt?: Date | string | null;
|
|
580
|
+
durationMs?: number | null;
|
|
581
|
+
createdAt?: Date | string;
|
|
582
|
+
};
|
|
583
|
+
export type EventHandlerExecutionCreateOrConnectWithoutHandlerInput = {
|
|
584
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
585
|
+
create: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput>;
|
|
586
|
+
};
|
|
587
|
+
export type EventHandlerExecutionCreateManyHandlerInputEnvelope = {
|
|
588
|
+
data: Prisma.EventHandlerExecutionCreateManyHandlerInput | Prisma.EventHandlerExecutionCreateManyHandlerInput[];
|
|
589
|
+
skipDuplicates?: boolean;
|
|
590
|
+
};
|
|
591
|
+
export type EventHandlerExecutionUpsertWithWhereUniqueWithoutHandlerInput = {
|
|
592
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
593
|
+
update: Prisma.XOR<Prisma.EventHandlerExecutionUpdateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedUpdateWithoutHandlerInput>;
|
|
594
|
+
create: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput>;
|
|
595
|
+
};
|
|
596
|
+
export type EventHandlerExecutionUpdateWithWhereUniqueWithoutHandlerInput = {
|
|
597
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
598
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedUpdateWithoutHandlerInput>;
|
|
599
|
+
};
|
|
600
|
+
export type EventHandlerExecutionUpdateManyWithWhereWithoutHandlerInput = {
|
|
601
|
+
where: Prisma.EventHandlerExecutionScalarWhereInput;
|
|
602
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateManyMutationInput, Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerInput>;
|
|
603
|
+
};
|
|
604
|
+
export type EventHandlerExecutionScalarWhereInput = {
|
|
605
|
+
AND?: Prisma.EventHandlerExecutionScalarWhereInput | Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
606
|
+
OR?: Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
607
|
+
NOT?: Prisma.EventHandlerExecutionScalarWhereInput | Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
608
|
+
id?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
609
|
+
eventId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
610
|
+
handlerId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
611
|
+
status?: Prisma.EnumExecutionStatusFilter<"EventHandlerExecution"> | $Enums.ExecutionStatus;
|
|
612
|
+
attempt?: Prisma.IntFilter<"EventHandlerExecution"> | number;
|
|
613
|
+
input?: Prisma.JsonNullableFilter<"EventHandlerExecution">;
|
|
614
|
+
output?: Prisma.JsonNullableFilter<"EventHandlerExecution">;
|
|
615
|
+
error?: Prisma.StringNullableFilter<"EventHandlerExecution"> | string | null;
|
|
616
|
+
errorCode?: Prisma.StringNullableFilter<"EventHandlerExecution"> | string | null;
|
|
617
|
+
startedAt?: Prisma.DateTimeNullableFilter<"EventHandlerExecution"> | Date | string | null;
|
|
618
|
+
completedAt?: Prisma.DateTimeNullableFilter<"EventHandlerExecution"> | Date | string | null;
|
|
619
|
+
durationMs?: Prisma.IntNullableFilter<"EventHandlerExecution"> | number | null;
|
|
620
|
+
createdAt?: Prisma.DateTimeFilter<"EventHandlerExecution"> | Date | string;
|
|
621
|
+
};
|
|
622
|
+
export type EventHandlerExecutionCreateWithoutEventInput = {
|
|
623
|
+
id?: string;
|
|
624
|
+
status?: $Enums.ExecutionStatus;
|
|
625
|
+
attempt?: number;
|
|
626
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
627
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
628
|
+
error?: string | null;
|
|
629
|
+
errorCode?: string | null;
|
|
630
|
+
startedAt?: Date | string | null;
|
|
631
|
+
completedAt?: Date | string | null;
|
|
632
|
+
durationMs?: number | null;
|
|
633
|
+
createdAt?: Date | string;
|
|
634
|
+
handler: Prisma.EventHandlerCreateNestedOneWithoutExecutionsInput;
|
|
635
|
+
};
|
|
636
|
+
export type EventHandlerExecutionUncheckedCreateWithoutEventInput = {
|
|
637
|
+
id?: string;
|
|
638
|
+
handlerId: string;
|
|
639
|
+
status?: $Enums.ExecutionStatus;
|
|
640
|
+
attempt?: number;
|
|
641
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
642
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
643
|
+
error?: string | null;
|
|
644
|
+
errorCode?: string | null;
|
|
645
|
+
startedAt?: Date | string | null;
|
|
646
|
+
completedAt?: Date | string | null;
|
|
647
|
+
durationMs?: number | null;
|
|
648
|
+
createdAt?: Date | string;
|
|
649
|
+
};
|
|
650
|
+
export type EventHandlerExecutionCreateOrConnectWithoutEventInput = {
|
|
651
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
652
|
+
create: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutEventInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutEventInput>;
|
|
653
|
+
};
|
|
654
|
+
export type EventHandlerExecutionCreateManyEventInputEnvelope = {
|
|
655
|
+
data: Prisma.EventHandlerExecutionCreateManyEventInput | Prisma.EventHandlerExecutionCreateManyEventInput[];
|
|
656
|
+
skipDuplicates?: boolean;
|
|
657
|
+
};
|
|
658
|
+
export type EventHandlerExecutionUpsertWithWhereUniqueWithoutEventInput = {
|
|
659
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
660
|
+
update: Prisma.XOR<Prisma.EventHandlerExecutionUpdateWithoutEventInput, Prisma.EventHandlerExecutionUncheckedUpdateWithoutEventInput>;
|
|
661
|
+
create: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutEventInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutEventInput>;
|
|
662
|
+
};
|
|
663
|
+
export type EventHandlerExecutionUpdateWithWhereUniqueWithoutEventInput = {
|
|
664
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
665
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateWithoutEventInput, Prisma.EventHandlerExecutionUncheckedUpdateWithoutEventInput>;
|
|
666
|
+
};
|
|
667
|
+
export type EventHandlerExecutionUpdateManyWithWhereWithoutEventInput = {
|
|
668
|
+
where: Prisma.EventHandlerExecutionScalarWhereInput;
|
|
669
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateManyMutationInput, Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutEventInput>;
|
|
670
|
+
};
|
|
671
|
+
export type EventHandlerExecutionCreateManyHandlerInput = {
|
|
672
|
+
id?: string;
|
|
673
|
+
eventId: string;
|
|
674
|
+
status?: $Enums.ExecutionStatus;
|
|
675
|
+
attempt?: number;
|
|
676
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
677
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
678
|
+
error?: string | null;
|
|
679
|
+
errorCode?: string | null;
|
|
680
|
+
startedAt?: Date | string | null;
|
|
681
|
+
completedAt?: Date | string | null;
|
|
682
|
+
durationMs?: number | null;
|
|
683
|
+
createdAt?: Date | string;
|
|
684
|
+
};
|
|
685
|
+
export type EventHandlerExecutionUpdateWithoutHandlerInput = {
|
|
686
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
687
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
688
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
689
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
690
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
691
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
692
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
693
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
694
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
695
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
696
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
697
|
+
event?: Prisma.WorkflowEventUpdateOneRequiredWithoutExecutionsNestedInput;
|
|
698
|
+
};
|
|
699
|
+
export type EventHandlerExecutionUncheckedUpdateWithoutHandlerInput = {
|
|
700
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
701
|
+
eventId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
702
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
703
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
704
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
705
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
706
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
707
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
708
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
709
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
710
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
711
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
712
|
+
};
|
|
713
|
+
export type EventHandlerExecutionUncheckedUpdateManyWithoutHandlerInput = {
|
|
714
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
715
|
+
eventId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
716
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
717
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
718
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
719
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
720
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
721
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
722
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
723
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
724
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
725
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
726
|
+
};
|
|
727
|
+
export type EventHandlerExecutionCreateManyEventInput = {
|
|
728
|
+
id?: string;
|
|
729
|
+
handlerId: string;
|
|
730
|
+
status?: $Enums.ExecutionStatus;
|
|
731
|
+
attempt?: number;
|
|
732
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
733
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
734
|
+
error?: string | null;
|
|
735
|
+
errorCode?: string | null;
|
|
736
|
+
startedAt?: Date | string | null;
|
|
737
|
+
completedAt?: Date | string | null;
|
|
738
|
+
durationMs?: number | null;
|
|
739
|
+
createdAt?: Date | string;
|
|
740
|
+
};
|
|
741
|
+
export type EventHandlerExecutionUpdateWithoutEventInput = {
|
|
742
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
743
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
744
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
745
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
746
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
747
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
748
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
749
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
750
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
751
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
752
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
753
|
+
handler?: Prisma.EventHandlerUpdateOneRequiredWithoutExecutionsNestedInput;
|
|
754
|
+
};
|
|
755
|
+
export type EventHandlerExecutionUncheckedUpdateWithoutEventInput = {
|
|
756
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
757
|
+
handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
758
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
759
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
760
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
761
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
762
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
763
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
764
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
765
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
766
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
767
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
768
|
+
};
|
|
769
|
+
export type EventHandlerExecutionUncheckedUpdateManyWithoutEventInput = {
|
|
770
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
771
|
+
handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
772
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
773
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
774
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
775
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
776
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
777
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
778
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
779
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
780
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
781
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
782
|
+
};
|
|
783
|
+
export type EventHandlerExecutionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
784
|
+
id?: boolean;
|
|
785
|
+
eventId?: boolean;
|
|
786
|
+
handlerId?: boolean;
|
|
787
|
+
status?: boolean;
|
|
788
|
+
attempt?: boolean;
|
|
789
|
+
input?: boolean;
|
|
790
|
+
output?: boolean;
|
|
791
|
+
error?: boolean;
|
|
792
|
+
errorCode?: boolean;
|
|
793
|
+
startedAt?: boolean;
|
|
794
|
+
completedAt?: boolean;
|
|
795
|
+
durationMs?: boolean;
|
|
796
|
+
createdAt?: boolean;
|
|
797
|
+
event?: boolean | Prisma.WorkflowEventDefaultArgs<ExtArgs>;
|
|
798
|
+
handler?: boolean | Prisma.EventHandlerDefaultArgs<ExtArgs>;
|
|
799
|
+
}, ExtArgs["result"]["eventHandlerExecution"]>;
|
|
800
|
+
export type EventHandlerExecutionSelectScalar = {
|
|
801
|
+
id?: boolean;
|
|
802
|
+
eventId?: boolean;
|
|
803
|
+
handlerId?: boolean;
|
|
804
|
+
status?: boolean;
|
|
805
|
+
attempt?: boolean;
|
|
806
|
+
input?: boolean;
|
|
807
|
+
output?: boolean;
|
|
808
|
+
error?: boolean;
|
|
809
|
+
errorCode?: boolean;
|
|
810
|
+
startedAt?: boolean;
|
|
811
|
+
completedAt?: boolean;
|
|
812
|
+
durationMs?: boolean;
|
|
813
|
+
createdAt?: boolean;
|
|
814
|
+
};
|
|
815
|
+
export type EventHandlerExecutionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "eventId" | "handlerId" | "status" | "attempt" | "input" | "output" | "error" | "errorCode" | "startedAt" | "completedAt" | "durationMs" | "createdAt", ExtArgs["result"]["eventHandlerExecution"]>;
|
|
816
|
+
export type EventHandlerExecutionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
817
|
+
event?: boolean | Prisma.WorkflowEventDefaultArgs<ExtArgs>;
|
|
818
|
+
handler?: boolean | Prisma.EventHandlerDefaultArgs<ExtArgs>;
|
|
819
|
+
};
|
|
820
|
+
export type $EventHandlerExecutionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
821
|
+
name: "EventHandlerExecution";
|
|
822
|
+
objects: {
|
|
823
|
+
event: Prisma.$WorkflowEventPayload<ExtArgs>;
|
|
824
|
+
handler: Prisma.$EventHandlerPayload<ExtArgs>;
|
|
825
|
+
};
|
|
826
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
827
|
+
id: string;
|
|
828
|
+
/**
|
|
829
|
+
* The event being processed
|
|
830
|
+
*/
|
|
831
|
+
eventId: string;
|
|
832
|
+
/**
|
|
833
|
+
* The handler that processed this event
|
|
834
|
+
*/
|
|
835
|
+
handlerId: string;
|
|
836
|
+
/**
|
|
837
|
+
* Execution status
|
|
838
|
+
*/
|
|
839
|
+
status: $Enums.ExecutionStatus;
|
|
840
|
+
/**
|
|
841
|
+
* Attempt number (1 for first try, increments on retry)
|
|
842
|
+
*/
|
|
843
|
+
attempt: number;
|
|
844
|
+
/**
|
|
845
|
+
* Input to the handler (may be transformed payload)
|
|
846
|
+
*/
|
|
847
|
+
input: runtime.JsonValue | null;
|
|
848
|
+
/**
|
|
849
|
+
* Output from the handler
|
|
850
|
+
*/
|
|
851
|
+
output: runtime.JsonValue | null;
|
|
852
|
+
/**
|
|
853
|
+
* Error details if failed
|
|
854
|
+
*/
|
|
855
|
+
error: string | null;
|
|
856
|
+
errorCode: string | null;
|
|
857
|
+
/**
|
|
858
|
+
* Timing
|
|
859
|
+
*/
|
|
860
|
+
startedAt: Date | null;
|
|
861
|
+
completedAt: Date | null;
|
|
862
|
+
durationMs: number | null;
|
|
863
|
+
createdAt: Date;
|
|
864
|
+
}, ExtArgs["result"]["eventHandlerExecution"]>;
|
|
865
|
+
composites: {};
|
|
866
|
+
};
|
|
867
|
+
export type EventHandlerExecutionGetPayload<S extends boolean | null | undefined | EventHandlerExecutionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload, S>;
|
|
868
|
+
export type EventHandlerExecutionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<EventHandlerExecutionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
869
|
+
select?: EventHandlerExecutionCountAggregateInputType | true;
|
|
870
|
+
};
|
|
871
|
+
export interface EventHandlerExecutionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
872
|
+
[K: symbol]: {
|
|
873
|
+
types: Prisma.TypeMap<ExtArgs>['model']['EventHandlerExecution'];
|
|
874
|
+
meta: {
|
|
875
|
+
name: 'EventHandlerExecution';
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* Find zero or one EventHandlerExecution that matches the filter.
|
|
880
|
+
* @param {EventHandlerExecutionFindUniqueArgs} args - Arguments to find a EventHandlerExecution
|
|
881
|
+
* @example
|
|
882
|
+
* // Get one EventHandlerExecution
|
|
883
|
+
* const eventHandlerExecution = await prisma.eventHandlerExecution.findUnique({
|
|
884
|
+
* where: {
|
|
885
|
+
* // ... provide filter here
|
|
886
|
+
* }
|
|
887
|
+
* })
|
|
888
|
+
*/
|
|
889
|
+
findUnique<T extends EventHandlerExecutionFindUniqueArgs>(args: Prisma.SelectSubset<T, EventHandlerExecutionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EventHandlerExecutionClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
890
|
+
/**
|
|
891
|
+
* Find one EventHandlerExecution that matches the filter or throw an error with `error.code='P2025'`
|
|
892
|
+
* if no matches were found.
|
|
893
|
+
* @param {EventHandlerExecutionFindUniqueOrThrowArgs} args - Arguments to find a EventHandlerExecution
|
|
894
|
+
* @example
|
|
895
|
+
* // Get one EventHandlerExecution
|
|
896
|
+
* const eventHandlerExecution = await prisma.eventHandlerExecution.findUniqueOrThrow({
|
|
897
|
+
* where: {
|
|
898
|
+
* // ... provide filter here
|
|
899
|
+
* }
|
|
900
|
+
* })
|
|
901
|
+
*/
|
|
902
|
+
findUniqueOrThrow<T extends EventHandlerExecutionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EventHandlerExecutionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EventHandlerExecutionClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
903
|
+
/**
|
|
904
|
+
* Find the first EventHandlerExecution that matches the filter.
|
|
905
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
906
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
907
|
+
* @param {EventHandlerExecutionFindFirstArgs} args - Arguments to find a EventHandlerExecution
|
|
908
|
+
* @example
|
|
909
|
+
* // Get one EventHandlerExecution
|
|
910
|
+
* const eventHandlerExecution = await prisma.eventHandlerExecution.findFirst({
|
|
911
|
+
* where: {
|
|
912
|
+
* // ... provide filter here
|
|
913
|
+
* }
|
|
914
|
+
* })
|
|
915
|
+
*/
|
|
916
|
+
findFirst<T extends EventHandlerExecutionFindFirstArgs>(args?: Prisma.SelectSubset<T, EventHandlerExecutionFindFirstArgs<ExtArgs>>): Prisma.Prisma__EventHandlerExecutionClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
917
|
+
/**
|
|
918
|
+
* Find the first EventHandlerExecution that matches the filter or
|
|
919
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
920
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
921
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
922
|
+
* @param {EventHandlerExecutionFindFirstOrThrowArgs} args - Arguments to find a EventHandlerExecution
|
|
923
|
+
* @example
|
|
924
|
+
* // Get one EventHandlerExecution
|
|
925
|
+
* const eventHandlerExecution = await prisma.eventHandlerExecution.findFirstOrThrow({
|
|
926
|
+
* where: {
|
|
927
|
+
* // ... provide filter here
|
|
928
|
+
* }
|
|
929
|
+
* })
|
|
930
|
+
*/
|
|
931
|
+
findFirstOrThrow<T extends EventHandlerExecutionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EventHandlerExecutionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EventHandlerExecutionClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
932
|
+
/**
|
|
933
|
+
* Find zero or more EventHandlerExecutions that matches the filter.
|
|
934
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
935
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
936
|
+
* @param {EventHandlerExecutionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
937
|
+
* @example
|
|
938
|
+
* // Get all EventHandlerExecutions
|
|
939
|
+
* const eventHandlerExecutions = await prisma.eventHandlerExecution.findMany()
|
|
940
|
+
*
|
|
941
|
+
* // Get first 10 EventHandlerExecutions
|
|
942
|
+
* const eventHandlerExecutions = await prisma.eventHandlerExecution.findMany({ take: 10 })
|
|
943
|
+
*
|
|
944
|
+
* // Only select the `id`
|
|
945
|
+
* const eventHandlerExecutionWithIdOnly = await prisma.eventHandlerExecution.findMany({ select: { id: true } })
|
|
946
|
+
*
|
|
947
|
+
*/
|
|
948
|
+
findMany<T extends EventHandlerExecutionFindManyArgs>(args?: Prisma.SelectSubset<T, EventHandlerExecutionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
949
|
+
/**
|
|
950
|
+
* Create a EventHandlerExecution.
|
|
951
|
+
* @param {EventHandlerExecutionCreateArgs} args - Arguments to create a EventHandlerExecution.
|
|
952
|
+
* @example
|
|
953
|
+
* // Create one EventHandlerExecution
|
|
954
|
+
* const EventHandlerExecution = await prisma.eventHandlerExecution.create({
|
|
955
|
+
* data: {
|
|
956
|
+
* // ... data to create a EventHandlerExecution
|
|
957
|
+
* }
|
|
958
|
+
* })
|
|
959
|
+
*
|
|
960
|
+
*/
|
|
961
|
+
create<T extends EventHandlerExecutionCreateArgs>(args: Prisma.SelectSubset<T, EventHandlerExecutionCreateArgs<ExtArgs>>): Prisma.Prisma__EventHandlerExecutionClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
962
|
+
/**
|
|
963
|
+
* Create many EventHandlerExecutions.
|
|
964
|
+
* @param {EventHandlerExecutionCreateManyArgs} args - Arguments to create many EventHandlerExecutions.
|
|
965
|
+
* @example
|
|
966
|
+
* // Create many EventHandlerExecutions
|
|
967
|
+
* const eventHandlerExecution = await prisma.eventHandlerExecution.createMany({
|
|
968
|
+
* data: [
|
|
969
|
+
* // ... provide data here
|
|
970
|
+
* ]
|
|
971
|
+
* })
|
|
972
|
+
*
|
|
973
|
+
*/
|
|
974
|
+
createMany<T extends EventHandlerExecutionCreateManyArgs>(args?: Prisma.SelectSubset<T, EventHandlerExecutionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
975
|
+
/**
|
|
976
|
+
* Delete a EventHandlerExecution.
|
|
977
|
+
* @param {EventHandlerExecutionDeleteArgs} args - Arguments to delete one EventHandlerExecution.
|
|
978
|
+
* @example
|
|
979
|
+
* // Delete one EventHandlerExecution
|
|
980
|
+
* const EventHandlerExecution = await prisma.eventHandlerExecution.delete({
|
|
981
|
+
* where: {
|
|
982
|
+
* // ... filter to delete one EventHandlerExecution
|
|
983
|
+
* }
|
|
984
|
+
* })
|
|
985
|
+
*
|
|
986
|
+
*/
|
|
987
|
+
delete<T extends EventHandlerExecutionDeleteArgs>(args: Prisma.SelectSubset<T, EventHandlerExecutionDeleteArgs<ExtArgs>>): Prisma.Prisma__EventHandlerExecutionClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
988
|
+
/**
|
|
989
|
+
* Update one EventHandlerExecution.
|
|
990
|
+
* @param {EventHandlerExecutionUpdateArgs} args - Arguments to update one EventHandlerExecution.
|
|
991
|
+
* @example
|
|
992
|
+
* // Update one EventHandlerExecution
|
|
993
|
+
* const eventHandlerExecution = await prisma.eventHandlerExecution.update({
|
|
994
|
+
* where: {
|
|
995
|
+
* // ... provide filter here
|
|
996
|
+
* },
|
|
997
|
+
* data: {
|
|
998
|
+
* // ... provide data here
|
|
999
|
+
* }
|
|
1000
|
+
* })
|
|
1001
|
+
*
|
|
1002
|
+
*/
|
|
1003
|
+
update<T extends EventHandlerExecutionUpdateArgs>(args: Prisma.SelectSubset<T, EventHandlerExecutionUpdateArgs<ExtArgs>>): Prisma.Prisma__EventHandlerExecutionClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Delete zero or more EventHandlerExecutions.
|
|
1006
|
+
* @param {EventHandlerExecutionDeleteManyArgs} args - Arguments to filter EventHandlerExecutions to delete.
|
|
1007
|
+
* @example
|
|
1008
|
+
* // Delete a few EventHandlerExecutions
|
|
1009
|
+
* const { count } = await prisma.eventHandlerExecution.deleteMany({
|
|
1010
|
+
* where: {
|
|
1011
|
+
* // ... provide filter here
|
|
1012
|
+
* }
|
|
1013
|
+
* })
|
|
1014
|
+
*
|
|
1015
|
+
*/
|
|
1016
|
+
deleteMany<T extends EventHandlerExecutionDeleteManyArgs>(args?: Prisma.SelectSubset<T, EventHandlerExecutionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1017
|
+
/**
|
|
1018
|
+
* Update zero or more EventHandlerExecutions.
|
|
1019
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1020
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1021
|
+
* @param {EventHandlerExecutionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1022
|
+
* @example
|
|
1023
|
+
* // Update many EventHandlerExecutions
|
|
1024
|
+
* const eventHandlerExecution = await prisma.eventHandlerExecution.updateMany({
|
|
1025
|
+
* where: {
|
|
1026
|
+
* // ... provide filter here
|
|
1027
|
+
* },
|
|
1028
|
+
* data: {
|
|
1029
|
+
* // ... provide data here
|
|
1030
|
+
* }
|
|
1031
|
+
* })
|
|
1032
|
+
*
|
|
1033
|
+
*/
|
|
1034
|
+
updateMany<T extends EventHandlerExecutionUpdateManyArgs>(args: Prisma.SelectSubset<T, EventHandlerExecutionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Create or update one EventHandlerExecution.
|
|
1037
|
+
* @param {EventHandlerExecutionUpsertArgs} args - Arguments to update or create a EventHandlerExecution.
|
|
1038
|
+
* @example
|
|
1039
|
+
* // Update or create a EventHandlerExecution
|
|
1040
|
+
* const eventHandlerExecution = await prisma.eventHandlerExecution.upsert({
|
|
1041
|
+
* create: {
|
|
1042
|
+
* // ... data to create a EventHandlerExecution
|
|
1043
|
+
* },
|
|
1044
|
+
* update: {
|
|
1045
|
+
* // ... in case it already exists, update
|
|
1046
|
+
* },
|
|
1047
|
+
* where: {
|
|
1048
|
+
* // ... the filter for the EventHandlerExecution we want to update
|
|
1049
|
+
* }
|
|
1050
|
+
* })
|
|
1051
|
+
*/
|
|
1052
|
+
upsert<T extends EventHandlerExecutionUpsertArgs>(args: Prisma.SelectSubset<T, EventHandlerExecutionUpsertArgs<ExtArgs>>): Prisma.Prisma__EventHandlerExecutionClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1053
|
+
/**
|
|
1054
|
+
* Count the number of EventHandlerExecutions.
|
|
1055
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1056
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1057
|
+
* @param {EventHandlerExecutionCountArgs} args - Arguments to filter EventHandlerExecutions to count.
|
|
1058
|
+
* @example
|
|
1059
|
+
* // Count the number of EventHandlerExecutions
|
|
1060
|
+
* const count = await prisma.eventHandlerExecution.count({
|
|
1061
|
+
* where: {
|
|
1062
|
+
* // ... the filter for the EventHandlerExecutions we want to count
|
|
1063
|
+
* }
|
|
1064
|
+
* })
|
|
1065
|
+
**/
|
|
1066
|
+
count<T extends EventHandlerExecutionCountArgs>(args?: Prisma.Subset<T, EventHandlerExecutionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], EventHandlerExecutionCountAggregateOutputType> : number>;
|
|
1067
|
+
/**
|
|
1068
|
+
* Allows you to perform aggregations operations on a EventHandlerExecution.
|
|
1069
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1070
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1071
|
+
* @param {EventHandlerExecutionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1072
|
+
* @example
|
|
1073
|
+
* // Ordered by age ascending
|
|
1074
|
+
* // Where email contains prisma.io
|
|
1075
|
+
* // Limited to the 10 users
|
|
1076
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1077
|
+
* _avg: {
|
|
1078
|
+
* age: true,
|
|
1079
|
+
* },
|
|
1080
|
+
* where: {
|
|
1081
|
+
* email: {
|
|
1082
|
+
* contains: "prisma.io",
|
|
1083
|
+
* },
|
|
1084
|
+
* },
|
|
1085
|
+
* orderBy: {
|
|
1086
|
+
* age: "asc",
|
|
1087
|
+
* },
|
|
1088
|
+
* take: 10,
|
|
1089
|
+
* })
|
|
1090
|
+
**/
|
|
1091
|
+
aggregate<T extends EventHandlerExecutionAggregateArgs>(args: Prisma.Subset<T, EventHandlerExecutionAggregateArgs>): Prisma.PrismaPromise<GetEventHandlerExecutionAggregateType<T>>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Group by EventHandlerExecution.
|
|
1094
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1095
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1096
|
+
* @param {EventHandlerExecutionGroupByArgs} args - Group by arguments.
|
|
1097
|
+
* @example
|
|
1098
|
+
* // Group by city, order by createdAt, get count
|
|
1099
|
+
* const result = await prisma.user.groupBy({
|
|
1100
|
+
* by: ['city', 'createdAt'],
|
|
1101
|
+
* orderBy: {
|
|
1102
|
+
* createdAt: true
|
|
1103
|
+
* },
|
|
1104
|
+
* _count: {
|
|
1105
|
+
* _all: true
|
|
1106
|
+
* },
|
|
1107
|
+
* })
|
|
1108
|
+
*
|
|
1109
|
+
**/
|
|
1110
|
+
groupBy<T extends EventHandlerExecutionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1111
|
+
orderBy: EventHandlerExecutionGroupByArgs['orderBy'];
|
|
1112
|
+
} : {
|
|
1113
|
+
orderBy?: EventHandlerExecutionGroupByArgs['orderBy'];
|
|
1114
|
+
}, 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 ? {
|
|
1115
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1116
|
+
Error,
|
|
1117
|
+
'Field ',
|
|
1118
|
+
P,
|
|
1119
|
+
` in "having" needs to be provided in "by"`
|
|
1120
|
+
];
|
|
1121
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1122
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1123
|
+
}[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 ? {} : {
|
|
1124
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1125
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1126
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1127
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, EventHandlerExecutionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEventHandlerExecutionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Fields of the EventHandlerExecution model
|
|
1130
|
+
*/
|
|
1131
|
+
readonly fields: EventHandlerExecutionFieldRefs;
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* The delegate class that acts as a "Promise-like" for EventHandlerExecution.
|
|
1135
|
+
* Why is this prefixed with `Prisma__`?
|
|
1136
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1137
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1138
|
+
*/
|
|
1139
|
+
export interface Prisma__EventHandlerExecutionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1140
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1141
|
+
event<T extends Prisma.WorkflowEventDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowEventDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkflowEventClient<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1142
|
+
handler<T extends Prisma.EventHandlerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventHandlerDefaultArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1143
|
+
/**
|
|
1144
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1145
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1146
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1147
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1148
|
+
*/
|
|
1149
|
+
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>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1152
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1153
|
+
* @returns A Promise for the completion of the callback.
|
|
1154
|
+
*/
|
|
1155
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1156
|
+
/**
|
|
1157
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1158
|
+
* resolved value cannot be modified from the callback.
|
|
1159
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1160
|
+
* @returns A Promise for the completion of the callback.
|
|
1161
|
+
*/
|
|
1162
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* Fields of the EventHandlerExecution model
|
|
1166
|
+
*/
|
|
1167
|
+
export interface EventHandlerExecutionFieldRefs {
|
|
1168
|
+
readonly id: Prisma.FieldRef<"EventHandlerExecution", 'String'>;
|
|
1169
|
+
readonly eventId: Prisma.FieldRef<"EventHandlerExecution", 'String'>;
|
|
1170
|
+
readonly handlerId: Prisma.FieldRef<"EventHandlerExecution", 'String'>;
|
|
1171
|
+
readonly status: Prisma.FieldRef<"EventHandlerExecution", 'ExecutionStatus'>;
|
|
1172
|
+
readonly attempt: Prisma.FieldRef<"EventHandlerExecution", 'Int'>;
|
|
1173
|
+
readonly input: Prisma.FieldRef<"EventHandlerExecution", 'Json'>;
|
|
1174
|
+
readonly output: Prisma.FieldRef<"EventHandlerExecution", 'Json'>;
|
|
1175
|
+
readonly error: Prisma.FieldRef<"EventHandlerExecution", 'String'>;
|
|
1176
|
+
readonly errorCode: Prisma.FieldRef<"EventHandlerExecution", 'String'>;
|
|
1177
|
+
readonly startedAt: Prisma.FieldRef<"EventHandlerExecution", 'DateTime'>;
|
|
1178
|
+
readonly completedAt: Prisma.FieldRef<"EventHandlerExecution", 'DateTime'>;
|
|
1179
|
+
readonly durationMs: Prisma.FieldRef<"EventHandlerExecution", 'Int'>;
|
|
1180
|
+
readonly createdAt: Prisma.FieldRef<"EventHandlerExecution", 'DateTime'>;
|
|
1181
|
+
}
|
|
1182
|
+
/**
|
|
1183
|
+
* EventHandlerExecution findUnique
|
|
1184
|
+
*/
|
|
1185
|
+
export type EventHandlerExecutionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1186
|
+
/**
|
|
1187
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1188
|
+
*/
|
|
1189
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1190
|
+
/**
|
|
1191
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1192
|
+
*/
|
|
1193
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1194
|
+
/**
|
|
1195
|
+
* Choose, which related nodes to fetch as well
|
|
1196
|
+
*/
|
|
1197
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1198
|
+
/**
|
|
1199
|
+
* Filter, which EventHandlerExecution to fetch.
|
|
1200
|
+
*/
|
|
1201
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
1202
|
+
};
|
|
1203
|
+
/**
|
|
1204
|
+
* EventHandlerExecution findUniqueOrThrow
|
|
1205
|
+
*/
|
|
1206
|
+
export type EventHandlerExecutionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1207
|
+
/**
|
|
1208
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1209
|
+
*/
|
|
1210
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1211
|
+
/**
|
|
1212
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1213
|
+
*/
|
|
1214
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1215
|
+
/**
|
|
1216
|
+
* Choose, which related nodes to fetch as well
|
|
1217
|
+
*/
|
|
1218
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1219
|
+
/**
|
|
1220
|
+
* Filter, which EventHandlerExecution to fetch.
|
|
1221
|
+
*/
|
|
1222
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
1223
|
+
};
|
|
1224
|
+
/**
|
|
1225
|
+
* EventHandlerExecution findFirst
|
|
1226
|
+
*/
|
|
1227
|
+
export type EventHandlerExecutionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1228
|
+
/**
|
|
1229
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1230
|
+
*/
|
|
1231
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1232
|
+
/**
|
|
1233
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1234
|
+
*/
|
|
1235
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1236
|
+
/**
|
|
1237
|
+
* Choose, which related nodes to fetch as well
|
|
1238
|
+
*/
|
|
1239
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1240
|
+
/**
|
|
1241
|
+
* Filter, which EventHandlerExecution to fetch.
|
|
1242
|
+
*/
|
|
1243
|
+
where?: Prisma.EventHandlerExecutionWhereInput;
|
|
1244
|
+
/**
|
|
1245
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1246
|
+
*
|
|
1247
|
+
* Determine the order of EventHandlerExecutions to fetch.
|
|
1248
|
+
*/
|
|
1249
|
+
orderBy?: Prisma.EventHandlerExecutionOrderByWithRelationInput | Prisma.EventHandlerExecutionOrderByWithRelationInput[];
|
|
1250
|
+
/**
|
|
1251
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1252
|
+
*
|
|
1253
|
+
* Sets the position for searching for EventHandlerExecutions.
|
|
1254
|
+
*/
|
|
1255
|
+
cursor?: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
1256
|
+
/**
|
|
1257
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1258
|
+
*
|
|
1259
|
+
* Take `±n` EventHandlerExecutions from the position of the cursor.
|
|
1260
|
+
*/
|
|
1261
|
+
take?: number;
|
|
1262
|
+
/**
|
|
1263
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1264
|
+
*
|
|
1265
|
+
* Skip the first `n` EventHandlerExecutions.
|
|
1266
|
+
*/
|
|
1267
|
+
skip?: number;
|
|
1268
|
+
/**
|
|
1269
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1270
|
+
*
|
|
1271
|
+
* Filter by unique combinations of EventHandlerExecutions.
|
|
1272
|
+
*/
|
|
1273
|
+
distinct?: Prisma.EventHandlerExecutionScalarFieldEnum | Prisma.EventHandlerExecutionScalarFieldEnum[];
|
|
1274
|
+
};
|
|
1275
|
+
/**
|
|
1276
|
+
* EventHandlerExecution findFirstOrThrow
|
|
1277
|
+
*/
|
|
1278
|
+
export type EventHandlerExecutionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1279
|
+
/**
|
|
1280
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1281
|
+
*/
|
|
1282
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1283
|
+
/**
|
|
1284
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1285
|
+
*/
|
|
1286
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1287
|
+
/**
|
|
1288
|
+
* Choose, which related nodes to fetch as well
|
|
1289
|
+
*/
|
|
1290
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1291
|
+
/**
|
|
1292
|
+
* Filter, which EventHandlerExecution to fetch.
|
|
1293
|
+
*/
|
|
1294
|
+
where?: Prisma.EventHandlerExecutionWhereInput;
|
|
1295
|
+
/**
|
|
1296
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1297
|
+
*
|
|
1298
|
+
* Determine the order of EventHandlerExecutions to fetch.
|
|
1299
|
+
*/
|
|
1300
|
+
orderBy?: Prisma.EventHandlerExecutionOrderByWithRelationInput | Prisma.EventHandlerExecutionOrderByWithRelationInput[];
|
|
1301
|
+
/**
|
|
1302
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1303
|
+
*
|
|
1304
|
+
* Sets the position for searching for EventHandlerExecutions.
|
|
1305
|
+
*/
|
|
1306
|
+
cursor?: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
1307
|
+
/**
|
|
1308
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1309
|
+
*
|
|
1310
|
+
* Take `±n` EventHandlerExecutions from the position of the cursor.
|
|
1311
|
+
*/
|
|
1312
|
+
take?: number;
|
|
1313
|
+
/**
|
|
1314
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1315
|
+
*
|
|
1316
|
+
* Skip the first `n` EventHandlerExecutions.
|
|
1317
|
+
*/
|
|
1318
|
+
skip?: number;
|
|
1319
|
+
/**
|
|
1320
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1321
|
+
*
|
|
1322
|
+
* Filter by unique combinations of EventHandlerExecutions.
|
|
1323
|
+
*/
|
|
1324
|
+
distinct?: Prisma.EventHandlerExecutionScalarFieldEnum | Prisma.EventHandlerExecutionScalarFieldEnum[];
|
|
1325
|
+
};
|
|
1326
|
+
/**
|
|
1327
|
+
* EventHandlerExecution findMany
|
|
1328
|
+
*/
|
|
1329
|
+
export type EventHandlerExecutionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1330
|
+
/**
|
|
1331
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1332
|
+
*/
|
|
1333
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1334
|
+
/**
|
|
1335
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1336
|
+
*/
|
|
1337
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1338
|
+
/**
|
|
1339
|
+
* Choose, which related nodes to fetch as well
|
|
1340
|
+
*/
|
|
1341
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1342
|
+
/**
|
|
1343
|
+
* Filter, which EventHandlerExecutions to fetch.
|
|
1344
|
+
*/
|
|
1345
|
+
where?: Prisma.EventHandlerExecutionWhereInput;
|
|
1346
|
+
/**
|
|
1347
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1348
|
+
*
|
|
1349
|
+
* Determine the order of EventHandlerExecutions to fetch.
|
|
1350
|
+
*/
|
|
1351
|
+
orderBy?: Prisma.EventHandlerExecutionOrderByWithRelationInput | Prisma.EventHandlerExecutionOrderByWithRelationInput[];
|
|
1352
|
+
/**
|
|
1353
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1354
|
+
*
|
|
1355
|
+
* Sets the position for listing EventHandlerExecutions.
|
|
1356
|
+
*/
|
|
1357
|
+
cursor?: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
1358
|
+
/**
|
|
1359
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1360
|
+
*
|
|
1361
|
+
* Take `±n` EventHandlerExecutions from the position of the cursor.
|
|
1362
|
+
*/
|
|
1363
|
+
take?: number;
|
|
1364
|
+
/**
|
|
1365
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1366
|
+
*
|
|
1367
|
+
* Skip the first `n` EventHandlerExecutions.
|
|
1368
|
+
*/
|
|
1369
|
+
skip?: number;
|
|
1370
|
+
distinct?: Prisma.EventHandlerExecutionScalarFieldEnum | Prisma.EventHandlerExecutionScalarFieldEnum[];
|
|
1371
|
+
};
|
|
1372
|
+
/**
|
|
1373
|
+
* EventHandlerExecution create
|
|
1374
|
+
*/
|
|
1375
|
+
export type EventHandlerExecutionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1376
|
+
/**
|
|
1377
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1378
|
+
*/
|
|
1379
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1380
|
+
/**
|
|
1381
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1382
|
+
*/
|
|
1383
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1384
|
+
/**
|
|
1385
|
+
* Choose, which related nodes to fetch as well
|
|
1386
|
+
*/
|
|
1387
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* The data needed to create a EventHandlerExecution.
|
|
1390
|
+
*/
|
|
1391
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionCreateInput, Prisma.EventHandlerExecutionUncheckedCreateInput>;
|
|
1392
|
+
};
|
|
1393
|
+
/**
|
|
1394
|
+
* EventHandlerExecution createMany
|
|
1395
|
+
*/
|
|
1396
|
+
export type EventHandlerExecutionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1397
|
+
/**
|
|
1398
|
+
* The data used to create many EventHandlerExecutions.
|
|
1399
|
+
*/
|
|
1400
|
+
data: Prisma.EventHandlerExecutionCreateManyInput | Prisma.EventHandlerExecutionCreateManyInput[];
|
|
1401
|
+
skipDuplicates?: boolean;
|
|
1402
|
+
};
|
|
1403
|
+
/**
|
|
1404
|
+
* EventHandlerExecution update
|
|
1405
|
+
*/
|
|
1406
|
+
export type EventHandlerExecutionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1407
|
+
/**
|
|
1408
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1409
|
+
*/
|
|
1410
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1411
|
+
/**
|
|
1412
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1413
|
+
*/
|
|
1414
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1415
|
+
/**
|
|
1416
|
+
* Choose, which related nodes to fetch as well
|
|
1417
|
+
*/
|
|
1418
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1419
|
+
/**
|
|
1420
|
+
* The data needed to update a EventHandlerExecution.
|
|
1421
|
+
*/
|
|
1422
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateInput, Prisma.EventHandlerExecutionUncheckedUpdateInput>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Choose, which EventHandlerExecution to update.
|
|
1425
|
+
*/
|
|
1426
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
1427
|
+
};
|
|
1428
|
+
/**
|
|
1429
|
+
* EventHandlerExecution updateMany
|
|
1430
|
+
*/
|
|
1431
|
+
export type EventHandlerExecutionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1432
|
+
/**
|
|
1433
|
+
* The data used to update EventHandlerExecutions.
|
|
1434
|
+
*/
|
|
1435
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateManyMutationInput, Prisma.EventHandlerExecutionUncheckedUpdateManyInput>;
|
|
1436
|
+
/**
|
|
1437
|
+
* Filter which EventHandlerExecutions to update
|
|
1438
|
+
*/
|
|
1439
|
+
where?: Prisma.EventHandlerExecutionWhereInput;
|
|
1440
|
+
/**
|
|
1441
|
+
* Limit how many EventHandlerExecutions to update.
|
|
1442
|
+
*/
|
|
1443
|
+
limit?: number;
|
|
1444
|
+
};
|
|
1445
|
+
/**
|
|
1446
|
+
* EventHandlerExecution upsert
|
|
1447
|
+
*/
|
|
1448
|
+
export type EventHandlerExecutionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1449
|
+
/**
|
|
1450
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1451
|
+
*/
|
|
1452
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1453
|
+
/**
|
|
1454
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1455
|
+
*/
|
|
1456
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1457
|
+
/**
|
|
1458
|
+
* Choose, which related nodes to fetch as well
|
|
1459
|
+
*/
|
|
1460
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1461
|
+
/**
|
|
1462
|
+
* The filter to search for the EventHandlerExecution to update in case it exists.
|
|
1463
|
+
*/
|
|
1464
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
1465
|
+
/**
|
|
1466
|
+
* In case the EventHandlerExecution found by the `where` argument doesn't exist, create a new EventHandlerExecution with this data.
|
|
1467
|
+
*/
|
|
1468
|
+
create: Prisma.XOR<Prisma.EventHandlerExecutionCreateInput, Prisma.EventHandlerExecutionUncheckedCreateInput>;
|
|
1469
|
+
/**
|
|
1470
|
+
* In case the EventHandlerExecution was found with the provided `where` argument, update it with this data.
|
|
1471
|
+
*/
|
|
1472
|
+
update: Prisma.XOR<Prisma.EventHandlerExecutionUpdateInput, Prisma.EventHandlerExecutionUncheckedUpdateInput>;
|
|
1473
|
+
};
|
|
1474
|
+
/**
|
|
1475
|
+
* EventHandlerExecution delete
|
|
1476
|
+
*/
|
|
1477
|
+
export type EventHandlerExecutionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1478
|
+
/**
|
|
1479
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1480
|
+
*/
|
|
1481
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1482
|
+
/**
|
|
1483
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1484
|
+
*/
|
|
1485
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1486
|
+
/**
|
|
1487
|
+
* Choose, which related nodes to fetch as well
|
|
1488
|
+
*/
|
|
1489
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1490
|
+
/**
|
|
1491
|
+
* Filter which EventHandlerExecution to delete.
|
|
1492
|
+
*/
|
|
1493
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
* EventHandlerExecution deleteMany
|
|
1497
|
+
*/
|
|
1498
|
+
export type EventHandlerExecutionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1499
|
+
/**
|
|
1500
|
+
* Filter which EventHandlerExecutions to delete
|
|
1501
|
+
*/
|
|
1502
|
+
where?: Prisma.EventHandlerExecutionWhereInput;
|
|
1503
|
+
/**
|
|
1504
|
+
* Limit how many EventHandlerExecutions to delete.
|
|
1505
|
+
*/
|
|
1506
|
+
limit?: number;
|
|
1507
|
+
};
|
|
1508
|
+
/**
|
|
1509
|
+
* EventHandlerExecution without action
|
|
1510
|
+
*/
|
|
1511
|
+
export type EventHandlerExecutionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1512
|
+
/**
|
|
1513
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1514
|
+
*/
|
|
1515
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1516
|
+
/**
|
|
1517
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1518
|
+
*/
|
|
1519
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1520
|
+
/**
|
|
1521
|
+
* Choose, which related nodes to fetch as well
|
|
1522
|
+
*/
|
|
1523
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1524
|
+
};
|
|
1525
|
+
export {};
|