@valentine-efagene/qshelter-common 2.0.91 → 2.0.94

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.
@@ -0,0 +1,1331 @@
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 PhaseEventAttachment
6
+ * Phase Event Attachment - Links event handlers to phase template triggers
7
+ * When a phase transitions (complete, payment received, etc.), attached handlers fire
8
+ */
9
+ export type PhaseEventAttachmentModel = runtime.Types.Result.DefaultSelection<Prisma.$PhaseEventAttachmentPayload>;
10
+ export type AggregatePhaseEventAttachment = {
11
+ _count: PhaseEventAttachmentCountAggregateOutputType | null;
12
+ _avg: PhaseEventAttachmentAvgAggregateOutputType | null;
13
+ _sum: PhaseEventAttachmentSumAggregateOutputType | null;
14
+ _min: PhaseEventAttachmentMinAggregateOutputType | null;
15
+ _max: PhaseEventAttachmentMaxAggregateOutputType | null;
16
+ };
17
+ export type PhaseEventAttachmentAvgAggregateOutputType = {
18
+ priority: number | null;
19
+ };
20
+ export type PhaseEventAttachmentSumAggregateOutputType = {
21
+ priority: number | null;
22
+ };
23
+ export type PhaseEventAttachmentMinAggregateOutputType = {
24
+ id: string | null;
25
+ phaseId: string | null;
26
+ trigger: $Enums.PhaseTrigger | null;
27
+ handlerId: string | null;
28
+ priority: number | null;
29
+ enabled: boolean | null;
30
+ createdAt: Date | null;
31
+ updatedAt: Date | null;
32
+ };
33
+ export type PhaseEventAttachmentMaxAggregateOutputType = {
34
+ id: string | null;
35
+ phaseId: string | null;
36
+ trigger: $Enums.PhaseTrigger | null;
37
+ handlerId: string | null;
38
+ priority: number | null;
39
+ enabled: boolean | null;
40
+ createdAt: Date | null;
41
+ updatedAt: Date | null;
42
+ };
43
+ export type PhaseEventAttachmentCountAggregateOutputType = {
44
+ id: number;
45
+ phaseId: number;
46
+ trigger: number;
47
+ handlerId: number;
48
+ priority: number;
49
+ enabled: number;
50
+ createdAt: number;
51
+ updatedAt: number;
52
+ _all: number;
53
+ };
54
+ export type PhaseEventAttachmentAvgAggregateInputType = {
55
+ priority?: true;
56
+ };
57
+ export type PhaseEventAttachmentSumAggregateInputType = {
58
+ priority?: true;
59
+ };
60
+ export type PhaseEventAttachmentMinAggregateInputType = {
61
+ id?: true;
62
+ phaseId?: true;
63
+ trigger?: true;
64
+ handlerId?: true;
65
+ priority?: true;
66
+ enabled?: true;
67
+ createdAt?: true;
68
+ updatedAt?: true;
69
+ };
70
+ export type PhaseEventAttachmentMaxAggregateInputType = {
71
+ id?: true;
72
+ phaseId?: true;
73
+ trigger?: true;
74
+ handlerId?: true;
75
+ priority?: true;
76
+ enabled?: true;
77
+ createdAt?: true;
78
+ updatedAt?: true;
79
+ };
80
+ export type PhaseEventAttachmentCountAggregateInputType = {
81
+ id?: true;
82
+ phaseId?: true;
83
+ trigger?: true;
84
+ handlerId?: true;
85
+ priority?: true;
86
+ enabled?: true;
87
+ createdAt?: true;
88
+ updatedAt?: true;
89
+ _all?: true;
90
+ };
91
+ export type PhaseEventAttachmentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
92
+ /**
93
+ * Filter which PhaseEventAttachment to aggregate.
94
+ */
95
+ where?: Prisma.PhaseEventAttachmentWhereInput;
96
+ /**
97
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
98
+ *
99
+ * Determine the order of PhaseEventAttachments to fetch.
100
+ */
101
+ orderBy?: Prisma.PhaseEventAttachmentOrderByWithRelationInput | Prisma.PhaseEventAttachmentOrderByWithRelationInput[];
102
+ /**
103
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
104
+ *
105
+ * Sets the start position
106
+ */
107
+ cursor?: Prisma.PhaseEventAttachmentWhereUniqueInput;
108
+ /**
109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
110
+ *
111
+ * Take `±n` PhaseEventAttachments from the position of the cursor.
112
+ */
113
+ take?: number;
114
+ /**
115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
116
+ *
117
+ * Skip the first `n` PhaseEventAttachments.
118
+ */
119
+ skip?: number;
120
+ /**
121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
122
+ *
123
+ * Count returned PhaseEventAttachments
124
+ **/
125
+ _count?: true | PhaseEventAttachmentCountAggregateInputType;
126
+ /**
127
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
128
+ *
129
+ * Select which fields to average
130
+ **/
131
+ _avg?: PhaseEventAttachmentAvgAggregateInputType;
132
+ /**
133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
134
+ *
135
+ * Select which fields to sum
136
+ **/
137
+ _sum?: PhaseEventAttachmentSumAggregateInputType;
138
+ /**
139
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
140
+ *
141
+ * Select which fields to find the minimum value
142
+ **/
143
+ _min?: PhaseEventAttachmentMinAggregateInputType;
144
+ /**
145
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
146
+ *
147
+ * Select which fields to find the maximum value
148
+ **/
149
+ _max?: PhaseEventAttachmentMaxAggregateInputType;
150
+ };
151
+ export type GetPhaseEventAttachmentAggregateType<T extends PhaseEventAttachmentAggregateArgs> = {
152
+ [P in keyof T & keyof AggregatePhaseEventAttachment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePhaseEventAttachment[P]> : Prisma.GetScalarType<T[P], AggregatePhaseEventAttachment[P]>;
153
+ };
154
+ export type PhaseEventAttachmentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
155
+ where?: Prisma.PhaseEventAttachmentWhereInput;
156
+ orderBy?: Prisma.PhaseEventAttachmentOrderByWithAggregationInput | Prisma.PhaseEventAttachmentOrderByWithAggregationInput[];
157
+ by: Prisma.PhaseEventAttachmentScalarFieldEnum[] | Prisma.PhaseEventAttachmentScalarFieldEnum;
158
+ having?: Prisma.PhaseEventAttachmentScalarWhereWithAggregatesInput;
159
+ take?: number;
160
+ skip?: number;
161
+ _count?: PhaseEventAttachmentCountAggregateInputType | true;
162
+ _avg?: PhaseEventAttachmentAvgAggregateInputType;
163
+ _sum?: PhaseEventAttachmentSumAggregateInputType;
164
+ _min?: PhaseEventAttachmentMinAggregateInputType;
165
+ _max?: PhaseEventAttachmentMaxAggregateInputType;
166
+ };
167
+ export type PhaseEventAttachmentGroupByOutputType = {
168
+ id: string;
169
+ phaseId: string;
170
+ trigger: $Enums.PhaseTrigger;
171
+ handlerId: string;
172
+ priority: number;
173
+ enabled: boolean;
174
+ createdAt: Date;
175
+ updatedAt: Date;
176
+ _count: PhaseEventAttachmentCountAggregateOutputType | null;
177
+ _avg: PhaseEventAttachmentAvgAggregateOutputType | null;
178
+ _sum: PhaseEventAttachmentSumAggregateOutputType | null;
179
+ _min: PhaseEventAttachmentMinAggregateOutputType | null;
180
+ _max: PhaseEventAttachmentMaxAggregateOutputType | null;
181
+ };
182
+ type GetPhaseEventAttachmentGroupByPayload<T extends PhaseEventAttachmentGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PhaseEventAttachmentGroupByOutputType, T['by']> & {
183
+ [P in ((keyof T) & (keyof PhaseEventAttachmentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PhaseEventAttachmentGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PhaseEventAttachmentGroupByOutputType[P]>;
184
+ }>>;
185
+ export type PhaseEventAttachmentWhereInput = {
186
+ AND?: Prisma.PhaseEventAttachmentWhereInput | Prisma.PhaseEventAttachmentWhereInput[];
187
+ OR?: Prisma.PhaseEventAttachmentWhereInput[];
188
+ NOT?: Prisma.PhaseEventAttachmentWhereInput | Prisma.PhaseEventAttachmentWhereInput[];
189
+ id?: Prisma.StringFilter<"PhaseEventAttachment"> | string;
190
+ phaseId?: Prisma.StringFilter<"PhaseEventAttachment"> | string;
191
+ trigger?: Prisma.EnumPhaseTriggerFilter<"PhaseEventAttachment"> | $Enums.PhaseTrigger;
192
+ handlerId?: Prisma.StringFilter<"PhaseEventAttachment"> | string;
193
+ priority?: Prisma.IntFilter<"PhaseEventAttachment"> | number;
194
+ enabled?: Prisma.BoolFilter<"PhaseEventAttachment"> | boolean;
195
+ createdAt?: Prisma.DateTimeFilter<"PhaseEventAttachment"> | Date | string;
196
+ updatedAt?: Prisma.DateTimeFilter<"PhaseEventAttachment"> | Date | string;
197
+ phase?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseScalarRelationFilter, Prisma.PropertyPaymentMethodPhaseWhereInput>;
198
+ handler?: Prisma.XOR<Prisma.EventHandlerScalarRelationFilter, Prisma.EventHandlerWhereInput>;
199
+ };
200
+ export type PhaseEventAttachmentOrderByWithRelationInput = {
201
+ id?: Prisma.SortOrder;
202
+ phaseId?: Prisma.SortOrder;
203
+ trigger?: Prisma.SortOrder;
204
+ handlerId?: Prisma.SortOrder;
205
+ priority?: Prisma.SortOrder;
206
+ enabled?: Prisma.SortOrder;
207
+ createdAt?: Prisma.SortOrder;
208
+ updatedAt?: Prisma.SortOrder;
209
+ phase?: Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput;
210
+ handler?: Prisma.EventHandlerOrderByWithRelationInput;
211
+ _relevance?: Prisma.PhaseEventAttachmentOrderByRelevanceInput;
212
+ };
213
+ export type PhaseEventAttachmentWhereUniqueInput = Prisma.AtLeast<{
214
+ id?: string;
215
+ phaseId_handlerId_trigger?: Prisma.PhaseEventAttachmentPhaseIdHandlerIdTriggerCompoundUniqueInput;
216
+ AND?: Prisma.PhaseEventAttachmentWhereInput | Prisma.PhaseEventAttachmentWhereInput[];
217
+ OR?: Prisma.PhaseEventAttachmentWhereInput[];
218
+ NOT?: Prisma.PhaseEventAttachmentWhereInput | Prisma.PhaseEventAttachmentWhereInput[];
219
+ phaseId?: Prisma.StringFilter<"PhaseEventAttachment"> | string;
220
+ trigger?: Prisma.EnumPhaseTriggerFilter<"PhaseEventAttachment"> | $Enums.PhaseTrigger;
221
+ handlerId?: Prisma.StringFilter<"PhaseEventAttachment"> | string;
222
+ priority?: Prisma.IntFilter<"PhaseEventAttachment"> | number;
223
+ enabled?: Prisma.BoolFilter<"PhaseEventAttachment"> | boolean;
224
+ createdAt?: Prisma.DateTimeFilter<"PhaseEventAttachment"> | Date | string;
225
+ updatedAt?: Prisma.DateTimeFilter<"PhaseEventAttachment"> | Date | string;
226
+ phase?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseScalarRelationFilter, Prisma.PropertyPaymentMethodPhaseWhereInput>;
227
+ handler?: Prisma.XOR<Prisma.EventHandlerScalarRelationFilter, Prisma.EventHandlerWhereInput>;
228
+ }, "id" | "phaseId_handlerId_trigger">;
229
+ export type PhaseEventAttachmentOrderByWithAggregationInput = {
230
+ id?: Prisma.SortOrder;
231
+ phaseId?: Prisma.SortOrder;
232
+ trigger?: Prisma.SortOrder;
233
+ handlerId?: Prisma.SortOrder;
234
+ priority?: Prisma.SortOrder;
235
+ enabled?: Prisma.SortOrder;
236
+ createdAt?: Prisma.SortOrder;
237
+ updatedAt?: Prisma.SortOrder;
238
+ _count?: Prisma.PhaseEventAttachmentCountOrderByAggregateInput;
239
+ _avg?: Prisma.PhaseEventAttachmentAvgOrderByAggregateInput;
240
+ _max?: Prisma.PhaseEventAttachmentMaxOrderByAggregateInput;
241
+ _min?: Prisma.PhaseEventAttachmentMinOrderByAggregateInput;
242
+ _sum?: Prisma.PhaseEventAttachmentSumOrderByAggregateInput;
243
+ };
244
+ export type PhaseEventAttachmentScalarWhereWithAggregatesInput = {
245
+ AND?: Prisma.PhaseEventAttachmentScalarWhereWithAggregatesInput | Prisma.PhaseEventAttachmentScalarWhereWithAggregatesInput[];
246
+ OR?: Prisma.PhaseEventAttachmentScalarWhereWithAggregatesInput[];
247
+ NOT?: Prisma.PhaseEventAttachmentScalarWhereWithAggregatesInput | Prisma.PhaseEventAttachmentScalarWhereWithAggregatesInput[];
248
+ id?: Prisma.StringWithAggregatesFilter<"PhaseEventAttachment"> | string;
249
+ phaseId?: Prisma.StringWithAggregatesFilter<"PhaseEventAttachment"> | string;
250
+ trigger?: Prisma.EnumPhaseTriggerWithAggregatesFilter<"PhaseEventAttachment"> | $Enums.PhaseTrigger;
251
+ handlerId?: Prisma.StringWithAggregatesFilter<"PhaseEventAttachment"> | string;
252
+ priority?: Prisma.IntWithAggregatesFilter<"PhaseEventAttachment"> | number;
253
+ enabled?: Prisma.BoolWithAggregatesFilter<"PhaseEventAttachment"> | boolean;
254
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"PhaseEventAttachment"> | Date | string;
255
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PhaseEventAttachment"> | Date | string;
256
+ };
257
+ export type PhaseEventAttachmentCreateInput = {
258
+ id?: string;
259
+ trigger: $Enums.PhaseTrigger;
260
+ priority?: number;
261
+ enabled?: boolean;
262
+ createdAt?: Date | string;
263
+ updatedAt?: Date | string;
264
+ phase: Prisma.PropertyPaymentMethodPhaseCreateNestedOneWithoutEventAttachmentsInput;
265
+ handler: Prisma.EventHandlerCreateNestedOneWithoutPhaseAttachmentsInput;
266
+ };
267
+ export type PhaseEventAttachmentUncheckedCreateInput = {
268
+ id?: string;
269
+ phaseId: string;
270
+ trigger: $Enums.PhaseTrigger;
271
+ handlerId: string;
272
+ priority?: number;
273
+ enabled?: boolean;
274
+ createdAt?: Date | string;
275
+ updatedAt?: Date | string;
276
+ };
277
+ export type PhaseEventAttachmentUpdateInput = {
278
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
279
+ trigger?: Prisma.EnumPhaseTriggerFieldUpdateOperationsInput | $Enums.PhaseTrigger;
280
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
281
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
282
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
283
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
284
+ phase?: Prisma.PropertyPaymentMethodPhaseUpdateOneRequiredWithoutEventAttachmentsNestedInput;
285
+ handler?: Prisma.EventHandlerUpdateOneRequiredWithoutPhaseAttachmentsNestedInput;
286
+ };
287
+ export type PhaseEventAttachmentUncheckedUpdateInput = {
288
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
289
+ phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
290
+ trigger?: Prisma.EnumPhaseTriggerFieldUpdateOperationsInput | $Enums.PhaseTrigger;
291
+ handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
292
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
293
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
294
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
295
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
296
+ };
297
+ export type PhaseEventAttachmentCreateManyInput = {
298
+ id?: string;
299
+ phaseId: string;
300
+ trigger: $Enums.PhaseTrigger;
301
+ handlerId: string;
302
+ priority?: number;
303
+ enabled?: boolean;
304
+ createdAt?: Date | string;
305
+ updatedAt?: Date | string;
306
+ };
307
+ export type PhaseEventAttachmentUpdateManyMutationInput = {
308
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
309
+ trigger?: Prisma.EnumPhaseTriggerFieldUpdateOperationsInput | $Enums.PhaseTrigger;
310
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
311
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
312
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
313
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
314
+ };
315
+ export type PhaseEventAttachmentUncheckedUpdateManyInput = {
316
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
317
+ phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
318
+ trigger?: Prisma.EnumPhaseTriggerFieldUpdateOperationsInput | $Enums.PhaseTrigger;
319
+ handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
320
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
321
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
322
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
323
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
324
+ };
325
+ export type PhaseEventAttachmentListRelationFilter = {
326
+ every?: Prisma.PhaseEventAttachmentWhereInput;
327
+ some?: Prisma.PhaseEventAttachmentWhereInput;
328
+ none?: Prisma.PhaseEventAttachmentWhereInput;
329
+ };
330
+ export type PhaseEventAttachmentOrderByRelationAggregateInput = {
331
+ _count?: Prisma.SortOrder;
332
+ };
333
+ export type PhaseEventAttachmentOrderByRelevanceInput = {
334
+ fields: Prisma.PhaseEventAttachmentOrderByRelevanceFieldEnum | Prisma.PhaseEventAttachmentOrderByRelevanceFieldEnum[];
335
+ sort: Prisma.SortOrder;
336
+ search: string;
337
+ };
338
+ export type PhaseEventAttachmentPhaseIdHandlerIdTriggerCompoundUniqueInput = {
339
+ phaseId: string;
340
+ handlerId: string;
341
+ trigger: $Enums.PhaseTrigger;
342
+ };
343
+ export type PhaseEventAttachmentCountOrderByAggregateInput = {
344
+ id?: Prisma.SortOrder;
345
+ phaseId?: Prisma.SortOrder;
346
+ trigger?: Prisma.SortOrder;
347
+ handlerId?: Prisma.SortOrder;
348
+ priority?: Prisma.SortOrder;
349
+ enabled?: Prisma.SortOrder;
350
+ createdAt?: Prisma.SortOrder;
351
+ updatedAt?: Prisma.SortOrder;
352
+ };
353
+ export type PhaseEventAttachmentAvgOrderByAggregateInput = {
354
+ priority?: Prisma.SortOrder;
355
+ };
356
+ export type PhaseEventAttachmentMaxOrderByAggregateInput = {
357
+ id?: Prisma.SortOrder;
358
+ phaseId?: Prisma.SortOrder;
359
+ trigger?: Prisma.SortOrder;
360
+ handlerId?: Prisma.SortOrder;
361
+ priority?: Prisma.SortOrder;
362
+ enabled?: Prisma.SortOrder;
363
+ createdAt?: Prisma.SortOrder;
364
+ updatedAt?: Prisma.SortOrder;
365
+ };
366
+ export type PhaseEventAttachmentMinOrderByAggregateInput = {
367
+ id?: Prisma.SortOrder;
368
+ phaseId?: Prisma.SortOrder;
369
+ trigger?: Prisma.SortOrder;
370
+ handlerId?: Prisma.SortOrder;
371
+ priority?: Prisma.SortOrder;
372
+ enabled?: Prisma.SortOrder;
373
+ createdAt?: Prisma.SortOrder;
374
+ updatedAt?: Prisma.SortOrder;
375
+ };
376
+ export type PhaseEventAttachmentSumOrderByAggregateInput = {
377
+ priority?: Prisma.SortOrder;
378
+ };
379
+ export type PhaseEventAttachmentCreateNestedManyWithoutPhaseInput = {
380
+ create?: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutPhaseInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutPhaseInput> | Prisma.PhaseEventAttachmentCreateWithoutPhaseInput[] | Prisma.PhaseEventAttachmentUncheckedCreateWithoutPhaseInput[];
381
+ connectOrCreate?: Prisma.PhaseEventAttachmentCreateOrConnectWithoutPhaseInput | Prisma.PhaseEventAttachmentCreateOrConnectWithoutPhaseInput[];
382
+ createMany?: Prisma.PhaseEventAttachmentCreateManyPhaseInputEnvelope;
383
+ connect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
384
+ };
385
+ export type PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput = {
386
+ create?: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutPhaseInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutPhaseInput> | Prisma.PhaseEventAttachmentCreateWithoutPhaseInput[] | Prisma.PhaseEventAttachmentUncheckedCreateWithoutPhaseInput[];
387
+ connectOrCreate?: Prisma.PhaseEventAttachmentCreateOrConnectWithoutPhaseInput | Prisma.PhaseEventAttachmentCreateOrConnectWithoutPhaseInput[];
388
+ createMany?: Prisma.PhaseEventAttachmentCreateManyPhaseInputEnvelope;
389
+ connect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
390
+ };
391
+ export type PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput = {
392
+ create?: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutPhaseInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutPhaseInput> | Prisma.PhaseEventAttachmentCreateWithoutPhaseInput[] | Prisma.PhaseEventAttachmentUncheckedCreateWithoutPhaseInput[];
393
+ connectOrCreate?: Prisma.PhaseEventAttachmentCreateOrConnectWithoutPhaseInput | Prisma.PhaseEventAttachmentCreateOrConnectWithoutPhaseInput[];
394
+ upsert?: Prisma.PhaseEventAttachmentUpsertWithWhereUniqueWithoutPhaseInput | Prisma.PhaseEventAttachmentUpsertWithWhereUniqueWithoutPhaseInput[];
395
+ createMany?: Prisma.PhaseEventAttachmentCreateManyPhaseInputEnvelope;
396
+ set?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
397
+ disconnect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
398
+ delete?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
399
+ connect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
400
+ update?: Prisma.PhaseEventAttachmentUpdateWithWhereUniqueWithoutPhaseInput | Prisma.PhaseEventAttachmentUpdateWithWhereUniqueWithoutPhaseInput[];
401
+ updateMany?: Prisma.PhaseEventAttachmentUpdateManyWithWhereWithoutPhaseInput | Prisma.PhaseEventAttachmentUpdateManyWithWhereWithoutPhaseInput[];
402
+ deleteMany?: Prisma.PhaseEventAttachmentScalarWhereInput | Prisma.PhaseEventAttachmentScalarWhereInput[];
403
+ };
404
+ export type PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput = {
405
+ create?: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutPhaseInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutPhaseInput> | Prisma.PhaseEventAttachmentCreateWithoutPhaseInput[] | Prisma.PhaseEventAttachmentUncheckedCreateWithoutPhaseInput[];
406
+ connectOrCreate?: Prisma.PhaseEventAttachmentCreateOrConnectWithoutPhaseInput | Prisma.PhaseEventAttachmentCreateOrConnectWithoutPhaseInput[];
407
+ upsert?: Prisma.PhaseEventAttachmentUpsertWithWhereUniqueWithoutPhaseInput | Prisma.PhaseEventAttachmentUpsertWithWhereUniqueWithoutPhaseInput[];
408
+ createMany?: Prisma.PhaseEventAttachmentCreateManyPhaseInputEnvelope;
409
+ set?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
410
+ disconnect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
411
+ delete?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
412
+ connect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
413
+ update?: Prisma.PhaseEventAttachmentUpdateWithWhereUniqueWithoutPhaseInput | Prisma.PhaseEventAttachmentUpdateWithWhereUniqueWithoutPhaseInput[];
414
+ updateMany?: Prisma.PhaseEventAttachmentUpdateManyWithWhereWithoutPhaseInput | Prisma.PhaseEventAttachmentUpdateManyWithWhereWithoutPhaseInput[];
415
+ deleteMany?: Prisma.PhaseEventAttachmentScalarWhereInput | Prisma.PhaseEventAttachmentScalarWhereInput[];
416
+ };
417
+ export type EnumPhaseTriggerFieldUpdateOperationsInput = {
418
+ set?: $Enums.PhaseTrigger;
419
+ };
420
+ export type PhaseEventAttachmentCreateNestedManyWithoutHandlerInput = {
421
+ create?: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutHandlerInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutHandlerInput> | Prisma.PhaseEventAttachmentCreateWithoutHandlerInput[] | Prisma.PhaseEventAttachmentUncheckedCreateWithoutHandlerInput[];
422
+ connectOrCreate?: Prisma.PhaseEventAttachmentCreateOrConnectWithoutHandlerInput | Prisma.PhaseEventAttachmentCreateOrConnectWithoutHandlerInput[];
423
+ createMany?: Prisma.PhaseEventAttachmentCreateManyHandlerInputEnvelope;
424
+ connect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
425
+ };
426
+ export type PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput = {
427
+ create?: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutHandlerInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutHandlerInput> | Prisma.PhaseEventAttachmentCreateWithoutHandlerInput[] | Prisma.PhaseEventAttachmentUncheckedCreateWithoutHandlerInput[];
428
+ connectOrCreate?: Prisma.PhaseEventAttachmentCreateOrConnectWithoutHandlerInput | Prisma.PhaseEventAttachmentCreateOrConnectWithoutHandlerInput[];
429
+ createMany?: Prisma.PhaseEventAttachmentCreateManyHandlerInputEnvelope;
430
+ connect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
431
+ };
432
+ export type PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput = {
433
+ create?: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutHandlerInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutHandlerInput> | Prisma.PhaseEventAttachmentCreateWithoutHandlerInput[] | Prisma.PhaseEventAttachmentUncheckedCreateWithoutHandlerInput[];
434
+ connectOrCreate?: Prisma.PhaseEventAttachmentCreateOrConnectWithoutHandlerInput | Prisma.PhaseEventAttachmentCreateOrConnectWithoutHandlerInput[];
435
+ upsert?: Prisma.PhaseEventAttachmentUpsertWithWhereUniqueWithoutHandlerInput | Prisma.PhaseEventAttachmentUpsertWithWhereUniqueWithoutHandlerInput[];
436
+ createMany?: Prisma.PhaseEventAttachmentCreateManyHandlerInputEnvelope;
437
+ set?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
438
+ disconnect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
439
+ delete?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
440
+ connect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
441
+ update?: Prisma.PhaseEventAttachmentUpdateWithWhereUniqueWithoutHandlerInput | Prisma.PhaseEventAttachmentUpdateWithWhereUniqueWithoutHandlerInput[];
442
+ updateMany?: Prisma.PhaseEventAttachmentUpdateManyWithWhereWithoutHandlerInput | Prisma.PhaseEventAttachmentUpdateManyWithWhereWithoutHandlerInput[];
443
+ deleteMany?: Prisma.PhaseEventAttachmentScalarWhereInput | Prisma.PhaseEventAttachmentScalarWhereInput[];
444
+ };
445
+ export type PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput = {
446
+ create?: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutHandlerInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutHandlerInput> | Prisma.PhaseEventAttachmentCreateWithoutHandlerInput[] | Prisma.PhaseEventAttachmentUncheckedCreateWithoutHandlerInput[];
447
+ connectOrCreate?: Prisma.PhaseEventAttachmentCreateOrConnectWithoutHandlerInput | Prisma.PhaseEventAttachmentCreateOrConnectWithoutHandlerInput[];
448
+ upsert?: Prisma.PhaseEventAttachmentUpsertWithWhereUniqueWithoutHandlerInput | Prisma.PhaseEventAttachmentUpsertWithWhereUniqueWithoutHandlerInput[];
449
+ createMany?: Prisma.PhaseEventAttachmentCreateManyHandlerInputEnvelope;
450
+ set?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
451
+ disconnect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
452
+ delete?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
453
+ connect?: Prisma.PhaseEventAttachmentWhereUniqueInput | Prisma.PhaseEventAttachmentWhereUniqueInput[];
454
+ update?: Prisma.PhaseEventAttachmentUpdateWithWhereUniqueWithoutHandlerInput | Prisma.PhaseEventAttachmentUpdateWithWhereUniqueWithoutHandlerInput[];
455
+ updateMany?: Prisma.PhaseEventAttachmentUpdateManyWithWhereWithoutHandlerInput | Prisma.PhaseEventAttachmentUpdateManyWithWhereWithoutHandlerInput[];
456
+ deleteMany?: Prisma.PhaseEventAttachmentScalarWhereInput | Prisma.PhaseEventAttachmentScalarWhereInput[];
457
+ };
458
+ export type PhaseEventAttachmentCreateWithoutPhaseInput = {
459
+ id?: string;
460
+ trigger: $Enums.PhaseTrigger;
461
+ priority?: number;
462
+ enabled?: boolean;
463
+ createdAt?: Date | string;
464
+ updatedAt?: Date | string;
465
+ handler: Prisma.EventHandlerCreateNestedOneWithoutPhaseAttachmentsInput;
466
+ };
467
+ export type PhaseEventAttachmentUncheckedCreateWithoutPhaseInput = {
468
+ id?: string;
469
+ trigger: $Enums.PhaseTrigger;
470
+ handlerId: string;
471
+ priority?: number;
472
+ enabled?: boolean;
473
+ createdAt?: Date | string;
474
+ updatedAt?: Date | string;
475
+ };
476
+ export type PhaseEventAttachmentCreateOrConnectWithoutPhaseInput = {
477
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
478
+ create: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutPhaseInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutPhaseInput>;
479
+ };
480
+ export type PhaseEventAttachmentCreateManyPhaseInputEnvelope = {
481
+ data: Prisma.PhaseEventAttachmentCreateManyPhaseInput | Prisma.PhaseEventAttachmentCreateManyPhaseInput[];
482
+ skipDuplicates?: boolean;
483
+ };
484
+ export type PhaseEventAttachmentUpsertWithWhereUniqueWithoutPhaseInput = {
485
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
486
+ update: Prisma.XOR<Prisma.PhaseEventAttachmentUpdateWithoutPhaseInput, Prisma.PhaseEventAttachmentUncheckedUpdateWithoutPhaseInput>;
487
+ create: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutPhaseInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutPhaseInput>;
488
+ };
489
+ export type PhaseEventAttachmentUpdateWithWhereUniqueWithoutPhaseInput = {
490
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
491
+ data: Prisma.XOR<Prisma.PhaseEventAttachmentUpdateWithoutPhaseInput, Prisma.PhaseEventAttachmentUncheckedUpdateWithoutPhaseInput>;
492
+ };
493
+ export type PhaseEventAttachmentUpdateManyWithWhereWithoutPhaseInput = {
494
+ where: Prisma.PhaseEventAttachmentScalarWhereInput;
495
+ data: Prisma.XOR<Prisma.PhaseEventAttachmentUpdateManyMutationInput, Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseInput>;
496
+ };
497
+ export type PhaseEventAttachmentScalarWhereInput = {
498
+ AND?: Prisma.PhaseEventAttachmentScalarWhereInput | Prisma.PhaseEventAttachmentScalarWhereInput[];
499
+ OR?: Prisma.PhaseEventAttachmentScalarWhereInput[];
500
+ NOT?: Prisma.PhaseEventAttachmentScalarWhereInput | Prisma.PhaseEventAttachmentScalarWhereInput[];
501
+ id?: Prisma.StringFilter<"PhaseEventAttachment"> | string;
502
+ phaseId?: Prisma.StringFilter<"PhaseEventAttachment"> | string;
503
+ trigger?: Prisma.EnumPhaseTriggerFilter<"PhaseEventAttachment"> | $Enums.PhaseTrigger;
504
+ handlerId?: Prisma.StringFilter<"PhaseEventAttachment"> | string;
505
+ priority?: Prisma.IntFilter<"PhaseEventAttachment"> | number;
506
+ enabled?: Prisma.BoolFilter<"PhaseEventAttachment"> | boolean;
507
+ createdAt?: Prisma.DateTimeFilter<"PhaseEventAttachment"> | Date | string;
508
+ updatedAt?: Prisma.DateTimeFilter<"PhaseEventAttachment"> | Date | string;
509
+ };
510
+ export type PhaseEventAttachmentCreateWithoutHandlerInput = {
511
+ id?: string;
512
+ trigger: $Enums.PhaseTrigger;
513
+ priority?: number;
514
+ enabled?: boolean;
515
+ createdAt?: Date | string;
516
+ updatedAt?: Date | string;
517
+ phase: Prisma.PropertyPaymentMethodPhaseCreateNestedOneWithoutEventAttachmentsInput;
518
+ };
519
+ export type PhaseEventAttachmentUncheckedCreateWithoutHandlerInput = {
520
+ id?: string;
521
+ phaseId: string;
522
+ trigger: $Enums.PhaseTrigger;
523
+ priority?: number;
524
+ enabled?: boolean;
525
+ createdAt?: Date | string;
526
+ updatedAt?: Date | string;
527
+ };
528
+ export type PhaseEventAttachmentCreateOrConnectWithoutHandlerInput = {
529
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
530
+ create: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutHandlerInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutHandlerInput>;
531
+ };
532
+ export type PhaseEventAttachmentCreateManyHandlerInputEnvelope = {
533
+ data: Prisma.PhaseEventAttachmentCreateManyHandlerInput | Prisma.PhaseEventAttachmentCreateManyHandlerInput[];
534
+ skipDuplicates?: boolean;
535
+ };
536
+ export type PhaseEventAttachmentUpsertWithWhereUniqueWithoutHandlerInput = {
537
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
538
+ update: Prisma.XOR<Prisma.PhaseEventAttachmentUpdateWithoutHandlerInput, Prisma.PhaseEventAttachmentUncheckedUpdateWithoutHandlerInput>;
539
+ create: Prisma.XOR<Prisma.PhaseEventAttachmentCreateWithoutHandlerInput, Prisma.PhaseEventAttachmentUncheckedCreateWithoutHandlerInput>;
540
+ };
541
+ export type PhaseEventAttachmentUpdateWithWhereUniqueWithoutHandlerInput = {
542
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
543
+ data: Prisma.XOR<Prisma.PhaseEventAttachmentUpdateWithoutHandlerInput, Prisma.PhaseEventAttachmentUncheckedUpdateWithoutHandlerInput>;
544
+ };
545
+ export type PhaseEventAttachmentUpdateManyWithWhereWithoutHandlerInput = {
546
+ where: Prisma.PhaseEventAttachmentScalarWhereInput;
547
+ data: Prisma.XOR<Prisma.PhaseEventAttachmentUpdateManyMutationInput, Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerInput>;
548
+ };
549
+ export type PhaseEventAttachmentCreateManyPhaseInput = {
550
+ id?: string;
551
+ trigger: $Enums.PhaseTrigger;
552
+ handlerId: string;
553
+ priority?: number;
554
+ enabled?: boolean;
555
+ createdAt?: Date | string;
556
+ updatedAt?: Date | string;
557
+ };
558
+ export type PhaseEventAttachmentUpdateWithoutPhaseInput = {
559
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
560
+ trigger?: Prisma.EnumPhaseTriggerFieldUpdateOperationsInput | $Enums.PhaseTrigger;
561
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
562
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
563
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
564
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
565
+ handler?: Prisma.EventHandlerUpdateOneRequiredWithoutPhaseAttachmentsNestedInput;
566
+ };
567
+ export type PhaseEventAttachmentUncheckedUpdateWithoutPhaseInput = {
568
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
569
+ trigger?: Prisma.EnumPhaseTriggerFieldUpdateOperationsInput | $Enums.PhaseTrigger;
570
+ handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
571
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
572
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
573
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
574
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
575
+ };
576
+ export type PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseInput = {
577
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
578
+ trigger?: Prisma.EnumPhaseTriggerFieldUpdateOperationsInput | $Enums.PhaseTrigger;
579
+ handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
580
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
581
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
582
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
583
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
584
+ };
585
+ export type PhaseEventAttachmentCreateManyHandlerInput = {
586
+ id?: string;
587
+ phaseId: string;
588
+ trigger: $Enums.PhaseTrigger;
589
+ priority?: number;
590
+ enabled?: boolean;
591
+ createdAt?: Date | string;
592
+ updatedAt?: Date | string;
593
+ };
594
+ export type PhaseEventAttachmentUpdateWithoutHandlerInput = {
595
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
596
+ trigger?: Prisma.EnumPhaseTriggerFieldUpdateOperationsInput | $Enums.PhaseTrigger;
597
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
598
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
599
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
600
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
601
+ phase?: Prisma.PropertyPaymentMethodPhaseUpdateOneRequiredWithoutEventAttachmentsNestedInput;
602
+ };
603
+ export type PhaseEventAttachmentUncheckedUpdateWithoutHandlerInput = {
604
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
605
+ phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
606
+ trigger?: Prisma.EnumPhaseTriggerFieldUpdateOperationsInput | $Enums.PhaseTrigger;
607
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
608
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
609
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
610
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
611
+ };
612
+ export type PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerInput = {
613
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
614
+ phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
615
+ trigger?: Prisma.EnumPhaseTriggerFieldUpdateOperationsInput | $Enums.PhaseTrigger;
616
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
617
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
618
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
619
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
620
+ };
621
+ export type PhaseEventAttachmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
622
+ id?: boolean;
623
+ phaseId?: boolean;
624
+ trigger?: boolean;
625
+ handlerId?: boolean;
626
+ priority?: boolean;
627
+ enabled?: boolean;
628
+ createdAt?: boolean;
629
+ updatedAt?: boolean;
630
+ phase?: boolean | Prisma.PropertyPaymentMethodPhaseDefaultArgs<ExtArgs>;
631
+ handler?: boolean | Prisma.EventHandlerDefaultArgs<ExtArgs>;
632
+ }, ExtArgs["result"]["phaseEventAttachment"]>;
633
+ export type PhaseEventAttachmentSelectScalar = {
634
+ id?: boolean;
635
+ phaseId?: boolean;
636
+ trigger?: boolean;
637
+ handlerId?: boolean;
638
+ priority?: boolean;
639
+ enabled?: boolean;
640
+ createdAt?: boolean;
641
+ updatedAt?: boolean;
642
+ };
643
+ export type PhaseEventAttachmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phaseId" | "trigger" | "handlerId" | "priority" | "enabled" | "createdAt" | "updatedAt", ExtArgs["result"]["phaseEventAttachment"]>;
644
+ export type PhaseEventAttachmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
645
+ phase?: boolean | Prisma.PropertyPaymentMethodPhaseDefaultArgs<ExtArgs>;
646
+ handler?: boolean | Prisma.EventHandlerDefaultArgs<ExtArgs>;
647
+ };
648
+ export type $PhaseEventAttachmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
649
+ name: "PhaseEventAttachment";
650
+ objects: {
651
+ phase: Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>;
652
+ handler: Prisma.$EventHandlerPayload<ExtArgs>;
653
+ };
654
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
655
+ id: string;
656
+ phaseId: string;
657
+ /**
658
+ * When this handler should fire
659
+ */
660
+ trigger: $Enums.PhaseTrigger;
661
+ /**
662
+ * The event handler to execute
663
+ */
664
+ handlerId: string;
665
+ /**
666
+ * Order of execution (lower = first)
667
+ */
668
+ priority: number;
669
+ /**
670
+ * Whether this attachment is active
671
+ */
672
+ enabled: boolean;
673
+ createdAt: Date;
674
+ updatedAt: Date;
675
+ }, ExtArgs["result"]["phaseEventAttachment"]>;
676
+ composites: {};
677
+ };
678
+ export type PhaseEventAttachmentGetPayload<S extends boolean | null | undefined | PhaseEventAttachmentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload, S>;
679
+ export type PhaseEventAttachmentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PhaseEventAttachmentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
680
+ select?: PhaseEventAttachmentCountAggregateInputType | true;
681
+ };
682
+ export interface PhaseEventAttachmentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
683
+ [K: symbol]: {
684
+ types: Prisma.TypeMap<ExtArgs>['model']['PhaseEventAttachment'];
685
+ meta: {
686
+ name: 'PhaseEventAttachment';
687
+ };
688
+ };
689
+ /**
690
+ * Find zero or one PhaseEventAttachment that matches the filter.
691
+ * @param {PhaseEventAttachmentFindUniqueArgs} args - Arguments to find a PhaseEventAttachment
692
+ * @example
693
+ * // Get one PhaseEventAttachment
694
+ * const phaseEventAttachment = await prisma.phaseEventAttachment.findUnique({
695
+ * where: {
696
+ * // ... provide filter here
697
+ * }
698
+ * })
699
+ */
700
+ findUnique<T extends PhaseEventAttachmentFindUniqueArgs>(args: Prisma.SelectSubset<T, PhaseEventAttachmentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PhaseEventAttachmentClient<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
701
+ /**
702
+ * Find one PhaseEventAttachment that matches the filter or throw an error with `error.code='P2025'`
703
+ * if no matches were found.
704
+ * @param {PhaseEventAttachmentFindUniqueOrThrowArgs} args - Arguments to find a PhaseEventAttachment
705
+ * @example
706
+ * // Get one PhaseEventAttachment
707
+ * const phaseEventAttachment = await prisma.phaseEventAttachment.findUniqueOrThrow({
708
+ * where: {
709
+ * // ... provide filter here
710
+ * }
711
+ * })
712
+ */
713
+ findUniqueOrThrow<T extends PhaseEventAttachmentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PhaseEventAttachmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PhaseEventAttachmentClient<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
714
+ /**
715
+ * Find the first PhaseEventAttachment that matches the filter.
716
+ * Note, that providing `undefined` is treated as the value not being there.
717
+ * Read more here: https://pris.ly/d/null-undefined
718
+ * @param {PhaseEventAttachmentFindFirstArgs} args - Arguments to find a PhaseEventAttachment
719
+ * @example
720
+ * // Get one PhaseEventAttachment
721
+ * const phaseEventAttachment = await prisma.phaseEventAttachment.findFirst({
722
+ * where: {
723
+ * // ... provide filter here
724
+ * }
725
+ * })
726
+ */
727
+ findFirst<T extends PhaseEventAttachmentFindFirstArgs>(args?: Prisma.SelectSubset<T, PhaseEventAttachmentFindFirstArgs<ExtArgs>>): Prisma.Prisma__PhaseEventAttachmentClient<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
728
+ /**
729
+ * Find the first PhaseEventAttachment that matches the filter or
730
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
731
+ * Note, that providing `undefined` is treated as the value not being there.
732
+ * Read more here: https://pris.ly/d/null-undefined
733
+ * @param {PhaseEventAttachmentFindFirstOrThrowArgs} args - Arguments to find a PhaseEventAttachment
734
+ * @example
735
+ * // Get one PhaseEventAttachment
736
+ * const phaseEventAttachment = await prisma.phaseEventAttachment.findFirstOrThrow({
737
+ * where: {
738
+ * // ... provide filter here
739
+ * }
740
+ * })
741
+ */
742
+ findFirstOrThrow<T extends PhaseEventAttachmentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PhaseEventAttachmentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PhaseEventAttachmentClient<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
743
+ /**
744
+ * Find zero or more PhaseEventAttachments that matches the filter.
745
+ * Note, that providing `undefined` is treated as the value not being there.
746
+ * Read more here: https://pris.ly/d/null-undefined
747
+ * @param {PhaseEventAttachmentFindManyArgs} args - Arguments to filter and select certain fields only.
748
+ * @example
749
+ * // Get all PhaseEventAttachments
750
+ * const phaseEventAttachments = await prisma.phaseEventAttachment.findMany()
751
+ *
752
+ * // Get first 10 PhaseEventAttachments
753
+ * const phaseEventAttachments = await prisma.phaseEventAttachment.findMany({ take: 10 })
754
+ *
755
+ * // Only select the `id`
756
+ * const phaseEventAttachmentWithIdOnly = await prisma.phaseEventAttachment.findMany({ select: { id: true } })
757
+ *
758
+ */
759
+ findMany<T extends PhaseEventAttachmentFindManyArgs>(args?: Prisma.SelectSubset<T, PhaseEventAttachmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
760
+ /**
761
+ * Create a PhaseEventAttachment.
762
+ * @param {PhaseEventAttachmentCreateArgs} args - Arguments to create a PhaseEventAttachment.
763
+ * @example
764
+ * // Create one PhaseEventAttachment
765
+ * const PhaseEventAttachment = await prisma.phaseEventAttachment.create({
766
+ * data: {
767
+ * // ... data to create a PhaseEventAttachment
768
+ * }
769
+ * })
770
+ *
771
+ */
772
+ create<T extends PhaseEventAttachmentCreateArgs>(args: Prisma.SelectSubset<T, PhaseEventAttachmentCreateArgs<ExtArgs>>): Prisma.Prisma__PhaseEventAttachmentClient<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
773
+ /**
774
+ * Create many PhaseEventAttachments.
775
+ * @param {PhaseEventAttachmentCreateManyArgs} args - Arguments to create many PhaseEventAttachments.
776
+ * @example
777
+ * // Create many PhaseEventAttachments
778
+ * const phaseEventAttachment = await prisma.phaseEventAttachment.createMany({
779
+ * data: [
780
+ * // ... provide data here
781
+ * ]
782
+ * })
783
+ *
784
+ */
785
+ createMany<T extends PhaseEventAttachmentCreateManyArgs>(args?: Prisma.SelectSubset<T, PhaseEventAttachmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
786
+ /**
787
+ * Delete a PhaseEventAttachment.
788
+ * @param {PhaseEventAttachmentDeleteArgs} args - Arguments to delete one PhaseEventAttachment.
789
+ * @example
790
+ * // Delete one PhaseEventAttachment
791
+ * const PhaseEventAttachment = await prisma.phaseEventAttachment.delete({
792
+ * where: {
793
+ * // ... filter to delete one PhaseEventAttachment
794
+ * }
795
+ * })
796
+ *
797
+ */
798
+ delete<T extends PhaseEventAttachmentDeleteArgs>(args: Prisma.SelectSubset<T, PhaseEventAttachmentDeleteArgs<ExtArgs>>): Prisma.Prisma__PhaseEventAttachmentClient<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
799
+ /**
800
+ * Update one PhaseEventAttachment.
801
+ * @param {PhaseEventAttachmentUpdateArgs} args - Arguments to update one PhaseEventAttachment.
802
+ * @example
803
+ * // Update one PhaseEventAttachment
804
+ * const phaseEventAttachment = await prisma.phaseEventAttachment.update({
805
+ * where: {
806
+ * // ... provide filter here
807
+ * },
808
+ * data: {
809
+ * // ... provide data here
810
+ * }
811
+ * })
812
+ *
813
+ */
814
+ update<T extends PhaseEventAttachmentUpdateArgs>(args: Prisma.SelectSubset<T, PhaseEventAttachmentUpdateArgs<ExtArgs>>): Prisma.Prisma__PhaseEventAttachmentClient<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
815
+ /**
816
+ * Delete zero or more PhaseEventAttachments.
817
+ * @param {PhaseEventAttachmentDeleteManyArgs} args - Arguments to filter PhaseEventAttachments to delete.
818
+ * @example
819
+ * // Delete a few PhaseEventAttachments
820
+ * const { count } = await prisma.phaseEventAttachment.deleteMany({
821
+ * where: {
822
+ * // ... provide filter here
823
+ * }
824
+ * })
825
+ *
826
+ */
827
+ deleteMany<T extends PhaseEventAttachmentDeleteManyArgs>(args?: Prisma.SelectSubset<T, PhaseEventAttachmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
828
+ /**
829
+ * Update zero or more PhaseEventAttachments.
830
+ * Note, that providing `undefined` is treated as the value not being there.
831
+ * Read more here: https://pris.ly/d/null-undefined
832
+ * @param {PhaseEventAttachmentUpdateManyArgs} args - Arguments to update one or more rows.
833
+ * @example
834
+ * // Update many PhaseEventAttachments
835
+ * const phaseEventAttachment = await prisma.phaseEventAttachment.updateMany({
836
+ * where: {
837
+ * // ... provide filter here
838
+ * },
839
+ * data: {
840
+ * // ... provide data here
841
+ * }
842
+ * })
843
+ *
844
+ */
845
+ updateMany<T extends PhaseEventAttachmentUpdateManyArgs>(args: Prisma.SelectSubset<T, PhaseEventAttachmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
846
+ /**
847
+ * Create or update one PhaseEventAttachment.
848
+ * @param {PhaseEventAttachmentUpsertArgs} args - Arguments to update or create a PhaseEventAttachment.
849
+ * @example
850
+ * // Update or create a PhaseEventAttachment
851
+ * const phaseEventAttachment = await prisma.phaseEventAttachment.upsert({
852
+ * create: {
853
+ * // ... data to create a PhaseEventAttachment
854
+ * },
855
+ * update: {
856
+ * // ... in case it already exists, update
857
+ * },
858
+ * where: {
859
+ * // ... the filter for the PhaseEventAttachment we want to update
860
+ * }
861
+ * })
862
+ */
863
+ upsert<T extends PhaseEventAttachmentUpsertArgs>(args: Prisma.SelectSubset<T, PhaseEventAttachmentUpsertArgs<ExtArgs>>): Prisma.Prisma__PhaseEventAttachmentClient<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
864
+ /**
865
+ * Count the number of PhaseEventAttachments.
866
+ * Note, that providing `undefined` is treated as the value not being there.
867
+ * Read more here: https://pris.ly/d/null-undefined
868
+ * @param {PhaseEventAttachmentCountArgs} args - Arguments to filter PhaseEventAttachments to count.
869
+ * @example
870
+ * // Count the number of PhaseEventAttachments
871
+ * const count = await prisma.phaseEventAttachment.count({
872
+ * where: {
873
+ * // ... the filter for the PhaseEventAttachments we want to count
874
+ * }
875
+ * })
876
+ **/
877
+ count<T extends PhaseEventAttachmentCountArgs>(args?: Prisma.Subset<T, PhaseEventAttachmentCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PhaseEventAttachmentCountAggregateOutputType> : number>;
878
+ /**
879
+ * Allows you to perform aggregations operations on a PhaseEventAttachment.
880
+ * Note, that providing `undefined` is treated as the value not being there.
881
+ * Read more here: https://pris.ly/d/null-undefined
882
+ * @param {PhaseEventAttachmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
883
+ * @example
884
+ * // Ordered by age ascending
885
+ * // Where email contains prisma.io
886
+ * // Limited to the 10 users
887
+ * const aggregations = await prisma.user.aggregate({
888
+ * _avg: {
889
+ * age: true,
890
+ * },
891
+ * where: {
892
+ * email: {
893
+ * contains: "prisma.io",
894
+ * },
895
+ * },
896
+ * orderBy: {
897
+ * age: "asc",
898
+ * },
899
+ * take: 10,
900
+ * })
901
+ **/
902
+ aggregate<T extends PhaseEventAttachmentAggregateArgs>(args: Prisma.Subset<T, PhaseEventAttachmentAggregateArgs>): Prisma.PrismaPromise<GetPhaseEventAttachmentAggregateType<T>>;
903
+ /**
904
+ * Group by PhaseEventAttachment.
905
+ * Note, that providing `undefined` is treated as the value not being there.
906
+ * Read more here: https://pris.ly/d/null-undefined
907
+ * @param {PhaseEventAttachmentGroupByArgs} args - Group by arguments.
908
+ * @example
909
+ * // Group by city, order by createdAt, get count
910
+ * const result = await prisma.user.groupBy({
911
+ * by: ['city', 'createdAt'],
912
+ * orderBy: {
913
+ * createdAt: true
914
+ * },
915
+ * _count: {
916
+ * _all: true
917
+ * },
918
+ * })
919
+ *
920
+ **/
921
+ groupBy<T extends PhaseEventAttachmentGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
922
+ orderBy: PhaseEventAttachmentGroupByArgs['orderBy'];
923
+ } : {
924
+ orderBy?: PhaseEventAttachmentGroupByArgs['orderBy'];
925
+ }, 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 ? {
926
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
927
+ Error,
928
+ 'Field ',
929
+ P,
930
+ ` in "having" needs to be provided in "by"`
931
+ ];
932
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
933
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
934
+ }[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 ? {} : {
935
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
936
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
937
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
938
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, PhaseEventAttachmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPhaseEventAttachmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
939
+ /**
940
+ * Fields of the PhaseEventAttachment model
941
+ */
942
+ readonly fields: PhaseEventAttachmentFieldRefs;
943
+ }
944
+ /**
945
+ * The delegate class that acts as a "Promise-like" for PhaseEventAttachment.
946
+ * Why is this prefixed with `Prisma__`?
947
+ * Because we want to prevent naming conflicts as mentioned in
948
+ * https://github.com/prisma/prisma-client-js/issues/707
949
+ */
950
+ export interface Prisma__PhaseEventAttachmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
951
+ readonly [Symbol.toStringTag]: "PrismaPromise";
952
+ phase<T extends Prisma.PropertyPaymentMethodPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodPhaseClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
953
+ handler<T extends Prisma.EventHandlerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventHandlerDefaultArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
954
+ /**
955
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
956
+ * @param onfulfilled The callback to execute when the Promise is resolved.
957
+ * @param onrejected The callback to execute when the Promise is rejected.
958
+ * @returns A Promise for the completion of which ever callback is executed.
959
+ */
960
+ 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>;
961
+ /**
962
+ * Attaches a callback for only the rejection of the Promise.
963
+ * @param onrejected The callback to execute when the Promise is rejected.
964
+ * @returns A Promise for the completion of the callback.
965
+ */
966
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
967
+ /**
968
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
969
+ * resolved value cannot be modified from the callback.
970
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
971
+ * @returns A Promise for the completion of the callback.
972
+ */
973
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
974
+ }
975
+ /**
976
+ * Fields of the PhaseEventAttachment model
977
+ */
978
+ export interface PhaseEventAttachmentFieldRefs {
979
+ readonly id: Prisma.FieldRef<"PhaseEventAttachment", 'String'>;
980
+ readonly phaseId: Prisma.FieldRef<"PhaseEventAttachment", 'String'>;
981
+ readonly trigger: Prisma.FieldRef<"PhaseEventAttachment", 'PhaseTrigger'>;
982
+ readonly handlerId: Prisma.FieldRef<"PhaseEventAttachment", 'String'>;
983
+ readonly priority: Prisma.FieldRef<"PhaseEventAttachment", 'Int'>;
984
+ readonly enabled: Prisma.FieldRef<"PhaseEventAttachment", 'Boolean'>;
985
+ readonly createdAt: Prisma.FieldRef<"PhaseEventAttachment", 'DateTime'>;
986
+ readonly updatedAt: Prisma.FieldRef<"PhaseEventAttachment", 'DateTime'>;
987
+ }
988
+ /**
989
+ * PhaseEventAttachment findUnique
990
+ */
991
+ export type PhaseEventAttachmentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
992
+ /**
993
+ * Select specific fields to fetch from the PhaseEventAttachment
994
+ */
995
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
996
+ /**
997
+ * Omit specific fields from the PhaseEventAttachment
998
+ */
999
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
1000
+ /**
1001
+ * Choose, which related nodes to fetch as well
1002
+ */
1003
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
1004
+ /**
1005
+ * Filter, which PhaseEventAttachment to fetch.
1006
+ */
1007
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
1008
+ };
1009
+ /**
1010
+ * PhaseEventAttachment findUniqueOrThrow
1011
+ */
1012
+ export type PhaseEventAttachmentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1013
+ /**
1014
+ * Select specific fields to fetch from the PhaseEventAttachment
1015
+ */
1016
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
1017
+ /**
1018
+ * Omit specific fields from the PhaseEventAttachment
1019
+ */
1020
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
1021
+ /**
1022
+ * Choose, which related nodes to fetch as well
1023
+ */
1024
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
1025
+ /**
1026
+ * Filter, which PhaseEventAttachment to fetch.
1027
+ */
1028
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
1029
+ };
1030
+ /**
1031
+ * PhaseEventAttachment findFirst
1032
+ */
1033
+ export type PhaseEventAttachmentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1034
+ /**
1035
+ * Select specific fields to fetch from the PhaseEventAttachment
1036
+ */
1037
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
1038
+ /**
1039
+ * Omit specific fields from the PhaseEventAttachment
1040
+ */
1041
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
1042
+ /**
1043
+ * Choose, which related nodes to fetch as well
1044
+ */
1045
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
1046
+ /**
1047
+ * Filter, which PhaseEventAttachment to fetch.
1048
+ */
1049
+ where?: Prisma.PhaseEventAttachmentWhereInput;
1050
+ /**
1051
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1052
+ *
1053
+ * Determine the order of PhaseEventAttachments to fetch.
1054
+ */
1055
+ orderBy?: Prisma.PhaseEventAttachmentOrderByWithRelationInput | Prisma.PhaseEventAttachmentOrderByWithRelationInput[];
1056
+ /**
1057
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1058
+ *
1059
+ * Sets the position for searching for PhaseEventAttachments.
1060
+ */
1061
+ cursor?: Prisma.PhaseEventAttachmentWhereUniqueInput;
1062
+ /**
1063
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1064
+ *
1065
+ * Take `±n` PhaseEventAttachments from the position of the cursor.
1066
+ */
1067
+ take?: number;
1068
+ /**
1069
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1070
+ *
1071
+ * Skip the first `n` PhaseEventAttachments.
1072
+ */
1073
+ skip?: number;
1074
+ /**
1075
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1076
+ *
1077
+ * Filter by unique combinations of PhaseEventAttachments.
1078
+ */
1079
+ distinct?: Prisma.PhaseEventAttachmentScalarFieldEnum | Prisma.PhaseEventAttachmentScalarFieldEnum[];
1080
+ };
1081
+ /**
1082
+ * PhaseEventAttachment findFirstOrThrow
1083
+ */
1084
+ export type PhaseEventAttachmentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1085
+ /**
1086
+ * Select specific fields to fetch from the PhaseEventAttachment
1087
+ */
1088
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
1089
+ /**
1090
+ * Omit specific fields from the PhaseEventAttachment
1091
+ */
1092
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
1093
+ /**
1094
+ * Choose, which related nodes to fetch as well
1095
+ */
1096
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
1097
+ /**
1098
+ * Filter, which PhaseEventAttachment to fetch.
1099
+ */
1100
+ where?: Prisma.PhaseEventAttachmentWhereInput;
1101
+ /**
1102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1103
+ *
1104
+ * Determine the order of PhaseEventAttachments to fetch.
1105
+ */
1106
+ orderBy?: Prisma.PhaseEventAttachmentOrderByWithRelationInput | Prisma.PhaseEventAttachmentOrderByWithRelationInput[];
1107
+ /**
1108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1109
+ *
1110
+ * Sets the position for searching for PhaseEventAttachments.
1111
+ */
1112
+ cursor?: Prisma.PhaseEventAttachmentWhereUniqueInput;
1113
+ /**
1114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1115
+ *
1116
+ * Take `±n` PhaseEventAttachments from the position of the cursor.
1117
+ */
1118
+ take?: number;
1119
+ /**
1120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1121
+ *
1122
+ * Skip the first `n` PhaseEventAttachments.
1123
+ */
1124
+ skip?: number;
1125
+ /**
1126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1127
+ *
1128
+ * Filter by unique combinations of PhaseEventAttachments.
1129
+ */
1130
+ distinct?: Prisma.PhaseEventAttachmentScalarFieldEnum | Prisma.PhaseEventAttachmentScalarFieldEnum[];
1131
+ };
1132
+ /**
1133
+ * PhaseEventAttachment findMany
1134
+ */
1135
+ export type PhaseEventAttachmentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1136
+ /**
1137
+ * Select specific fields to fetch from the PhaseEventAttachment
1138
+ */
1139
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
1140
+ /**
1141
+ * Omit specific fields from the PhaseEventAttachment
1142
+ */
1143
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
1144
+ /**
1145
+ * Choose, which related nodes to fetch as well
1146
+ */
1147
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
1148
+ /**
1149
+ * Filter, which PhaseEventAttachments to fetch.
1150
+ */
1151
+ where?: Prisma.PhaseEventAttachmentWhereInput;
1152
+ /**
1153
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1154
+ *
1155
+ * Determine the order of PhaseEventAttachments to fetch.
1156
+ */
1157
+ orderBy?: Prisma.PhaseEventAttachmentOrderByWithRelationInput | Prisma.PhaseEventAttachmentOrderByWithRelationInput[];
1158
+ /**
1159
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1160
+ *
1161
+ * Sets the position for listing PhaseEventAttachments.
1162
+ */
1163
+ cursor?: Prisma.PhaseEventAttachmentWhereUniqueInput;
1164
+ /**
1165
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1166
+ *
1167
+ * Take `±n` PhaseEventAttachments from the position of the cursor.
1168
+ */
1169
+ take?: number;
1170
+ /**
1171
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1172
+ *
1173
+ * Skip the first `n` PhaseEventAttachments.
1174
+ */
1175
+ skip?: number;
1176
+ distinct?: Prisma.PhaseEventAttachmentScalarFieldEnum | Prisma.PhaseEventAttachmentScalarFieldEnum[];
1177
+ };
1178
+ /**
1179
+ * PhaseEventAttachment create
1180
+ */
1181
+ export type PhaseEventAttachmentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1182
+ /**
1183
+ * Select specific fields to fetch from the PhaseEventAttachment
1184
+ */
1185
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
1186
+ /**
1187
+ * Omit specific fields from the PhaseEventAttachment
1188
+ */
1189
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
1190
+ /**
1191
+ * Choose, which related nodes to fetch as well
1192
+ */
1193
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
1194
+ /**
1195
+ * The data needed to create a PhaseEventAttachment.
1196
+ */
1197
+ data: Prisma.XOR<Prisma.PhaseEventAttachmentCreateInput, Prisma.PhaseEventAttachmentUncheckedCreateInput>;
1198
+ };
1199
+ /**
1200
+ * PhaseEventAttachment createMany
1201
+ */
1202
+ export type PhaseEventAttachmentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1203
+ /**
1204
+ * The data used to create many PhaseEventAttachments.
1205
+ */
1206
+ data: Prisma.PhaseEventAttachmentCreateManyInput | Prisma.PhaseEventAttachmentCreateManyInput[];
1207
+ skipDuplicates?: boolean;
1208
+ };
1209
+ /**
1210
+ * PhaseEventAttachment update
1211
+ */
1212
+ export type PhaseEventAttachmentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1213
+ /**
1214
+ * Select specific fields to fetch from the PhaseEventAttachment
1215
+ */
1216
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
1217
+ /**
1218
+ * Omit specific fields from the PhaseEventAttachment
1219
+ */
1220
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
1221
+ /**
1222
+ * Choose, which related nodes to fetch as well
1223
+ */
1224
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
1225
+ /**
1226
+ * The data needed to update a PhaseEventAttachment.
1227
+ */
1228
+ data: Prisma.XOR<Prisma.PhaseEventAttachmentUpdateInput, Prisma.PhaseEventAttachmentUncheckedUpdateInput>;
1229
+ /**
1230
+ * Choose, which PhaseEventAttachment to update.
1231
+ */
1232
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
1233
+ };
1234
+ /**
1235
+ * PhaseEventAttachment updateMany
1236
+ */
1237
+ export type PhaseEventAttachmentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1238
+ /**
1239
+ * The data used to update PhaseEventAttachments.
1240
+ */
1241
+ data: Prisma.XOR<Prisma.PhaseEventAttachmentUpdateManyMutationInput, Prisma.PhaseEventAttachmentUncheckedUpdateManyInput>;
1242
+ /**
1243
+ * Filter which PhaseEventAttachments to update
1244
+ */
1245
+ where?: Prisma.PhaseEventAttachmentWhereInput;
1246
+ /**
1247
+ * Limit how many PhaseEventAttachments to update.
1248
+ */
1249
+ limit?: number;
1250
+ };
1251
+ /**
1252
+ * PhaseEventAttachment upsert
1253
+ */
1254
+ export type PhaseEventAttachmentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1255
+ /**
1256
+ * Select specific fields to fetch from the PhaseEventAttachment
1257
+ */
1258
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
1259
+ /**
1260
+ * Omit specific fields from the PhaseEventAttachment
1261
+ */
1262
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
1263
+ /**
1264
+ * Choose, which related nodes to fetch as well
1265
+ */
1266
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
1267
+ /**
1268
+ * The filter to search for the PhaseEventAttachment to update in case it exists.
1269
+ */
1270
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
1271
+ /**
1272
+ * In case the PhaseEventAttachment found by the `where` argument doesn't exist, create a new PhaseEventAttachment with this data.
1273
+ */
1274
+ create: Prisma.XOR<Prisma.PhaseEventAttachmentCreateInput, Prisma.PhaseEventAttachmentUncheckedCreateInput>;
1275
+ /**
1276
+ * In case the PhaseEventAttachment was found with the provided `where` argument, update it with this data.
1277
+ */
1278
+ update: Prisma.XOR<Prisma.PhaseEventAttachmentUpdateInput, Prisma.PhaseEventAttachmentUncheckedUpdateInput>;
1279
+ };
1280
+ /**
1281
+ * PhaseEventAttachment delete
1282
+ */
1283
+ export type PhaseEventAttachmentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1284
+ /**
1285
+ * Select specific fields to fetch from the PhaseEventAttachment
1286
+ */
1287
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
1288
+ /**
1289
+ * Omit specific fields from the PhaseEventAttachment
1290
+ */
1291
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
1292
+ /**
1293
+ * Choose, which related nodes to fetch as well
1294
+ */
1295
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
1296
+ /**
1297
+ * Filter which PhaseEventAttachment to delete.
1298
+ */
1299
+ where: Prisma.PhaseEventAttachmentWhereUniqueInput;
1300
+ };
1301
+ /**
1302
+ * PhaseEventAttachment deleteMany
1303
+ */
1304
+ export type PhaseEventAttachmentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1305
+ /**
1306
+ * Filter which PhaseEventAttachments to delete
1307
+ */
1308
+ where?: Prisma.PhaseEventAttachmentWhereInput;
1309
+ /**
1310
+ * Limit how many PhaseEventAttachments to delete.
1311
+ */
1312
+ limit?: number;
1313
+ };
1314
+ /**
1315
+ * PhaseEventAttachment without action
1316
+ */
1317
+ export type PhaseEventAttachmentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1318
+ /**
1319
+ * Select specific fields to fetch from the PhaseEventAttachment
1320
+ */
1321
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
1322
+ /**
1323
+ * Omit specific fields from the PhaseEventAttachment
1324
+ */
1325
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
1326
+ /**
1327
+ * Choose, which related nodes to fetch as well
1328
+ */
1329
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
1330
+ };
1331
+ export {};