@valentine-efagene/qshelter-common 2.0.91 → 2.0.93

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.
@@ -262,6 +262,7 @@ export declare const ModelName: {
262
262
  readonly PropertyPaymentMethod: "PropertyPaymentMethod";
263
263
  readonly PropertyPaymentMethodLink: "PropertyPaymentMethodLink";
264
264
  readonly PropertyPaymentMethodPhase: "PropertyPaymentMethodPhase";
265
+ readonly PhaseEventAttachment: "PhaseEventAttachment";
265
266
  readonly PaymentMethodPhaseStep: "PaymentMethodPhaseStep";
266
267
  readonly StepEventAttachment: "StepEventAttachment";
267
268
  readonly PaymentMethodPhaseDocument: "PaymentMethodPhaseDocument";
@@ -305,7 +306,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
305
306
  omit: GlobalOmitOptions;
306
307
  };
307
308
  meta: {
308
- modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenantMembership" | "tenant" | "apiKey" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "paymentMethodPhaseStep" | "stepEventAttachment" | "paymentMethodPhaseDocument" | "paymentMethodPhaseField" | "contract" | "contractRefund" | "contractPhase" | "questionnairePhase" | "documentationPhase" | "paymentPhase" | "questionnaireField" | "contractEvent" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "documentTemplate" | "offerLetter" | "contractTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "workflowEvent" | "eventHandlerExecution" | "domainEvent" | "propertyTransferRequest" | "approvalRequest";
309
+ modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenantMembership" | "tenant" | "apiKey" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "phaseEventAttachment" | "paymentMethodPhaseStep" | "stepEventAttachment" | "paymentMethodPhaseDocument" | "paymentMethodPhaseField" | "contract" | "contractRefund" | "contractPhase" | "questionnairePhase" | "documentationPhase" | "paymentPhase" | "questionnaireField" | "contractEvent" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "documentTemplate" | "offerLetter" | "contractTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "workflowEvent" | "eventHandlerExecution" | "domainEvent" | "propertyTransferRequest" | "approvalRequest";
309
310
  txIsolationLevel: TransactionIsolationLevel;
310
311
  };
311
312
  model: {
@@ -2355,6 +2356,72 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
2355
2356
  };
2356
2357
  };
2357
2358
  };
