@valentine-efagene/qshelter-common 2.0.94 → 2.0.95

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.
Files changed (44) hide show
  1. package/dist/generated/client/browser.d.ts +16 -16
  2. package/dist/generated/client/client.d.ts +16 -16
  3. package/dist/generated/client/commonInputTypes.d.ts +72 -72
  4. package/dist/generated/client/enums.d.ts +13 -13
  5. package/dist/generated/client/enums.js +10 -10
  6. package/dist/generated/client/internal/class.d.ts +32 -32
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +321 -321
  9. package/dist/generated/client/internal/prismaNamespace.js +50 -50
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +66 -66
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +50 -50
  12. package/dist/generated/client/models/Application.d.ts +5439 -0
  13. package/dist/generated/client/models/Application.js +1 -0
  14. package/dist/generated/client/models/ApplicationDocument.d.ts +1409 -0
  15. package/dist/generated/client/models/ApplicationDocument.js +1 -0
  16. package/dist/generated/client/models/ApplicationEvent.d.ts +1254 -0
  17. package/dist/generated/client/models/ApplicationEvent.js +1 -0
  18. package/dist/generated/client/models/ApplicationPayment.d.ts +2030 -0
  19. package/dist/generated/client/models/ApplicationPayment.js +1 -0
  20. package/dist/generated/client/models/ApplicationPhase.d.ts +2243 -0
  21. package/dist/generated/client/models/ApplicationPhase.js +1 -0
  22. package/dist/generated/client/models/ApplicationRefund.d.ts +2560 -0
  23. package/dist/generated/client/models/ApplicationRefund.js +1 -0
  24. package/dist/generated/client/models/ApplicationTermination.d.ts +3446 -0
  25. package/dist/generated/client/models/ApplicationTermination.js +1 -0
  26. package/dist/generated/client/models/DocumentationPhase.d.ts +13 -13
  27. package/dist/generated/client/models/OfferLetter.d.ts +97 -97
  28. package/dist/generated/client/models/PaymentInstallment.d.ts +1660 -0
  29. package/dist/generated/client/models/PaymentInstallment.js +1 -0
  30. package/dist/generated/client/models/PaymentMethodChangeRequest.d.ts +103 -103
  31. package/dist/generated/client/models/PaymentPhase.d.ts +40 -40
  32. package/dist/generated/client/models/PropertyPaymentMethod.d.ts +77 -77
  33. package/dist/generated/client/models/PropertyTransferRequest.d.ts +213 -213
  34. package/dist/generated/client/models/PropertyUnit.d.ts +53 -53
  35. package/dist/generated/client/models/QuestionnairePhase.d.ts +11 -11
  36. package/dist/generated/client/models/Tenant.d.ts +323 -323
  37. package/dist/generated/client/models/User.d.ts +1329 -1329
  38. package/dist/generated/client/models/index.d.ts +8 -8
  39. package/dist/generated/client/models/index.js +8 -8
  40. package/dist/generated/client/models.d.ts +8 -8
  41. package/package.json +1 -1
  42. package/prisma/migrations/20260112080730_rename_contract_to_application/migration.sql +529 -0
  43. package/prisma/schema.prisma +107 -107
  44. package/prisma/schema.prisma.backup +2601 -0
