@valentine-efagene/qshelter-common 2.0.71 → 2.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/generated/client/browser.d.ts +11 -0
  2. package/dist/generated/client/client.d.ts +11 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +60 -0
  4. package/dist/generated/client/enums.d.ts +18 -0
  5. package/dist/generated/client/enums.js +17 -1
  6. package/dist/generated/client/internal/class.d.ts +22 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +199 -1
  9. package/dist/generated/client/internal/prismaNamespace.js +55 -3
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +56 -0
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +55 -3
  12. package/dist/generated/client/models/Contract.d.ts +1522 -280
  13. package/dist/generated/client/models/EventHandler.d.ts +154 -4
  14. package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +133 -0
  15. package/dist/generated/client/models/PropertyTransferRequest.d.ts +2535 -0
  16. package/dist/generated/client/models/PropertyTransferRequest.js +1 -0
  17. package/dist/generated/client/models/PropertyUnit.d.ts +147 -0
  18. package/dist/generated/client/models/StepEventAttachment.d.ts +1331 -0
  19. package/dist/generated/client/models/StepEventAttachment.js +1 -0
  20. package/dist/generated/client/models/Tenant.d.ts +219 -0
  21. package/dist/generated/client/models/User.d.ts +632 -0
  22. package/dist/generated/client/models.d.ts +2 -0
  23. package/dist/src/events/workflow-event.service.d.ts +1 -1
  24. package/package.json +1 -1
  25. package/prisma/migrations/20260106062140_add_step_event_attachments/migration.sql +22 -0
  26. package/prisma/migrations/20260107121844_add_property_transfer_requests/migration.sql +64 -0
  27. package/prisma/schema.prisma +134 -0
@@ -249,6 +249,7 @@ export type EventHandlerWhereInput = {
249
249
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
250
250
  eventType?: Prisma.XOR<Prisma.EventTypeScalarRelationFilter, Prisma.EventTypeWhereInput>;
251
251
  executions?: Prisma.EventHandlerExecutionListRelationFilter;
252
+ stepAttachments?: Prisma.StepEventAttachmentListRelationFilter;
252
253
  };
