@valentine-efagene/qshelter-common 2.0.66 → 2.0.67
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 +32 -0
- package/dist/generated/client/enums.js +28 -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 +189 -0
- package/dist/src/events/workflow-event.service.js +588 -0
- package/dist/src/events/workflow-types.d.ts +288 -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 +271 -0
|
@@ -0,0 +1,1749 @@
|
|
|
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 EventHandler
|
|
6
|
+
* Event Handler - Defines what should happen when an event fires
|
|
7
|
+
* Handlers can be internal (call a service), external (webhook), or workflow triggers
|
|
8
|
+
*/
|
|
9
|
+
export type EventHandlerModel = runtime.Types.Result.DefaultSelection<Prisma.$EventHandlerPayload>;
|
|
10
|
+
export type AggregateEventHandler = {
|
|
11
|
+
_count: EventHandlerCountAggregateOutputType | null;
|
|
12
|
+
_avg: EventHandlerAvgAggregateOutputType | null;
|
|
13
|
+
_sum: EventHandlerSumAggregateOutputType | null;
|
|
14
|
+
_min: EventHandlerMinAggregateOutputType | null;
|
|
15
|
+
_max: EventHandlerMaxAggregateOutputType | null;
|
|
16
|
+
};
|
|
17
|
+
export type EventHandlerAvgAggregateOutputType = {
|
|
18
|
+
priority: number | null;
|
|
19
|
+
maxRetries: number | null;
|
|
20
|
+
retryDelayMs: number | null;
|
|
21
|
+
};
|
|
22
|
+
export type EventHandlerSumAggregateOutputType = {
|
|
23
|
+
priority: number | null;
|
|
24
|
+
maxRetries: number | null;
|
|
25
|
+
retryDelayMs: number | null;
|
|
26
|
+
};
|
|
27
|
+
export type EventHandlerMinAggregateOutputType = {
|
|
28
|
+
id: string | null;
|
|
29
|
+
tenantId: string | null;
|
|
30
|
+
eventTypeId: string | null;
|
|
31
|
+
name: string | null;
|
|
32
|
+
description: string | null;
|
|
33
|
+
handlerType: $Enums.EventHandlerType | null;
|
|
34
|
+
priority: number | null;
|
|
35
|
+
enabled: boolean | null;
|
|
36
|
+
maxRetries: number | null;
|
|
37
|
+
retryDelayMs: number | null;
|
|
38
|
+
filterCondition: string | null;
|
|
39
|
+
createdAt: Date | null;
|
|
40
|
+
updatedAt: Date | null;
|
|
41
|
+
};
|
|
42
|
+
export type EventHandlerMaxAggregateOutputType = {
|
|
43
|
+
id: string | null;
|
|
44
|
+
tenantId: string | null;
|
|
45
|
+
eventTypeId: string | null;
|
|
46
|
+
name: string | null;
|
|
47
|
+
description: string | null;
|
|
48
|
+
handlerType: $Enums.EventHandlerType | null;
|
|
49
|
+
priority: number | null;
|
|
50
|
+
enabled: boolean | null;
|
|
51
|
+
maxRetries: number | null;
|
|
52
|
+
retryDelayMs: number | null;
|
|
53
|
+
filterCondition: string | null;
|
|
54
|
+
createdAt: Date | null;
|
|
55
|
+
updatedAt: Date | null;
|
|
56
|
+
};
|
|
57
|
+
export type EventHandlerCountAggregateOutputType = {
|
|
58
|
+
id: number;
|
|
59
|
+
tenantId: number;
|
|
60
|
+
eventTypeId: number;
|
|
61
|
+
name: number;
|
|
62
|
+
description: number;
|
|
63
|
+
handlerType: number;
|
|
64
|
+
config: number;
|
|
65
|
+
priority: number;
|
|
66
|
+
enabled: number;
|
|
67
|
+
maxRetries: number;
|
|
68
|
+
retryDelayMs: number;
|
|
69
|
+
filterCondition: number;
|
|
70
|
+
createdAt: number;
|
|
71
|
+
updatedAt: number;
|
|
72
|
+
_all: number;
|
|
73
|
+
};
|
|
74
|
+
export type EventHandlerAvgAggregateInputType = {
|
|
75
|
+
priority?: true;
|
|
76
|
+
maxRetries?: true;
|
|
77
|
+
retryDelayMs?: true;
|
|
78
|
+
};
|
|
79
|
+
export type EventHandlerSumAggregateInputType = {
|
|
80
|
+
priority?: true;
|
|
81
|
+
maxRetries?: true;
|
|
82
|
+
retryDelayMs?: true;
|
|
83
|
+
};
|
|
84
|
+
export type EventHandlerMinAggregateInputType = {
|
|
85
|
+
id?: true;
|
|
86
|
+
tenantId?: true;
|
|
87
|
+
eventTypeId?: true;
|
|
88
|
+
name?: true;
|
|
89
|
+
description?: true;
|
|
90
|
+
handlerType?: true;
|
|
91
|
+
priority?: true;
|
|
92
|
+
enabled?: true;
|
|
93
|
+
maxRetries?: true;
|
|
94
|
+
retryDelayMs?: true;
|
|
95
|
+
filterCondition?: true;
|
|
96
|
+
createdAt?: true;
|
|
97
|
+
updatedAt?: true;
|
|
98
|
+
};
|
|
99
|
+
export type EventHandlerMaxAggregateInputType = {
|
|
100
|
+
id?: true;
|
|
101
|
+
tenantId?: true;
|
|
102
|
+
eventTypeId?: true;
|
|
103
|
+
name?: true;
|
|
104
|
+
description?: true;
|
|
105
|
+
handlerType?: true;
|
|
106
|
+
priority?: true;
|
|
107
|
+
enabled?: true;
|
|
108
|
+
maxRetries?: true;
|
|
109
|
+
retryDelayMs?: true;
|
|
110
|
+
filterCondition?: true;
|
|
111
|
+
createdAt?: true;
|
|
112
|
+
updatedAt?: true;
|
|
113
|
+
};
|
|
114
|
+
export type EventHandlerCountAggregateInputType = {
|
|
115
|
+
id?: true;
|
|
116
|
+
tenantId?: true;
|
|
117
|
+
eventTypeId?: true;
|
|
118
|
+
name?: true;
|
|
119
|
+
description?: true;
|
|
120
|
+
handlerType?: true;
|
|
121
|
+
config?: true;
|
|
122
|
+
priority?: true;
|
|
123
|
+
enabled?: true;
|
|
124
|
+
maxRetries?: true;
|
|
125
|
+
retryDelayMs?: true;
|
|
126
|
+
filterCondition?: true;
|
|
127
|
+
createdAt?: true;
|
|
128
|
+
updatedAt?: true;
|
|
129
|
+
_all?: true;
|
|
130
|
+
};
|
|
131
|
+
export type EventHandlerAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
132
|
+
/**
|
|
133
|
+
* Filter which EventHandler to aggregate.
|
|
134
|
+
*/
|
|
135
|
+
where?: Prisma.EventHandlerWhereInput;
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
138
|
+
*
|
|
139
|
+
* Determine the order of EventHandlers to fetch.
|
|
140
|
+
*/
|
|
141
|
+
orderBy?: Prisma.EventHandlerOrderByWithRelationInput | Prisma.EventHandlerOrderByWithRelationInput[];
|
|
142
|
+
/**
|
|
143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
144
|
+
*
|
|
145
|
+
* Sets the start position
|
|
146
|
+
*/
|
|
147
|
+
cursor?: Prisma.EventHandlerWhereUniqueInput;
|
|
148
|
+
/**
|
|
149
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
150
|
+
*
|
|
151
|
+
* Take `±n` EventHandlers from the position of the cursor.
|
|
152
|
+
*/
|
|
153
|
+
take?: number;
|
|
154
|
+
/**
|
|
155
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
156
|
+
*
|
|
157
|
+
* Skip the first `n` EventHandlers.
|
|
158
|
+
*/
|
|
159
|
+
skip?: number;
|
|
160
|
+
/**
|
|
161
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
162
|
+
*
|
|
163
|
+
* Count returned EventHandlers
|
|
164
|
+
**/
|
|
165
|
+
_count?: true | EventHandlerCountAggregateInputType;
|
|
166
|
+
/**
|
|
167
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
168
|
+
*
|
|
169
|
+
* Select which fields to average
|
|
170
|
+
**/
|
|
171
|
+
_avg?: EventHandlerAvgAggregateInputType;
|
|
172
|
+
/**
|
|
173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
174
|
+
*
|
|
175
|
+
* Select which fields to sum
|
|
176
|
+
**/
|
|
177
|
+
_sum?: EventHandlerSumAggregateInputType;
|
|
178
|
+
/**
|
|
179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
180
|
+
*
|
|
181
|
+
* Select which fields to find the minimum value
|
|
182
|
+
**/
|
|
183
|
+
_min?: EventHandlerMinAggregateInputType;
|
|
184
|
+
/**
|
|
185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
186
|
+
*
|
|
187
|
+
* Select which fields to find the maximum value
|
|
188
|
+
**/
|
|
189
|
+
_max?: EventHandlerMaxAggregateInputType;
|
|
190
|
+
};
|
|
191
|
+
export type GetEventHandlerAggregateType<T extends EventHandlerAggregateArgs> = {
|
|
192
|
+
[P in keyof T & keyof AggregateEventHandler]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateEventHandler[P]> : Prisma.GetScalarType<T[P], AggregateEventHandler[P]>;
|
|
193
|
+
};
|
|
194
|
+
export type EventHandlerGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
195
|
+
where?: Prisma.EventHandlerWhereInput;
|
|
196
|
+
orderBy?: Prisma.EventHandlerOrderByWithAggregationInput | Prisma.EventHandlerOrderByWithAggregationInput[];
|
|
197
|
+
by: Prisma.EventHandlerScalarFieldEnum[] | Prisma.EventHandlerScalarFieldEnum;
|
|
198
|
+
having?: Prisma.EventHandlerScalarWhereWithAggregatesInput;
|
|
199
|
+
take?: number;
|
|
200
|
+
skip?: number;
|
|
201
|
+
_count?: EventHandlerCountAggregateInputType | true;
|
|
202
|
+
_avg?: EventHandlerAvgAggregateInputType;
|
|
203
|
+
_sum?: EventHandlerSumAggregateInputType;
|
|
204
|
+
_min?: EventHandlerMinAggregateInputType;
|
|
205
|
+
_max?: EventHandlerMaxAggregateInputType;
|
|
206
|
+
};
|
|
207
|
+
export type EventHandlerGroupByOutputType = {
|
|
208
|
+
id: string;
|
|
209
|
+
tenantId: string;
|
|
210
|
+
eventTypeId: string;
|
|
211
|
+
name: string;
|
|
212
|
+
description: string | null;
|
|
213
|
+
handlerType: $Enums.EventHandlerType;
|
|
214
|
+
config: runtime.JsonValue;
|
|
215
|
+
priority: number;
|
|
216
|
+
enabled: boolean;
|
|
217
|
+
maxRetries: number;
|
|
218
|
+
retryDelayMs: number;
|
|
219
|
+
filterCondition: string | null;
|
|
220
|
+
createdAt: Date;
|
|
221
|
+
updatedAt: Date;
|
|
222
|
+
_count: EventHandlerCountAggregateOutputType | null;
|
|
223
|
+
_avg: EventHandlerAvgAggregateOutputType | null;
|
|
224
|
+
_sum: EventHandlerSumAggregateOutputType | null;
|
|
225
|
+
_min: EventHandlerMinAggregateOutputType | null;
|
|
226
|
+
_max: EventHandlerMaxAggregateOutputType | null;
|
|
227
|
+
};
|
|
228
|
+
type GetEventHandlerGroupByPayload<T extends EventHandlerGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<EventHandlerGroupByOutputType, T['by']> & {
|
|
229
|
+
[P in ((keyof T) & (keyof EventHandlerGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], EventHandlerGroupByOutputType[P]> : Prisma.GetScalarType<T[P], EventHandlerGroupByOutputType[P]>;
|
|
230
|
+
}>>;
|
|
231
|
+
export type EventHandlerWhereInput = {
|
|
232
|
+
AND?: Prisma.EventHandlerWhereInput | Prisma.EventHandlerWhereInput[];
|
|
233
|
+
OR?: Prisma.EventHandlerWhereInput[];
|
|
234
|
+
NOT?: Prisma.EventHandlerWhereInput | Prisma.EventHandlerWhereInput[];
|
|
235
|
+
id?: Prisma.StringFilter<"EventHandler"> | string;
|
|
236
|
+
tenantId?: Prisma.StringFilter<"EventHandler"> | string;
|
|
237
|
+
eventTypeId?: Prisma.StringFilter<"EventHandler"> | string;
|
|
238
|
+
name?: Prisma.StringFilter<"EventHandler"> | string;
|
|
239
|
+
description?: Prisma.StringNullableFilter<"EventHandler"> | string | null;
|
|
240
|
+
handlerType?: Prisma.EnumEventHandlerTypeFilter<"EventHandler"> | $Enums.EventHandlerType;
|
|
241
|
+
config?: Prisma.JsonFilter<"EventHandler">;
|
|
242
|
+
priority?: Prisma.IntFilter<"EventHandler"> | number;
|
|
243
|
+
enabled?: Prisma.BoolFilter<"EventHandler"> | boolean;
|
|
244
|
+
maxRetries?: Prisma.IntFilter<"EventHandler"> | number;
|
|
245
|
+
retryDelayMs?: Prisma.IntFilter<"EventHandler"> | number;
|
|
246
|
+
filterCondition?: Prisma.StringNullableFilter<"EventHandler"> | string | null;
|
|
247
|
+
createdAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
|
|
248
|
+
updatedAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
|
|
249
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
250
|
+
eventType?: Prisma.XOR<Prisma.EventTypeScalarRelationFilter, Prisma.EventTypeWhereInput>;
|
|
251
|
+
executions?: Prisma.EventHandlerExecutionListRelationFilter;
|
|
252
|
+
};
|
|
253
|
+
export type EventHandlerOrderByWithRelationInput = {
|
|
254
|
+
id?: Prisma.SortOrder;
|
|
255
|
+
tenantId?: Prisma.SortOrder;
|
|
256
|
+
eventTypeId?: Prisma.SortOrder;
|
|
257
|
+
name?: Prisma.SortOrder;
|
|
258
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
259
|
+
handlerType?: Prisma.SortOrder;
|
|
260
|
+
config?: Prisma.SortOrder;
|
|
261
|
+
priority?: Prisma.SortOrder;
|
|
262
|
+
enabled?: Prisma.SortOrder;
|
|
263
|
+
maxRetries?: Prisma.SortOrder;
|
|
264
|
+
retryDelayMs?: Prisma.SortOrder;
|
|
265
|
+
filterCondition?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
266
|
+
createdAt?: Prisma.SortOrder;
|
|
267
|
+
updatedAt?: Prisma.SortOrder;
|
|
268
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
269
|
+
eventType?: Prisma.EventTypeOrderByWithRelationInput;
|
|
270
|
+
executions?: Prisma.EventHandlerExecutionOrderByRelationAggregateInput;
|
|
271
|
+
_relevance?: Prisma.EventHandlerOrderByRelevanceInput;
|
|
272
|
+
};
|
|
273
|
+
export type EventHandlerWhereUniqueInput = Prisma.AtLeast<{
|
|
274
|
+
id?: string;
|
|
275
|
+
AND?: Prisma.EventHandlerWhereInput | Prisma.EventHandlerWhereInput[];
|
|
276
|
+
OR?: Prisma.EventHandlerWhereInput[];
|
|
277
|
+
NOT?: Prisma.EventHandlerWhereInput | Prisma.EventHandlerWhereInput[];
|
|
278
|
+
tenantId?: Prisma.StringFilter<"EventHandler"> | string;
|
|
279
|
+
eventTypeId?: Prisma.StringFilter<"EventHandler"> | string;
|
|
280
|
+
name?: Prisma.StringFilter<"EventHandler"> | string;
|
|
281
|
+
description?: Prisma.StringNullableFilter<"EventHandler"> | string | null;
|
|
282
|
+
handlerType?: Prisma.EnumEventHandlerTypeFilter<"EventHandler"> | $Enums.EventHandlerType;
|
|
283
|
+
config?: Prisma.JsonFilter<"EventHandler">;
|
|
284
|
+
priority?: Prisma.IntFilter<"EventHandler"> | number;
|
|
285
|
+
enabled?: Prisma.BoolFilter<"EventHandler"> | boolean;
|
|
286
|
+
maxRetries?: Prisma.IntFilter<"EventHandler"> | number;
|
|
287
|
+
retryDelayMs?: Prisma.IntFilter<"EventHandler"> | number;
|
|
288
|
+
filterCondition?: Prisma.StringNullableFilter<"EventHandler"> | string | null;
|
|
289
|
+
createdAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
|
|
290
|
+
updatedAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
|
|
291
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
292
|
+
eventType?: Prisma.XOR<Prisma.EventTypeScalarRelationFilter, Prisma.EventTypeWhereInput>;
|
|
293
|
+
executions?: Prisma.EventHandlerExecutionListRelationFilter;
|
|
294
|
+
}, "id">;
|
|
295
|
+
export type EventHandlerOrderByWithAggregationInput = {
|
|
296
|
+
id?: Prisma.SortOrder;
|
|
297
|
+
tenantId?: Prisma.SortOrder;
|
|
298
|
+
eventTypeId?: Prisma.SortOrder;
|
|
299
|
+
name?: Prisma.SortOrder;
|
|
300
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
301
|
+
handlerType?: Prisma.SortOrder;
|
|
302
|
+
config?: Prisma.SortOrder;
|
|
303
|
+
priority?: Prisma.SortOrder;
|
|
304
|
+
enabled?: Prisma.SortOrder;
|
|
305
|
+
maxRetries?: Prisma.SortOrder;
|
|
306
|
+
retryDelayMs?: Prisma.SortOrder;
|
|
307
|
+
filterCondition?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
308
|
+
createdAt?: Prisma.SortOrder;
|
|
309
|
+
updatedAt?: Prisma.SortOrder;
|
|
310
|
+
_count?: Prisma.EventHandlerCountOrderByAggregateInput;
|
|
311
|
+
_avg?: Prisma.EventHandlerAvgOrderByAggregateInput;
|
|
312
|
+
_max?: Prisma.EventHandlerMaxOrderByAggregateInput;
|
|
313
|
+
_min?: Prisma.EventHandlerMinOrderByAggregateInput;
|
|
314
|
+
_sum?: Prisma.EventHandlerSumOrderByAggregateInput;
|
|
315
|
+
};
|
|
316
|
+
export type EventHandlerScalarWhereWithAggregatesInput = {
|
|
317
|
+
AND?: Prisma.EventHandlerScalarWhereWithAggregatesInput | Prisma.EventHandlerScalarWhereWithAggregatesInput[];
|
|
318
|
+
OR?: Prisma.EventHandlerScalarWhereWithAggregatesInput[];
|
|
319
|
+
NOT?: Prisma.EventHandlerScalarWhereWithAggregatesInput | Prisma.EventHandlerScalarWhereWithAggregatesInput[];
|
|
320
|
+
id?: Prisma.StringWithAggregatesFilter<"EventHandler"> | string;
|
|
321
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"EventHandler"> | string;
|
|
322
|
+
eventTypeId?: Prisma.StringWithAggregatesFilter<"EventHandler"> | string;
|
|
323
|
+
name?: Prisma.StringWithAggregatesFilter<"EventHandler"> | string;
|
|
324
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"EventHandler"> | string | null;
|
|
325
|
+
handlerType?: Prisma.EnumEventHandlerTypeWithAggregatesFilter<"EventHandler"> | $Enums.EventHandlerType;
|
|
326
|
+
config?: Prisma.JsonWithAggregatesFilter<"EventHandler">;
|
|
327
|
+
priority?: Prisma.IntWithAggregatesFilter<"EventHandler"> | number;
|
|
328
|
+
enabled?: Prisma.BoolWithAggregatesFilter<"EventHandler"> | boolean;
|
|
329
|
+
maxRetries?: Prisma.IntWithAggregatesFilter<"EventHandler"> | number;
|
|
330
|
+
retryDelayMs?: Prisma.IntWithAggregatesFilter<"EventHandler"> | number;
|
|
331
|
+
filterCondition?: Prisma.StringNullableWithAggregatesFilter<"EventHandler"> | string | null;
|
|
332
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"EventHandler"> | Date | string;
|
|
333
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"EventHandler"> | Date | string;
|
|
334
|
+
};
|
|
335
|
+
export type EventHandlerCreateInput = {
|
|
336
|
+
id?: string;
|
|
337
|
+
name: string;
|
|
338
|
+
description?: string | null;
|
|
339
|
+
handlerType: $Enums.EventHandlerType;
|
|
340
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
341
|
+
priority?: number;
|
|
342
|
+
enabled?: boolean;
|
|
343
|
+
maxRetries?: number;
|
|
344
|
+
retryDelayMs?: number;
|
|
345
|
+
filterCondition?: string | null;
|
|
346
|
+
createdAt?: Date | string;
|
|
347
|
+
updatedAt?: Date | string;
|
|
348
|
+
tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
|
|
349
|
+
eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
|
|
350
|
+
executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
|
|
351
|
+
};
|
|
352
|
+
export type EventHandlerUncheckedCreateInput = {
|
|
353
|
+
id?: string;
|
|
354
|
+
tenantId: string;
|
|
355
|
+
eventTypeId: string;
|
|
356
|
+
name: string;
|
|
357
|
+
description?: string | null;
|
|
358
|
+
handlerType: $Enums.EventHandlerType;
|
|
359
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
360
|
+
priority?: number;
|
|
361
|
+
enabled?: boolean;
|
|
362
|
+
maxRetries?: number;
|
|
363
|
+
retryDelayMs?: number;
|
|
364
|
+
filterCondition?: string | null;
|
|
365
|
+
createdAt?: Date | string;
|
|
366
|
+
updatedAt?: Date | string;
|
|
367
|
+
executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
|
|
368
|
+
};
|
|
369
|
+
export type EventHandlerUpdateInput = {
|
|
370
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
371
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
373
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
374
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
375
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
376
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
377
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
378
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
379
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
380
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
381
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
382
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
|
|
383
|
+
eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
|
|
384
|
+
executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
|
|
385
|
+
};
|
|
386
|
+
export type EventHandlerUncheckedUpdateInput = {
|
|
387
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
388
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
389
|
+
eventTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
390
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
391
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
392
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
393
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
394
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
395
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
396
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
397
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
398
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
399
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
400
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
401
|
+
executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
|
|
402
|
+
};
|
|
403
|
+
export type EventHandlerCreateManyInput = {
|
|
404
|
+
id?: string;
|
|
405
|
+
tenantId: string;
|
|
406
|
+
eventTypeId: string;
|
|
407
|
+
name: string;
|
|
408
|
+
description?: string | null;
|
|
409
|
+
handlerType: $Enums.EventHandlerType;
|
|
410
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
411
|
+
priority?: number;
|
|
412
|
+
enabled?: boolean;
|
|
413
|
+
maxRetries?: number;
|
|
414
|
+
retryDelayMs?: number;
|
|
415
|
+
filterCondition?: string | null;
|
|
416
|
+
createdAt?: Date | string;
|
|
417
|
+
updatedAt?: Date | string;
|
|
418
|
+
};
|
|
419
|
+
export type EventHandlerUpdateManyMutationInput = {
|
|
420
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
421
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
422
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
423
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
424
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
425
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
426
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
427
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
428
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
429
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
430
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
431
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
432
|
+
};
|
|
433
|
+
export type EventHandlerUncheckedUpdateManyInput = {
|
|
434
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
435
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
436
|
+
eventTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
437
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
438
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
439
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
440
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
441
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
442
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
443
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
444
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
445
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
446
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
447
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
448
|
+
};
|
|
449
|
+
export type EventHandlerListRelationFilter = {
|
|
450
|
+
every?: Prisma.EventHandlerWhereInput;
|
|
451
|
+
some?: Prisma.EventHandlerWhereInput;
|
|
452
|
+
none?: Prisma.EventHandlerWhereInput;
|
|
453
|
+
};
|
|
454
|
+
export type EventHandlerOrderByRelationAggregateInput = {
|
|
455
|
+
_count?: Prisma.SortOrder;
|
|
456
|
+
};
|
|
457
|
+
export type EventHandlerOrderByRelevanceInput = {
|
|
458
|
+
fields: Prisma.EventHandlerOrderByRelevanceFieldEnum | Prisma.EventHandlerOrderByRelevanceFieldEnum[];
|
|
459
|
+
sort: Prisma.SortOrder;
|
|
460
|
+
search: string;
|
|
461
|
+
};
|
|
462
|
+
export type EventHandlerCountOrderByAggregateInput = {
|
|
463
|
+
id?: Prisma.SortOrder;
|
|
464
|
+
tenantId?: Prisma.SortOrder;
|
|
465
|
+
eventTypeId?: Prisma.SortOrder;
|
|
466
|
+
name?: Prisma.SortOrder;
|
|
467
|
+
description?: Prisma.SortOrder;
|
|
468
|
+
handlerType?: Prisma.SortOrder;
|
|
469
|
+
config?: Prisma.SortOrder;
|
|
470
|
+
priority?: Prisma.SortOrder;
|
|
471
|
+
enabled?: Prisma.SortOrder;
|
|
472
|
+
maxRetries?: Prisma.SortOrder;
|
|
473
|
+
retryDelayMs?: Prisma.SortOrder;
|
|
474
|
+
filterCondition?: Prisma.SortOrder;
|
|
475
|
+
createdAt?: Prisma.SortOrder;
|
|
476
|
+
updatedAt?: Prisma.SortOrder;
|
|
477
|
+
};
|
|
478
|
+
export type EventHandlerAvgOrderByAggregateInput = {
|
|
479
|
+
priority?: Prisma.SortOrder;
|
|
480
|
+
maxRetries?: Prisma.SortOrder;
|
|
481
|
+
retryDelayMs?: Prisma.SortOrder;
|
|
482
|
+
};
|
|
483
|
+
export type EventHandlerMaxOrderByAggregateInput = {
|
|
484
|
+
id?: Prisma.SortOrder;
|
|
485
|
+
tenantId?: Prisma.SortOrder;
|
|
486
|
+
eventTypeId?: Prisma.SortOrder;
|
|
487
|
+
name?: Prisma.SortOrder;
|
|
488
|
+
description?: Prisma.SortOrder;
|
|
489
|
+
handlerType?: Prisma.SortOrder;
|
|
490
|
+
priority?: Prisma.SortOrder;
|
|
491
|
+
enabled?: Prisma.SortOrder;
|
|
492
|
+
maxRetries?: Prisma.SortOrder;
|
|
493
|
+
retryDelayMs?: Prisma.SortOrder;
|
|
494
|
+
filterCondition?: Prisma.SortOrder;
|
|
495
|
+
createdAt?: Prisma.SortOrder;
|
|
496
|
+
updatedAt?: Prisma.SortOrder;
|
|
497
|
+
};
|
|
498
|
+
export type EventHandlerMinOrderByAggregateInput = {
|
|
499
|
+
id?: Prisma.SortOrder;
|
|
500
|
+
tenantId?: Prisma.SortOrder;
|
|
501
|
+
eventTypeId?: Prisma.SortOrder;
|
|
502
|
+
name?: Prisma.SortOrder;
|
|
503
|
+
description?: Prisma.SortOrder;
|
|
504
|
+
handlerType?: Prisma.SortOrder;
|
|
505
|
+
priority?: Prisma.SortOrder;
|
|
506
|
+
enabled?: Prisma.SortOrder;
|
|
507
|
+
maxRetries?: Prisma.SortOrder;
|
|
508
|
+
retryDelayMs?: Prisma.SortOrder;
|
|
509
|
+
filterCondition?: Prisma.SortOrder;
|
|
510
|
+
createdAt?: Prisma.SortOrder;
|
|
511
|
+
updatedAt?: Prisma.SortOrder;
|
|
512
|
+
};
|
|
513
|
+
export type EventHandlerSumOrderByAggregateInput = {
|
|
514
|
+
priority?: Prisma.SortOrder;
|
|
515
|
+
maxRetries?: Prisma.SortOrder;
|
|
516
|
+
retryDelayMs?: Prisma.SortOrder;
|
|
517
|
+
};
|
|
518
|
+
export type EventHandlerScalarRelationFilter = {
|
|
519
|
+
is?: Prisma.EventHandlerWhereInput;
|
|
520
|
+
isNot?: Prisma.EventHandlerWhereInput;
|
|
521
|
+
};
|
|
522
|
+
export type EventHandlerCreateNestedManyWithoutTenantInput = {
|
|
523
|
+
create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutTenantInput, Prisma.EventHandlerUncheckedCreateWithoutTenantInput> | Prisma.EventHandlerCreateWithoutTenantInput[] | Prisma.EventHandlerUncheckedCreateWithoutTenantInput[];
|
|
524
|
+
connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutTenantInput | Prisma.EventHandlerCreateOrConnectWithoutTenantInput[];
|
|
525
|
+
createMany?: Prisma.EventHandlerCreateManyTenantInputEnvelope;
|
|
526
|
+
connect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
527
|
+
};
|
|
528
|
+
export type EventHandlerUncheckedCreateNestedManyWithoutTenantInput = {
|
|
529
|
+
create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutTenantInput, Prisma.EventHandlerUncheckedCreateWithoutTenantInput> | Prisma.EventHandlerCreateWithoutTenantInput[] | Prisma.EventHandlerUncheckedCreateWithoutTenantInput[];
|
|
530
|
+
connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutTenantInput | Prisma.EventHandlerCreateOrConnectWithoutTenantInput[];
|
|
531
|
+
createMany?: Prisma.EventHandlerCreateManyTenantInputEnvelope;
|
|
532
|
+
connect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
533
|
+
};
|
|
534
|
+
export type EventHandlerUpdateManyWithoutTenantNestedInput = {
|
|
535
|
+
create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutTenantInput, Prisma.EventHandlerUncheckedCreateWithoutTenantInput> | Prisma.EventHandlerCreateWithoutTenantInput[] | Prisma.EventHandlerUncheckedCreateWithoutTenantInput[];
|
|
536
|
+
connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutTenantInput | Prisma.EventHandlerCreateOrConnectWithoutTenantInput[];
|
|
537
|
+
upsert?: Prisma.EventHandlerUpsertWithWhereUniqueWithoutTenantInput | Prisma.EventHandlerUpsertWithWhereUniqueWithoutTenantInput[];
|
|
538
|
+
createMany?: Prisma.EventHandlerCreateManyTenantInputEnvelope;
|
|
539
|
+
set?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
540
|
+
disconnect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
541
|
+
delete?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
542
|
+
connect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
543
|
+
update?: Prisma.EventHandlerUpdateWithWhereUniqueWithoutTenantInput | Prisma.EventHandlerUpdateWithWhereUniqueWithoutTenantInput[];
|
|
544
|
+
updateMany?: Prisma.EventHandlerUpdateManyWithWhereWithoutTenantInput | Prisma.EventHandlerUpdateManyWithWhereWithoutTenantInput[];
|
|
545
|
+
deleteMany?: Prisma.EventHandlerScalarWhereInput | Prisma.EventHandlerScalarWhereInput[];
|
|
546
|
+
};
|
|
547
|
+
export type EventHandlerUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
548
|
+
create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutTenantInput, Prisma.EventHandlerUncheckedCreateWithoutTenantInput> | Prisma.EventHandlerCreateWithoutTenantInput[] | Prisma.EventHandlerUncheckedCreateWithoutTenantInput[];
|
|
549
|
+
connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutTenantInput | Prisma.EventHandlerCreateOrConnectWithoutTenantInput[];
|
|
550
|
+
upsert?: Prisma.EventHandlerUpsertWithWhereUniqueWithoutTenantInput | Prisma.EventHandlerUpsertWithWhereUniqueWithoutTenantInput[];
|
|
551
|
+
createMany?: Prisma.EventHandlerCreateManyTenantInputEnvelope;
|
|
552
|
+
set?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
553
|
+
disconnect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
554
|
+
delete?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
555
|
+
connect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
556
|
+
update?: Prisma.EventHandlerUpdateWithWhereUniqueWithoutTenantInput | Prisma.EventHandlerUpdateWithWhereUniqueWithoutTenantInput[];
|
|
557
|
+
updateMany?: Prisma.EventHandlerUpdateManyWithWhereWithoutTenantInput | Prisma.EventHandlerUpdateManyWithWhereWithoutTenantInput[];
|
|
558
|
+
deleteMany?: Prisma.EventHandlerScalarWhereInput | Prisma.EventHandlerScalarWhereInput[];
|
|
559
|
+
};
|
|
560
|
+
export type EventHandlerCreateNestedManyWithoutEventTypeInput = {
|
|
561
|
+
create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutEventTypeInput, Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput> | Prisma.EventHandlerCreateWithoutEventTypeInput[] | Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput[];
|
|
562
|
+
connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutEventTypeInput | Prisma.EventHandlerCreateOrConnectWithoutEventTypeInput[];
|
|
563
|
+
createMany?: Prisma.EventHandlerCreateManyEventTypeInputEnvelope;
|
|
564
|
+
connect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
565
|
+
};
|
|
566
|
+
export type EventHandlerUncheckedCreateNestedManyWithoutEventTypeInput = {
|
|
567
|
+
create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutEventTypeInput, Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput> | Prisma.EventHandlerCreateWithoutEventTypeInput[] | Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput[];
|
|
568
|
+
connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutEventTypeInput | Prisma.EventHandlerCreateOrConnectWithoutEventTypeInput[];
|
|
569
|
+
createMany?: Prisma.EventHandlerCreateManyEventTypeInputEnvelope;
|
|
570
|
+
connect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
571
|
+
};
|
|
572
|
+
export type EventHandlerUpdateManyWithoutEventTypeNestedInput = {
|
|
573
|
+
create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutEventTypeInput, Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput> | Prisma.EventHandlerCreateWithoutEventTypeInput[] | Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput[];
|
|
574
|
+
connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutEventTypeInput | Prisma.EventHandlerCreateOrConnectWithoutEventTypeInput[];
|
|
575
|
+
upsert?: Prisma.EventHandlerUpsertWithWhereUniqueWithoutEventTypeInput | Prisma.EventHandlerUpsertWithWhereUniqueWithoutEventTypeInput[];
|
|
576
|
+
createMany?: Prisma.EventHandlerCreateManyEventTypeInputEnvelope;
|
|
577
|
+
set?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
578
|
+
disconnect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
579
|
+
delete?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
580
|
+
connect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
581
|
+
update?: Prisma.EventHandlerUpdateWithWhereUniqueWithoutEventTypeInput | Prisma.EventHandlerUpdateWithWhereUniqueWithoutEventTypeInput[];
|
|
582
|
+
updateMany?: Prisma.EventHandlerUpdateManyWithWhereWithoutEventTypeInput | Prisma.EventHandlerUpdateManyWithWhereWithoutEventTypeInput[];
|
|
583
|
+
deleteMany?: Prisma.EventHandlerScalarWhereInput | Prisma.EventHandlerScalarWhereInput[];
|
|
584
|
+
};
|
|
585
|
+
export type EventHandlerUncheckedUpdateManyWithoutEventTypeNestedInput = {
|
|
586
|
+
create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutEventTypeInput, Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput> | Prisma.EventHandlerCreateWithoutEventTypeInput[] | Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput[];
|
|
587
|
+
connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutEventTypeInput | Prisma.EventHandlerCreateOrConnectWithoutEventTypeInput[];
|
|
588
|
+
upsert?: Prisma.EventHandlerUpsertWithWhereUniqueWithoutEventTypeInput | Prisma.EventHandlerUpsertWithWhereUniqueWithoutEventTypeInput[];
|
|
589
|
+
createMany?: Prisma.EventHandlerCreateManyEventTypeInputEnvelope;
|
|
590
|
+
set?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
591
|
+
disconnect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
592
|
+
delete?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
593
|
+
connect?: Prisma.EventHandlerWhereUniqueInput | Prisma.EventHandlerWhereUniqueInput[];
|
|
594
|
+
update?: Prisma.EventHandlerUpdateWithWhereUniqueWithoutEventTypeInput | Prisma.EventHandlerUpdateWithWhereUniqueWithoutEventTypeInput[];
|
|
595
|
+
updateMany?: Prisma.EventHandlerUpdateManyWithWhereWithoutEventTypeInput | Prisma.EventHandlerUpdateManyWithWhereWithoutEventTypeInput[];
|
|
596
|
+
deleteMany?: Prisma.EventHandlerScalarWhereInput | Prisma.EventHandlerScalarWhereInput[];
|
|
597
|
+
};
|
|
598
|
+
export type EnumEventHandlerTypeFieldUpdateOperationsInput = {
|
|
599
|
+
set?: $Enums.EventHandlerType;
|
|
600
|
+
};
|
|
601
|
+
export type EventHandlerCreateNestedOneWithoutExecutionsInput = {
|
|
602
|
+
create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutExecutionsInput, Prisma.EventHandlerUncheckedCreateWithoutExecutionsInput>;
|
|
603
|
+
connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutExecutionsInput;
|
|
604
|
+
connect?: Prisma.EventHandlerWhereUniqueInput;
|
|
605
|
+
};
|
|
606
|
+
export type EventHandlerUpdateOneRequiredWithoutExecutionsNestedInput = {
|
|
607
|
+
create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutExecutionsInput, Prisma.EventHandlerUncheckedCreateWithoutExecutionsInput>;
|
|
608
|
+
connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutExecutionsInput;
|
|
609
|
+
upsert?: Prisma.EventHandlerUpsertWithoutExecutionsInput;
|
|
610
|
+
connect?: Prisma.EventHandlerWhereUniqueInput;
|
|
611
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.EventHandlerUpdateToOneWithWhereWithoutExecutionsInput, Prisma.EventHandlerUpdateWithoutExecutionsInput>, Prisma.EventHandlerUncheckedUpdateWithoutExecutionsInput>;
|
|
612
|
+
};
|
|
613
|
+
export type EventHandlerCreateWithoutTenantInput = {
|
|
614
|
+
id?: string;
|
|
615
|
+
name: string;
|
|
616
|
+
description?: string | null;
|
|
617
|
+
handlerType: $Enums.EventHandlerType;
|
|
618
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
619
|
+
priority?: number;
|
|
620
|
+
enabled?: boolean;
|
|
621
|
+
maxRetries?: number;
|
|
622
|
+
retryDelayMs?: number;
|
|
623
|
+
filterCondition?: string | null;
|
|
624
|
+
createdAt?: Date | string;
|
|
625
|
+
updatedAt?: Date | string;
|
|
626
|
+
eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
|
|
627
|
+
executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
|
|
628
|
+
};
|
|
629
|
+
export type EventHandlerUncheckedCreateWithoutTenantInput = {
|
|
630
|
+
id?: string;
|
|
631
|
+
eventTypeId: string;
|
|
632
|
+
name: string;
|
|
633
|
+
description?: string | null;
|
|
634
|
+
handlerType: $Enums.EventHandlerType;
|
|
635
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
636
|
+
priority?: number;
|
|
637
|
+
enabled?: boolean;
|
|
638
|
+
maxRetries?: number;
|
|
639
|
+
retryDelayMs?: number;
|
|
640
|
+
filterCondition?: string | null;
|
|
641
|
+
createdAt?: Date | string;
|
|
642
|
+
updatedAt?: Date | string;
|
|
643
|
+
executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
|
|
644
|
+
};
|
|
645
|
+
export type EventHandlerCreateOrConnectWithoutTenantInput = {
|
|
646
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
647
|
+
create: Prisma.XOR<Prisma.EventHandlerCreateWithoutTenantInput, Prisma.EventHandlerUncheckedCreateWithoutTenantInput>;
|
|
648
|
+
};
|
|
649
|
+
export type EventHandlerCreateManyTenantInputEnvelope = {
|
|
650
|
+
data: Prisma.EventHandlerCreateManyTenantInput | Prisma.EventHandlerCreateManyTenantInput[];
|
|
651
|
+
skipDuplicates?: boolean;
|
|
652
|
+
};
|
|
653
|
+
export type EventHandlerUpsertWithWhereUniqueWithoutTenantInput = {
|
|
654
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
655
|
+
update: Prisma.XOR<Prisma.EventHandlerUpdateWithoutTenantInput, Prisma.EventHandlerUncheckedUpdateWithoutTenantInput>;
|
|
656
|
+
create: Prisma.XOR<Prisma.EventHandlerCreateWithoutTenantInput, Prisma.EventHandlerUncheckedCreateWithoutTenantInput>;
|
|
657
|
+
};
|
|
658
|
+
export type EventHandlerUpdateWithWhereUniqueWithoutTenantInput = {
|
|
659
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
660
|
+
data: Prisma.XOR<Prisma.EventHandlerUpdateWithoutTenantInput, Prisma.EventHandlerUncheckedUpdateWithoutTenantInput>;
|
|
661
|
+
};
|
|
662
|
+
export type EventHandlerUpdateManyWithWhereWithoutTenantInput = {
|
|
663
|
+
where: Prisma.EventHandlerScalarWhereInput;
|
|
664
|
+
data: Prisma.XOR<Prisma.EventHandlerUpdateManyMutationInput, Prisma.EventHandlerUncheckedUpdateManyWithoutTenantInput>;
|
|
665
|
+
};
|
|
666
|
+
export type EventHandlerScalarWhereInput = {
|
|
667
|
+
AND?: Prisma.EventHandlerScalarWhereInput | Prisma.EventHandlerScalarWhereInput[];
|
|
668
|
+
OR?: Prisma.EventHandlerScalarWhereInput[];
|
|
669
|
+
NOT?: Prisma.EventHandlerScalarWhereInput | Prisma.EventHandlerScalarWhereInput[];
|
|
670
|
+
id?: Prisma.StringFilter<"EventHandler"> | string;
|
|
671
|
+
tenantId?: Prisma.StringFilter<"EventHandler"> | string;
|
|
672
|
+
eventTypeId?: Prisma.StringFilter<"EventHandler"> | string;
|
|
673
|
+
name?: Prisma.StringFilter<"EventHandler"> | string;
|
|
674
|
+
description?: Prisma.StringNullableFilter<"EventHandler"> | string | null;
|
|
675
|
+
handlerType?: Prisma.EnumEventHandlerTypeFilter<"EventHandler"> | $Enums.EventHandlerType;
|
|
676
|
+
config?: Prisma.JsonFilter<"EventHandler">;
|
|
677
|
+
priority?: Prisma.IntFilter<"EventHandler"> | number;
|
|
678
|
+
enabled?: Prisma.BoolFilter<"EventHandler"> | boolean;
|
|
679
|
+
maxRetries?: Prisma.IntFilter<"EventHandler"> | number;
|
|
680
|
+
retryDelayMs?: Prisma.IntFilter<"EventHandler"> | number;
|
|
681
|
+
filterCondition?: Prisma.StringNullableFilter<"EventHandler"> | string | null;
|
|
682
|
+
createdAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
|
|
683
|
+
updatedAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
|
|
684
|
+
};
|
|
685
|
+
export type EventHandlerCreateWithoutEventTypeInput = {
|
|
686
|
+
id?: string;
|
|
687
|
+
name: string;
|
|
688
|
+
description?: string | null;
|
|
689
|
+
handlerType: $Enums.EventHandlerType;
|
|
690
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
691
|
+
priority?: number;
|
|
692
|
+
enabled?: boolean;
|
|
693
|
+
maxRetries?: number;
|
|
694
|
+
retryDelayMs?: number;
|
|
695
|
+
filterCondition?: string | null;
|
|
696
|
+
createdAt?: Date | string;
|
|
697
|
+
updatedAt?: Date | string;
|
|
698
|
+
tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
|
|
699
|
+
executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
|
|
700
|
+
};
|
|
701
|
+
export type EventHandlerUncheckedCreateWithoutEventTypeInput = {
|
|
702
|
+
id?: string;
|
|
703
|
+
tenantId: string;
|
|
704
|
+
name: string;
|
|
705
|
+
description?: string | null;
|
|
706
|
+
handlerType: $Enums.EventHandlerType;
|
|
707
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
708
|
+
priority?: number;
|
|
709
|
+
enabled?: boolean;
|
|
710
|
+
maxRetries?: number;
|
|
711
|
+
retryDelayMs?: number;
|
|
712
|
+
filterCondition?: string | null;
|
|
713
|
+
createdAt?: Date | string;
|
|
714
|
+
updatedAt?: Date | string;
|
|
715
|
+
executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
|
|
716
|
+
};
|
|
717
|
+
export type EventHandlerCreateOrConnectWithoutEventTypeInput = {
|
|
718
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
719
|
+
create: Prisma.XOR<Prisma.EventHandlerCreateWithoutEventTypeInput, Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput>;
|
|
720
|
+
};
|
|
721
|
+
export type EventHandlerCreateManyEventTypeInputEnvelope = {
|
|
722
|
+
data: Prisma.EventHandlerCreateManyEventTypeInput | Prisma.EventHandlerCreateManyEventTypeInput[];
|
|
723
|
+
skipDuplicates?: boolean;
|
|
724
|
+
};
|
|
725
|
+
export type EventHandlerUpsertWithWhereUniqueWithoutEventTypeInput = {
|
|
726
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
727
|
+
update: Prisma.XOR<Prisma.EventHandlerUpdateWithoutEventTypeInput, Prisma.EventHandlerUncheckedUpdateWithoutEventTypeInput>;
|
|
728
|
+
create: Prisma.XOR<Prisma.EventHandlerCreateWithoutEventTypeInput, Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput>;
|
|
729
|
+
};
|
|
730
|
+
export type EventHandlerUpdateWithWhereUniqueWithoutEventTypeInput = {
|
|
731
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
732
|
+
data: Prisma.XOR<Prisma.EventHandlerUpdateWithoutEventTypeInput, Prisma.EventHandlerUncheckedUpdateWithoutEventTypeInput>;
|
|
733
|
+
};
|
|
734
|
+
export type EventHandlerUpdateManyWithWhereWithoutEventTypeInput = {
|
|
735
|
+
where: Prisma.EventHandlerScalarWhereInput;
|
|
736
|
+
data: Prisma.XOR<Prisma.EventHandlerUpdateManyMutationInput, Prisma.EventHandlerUncheckedUpdateManyWithoutEventTypeInput>;
|
|
737
|
+
};
|
|
738
|
+
export type EventHandlerCreateWithoutExecutionsInput = {
|
|
739
|
+
id?: string;
|
|
740
|
+
name: string;
|
|
741
|
+
description?: string | null;
|
|
742
|
+
handlerType: $Enums.EventHandlerType;
|
|
743
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
744
|
+
priority?: number;
|
|
745
|
+
enabled?: boolean;
|
|
746
|
+
maxRetries?: number;
|
|
747
|
+
retryDelayMs?: number;
|
|
748
|
+
filterCondition?: string | null;
|
|
749
|
+
createdAt?: Date | string;
|
|
750
|
+
updatedAt?: Date | string;
|
|
751
|
+
tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
|
|
752
|
+
eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
|
|
753
|
+
};
|
|
754
|
+
export type EventHandlerUncheckedCreateWithoutExecutionsInput = {
|
|
755
|
+
id?: string;
|
|
756
|
+
tenantId: string;
|
|
757
|
+
eventTypeId: string;
|
|
758
|
+
name: string;
|
|
759
|
+
description?: string | null;
|
|
760
|
+
handlerType: $Enums.EventHandlerType;
|
|
761
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
762
|
+
priority?: number;
|
|
763
|
+
enabled?: boolean;
|
|
764
|
+
maxRetries?: number;
|
|
765
|
+
retryDelayMs?: number;
|
|
766
|
+
filterCondition?: string | null;
|
|
767
|
+
createdAt?: Date | string;
|
|
768
|
+
updatedAt?: Date | string;
|
|
769
|
+
};
|
|
770
|
+
export type EventHandlerCreateOrConnectWithoutExecutionsInput = {
|
|
771
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
772
|
+
create: Prisma.XOR<Prisma.EventHandlerCreateWithoutExecutionsInput, Prisma.EventHandlerUncheckedCreateWithoutExecutionsInput>;
|
|
773
|
+
};
|
|
774
|
+
export type EventHandlerUpsertWithoutExecutionsInput = {
|
|
775
|
+
update: Prisma.XOR<Prisma.EventHandlerUpdateWithoutExecutionsInput, Prisma.EventHandlerUncheckedUpdateWithoutExecutionsInput>;
|
|
776
|
+
create: Prisma.XOR<Prisma.EventHandlerCreateWithoutExecutionsInput, Prisma.EventHandlerUncheckedCreateWithoutExecutionsInput>;
|
|
777
|
+
where?: Prisma.EventHandlerWhereInput;
|
|
778
|
+
};
|
|
779
|
+
export type EventHandlerUpdateToOneWithWhereWithoutExecutionsInput = {
|
|
780
|
+
where?: Prisma.EventHandlerWhereInput;
|
|
781
|
+
data: Prisma.XOR<Prisma.EventHandlerUpdateWithoutExecutionsInput, Prisma.EventHandlerUncheckedUpdateWithoutExecutionsInput>;
|
|
782
|
+
};
|
|
783
|
+
export type EventHandlerUpdateWithoutExecutionsInput = {
|
|
784
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
785
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
786
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
787
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
788
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
789
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
790
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
791
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
792
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
793
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
794
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
795
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
796
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
|
|
797
|
+
eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
|
|
798
|
+
};
|
|
799
|
+
export type EventHandlerUncheckedUpdateWithoutExecutionsInput = {
|
|
800
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
801
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
802
|
+
eventTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
803
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
804
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
805
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
806
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
807
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
808
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
809
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
810
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
811
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
812
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
813
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
814
|
+
};
|
|
815
|
+
export type EventHandlerCreateManyTenantInput = {
|
|
816
|
+
id?: string;
|
|
817
|
+
eventTypeId: string;
|
|
818
|
+
name: string;
|
|
819
|
+
description?: string | null;
|
|
820
|
+
handlerType: $Enums.EventHandlerType;
|
|
821
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
822
|
+
priority?: number;
|
|
823
|
+
enabled?: boolean;
|
|
824
|
+
maxRetries?: number;
|
|
825
|
+
retryDelayMs?: number;
|
|
826
|
+
filterCondition?: string | null;
|
|
827
|
+
createdAt?: Date | string;
|
|
828
|
+
updatedAt?: Date | string;
|
|
829
|
+
};
|
|
830
|
+
export type EventHandlerUpdateWithoutTenantInput = {
|
|
831
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
832
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
833
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
834
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
835
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
836
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
837
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
838
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
839
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
840
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
841
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
842
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
843
|
+
eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
|
|
844
|
+
executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
|
|
845
|
+
};
|
|
846
|
+
export type EventHandlerUncheckedUpdateWithoutTenantInput = {
|
|
847
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
848
|
+
eventTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
849
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
850
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
851
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
852
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
853
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
854
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
855
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
856
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
857
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
858
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
859
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
860
|
+
executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
|
|
861
|
+
};
|
|
862
|
+
export type EventHandlerUncheckedUpdateManyWithoutTenantInput = {
|
|
863
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
864
|
+
eventTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
865
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
866
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
867
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
868
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
869
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
870
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
871
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
872
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
873
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
874
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
875
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
876
|
+
};
|
|
877
|
+
export type EventHandlerCreateManyEventTypeInput = {
|
|
878
|
+
id?: string;
|
|
879
|
+
tenantId: string;
|
|
880
|
+
name: string;
|
|
881
|
+
description?: string | null;
|
|
882
|
+
handlerType: $Enums.EventHandlerType;
|
|
883
|
+
config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
884
|
+
priority?: number;
|
|
885
|
+
enabled?: boolean;
|
|
886
|
+
maxRetries?: number;
|
|
887
|
+
retryDelayMs?: number;
|
|
888
|
+
filterCondition?: string | null;
|
|
889
|
+
createdAt?: Date | string;
|
|
890
|
+
updatedAt?: Date | string;
|
|
891
|
+
};
|
|
892
|
+
export type EventHandlerUpdateWithoutEventTypeInput = {
|
|
893
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
894
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
895
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
896
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
897
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
898
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
899
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
900
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
901
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
902
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
903
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
904
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
905
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
|
|
906
|
+
executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
|
|
907
|
+
};
|
|
908
|
+
export type EventHandlerUncheckedUpdateWithoutEventTypeInput = {
|
|
909
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
910
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
911
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
912
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
913
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
914
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
915
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
916
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
917
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
918
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
919
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
920
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
921
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
922
|
+
executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
|
|
923
|
+
};
|
|
924
|
+
export type EventHandlerUncheckedUpdateManyWithoutEventTypeInput = {
|
|
925
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
926
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
927
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
928
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
929
|
+
handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
|
|
930
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
931
|
+
priority?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
932
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
933
|
+
maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
934
|
+
retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
935
|
+
filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
936
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
937
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
938
|
+
};
|
|
939
|
+
/**
|
|
940
|
+
* Count Type EventHandlerCountOutputType
|
|
941
|
+
*/
|
|
942
|
+
export type EventHandlerCountOutputType = {
|
|
943
|
+
executions: number;
|
|
944
|
+
};
|
|
945
|
+
export type EventHandlerCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
946
|
+
executions?: boolean | EventHandlerCountOutputTypeCountExecutionsArgs;
|
|
947
|
+
};
|
|
948
|
+
/**
|
|
949
|
+
* EventHandlerCountOutputType without action
|
|
950
|
+
*/
|
|
951
|
+
export type EventHandlerCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
952
|
+
/**
|
|
953
|
+
* Select specific fields to fetch from the EventHandlerCountOutputType
|
|
954
|
+
*/
|
|
955
|
+
select?: Prisma.EventHandlerCountOutputTypeSelect<ExtArgs> | null;
|
|
956
|
+
};
|
|
957
|
+
/**
|
|
958
|
+
* EventHandlerCountOutputType without action
|
|
959
|
+
*/
|
|
960
|
+
export type EventHandlerCountOutputTypeCountExecutionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
961
|
+
where?: Prisma.EventHandlerExecutionWhereInput;
|
|
962
|
+
};
|
|
963
|
+
export type EventHandlerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
964
|
+
id?: boolean;
|
|
965
|
+
tenantId?: boolean;
|
|
966
|
+
eventTypeId?: boolean;
|
|
967
|
+
name?: boolean;
|
|
968
|
+
description?: boolean;
|
|
969
|
+
handlerType?: boolean;
|
|
970
|
+
config?: boolean;
|
|
971
|
+
priority?: boolean;
|
|
972
|
+
enabled?: boolean;
|
|
973
|
+
maxRetries?: boolean;
|
|
974
|
+
retryDelayMs?: boolean;
|
|
975
|
+
filterCondition?: boolean;
|
|
976
|
+
createdAt?: boolean;
|
|
977
|
+
updatedAt?: boolean;
|
|
978
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
979
|
+
eventType?: boolean | Prisma.EventTypeDefaultArgs<ExtArgs>;
|
|
980
|
+
executions?: boolean | Prisma.EventHandler$executionsArgs<ExtArgs>;
|
|
981
|
+
_count?: boolean | Prisma.EventHandlerCountOutputTypeDefaultArgs<ExtArgs>;
|
|
982
|
+
}, ExtArgs["result"]["eventHandler"]>;
|
|
983
|
+
export type EventHandlerSelectScalar = {
|
|
984
|
+
id?: boolean;
|
|
985
|
+
tenantId?: boolean;
|
|
986
|
+
eventTypeId?: boolean;
|
|
987
|
+
name?: boolean;
|
|
988
|
+
description?: boolean;
|
|
989
|
+
handlerType?: boolean;
|
|
990
|
+
config?: boolean;
|
|
991
|
+
priority?: boolean;
|
|
992
|
+
enabled?: boolean;
|
|
993
|
+
maxRetries?: boolean;
|
|
994
|
+
retryDelayMs?: boolean;
|
|
995
|
+
filterCondition?: boolean;
|
|
996
|
+
createdAt?: boolean;
|
|
997
|
+
updatedAt?: boolean;
|
|
998
|
+
};
|
|
999
|
+
export type EventHandlerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "eventTypeId" | "name" | "description" | "handlerType" | "config" | "priority" | "enabled" | "maxRetries" | "retryDelayMs" | "filterCondition" | "createdAt" | "updatedAt", ExtArgs["result"]["eventHandler"]>;
|
|
1000
|
+
export type EventHandlerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1001
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1002
|
+
eventType?: boolean | Prisma.EventTypeDefaultArgs<ExtArgs>;
|
|
1003
|
+
executions?: boolean | Prisma.EventHandler$executionsArgs<ExtArgs>;
|
|
1004
|
+
_count?: boolean | Prisma.EventHandlerCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1005
|
+
};
|
|
1006
|
+
export type $EventHandlerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1007
|
+
name: "EventHandler";
|
|
1008
|
+
objects: {
|
|
1009
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
1010
|
+
eventType: Prisma.$EventTypePayload<ExtArgs>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Handler execution logs
|
|
1013
|
+
*/
|
|
1014
|
+
executions: Prisma.$EventHandlerExecutionPayload<ExtArgs>[];
|
|
1015
|
+
};
|
|
1016
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1017
|
+
id: string;
|
|
1018
|
+
tenantId: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* The event type this handler responds to
|
|
1021
|
+
*/
|
|
1022
|
+
eventTypeId: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Human-readable name
|
|
1025
|
+
*/
|
|
1026
|
+
name: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* Description of what this handler does
|
|
1029
|
+
*/
|
|
1030
|
+
description: string | null;
|
|
1031
|
+
/**
|
|
1032
|
+
* Handler type determines how the event is processed
|
|
1033
|
+
*/
|
|
1034
|
+
handlerType: $Enums.EventHandlerType;
|
|
1035
|
+
/**
|
|
1036
|
+
* Configuration for the handler (JSON, depends on handlerType)
|
|
1037
|
+
* INTERNAL: { "service": "contract", "method": "completeStep" }
|
|
1038
|
+
* WEBHOOK: { "url": "https://...", "method": "POST", "headers": {...} }
|
|
1039
|
+
* WORKFLOW: { "workflowId": "...", "action": "advance" }
|
|
1040
|
+
* NOTIFICATION: { "template": "...", "channels": ["email", "sms"] }
|
|
1041
|
+
*/
|
|
1042
|
+
config: runtime.JsonValue;
|
|
1043
|
+
/**
|
|
1044
|
+
* Order of execution when multiple handlers exist (lower = first)
|
|
1045
|
+
*/
|
|
1046
|
+
priority: number;
|
|
1047
|
+
/**
|
|
1048
|
+
* Whether this handler is active
|
|
1049
|
+
*/
|
|
1050
|
+
enabled: boolean;
|
|
1051
|
+
/**
|
|
1052
|
+
* Retry configuration
|
|
1053
|
+
*/
|
|
1054
|
+
maxRetries: number;
|
|
1055
|
+
retryDelayMs: number;
|
|
1056
|
+
/**
|
|
1057
|
+
* Filter condition (JSONPath expression) to conditionally run
|
|
1058
|
+
* e.g., "$.payload.status == 'approved'"
|
|
1059
|
+
*/
|
|
1060
|
+
filterCondition: string | null;
|
|
1061
|
+
createdAt: Date;
|
|
1062
|
+
updatedAt: Date;
|
|
1063
|
+
}, ExtArgs["result"]["eventHandler"]>;
|
|
1064
|
+
composites: {};
|
|
1065
|
+
};
|
|
1066
|
+
export type EventHandlerGetPayload<S extends boolean | null | undefined | EventHandlerDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload, S>;
|
|
1067
|
+
export type EventHandlerCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<EventHandlerFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1068
|
+
select?: EventHandlerCountAggregateInputType | true;
|
|
1069
|
+
};
|
|
1070
|
+
export interface EventHandlerDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1071
|
+
[K: symbol]: {
|
|
1072
|
+
types: Prisma.TypeMap<ExtArgs>['model']['EventHandler'];
|
|
1073
|
+
meta: {
|
|
1074
|
+
name: 'EventHandler';
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* Find zero or one EventHandler that matches the filter.
|
|
1079
|
+
* @param {EventHandlerFindUniqueArgs} args - Arguments to find a EventHandler
|
|
1080
|
+
* @example
|
|
1081
|
+
* // Get one EventHandler
|
|
1082
|
+
* const eventHandler = await prisma.eventHandler.findUnique({
|
|
1083
|
+
* where: {
|
|
1084
|
+
* // ... provide filter here
|
|
1085
|
+
* }
|
|
1086
|
+
* })
|
|
1087
|
+
*/
|
|
1088
|
+
findUnique<T extends EventHandlerFindUniqueArgs>(args: Prisma.SelectSubset<T, EventHandlerFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1089
|
+
/**
|
|
1090
|
+
* Find one EventHandler that matches the filter or throw an error with `error.code='P2025'`
|
|
1091
|
+
* if no matches were found.
|
|
1092
|
+
* @param {EventHandlerFindUniqueOrThrowArgs} args - Arguments to find a EventHandler
|
|
1093
|
+
* @example
|
|
1094
|
+
* // Get one EventHandler
|
|
1095
|
+
* const eventHandler = await prisma.eventHandler.findUniqueOrThrow({
|
|
1096
|
+
* where: {
|
|
1097
|
+
* // ... provide filter here
|
|
1098
|
+
* }
|
|
1099
|
+
* })
|
|
1100
|
+
*/
|
|
1101
|
+
findUniqueOrThrow<T extends EventHandlerFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EventHandlerFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1102
|
+
/**
|
|
1103
|
+
* Find the first EventHandler that matches the filter.
|
|
1104
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1105
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1106
|
+
* @param {EventHandlerFindFirstArgs} args - Arguments to find a EventHandler
|
|
1107
|
+
* @example
|
|
1108
|
+
* // Get one EventHandler
|
|
1109
|
+
* const eventHandler = await prisma.eventHandler.findFirst({
|
|
1110
|
+
* where: {
|
|
1111
|
+
* // ... provide filter here
|
|
1112
|
+
* }
|
|
1113
|
+
* })
|
|
1114
|
+
*/
|
|
1115
|
+
findFirst<T extends EventHandlerFindFirstArgs>(args?: Prisma.SelectSubset<T, EventHandlerFindFirstArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Find the first EventHandler that matches the filter or
|
|
1118
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1119
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1120
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1121
|
+
* @param {EventHandlerFindFirstOrThrowArgs} args - Arguments to find a EventHandler
|
|
1122
|
+
* @example
|
|
1123
|
+
* // Get one EventHandler
|
|
1124
|
+
* const eventHandler = await prisma.eventHandler.findFirstOrThrow({
|
|
1125
|
+
* where: {
|
|
1126
|
+
* // ... provide filter here
|
|
1127
|
+
* }
|
|
1128
|
+
* })
|
|
1129
|
+
*/
|
|
1130
|
+
findFirstOrThrow<T extends EventHandlerFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EventHandlerFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1131
|
+
/**
|
|
1132
|
+
* Find zero or more EventHandlers that matches the filter.
|
|
1133
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1134
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1135
|
+
* @param {EventHandlerFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1136
|
+
* @example
|
|
1137
|
+
* // Get all EventHandlers
|
|
1138
|
+
* const eventHandlers = await prisma.eventHandler.findMany()
|
|
1139
|
+
*
|
|
1140
|
+
* // Get first 10 EventHandlers
|
|
1141
|
+
* const eventHandlers = await prisma.eventHandler.findMany({ take: 10 })
|
|
1142
|
+
*
|
|
1143
|
+
* // Only select the `id`
|
|
1144
|
+
* const eventHandlerWithIdOnly = await prisma.eventHandler.findMany({ select: { id: true } })
|
|
1145
|
+
*
|
|
1146
|
+
*/
|
|
1147
|
+
findMany<T extends EventHandlerFindManyArgs>(args?: Prisma.SelectSubset<T, EventHandlerFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1148
|
+
/**
|
|
1149
|
+
* Create a EventHandler.
|
|
1150
|
+
* @param {EventHandlerCreateArgs} args - Arguments to create a EventHandler.
|
|
1151
|
+
* @example
|
|
1152
|
+
* // Create one EventHandler
|
|
1153
|
+
* const EventHandler = await prisma.eventHandler.create({
|
|
1154
|
+
* data: {
|
|
1155
|
+
* // ... data to create a EventHandler
|
|
1156
|
+
* }
|
|
1157
|
+
* })
|
|
1158
|
+
*
|
|
1159
|
+
*/
|
|
1160
|
+
create<T extends EventHandlerCreateArgs>(args: Prisma.SelectSubset<T, EventHandlerCreateArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1161
|
+
/**
|
|
1162
|
+
* Create many EventHandlers.
|
|
1163
|
+
* @param {EventHandlerCreateManyArgs} args - Arguments to create many EventHandlers.
|
|
1164
|
+
* @example
|
|
1165
|
+
* // Create many EventHandlers
|
|
1166
|
+
* const eventHandler = await prisma.eventHandler.createMany({
|
|
1167
|
+
* data: [
|
|
1168
|
+
* // ... provide data here
|
|
1169
|
+
* ]
|
|
1170
|
+
* })
|
|
1171
|
+
*
|
|
1172
|
+
*/
|
|
1173
|
+
createMany<T extends EventHandlerCreateManyArgs>(args?: Prisma.SelectSubset<T, EventHandlerCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1174
|
+
/**
|
|
1175
|
+
* Delete a EventHandler.
|
|
1176
|
+
* @param {EventHandlerDeleteArgs} args - Arguments to delete one EventHandler.
|
|
1177
|
+
* @example
|
|
1178
|
+
* // Delete one EventHandler
|
|
1179
|
+
* const EventHandler = await prisma.eventHandler.delete({
|
|
1180
|
+
* where: {
|
|
1181
|
+
* // ... filter to delete one EventHandler
|
|
1182
|
+
* }
|
|
1183
|
+
* })
|
|
1184
|
+
*
|
|
1185
|
+
*/
|
|
1186
|
+
delete<T extends EventHandlerDeleteArgs>(args: Prisma.SelectSubset<T, EventHandlerDeleteArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Update one EventHandler.
|
|
1189
|
+
* @param {EventHandlerUpdateArgs} args - Arguments to update one EventHandler.
|
|
1190
|
+
* @example
|
|
1191
|
+
* // Update one EventHandler
|
|
1192
|
+
* const eventHandler = await prisma.eventHandler.update({
|
|
1193
|
+
* where: {
|
|
1194
|
+
* // ... provide filter here
|
|
1195
|
+
* },
|
|
1196
|
+
* data: {
|
|
1197
|
+
* // ... provide data here
|
|
1198
|
+
* }
|
|
1199
|
+
* })
|
|
1200
|
+
*
|
|
1201
|
+
*/
|
|
1202
|
+
update<T extends EventHandlerUpdateArgs>(args: Prisma.SelectSubset<T, EventHandlerUpdateArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Delete zero or more EventHandlers.
|
|
1205
|
+
* @param {EventHandlerDeleteManyArgs} args - Arguments to filter EventHandlers to delete.
|
|
1206
|
+
* @example
|
|
1207
|
+
* // Delete a few EventHandlers
|
|
1208
|
+
* const { count } = await prisma.eventHandler.deleteMany({
|
|
1209
|
+
* where: {
|
|
1210
|
+
* // ... provide filter here
|
|
1211
|
+
* }
|
|
1212
|
+
* })
|
|
1213
|
+
*
|
|
1214
|
+
*/
|
|
1215
|
+
deleteMany<T extends EventHandlerDeleteManyArgs>(args?: Prisma.SelectSubset<T, EventHandlerDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Update zero or more EventHandlers.
|
|
1218
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1219
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1220
|
+
* @param {EventHandlerUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1221
|
+
* @example
|
|
1222
|
+
* // Update many EventHandlers
|
|
1223
|
+
* const eventHandler = await prisma.eventHandler.updateMany({
|
|
1224
|
+
* where: {
|
|
1225
|
+
* // ... provide filter here
|
|
1226
|
+
* },
|
|
1227
|
+
* data: {
|
|
1228
|
+
* // ... provide data here
|
|
1229
|
+
* }
|
|
1230
|
+
* })
|
|
1231
|
+
*
|
|
1232
|
+
*/
|
|
1233
|
+
updateMany<T extends EventHandlerUpdateManyArgs>(args: Prisma.SelectSubset<T, EventHandlerUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Create or update one EventHandler.
|
|
1236
|
+
* @param {EventHandlerUpsertArgs} args - Arguments to update or create a EventHandler.
|
|
1237
|
+
* @example
|
|
1238
|
+
* // Update or create a EventHandler
|
|
1239
|
+
* const eventHandler = await prisma.eventHandler.upsert({
|
|
1240
|
+
* create: {
|
|
1241
|
+
* // ... data to create a EventHandler
|
|
1242
|
+
* },
|
|
1243
|
+
* update: {
|
|
1244
|
+
* // ... in case it already exists, update
|
|
1245
|
+
* },
|
|
1246
|
+
* where: {
|
|
1247
|
+
* // ... the filter for the EventHandler we want to update
|
|
1248
|
+
* }
|
|
1249
|
+
* })
|
|
1250
|
+
*/
|
|
1251
|
+
upsert<T extends EventHandlerUpsertArgs>(args: Prisma.SelectSubset<T, EventHandlerUpsertArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1252
|
+
/**
|
|
1253
|
+
* Count the number of EventHandlers.
|
|
1254
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1255
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1256
|
+
* @param {EventHandlerCountArgs} args - Arguments to filter EventHandlers to count.
|
|
1257
|
+
* @example
|
|
1258
|
+
* // Count the number of EventHandlers
|
|
1259
|
+
* const count = await prisma.eventHandler.count({
|
|
1260
|
+
* where: {
|
|
1261
|
+
* // ... the filter for the EventHandlers we want to count
|
|
1262
|
+
* }
|
|
1263
|
+
* })
|
|
1264
|
+
**/
|
|
1265
|
+
count<T extends EventHandlerCountArgs>(args?: Prisma.Subset<T, EventHandlerCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], EventHandlerCountAggregateOutputType> : number>;
|
|
1266
|
+
/**
|
|
1267
|
+
* Allows you to perform aggregations operations on a EventHandler.
|
|
1268
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1269
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1270
|
+
* @param {EventHandlerAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1271
|
+
* @example
|
|
1272
|
+
* // Ordered by age ascending
|
|
1273
|
+
* // Where email contains prisma.io
|
|
1274
|
+
* // Limited to the 10 users
|
|
1275
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1276
|
+
* _avg: {
|
|
1277
|
+
* age: true,
|
|
1278
|
+
* },
|
|
1279
|
+
* where: {
|
|
1280
|
+
* email: {
|
|
1281
|
+
* contains: "prisma.io",
|
|
1282
|
+
* },
|
|
1283
|
+
* },
|
|
1284
|
+
* orderBy: {
|
|
1285
|
+
* age: "asc",
|
|
1286
|
+
* },
|
|
1287
|
+
* take: 10,
|
|
1288
|
+
* })
|
|
1289
|
+
**/
|
|
1290
|
+
aggregate<T extends EventHandlerAggregateArgs>(args: Prisma.Subset<T, EventHandlerAggregateArgs>): Prisma.PrismaPromise<GetEventHandlerAggregateType<T>>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Group by EventHandler.
|
|
1293
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1294
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1295
|
+
* @param {EventHandlerGroupByArgs} args - Group by arguments.
|
|
1296
|
+
* @example
|
|
1297
|
+
* // Group by city, order by createdAt, get count
|
|
1298
|
+
* const result = await prisma.user.groupBy({
|
|
1299
|
+
* by: ['city', 'createdAt'],
|
|
1300
|
+
* orderBy: {
|
|
1301
|
+
* createdAt: true
|
|
1302
|
+
* },
|
|
1303
|
+
* _count: {
|
|
1304
|
+
* _all: true
|
|
1305
|
+
* },
|
|
1306
|
+
* })
|
|
1307
|
+
*
|
|
1308
|
+
**/
|
|
1309
|
+
groupBy<T extends EventHandlerGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1310
|
+
orderBy: EventHandlerGroupByArgs['orderBy'];
|
|
1311
|
+
} : {
|
|
1312
|
+
orderBy?: EventHandlerGroupByArgs['orderBy'];
|
|
1313
|
+
}, 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 ? {
|
|
1314
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1315
|
+
Error,
|
|
1316
|
+
'Field ',
|
|
1317
|
+
P,
|
|
1318
|
+
` in "having" needs to be provided in "by"`
|
|
1319
|
+
];
|
|
1320
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1321
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1322
|
+
}[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 ? {} : {
|
|
1323
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1324
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1325
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1326
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, EventHandlerGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEventHandlerGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1327
|
+
/**
|
|
1328
|
+
* Fields of the EventHandler model
|
|
1329
|
+
*/
|
|
1330
|
+
readonly fields: EventHandlerFieldRefs;
|
|
1331
|
+
}
|
|
1332
|
+
/**
|
|
1333
|
+
* The delegate class that acts as a "Promise-like" for EventHandler.
|
|
1334
|
+
* Why is this prefixed with `Prisma__`?
|
|
1335
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1336
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1337
|
+
*/
|
|
1338
|
+
export interface Prisma__EventHandlerClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1339
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1340
|
+
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1341
|
+
eventType<T extends Prisma.EventTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__EventTypeClient<runtime.Types.Result.GetResult<Prisma.$EventTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1342
|
+
executions<T extends Prisma.EventHandler$executionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventHandler$executionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1343
|
+
/**
|
|
1344
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1345
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1346
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1347
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1348
|
+
*/
|
|
1349
|
+
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>;
|
|
1350
|
+
/**
|
|
1351
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1352
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1353
|
+
* @returns A Promise for the completion of the callback.
|
|
1354
|
+
*/
|
|
1355
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1358
|
+
* resolved value cannot be modified from the callback.
|
|
1359
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1360
|
+
* @returns A Promise for the completion of the callback.
|
|
1361
|
+
*/
|
|
1362
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1363
|
+
}
|
|
1364
|
+
/**
|
|
1365
|
+
* Fields of the EventHandler model
|
|
1366
|
+
*/
|
|
1367
|
+
export interface EventHandlerFieldRefs {
|
|
1368
|
+
readonly id: Prisma.FieldRef<"EventHandler", 'String'>;
|
|
1369
|
+
readonly tenantId: Prisma.FieldRef<"EventHandler", 'String'>;
|
|
1370
|
+
readonly eventTypeId: Prisma.FieldRef<"EventHandler", 'String'>;
|
|
1371
|
+
readonly name: Prisma.FieldRef<"EventHandler", 'String'>;
|
|
1372
|
+
readonly description: Prisma.FieldRef<"EventHandler", 'String'>;
|
|
1373
|
+
readonly handlerType: Prisma.FieldRef<"EventHandler", 'EventHandlerType'>;
|
|
1374
|
+
readonly config: Prisma.FieldRef<"EventHandler", 'Json'>;
|
|
1375
|
+
readonly priority: Prisma.FieldRef<"EventHandler", 'Int'>;
|
|
1376
|
+
readonly enabled: Prisma.FieldRef<"EventHandler", 'Boolean'>;
|
|
1377
|
+
readonly maxRetries: Prisma.FieldRef<"EventHandler", 'Int'>;
|
|
1378
|
+
readonly retryDelayMs: Prisma.FieldRef<"EventHandler", 'Int'>;
|
|
1379
|
+
readonly filterCondition: Prisma.FieldRef<"EventHandler", 'String'>;
|
|
1380
|
+
readonly createdAt: Prisma.FieldRef<"EventHandler", 'DateTime'>;
|
|
1381
|
+
readonly updatedAt: Prisma.FieldRef<"EventHandler", 'DateTime'>;
|
|
1382
|
+
}
|
|
1383
|
+
/**
|
|
1384
|
+
* EventHandler findUnique
|
|
1385
|
+
*/
|
|
1386
|
+
export type EventHandlerFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1387
|
+
/**
|
|
1388
|
+
* Select specific fields to fetch from the EventHandler
|
|
1389
|
+
*/
|
|
1390
|
+
select?: Prisma.EventHandlerSelect<ExtArgs> | null;
|
|
1391
|
+
/**
|
|
1392
|
+
* Omit specific fields from the EventHandler
|
|
1393
|
+
*/
|
|
1394
|
+
omit?: Prisma.EventHandlerOmit<ExtArgs> | null;
|
|
1395
|
+
/**
|
|
1396
|
+
* Choose, which related nodes to fetch as well
|
|
1397
|
+
*/
|
|
1398
|
+
include?: Prisma.EventHandlerInclude<ExtArgs> | null;
|
|
1399
|
+
/**
|
|
1400
|
+
* Filter, which EventHandler to fetch.
|
|
1401
|
+
*/
|
|
1402
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
1403
|
+
};
|
|
1404
|
+
/**
|
|
1405
|
+
* EventHandler findUniqueOrThrow
|
|
1406
|
+
*/
|
|
1407
|
+
export type EventHandlerFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1408
|
+
/**
|
|
1409
|
+
* Select specific fields to fetch from the EventHandler
|
|
1410
|
+
*/
|
|
1411
|
+
select?: Prisma.EventHandlerSelect<ExtArgs> | null;
|
|
1412
|
+
/**
|
|
1413
|
+
* Omit specific fields from the EventHandler
|
|
1414
|
+
*/
|
|
1415
|
+
omit?: Prisma.EventHandlerOmit<ExtArgs> | null;
|
|
1416
|
+
/**
|
|
1417
|
+
* Choose, which related nodes to fetch as well
|
|
1418
|
+
*/
|
|
1419
|
+
include?: Prisma.EventHandlerInclude<ExtArgs> | null;
|
|
1420
|
+
/**
|
|
1421
|
+
* Filter, which EventHandler to fetch.
|
|
1422
|
+
*/
|
|
1423
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
1424
|
+
};
|
|
1425
|
+
/**
|
|
1426
|
+
* EventHandler findFirst
|
|
1427
|
+
*/
|
|
1428
|
+
export type EventHandlerFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1429
|
+
/**
|
|
1430
|
+
* Select specific fields to fetch from the EventHandler
|
|
1431
|
+
*/
|
|
1432
|
+
select?: Prisma.EventHandlerSelect<ExtArgs> | null;
|
|
1433
|
+
/**
|
|
1434
|
+
* Omit specific fields from the EventHandler
|
|
1435
|
+
*/
|
|
1436
|
+
omit?: Prisma.EventHandlerOmit<ExtArgs> | null;
|
|
1437
|
+
/**
|
|
1438
|
+
* Choose, which related nodes to fetch as well
|
|
1439
|
+
*/
|
|
1440
|
+
include?: Prisma.EventHandlerInclude<ExtArgs> | null;
|
|
1441
|
+
/**
|
|
1442
|
+
* Filter, which EventHandler to fetch.
|
|
1443
|
+
*/
|
|
1444
|
+
where?: Prisma.EventHandlerWhereInput;
|
|
1445
|
+
/**
|
|
1446
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1447
|
+
*
|
|
1448
|
+
* Determine the order of EventHandlers to fetch.
|
|
1449
|
+
*/
|
|
1450
|
+
orderBy?: Prisma.EventHandlerOrderByWithRelationInput | Prisma.EventHandlerOrderByWithRelationInput[];
|
|
1451
|
+
/**
|
|
1452
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1453
|
+
*
|
|
1454
|
+
* Sets the position for searching for EventHandlers.
|
|
1455
|
+
*/
|
|
1456
|
+
cursor?: Prisma.EventHandlerWhereUniqueInput;
|
|
1457
|
+
/**
|
|
1458
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1459
|
+
*
|
|
1460
|
+
* Take `±n` EventHandlers from the position of the cursor.
|
|
1461
|
+
*/
|
|
1462
|
+
take?: number;
|
|
1463
|
+
/**
|
|
1464
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1465
|
+
*
|
|
1466
|
+
* Skip the first `n` EventHandlers.
|
|
1467
|
+
*/
|
|
1468
|
+
skip?: number;
|
|
1469
|
+
/**
|
|
1470
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1471
|
+
*
|
|
1472
|
+
* Filter by unique combinations of EventHandlers.
|
|
1473
|
+
*/
|
|
1474
|
+
distinct?: Prisma.EventHandlerScalarFieldEnum | Prisma.EventHandlerScalarFieldEnum[];
|
|
1475
|
+
};
|
|
1476
|
+
/**
|
|
1477
|
+
* EventHandler findFirstOrThrow
|
|
1478
|
+
*/
|
|
1479
|
+
export type EventHandlerFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1480
|
+
/**
|
|
1481
|
+
* Select specific fields to fetch from the EventHandler
|
|
1482
|
+
*/
|
|
1483
|
+
select?: Prisma.EventHandlerSelect<ExtArgs> | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Omit specific fields from the EventHandler
|
|
1486
|
+
*/
|
|
1487
|
+
omit?: Prisma.EventHandlerOmit<ExtArgs> | null;
|
|
1488
|
+
/**
|
|
1489
|
+
* Choose, which related nodes to fetch as well
|
|
1490
|
+
*/
|
|
1491
|
+
include?: Prisma.EventHandlerInclude<ExtArgs> | null;
|
|
1492
|
+
/**
|
|
1493
|
+
* Filter, which EventHandler to fetch.
|
|
1494
|
+
*/
|
|
1495
|
+
where?: Prisma.EventHandlerWhereInput;
|
|
1496
|
+
/**
|
|
1497
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1498
|
+
*
|
|
1499
|
+
* Determine the order of EventHandlers to fetch.
|
|
1500
|
+
*/
|
|
1501
|
+
orderBy?: Prisma.EventHandlerOrderByWithRelationInput | Prisma.EventHandlerOrderByWithRelationInput[];
|
|
1502
|
+
/**
|
|
1503
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1504
|
+
*
|
|
1505
|
+
* Sets the position for searching for EventHandlers.
|
|
1506
|
+
*/
|
|
1507
|
+
cursor?: Prisma.EventHandlerWhereUniqueInput;
|
|
1508
|
+
/**
|
|
1509
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1510
|
+
*
|
|
1511
|
+
* Take `±n` EventHandlers from the position of the cursor.
|
|
1512
|
+
*/
|
|
1513
|
+
take?: number;
|
|
1514
|
+
/**
|
|
1515
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1516
|
+
*
|
|
1517
|
+
* Skip the first `n` EventHandlers.
|
|
1518
|
+
*/
|
|
1519
|
+
skip?: number;
|
|
1520
|
+
/**
|
|
1521
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1522
|
+
*
|
|
1523
|
+
* Filter by unique combinations of EventHandlers.
|
|
1524
|
+
*/
|
|
1525
|
+
distinct?: Prisma.EventHandlerScalarFieldEnum | Prisma.EventHandlerScalarFieldEnum[];
|
|
1526
|
+
};
|
|
1527
|
+
/**
|
|
1528
|
+
* EventHandler findMany
|
|
1529
|
+
*/
|
|
1530
|
+
export type EventHandlerFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1531
|
+
/**
|
|
1532
|
+
* Select specific fields to fetch from the EventHandler
|
|
1533
|
+
*/
|
|
1534
|
+
select?: Prisma.EventHandlerSelect<ExtArgs> | null;
|
|
1535
|
+
/**
|
|
1536
|
+
* Omit specific fields from the EventHandler
|
|
1537
|
+
*/
|
|
1538
|
+
omit?: Prisma.EventHandlerOmit<ExtArgs> | null;
|
|
1539
|
+
/**
|
|
1540
|
+
* Choose, which related nodes to fetch as well
|
|
1541
|
+
*/
|
|
1542
|
+
include?: Prisma.EventHandlerInclude<ExtArgs> | null;
|
|
1543
|
+
/**
|
|
1544
|
+
* Filter, which EventHandlers to fetch.
|
|
1545
|
+
*/
|
|
1546
|
+
where?: Prisma.EventHandlerWhereInput;
|
|
1547
|
+
/**
|
|
1548
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1549
|
+
*
|
|
1550
|
+
* Determine the order of EventHandlers to fetch.
|
|
1551
|
+
*/
|
|
1552
|
+
orderBy?: Prisma.EventHandlerOrderByWithRelationInput | Prisma.EventHandlerOrderByWithRelationInput[];
|
|
1553
|
+
/**
|
|
1554
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1555
|
+
*
|
|
1556
|
+
* Sets the position for listing EventHandlers.
|
|
1557
|
+
*/
|
|
1558
|
+
cursor?: Prisma.EventHandlerWhereUniqueInput;
|
|
1559
|
+
/**
|
|
1560
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1561
|
+
*
|
|
1562
|
+
* Take `±n` EventHandlers from the position of the cursor.
|
|
1563
|
+
*/
|
|
1564
|
+
take?: number;
|
|
1565
|
+
/**
|
|
1566
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1567
|
+
*
|
|
1568
|
+
* Skip the first `n` EventHandlers.
|
|
1569
|
+
*/
|
|
1570
|
+
skip?: number;
|
|
1571
|
+
distinct?: Prisma.EventHandlerScalarFieldEnum | Prisma.EventHandlerScalarFieldEnum[];
|
|
1572
|
+
};
|
|
1573
|
+
/**
|
|
1574
|
+
* EventHandler create
|
|
1575
|
+
*/
|
|
1576
|
+
export type EventHandlerCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1577
|
+
/**
|
|
1578
|
+
* Select specific fields to fetch from the EventHandler
|
|
1579
|
+
*/
|
|
1580
|
+
select?: Prisma.EventHandlerSelect<ExtArgs> | null;
|
|
1581
|
+
/**
|
|
1582
|
+
* Omit specific fields from the EventHandler
|
|
1583
|
+
*/
|
|
1584
|
+
omit?: Prisma.EventHandlerOmit<ExtArgs> | null;
|
|
1585
|
+
/**
|
|
1586
|
+
* Choose, which related nodes to fetch as well
|
|
1587
|
+
*/
|
|
1588
|
+
include?: Prisma.EventHandlerInclude<ExtArgs> | null;
|
|
1589
|
+
/**
|
|
1590
|
+
* The data needed to create a EventHandler.
|
|
1591
|
+
*/
|
|
1592
|
+
data: Prisma.XOR<Prisma.EventHandlerCreateInput, Prisma.EventHandlerUncheckedCreateInput>;
|
|
1593
|
+
};
|
|
1594
|
+
/**
|
|
1595
|
+
* EventHandler createMany
|
|
1596
|
+
*/
|
|
1597
|
+
export type EventHandlerCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1598
|
+
/**
|
|
1599
|
+
* The data used to create many EventHandlers.
|
|
1600
|
+
*/
|
|
1601
|
+
data: Prisma.EventHandlerCreateManyInput | Prisma.EventHandlerCreateManyInput[];
|
|
1602
|
+
skipDuplicates?: boolean;
|
|
1603
|
+
};
|
|
1604
|
+
/**
|
|
1605
|
+
* EventHandler update
|
|
1606
|
+
*/
|
|
1607
|
+
export type EventHandlerUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1608
|
+
/**
|
|
1609
|
+
* Select specific fields to fetch from the EventHandler
|
|
1610
|
+
*/
|
|
1611
|
+
select?: Prisma.EventHandlerSelect<ExtArgs> | null;
|
|
1612
|
+
/**
|
|
1613
|
+
* Omit specific fields from the EventHandler
|
|
1614
|
+
*/
|
|
1615
|
+
omit?: Prisma.EventHandlerOmit<ExtArgs> | null;
|
|
1616
|
+
/**
|
|
1617
|
+
* Choose, which related nodes to fetch as well
|
|
1618
|
+
*/
|
|
1619
|
+
include?: Prisma.EventHandlerInclude<ExtArgs> | null;
|
|
1620
|
+
/**
|
|
1621
|
+
* The data needed to update a EventHandler.
|
|
1622
|
+
*/
|
|
1623
|
+
data: Prisma.XOR<Prisma.EventHandlerUpdateInput, Prisma.EventHandlerUncheckedUpdateInput>;
|
|
1624
|
+
/**
|
|
1625
|
+
* Choose, which EventHandler to update.
|
|
1626
|
+
*/
|
|
1627
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
1628
|
+
};
|
|
1629
|
+
/**
|
|
1630
|
+
* EventHandler updateMany
|
|
1631
|
+
*/
|
|
1632
|
+
export type EventHandlerUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1633
|
+
/**
|
|
1634
|
+
* The data used to update EventHandlers.
|
|
1635
|
+
*/
|
|
1636
|
+
data: Prisma.XOR<Prisma.EventHandlerUpdateManyMutationInput, Prisma.EventHandlerUncheckedUpdateManyInput>;
|
|
1637
|
+
/**
|
|
1638
|
+
* Filter which EventHandlers to update
|
|
1639
|
+
*/
|
|
1640
|
+
where?: Prisma.EventHandlerWhereInput;
|
|
1641
|
+
/**
|
|
1642
|
+
* Limit how many EventHandlers to update.
|
|
1643
|
+
*/
|
|
1644
|
+
limit?: number;
|
|
1645
|
+
};
|
|
1646
|
+
/**
|
|
1647
|
+
* EventHandler upsert
|
|
1648
|
+
*/
|
|
1649
|
+
export type EventHandlerUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1650
|
+
/**
|
|
1651
|
+
* Select specific fields to fetch from the EventHandler
|
|
1652
|
+
*/
|
|
1653
|
+
select?: Prisma.EventHandlerSelect<ExtArgs> | null;
|
|
1654
|
+
/**
|
|
1655
|
+
* Omit specific fields from the EventHandler
|
|
1656
|
+
*/
|
|
1657
|
+
omit?: Prisma.EventHandlerOmit<ExtArgs> | null;
|
|
1658
|
+
/**
|
|
1659
|
+
* Choose, which related nodes to fetch as well
|
|
1660
|
+
*/
|
|
1661
|
+
include?: Prisma.EventHandlerInclude<ExtArgs> | null;
|
|
1662
|
+
/**
|
|
1663
|
+
* The filter to search for the EventHandler to update in case it exists.
|
|
1664
|
+
*/
|
|
1665
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
1666
|
+
/**
|
|
1667
|
+
* In case the EventHandler found by the `where` argument doesn't exist, create a new EventHandler with this data.
|
|
1668
|
+
*/
|
|
1669
|
+
create: Prisma.XOR<Prisma.EventHandlerCreateInput, Prisma.EventHandlerUncheckedCreateInput>;
|
|
1670
|
+
/**
|
|
1671
|
+
* In case the EventHandler was found with the provided `where` argument, update it with this data.
|
|
1672
|
+
*/
|
|
1673
|
+
update: Prisma.XOR<Prisma.EventHandlerUpdateInput, Prisma.EventHandlerUncheckedUpdateInput>;
|
|
1674
|
+
};
|
|
1675
|
+
/**
|
|
1676
|
+
* EventHandler delete
|
|
1677
|
+
*/
|
|
1678
|
+
export type EventHandlerDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1679
|
+
/**
|
|
1680
|
+
* Select specific fields to fetch from the EventHandler
|
|
1681
|
+
*/
|
|
1682
|
+
select?: Prisma.EventHandlerSelect<ExtArgs> | null;
|
|
1683
|
+
/**
|
|
1684
|
+
* Omit specific fields from the EventHandler
|
|
1685
|
+
*/
|
|
1686
|
+
omit?: Prisma.EventHandlerOmit<ExtArgs> | null;
|
|
1687
|
+
/**
|
|
1688
|
+
* Choose, which related nodes to fetch as well
|
|
1689
|
+
*/
|
|
1690
|
+
include?: Prisma.EventHandlerInclude<ExtArgs> | null;
|
|
1691
|
+
/**
|
|
1692
|
+
* Filter which EventHandler to delete.
|
|
1693
|
+
*/
|
|
1694
|
+
where: Prisma.EventHandlerWhereUniqueInput;
|
|
1695
|
+
};
|
|
1696
|
+
/**
|
|
1697
|
+
* EventHandler deleteMany
|
|
1698
|
+
*/
|
|
1699
|
+
export type EventHandlerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1700
|
+
/**
|
|
1701
|
+
* Filter which EventHandlers to delete
|
|
1702
|
+
*/
|
|
1703
|
+
where?: Prisma.EventHandlerWhereInput;
|
|
1704
|
+
/**
|
|
1705
|
+
* Limit how many EventHandlers to delete.
|
|
1706
|
+
*/
|
|
1707
|
+
limit?: number;
|
|
1708
|
+
};
|
|
1709
|
+
/**
|
|
1710
|
+
* EventHandler.executions
|
|
1711
|
+
*/
|
|
1712
|
+
export type EventHandler$executionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1713
|
+
/**
|
|
1714
|
+
* Select specific fields to fetch from the EventHandlerExecution
|
|
1715
|
+
*/
|
|
1716
|
+
select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
|
|
1717
|
+
/**
|
|
1718
|
+
* Omit specific fields from the EventHandlerExecution
|
|
1719
|
+
*/
|
|
1720
|
+
omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
|
|
1721
|
+
/**
|
|
1722
|
+
* Choose, which related nodes to fetch as well
|
|
1723
|
+
*/
|
|
1724
|
+
include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
|
|
1725
|
+
where?: Prisma.EventHandlerExecutionWhereInput;
|
|
1726
|
+
orderBy?: Prisma.EventHandlerExecutionOrderByWithRelationInput | Prisma.EventHandlerExecutionOrderByWithRelationInput[];
|
|
1727
|
+
cursor?: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
1728
|
+
take?: number;
|
|
1729
|
+
skip?: number;
|
|
1730
|
+
distinct?: Prisma.EventHandlerExecutionScalarFieldEnum | Prisma.EventHandlerExecutionScalarFieldEnum[];
|
|
1731
|
+
};
|
|
1732
|
+
/**
|
|
1733
|
+
* EventHandler without action
|
|
1734
|
+
*/
|
|
1735
|
+
export type EventHandlerDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1736
|
+
/**
|
|
1737
|
+
* Select specific fields to fetch from the EventHandler
|
|
1738
|
+
*/
|
|
1739
|
+
select?: Prisma.EventHandlerSelect<ExtArgs> | null;
|
|
1740
|
+
/**
|
|
1741
|
+
* Omit specific fields from the EventHandler
|
|
1742
|
+
*/
|
|
1743
|
+
omit?: Prisma.EventHandlerOmit<ExtArgs> | null;
|
|
1744
|
+
/**
|
|
1745
|
+
* Choose, which related nodes to fetch as well
|
|
1746
|
+
*/
|
|
1747
|
+
include?: Prisma.EventHandlerInclude<ExtArgs> | null;
|
|
1748
|
+
};
|
|
1749
|
+
export {};
|