2359
+ PhaseEventAttachment: {
2360
+ payload: Prisma.$PhaseEventAttachmentPayload<ExtArgs>;
2361
+ fields: Prisma.PhaseEventAttachmentFieldRefs;
2362
+ operations: {
2363
+ findUnique: {
2364
+ args: Prisma.PhaseEventAttachmentFindUniqueArgs<ExtArgs>;
2365
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$PhaseEventAttachmentPayload> | null;
2366
+ };
2367
+ findUniqueOrThrow: {
2368
+ args: Prisma.PhaseEventAttachmentFindUniqueOrThrowArgs<ExtArgs>;
2369
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$PhaseEventAttachmentPayload>;
2370
+ };
2371
+ findFirst: {
2372
+ args: Prisma.PhaseEventAttachmentFindFirstArgs<ExtArgs>;
2373
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$PhaseEventAttachmentPayload> | null;
2374
+ };
2375
+ findFirstOrThrow: {
2376
+ args: Prisma.PhaseEventAttachmentFindFirstOrThrowArgs<ExtArgs>;
2377
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$PhaseEventAttachmentPayload>;
2378
+ };
2379
+ findMany: {
2380
+ args: Prisma.PhaseEventAttachmentFindManyArgs<ExtArgs>;
2381
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$PhaseEventAttachmentPayload>[];
2382
+ };
2383
+ create: {
2384
+ args: Prisma.PhaseEventAttachmentCreateArgs<ExtArgs>;
2385
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$PhaseEventAttachmentPayload>;
2386
+ };
2387
+ createMany: {
2388
+ args: Prisma.PhaseEventAttachmentCreateManyArgs<ExtArgs>;
2389
+ result: BatchPayload;
2390
+ };
2391
+ delete: {
2392
+ args: Prisma.PhaseEventAttachmentDeleteArgs<ExtArgs>;
2393
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$PhaseEventAttachmentPayload>;
2394
+ };
2395
+ update: {
2396
+ args: Prisma.PhaseEventAttachmentUpdateArgs<ExtArgs>;
2397
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$PhaseEventAttachmentPayload>;
2398
+ };
2399
+ deleteMany: {
2400
+ args: Prisma.PhaseEventAttachmentDeleteManyArgs<ExtArgs>;
2401
+ result: BatchPayload;
2402
+ };
2403
+ updateMany: {
2404
+ args: Prisma.PhaseEventAttachmentUpdateManyArgs<ExtArgs>;
2405
+ result: BatchPayload;
2406
+ };
2407
+ upsert: {
2408
+ args: Prisma.PhaseEventAttachmentUpsertArgs<ExtArgs>;
2409
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$PhaseEventAttachmentPayload>;
2410
+ };
2411
+ aggregate: {
2412
+ args: Prisma.PhaseEventAttachmentAggregateArgs<ExtArgs>;
2413
+ result: runtime.Types.Utils.Optional<Prisma.AggregatePhaseEventAttachment>;
2414
+ };
2415
+ groupBy: {
2416
+ args: Prisma.PhaseEventAttachmentGroupByArgs<ExtArgs>;
2417
+ result: runtime.Types.Utils.Optional<Prisma.PhaseEventAttachmentGroupByOutputType>[];
2418
+ };
2419
+ count: {
2420
+ args: Prisma.PhaseEventAttachmentCountArgs<ExtArgs>;
2421
+ result: runtime.Types.Utils.Optional<Prisma.PhaseEventAttachmentCountAggregateOutputType> | number;
2422
+ };
2423
+ };
2424
+ };
2358
2425
  PaymentMethodPhaseStep: {
2359
2426
  payload: Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>;
2360
2427
  fields: Prisma.PaymentMethodPhaseStepFieldRefs;
@@ -4797,6 +4864,17 @@ export declare const PropertyPaymentMethodPhaseScalarFieldEnum: {
4797
4864
  readonly updatedAt: "updatedAt";
4798
4865
  };
4799
4866
  export type PropertyPaymentMethodPhaseScalarFieldEnum = (typeof PropertyPaymentMethodPhaseScalarFieldEnum)[keyof typeof PropertyPaymentMethodPhaseScalarFieldEnum];
4867
+ export declare const PhaseEventAttachmentScalarFieldEnum: {
4868
+ readonly id: "id";
4869
+ readonly phaseId: "phaseId";
4870
+ readonly trigger: "trigger";
4871
+ readonly handlerId: "handlerId";
4872
+ readonly priority: "priority";
4873
+ readonly enabled: "enabled";
4874
+ readonly createdAt: "createdAt";
4875
+ readonly updatedAt: "updatedAt";
4876
+ };
4877
+ export type PhaseEventAttachmentScalarFieldEnum = (typeof PhaseEventAttachmentScalarFieldEnum)[keyof typeof PhaseEventAttachmentScalarFieldEnum];
4800
4878
  export declare const PaymentMethodPhaseStepScalarFieldEnum: {
4801
4879
  readonly id: "id";
4802
4880
  readonly phaseId: "phaseId";
@@ -5626,6 +5704,12 @@ export declare const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum: {
5626
5704
  readonly description: "description";
5627
5705
  };
5628
5706
  export type PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = (typeof PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum)[keyof typeof PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum];
5707
+ export declare const PhaseEventAttachmentOrderByRelevanceFieldEnum: {
5708
+ readonly id: "id";
5709
+ readonly phaseId: "phaseId";
5710
+ readonly handlerId: "handlerId";
5711
+ };
5712
+ export type PhaseEventAttachmentOrderByRelevanceFieldEnum = (typeof PhaseEventAttachmentOrderByRelevanceFieldEnum)[keyof typeof PhaseEventAttachmentOrderByRelevanceFieldEnum];
5629
5713
  export declare const PaymentMethodPhaseStepOrderByRelevanceFieldEnum: {
5630
5714
  readonly id: "id";
5631
5715
  readonly phaseId: "phaseId";
@@ -5986,6 +6070,10 @@ export type EnumPhaseTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$Prisma
5986
6070
  * Reference to a field of type 'CompletionCriterion'
5987
6071
  */
5988
6072
  export type EnumCompletionCriterionFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CompletionCriterion'>;
6073
+ /**
6074
+ * Reference to a field of type 'PhaseTrigger'
6075
+ */
6076
+ export type EnumPhaseTriggerFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PhaseTrigger'>;
5989
6077
  /**
5990
6078
  * Reference to a field of type 'StepType'
5991
6079
  */
@@ -6227,6 +6315,7 @@ export type GlobalOmitConfig = {
6227
6315
  propertyPaymentMethod?: Prisma.PropertyPaymentMethodOmit;
6228
6316
  propertyPaymentMethodLink?: Prisma.PropertyPaymentMethodLinkOmit;
6229
6317
  propertyPaymentMethodPhase?: Prisma.PropertyPaymentMethodPhaseOmit;
6318
+ phaseEventAttachment?: Prisma.PhaseEventAttachmentOmit;
6230
6319
  paymentMethodPhaseStep?: Prisma.PaymentMethodPhaseStepOmit;
6231
6320
  stepEventAttachment?: Prisma.StepEventAttachmentOmit;
6232
6321
  paymentMethodPhaseDocument?: Prisma.PaymentMethodPhaseDocumentOmit;
@@ -98,6 +98,7 @@ export const ModelName = {
98
98
  PropertyPaymentMethod: 'PropertyPaymentMethod',
99
99
  PropertyPaymentMethodLink: 'PropertyPaymentMethodLink',
100
100
  PropertyPaymentMethodPhase: 'PropertyPaymentMethodPhase',
101
+ PhaseEventAttachment: 'PhaseEventAttachment',
101
102
  PaymentMethodPhaseStep: 'PaymentMethodPhaseStep',
102
103
  StepEventAttachment: 'StepEventAttachment',
103
104
  PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
@@ -470,6 +471,16 @@ export const PropertyPaymentMethodPhaseScalarFieldEnum = {
470
471
  createdAt: 'createdAt',
471
472
  updatedAt: 'updatedAt'
472
473
  };
474
+ export const PhaseEventAttachmentScalarFieldEnum = {
475
+ id: 'id',
476
+ phaseId: 'phaseId',
477
+ trigger: 'trigger',
478
+ handlerId: 'handlerId',
479
+ priority: 'priority',
480
+ enabled: 'enabled',
481
+ createdAt: 'createdAt',
482
+ updatedAt: 'updatedAt'
483
+ };
473
484
  export const PaymentMethodPhaseStepScalarFieldEnum = {
474
485
  id: 'id',
475
486
  phaseId: 'phaseId',
@@ -1231,6 +1242,11 @@ export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
1231
1242
  name: 'name',
1232
1243
  description: 'description'
1233
1244
  };
1245
+ export const PhaseEventAttachmentOrderByRelevanceFieldEnum = {
1246
+ id: 'id',
1247
+ phaseId: 'phaseId',
1248
+ handlerId: 'handlerId'
1249
+ };
1234
1250
  export const PaymentMethodPhaseStepOrderByRelevanceFieldEnum = {
1235
1251
  id: 'id',
1236
1252
  phaseId: 'phaseId',
@@ -57,6 +57,7 @@ export declare const ModelName: {
57
57
  readonly PropertyPaymentMethod: "PropertyPaymentMethod";
58
58
  readonly PropertyPaymentMethodLink: "PropertyPaymentMethodLink";
59
59
  readonly PropertyPaymentMethodPhase: "PropertyPaymentMethodPhase";
60
+ readonly PhaseEventAttachment: "PhaseEventAttachment";
60
61
  readonly PaymentMethodPhaseStep: "PaymentMethodPhaseStep";
61
62
  readonly StepEventAttachment: "StepEventAttachment";
62
63
  readonly PaymentMethodPhaseDocument: "PaymentMethodPhaseDocument";
@@ -459,6 +460,17 @@ export declare const PropertyPaymentMethodPhaseScalarFieldEnum: {
459
460
  readonly updatedAt: "updatedAt";
460
461
  };
461
462
  export type PropertyPaymentMethodPhaseScalarFieldEnum = (typeof PropertyPaymentMethodPhaseScalarFieldEnum)[keyof typeof PropertyPaymentMethodPhaseScalarFieldEnum];
463
+ export declare const PhaseEventAttachmentScalarFieldEnum: {
464
+ readonly id: "id";
465
+ readonly phaseId: "phaseId";
466
+ readonly trigger: "trigger";
467
+ readonly handlerId: "handlerId";
468
+ readonly priority: "priority";
469
+ readonly enabled: "enabled";
470
+ readonly createdAt: "createdAt";
471
+ readonly updatedAt: "updatedAt";
472
+ };
473
+ export type PhaseEventAttachmentScalarFieldEnum = (typeof PhaseEventAttachmentScalarFieldEnum)[keyof typeof PhaseEventAttachmentScalarFieldEnum];
462
474
  export declare const PaymentMethodPhaseStepScalarFieldEnum: {
463
475
  readonly id: "id";
464
476
  readonly phaseId: "phaseId";
@@ -1288,6 +1300,12 @@ export declare const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum: {
1288
1300
  readonly description: "description";
1289
1301
  };
1290
1302
  export type PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = (typeof PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum)[keyof typeof PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum];
1303
+ export declare const PhaseEventAttachmentOrderByRelevanceFieldEnum: {
1304
+ readonly id: "id";
1305
+ readonly phaseId: "phaseId";
1306
+ readonly handlerId: "handlerId";
1307
+ };
1308
+ export type PhaseEventAttachmentOrderByRelevanceFieldEnum = (typeof PhaseEventAttachmentOrderByRelevanceFieldEnum)[keyof typeof PhaseEventAttachmentOrderByRelevanceFieldEnum];
1291
1309
  export declare const PaymentMethodPhaseStepOrderByRelevanceFieldEnum: {
1292
1310
  readonly id: "id";
1293
1311
  readonly phaseId: "phaseId";
@@ -70,6 +70,7 @@ export const ModelName = {
70
70
  PropertyPaymentMethod: 'PropertyPaymentMethod',
71
71
  PropertyPaymentMethodLink: 'PropertyPaymentMethodLink',
72
72
  PropertyPaymentMethodPhase: 'PropertyPaymentMethodPhase',
73
+ PhaseEventAttachment: 'PhaseEventAttachment',
73
74
  PaymentMethodPhaseStep: 'PaymentMethodPhaseStep',
74
75
  StepEventAttachment: 'StepEventAttachment',
75
76
  PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
@@ -442,6 +443,16 @@ export const PropertyPaymentMethodPhaseScalarFieldEnum = {
442
443
  createdAt: 'createdAt',
443
444
  updatedAt: 'updatedAt'
444
445
  };
446
+ export const PhaseEventAttachmentScalarFieldEnum = {
447
+ id: 'id',
448
+ phaseId: 'phaseId',
449
+ trigger: 'trigger',
450
+ handlerId: 'handlerId',
451
+ priority: 'priority',
452
+ enabled: 'enabled',
453
+ createdAt: 'createdAt',
454
+ updatedAt: 'updatedAt'
455
+ };
445
456
  export const PaymentMethodPhaseStepScalarFieldEnum = {
446
457
  id: 'id',
447
458
  phaseId: 'phaseId',
@@ -1203,6 +1214,11 @@ export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
1203
1214
  name: 'name',
1204
1215
  description: 'description'
1205
1216
  };
1217
+ export const PhaseEventAttachmentOrderByRelevanceFieldEnum = {
1218
+ id: 'id',
1219
+ phaseId: 'phaseId',
1220
+ handlerId: 'handlerId'
1221
+ };
1206
1222
  export const PaymentMethodPhaseStepOrderByRelevanceFieldEnum = {
1207
1223
  id: 'id',
1208
1224
  phaseId: 'phaseId',
@@ -250,6 +250,7 @@ export type EventHandlerWhereInput = {
250
250
  eventType?: Prisma.XOR<Prisma.EventTypeScalarRelationFilter, Prisma.EventTypeWhereInput>;
251
251
  executions?: Prisma.EventHandlerExecutionListRelationFilter;
252
252
  stepAttachments?: Prisma.StepEventAttachmentListRelationFilter;
253
+ phaseAttachments?: Prisma.PhaseEventAttachmentListRelationFilter;
253
254
  };
254
255
  export type EventHandlerOrderByWithRelationInput = {
255
256
  id?: Prisma.SortOrder;
@@ -270,6 +271,7 @@ export type EventHandlerOrderByWithRelationInput = {
270
271
  eventType?: Prisma.EventTypeOrderByWithRelationInput;
271
272
  executions?: Prisma.EventHandlerExecutionOrderByRelationAggregateInput;
272
273
  stepAttachments?: Prisma.StepEventAttachmentOrderByRelationAggregateInput;
274
+ phaseAttachments?: Prisma.PhaseEventAttachmentOrderByRelationAggregateInput;
273
275
  _relevance?: Prisma.EventHandlerOrderByRelevanceInput;
274
276
  };
275
277
  export type EventHandlerWhereUniqueInput = Prisma.AtLeast<{
@@ -294,6 +296,7 @@ export type EventHandlerWhereUniqueInput = Prisma.AtLeast<{
294
296
  eventType?: Prisma.XOR<Prisma.EventTypeScalarRelationFilter, Prisma.EventTypeWhereInput>;
295
297
  executions?: Prisma.EventHandlerExecutionListRelationFilter;
296
298
  stepAttachments?: Prisma.StepEventAttachmentListRelationFilter;
299
+ phaseAttachments?: Prisma.PhaseEventAttachmentListRelationFilter;
297
300
  }, "id">;
298
301
  export type EventHandlerOrderByWithAggregationInput = {
299
302
  id?: Prisma.SortOrder;
@@ -352,6 +355,7 @@ export type EventHandlerCreateInput = {
352
355
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
353
356
  executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
354
357
  stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
358
+ phaseAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutHandlerInput;
355
359
  };
356
360
  export type EventHandlerUncheckedCreateInput = {
357
361
  id?: string;
@@ -370,6 +374,7 @@ export type EventHandlerUncheckedCreateInput = {
370
374
  updatedAt?: Date | string;
371
375
  executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
372
376
  stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
377
+ phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
373
378
  };
374
379
  export type EventHandlerUpdateInput = {
375
380
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -388,6 +393,7 @@ export type EventHandlerUpdateInput = {
388
393
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
389
394
  executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
390
395
  stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
396
+ phaseAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput;
391
397
  };
392
398
  export type EventHandlerUncheckedUpdateInput = {
393
399
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -406,6 +412,7 @@ export type EventHandlerUncheckedUpdateInput = {
406
412
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
407
413
  executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
408
414
  stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
415
+ phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
409
416
  };
410
417
  export type EventHandlerCreateManyInput = {
411
418
  id?: string;
@@ -564,6 +571,18 @@ export type EventHandlerUncheckedUpdateManyWithoutTenantNestedInput = {
564
571
  updateMany?: Prisma.EventHandlerUpdateManyWithWhereWithoutTenantInput | Prisma.EventHandlerUpdateManyWithWhereWithoutTenantInput[];
565
572
  deleteMany?: Prisma.EventHandlerScalarWhereInput | Prisma.EventHandlerScalarWhereInput[];
566
573
  };
574
+ export type EventHandlerCreateNestedOneWithoutPhaseAttachmentsInput = {
575
+ create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutPhaseAttachmentsInput, Prisma.EventHandlerUncheckedCreateWithoutPhaseAttachmentsInput>;
576
+ connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutPhaseAttachmentsInput;
577
+ connect?: Prisma.EventHandlerWhereUniqueInput;
578
+ };
579
+ export type EventHandlerUpdateOneRequiredWithoutPhaseAttachmentsNestedInput = {
580
+ create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutPhaseAttachmentsInput, Prisma.EventHandlerUncheckedCreateWithoutPhaseAttachmentsInput>;
581
+ connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutPhaseAttachmentsInput;
582
+ upsert?: Prisma.EventHandlerUpsertWithoutPhaseAttachmentsInput;
583
+ connect?: Prisma.EventHandlerWhereUniqueInput;
584
+ update?: Prisma.XOR<Prisma.XOR<Prisma.EventHandlerUpdateToOneWithWhereWithoutPhaseAttachmentsInput, Prisma.EventHandlerUpdateWithoutPhaseAttachmentsInput>, Prisma.EventHandlerUncheckedUpdateWithoutPhaseAttachmentsInput>;
585
+ };
567
586
  export type EventHandlerCreateNestedOneWithoutStepAttachmentsInput = {
568
587
  create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutStepAttachmentsInput, Prisma.EventHandlerUncheckedCreateWithoutStepAttachmentsInput>;
569
588
  connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutStepAttachmentsInput;
@@ -645,6 +664,7 @@ export type EventHandlerCreateWithoutTenantInput = {
645
664
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
646
665
  executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
647
666
  stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
667
+ phaseAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutHandlerInput;
648
668
  };
649
669
  export type EventHandlerUncheckedCreateWithoutTenantInput = {
650
670
  id?: string;
@@ -662,6 +682,7 @@ export type EventHandlerUncheckedCreateWithoutTenantInput = {
662
682
  updatedAt?: Date | string;
663
683
  executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
664
684
  stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
685
+ phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
665
686
  };
666
687
  export type EventHandlerCreateOrConnectWithoutTenantInput = {
667
688
  where: Prisma.EventHandlerWhereUniqueInput;
@@ -703,6 +724,91 @@ export type EventHandlerScalarWhereInput = {
703
724
  createdAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
704
725
  updatedAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
705
726
  };
727
+ export type EventHandlerCreateWithoutPhaseAttachmentsInput = {
728
+ id?: string;
729
+ name: string;
730
+ description?: string | null;
731
+ handlerType: $Enums.EventHandlerType;
732
+ config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
733
+ priority?: number;
734
+ enabled?: boolean;
735
+ maxRetries?: number;
736
+ retryDelayMs?: number;
737
+ filterCondition?: string | null;
738
+ createdAt?: Date | string;
739
+ updatedAt?: Date | string;
740
+ tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
741
+ eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
742
+ executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
743
+ stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
744
+ };
745
+ export type EventHandlerUncheckedCreateWithoutPhaseAttachmentsInput = {
746
+ id?: string;
747
+ tenantId: string;
748
+ eventTypeId: string;
749
+ name: string;
750
+ description?: string | null;
751
+ handlerType: $Enums.EventHandlerType;
752
+ config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
753
+ priority?: number;
754
+ enabled?: boolean;
755
+ maxRetries?: number;
756
+ retryDelayMs?: number;
757
+ filterCondition?: string | null;
758
+ createdAt?: Date | string;
759
+ updatedAt?: Date | string;
760
+ executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
761
+ stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
762
+ };
763
+ export type EventHandlerCreateOrConnectWithoutPhaseAttachmentsInput = {
764
+ where: Prisma.EventHandlerWhereUniqueInput;
765
+ create: Prisma.XOR<Prisma.EventHandlerCreateWithoutPhaseAttachmentsInput, Prisma.EventHandlerUncheckedCreateWithoutPhaseAttachmentsInput>;
766
+ };
767
+ export type EventHandlerUpsertWithoutPhaseAttachmentsInput = {
768
+ update: Prisma.XOR<Prisma.EventHandlerUpdateWithoutPhaseAttachmentsInput, Prisma.EventHandlerUncheckedUpdateWithoutPhaseAttachmentsInput>;
769
+ create: Prisma.XOR<Prisma.EventHandlerCreateWithoutPhaseAttachmentsInput, Prisma.EventHandlerUncheckedCreateWithoutPhaseAttachmentsInput>;
770
+ where?: Prisma.EventHandlerWhereInput;
771
+ };
772
+ export type EventHandlerUpdateToOneWithWhereWithoutPhaseAttachmentsInput = {
773
+ where?: Prisma.EventHandlerWhereInput;
774
+ data: Prisma.XOR<Prisma.EventHandlerUpdateWithoutPhaseAttachmentsInput, Prisma.EventHandlerUncheckedUpdateWithoutPhaseAttachmentsInput>;
775
+ };
776
+ export type EventHandlerUpdateWithoutPhaseAttachmentsInput = {
777
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
778
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
779
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
780
+ handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
781
+ config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
782
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
783
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
784
+ maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
785
+ retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
786
+ filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
787
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
788
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
789
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
790
+ eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
791
+ executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
792
+ stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
793
+ };
794
+ export type EventHandlerUncheckedUpdateWithoutPhaseAttachmentsInput = {
795
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
796
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
797
+ eventTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
798
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
799
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
800
+ handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
801
+ config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
802
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
803
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
804
+ maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
805
+ retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
806
+ filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
807
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
808
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
809
+ executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
810
+ stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
811
+ };
706
812
  export type EventHandlerCreateWithoutStepAttachmentsInput = {
707
813
  id?: string;
708
814
  name: string;
@@ -719,6 +825,7 @@ export type EventHandlerCreateWithoutStepAttachmentsInput = {
719
825
  tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
720
826
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
721
827
  executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
828
+ phaseAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutHandlerInput;
722
829
  };
723
830
  export type EventHandlerUncheckedCreateWithoutStepAttachmentsInput = {
724
831
  id?: string;
@@ -736,6 +843,7 @@ export type EventHandlerUncheckedCreateWithoutStepAttachmentsInput = {
736
843
  createdAt?: Date | string;
737
844
  updatedAt?: Date | string;
738
845
  executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
846
+ phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
739
847
  };
740
848
  export type EventHandlerCreateOrConnectWithoutStepAttachmentsInput = {
741
849
  where: Prisma.EventHandlerWhereUniqueInput;
@@ -766,6 +874,7 @@ export type EventHandlerUpdateWithoutStepAttachmentsInput = {
766
874
  tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
767
875
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
768
876
  executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
877
+ phaseAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput;
769
878
  };
770
879
  export type EventHandlerUncheckedUpdateWithoutStepAttachmentsInput = {
771
880
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -783,6 +892,7 @@ export type EventHandlerUncheckedUpdateWithoutStepAttachmentsInput = {
783
892
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
784
893
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
785
894
  executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
895
+ phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
786
896
  };
787
897
  export type EventHandlerCreateWithoutEventTypeInput = {
788
898
  id?: string;
@@ -800,6 +910,7 @@ export type EventHandlerCreateWithoutEventTypeInput = {
800
910
  tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
801
911
  executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
802
912
  stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
913
+ phaseAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutHandlerInput;
803
914
  };
804
915
  export type EventHandlerUncheckedCreateWithoutEventTypeInput = {
805
916
  id?: string;
@@ -817,6 +928,7 @@ export type EventHandlerUncheckedCreateWithoutEventTypeInput = {
817
928
  updatedAt?: Date | string;
818
929
  executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
819
930
  stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
931
+ phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
820
932
  };
821
933
  export type EventHandlerCreateOrConnectWithoutEventTypeInput = {
822
934
  where: Prisma.EventHandlerWhereUniqueInput;
@@ -855,6 +967,7 @@ export type EventHandlerCreateWithoutExecutionsInput = {
855
967
  tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
856
968
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
857
969
  stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
970
+ phaseAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutHandlerInput;
858
971
  };
859
972
  export type EventHandlerUncheckedCreateWithoutExecutionsInput = {
860
973
  id?: string;
@@ -872,6 +985,7 @@ export type EventHandlerUncheckedCreateWithoutExecutionsInput = {
872
985
  createdAt?: Date | string;
873
986
  updatedAt?: Date | string;
874
987
  stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
988
+ phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
875
989
  };
876
990
  export type EventHandlerCreateOrConnectWithoutExecutionsInput = {
877
991
  where: Prisma.EventHandlerWhereUniqueInput;
@@ -902,6 +1016,7 @@ export type EventHandlerUpdateWithoutExecutionsInput = {
902
1016
  tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
903
1017
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
904
1018
  stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
1019
+ phaseAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput;
905
1020
  };
906
1021
  export type EventHandlerUncheckedUpdateWithoutExecutionsInput = {
907
1022
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -919,6 +1034,7 @@ export type EventHandlerUncheckedUpdateWithoutExecutionsInput = {
919
1034
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
920
1035
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
921
1036
  stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
1037
+ phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
922
1038
  };
923
1039
  export type EventHandlerCreateManyTenantInput = {
924
1040
  id?: string;
@@ -951,6 +1067,7 @@ export type EventHandlerUpdateWithoutTenantInput = {
951
1067
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
952
1068
  executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
953
1069
  stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
1070
+ phaseAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput;
954
1071
  };
955
1072
  export type EventHandlerUncheckedUpdateWithoutTenantInput = {
956
1073
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -968,6 +1085,7 @@ export type EventHandlerUncheckedUpdateWithoutTenantInput = {
968
1085
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
969
1086
  executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
970
1087
  stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
1088
+ phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
971
1089
  };
972
1090
  export type EventHandlerUncheckedUpdateManyWithoutTenantInput = {
973
1091
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1015,6 +1133,7 @@ export type EventHandlerUpdateWithoutEventTypeInput = {
1015
1133
  tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
1016
1134
  executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
1017
1135
  stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
1136
+ phaseAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput;
1018
1137
  };
1019
1138
  export type EventHandlerUncheckedUpdateWithoutEventTypeInput = {
1020
1139
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1032,6 +1151,7 @@ export type EventHandlerUncheckedUpdateWithoutEventTypeInput = {
1032
1151
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1033
1152
  executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
1034
1153
  stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
1154
+ phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
1035
1155
  };
1036
1156
  export type EventHandlerUncheckedUpdateManyWithoutEventTypeInput = {
1037
1157
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1054,10 +1174,12 @@ export type EventHandlerUncheckedUpdateManyWithoutEventTypeInput = {
1054
1174
  export type EventHandlerCountOutputType = {
1055
1175
  executions: number;
1056
1176
  stepAttachments: number;
1177
+ phaseAttachments: number;
1057
1178
  };
1058
1179
  export type EventHandlerCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1059
1180
  executions?: boolean | EventHandlerCountOutputTypeCountExecutionsArgs;
1060
1181
  stepAttachments?: boolean | EventHandlerCountOutputTypeCountStepAttachmentsArgs;
1182
+ phaseAttachments?: boolean | EventHandlerCountOutputTypeCountPhaseAttachmentsArgs;
1061
1183
  };
1062
1184
  /**
1063
1185
  * EventHandlerCountOutputType without action
@@ -1080,6 +1202,12 @@ export type EventHandlerCountOutputTypeCountExecutionsArgs<ExtArgs extends runti
1080
1202
  export type EventHandlerCountOutputTypeCountStepAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1081
1203
  where?: Prisma.StepEventAttachmentWhereInput;
1082
1204
  };
1205
+ /**
1206
+ * EventHandlerCountOutputType without action
1207
+ */
1208
+ export type EventHandlerCountOutputTypeCountPhaseAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1209
+ where?: Prisma.PhaseEventAttachmentWhereInput;
1210
+ };
1083
1211
  export type EventHandlerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1084
1212
  id?: boolean;
1085
1213
  tenantId?: boolean;
@@ -1099,6 +1227,7 @@ export type EventHandlerSelect<ExtArgs extends runtime.Types.Extensions.Internal
1099
1227
  eventType?: boolean | Prisma.EventTypeDefaultArgs<ExtArgs>;
1100
1228
  executions?: boolean | Prisma.EventHandler$executionsArgs<ExtArgs>;
1101
1229
  stepAttachments?: boolean | Prisma.EventHandler$stepAttachmentsArgs<ExtArgs>;
1230
+ phaseAttachments?: boolean | Prisma.EventHandler$phaseAttachmentsArgs<ExtArgs>;
1102
1231
  _count?: boolean | Prisma.EventHandlerCountOutputTypeDefaultArgs<ExtArgs>;
1103
1232
  }, ExtArgs["result"]["eventHandler"]>;
1104
1233
  export type EventHandlerSelectScalar = {
@@ -1123,6 +1252,7 @@ export type EventHandlerInclude<ExtArgs extends runtime.Types.Extensions.Interna
1123
1252
  eventType?: boolean | Prisma.EventTypeDefaultArgs<ExtArgs>;
1124
1253
  executions?: boolean | Prisma.EventHandler$executionsArgs<ExtArgs>;
1125
1254
  stepAttachments?: boolean | Prisma.EventHandler$stepAttachmentsArgs<ExtArgs>;
1255
+ phaseAttachments?: boolean | Prisma.EventHandler$phaseAttachmentsArgs<ExtArgs>;
1126
1256
  _count?: boolean | Prisma.EventHandlerCountOutputTypeDefaultArgs<ExtArgs>;
1127
1257
  };
1128
1258
  export type $EventHandlerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1138,6 +1268,10 @@ export type $EventHandlerPayload<ExtArgs extends runtime.Types.Extensions.Intern
1138
1268
  * Step attachments - steps that have attached this handler
1139
1269
  */
1140
1270
  stepAttachments: Prisma.$StepEventAttachmentPayload<ExtArgs>[];
1271
+ /**
1272
+ * Phase attachments - phases that have attached this handler
1273
+ */
1274
+ phaseAttachments: Prisma.$PhaseEventAttachmentPayload<ExtArgs>[];
1141
1275
  };
1142
1276
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1143
1277
  id: string;
@@ -1467,6 +1601,7 @@ export interface Prisma__EventHandlerClient<T, Null = never, ExtArgs extends run
1467
1601
  eventType<T extends Prisma.EventTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__EventTypeClient<runtime.Types.Result.GetResult<Prisma.$EventTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1468
1602
  executions<T extends Prisma.EventHandler$executionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventHandler$executionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1469
1603
  stepAttachments<T extends Prisma.EventHandler$stepAttachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventHandler$stepAttachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StepEventAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1604
+ phaseAttachments<T extends Prisma.EventHandler$phaseAttachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventHandler$phaseAttachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1470
1605
  /**
1471
1606
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1472
1607
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1879,6 +2014,29 @@ export type EventHandler$stepAttachmentsArgs<ExtArgs extends runtime.Types.Exten
1879
2014
  skip?: number;
1880
2015
  distinct?: Prisma.StepEventAttachmentScalarFieldEnum | Prisma.StepEventAttachmentScalarFieldEnum[];
1881
2016
  };
2017
+ /**
2018
+ * EventHandler.phaseAttachments
2019
+ */
2020
+ export type EventHandler$phaseAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2021
+ /**
2022
+ * Select specific fields to fetch from the PhaseEventAttachment
2023
+ */
2024
+ select?: Prisma.PhaseEventAttachmentSelect<ExtArgs> | null;
2025
+ /**
2026
+ * Omit specific fields from the PhaseEventAttachment
2027
+ */
2028
+ omit?: Prisma.PhaseEventAttachmentOmit<ExtArgs> | null;
2029
+ /**
2030
+ * Choose, which related nodes to fetch as well
2031
+ */
2032
+ include?: Prisma.PhaseEventAttachmentInclude<ExtArgs> | null;
2033
+ where?: Prisma.PhaseEventAttachmentWhereInput;
2034
+ orderBy?: Prisma.PhaseEventAttachmentOrderByWithRelationInput | Prisma.PhaseEventAttachmentOrderByWithRelationInput[];
2035
+ cursor?: Prisma.PhaseEventAttachmentWhereUniqueInput;
2036
+ take?: number;
2037
+ skip?: number;
2038
+ distinct?: Prisma.PhaseEventAttachmentScalarFieldEnum | Prisma.PhaseEventAttachmentScalarFieldEnum[];
2039
+ };
1882
2040
  /**
1883
2041
  * EventHandler without action
1884
2042
  */