253
254
  export type EventHandlerOrderByWithRelationInput = {
254
255
  id?: Prisma.SortOrder;
@@ -268,6 +269,7 @@ export type EventHandlerOrderByWithRelationInput = {
268
269
  tenant?: Prisma.TenantOrderByWithRelationInput;
269
270
  eventType?: Prisma.EventTypeOrderByWithRelationInput;
270
271
  executions?: Prisma.EventHandlerExecutionOrderByRelationAggregateInput;
272
+ stepAttachments?: Prisma.StepEventAttachmentOrderByRelationAggregateInput;
271
273
  _relevance?: Prisma.EventHandlerOrderByRelevanceInput;
272
274
  };
273
275
  export type EventHandlerWhereUniqueInput = Prisma.AtLeast<{
@@ -291,6 +293,7 @@ export type EventHandlerWhereUniqueInput = Prisma.AtLeast<{
291
293
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
292
294
  eventType?: Prisma.XOR<Prisma.EventTypeScalarRelationFilter, Prisma.EventTypeWhereInput>;
293
295
  executions?: Prisma.EventHandlerExecutionListRelationFilter;
296
+ stepAttachments?: Prisma.StepEventAttachmentListRelationFilter;
294
297
  }, "id">;
295
298
  export type EventHandlerOrderByWithAggregationInput = {
296
299
  id?: Prisma.SortOrder;
@@ -348,6 +351,7 @@ export type EventHandlerCreateInput = {
348
351
  tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
349
352
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
350
353
  executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
354
+ stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
351
355
  };
352
356
  export type EventHandlerUncheckedCreateInput = {
353
357
  id?: string;
@@ -365,6 +369,7 @@ export type EventHandlerUncheckedCreateInput = {
365
369
  createdAt?: Date | string;
366
370
  updatedAt?: Date | string;
367
371
  executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
372
+ stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
368
373
  };
369
374
  export type EventHandlerUpdateInput = {
370
375
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -382,6 +387,7 @@ export type EventHandlerUpdateInput = {
382
387
  tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
383
388
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
384
389
  executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
390
+ stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
385
391
  };
386
392
  export type EventHandlerUncheckedUpdateInput = {
387
393
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -399,6 +405,7 @@ export type EventHandlerUncheckedUpdateInput = {
399
405
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
400
406
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
401
407
  executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
408
+ stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
402
409
  };
403
410
  export type EventHandlerCreateManyInput = {
404
411
  id?: string;
@@ -454,6 +461,10 @@ export type EventHandlerListRelationFilter = {
454
461
  export type EventHandlerOrderByRelationAggregateInput = {
455
462
  _count?: Prisma.SortOrder;
456
463
  };
464
+ export type EventHandlerScalarRelationFilter = {
465
+ is?: Prisma.EventHandlerWhereInput;
466
+ isNot?: Prisma.EventHandlerWhereInput;
467
+ };
457
468
  export type EventHandlerOrderByRelevanceInput = {
458
469
  fields: Prisma.EventHandlerOrderByRelevanceFieldEnum | Prisma.EventHandlerOrderByRelevanceFieldEnum[];
459
470
  sort: Prisma.SortOrder;
@@ -515,10 +526,6 @@ export type EventHandlerSumOrderByAggregateInput = {
515
526
  maxRetries?: Prisma.SortOrder;
516
527
  retryDelayMs?: Prisma.SortOrder;
517
528
  };
518
- export type EventHandlerScalarRelationFilter = {
519
- is?: Prisma.EventHandlerWhereInput;
520
- isNot?: Prisma.EventHandlerWhereInput;
521
- };
522
529
  export type EventHandlerCreateNestedManyWithoutTenantInput = {
523
530
  create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutTenantInput, Prisma.EventHandlerUncheckedCreateWithoutTenantInput> | Prisma.EventHandlerCreateWithoutTenantInput[] | Prisma.EventHandlerUncheckedCreateWithoutTenantInput[];
524
531
  connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutTenantInput | Prisma.EventHandlerCreateOrConnectWithoutTenantInput[];
@@ -557,6 +564,18 @@ export type EventHandlerUncheckedUpdateManyWithoutTenantNestedInput = {
557
564
  updateMany?: Prisma.EventHandlerUpdateManyWithWhereWithoutTenantInput | Prisma.EventHandlerUpdateManyWithWhereWithoutTenantInput[];
558
565
  deleteMany?: Prisma.EventHandlerScalarWhereInput | Prisma.EventHandlerScalarWhereInput[];
559
566
  };
567
+ export type EventHandlerCreateNestedOneWithoutStepAttachmentsInput = {
568
+ create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutStepAttachmentsInput, Prisma.EventHandlerUncheckedCreateWithoutStepAttachmentsInput>;
569
+ connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutStepAttachmentsInput;
570
+ connect?: Prisma.EventHandlerWhereUniqueInput;
571
+ };
572
+ export type EventHandlerUpdateOneRequiredWithoutStepAttachmentsNestedInput = {
573
+ create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutStepAttachmentsInput, Prisma.EventHandlerUncheckedCreateWithoutStepAttachmentsInput>;
574
+ connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutStepAttachmentsInput;
575
+ upsert?: Prisma.EventHandlerUpsertWithoutStepAttachmentsInput;
576
+ connect?: Prisma.EventHandlerWhereUniqueInput;
577
+ update?: Prisma.XOR<Prisma.XOR<Prisma.EventHandlerUpdateToOneWithWhereWithoutStepAttachmentsInput, Prisma.EventHandlerUpdateWithoutStepAttachmentsInput>, Prisma.EventHandlerUncheckedUpdateWithoutStepAttachmentsInput>;
578
+ };
560
579
  export type EventHandlerCreateNestedManyWithoutEventTypeInput = {
561
580
  create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutEventTypeInput, Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput> | Prisma.EventHandlerCreateWithoutEventTypeInput[] | Prisma.EventHandlerUncheckedCreateWithoutEventTypeInput[];
562
581
  connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutEventTypeInput | Prisma.EventHandlerCreateOrConnectWithoutEventTypeInput[];
@@ -625,6 +644,7 @@ export type EventHandlerCreateWithoutTenantInput = {
625
644
  updatedAt?: Date | string;
626
645
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
627
646
  executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
647
+ stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
628
648
  };
629
649
  export type EventHandlerUncheckedCreateWithoutTenantInput = {
630
650
  id?: string;
@@ -641,6 +661,7 @@ export type EventHandlerUncheckedCreateWithoutTenantInput = {
641
661
  createdAt?: Date | string;
642
662
  updatedAt?: Date | string;
643
663
  executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
664
+ stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
644
665
  };
645
666
  export type EventHandlerCreateOrConnectWithoutTenantInput = {
646
667
  where: Prisma.EventHandlerWhereUniqueInput;
@@ -682,6 +703,87 @@ export type EventHandlerScalarWhereInput = {
682
703
  createdAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
683
704
  updatedAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
684
705
  };
706
+ export type EventHandlerCreateWithoutStepAttachmentsInput = {
707
+ id?: string;
708
+ name: string;
709
+ description?: string | null;
710
+ handlerType: $Enums.EventHandlerType;
711
+ config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
712
+ priority?: number;
713
+ enabled?: boolean;
714
+ maxRetries?: number;
715
+ retryDelayMs?: number;
716
+ filterCondition?: string | null;
717
+ createdAt?: Date | string;
718
+ updatedAt?: Date | string;
719
+ tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
720
+ eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
721
+ executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
722
+ };
723
+ export type EventHandlerUncheckedCreateWithoutStepAttachmentsInput = {
724
+ id?: string;
725
+ tenantId: string;
726
+ eventTypeId: string;
727
+ name: string;
728
+ description?: string | null;
729
+ handlerType: $Enums.EventHandlerType;
730
+ config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
731
+ priority?: number;
732
+ enabled?: boolean;
733
+ maxRetries?: number;
734
+ retryDelayMs?: number;
735
+ filterCondition?: string | null;
736
+ createdAt?: Date | string;
737
+ updatedAt?: Date | string;
738
+ executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
739
+ };
740
+ export type EventHandlerCreateOrConnectWithoutStepAttachmentsInput = {
741
+ where: Prisma.EventHandlerWhereUniqueInput;
742
+ create: Prisma.XOR<Prisma.EventHandlerCreateWithoutStepAttachmentsInput, Prisma.EventHandlerUncheckedCreateWithoutStepAttachmentsInput>;
743
+ };
744
+ export type EventHandlerUpsertWithoutStepAttachmentsInput = {
745
+ update: Prisma.XOR<Prisma.EventHandlerUpdateWithoutStepAttachmentsInput, Prisma.EventHandlerUncheckedUpdateWithoutStepAttachmentsInput>;
746
+ create: Prisma.XOR<Prisma.EventHandlerCreateWithoutStepAttachmentsInput, Prisma.EventHandlerUncheckedCreateWithoutStepAttachmentsInput>;
747
+ where?: Prisma.EventHandlerWhereInput;
748
+ };
749
+ export type EventHandlerUpdateToOneWithWhereWithoutStepAttachmentsInput = {
750
+ where?: Prisma.EventHandlerWhereInput;
751
+ data: Prisma.XOR<Prisma.EventHandlerUpdateWithoutStepAttachmentsInput, Prisma.EventHandlerUncheckedUpdateWithoutStepAttachmentsInput>;
752
+ };
753
+ export type EventHandlerUpdateWithoutStepAttachmentsInput = {
754
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
755
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
756
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
757
+ handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
758
+ config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
759
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
760
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
761
+ maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
762
+ retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
763
+ filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
764
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
765
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
766
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
767
+ eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
768
+ executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
769
+ };
770
+ export type EventHandlerUncheckedUpdateWithoutStepAttachmentsInput = {
771
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
772
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
773
+ eventTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
774
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
775
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
776
+ handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
777
+ config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
778
+ priority?: Prisma.IntFieldUpdateOperationsInput | number;
779
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
780
+ maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
781
+ retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
782
+ filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
783
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
784
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
785
+ executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
786
+ };
685
787
  export type EventHandlerCreateWithoutEventTypeInput = {
686
788
  id?: string;
687
789
  name: string;
@@ -697,6 +799,7 @@ export type EventHandlerCreateWithoutEventTypeInput = {
697
799
  updatedAt?: Date | string;
698
800
  tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
699
801
  executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
802
+ stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
700
803
  };
701
804
  export type EventHandlerUncheckedCreateWithoutEventTypeInput = {
702
805
  id?: string;
@@ -713,6 +816,7 @@ export type EventHandlerUncheckedCreateWithoutEventTypeInput = {
713
816
  createdAt?: Date | string;
714
817
  updatedAt?: Date | string;
715
818
  executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
819
+ stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
716
820
  };
717
821
  export type EventHandlerCreateOrConnectWithoutEventTypeInput = {
718
822
  where: Prisma.EventHandlerWhereUniqueInput;
@@ -750,6 +854,7 @@ export type EventHandlerCreateWithoutExecutionsInput = {
750
854
  updatedAt?: Date | string;
751
855
  tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
752
856
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
857
+ stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
753
858
  };
754
859
  export type EventHandlerUncheckedCreateWithoutExecutionsInput = {
755
860
  id?: string;
@@ -766,6 +871,7 @@ export type EventHandlerUncheckedCreateWithoutExecutionsInput = {
766
871
  filterCondition?: string | null;
767
872
  createdAt?: Date | string;
768
873
  updatedAt?: Date | string;
874
+ stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
769
875
  };
770
876
  export type EventHandlerCreateOrConnectWithoutExecutionsInput = {
771
877
  where: Prisma.EventHandlerWhereUniqueInput;
@@ -795,6 +901,7 @@ export type EventHandlerUpdateWithoutExecutionsInput = {
795
901
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
796
902
  tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
797
903
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
904
+ stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
798
905
  };
799
906
  export type EventHandlerUncheckedUpdateWithoutExecutionsInput = {
800
907
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -811,6 +918,7 @@ export type EventHandlerUncheckedUpdateWithoutExecutionsInput = {
811
918
  filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
812
919
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
813
920
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
921
+ stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
814
922
  };
815
923
  export type EventHandlerCreateManyTenantInput = {
816
924
  id?: string;
@@ -842,6 +950,7 @@ export type EventHandlerUpdateWithoutTenantInput = {
842
950
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
843
951
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
844
952
  executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
953
+ stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
845
954
  };
846
955
  export type EventHandlerUncheckedUpdateWithoutTenantInput = {
847
956
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -858,6 +967,7 @@ export type EventHandlerUncheckedUpdateWithoutTenantInput = {
858
967
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
859
968
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
860
969
  executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
970
+ stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
861
971
  };
862
972
  export type EventHandlerUncheckedUpdateManyWithoutTenantInput = {
863
973
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -904,6 +1014,7 @@ export type EventHandlerUpdateWithoutEventTypeInput = {
904
1014
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
905
1015
  tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
906
1016
  executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
1017
+ stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
907
1018
  };
908
1019
  export type EventHandlerUncheckedUpdateWithoutEventTypeInput = {
909
1020
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -920,6 +1031,7 @@ export type EventHandlerUncheckedUpdateWithoutEventTypeInput = {
920
1031
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
921
1032
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
922
1033
  executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
1034
+ stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
923
1035
  };
924
1036
  export type EventHandlerUncheckedUpdateManyWithoutEventTypeInput = {
925
1037
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -941,9 +1053,11 @@ export type EventHandlerUncheckedUpdateManyWithoutEventTypeInput = {
941
1053
  */
942
1054
  export type EventHandlerCountOutputType = {
943
1055
  executions: number;
1056
+ stepAttachments: number;
944
1057
  };
945
1058
  export type EventHandlerCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
946
1059
  executions?: boolean | EventHandlerCountOutputTypeCountExecutionsArgs;
1060
+ stepAttachments?: boolean | EventHandlerCountOutputTypeCountStepAttachmentsArgs;
947
1061
  };
948
1062
  /**
949
1063
  * EventHandlerCountOutputType without action
@@ -960,6 +1074,12 @@ export type EventHandlerCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types
960
1074
  export type EventHandlerCountOutputTypeCountExecutionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
961
1075
  where?: Prisma.EventHandlerExecutionWhereInput;
962
1076
  };
1077
+ /**
1078
+ * EventHandlerCountOutputType without action
1079
+ */
1080
+ export type EventHandlerCountOutputTypeCountStepAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1081
+ where?: Prisma.StepEventAttachmentWhereInput;
1082
+ };
963
1083
  export type EventHandlerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
964
1084
  id?: boolean;
965
1085
  tenantId?: boolean;
@@ -978,6 +1098,7 @@ export type EventHandlerSelect<ExtArgs extends runtime.Types.Extensions.Internal
978
1098
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
979
1099
  eventType?: boolean | Prisma.EventTypeDefaultArgs<ExtArgs>;
980
1100
  executions?: boolean | Prisma.EventHandler$executionsArgs<ExtArgs>;
1101
+ stepAttachments?: boolean | Prisma.EventHandler$stepAttachmentsArgs<ExtArgs>;
981
1102
  _count?: boolean | Prisma.EventHandlerCountOutputTypeDefaultArgs<ExtArgs>;
982
1103
  }, ExtArgs["result"]["eventHandler"]>;
983
1104
  export type EventHandlerSelectScalar = {
@@ -1001,6 +1122,7 @@ export type EventHandlerInclude<ExtArgs extends runtime.Types.Extensions.Interna
1001
1122
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1002
1123
  eventType?: boolean | Prisma.EventTypeDefaultArgs<ExtArgs>;
1003
1124
  executions?: boolean | Prisma.EventHandler$executionsArgs<ExtArgs>;
1125
+ stepAttachments?: boolean | Prisma.EventHandler$stepAttachmentsArgs<ExtArgs>;
1004
1126
  _count?: boolean | Prisma.EventHandlerCountOutputTypeDefaultArgs<ExtArgs>;
1005
1127
  };
1006
1128
  export type $EventHandlerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1012,6 +1134,10 @@ export type $EventHandlerPayload<ExtArgs extends runtime.Types.Extensions.Intern
1012
1134
  * Handler execution logs
1013
1135
  */
1014
1136
  executions: Prisma.$EventHandlerExecutionPayload<ExtArgs>[];
1137
+ /**
1138
+ * Step attachments - steps that have attached this handler
1139
+ */
1140
+ stepAttachments: Prisma.$StepEventAttachmentPayload<ExtArgs>[];
1015
1141
  };
1016
1142
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1017
1143
  id: string;
@@ -1340,6 +1466,7 @@ export interface Prisma__EventHandlerClient<T, Null = never, ExtArgs extends run
1340
1466
  tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1341
1467
  eventType<T extends Prisma.EventTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__EventTypeClient<runtime.Types.Result.GetResult<Prisma.$EventTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1342
1468
  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
+ 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>;
1343
1470
  /**
1344
1471
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1345
1472
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1729,6 +1856,29 @@ export type EventHandler$executionsArgs<ExtArgs extends runtime.Types.Extensions
1729
1856
  skip?: number;
1730
1857
  distinct?: Prisma.EventHandlerExecutionScalarFieldEnum | Prisma.EventHandlerExecutionScalarFieldEnum[];
1731
1858
  };
1859
+ /**
1860
+ * EventHandler.stepAttachments
1861
+ */
1862
+ export type EventHandler$stepAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1863
+ /**
1864
+ * Select specific fields to fetch from the StepEventAttachment
1865
+ */
1866
+ select?: Prisma.StepEventAttachmentSelect<ExtArgs> | null;
1867
+ /**
1868
+ * Omit specific fields from the StepEventAttachment
1869
+ */
1870
+ omit?: Prisma.StepEventAttachmentOmit<ExtArgs> | null;
1871
+ /**
1872
+ * Choose, which related nodes to fetch as well
1873
+ */
1874
+ include?: Prisma.StepEventAttachmentInclude<ExtArgs> | null;
1875
+ where?: Prisma.StepEventAttachmentWhereInput;
1876
+ orderBy?: Prisma.StepEventAttachmentOrderByWithRelationInput | Prisma.StepEventAttachmentOrderByWithRelationInput[];
1877
+ cursor?: Prisma.StepEventAttachmentWhereUniqueInput;
1878
+ take?: number;
1879
+ skip?: number;
1880
+ distinct?: Prisma.StepEventAttachmentScalarFieldEnum | Prisma.StepEventAttachmentScalarFieldEnum[];
1881
+ };
1732
1882
  /**
1733
1883
  * EventHandler without action
1734
1884
  */
@@ -190,6 +190,7 @@ export type PaymentMethodPhaseStepWhereInput = {
190
190
  createdAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
191
191
  updatedAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
192
192
  phase?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseScalarRelationFilter, Prisma.PropertyPaymentMethodPhaseWhereInput>;
193
+ eventAttachments?: Prisma.StepEventAttachmentListRelationFilter;
193
194
  };
194
195
  export type PaymentMethodPhaseStepOrderByWithRelationInput = {
195
196
  id?: Prisma.SortOrder;
@@ -201,6 +202,7 @@ export type PaymentMethodPhaseStepOrderByWithRelationInput = {
201
202
  createdAt?: Prisma.SortOrder;
202
203
  updatedAt?: Prisma.SortOrder;
203
204
  phase?: Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput;
205
+ eventAttachments?: Prisma.StepEventAttachmentOrderByRelationAggregateInput;
204
206
  _relevance?: Prisma.PaymentMethodPhaseStepOrderByRelevanceInput;
205
207
  };
206
208
  export type PaymentMethodPhaseStepWhereUniqueInput = Prisma.AtLeast<{
@@ -216,6 +218,7 @@ export type PaymentMethodPhaseStepWhereUniqueInput = Prisma.AtLeast<{
216
218
  createdAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
217
219
  updatedAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
218
220
  phase?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseScalarRelationFilter, Prisma.PropertyPaymentMethodPhaseWhereInput>;
221
+ eventAttachments?: Prisma.StepEventAttachmentListRelationFilter;
219
222
  }, "id">;
220
223
  export type PaymentMethodPhaseStepOrderByWithAggregationInput = {
221
224
  id?: Prisma.SortOrder;
@@ -254,6 +257,7 @@ export type PaymentMethodPhaseStepCreateInput = {
254
257
  createdAt?: Date | string;
255
258
  updatedAt?: Date | string;
256
259
  phase: Prisma.PropertyPaymentMethodPhaseCreateNestedOneWithoutStepsInput;
260
+ eventAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutStepInput;
257
261
  };
258
262
  export type PaymentMethodPhaseStepUncheckedCreateInput = {
259
263
  id?: string;
@@ -264,6 +268,7 @@ export type PaymentMethodPhaseStepUncheckedCreateInput = {
264
268
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
265
269
  createdAt?: Date | string;
266
270
  updatedAt?: Date | string;
271
+ eventAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutStepInput;
267
272
  };
268
273
  export type PaymentMethodPhaseStepUpdateInput = {
269
274
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -274,6 +279,7 @@ export type PaymentMethodPhaseStepUpdateInput = {
274
279
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
275
280
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
276
281
  phase?: Prisma.PropertyPaymentMethodPhaseUpdateOneRequiredWithoutStepsNestedInput;
282
+ eventAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutStepNestedInput;
277
283
  };
278
284
  export type PaymentMethodPhaseStepUncheckedUpdateInput = {
279
285
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -284,6 +290,7 @@ export type PaymentMethodPhaseStepUncheckedUpdateInput = {
284
290
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
285
291
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
286
292
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
293
+ eventAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutStepNestedInput;
287
294
  };
288
295
  export type PaymentMethodPhaseStepCreateManyInput = {
289
296
  id?: string;
@@ -361,6 +368,10 @@ export type PaymentMethodPhaseStepMinOrderByAggregateInput = {
361
368
  export type PaymentMethodPhaseStepSumOrderByAggregateInput = {
362
369
  order?: Prisma.SortOrder;
363
370
  };
371
+ export type PaymentMethodPhaseStepScalarRelationFilter = {
372
+ is?: Prisma.PaymentMethodPhaseStepWhereInput;
373
+ isNot?: Prisma.PaymentMethodPhaseStepWhereInput;
374
+ };
364
375
  export type PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput = {
365
376
  create?: Prisma.XOR<Prisma.PaymentMethodPhaseStepCreateWithoutPhaseInput, Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutPhaseInput> | Prisma.PaymentMethodPhaseStepCreateWithoutPhaseInput[] | Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutPhaseInput[];
366
377
  connectOrCreate?: Prisma.PaymentMethodPhaseStepCreateOrConnectWithoutPhaseInput | Prisma.PaymentMethodPhaseStepCreateOrConnectWithoutPhaseInput[];
@@ -402,6 +413,18 @@ export type PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput = {
402
413
  export type EnumStepTypeFieldUpdateOperationsInput = {
403
414
  set?: $Enums.StepType;
404
415
  };
416
+ export type PaymentMethodPhaseStepCreateNestedOneWithoutEventAttachmentsInput = {
417
+ create?: Prisma.XOR<Prisma.PaymentMethodPhaseStepCreateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutEventAttachmentsInput>;
418
+ connectOrCreate?: Prisma.PaymentMethodPhaseStepCreateOrConnectWithoutEventAttachmentsInput;
419
+ connect?: Prisma.PaymentMethodPhaseStepWhereUniqueInput;
420
+ };
421
+ export type PaymentMethodPhaseStepUpdateOneRequiredWithoutEventAttachmentsNestedInput = {
422
+ create?: Prisma.XOR<Prisma.PaymentMethodPhaseStepCreateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutEventAttachmentsInput>;
423
+ connectOrCreate?: Prisma.PaymentMethodPhaseStepCreateOrConnectWithoutEventAttachmentsInput;
424
+ upsert?: Prisma.PaymentMethodPhaseStepUpsertWithoutEventAttachmentsInput;
425
+ connect?: Prisma.PaymentMethodPhaseStepWhereUniqueInput;
426
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PaymentMethodPhaseStepUpdateToOneWithWhereWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUpdateWithoutEventAttachmentsInput>, Prisma.PaymentMethodPhaseStepUncheckedUpdateWithoutEventAttachmentsInput>;
427
+ };
405
428
  export type PaymentMethodPhaseStepCreateWithoutPhaseInput = {
406
429
  id?: string;
407
430
  name: string;
@@ -410,6 +433,7 @@ export type PaymentMethodPhaseStepCreateWithoutPhaseInput = {
410
433
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
411
434
  createdAt?: Date | string;
412
435
  updatedAt?: Date | string;
436
+ eventAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutStepInput;
413
437
  };
414
438
  export type PaymentMethodPhaseStepUncheckedCreateWithoutPhaseInput = {
415
439
  id?: string;
@@ -419,6 +443,7 @@ export type PaymentMethodPhaseStepUncheckedCreateWithoutPhaseInput = {
419
443
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
420
444
  createdAt?: Date | string;
421
445
  updatedAt?: Date | string;
446
+ eventAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutStepInput;
422
447
  };
423
448
  export type PaymentMethodPhaseStepCreateOrConnectWithoutPhaseInput = {
424
449
  where: Prisma.PaymentMethodPhaseStepWhereUniqueInput;
@@ -454,6 +479,59 @@ export type PaymentMethodPhaseStepScalarWhereInput = {
454
479
  createdAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
455
480
  updatedAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
456
481
  };
482
+ export type PaymentMethodPhaseStepCreateWithoutEventAttachmentsInput = {
483
+ id?: string;
484
+ name: string;
485
+ stepType: $Enums.StepType;
486
+ order: number;
487
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
488
+ createdAt?: Date | string;
489
+ updatedAt?: Date | string;
490
+ phase: Prisma.PropertyPaymentMethodPhaseCreateNestedOneWithoutStepsInput;
491
+ };
492
+ export type PaymentMethodPhaseStepUncheckedCreateWithoutEventAttachmentsInput = {
493
+ id?: string;
494
+ phaseId: string;
495
+ name: string;
496
+ stepType: $Enums.StepType;
497
+ order: number;
498
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
499
+ createdAt?: Date | string;
500
+ updatedAt?: Date | string;
501
+ };
502
+ export type PaymentMethodPhaseStepCreateOrConnectWithoutEventAttachmentsInput = {
503
+ where: Prisma.PaymentMethodPhaseStepWhereUniqueInput;
504
+ create: Prisma.XOR<Prisma.PaymentMethodPhaseStepCreateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutEventAttachmentsInput>;
505
+ };
506
+ export type PaymentMethodPhaseStepUpsertWithoutEventAttachmentsInput = {
507
+ update: Prisma.XOR<Prisma.PaymentMethodPhaseStepUpdateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedUpdateWithoutEventAttachmentsInput>;
508
+ create: Prisma.XOR<Prisma.PaymentMethodPhaseStepCreateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutEventAttachmentsInput>;
509
+ where?: Prisma.PaymentMethodPhaseStepWhereInput;
510
+ };
511
+ export type PaymentMethodPhaseStepUpdateToOneWithWhereWithoutEventAttachmentsInput = {
512
+ where?: Prisma.PaymentMethodPhaseStepWhereInput;
513
+ data: Prisma.XOR<Prisma.PaymentMethodPhaseStepUpdateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedUpdateWithoutEventAttachmentsInput>;
514
+ };
515
+ export type PaymentMethodPhaseStepUpdateWithoutEventAttachmentsInput = {
516
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
517
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
518
+ stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
519
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
520
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
521
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
522
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
523
+ phase?: Prisma.PropertyPaymentMethodPhaseUpdateOneRequiredWithoutStepsNestedInput;
524
+ };
525
+ export type PaymentMethodPhaseStepUncheckedUpdateWithoutEventAttachmentsInput = {
526
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
527
+ phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
528
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
529
+ stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
530
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
531
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
532
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
533
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
534
+ };
457
535
  export type PaymentMethodPhaseStepCreateManyPhaseInput = {
458
536
  id?: string;
459
537
  name: string;
@@ -471,6 +549,7 @@ export type PaymentMethodPhaseStepUpdateWithoutPhaseInput = {
471
549
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
472
550
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
473
551
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
552
+ eventAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutStepNestedInput;
474
553
  };
475
554
  export type PaymentMethodPhaseStepUncheckedUpdateWithoutPhaseInput = {
476
555
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -480,6 +559,7 @@ export type PaymentMethodPhaseStepUncheckedUpdateWithoutPhaseInput = {
480
559
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
481
560
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
482
561
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
562
+ eventAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutStepNestedInput;
483
563
  };
484
564
  export type PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseInput = {
485
565
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -490,6 +570,30 @@ export type PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseInput = {
490
570
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
491
571
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
492
572
  };
573
+ /**
574
+ * Count Type PaymentMethodPhaseStepCountOutputType
575
+ */
576
+ export type PaymentMethodPhaseStepCountOutputType = {
577
+ eventAttachments: number;
578
+ };
579
+ export type PaymentMethodPhaseStepCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
580
+ eventAttachments?: boolean | PaymentMethodPhaseStepCountOutputTypeCountEventAttachmentsArgs;
581
+ };
582
+ /**
583
+ * PaymentMethodPhaseStepCountOutputType without action
584
+ */
585
+ export type PaymentMethodPhaseStepCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
586
+ /**
587
+ * Select specific fields to fetch from the PaymentMethodPhaseStepCountOutputType
588
+ */
589
+ select?: Prisma.PaymentMethodPhaseStepCountOutputTypeSelect<ExtArgs> | null;
590
+ };
591
+ /**
592
+ * PaymentMethodPhaseStepCountOutputType without action
593
+ */
594
+ export type PaymentMethodPhaseStepCountOutputTypeCountEventAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
595
+ where?: Prisma.StepEventAttachmentWhereInput;
596
+ };
493
597
  export type PaymentMethodPhaseStepSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
494
598
  id?: boolean;
495
599
  phaseId?: boolean;
@@ -500,6 +604,8 @@ export type PaymentMethodPhaseStepSelect<ExtArgs extends runtime.Types.Extension
500
604
  createdAt?: boolean;
501
605
  updatedAt?: boolean;
502
606
  phase?: boolean | Prisma.PropertyPaymentMethodPhaseDefaultArgs<ExtArgs>;
607
+ eventAttachments?: boolean | Prisma.PaymentMethodPhaseStep$eventAttachmentsArgs<ExtArgs>;
608
+ _count?: boolean | Prisma.PaymentMethodPhaseStepCountOutputTypeDefaultArgs<ExtArgs>;
503
609
  }, ExtArgs["result"]["paymentMethodPhaseStep"]>;
504
610
  export type PaymentMethodPhaseStepSelectScalar = {
505
611
  id?: boolean;
@@ -514,11 +620,14 @@ export type PaymentMethodPhaseStepSelectScalar = {
514
620
  export type PaymentMethodPhaseStepOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phaseId" | "name" | "stepType" | "order" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentMethodPhaseStep"]>;
515
621
  export type PaymentMethodPhaseStepInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
516
622
  phase?: boolean | Prisma.PropertyPaymentMethodPhaseDefaultArgs<ExtArgs>;
623
+ eventAttachments?: boolean | Prisma.PaymentMethodPhaseStep$eventAttachmentsArgs<ExtArgs>;
624
+ _count?: boolean | Prisma.PaymentMethodPhaseStepCountOutputTypeDefaultArgs<ExtArgs>;
517
625
  };
518
626
  export type $PaymentMethodPhaseStepPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
519
627
  name: "PaymentMethodPhaseStep";
520
628
  objects: {
521
629
  phase: Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>;
630
+ eventAttachments: Prisma.$StepEventAttachmentPayload<ExtArgs>[];
522
631
  };
523
632
  scalars: runtime.Types.Extensions.GetPayloadResult<{
524
633
  id: string;
@@ -807,6 +916,7 @@ export interface PaymentMethodPhaseStepDelegate<ExtArgs extends runtime.Types.Ex
807
916
  export interface Prisma__PaymentMethodPhaseStepClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
808
917
  readonly [Symbol.toStringTag]: "PrismaPromise";
809
918
  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>;
919
+ eventAttachments<T extends Prisma.PaymentMethodPhaseStep$eventAttachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentMethodPhaseStep$eventAttachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StepEventAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
810
920
  /**
811
921
  * Attaches callbacks for the resolution and/or rejection of the Promise.
812
922
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1167,6 +1277,29 @@ export type PaymentMethodPhaseStepDeleteManyArgs<ExtArgs extends runtime.Types.E
1167
1277
  */
1168
1278
  limit?: number;
1169
1279
  };
1280
+ /**
1281
+ * PaymentMethodPhaseStep.eventAttachments
1282
+ */
1283
+ export type PaymentMethodPhaseStep$eventAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1284
+ /**
1285
+ * Select specific fields to fetch from the StepEventAttachment
1286
+ */
1287
+ select?: Prisma.StepEventAttachmentSelect<ExtArgs> | null;
1288
+ /**
1289
+ * Omit specific fields from the StepEventAttachment
1290
+ */
1291
+ omit?: Prisma.StepEventAttachmentOmit<ExtArgs> | null;
1292
+ /**
1293
+ * Choose, which related nodes to fetch as well
1294
+ */
1295
+ include?: Prisma.StepEventAttachmentInclude<ExtArgs> | null;
1296
+ where?: Prisma.StepEventAttachmentWhereInput;
1297
+ orderBy?: Prisma.StepEventAttachmentOrderByWithRelationInput | Prisma.StepEventAttachmentOrderByWithRelationInput[];
1298
+ cursor?: Prisma.StepEventAttachmentWhereUniqueInput;
1299
+ take?: number;
1300
+ skip?: number;
1301
+ distinct?: Prisma.StepEventAttachmentScalarFieldEnum | Prisma.StepEventAttachmentScalarFieldEnum[];
1302
+ };
1170
1303
  /**
1171
1304
  * PaymentMethodPhaseStep without action
1172
1305
  */