@@ -0,0 +1,1254 @@
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 ApplicationEvent
6
+ *
7
+ */
8
+ export type ApplicationEventModel = runtime.Types.Result.DefaultSelection<Prisma.$ApplicationEventPayload>;
9
+ export type AggregateApplicationEvent = {
10
+ _count: ApplicationEventCountAggregateOutputType | null;
11
+ _min: ApplicationEventMinAggregateOutputType | null;
12
+ _max: ApplicationEventMaxAggregateOutputType | null;
13
+ };
14
+ export type ApplicationEventMinAggregateOutputType = {
15
+ id: string | null;
16
+ applicationId: string | null;
17
+ eventType: $Enums.ApplicationEventType | null;
18
+ eventGroup: $Enums.ApplicationEventGroup | null;
19
+ fromState: string | null;
20
+ toState: string | null;
21
+ trigger: string | null;
22
+ actorId: string | null;
23
+ actorType: $Enums.EventActorType | null;
24
+ occurredAt: Date | null;
25
+ };
26
+ export type ApplicationEventMaxAggregateOutputType = {
27
+ id: string | null;
28
+ applicationId: string | null;
29
+ eventType: $Enums.ApplicationEventType | null;
30
+ eventGroup: $Enums.ApplicationEventGroup | null;
31
+ fromState: string | null;
32
+ toState: string | null;
33
+ trigger: string | null;
34
+ actorId: string | null;
35
+ actorType: $Enums.EventActorType | null;
36
+ occurredAt: Date | null;
37
+ };
38
+ export type ApplicationEventCountAggregateOutputType = {
39
+ id: number;
40
+ applicationId: number;
41
+ eventType: number;
42
+ eventGroup: number;
43
+ fromState: number;
44
+ toState: number;
45
+ trigger: number;
46
+ data: number;
47
+ actorId: number;
48
+ actorType: number;
49
+ occurredAt: number;
50
+ _all: number;
51
+ };
52
+ export type ApplicationEventMinAggregateInputType = {
53
+ id?: true;
54
+ applicationId?: true;
55
+ eventType?: true;
56
+ eventGroup?: true;
57
+ fromState?: true;
58
+ toState?: true;
59
+ trigger?: true;
60
+ actorId?: true;
61
+ actorType?: true;
62
+ occurredAt?: true;
63
+ };
64
+ export type ApplicationEventMaxAggregateInputType = {
65
+ id?: true;
66
+ applicationId?: true;
67
+ eventType?: true;
68
+ eventGroup?: true;
69
+ fromState?: true;
70
+ toState?: true;
71
+ trigger?: true;
72
+ actorId?: true;
73
+ actorType?: true;
74
+ occurredAt?: true;
75
+ };
76
+ export type ApplicationEventCountAggregateInputType = {
77
+ id?: true;
78
+ applicationId?: true;
79
+ eventType?: true;
80
+ eventGroup?: true;
81
+ fromState?: true;
82
+ toState?: true;
83
+ trigger?: true;
84
+ data?: true;
85
+ actorId?: true;
86
+ actorType?: true;
87
+ occurredAt?: true;
88
+ _all?: true;
89
+ };
90
+ export type ApplicationEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
91
+ /**
92
+ * Filter which ApplicationEvent to aggregate.
93
+ */
94
+ where?: Prisma.ApplicationEventWhereInput;
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97
+ *
98
+ * Determine the order of ApplicationEvents to fetch.
99
+ */
100
+ orderBy?: Prisma.ApplicationEventOrderByWithRelationInput | Prisma.ApplicationEventOrderByWithRelationInput[];
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
103
+ *
104
+ * Sets the start position
105
+ */
106
+ cursor?: Prisma.ApplicationEventWhereUniqueInput;
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
109
+ *
110
+ * Take `±n` ApplicationEvents from the position of the cursor.
111
+ */
112
+ take?: number;
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
115
+ *
116
+ * Skip the first `n` ApplicationEvents.
117
+ */
118
+ skip?: number;
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
+ *
122
+ * Count returned ApplicationEvents
123
+ **/
124
+ _count?: true | ApplicationEventCountAggregateInputType;
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
127
+ *
128
+ * Select which fields to find the minimum value
129
+ **/
130
+ _min?: ApplicationEventMinAggregateInputType;
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
133
+ *
134
+ * Select which fields to find the maximum value
135
+ **/
136
+ _max?: ApplicationEventMaxAggregateInputType;
137
+ };
138
+ export type GetApplicationEventAggregateType<T extends ApplicationEventAggregateArgs> = {
139
+ [P in keyof T & keyof AggregateApplicationEvent]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateApplicationEvent[P]> : Prisma.GetScalarType<T[P], AggregateApplicationEvent[P]>;
140
+ };
141
+ export type ApplicationEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
142
+ where?: Prisma.ApplicationEventWhereInput;
143
+ orderBy?: Prisma.ApplicationEventOrderByWithAggregationInput | Prisma.ApplicationEventOrderByWithAggregationInput[];
144
+ by: Prisma.ApplicationEventScalarFieldEnum[] | Prisma.ApplicationEventScalarFieldEnum;
145
+ having?: Prisma.ApplicationEventScalarWhereWithAggregatesInput;
146
+ take?: number;
147
+ skip?: number;
148
+ _count?: ApplicationEventCountAggregateInputType | true;
149
+ _min?: ApplicationEventMinAggregateInputType;
150
+ _max?: ApplicationEventMaxAggregateInputType;
151
+ };
152
+ export type ApplicationEventGroupByOutputType = {
153
+ id: string;
154
+ applicationId: string;
155
+ eventType: $Enums.ApplicationEventType;
156
+ eventGroup: $Enums.ApplicationEventGroup | null;
157
+ fromState: string | null;
158
+ toState: string | null;
159
+ trigger: string | null;
160
+ data: runtime.JsonValue | null;
161
+ actorId: string | null;
162
+ actorType: $Enums.EventActorType | null;
163
+ occurredAt: Date;
164
+ _count: ApplicationEventCountAggregateOutputType | null;
165
+ _min: ApplicationEventMinAggregateOutputType | null;
166
+ _max: ApplicationEventMaxAggregateOutputType | null;
167
+ };
168
+ type GetApplicationEventGroupByPayload<T extends ApplicationEventGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ApplicationEventGroupByOutputType, T['by']> & {
169
+ [P in ((keyof T) & (keyof ApplicationEventGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ApplicationEventGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ApplicationEventGroupByOutputType[P]>;
170
+ }>>;
171
+ export type ApplicationEventWhereInput = {
172
+ AND?: Prisma.ApplicationEventWhereInput | Prisma.ApplicationEventWhereInput[];
173
+ OR?: Prisma.ApplicationEventWhereInput[];
174
+ NOT?: Prisma.ApplicationEventWhereInput | Prisma.ApplicationEventWhereInput[];
175
+ id?: Prisma.StringFilter<"ApplicationEvent"> | string;
176
+ applicationId?: Prisma.StringFilter<"ApplicationEvent"> | string;
177
+ eventType?: Prisma.EnumApplicationEventTypeFilter<"ApplicationEvent"> | $Enums.ApplicationEventType;
178
+ eventGroup?: Prisma.EnumApplicationEventGroupNullableFilter<"ApplicationEvent"> | $Enums.ApplicationEventGroup | null;
179
+ fromState?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
180
+ toState?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
181
+ trigger?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
182
+ data?: Prisma.JsonNullableFilter<"ApplicationEvent">;
183
+ actorId?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
184
+ actorType?: Prisma.EnumEventActorTypeNullableFilter<"ApplicationEvent"> | $Enums.EventActorType | null;
185
+ occurredAt?: Prisma.DateTimeFilter<"ApplicationEvent"> | Date | string;
186
+ application?: Prisma.XOR<Prisma.ApplicationScalarRelationFilter, Prisma.ApplicationWhereInput>;
187
+ };
188
+ export type ApplicationEventOrderByWithRelationInput = {
189
+ id?: Prisma.SortOrder;
190
+ applicationId?: Prisma.SortOrder;
191
+ eventType?: Prisma.SortOrder;
192
+ eventGroup?: Prisma.SortOrderInput | Prisma.SortOrder;
193
+ fromState?: Prisma.SortOrderInput | Prisma.SortOrder;
194
+ toState?: Prisma.SortOrderInput | Prisma.SortOrder;
195
+ trigger?: Prisma.SortOrderInput | Prisma.SortOrder;
196
+ data?: Prisma.SortOrderInput | Prisma.SortOrder;
197
+ actorId?: Prisma.SortOrderInput | Prisma.SortOrder;
198
+ actorType?: Prisma.SortOrderInput | Prisma.SortOrder;
199
+ occurredAt?: Prisma.SortOrder;
200
+ application?: Prisma.ApplicationOrderByWithRelationInput;
201
+ _relevance?: Prisma.ApplicationEventOrderByRelevanceInput;
202
+ };
203
+ export type ApplicationEventWhereUniqueInput = Prisma.AtLeast<{
204
+ id?: string;
205
+ AND?: Prisma.ApplicationEventWhereInput | Prisma.ApplicationEventWhereInput[];
206
+ OR?: Prisma.ApplicationEventWhereInput[];
207
+ NOT?: Prisma.ApplicationEventWhereInput | Prisma.ApplicationEventWhereInput[];
208
+ applicationId?: Prisma.StringFilter<"ApplicationEvent"> | string;
209
+ eventType?: Prisma.EnumApplicationEventTypeFilter<"ApplicationEvent"> | $Enums.ApplicationEventType;
210
+ eventGroup?: Prisma.EnumApplicationEventGroupNullableFilter<"ApplicationEvent"> | $Enums.ApplicationEventGroup | null;
211
+ fromState?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
212
+ toState?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
213
+ trigger?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
214
+ data?: Prisma.JsonNullableFilter<"ApplicationEvent">;
215
+ actorId?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
216
+ actorType?: Prisma.EnumEventActorTypeNullableFilter<"ApplicationEvent"> | $Enums.EventActorType | null;
217
+ occurredAt?: Prisma.DateTimeFilter<"ApplicationEvent"> | Date | string;
218
+ application?: Prisma.XOR<Prisma.ApplicationScalarRelationFilter, Prisma.ApplicationWhereInput>;
219
+ }, "id">;
220
+ export type ApplicationEventOrderByWithAggregationInput = {
221
+ id?: Prisma.SortOrder;
222
+ applicationId?: Prisma.SortOrder;
223
+ eventType?: Prisma.SortOrder;
224
+ eventGroup?: Prisma.SortOrderInput | Prisma.SortOrder;
225
+ fromState?: Prisma.SortOrderInput | Prisma.SortOrder;
226
+ toState?: Prisma.SortOrderInput | Prisma.SortOrder;
227
+ trigger?: Prisma.SortOrderInput | Prisma.SortOrder;
228
+ data?: Prisma.SortOrderInput | Prisma.SortOrder;
229
+ actorId?: Prisma.SortOrderInput | Prisma.SortOrder;
230
+ actorType?: Prisma.SortOrderInput | Prisma.SortOrder;
231
+ occurredAt?: Prisma.SortOrder;
232
+ _count?: Prisma.ApplicationEventCountOrderByAggregateInput;
233
+ _max?: Prisma.ApplicationEventMaxOrderByAggregateInput;
234
+ _min?: Prisma.ApplicationEventMinOrderByAggregateInput;
235
+ };
236
+ export type ApplicationEventScalarWhereWithAggregatesInput = {
237
+ AND?: Prisma.ApplicationEventScalarWhereWithAggregatesInput | Prisma.ApplicationEventScalarWhereWithAggregatesInput[];
238
+ OR?: Prisma.ApplicationEventScalarWhereWithAggregatesInput[];
239
+ NOT?: Prisma.ApplicationEventScalarWhereWithAggregatesInput | Prisma.ApplicationEventScalarWhereWithAggregatesInput[];
240
+ id?: Prisma.StringWithAggregatesFilter<"ApplicationEvent"> | string;
241
+ applicationId?: Prisma.StringWithAggregatesFilter<"ApplicationEvent"> | string;
242
+ eventType?: Prisma.EnumApplicationEventTypeWithAggregatesFilter<"ApplicationEvent"> | $Enums.ApplicationEventType;
243
+ eventGroup?: Prisma.EnumApplicationEventGroupNullableWithAggregatesFilter<"ApplicationEvent"> | $Enums.ApplicationEventGroup | null;
244
+ fromState?: Prisma.StringNullableWithAggregatesFilter<"ApplicationEvent"> | string | null;
245
+ toState?: Prisma.StringNullableWithAggregatesFilter<"ApplicationEvent"> | string | null;
246
+ trigger?: Prisma.StringNullableWithAggregatesFilter<"ApplicationEvent"> | string | null;
247
+ data?: Prisma.JsonNullableWithAggregatesFilter<"ApplicationEvent">;
248
+ actorId?: Prisma.StringNullableWithAggregatesFilter<"ApplicationEvent"> | string | null;
249
+ actorType?: Prisma.EnumEventActorTypeNullableWithAggregatesFilter<"ApplicationEvent"> | $Enums.EventActorType | null;
250
+ occurredAt?: Prisma.DateTimeWithAggregatesFilter<"ApplicationEvent"> | Date | string;
251
+ };
252
+ export type ApplicationEventCreateInput = {
253
+ id?: string;
254
+ eventType: $Enums.ApplicationEventType;
255
+ eventGroup?: $Enums.ApplicationEventGroup | null;
256
+ fromState?: string | null;
257
+ toState?: string | null;
258
+ trigger?: string | null;
259
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
260
+ actorId?: string | null;
261
+ actorType?: $Enums.EventActorType | null;
262
+ occurredAt?: Date | string;
263
+ application: Prisma.ApplicationCreateNestedOneWithoutEventsInput;
264
+ };
265
+ export type ApplicationEventUncheckedCreateInput = {
266
+ id?: string;
267
+ applicationId: string;
268
+ eventType: $Enums.ApplicationEventType;
269
+ eventGroup?: $Enums.ApplicationEventGroup | null;
270
+ fromState?: string | null;
271
+ toState?: string | null;
272
+ trigger?: string | null;
273
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
274
+ actorId?: string | null;
275
+ actorType?: $Enums.EventActorType | null;
276
+ occurredAt?: Date | string;
277
+ };
278
+ export type ApplicationEventUpdateInput = {
279
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
280
+ eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
281
+ eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
282
+ fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
283
+ toState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
284
+ trigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
285
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
286
+ actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
287
+ actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
288
+ occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
289
+ application?: Prisma.ApplicationUpdateOneRequiredWithoutEventsNestedInput;
290
+ };
291
+ export type ApplicationEventUncheckedUpdateInput = {
292
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
293
+ applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
294
+ eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
295
+ eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
296
+ fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
297
+ toState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
298
+ trigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
299
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
300
+ actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
301
+ actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
302
+ occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
303
+ };
304
+ export type ApplicationEventCreateManyInput = {
305
+ id?: string;
306
+ applicationId: string;
307
+ eventType: $Enums.ApplicationEventType;
308
+ eventGroup?: $Enums.ApplicationEventGroup | null;
309
+ fromState?: string | null;
310
+ toState?: string | null;
311
+ trigger?: string | null;
312
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
313
+ actorId?: string | null;
314
+ actorType?: $Enums.EventActorType | null;
315
+ occurredAt?: Date | string;
316
+ };
317
+ export type ApplicationEventUpdateManyMutationInput = {
318
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
319
+ eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
320
+ eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
321
+ fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
322
+ toState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
323
+ trigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
324
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
325
+ actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
326
+ actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
327
+ occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
328
+ };
329
+ export type ApplicationEventUncheckedUpdateManyInput = {
330
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
331
+ applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
332
+ eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
333
+ eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
334
+ fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
335
+ toState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
336
+ trigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
337
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
338
+ actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
339
+ actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
340
+ occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
341
+ };
342
+ export type ApplicationEventListRelationFilter = {
343
+ every?: Prisma.ApplicationEventWhereInput;
344
+ some?: Prisma.ApplicationEventWhereInput;
345
+ none?: Prisma.ApplicationEventWhereInput;
346
+ };
347
+ export type ApplicationEventOrderByRelationAggregateInput = {
348
+ _count?: Prisma.SortOrder;
349
+ };
350
+ export type ApplicationEventOrderByRelevanceInput = {
351
+ fields: Prisma.ApplicationEventOrderByRelevanceFieldEnum | Prisma.ApplicationEventOrderByRelevanceFieldEnum[];
352
+ sort: Prisma.SortOrder;
353
+ search: string;
354
+ };
355
+ export type ApplicationEventCountOrderByAggregateInput = {
356
+ id?: Prisma.SortOrder;
357
+ applicationId?: Prisma.SortOrder;
358
+ eventType?: Prisma.SortOrder;
359
+ eventGroup?: Prisma.SortOrder;
360
+ fromState?: Prisma.SortOrder;
361
+ toState?: Prisma.SortOrder;
362
+ trigger?: Prisma.SortOrder;
363
+ data?: Prisma.SortOrder;
364
+ actorId?: Prisma.SortOrder;
365
+ actorType?: Prisma.SortOrder;
366
+ occurredAt?: Prisma.SortOrder;
367
+ };
368
+ export type ApplicationEventMaxOrderByAggregateInput = {
369
+ id?: Prisma.SortOrder;
370
+ applicationId?: Prisma.SortOrder;
371
+ eventType?: Prisma.SortOrder;
372
+ eventGroup?: Prisma.SortOrder;
373
+ fromState?: Prisma.SortOrder;
374
+ toState?: Prisma.SortOrder;
375
+ trigger?: Prisma.SortOrder;
376
+ actorId?: Prisma.SortOrder;
377
+ actorType?: Prisma.SortOrder;
378
+ occurredAt?: Prisma.SortOrder;
379
+ };
380
+ export type ApplicationEventMinOrderByAggregateInput = {
381
+ id?: Prisma.SortOrder;
382
+ applicationId?: Prisma.SortOrder;
383
+ eventType?: Prisma.SortOrder;
384
+ eventGroup?: Prisma.SortOrder;
385
+ fromState?: Prisma.SortOrder;
386
+ toState?: Prisma.SortOrder;
387
+ trigger?: Prisma.SortOrder;
388
+ actorId?: Prisma.SortOrder;
389
+ actorType?: Prisma.SortOrder;
390
+ occurredAt?: Prisma.SortOrder;
391
+ };
392
+ export type ApplicationEventCreateNestedManyWithoutApplicationInput = {
393
+ create?: Prisma.XOR<Prisma.ApplicationEventCreateWithoutApplicationInput, Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationEventCreateWithoutApplicationInput[] | Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput[];
394
+ connectOrCreate?: Prisma.ApplicationEventCreateOrConnectWithoutApplicationInput | Prisma.ApplicationEventCreateOrConnectWithoutApplicationInput[];
395
+ createMany?: Prisma.ApplicationEventCreateManyApplicationInputEnvelope;
396
+ connect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
397
+ };
398
+ export type ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput = {
399
+ create?: Prisma.XOR<Prisma.ApplicationEventCreateWithoutApplicationInput, Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationEventCreateWithoutApplicationInput[] | Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput[];
400
+ connectOrCreate?: Prisma.ApplicationEventCreateOrConnectWithoutApplicationInput | Prisma.ApplicationEventCreateOrConnectWithoutApplicationInput[];
401
+ createMany?: Prisma.ApplicationEventCreateManyApplicationInputEnvelope;
402
+ connect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
403
+ };
404
+ export type ApplicationEventUpdateManyWithoutApplicationNestedInput = {
405
+ create?: Prisma.XOR<Prisma.ApplicationEventCreateWithoutApplicationInput, Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationEventCreateWithoutApplicationInput[] | Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput[];
406
+ connectOrCreate?: Prisma.ApplicationEventCreateOrConnectWithoutApplicationInput | Prisma.ApplicationEventCreateOrConnectWithoutApplicationInput[];
407
+ upsert?: Prisma.ApplicationEventUpsertWithWhereUniqueWithoutApplicationInput | Prisma.ApplicationEventUpsertWithWhereUniqueWithoutApplicationInput[];
408
+ createMany?: Prisma.ApplicationEventCreateManyApplicationInputEnvelope;
409
+ set?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
410
+ disconnect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
411
+ delete?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
412
+ connect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
413
+ update?: Prisma.ApplicationEventUpdateWithWhereUniqueWithoutApplicationInput | Prisma.ApplicationEventUpdateWithWhereUniqueWithoutApplicationInput[];
414
+ updateMany?: Prisma.ApplicationEventUpdateManyWithWhereWithoutApplicationInput | Prisma.ApplicationEventUpdateManyWithWhereWithoutApplicationInput[];
415
+ deleteMany?: Prisma.ApplicationEventScalarWhereInput | Prisma.ApplicationEventScalarWhereInput[];
416
+ };
417
+ export type ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput = {
418
+ create?: Prisma.XOR<Prisma.ApplicationEventCreateWithoutApplicationInput, Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationEventCreateWithoutApplicationInput[] | Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput[];
419
+ connectOrCreate?: Prisma.ApplicationEventCreateOrConnectWithoutApplicationInput | Prisma.ApplicationEventCreateOrConnectWithoutApplicationInput[];
420
+ upsert?: Prisma.ApplicationEventUpsertWithWhereUniqueWithoutApplicationInput | Prisma.ApplicationEventUpsertWithWhereUniqueWithoutApplicationInput[];
421
+ createMany?: Prisma.ApplicationEventCreateManyApplicationInputEnvelope;
422
+ set?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
423
+ disconnect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
424
+ delete?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
425
+ connect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
426
+ update?: Prisma.ApplicationEventUpdateWithWhereUniqueWithoutApplicationInput | Prisma.ApplicationEventUpdateWithWhereUniqueWithoutApplicationInput[];
427
+ updateMany?: Prisma.ApplicationEventUpdateManyWithWhereWithoutApplicationInput | Prisma.ApplicationEventUpdateManyWithWhereWithoutApplicationInput[];
428
+ deleteMany?: Prisma.ApplicationEventScalarWhereInput | Prisma.ApplicationEventScalarWhereInput[];
429
+ };
430
+ export type EnumApplicationEventTypeFieldUpdateOperationsInput = {
431
+ set?: $Enums.ApplicationEventType;
432
+ };
433
+ export type NullableEnumApplicationEventGroupFieldUpdateOperationsInput = {
434
+ set?: $Enums.ApplicationEventGroup | null;
435
+ };
436
+ export type NullableEnumEventActorTypeFieldUpdateOperationsInput = {
437
+ set?: $Enums.EventActorType | null;
438
+ };
439
+ export type ApplicationEventCreateWithoutApplicationInput = {
440
+ id?: string;
441
+ eventType: $Enums.ApplicationEventType;
442
+ eventGroup?: $Enums.ApplicationEventGroup | null;
443
+ fromState?: string | null;
444
+ toState?: string | null;
445
+ trigger?: string | null;
446
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
447
+ actorId?: string | null;
448
+ actorType?: $Enums.EventActorType | null;
449
+ occurredAt?: Date | string;
450
+ };
451
+ export type ApplicationEventUncheckedCreateWithoutApplicationInput = {
452
+ id?: string;
453
+ eventType: $Enums.ApplicationEventType;
454
+ eventGroup?: $Enums.ApplicationEventGroup | null;
455
+ fromState?: string | null;
456
+ toState?: string | null;
457
+ trigger?: string | null;
458
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
459
+ actorId?: string | null;
460
+ actorType?: $Enums.EventActorType | null;
461
+ occurredAt?: Date | string;
462
+ };
463
+ export type ApplicationEventCreateOrConnectWithoutApplicationInput = {
464
+ where: Prisma.ApplicationEventWhereUniqueInput;
465
+ create: Prisma.XOR<Prisma.ApplicationEventCreateWithoutApplicationInput, Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput>;
466
+ };
467
+ export type ApplicationEventCreateManyApplicationInputEnvelope = {
468
+ data: Prisma.ApplicationEventCreateManyApplicationInput | Prisma.ApplicationEventCreateManyApplicationInput[];
469
+ skipDuplicates?: boolean;
470
+ };
471
+ export type ApplicationEventUpsertWithWhereUniqueWithoutApplicationInput = {
472
+ where: Prisma.ApplicationEventWhereUniqueInput;
473
+ update: Prisma.XOR<Prisma.ApplicationEventUpdateWithoutApplicationInput, Prisma.ApplicationEventUncheckedUpdateWithoutApplicationInput>;
474
+ create: Prisma.XOR<Prisma.ApplicationEventCreateWithoutApplicationInput, Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput>;
475
+ };
476
+ export type ApplicationEventUpdateWithWhereUniqueWithoutApplicationInput = {
477
+ where: Prisma.ApplicationEventWhereUniqueInput;
478
+ data: Prisma.XOR<Prisma.ApplicationEventUpdateWithoutApplicationInput, Prisma.ApplicationEventUncheckedUpdateWithoutApplicationInput>;
479
+ };
480
+ export type ApplicationEventUpdateManyWithWhereWithoutApplicationInput = {
481
+ where: Prisma.ApplicationEventScalarWhereInput;
482
+ data: Prisma.XOR<Prisma.ApplicationEventUpdateManyMutationInput, Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationInput>;
483
+ };
484
+ export type ApplicationEventScalarWhereInput = {
485
+ AND?: Prisma.ApplicationEventScalarWhereInput | Prisma.ApplicationEventScalarWhereInput[];
486
+ OR?: Prisma.ApplicationEventScalarWhereInput[];
487
+ NOT?: Prisma.ApplicationEventScalarWhereInput | Prisma.ApplicationEventScalarWhereInput[];
488
+ id?: Prisma.StringFilter<"ApplicationEvent"> | string;
489
+ applicationId?: Prisma.StringFilter<"ApplicationEvent"> | string;
490
+ eventType?: Prisma.EnumApplicationEventTypeFilter<"ApplicationEvent"> | $Enums.ApplicationEventType;
491
+ eventGroup?: Prisma.EnumApplicationEventGroupNullableFilter<"ApplicationEvent"> | $Enums.ApplicationEventGroup | null;
492
+ fromState?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
493
+ toState?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
494
+ trigger?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
495
+ data?: Prisma.JsonNullableFilter<"ApplicationEvent">;
496
+ actorId?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
497
+ actorType?: Prisma.EnumEventActorTypeNullableFilter<"ApplicationEvent"> | $Enums.EventActorType | null;
498
+ occurredAt?: Prisma.DateTimeFilter<"ApplicationEvent"> | Date | string;
499
+ };
500
+ export type ApplicationEventCreateManyApplicationInput = {
501
+ id?: string;
502
+ eventType: $Enums.ApplicationEventType;
503
+ eventGroup?: $Enums.ApplicationEventGroup | null;
504
+ fromState?: string | null;
505
+ toState?: string | null;
506
+ trigger?: string | null;
507
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
508
+ actorId?: string | null;
509
+ actorType?: $Enums.EventActorType | null;
510
+ occurredAt?: Date | string;
511
+ };
512
+ export type ApplicationEventUpdateWithoutApplicationInput = {
513
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
514
+ eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
515
+ eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
516
+ fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
517
+ toState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
518
+ trigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
519
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
520
+ actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
521
+ actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
522
+ occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
523
+ };
524
+ export type ApplicationEventUncheckedUpdateWithoutApplicationInput = {
525
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
526
+ eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
527
+ eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
528
+ fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
529
+ toState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
530
+ trigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
531
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
532
+ actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
533
+ actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
534
+ occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
535
+ };
536
+ export type ApplicationEventUncheckedUpdateManyWithoutApplicationInput = {
537
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
538
+ eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
539
+ eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
540
+ fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
541
+ toState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
542
+ trigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
543
+ data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
544
+ actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
545
+ actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
546
+ occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
547
+ };
548
+ export type ApplicationEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
549
+ id?: boolean;
550
+ applicationId?: boolean;
551
+ eventType?: boolean;
552
+ eventGroup?: boolean;
553
+ fromState?: boolean;
554
+ toState?: boolean;
555
+ trigger?: boolean;
556
+ data?: boolean;
557
+ actorId?: boolean;
558
+ actorType?: boolean;
559
+ occurredAt?: boolean;
560
+ application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
561
+ }, ExtArgs["result"]["applicationEvent"]>;
562
+ export type ApplicationEventSelectScalar = {
563
+ id?: boolean;
564
+ applicationId?: boolean;
565
+ eventType?: boolean;
566
+ eventGroup?: boolean;
567
+ fromState?: boolean;
568
+ toState?: boolean;
569
+ trigger?: boolean;
570
+ data?: boolean;
571
+ actorId?: boolean;
572
+ actorType?: boolean;
573
+ occurredAt?: boolean;
574
+ };
575
+ export type ApplicationEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "applicationId" | "eventType" | "eventGroup" | "fromState" | "toState" | "trigger" | "data" | "actorId" | "actorType" | "occurredAt", ExtArgs["result"]["applicationEvent"]>;
576
+ export type ApplicationEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
577
+ application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
578
+ };
579
+ export type $ApplicationEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
580
+ name: "ApplicationEvent";
581
+ objects: {
582
+ application: Prisma.$ApplicationPayload<ExtArgs>;
583
+ };
584
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
585
+ id: string;
586
+ applicationId: string;
587
+ eventType: $Enums.ApplicationEventType;
588
+ eventGroup: $Enums.ApplicationEventGroup | null;
589
+ fromState: string | null;
590
+ toState: string | null;
591
+ trigger: string | null;
592
+ data: runtime.JsonValue | null;
593
+ actorId: string | null;
594
+ actorType: $Enums.EventActorType | null;
595
+ occurredAt: Date;
596
+ }, ExtArgs["result"]["applicationEvent"]>;
597
+ composites: {};
598
+ };
599
+ export type ApplicationEventGetPayload<S extends boolean | null | undefined | ApplicationEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload, S>;
600
+ export type ApplicationEventCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ApplicationEventFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
601
+ select?: ApplicationEventCountAggregateInputType | true;
602
+ };
603
+ export interface ApplicationEventDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
604
+ [K: symbol]: {
605
+ types: Prisma.TypeMap<ExtArgs>['model']['ApplicationEvent'];
606
+ meta: {
607
+ name: 'ApplicationEvent';
608
+ };
609
+ };
610
+ /**
611
+ * Find zero or one ApplicationEvent that matches the filter.
612
+ * @param {ApplicationEventFindUniqueArgs} args - Arguments to find a ApplicationEvent
613
+ * @example
614
+ * // Get one ApplicationEvent
615
+ * const applicationEvent = await prisma.applicationEvent.findUnique({
616
+ * where: {
617
+ * // ... provide filter here
618
+ * }
619
+ * })
620
+ */
621
+ findUnique<T extends ApplicationEventFindUniqueArgs>(args: Prisma.SelectSubset<T, ApplicationEventFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ApplicationEventClient<runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
622
+ /**
623
+ * Find one ApplicationEvent that matches the filter or throw an error with `error.code='P2025'`
624
+ * if no matches were found.
625
+ * @param {ApplicationEventFindUniqueOrThrowArgs} args - Arguments to find a ApplicationEvent
626
+ * @example
627
+ * // Get one ApplicationEvent
628
+ * const applicationEvent = await prisma.applicationEvent.findUniqueOrThrow({
629
+ * where: {
630
+ * // ... provide filter here
631
+ * }
632
+ * })
633
+ */
634
+ findUniqueOrThrow<T extends ApplicationEventFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ApplicationEventFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApplicationEventClient<runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
635
+ /**
636
+ * Find the first ApplicationEvent that matches the filter.
637
+ * Note, that providing `undefined` is treated as the value not being there.
638
+ * Read more here: https://pris.ly/d/null-undefined
639
+ * @param {ApplicationEventFindFirstArgs} args - Arguments to find a ApplicationEvent
640
+ * @example
641
+ * // Get one ApplicationEvent
642
+ * const applicationEvent = await prisma.applicationEvent.findFirst({
643
+ * where: {
644
+ * // ... provide filter here
645
+ * }
646
+ * })
647
+ */
648
+ findFirst<T extends ApplicationEventFindFirstArgs>(args?: Prisma.SelectSubset<T, ApplicationEventFindFirstArgs<ExtArgs>>): Prisma.Prisma__ApplicationEventClient<runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
649
+ /**
650
+ * Find the first ApplicationEvent that matches the filter or
651
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
652
+ * Note, that providing `undefined` is treated as the value not being there.
653
+ * Read more here: https://pris.ly/d/null-undefined
654
+ * @param {ApplicationEventFindFirstOrThrowArgs} args - Arguments to find a ApplicationEvent
655
+ * @example
656
+ * // Get one ApplicationEvent
657
+ * const applicationEvent = await prisma.applicationEvent.findFirstOrThrow({
658
+ * where: {
659
+ * // ... provide filter here
660
+ * }
661
+ * })
662
+ */
663
+ findFirstOrThrow<T extends ApplicationEventFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ApplicationEventFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApplicationEventClient<runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
664
+ /**
665
+ * Find zero or more ApplicationEvents that matches the filter.
666
+ * Note, that providing `undefined` is treated as the value not being there.
667
+ * Read more here: https://pris.ly/d/null-undefined
668
+ * @param {ApplicationEventFindManyArgs} args - Arguments to filter and select certain fields only.
669
+ * @example
670
+ * // Get all ApplicationEvents
671
+ * const applicationEvents = await prisma.applicationEvent.findMany()
672
+ *
673
+ * // Get first 10 ApplicationEvents
674
+ * const applicationEvents = await prisma.applicationEvent.findMany({ take: 10 })
675
+ *
676
+ * // Only select the `id`
677
+ * const applicationEventWithIdOnly = await prisma.applicationEvent.findMany({ select: { id: true } })
678
+ *
679
+ */
680
+ findMany<T extends ApplicationEventFindManyArgs>(args?: Prisma.SelectSubset<T, ApplicationEventFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
681
+ /**
682
+ * Create a ApplicationEvent.
683
+ * @param {ApplicationEventCreateArgs} args - Arguments to create a ApplicationEvent.
684
+ * @example
685
+ * // Create one ApplicationEvent
686
+ * const ApplicationEvent = await prisma.applicationEvent.create({
687
+ * data: {
688
+ * // ... data to create a ApplicationEvent
689
+ * }
690
+ * })
691
+ *
692
+ */
693
+ create<T extends ApplicationEventCreateArgs>(args: Prisma.SelectSubset<T, ApplicationEventCreateArgs<ExtArgs>>): Prisma.Prisma__ApplicationEventClient<runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
694
+ /**
695
+ * Create many ApplicationEvents.
696
+ * @param {ApplicationEventCreateManyArgs} args - Arguments to create many ApplicationEvents.
697
+ * @example
698
+ * // Create many ApplicationEvents
699
+ * const applicationEvent = await prisma.applicationEvent.createMany({
700
+ * data: [
701
+ * // ... provide data here
702
+ * ]
703
+ * })
704
+ *
705
+ */
706
+ createMany<T extends ApplicationEventCreateManyArgs>(args?: Prisma.SelectSubset<T, ApplicationEventCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
707
+ /**
708
+ * Delete a ApplicationEvent.
709
+ * @param {ApplicationEventDeleteArgs} args - Arguments to delete one ApplicationEvent.
710
+ * @example
711
+ * // Delete one ApplicationEvent
712
+ * const ApplicationEvent = await prisma.applicationEvent.delete({
713
+ * where: {
714
+ * // ... filter to delete one ApplicationEvent
715
+ * }
716
+ * })
717
+ *
718
+ */
719
+ delete<T extends ApplicationEventDeleteArgs>(args: Prisma.SelectSubset<T, ApplicationEventDeleteArgs<ExtArgs>>): Prisma.Prisma__ApplicationEventClient<runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
720
+ /**
721
+ * Update one ApplicationEvent.
722
+ * @param {ApplicationEventUpdateArgs} args - Arguments to update one ApplicationEvent.
723
+ * @example
724
+ * // Update one ApplicationEvent
725
+ * const applicationEvent = await prisma.applicationEvent.update({
726
+ * where: {
727
+ * // ... provide filter here
728
+ * },
729
+ * data: {
730
+ * // ... provide data here
731
+ * }
732
+ * })
733
+ *
734
+ */
735
+ update<T extends ApplicationEventUpdateArgs>(args: Prisma.SelectSubset<T, ApplicationEventUpdateArgs<ExtArgs>>): Prisma.Prisma__ApplicationEventClient<runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
736
+ /**
737
+ * Delete zero or more ApplicationEvents.
738
+ * @param {ApplicationEventDeleteManyArgs} args - Arguments to filter ApplicationEvents to delete.
739
+ * @example
740
+ * // Delete a few ApplicationEvents
741
+ * const { count } = await prisma.applicationEvent.deleteMany({
742
+ * where: {
743
+ * // ... provide filter here
744
+ * }
745
+ * })
746
+ *
747
+ */
748
+ deleteMany<T extends ApplicationEventDeleteManyArgs>(args?: Prisma.SelectSubset<T, ApplicationEventDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
749
+ /**
750
+ * Update zero or more ApplicationEvents.
751
+ * Note, that providing `undefined` is treated as the value not being there.
752
+ * Read more here: https://pris.ly/d/null-undefined
753
+ * @param {ApplicationEventUpdateManyArgs} args - Arguments to update one or more rows.
754
+ * @example
755
+ * // Update many ApplicationEvents
756
+ * const applicationEvent = await prisma.applicationEvent.updateMany({
757
+ * where: {
758
+ * // ... provide filter here
759
+ * },
760
+ * data: {
761
+ * // ... provide data here
762
+ * }
763
+ * })
764
+ *
765
+ */
766
+ updateMany<T extends ApplicationEventUpdateManyArgs>(args: Prisma.SelectSubset<T, ApplicationEventUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
767
+ /**
768
+ * Create or update one ApplicationEvent.
769
+ * @param {ApplicationEventUpsertArgs} args - Arguments to update or create a ApplicationEvent.
770
+ * @example
771
+ * // Update or create a ApplicationEvent
772
+ * const applicationEvent = await prisma.applicationEvent.upsert({
773
+ * create: {
774
+ * // ... data to create a ApplicationEvent
775
+ * },
776
+ * update: {
777
+ * // ... in case it already exists, update
778
+ * },
779
+ * where: {
780
+ * // ... the filter for the ApplicationEvent we want to update
781
+ * }
782
+ * })
783
+ */
784
+ upsert<T extends ApplicationEventUpsertArgs>(args: Prisma.SelectSubset<T, ApplicationEventUpsertArgs<ExtArgs>>): Prisma.Prisma__ApplicationEventClient<runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
785
+ /**
786
+ * Count the number of ApplicationEvents.
787
+ * Note, that providing `undefined` is treated as the value not being there.
788
+ * Read more here: https://pris.ly/d/null-undefined
789
+ * @param {ApplicationEventCountArgs} args - Arguments to filter ApplicationEvents to count.
790
+ * @example
791
+ * // Count the number of ApplicationEvents
792
+ * const count = await prisma.applicationEvent.count({
793
+ * where: {
794
+ * // ... the filter for the ApplicationEvents we want to count
795
+ * }
796
+ * })
797
+ **/
798
+ count<T extends ApplicationEventCountArgs>(args?: Prisma.Subset<T, ApplicationEventCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ApplicationEventCountAggregateOutputType> : number>;
799
+ /**
800
+ * Allows you to perform aggregations operations on a ApplicationEvent.
801
+ * Note, that providing `undefined` is treated as the value not being there.
802
+ * Read more here: https://pris.ly/d/null-undefined
803
+ * @param {ApplicationEventAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
804
+ * @example
805
+ * // Ordered by age ascending
806
+ * // Where email contains prisma.io
807
+ * // Limited to the 10 users
808
+ * const aggregations = await prisma.user.aggregate({
809
+ * _avg: {
810
+ * age: true,
811
+ * },
812
+ * where: {
813
+ * email: {
814
+ * contains: "prisma.io",
815
+ * },
816
+ * },
817
+ * orderBy: {
818
+ * age: "asc",
819
+ * },
820
+ * take: 10,
821
+ * })
822
+ **/
823
+ aggregate<T extends ApplicationEventAggregateArgs>(args: Prisma.Subset<T, ApplicationEventAggregateArgs>): Prisma.PrismaPromise<GetApplicationEventAggregateType<T>>;
824
+ /**
825
+ * Group by ApplicationEvent.
826
+ * Note, that providing `undefined` is treated as the value not being there.
827
+ * Read more here: https://pris.ly/d/null-undefined
828
+ * @param {ApplicationEventGroupByArgs} args - Group by arguments.
829
+ * @example
830
+ * // Group by city, order by createdAt, get count
831
+ * const result = await prisma.user.groupBy({
832
+ * by: ['city', 'createdAt'],
833
+ * orderBy: {
834
+ * createdAt: true
835
+ * },
836
+ * _count: {
837
+ * _all: true
838
+ * },
839
+ * })
840
+ *
841
+ **/
842
+ groupBy<T extends ApplicationEventGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
843
+ orderBy: ApplicationEventGroupByArgs['orderBy'];
844
+ } : {
845
+ orderBy?: ApplicationEventGroupByArgs['orderBy'];
846
+ }, 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 ? {
847
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
848
+ Error,
849
+ 'Field ',
850
+ P,
851
+ ` in "having" needs to be provided in "by"`
852
+ ];
853
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
854
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
855
+ }[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 ? {} : {
856
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
857
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
858
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
859
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, ApplicationEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApplicationEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
860
+ /**
861
+ * Fields of the ApplicationEvent model
862
+ */
863
+ readonly fields: ApplicationEventFieldRefs;
864
+ }
865
+ /**
866
+ * The delegate class that acts as a "Promise-like" for ApplicationEvent.
867
+ * Why is this prefixed with `Prisma__`?
868
+ * Because we want to prevent naming conflicts as mentioned in
869
+ * https://github.com/prisma/prisma-client-js/issues/707
870
+ */
871
+ export interface Prisma__ApplicationEventClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
872
+ readonly [Symbol.toStringTag]: "PrismaPromise";
873
+ application<T extends Prisma.ApplicationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
874
+ /**
875
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
876
+ * @param onfulfilled The callback to execute when the Promise is resolved.
877
+ * @param onrejected The callback to execute when the Promise is rejected.
878
+ * @returns A Promise for the completion of which ever callback is executed.
879
+ */
880
+ 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>;
881
+ /**
882
+ * Attaches a callback for only the rejection of the Promise.
883
+ * @param onrejected The callback to execute when the Promise is rejected.
884
+ * @returns A Promise for the completion of the callback.
885
+ */
886
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
887
+ /**
888
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
889
+ * resolved value cannot be modified from the callback.
890
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
891
+ * @returns A Promise for the completion of the callback.
892
+ */
893
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
894
+ }
895
+ /**
896
+ * Fields of the ApplicationEvent model
897
+ */
898
+ export interface ApplicationEventFieldRefs {
899
+ readonly id: Prisma.FieldRef<"ApplicationEvent", 'String'>;
900
+ readonly applicationId: Prisma.FieldRef<"ApplicationEvent", 'String'>;
901
+ readonly eventType: Prisma.FieldRef<"ApplicationEvent", 'ApplicationEventType'>;
902
+ readonly eventGroup: Prisma.FieldRef<"ApplicationEvent", 'ApplicationEventGroup'>;
903
+ readonly fromState: Prisma.FieldRef<"ApplicationEvent", 'String'>;
904
+ readonly toState: Prisma.FieldRef<"ApplicationEvent", 'String'>;
905
+ readonly trigger: Prisma.FieldRef<"ApplicationEvent", 'String'>;
906
+ readonly data: Prisma.FieldRef<"ApplicationEvent", 'Json'>;
907
+ readonly actorId: Prisma.FieldRef<"ApplicationEvent", 'String'>;
908
+ readonly actorType: Prisma.FieldRef<"ApplicationEvent", 'EventActorType'>;
909
+ readonly occurredAt: Prisma.FieldRef<"ApplicationEvent", 'DateTime'>;
910
+ }
911
+ /**
912
+ * ApplicationEvent findUnique
913
+ */
914
+ export type ApplicationEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
915
+ /**
916
+ * Select specific fields to fetch from the ApplicationEvent
917
+ */
918
+ select?: Prisma.ApplicationEventSelect<ExtArgs> | null;
919
+ /**
920
+ * Omit specific fields from the ApplicationEvent
921
+ */
922
+ omit?: Prisma.ApplicationEventOmit<ExtArgs> | null;
923
+ /**
924
+ * Choose, which related nodes to fetch as well
925
+ */
926
+ include?: Prisma.ApplicationEventInclude<ExtArgs> | null;
927
+ /**
928
+ * Filter, which ApplicationEvent to fetch.
929
+ */
930
+ where: Prisma.ApplicationEventWhereUniqueInput;
931
+ };
932
+ /**
933
+ * ApplicationEvent findUniqueOrThrow
934
+ */
935
+ export type ApplicationEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
936
+ /**
937
+ * Select specific fields to fetch from the ApplicationEvent
938
+ */
939
+ select?: Prisma.ApplicationEventSelect<ExtArgs> | null;
940
+ /**
941
+ * Omit specific fields from the ApplicationEvent
942
+ */
943
+ omit?: Prisma.ApplicationEventOmit<ExtArgs> | null;
944
+ /**
945
+ * Choose, which related nodes to fetch as well
946
+ */
947
+ include?: Prisma.ApplicationEventInclude<ExtArgs> | null;
948
+ /**
949
+ * Filter, which ApplicationEvent to fetch.
950
+ */
951
+ where: Prisma.ApplicationEventWhereUniqueInput;
952
+ };
953
+ /**
954
+ * ApplicationEvent findFirst
955
+ */
956
+ export type ApplicationEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
957
+ /**
958
+ * Select specific fields to fetch from the ApplicationEvent
959
+ */
960
+ select?: Prisma.ApplicationEventSelect<ExtArgs> | null;
961
+ /**
962
+ * Omit specific fields from the ApplicationEvent
963
+ */
964
+ omit?: Prisma.ApplicationEventOmit<ExtArgs> | null;
965
+ /**
966
+ * Choose, which related nodes to fetch as well
967
+ */
968
+ include?: Prisma.ApplicationEventInclude<ExtArgs> | null;
969
+ /**
970
+ * Filter, which ApplicationEvent to fetch.
971
+ */
972
+ where?: Prisma.ApplicationEventWhereInput;
973
+ /**
974
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
975
+ *
976
+ * Determine the order of ApplicationEvents to fetch.
977
+ */
978
+ orderBy?: Prisma.ApplicationEventOrderByWithRelationInput | Prisma.ApplicationEventOrderByWithRelationInput[];
979
+ /**
980
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
981
+ *
982
+ * Sets the position for searching for ApplicationEvents.
983
+ */
984
+ cursor?: Prisma.ApplicationEventWhereUniqueInput;
985
+ /**
986
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
987
+ *
988
+ * Take `±n` ApplicationEvents from the position of the cursor.
989
+ */
990
+ take?: number;
991
+ /**
992
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
993
+ *
994
+ * Skip the first `n` ApplicationEvents.
995
+ */
996
+ skip?: number;
997
+ /**
998
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
999
+ *
1000
+ * Filter by unique combinations of ApplicationEvents.
1001
+ */
1002
+ distinct?: Prisma.ApplicationEventScalarFieldEnum | Prisma.ApplicationEventScalarFieldEnum[];
1003
+ };
1004
+ /**
1005
+ * ApplicationEvent findFirstOrThrow
1006
+ */
1007
+ export type ApplicationEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1008
+ /**
1009
+ * Select specific fields to fetch from the ApplicationEvent
1010
+ */
1011
+ select?: Prisma.ApplicationEventSelect<ExtArgs> | null;
1012
+ /**
1013
+ * Omit specific fields from the ApplicationEvent
1014
+ */
1015
+ omit?: Prisma.ApplicationEventOmit<ExtArgs> | null;
1016
+ /**
1017
+ * Choose, which related nodes to fetch as well
1018
+ */
1019
+ include?: Prisma.ApplicationEventInclude<ExtArgs> | null;
1020
+ /**
1021
+ * Filter, which ApplicationEvent to fetch.
1022
+ */
1023
+ where?: Prisma.ApplicationEventWhereInput;
1024
+ /**
1025
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1026
+ *
1027
+ * Determine the order of ApplicationEvents to fetch.
1028
+ */
1029
+ orderBy?: Prisma.ApplicationEventOrderByWithRelationInput | Prisma.ApplicationEventOrderByWithRelationInput[];
1030
+ /**
1031
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1032
+ *
1033
+ * Sets the position for searching for ApplicationEvents.
1034
+ */
1035
+ cursor?: Prisma.ApplicationEventWhereUniqueInput;
1036
+ /**
1037
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1038
+ *
1039
+ * Take `±n` ApplicationEvents from the position of the cursor.
1040
+ */
1041
+ take?: number;
1042
+ /**
1043
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1044
+ *
1045
+ * Skip the first `n` ApplicationEvents.
1046
+ */
1047
+ skip?: number;
1048
+ /**
1049
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1050
+ *
1051
+ * Filter by unique combinations of ApplicationEvents.
1052
+ */
1053
+ distinct?: Prisma.ApplicationEventScalarFieldEnum | Prisma.ApplicationEventScalarFieldEnum[];
1054
+ };
1055
+ /**
1056
+ * ApplicationEvent findMany
1057
+ */
1058
+ export type ApplicationEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1059
+ /**
1060
+ * Select specific fields to fetch from the ApplicationEvent
1061
+ */
1062
+ select?: Prisma.ApplicationEventSelect<ExtArgs> | null;
1063
+ /**
1064
+ * Omit specific fields from the ApplicationEvent
1065
+ */
1066
+ omit?: Prisma.ApplicationEventOmit<ExtArgs> | null;
1067
+ /**
1068
+ * Choose, which related nodes to fetch as well
1069
+ */
1070
+ include?: Prisma.ApplicationEventInclude<ExtArgs> | null;
1071
+ /**
1072
+ * Filter, which ApplicationEvents to fetch.
1073
+ */
1074
+ where?: Prisma.ApplicationEventWhereInput;
1075
+ /**
1076
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1077
+ *
1078
+ * Determine the order of ApplicationEvents to fetch.
1079
+ */
1080
+ orderBy?: Prisma.ApplicationEventOrderByWithRelationInput | Prisma.ApplicationEventOrderByWithRelationInput[];
1081
+ /**
1082
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1083
+ *
1084
+ * Sets the position for listing ApplicationEvents.
1085
+ */
1086
+ cursor?: Prisma.ApplicationEventWhereUniqueInput;
1087
+ /**
1088
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1089
+ *
1090
+ * Take `±n` ApplicationEvents from the position of the cursor.
1091
+ */
1092
+ take?: number;
1093
+ /**
1094
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1095
+ *
1096
+ * Skip the first `n` ApplicationEvents.
1097
+ */
1098
+ skip?: number;
1099
+ distinct?: Prisma.ApplicationEventScalarFieldEnum | Prisma.ApplicationEventScalarFieldEnum[];
1100
+ };
1101
+ /**
1102
+ * ApplicationEvent create
1103
+ */
1104
+ export type ApplicationEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1105
+ /**
1106
+ * Select specific fields to fetch from the ApplicationEvent
1107
+ */
1108
+ select?: Prisma.ApplicationEventSelect<ExtArgs> | null;
1109
+ /**
1110
+ * Omit specific fields from the ApplicationEvent
1111
+ */
1112
+ omit?: Prisma.ApplicationEventOmit<ExtArgs> | null;
1113
+ /**
1114
+ * Choose, which related nodes to fetch as well
1115
+ */
1116
+ include?: Prisma.ApplicationEventInclude<ExtArgs> | null;
1117
+ /**
1118
+ * The data needed to create a ApplicationEvent.
1119
+ */
1120
+ data: Prisma.XOR<Prisma.ApplicationEventCreateInput, Prisma.ApplicationEventUncheckedCreateInput>;
1121
+ };
1122
+ /**
1123
+ * ApplicationEvent createMany
1124
+ */
1125
+ export type ApplicationEventCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1126
+ /**
1127
+ * The data used to create many ApplicationEvents.
1128
+ */
1129
+ data: Prisma.ApplicationEventCreateManyInput | Prisma.ApplicationEventCreateManyInput[];
1130
+ skipDuplicates?: boolean;
1131
+ };
1132
+ /**
1133
+ * ApplicationEvent update
1134
+ */
1135
+ export type ApplicationEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1136
+ /**
1137
+ * Select specific fields to fetch from the ApplicationEvent
1138
+ */
1139
+ select?: Prisma.ApplicationEventSelect<ExtArgs> | null;
1140
+ /**
1141
+ * Omit specific fields from the ApplicationEvent
1142
+ */
1143
+ omit?: Prisma.ApplicationEventOmit<ExtArgs> | null;
1144
+ /**
1145
+ * Choose, which related nodes to fetch as well
1146
+ */
1147
+ include?: Prisma.ApplicationEventInclude<ExtArgs> | null;
1148
+ /**
1149
+ * The data needed to update a ApplicationEvent.
1150
+ */
1151
+ data: Prisma.XOR<Prisma.ApplicationEventUpdateInput, Prisma.ApplicationEventUncheckedUpdateInput>;
1152
+ /**
1153
+ * Choose, which ApplicationEvent to update.
1154
+ */
1155
+ where: Prisma.ApplicationEventWhereUniqueInput;
1156
+ };
1157
+ /**
1158
+ * ApplicationEvent updateMany
1159
+ */
1160
+ export type ApplicationEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1161
+ /**
1162
+ * The data used to update ApplicationEvents.
1163
+ */
1164
+ data: Prisma.XOR<Prisma.ApplicationEventUpdateManyMutationInput, Prisma.ApplicationEventUncheckedUpdateManyInput>;
1165
+ /**
1166
+ * Filter which ApplicationEvents to update
1167
+ */
1168
+ where?: Prisma.ApplicationEventWhereInput;
1169
+ /**
1170
+ * Limit how many ApplicationEvents to update.
1171
+ */
1172
+ limit?: number;
1173
+ };
1174
+ /**
1175
+ * ApplicationEvent upsert
1176
+ */
1177
+ export type ApplicationEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1178
+ /**
1179
+ * Select specific fields to fetch from the ApplicationEvent
1180
+ */
1181
+ select?: Prisma.ApplicationEventSelect<ExtArgs> | null;
1182
+ /**
1183
+ * Omit specific fields from the ApplicationEvent
1184
+ */
1185
+ omit?: Prisma.ApplicationEventOmit<ExtArgs> | null;
1186
+ /**
1187
+ * Choose, which related nodes to fetch as well
1188
+ */
1189
+ include?: Prisma.ApplicationEventInclude<ExtArgs> | null;
1190
+ /**
1191
+ * The filter to search for the ApplicationEvent to update in case it exists.
1192
+ */
1193
+ where: Prisma.ApplicationEventWhereUniqueInput;
1194
+ /**
1195
+ * In case the ApplicationEvent found by the `where` argument doesn't exist, create a new ApplicationEvent with this data.
1196
+ */
1197
+ create: Prisma.XOR<Prisma.ApplicationEventCreateInput, Prisma.ApplicationEventUncheckedCreateInput>;
1198
+ /**
1199
+ * In case the ApplicationEvent was found with the provided `where` argument, update it with this data.
1200
+ */
1201
+ update: Prisma.XOR<Prisma.ApplicationEventUpdateInput, Prisma.ApplicationEventUncheckedUpdateInput>;
1202
+ };
1203
+ /**
1204
+ * ApplicationEvent delete
1205
+ */
1206
+ export type ApplicationEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1207
+ /**
1208
+ * Select specific fields to fetch from the ApplicationEvent
1209
+ */
1210
+ select?: Prisma.ApplicationEventSelect<ExtArgs> | null;
1211
+ /**
1212
+ * Omit specific fields from the ApplicationEvent
1213
+ */
1214
+ omit?: Prisma.ApplicationEventOmit<ExtArgs> | null;
1215
+ /**
1216
+ * Choose, which related nodes to fetch as well
1217
+ */
1218
+ include?: Prisma.ApplicationEventInclude<ExtArgs> | null;
1219
+ /**
1220
+ * Filter which ApplicationEvent to delete.
1221
+ */
1222
+ where: Prisma.ApplicationEventWhereUniqueInput;
1223
+ };
1224
+ /**
1225
+ * ApplicationEvent deleteMany
1226
+ */
1227
+ export type ApplicationEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1228
+ /**
1229
+ * Filter which ApplicationEvents to delete
1230
+ */
1231
+ where?: Prisma.ApplicationEventWhereInput;
1232
+ /**
1233
+ * Limit how many ApplicationEvents to delete.
1234
+ */
1235
+ limit?: number;
1236
+ };
1237
+ /**
1238
+ * ApplicationEvent without action
1239
+ */
1240
+ export type ApplicationEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1241
+ /**
1242
+ * Select specific fields to fetch from the ApplicationEvent
1243
+ */
1244
+ select?: Prisma.ApplicationEventSelect<ExtArgs> | null;
1245
+ /**
1246
+ * Omit specific fields from the ApplicationEvent
1247
+ */
1248
+ omit?: Prisma.ApplicationEventOmit<ExtArgs> | null;
1249
+ /**
1250
+ * Choose, which related nodes to fetch as well
1251
+ */
1252
+ include?: Prisma.ApplicationEventInclude<ExtArgs> | null;
1253
+ };
1254
+ export {};