@valentine-efagene/qshelter-common 2.0.75 → 2.0.76

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 (36) hide show
  1. package/dist/generated/client/browser.d.ts +5 -5
  2. package/dist/generated/client/client.d.ts +5 -5
  3. package/dist/generated/client/internal/class.d.ts +11 -11
  4. package/dist/generated/client/internal/class.js +2 -2
  5. package/dist/generated/client/internal/prismaNamespace.d.ts +95 -95
  6. package/dist/generated/client/internal/prismaNamespace.js +25 -25
  7. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +27 -27
  8. package/dist/generated/client/internal/prismaNamespaceBrowser.js +25 -25
  9. package/dist/generated/client/models/Contract.d.ts +155 -155
  10. package/dist/generated/client/models/index.d.ts +3 -0
  11. package/dist/generated/client/models/index.js +3 -0
  12. package/dist/generated/client/models.d.ts +1 -1
  13. package/dist/src/events/bus/event-bus.service.d.ts +84 -0
  14. package/dist/src/events/bus/event-bus.service.js +372 -0
  15. package/dist/src/events/bus/event-bus.types.d.ts +73 -0
  16. package/dist/src/events/bus/event-bus.types.js +22 -0
  17. package/dist/src/events/index.d.ts +5 -6
  18. package/dist/src/events/index.js +7 -8
  19. package/dist/src/events/notifications/event-publisher.d.ts +41 -0
  20. package/dist/src/events/notifications/event-publisher.js +111 -0
  21. package/dist/src/events/notifications/notification-enums.d.ts +46 -0
  22. package/dist/src/events/notifications/notification-enums.js +59 -0
  23. package/dist/src/events/notifications/notification-event.d.ts +76 -0
  24. package/dist/src/events/notifications/notification-event.js +1 -0
  25. package/dist/src/events/unified/unified-event.service.d.ts +157 -0
  26. package/dist/src/events/unified/unified-event.service.js +177 -0
  27. package/dist/src/events/workflow/event-config.service.d.ts +123 -0
  28. package/dist/src/events/workflow/event-config.service.js +416 -0
  29. package/dist/src/events/workflow/event-seeder.d.ts +80 -0
  30. package/dist/src/events/workflow/event-seeder.js +343 -0
  31. package/dist/src/events/workflow/workflow-event.service.d.ts +230 -0
  32. package/dist/src/events/workflow/workflow-event.service.js +682 -0
  33. package/dist/src/events/workflow/workflow-types.d.ts +364 -0
  34. package/dist/src/events/workflow/workflow-types.js +22 -0
  35. package/package.json +4 -1
  36. package/prisma/schema.prisma +87 -79
@@ -469,7 +469,6 @@ export type ContractWhereInput = {
469
469
  phases?: Prisma.ContractPhaseListRelationFilter;
470
470
  documents?: Prisma.ContractDocumentListRelationFilter;
471
471
  payments?: Prisma.ContractPaymentListRelationFilter;
472
- events?: Prisma.ContractEventListRelationFilter;
473
472
  terminations?: Prisma.ContractTerminationListRelationFilter;
474
473
  offerLetters?: Prisma.OfferLetterListRelationFilter;
475
474
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
@@ -477,6 +476,7 @@ export type ContractWhereInput = {
477
476
  transferredTo?: Prisma.XOR<Prisma.ContractNullableScalarRelationFilter, Prisma.ContractWhereInput> | null;
478
477
  outgoingTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
479
478
  incomingTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
479
+ events?: Prisma.ContractEventListRelationFilter;
480
480
  };
481
481
  export type ContractOrderByWithRelationInput = {
482
482
  id?: Prisma.SortOrder;
@@ -523,7 +523,6 @@ export type ContractOrderByWithRelationInput = {
523
523
  phases?: Prisma.ContractPhaseOrderByRelationAggregateInput;
524
524
  documents?: Prisma.ContractDocumentOrderByRelationAggregateInput;
525
525
  payments?: Prisma.ContractPaymentOrderByRelationAggregateInput;
526
- events?: Prisma.ContractEventOrderByRelationAggregateInput;
527
526
  terminations?: Prisma.ContractTerminationOrderByRelationAggregateInput;
528
527
  offerLetters?: Prisma.OfferLetterOrderByRelationAggregateInput;
529
528
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestOrderByRelationAggregateInput;
@@ -531,6 +530,7 @@ export type ContractOrderByWithRelationInput = {
531
530
  transferredTo?: Prisma.ContractOrderByWithRelationInput;
532
531
  outgoingTransferRequests?: Prisma.PropertyTransferRequestOrderByRelationAggregateInput;
533
532
  incomingTransferRequests?: Prisma.PropertyTransferRequestOrderByRelationAggregateInput;
533
+ events?: Prisma.ContractEventOrderByRelationAggregateInput;
534
534
  _relevance?: Prisma.ContractOrderByRelevanceInput;
535
535
  };
536
536
  export type ContractWhereUniqueInput = Prisma.AtLeast<{
@@ -581,7 +581,6 @@ export type ContractWhereUniqueInput = Prisma.AtLeast<{
581
581
  phases?: Prisma.ContractPhaseListRelationFilter;
582
582
  documents?: Prisma.ContractDocumentListRelationFilter;
583
583
  payments?: Prisma.ContractPaymentListRelationFilter;
584
- events?: Prisma.ContractEventListRelationFilter;
585
584
  terminations?: Prisma.ContractTerminationListRelationFilter;
586
585
  offerLetters?: Prisma.OfferLetterListRelationFilter;
587
586
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
@@ -589,6 +588,7 @@ export type ContractWhereUniqueInput = Prisma.AtLeast<{
589
588
  transferredTo?: Prisma.XOR<Prisma.ContractNullableScalarRelationFilter, Prisma.ContractWhereInput> | null;
590
589
  outgoingTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
591
590
  incomingTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
591
+ events?: Prisma.ContractEventListRelationFilter;
592
592
  }, "id" | "contractNumber" | "transferredFromId">;
593
593
  export type ContractOrderByWithAggregationInput = {
594
594
  id?: Prisma.SortOrder;
@@ -713,7 +713,6 @@ export type ContractCreateInput = {
713
713
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
714
714
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
715
715
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
716
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
717
716
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
718
717
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
719
718
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
@@ -721,6 +720,7 @@ export type ContractCreateInput = {
721
720
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
722
721
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
723
722
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
723
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
724
724
  };
725
725
  export type ContractUncheckedCreateInput = {
726
726
  id?: string;
@@ -762,13 +762,13 @@ export type ContractUncheckedCreateInput = {
762
762
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
763
763
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
764
764
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
765
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
766
765
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
767
766
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
768
767
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
769
768
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
770
769
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
771
770
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
771
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
772
772
  };
773
773
  export type ContractUpdateInput = {
774
774
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -809,7 +809,6 @@ export type ContractUpdateInput = {
809
809
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
810
810
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
811
811
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
812
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
813
812
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
814
813
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
815
814
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
@@ -817,6 +816,7 @@ export type ContractUpdateInput = {
817
816
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
818
817
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
819
818
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
819
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
820
820
  };
821
821
  export type ContractUncheckedUpdateInput = {
822
822
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -858,13 +858,13 @@ export type ContractUncheckedUpdateInput = {
858
858
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
859
859
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
860
860
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
861
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
862
861
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
863
862
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
864
863
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
865
864
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
866
865
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
867
866
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
867
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
868
868
  };
869
869
  export type ContractCreateManyInput = {
870
870
  id?: string;
@@ -1384,6 +1384,18 @@ export type ContractUpdateOneRequiredWithoutPhasesNestedInput = {
1384
1384
  connect?: Prisma.ContractWhereUniqueInput;
1385
1385
  update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutPhasesInput, Prisma.ContractUpdateWithoutPhasesInput>, Prisma.ContractUncheckedUpdateWithoutPhasesInput>;
1386
1386
  };
1387
+ export type ContractCreateNestedOneWithoutEventsInput = {
1388
+ create?: Prisma.XOR<Prisma.ContractCreateWithoutEventsInput, Prisma.ContractUncheckedCreateWithoutEventsInput>;
1389
+ connectOrCreate?: Prisma.ContractCreateOrConnectWithoutEventsInput;
1390
+ connect?: Prisma.ContractWhereUniqueInput;
1391
+ };
1392
+ export type ContractUpdateOneRequiredWithoutEventsNestedInput = {
1393
+ create?: Prisma.XOR<Prisma.ContractCreateWithoutEventsInput, Prisma.ContractUncheckedCreateWithoutEventsInput>;
1394
+ connectOrCreate?: Prisma.ContractCreateOrConnectWithoutEventsInput;
1395
+ upsert?: Prisma.ContractUpsertWithoutEventsInput;
1396
+ connect?: Prisma.ContractWhereUniqueInput;
1397
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutEventsInput, Prisma.ContractUpdateWithoutEventsInput>, Prisma.ContractUncheckedUpdateWithoutEventsInput>;
1398
+ };
1387
1399
  export type ContractCreateNestedOneWithoutPaymentsInput = {
1388
1400
  create?: Prisma.XOR<Prisma.ContractCreateWithoutPaymentsInput, Prisma.ContractUncheckedCreateWithoutPaymentsInput>;
1389
1401
  connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPaymentsInput;
@@ -1408,18 +1420,6 @@ export type ContractUpdateOneRequiredWithoutDocumentsNestedInput = {
1408
1420
  connect?: Prisma.ContractWhereUniqueInput;
1409
1421
  update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutDocumentsInput, Prisma.ContractUpdateWithoutDocumentsInput>, Prisma.ContractUncheckedUpdateWithoutDocumentsInput>;
1410
1422
  };
1411
- export type ContractCreateNestedOneWithoutEventsInput = {
1412
- create?: Prisma.XOR<Prisma.ContractCreateWithoutEventsInput, Prisma.ContractUncheckedCreateWithoutEventsInput>;
1413
- connectOrCreate?: Prisma.ContractCreateOrConnectWithoutEventsInput;
1414
- connect?: Prisma.ContractWhereUniqueInput;
1415
- };
1416
- export type ContractUpdateOneRequiredWithoutEventsNestedInput = {
1417
- create?: Prisma.XOR<Prisma.ContractCreateWithoutEventsInput, Prisma.ContractUncheckedCreateWithoutEventsInput>;
1418
- connectOrCreate?: Prisma.ContractCreateOrConnectWithoutEventsInput;
1419
- upsert?: Prisma.ContractUpsertWithoutEventsInput;
1420
- connect?: Prisma.ContractWhereUniqueInput;
1421
- update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutEventsInput, Prisma.ContractUpdateWithoutEventsInput>, Prisma.ContractUncheckedUpdateWithoutEventsInput>;
1422
- };
1423
1423
  export type ContractCreateNestedOneWithoutOfferLettersInput = {
1424
1424
  create?: Prisma.XOR<Prisma.ContractCreateWithoutOfferLettersInput, Prisma.ContractUncheckedCreateWithoutOfferLettersInput>;
1425
1425
  connectOrCreate?: Prisma.ContractCreateOrConnectWithoutOfferLettersInput;
@@ -1520,7 +1520,6 @@ export type ContractCreateWithoutBuyerInput = {
1520
1520
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
1521
1521
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
1522
1522
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
1523
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1524
1523
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
1525
1524
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
1526
1525
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
@@ -1528,6 +1527,7 @@ export type ContractCreateWithoutBuyerInput = {
1528
1527
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
1529
1528
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
1530
1529
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
1530
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1531
1531
  };
1532
1532
  export type ContractUncheckedCreateWithoutBuyerInput = {
1533
1533
  id?: string;
@@ -1568,13 +1568,13 @@ export type ContractUncheckedCreateWithoutBuyerInput = {
1568
1568
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
1569
1569
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
1570
1570
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
1571
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1572
1571
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
1573
1572
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
1574
1573
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
1575
1574
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
1576
1575
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
1577
1576
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
1577
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1578
1578
  };
1579
1579
  export type ContractCreateOrConnectWithoutBuyerInput = {
1580
1580
  where: Prisma.ContractWhereUniqueInput;
@@ -1622,7 +1622,6 @@ export type ContractCreateWithoutSellerInput = {
1622
1622
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
1623
1623
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
1624
1624
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
1625
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1626
1625
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
1627
1626
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
1628
1627
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
@@ -1630,6 +1629,7 @@ export type ContractCreateWithoutSellerInput = {
1630
1629
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
1631
1630
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
1632
1631
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
1632
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1633
1633
  };
1634
1634
  export type ContractUncheckedCreateWithoutSellerInput = {
1635
1635
  id?: string;
@@ -1670,13 +1670,13 @@ export type ContractUncheckedCreateWithoutSellerInput = {
1670
1670
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
1671
1671
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
1672
1672
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
1673
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1674
1673
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
1675
1674
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
1676
1675
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
1677
1676
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
1678
1677
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
1679
1678
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
1679
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1680
1680
  };
1681
1681
  export type ContractCreateOrConnectWithoutSellerInput = {
1682
1682
  where: Prisma.ContractWhereUniqueInput;
@@ -1791,7 +1791,6 @@ export type ContractCreateWithoutTenantInput = {
1791
1791
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
1792
1792
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
1793
1793
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
1794
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1795
1794
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
1796
1795
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
1797
1796
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
@@ -1799,6 +1798,7 @@ export type ContractCreateWithoutTenantInput = {
1799
1798
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
1800
1799
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
1801
1800
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
1801
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1802
1802
  };
1803
1803
  export type ContractUncheckedCreateWithoutTenantInput = {
1804
1804
  id?: string;
@@ -1839,13 +1839,13 @@ export type ContractUncheckedCreateWithoutTenantInput = {
1839
1839
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
1840
1840
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
1841
1841
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
1842
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1843
1842
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
1844
1843
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
1845
1844
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
1846
1845
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
1847
1846
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
1848
1847
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
1848
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1849
1849
  };
1850
1850
  export type ContractCreateOrConnectWithoutTenantInput = {
1851
1851
  where: Prisma.ContractWhereUniqueInput;
@@ -1906,7 +1906,6 @@ export type ContractCreateWithoutPropertyUnitInput = {
1906
1906
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
1907
1907
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
1908
1908
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
1909
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1910
1909
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
1911
1910
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
1912
1911
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
@@ -1914,6 +1913,7 @@ export type ContractCreateWithoutPropertyUnitInput = {
1914
1913
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
1915
1914
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
1916
1915
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
1916
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1917
1917
  };
1918
1918
  export type ContractUncheckedCreateWithoutPropertyUnitInput = {
1919
1919
  id?: string;
@@ -1954,13 +1954,13 @@ export type ContractUncheckedCreateWithoutPropertyUnitInput = {
1954
1954
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
1955
1955
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
1956
1956
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
1957
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1958
1957
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
1959
1958
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
1960
1959
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
1961
1960
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
1962
1961
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
1963
1962
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
1963
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1964
1964
  };
1965
1965
  export type ContractCreateOrConnectWithoutPropertyUnitInput = {
1966
1966
  where: Prisma.ContractWhereUniqueInput;
@@ -2021,7 +2021,6 @@ export type ContractCreateWithoutPaymentMethodInput = {
2021
2021
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
2022
2022
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
2023
2023
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2024
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2025
2024
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2026
2025
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2027
2026
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
@@ -2029,6 +2028,7 @@ export type ContractCreateWithoutPaymentMethodInput = {
2029
2028
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
2030
2029
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2031
2030
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2031
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2032
2032
  };
2033
2033
  export type ContractUncheckedCreateWithoutPaymentMethodInput = {
2034
2034
  id?: string;
@@ -2069,13 +2069,13 @@ export type ContractUncheckedCreateWithoutPaymentMethodInput = {
2069
2069
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
2070
2070
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
2071
2071
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2072
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2073
2072
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2074
2073
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2075
2074
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2076
2075
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
2077
2076
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2078
2077
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2078
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2079
2079
  };
2080
2080
  export type ContractCreateOrConnectWithoutPaymentMethodInput = {
2081
2081
  where: Prisma.ContractWhereUniqueInput;
@@ -2137,13 +2137,13 @@ export type ContractCreateWithoutTransferredToInput = {
2137
2137
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
2138
2138
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
2139
2139
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2140
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2141
2140
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2142
2141
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2143
2142
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
2144
2143
  transferredFrom?: Prisma.ContractCreateNestedOneWithoutTransferredToInput;
2145
2144
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2146
2145
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2146
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2147
2147
  };
2148
2148
  export type ContractUncheckedCreateWithoutTransferredToInput = {
2149
2149
  id?: string;
@@ -2185,12 +2185,12 @@ export type ContractUncheckedCreateWithoutTransferredToInput = {
2185
2185
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
2186
2186
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
2187
2187
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2188
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2189
2188
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2190
2189
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2191
2190
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2192
2191
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2193
2192
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2193
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2194
2194
  };
2195
2195
  export type ContractCreateOrConnectWithoutTransferredToInput = {
2196
2196
  where: Prisma.ContractWhereUniqueInput;
@@ -2235,13 +2235,13 @@ export type ContractCreateWithoutTransferredFromInput = {
2235
2235
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
2236
2236
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
2237
2237
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2238
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2239
2238
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2240
2239
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2241
2240
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
2242
2241
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
2243
2242
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2244
2243
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2244
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2245
2245
  };
2246
2246
  export type ContractUncheckedCreateWithoutTransferredFromInput = {
2247
2247
  id?: string;
@@ -2282,13 +2282,13 @@ export type ContractUncheckedCreateWithoutTransferredFromInput = {
2282
2282
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
2283
2283
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
2284
2284
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2285
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2286
2285
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2287
2286
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2288
2287
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2289
2288
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
2290
2289
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2291
2290
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2291
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2292
2292
  };
2293
2293
  export type ContractCreateOrConnectWithoutTransferredFromInput = {
2294
2294
  where: Prisma.ContractWhereUniqueInput;
@@ -2342,13 +2342,13 @@ export type ContractUpdateWithoutTransferredToInput = {
2342
2342
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
2343
2343
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
2344
2344
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
2345
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2346
2345
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
2347
2346
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2348
2347
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
2349
2348
  transferredFrom?: Prisma.ContractUpdateOneWithoutTransferredToNestedInput;
2350
2349
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
2351
2350
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
2351
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2352
2352
  };
2353
2353
  export type ContractUncheckedUpdateWithoutTransferredToInput = {
2354
2354
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2390,12 +2390,12 @@ export type ContractUncheckedUpdateWithoutTransferredToInput = {
2390
2390
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
2391
2391
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
2392
2392
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
2393
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2394
2393
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
2395
2394
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2396
2395
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2397
2396
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
2398
2397
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
2398
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2399
2399
  };
2400
2400
  export type ContractUpsertWithoutTransferredFromInput = {
2401
2401
  update: Prisma.XOR<Prisma.ContractUpdateWithoutTransferredFromInput, Prisma.ContractUncheckedUpdateWithoutTransferredFromInput>;
@@ -2445,13 +2445,13 @@ export type ContractUpdateWithoutTransferredFromInput = {
2445
2445
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
2446
2446
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
2447
2447
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
2448
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2449
2448
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
2450
2449
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2451
2450
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
2452
2451
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
2453
2452
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
2454
2453
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
2454
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2455
2455
  };
2456
2456
  export type ContractUncheckedUpdateWithoutTransferredFromInput = {
2457
2457
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2492,13 +2492,13 @@ export type ContractUncheckedUpdateWithoutTransferredFromInput = {
2492
2492
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
2493
2493
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
2494
2494
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
2495
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2496
2495
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
2497
2496
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2498
2497
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2499
2498
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
2500
2499
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
2501
2500
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
2501
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2502
2502
  };
2503
2503
  export type ContractCreateWithoutPhasesInput = {
2504
2504
  id?: string;
@@ -2538,7 +2538,6 @@ export type ContractCreateWithoutPhasesInput = {
2538
2538
  paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
2539
2539
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
2540
2540
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2541
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2542
2541
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2543
2542
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2544
2543
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
@@ -2546,6 +2545,7 @@ export type ContractCreateWithoutPhasesInput = {
2546
2545
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
2547
2546
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2548
2547
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2548
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2549
2549
  };
2550
2550
  export type ContractUncheckedCreateWithoutPhasesInput = {
2551
2551
  id?: string;
@@ -2586,13 +2586,13 @@ export type ContractUncheckedCreateWithoutPhasesInput = {
2586
2586
  transferredFromId?: string | null;
2587
2587
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
2588
2588
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2589
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2590
2589
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2591
2590
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2592
2591
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2593
2592
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
2594
2593
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2595
2594
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2595
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2596
2596
  };
2597
2597
  export type ContractCreateOrConnectWithoutPhasesInput = {
2598
2598
  where: Prisma.ContractWhereUniqueInput;
@@ -2645,7 +2645,6 @@ export type ContractUpdateWithoutPhasesInput = {
2645
2645
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
2646
2646
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
2647
2647
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
2648
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2649
2648
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
2650
2649
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2651
2650
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
@@ -2653,6 +2652,7 @@ export type ContractUpdateWithoutPhasesInput = {
2653
2652
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
2654
2653
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
2655
2654
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
2655
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2656
2656
  };
2657
2657
  export type ContractUncheckedUpdateWithoutPhasesInput = {
2658
2658
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2693,15 +2693,15 @@ export type ContractUncheckedUpdateWithoutPhasesInput = {
2693
2693
  transferredFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2694
2694
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
2695
2695
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
2696
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2697
2696
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
2698
2697
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2699
2698
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2700
2699
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
2701
2700
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
2702
2701
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
2702
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2703
2703
  };
2704
- export type ContractCreateWithoutPaymentsInput = {
2704
+ export type ContractCreateWithoutEventsInput = {
2705
2705
  id?: string;
2706
2706
  contractNumber: string;
2707
2707
  title: string;
@@ -2739,7 +2739,7 @@ export type ContractCreateWithoutPaymentsInput = {
2739
2739
  paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
2740
2740
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
2741
2741
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
2742
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2742
+ payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2743
2743
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2744
2744
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2745
2745
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
@@ -2748,7 +2748,7 @@ export type ContractCreateWithoutPaymentsInput = {
2748
2748
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2749
2749
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2750
2750
  };
2751
- export type ContractUncheckedCreateWithoutPaymentsInput = {
2751
+ export type ContractUncheckedCreateWithoutEventsInput = {
2752
2752
  id?: string;
2753
2753
  tenantId: string;
2754
2754
  propertyUnitId: string;
@@ -2787,7 +2787,7 @@ export type ContractUncheckedCreateWithoutPaymentsInput = {
2787
2787
  transferredFromId?: string | null;
2788
2788
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
2789
2789
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
2790
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2790
+ payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2791
2791
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2792
2792
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2793
2793
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
@@ -2795,20 +2795,20 @@ export type ContractUncheckedCreateWithoutPaymentsInput = {
2795
2795
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2796
2796
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2797
2797
  };
2798
- export type ContractCreateOrConnectWithoutPaymentsInput = {
2798
+ export type ContractCreateOrConnectWithoutEventsInput = {
2799
2799
  where: Prisma.ContractWhereUniqueInput;
2800
- create: Prisma.XOR<Prisma.ContractCreateWithoutPaymentsInput, Prisma.ContractUncheckedCreateWithoutPaymentsInput>;
2800
+ create: Prisma.XOR<Prisma.ContractCreateWithoutEventsInput, Prisma.ContractUncheckedCreateWithoutEventsInput>;
2801
2801
  };
2802
- export type ContractUpsertWithoutPaymentsInput = {
2803
- update: Prisma.XOR<Prisma.ContractUpdateWithoutPaymentsInput, Prisma.ContractUncheckedUpdateWithoutPaymentsInput>;
2804
- create: Prisma.XOR<Prisma.ContractCreateWithoutPaymentsInput, Prisma.ContractUncheckedCreateWithoutPaymentsInput>;
2802
+ export type ContractUpsertWithoutEventsInput = {
2803
+ update: Prisma.XOR<Prisma.ContractUpdateWithoutEventsInput, Prisma.ContractUncheckedUpdateWithoutEventsInput>;
2804
+ create: Prisma.XOR<Prisma.ContractCreateWithoutEventsInput, Prisma.ContractUncheckedCreateWithoutEventsInput>;
2805
2805
  where?: Prisma.ContractWhereInput;
2806
2806
  };
2807
- export type ContractUpdateToOneWithWhereWithoutPaymentsInput = {
2807
+ export type ContractUpdateToOneWithWhereWithoutEventsInput = {
2808
2808
  where?: Prisma.ContractWhereInput;
2809
- data: Prisma.XOR<Prisma.ContractUpdateWithoutPaymentsInput, Prisma.ContractUncheckedUpdateWithoutPaymentsInput>;
2809
+ data: Prisma.XOR<Prisma.ContractUpdateWithoutEventsInput, Prisma.ContractUncheckedUpdateWithoutEventsInput>;
2810
2810
  };
2811
- export type ContractUpdateWithoutPaymentsInput = {
2811
+ export type ContractUpdateWithoutEventsInput = {
2812
2812
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2813
2813
  contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2814
2814
  title?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2846,7 +2846,7 @@ export type ContractUpdateWithoutPaymentsInput = {
2846
2846
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
2847
2847
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
2848
2848
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
2849
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2849
+ payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
2850
2850
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
2851
2851
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2852
2852
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
@@ -2855,7 +2855,7 @@ export type ContractUpdateWithoutPaymentsInput = {
2855
2855
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
2856
2856
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
2857
2857
  };
2858
- export type ContractUncheckedUpdateWithoutPaymentsInput = {
2858
+ export type ContractUncheckedUpdateWithoutEventsInput = {
2859
2859
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2860
2860
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2861
2861
  propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2894,7 +2894,7 @@ export type ContractUncheckedUpdateWithoutPaymentsInput = {
2894
2894
  transferredFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2895
2895
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
2896
2896
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
2897
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2897
+ payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
2898
2898
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
2899
2899
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2900
2900
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
@@ -2902,7 +2902,7 @@ export type ContractUncheckedUpdateWithoutPaymentsInput = {
2902
2902
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
2903
2903
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
2904
2904
  };
2905
- export type ContractCreateWithoutDocumentsInput = {
2905
+ export type ContractCreateWithoutPaymentsInput = {
2906
2906
  id?: string;
2907
2907
  contractNumber: string;
2908
2908
  title: string;
@@ -2939,8 +2939,7 @@ export type ContractCreateWithoutDocumentsInput = {
2939
2939
  seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
2940
2940
  paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
2941
2941
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
2942
- payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2943
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2942
+ documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
2944
2943
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2945
2944
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2946
2945
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
@@ -2948,8 +2947,9 @@ export type ContractCreateWithoutDocumentsInput = {
2948
2947
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
2949
2948
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2950
2949
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2950
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2951
2951
  };
2952
- export type ContractUncheckedCreateWithoutDocumentsInput = {
2952
+ export type ContractUncheckedCreateWithoutPaymentsInput = {
2953
2953
  id?: string;
2954
2954
  tenantId: string;
2955
2955
  propertyUnitId: string;
@@ -2987,29 +2987,29 @@ export type ContractUncheckedCreateWithoutDocumentsInput = {
2987
2987
  updatedAt?: Date | string;
2988
2988
  transferredFromId?: string | null;
2989
2989
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
2990
- payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2991
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2990
+ documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
2992
2991
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2993
2992
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2994
2993
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2995
2994
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
2996
2995
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2997
2996
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2997
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2998
2998
  };
2999
- export type ContractCreateOrConnectWithoutDocumentsInput = {
2999
+ export type ContractCreateOrConnectWithoutPaymentsInput = {
3000
3000
  where: Prisma.ContractWhereUniqueInput;
3001
- create: Prisma.XOR<Prisma.ContractCreateWithoutDocumentsInput, Prisma.ContractUncheckedCreateWithoutDocumentsInput>;
3001
+ create: Prisma.XOR<Prisma.ContractCreateWithoutPaymentsInput, Prisma.ContractUncheckedCreateWithoutPaymentsInput>;
3002
3002
  };
3003
- export type ContractUpsertWithoutDocumentsInput = {
3004
- update: Prisma.XOR<Prisma.ContractUpdateWithoutDocumentsInput, Prisma.ContractUncheckedUpdateWithoutDocumentsInput>;
3005
- create: Prisma.XOR<Prisma.ContractCreateWithoutDocumentsInput, Prisma.ContractUncheckedCreateWithoutDocumentsInput>;
3003
+ export type ContractUpsertWithoutPaymentsInput = {
3004
+ update: Prisma.XOR<Prisma.ContractUpdateWithoutPaymentsInput, Prisma.ContractUncheckedUpdateWithoutPaymentsInput>;
3005
+ create: Prisma.XOR<Prisma.ContractCreateWithoutPaymentsInput, Prisma.ContractUncheckedCreateWithoutPaymentsInput>;
3006
3006
  where?: Prisma.ContractWhereInput;
3007
3007
  };
3008
- export type ContractUpdateToOneWithWhereWithoutDocumentsInput = {
3008
+ export type ContractUpdateToOneWithWhereWithoutPaymentsInput = {
3009
3009
  where?: Prisma.ContractWhereInput;
3010
- data: Prisma.XOR<Prisma.ContractUpdateWithoutDocumentsInput, Prisma.ContractUncheckedUpdateWithoutDocumentsInput>;
3010
+ data: Prisma.XOR<Prisma.ContractUpdateWithoutPaymentsInput, Prisma.ContractUncheckedUpdateWithoutPaymentsInput>;
3011
3011
  };
3012
- export type ContractUpdateWithoutDocumentsInput = {
3012
+ export type ContractUpdateWithoutPaymentsInput = {
3013
3013
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3014
3014
  contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3015
3015
  title?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3046,8 +3046,7 @@ export type ContractUpdateWithoutDocumentsInput = {
3046
3046
  seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
3047
3047
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
3048
3048
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
3049
- payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
3050
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3049
+ documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
3051
3050
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
3052
3051
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
3053
3052
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
@@ -3055,8 +3054,9 @@ export type ContractUpdateWithoutDocumentsInput = {
3055
3054
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
3056
3055
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
3057
3056
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3057
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3058
3058
  };
3059
- export type ContractUncheckedUpdateWithoutDocumentsInput = {
3059
+ export type ContractUncheckedUpdateWithoutPaymentsInput = {
3060
3060
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3061
3061
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
3062
3062
  propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3094,16 +3094,16 @@ export type ContractUncheckedUpdateWithoutDocumentsInput = {
3094
3094
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3095
3095
  transferredFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3096
3096
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
3097
- payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
3098
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3097
+ documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
3099
3098
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
3100
3099
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
3101
3100
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
3102
3101
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
3103
3102
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
3104
3103
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3104
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3105
3105
  };
3106
- export type ContractCreateWithoutEventsInput = {
3106
+ export type ContractCreateWithoutDocumentsInput = {
3107
3107
  id?: string;
3108
3108
  contractNumber: string;
3109
3109
  title: string;
@@ -3140,7 +3140,6 @@ export type ContractCreateWithoutEventsInput = {
3140
3140
  seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
3141
3141
  paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
3142
3142
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
3143
- documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
3144
3143
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
3145
3144
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
3146
3145
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
@@ -3149,8 +3148,9 @@ export type ContractCreateWithoutEventsInput = {
3149
3148
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
3150
3149
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
3151
3150
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
3151
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3152
3152
  };
3153
- export type ContractUncheckedCreateWithoutEventsInput = {
3153
+ export type ContractUncheckedCreateWithoutDocumentsInput = {
3154
3154
  id?: string;
3155
3155
  tenantId: string;
3156
3156
  propertyUnitId: string;
@@ -3188,7 +3188,6 @@ export type ContractUncheckedCreateWithoutEventsInput = {
3188
3188
  updatedAt?: Date | string;
3189
3189
  transferredFromId?: string | null;
3190
3190
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
3191
- documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
3192
3191
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
3193
3192
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
3194
3193
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
@@ -3196,21 +3195,22 @@ export type ContractUncheckedCreateWithoutEventsInput = {
3196
3195
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
3197
3196
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
3198
3197
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
3198
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3199
3199
  };
3200
- export type ContractCreateOrConnectWithoutEventsInput = {
3200
+ export type ContractCreateOrConnectWithoutDocumentsInput = {
3201
3201
  where: Prisma.ContractWhereUniqueInput;
3202
- create: Prisma.XOR<Prisma.ContractCreateWithoutEventsInput, Prisma.ContractUncheckedCreateWithoutEventsInput>;
3202
+ create: Prisma.XOR<Prisma.ContractCreateWithoutDocumentsInput, Prisma.ContractUncheckedCreateWithoutDocumentsInput>;
3203
3203
  };
3204
- export type ContractUpsertWithoutEventsInput = {
3205
- update: Prisma.XOR<Prisma.ContractUpdateWithoutEventsInput, Prisma.ContractUncheckedUpdateWithoutEventsInput>;
3206
- create: Prisma.XOR<Prisma.ContractCreateWithoutEventsInput, Prisma.ContractUncheckedCreateWithoutEventsInput>;
3204
+ export type ContractUpsertWithoutDocumentsInput = {
3205
+ update: Prisma.XOR<Prisma.ContractUpdateWithoutDocumentsInput, Prisma.ContractUncheckedUpdateWithoutDocumentsInput>;
3206
+ create: Prisma.XOR<Prisma.ContractCreateWithoutDocumentsInput, Prisma.ContractUncheckedCreateWithoutDocumentsInput>;
3207
3207
  where?: Prisma.ContractWhereInput;
3208
3208
  };
3209
- export type ContractUpdateToOneWithWhereWithoutEventsInput = {
3209
+ export type ContractUpdateToOneWithWhereWithoutDocumentsInput = {
3210
3210
  where?: Prisma.ContractWhereInput;
3211
- data: Prisma.XOR<Prisma.ContractUpdateWithoutEventsInput, Prisma.ContractUncheckedUpdateWithoutEventsInput>;
3211
+ data: Prisma.XOR<Prisma.ContractUpdateWithoutDocumentsInput, Prisma.ContractUncheckedUpdateWithoutDocumentsInput>;
3212
3212
  };
3213
- export type ContractUpdateWithoutEventsInput = {
3213
+ export type ContractUpdateWithoutDocumentsInput = {
3214
3214
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3215
3215
  contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3216
3216
  title?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3247,7 +3247,6 @@ export type ContractUpdateWithoutEventsInput = {
3247
3247
  seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
3248
3248
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
3249
3249
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
3250
- documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
3251
3250
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
3252
3251
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
3253
3252
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
@@ -3256,8 +3255,9 @@ export type ContractUpdateWithoutEventsInput = {
3256
3255
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
3257
3256
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
3258
3257
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3258
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3259
3259
  };
3260
- export type ContractUncheckedUpdateWithoutEventsInput = {
3260
+ export type ContractUncheckedUpdateWithoutDocumentsInput = {
3261
3261
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3262
3262
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
3263
3263
  propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3295,7 +3295,6 @@ export type ContractUncheckedUpdateWithoutEventsInput = {
3295
3295
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3296
3296
  transferredFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3297
3297
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
3298
- documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
3299
3298
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
3300
3299
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
3301
3300
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
@@ -3303,6 +3302,7 @@ export type ContractUncheckedUpdateWithoutEventsInput = {
3303
3302
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
3304
3303
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
3305
3304
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3305
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3306
3306
  };
3307
3307
  export type ContractCreateWithoutOfferLettersInput = {
3308
3308
  id?: string;
@@ -3343,13 +3343,13 @@ export type ContractCreateWithoutOfferLettersInput = {
3343
3343
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
3344
3344
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
3345
3345
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
3346
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3347
3346
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
3348
3347
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
3349
3348
  transferredFrom?: Prisma.ContractCreateNestedOneWithoutTransferredToInput;
3350
3349
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
3351
3350
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
3352
3351
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
3352
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3353
3353
  };
3354
3354
  export type ContractUncheckedCreateWithoutOfferLettersInput = {
3355
3355
  id?: string;
@@ -3391,12 +3391,12 @@ export type ContractUncheckedCreateWithoutOfferLettersInput = {
3391
3391
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
3392
3392
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
3393
3393
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
3394
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3395
3394
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
3396
3395
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
3397
3396
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
3398
3397
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
3399
3398
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
3399
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3400
3400
  };
3401
3401
  export type ContractCreateOrConnectWithoutOfferLettersInput = {
3402
3402
  where: Prisma.ContractWhereUniqueInput;
@@ -3450,13 +3450,13 @@ export type ContractUpdateWithoutOfferLettersInput = {
3450
3450
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
3451
3451
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
3452
3452
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
3453
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3454
3453
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
3455
3454
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
3456
3455
  transferredFrom?: Prisma.ContractUpdateOneWithoutTransferredToNestedInput;
3457
3456
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
3458
3457
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
3459
3458
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3459
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3460
3460
  };
3461
3461
  export type ContractUncheckedUpdateWithoutOfferLettersInput = {
3462
3462
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3498,12 +3498,12 @@ export type ContractUncheckedUpdateWithoutOfferLettersInput = {
3498
3498
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
3499
3499
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
3500
3500
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
3501
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3502
3501
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
3503
3502
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
3504
3503
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
3505
3504
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
3506
3505
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3506
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3507
3507
  };
3508
3508
  export type ContractCreateWithoutTerminationsInput = {
3509
3509
  id?: string;
@@ -3544,13 +3544,13 @@ export type ContractCreateWithoutTerminationsInput = {
3544
3544
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
3545
3545
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
3546
3546
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
3547
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3548
3547
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
3549
3548
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
3550
3549
  transferredFrom?: Prisma.ContractCreateNestedOneWithoutTransferredToInput;
3551
3550
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
3552
3551
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
3553
3552
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
3553
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3554
3554
  };
3555
3555
  export type ContractUncheckedCreateWithoutTerminationsInput = {
3556
3556
  id?: string;
@@ -3592,12 +3592,12 @@ export type ContractUncheckedCreateWithoutTerminationsInput = {
3592
3592
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
3593
3593
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
3594
3594
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
3595
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3596
3595
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
3597
3596
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
3598
3597
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
3599
3598
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
3600
3599
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
3600
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3601
3601
  };
3602
3602
  export type ContractCreateOrConnectWithoutTerminationsInput = {
3603
3603
  where: Prisma.ContractWhereUniqueInput;
@@ -3651,13 +3651,13 @@ export type ContractUpdateWithoutTerminationsInput = {
3651
3651
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
3652
3652
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
3653
3653
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
3654
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3655
3654
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
3656
3655
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
3657
3656
  transferredFrom?: Prisma.ContractUpdateOneWithoutTransferredToNestedInput;
3658
3657
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
3659
3658
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
3660
3659
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3660
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3661
3661
  };
3662
3662
  export type ContractUncheckedUpdateWithoutTerminationsInput = {
3663
3663
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3699,12 +3699,12 @@ export type ContractUncheckedUpdateWithoutTerminationsInput = {
3699
3699
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
3700
3700
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
3701
3701
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
3702
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3703
3702
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
3704
3703
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
3705
3704
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
3706
3705
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
3707
3706
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3707
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3708
3708
  };
3709
3709
  export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
3710
3710
  id?: string;
@@ -3745,13 +3745,13 @@ export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
3745
3745
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
3746
3746
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
3747
3747
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
3748
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3749
3748
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
3750
3749
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
3751
3750
  transferredFrom?: Prisma.ContractCreateNestedOneWithoutTransferredToInput;
3752
3751
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
3753
3752
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
3754
3753
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
3754
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3755
3755
  };
3756
3756
  export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
3757
3757
  id?: string;
@@ -3793,12 +3793,12 @@ export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
3793
3793
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
3794
3794
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
3795
3795
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
3796
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3797
3796
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
3798
3797
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
3799
3798
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
3800
3799
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
3801
3800
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
3801
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3802
3802
  };
3803
3803
  export type ContractCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
3804
3804
  where: Prisma.ContractWhereUniqueInput;
@@ -3852,13 +3852,13 @@ export type ContractUpdateWithoutPaymentMethodChangeRequestsInput = {
3852
3852
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
3853
3853
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
3854
3854
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
3855
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3856
3855
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
3857
3856
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
3858
3857
  transferredFrom?: Prisma.ContractUpdateOneWithoutTransferredToNestedInput;
3859
3858
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
3860
3859
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
3861
3860
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3861
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3862
3862
  };
3863
3863
  export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
3864
3864
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3900,12 +3900,12 @@ export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
3900
3900
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
3901
3901
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
3902
3902
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
3903
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3904
3903
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
3905
3904
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
3906
3905
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
3907
3906
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
3908
3907
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3908
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3909
3909
  };
3910
3910
  export type ContractCreateWithoutOutgoingTransferRequestsInput = {
3911
3911
  id?: string;
@@ -3946,13 +3946,13 @@ export type ContractCreateWithoutOutgoingTransferRequestsInput = {
3946
3946
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
3947
3947
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
3948
3948
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
3949
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3950
3949
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
3951
3950
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
3952
3951
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
3953
3952
  transferredFrom?: Prisma.ContractCreateNestedOneWithoutTransferredToInput;
3954
3953
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
3955
3954
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
3955
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3956
3956
  };
3957
3957
  export type ContractUncheckedCreateWithoutOutgoingTransferRequestsInput = {
3958
3958
  id?: string;
@@ -3994,12 +3994,12 @@ export type ContractUncheckedCreateWithoutOutgoingTransferRequestsInput = {
3994
3994
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
3995
3995
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
3996
3996
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
3997
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3998
3997
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
3999
3998
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
4000
3999
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
4001
4000
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
4002
4001
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
4002
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
4003
4003
  };
4004
4004
  export type ContractCreateOrConnectWithoutOutgoingTransferRequestsInput = {
4005
4005
  where: Prisma.ContractWhereUniqueInput;
@@ -4044,13 +4044,13 @@ export type ContractCreateWithoutIncomingTransferRequestsInput = {
4044
4044
  phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
4045
4045
  documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
4046
4046
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
4047
- events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
4048
4047
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
4049
4048
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
4050
4049
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
4051
4050
  transferredFrom?: Prisma.ContractCreateNestedOneWithoutTransferredToInput;
4052
4051
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
4053
4052
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
4053
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
4054
4054
  };
4055
4055
  export type ContractUncheckedCreateWithoutIncomingTransferRequestsInput = {
4056
4056
  id?: string;
@@ -4092,12 +4092,12 @@ export type ContractUncheckedCreateWithoutIncomingTransferRequestsInput = {
4092
4092
  phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
4093
4093
  documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
4094
4094
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
4095
- events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
4096
4095
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
4097
4096
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
4098
4097
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
4099
4098
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
4100
4099
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
4100
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
4101
4101
  };
4102
4102
  export type ContractCreateOrConnectWithoutIncomingTransferRequestsInput = {
4103
4103
  where: Prisma.ContractWhereUniqueInput;
@@ -4151,13 +4151,13 @@ export type ContractUpdateWithoutOutgoingTransferRequestsInput = {
4151
4151
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
4152
4152
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
4153
4153
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
4154
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4155
4154
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
4156
4155
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
4157
4156
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
4158
4157
  transferredFrom?: Prisma.ContractUpdateOneWithoutTransferredToNestedInput;
4159
4158
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
4160
4159
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
4160
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4161
4161
  };
4162
4162
  export type ContractUncheckedUpdateWithoutOutgoingTransferRequestsInput = {
4163
4163
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4199,12 +4199,12 @@ export type ContractUncheckedUpdateWithoutOutgoingTransferRequestsInput = {
4199
4199
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
4200
4200
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
4201
4201
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
4202
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4203
4202
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
4204
4203
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
4205
4204
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
4206
4205
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
4207
4206
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
4207
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4208
4208
  };
4209
4209
  export type ContractUpsertWithoutIncomingTransferRequestsInput = {
4210
4210
  update: Prisma.XOR<Prisma.ContractUpdateWithoutIncomingTransferRequestsInput, Prisma.ContractUncheckedUpdateWithoutIncomingTransferRequestsInput>;
@@ -4254,13 +4254,13 @@ export type ContractUpdateWithoutIncomingTransferRequestsInput = {
4254
4254
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
4255
4255
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
4256
4256
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
4257
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4258
4257
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
4259
4258
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
4260
4259
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
4261
4260
  transferredFrom?: Prisma.ContractUpdateOneWithoutTransferredToNestedInput;
4262
4261
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
4263
4262
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
4263
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4264
4264
  };
4265
4265
  export type ContractUncheckedUpdateWithoutIncomingTransferRequestsInput = {
4266
4266
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4302,12 +4302,12 @@ export type ContractUncheckedUpdateWithoutIncomingTransferRequestsInput = {
4302
4302
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
4303
4303
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
4304
4304
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
4305
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4306
4305
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
4307
4306
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
4308
4307
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
4309
4308
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
4310
4309
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
4310
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4311
4311
  };
4312
4312
  export type ContractCreateManyBuyerInput = {
4313
4313
  id?: string;
@@ -4421,7 +4421,6 @@ export type ContractUpdateWithoutBuyerInput = {
4421
4421
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
4422
4422
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
4423
4423
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
4424
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4425
4424
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
4426
4425
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
4427
4426
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
@@ -4429,6 +4428,7 @@ export type ContractUpdateWithoutBuyerInput = {
4429
4428
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
4430
4429
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
4431
4430
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
4431
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4432
4432
  };
4433
4433
  export type ContractUncheckedUpdateWithoutBuyerInput = {
4434
4434
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4469,13 +4469,13 @@ export type ContractUncheckedUpdateWithoutBuyerInput = {
4469
4469
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
4470
4470
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
4471
4471
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
4472
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4473
4472
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
4474
4473
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
4475
4474
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
4476
4475
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
4477
4476
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
4478
4477
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
4478
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4479
4479
  };
4480
4480
  export type ContractUncheckedUpdateManyWithoutBuyerInput = {
4481
4481
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4552,7 +4552,6 @@ export type ContractUpdateWithoutSellerInput = {
4552
4552
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
4553
4553
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
4554
4554
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
4555
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4556
4555
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
4557
4556
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
4558
4557
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
@@ -4560,6 +4559,7 @@ export type ContractUpdateWithoutSellerInput = {
4560
4559
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
4561
4560
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
4562
4561
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
4562
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4563
4563
  };
4564
4564
  export type ContractUncheckedUpdateWithoutSellerInput = {
4565
4565
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4600,13 +4600,13 @@ export type ContractUncheckedUpdateWithoutSellerInput = {
4600
4600
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
4601
4601
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
4602
4602
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
4603
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4604
4603
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
4605
4604
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
4606
4605
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
4607
4606
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
4608
4607
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
4609
4608
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
4609
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4610
4610
  };
4611
4611
  export type ContractUncheckedUpdateManyWithoutSellerInput = {
4612
4612
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4720,7 +4720,6 @@ export type ContractUpdateWithoutTenantInput = {
4720
4720
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
4721
4721
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
4722
4722
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
4723
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4724
4723
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
4725
4724
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
4726
4725
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
@@ -4728,6 +4727,7 @@ export type ContractUpdateWithoutTenantInput = {
4728
4727
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
4729
4728
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
4730
4729
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
4730
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4731
4731
  };
4732
4732
  export type ContractUncheckedUpdateWithoutTenantInput = {
4733
4733
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4768,13 +4768,13 @@ export type ContractUncheckedUpdateWithoutTenantInput = {
4768
4768
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
4769
4769
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
4770
4770
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
4771
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4772
4771
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
4773
4772
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
4774
4773
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
4775
4774
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
4776
4775
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
4777
4776
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
4777
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4778
4778
  };
4779
4779
  export type ContractUncheckedUpdateManyWithoutTenantInput = {
4780
4780
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4888,7 +4888,6 @@ export type ContractUpdateWithoutPropertyUnitInput = {
4888
4888
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
4889
4889
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
4890
4890
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
4891
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4892
4891
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
4893
4892
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
4894
4893
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
@@ -4896,6 +4895,7 @@ export type ContractUpdateWithoutPropertyUnitInput = {
4896
4895
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
4897
4896
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
4898
4897
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
4898
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4899
4899
  };
4900
4900
  export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
4901
4901
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4936,13 +4936,13 @@ export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
4936
4936
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
4937
4937
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
4938
4938
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
4939
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4940
4939
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
4941
4940
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
4942
4941
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
4943
4942
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
4944
4943
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
4945
4944
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
4945
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4946
4946
  };
4947
4947
  export type ContractUncheckedUpdateManyWithoutPropertyUnitInput = {
4948
4948
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5056,7 +5056,6 @@ export type ContractUpdateWithoutPaymentMethodInput = {
5056
5056
  phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
5057
5057
  documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
5058
5058
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
5059
- events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
5060
5059
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
5061
5060
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
5062
5061
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
@@ -5064,6 +5063,7 @@ export type ContractUpdateWithoutPaymentMethodInput = {
5064
5063
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
5065
5064
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
5066
5065
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
5066
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
5067
5067
  };
5068
5068
  export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
5069
5069
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5104,13 +5104,13 @@ export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
5104
5104
  phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
5105
5105
  documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
5106
5106
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
5107
- events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
5108
5107
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
5109
5108
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
5110
5109
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
5111
5110
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
5112
5111
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
5113
5112
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
5113
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
5114
5114
  };
5115
5115
  export type ContractUncheckedUpdateManyWithoutPaymentMethodInput = {
5116
5116
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5156,23 +5156,23 @@ export type ContractCountOutputType = {
5156
5156
  phases: number;
5157
5157
  documents: number;
5158
5158
  payments: number;
5159
- events: number;
5160
5159
  terminations: number;
5161
5160
  offerLetters: number;
5162
5161
  paymentMethodChangeRequests: number;
5163
5162
  outgoingTransferRequests: number;
5164
5163
  incomingTransferRequests: number;
5164
+ events: number;
5165
5165
  };
5166
5166
  export type ContractCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5167
5167
  phases?: boolean | ContractCountOutputTypeCountPhasesArgs;
5168
5168
  documents?: boolean | ContractCountOutputTypeCountDocumentsArgs;
5169
5169
  payments?: boolean | ContractCountOutputTypeCountPaymentsArgs;
5170
- events?: boolean | ContractCountOutputTypeCountEventsArgs;
5171
5170
  terminations?: boolean | ContractCountOutputTypeCountTerminationsArgs;
5172
5171
  offerLetters?: boolean | ContractCountOutputTypeCountOfferLettersArgs;
5173
5172
  paymentMethodChangeRequests?: boolean | ContractCountOutputTypeCountPaymentMethodChangeRequestsArgs;
5174
5173
  outgoingTransferRequests?: boolean | ContractCountOutputTypeCountOutgoingTransferRequestsArgs;
5175
5174
  incomingTransferRequests?: boolean | ContractCountOutputTypeCountIncomingTransferRequestsArgs;
5175
+ events?: boolean | ContractCountOutputTypeCountEventsArgs;
5176
5176
  };
5177
5177
  /**
5178
5178
  * ContractCountOutputType without action
@@ -5201,12 +5201,6 @@ export type ContractCountOutputTypeCountDocumentsArgs<ExtArgs extends runtime.Ty
5201
5201
  export type ContractCountOutputTypeCountPaymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5202
5202
  where?: Prisma.ContractPaymentWhereInput;
5203
5203
  };
5204
- /**
5205
- * ContractCountOutputType without action
5206
- */
5207
- export type ContractCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5208
- where?: Prisma.ContractEventWhereInput;
5209
- };
5210
5204
  /**
5211
5205
  * ContractCountOutputType without action
5212
5206
  */
@@ -5237,6 +5231,12 @@ export type ContractCountOutputTypeCountOutgoingTransferRequestsArgs<ExtArgs ext
5237
5231
  export type ContractCountOutputTypeCountIncomingTransferRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5238
5232
  where?: Prisma.PropertyTransferRequestWhereInput;
5239
5233
  };
5234
+ /**
5235
+ * ContractCountOutputType without action
5236
+ */
5237
+ export type ContractCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5238
+ where?: Prisma.ContractEventWhereInput;
5239
+ };
5240
5240
  export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
5241
5241
  id?: boolean;
5242
5242
  tenantId?: boolean;
@@ -5282,7 +5282,6 @@ export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
5282
5282
  phases?: boolean | Prisma.Contract$phasesArgs<ExtArgs>;
5283
5283
  documents?: boolean | Prisma.Contract$documentsArgs<ExtArgs>;
5284
5284
  payments?: boolean | Prisma.Contract$paymentsArgs<ExtArgs>;
5285
- events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
5286
5285
  terminations?: boolean | Prisma.Contract$terminationsArgs<ExtArgs>;
5287
5286
  offerLetters?: boolean | Prisma.Contract$offerLettersArgs<ExtArgs>;
5288
5287
  paymentMethodChangeRequests?: boolean | Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs>;
@@ -5290,6 +5289,7 @@ export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
5290
5289
  transferredTo?: boolean | Prisma.Contract$transferredToArgs<ExtArgs>;
5291
5290
  outgoingTransferRequests?: boolean | Prisma.Contract$outgoingTransferRequestsArgs<ExtArgs>;
5292
5291
  incomingTransferRequests?: boolean | Prisma.Contract$incomingTransferRequestsArgs<ExtArgs>;
5292
+ events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
5293
5293
  _count?: boolean | Prisma.ContractCountOutputTypeDefaultArgs<ExtArgs>;
5294
5294
  }, ExtArgs["result"]["contract"]>;
5295
5295
  export type ContractSelectScalar = {
@@ -5340,7 +5340,6 @@ export type ContractInclude<ExtArgs extends runtime.Types.Extensions.InternalArg
5340
5340
  phases?: boolean | Prisma.Contract$phasesArgs<ExtArgs>;
5341
5341
  documents?: boolean | Prisma.Contract$documentsArgs<ExtArgs>;
5342
5342
  payments?: boolean | Prisma.Contract$paymentsArgs<ExtArgs>;
5343
- events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
5344
5343
  terminations?: boolean | Prisma.Contract$terminationsArgs<ExtArgs>;
5345
5344
  offerLetters?: boolean | Prisma.Contract$offerLettersArgs<ExtArgs>;
5346
5345
  paymentMethodChangeRequests?: boolean | Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs>;
@@ -5348,6 +5347,7 @@ export type ContractInclude<ExtArgs extends runtime.Types.Extensions.InternalArg
5348
5347
  transferredTo?: boolean | Prisma.Contract$transferredToArgs<ExtArgs>;
5349
5348
  outgoingTransferRequests?: boolean | Prisma.Contract$outgoingTransferRequestsArgs<ExtArgs>;
5350
5349
  incomingTransferRequests?: boolean | Prisma.Contract$incomingTransferRequestsArgs<ExtArgs>;
5350
+ events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
5351
5351
  _count?: boolean | Prisma.ContractCountOutputTypeDefaultArgs<ExtArgs>;
5352
5352
  };
5353
5353
  export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -5361,7 +5361,6 @@ export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
5361
5361
  phases: Prisma.$ContractPhasePayload<ExtArgs>[];
5362
5362
  documents: Prisma.$ContractDocumentPayload<ExtArgs>[];
5363
5363
  payments: Prisma.$ContractPaymentPayload<ExtArgs>[];
5364
- events: Prisma.$ContractEventPayload<ExtArgs>[];
5365
5364
  terminations: Prisma.$ContractTerminationPayload<ExtArgs>[];
5366
5365
  offerLetters: Prisma.$OfferLetterPayload<ExtArgs>[];
5367
5366
  paymentMethodChangeRequests: Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>[];
@@ -5369,6 +5368,7 @@ export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
5369
5368
  transferredTo: Prisma.$ContractPayload<ExtArgs> | null;
5370
5369
  outgoingTransferRequests: Prisma.$PropertyTransferRequestPayload<ExtArgs>[];
5371
5370
  incomingTransferRequests: Prisma.$PropertyTransferRequestPayload<ExtArgs>[];
5371
+ events: Prisma.$ContractEventPayload<ExtArgs>[];
5372
5372
  };
5373
5373
  scalars: runtime.Types.Extensions.GetPayloadResult<{
5374
5374
  id: string;
@@ -5692,7 +5692,6 @@ export interface Prisma__ContractClient<T, Null = never, ExtArgs extends runtime
5692
5692
  phases<T extends Prisma.Contract$phasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$phasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5693
5693
  documents<T extends Prisma.Contract$documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5694
5694
  payments<T extends Prisma.Contract$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5695
- events<T extends Prisma.Contract$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5696
5695
  terminations<T extends Prisma.Contract$terminationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$terminationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractTerminationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5697
5696
  offerLetters<T extends Prisma.Contract$offerLettersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$offerLettersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OfferLetterPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5698
5697
  paymentMethodChangeRequests<T extends Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
@@ -5700,6 +5699,7 @@ export interface Prisma__ContractClient<T, Null = never, ExtArgs extends runtime
5700
5699
  transferredTo<T extends Prisma.Contract$transferredToArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$transferredToArgs<ExtArgs>>): Prisma.Prisma__ContractClient<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
5701
5700
  outgoingTransferRequests<T extends Prisma.Contract$outgoingTransferRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$outgoingTransferRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyTransferRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5702
5701
  incomingTransferRequests<T extends Prisma.Contract$incomingTransferRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$incomingTransferRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyTransferRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5702
+ events<T extends Prisma.Contract$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5703
5703
  /**
5704
5704
  * Attaches callbacks for the resolution and/or rejection of the Promise.
5705
5705
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -6193,29 +6193,6 @@ export type Contract$paymentsArgs<ExtArgs extends runtime.Types.Extensions.Inter
6193
6193
  skip?: number;
6194
6194
  distinct?: Prisma.ContractPaymentScalarFieldEnum | Prisma.ContractPaymentScalarFieldEnum[];
6195
6195
  };
6196
- /**
6197
- * Contract.events
6198
- */
6199
- export type Contract$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
6200
- /**
6201
- * Select specific fields to fetch from the ContractEvent
6202
- */
6203
- select?: Prisma.ContractEventSelect<ExtArgs> | null;
6204
- /**
6205
- * Omit specific fields from the ContractEvent
6206
- */
6207
- omit?: Prisma.ContractEventOmit<ExtArgs> | null;
6208
- /**
6209
- * Choose, which related nodes to fetch as well
6210
- */
6211
- include?: Prisma.ContractEventInclude<ExtArgs> | null;
6212
- where?: Prisma.ContractEventWhereInput;
6213
- orderBy?: Prisma.ContractEventOrderByWithRelationInput | Prisma.ContractEventOrderByWithRelationInput[];
6214
- cursor?: Prisma.ContractEventWhereUniqueInput;
6215
- take?: number;
6216
- skip?: number;
6217
- distinct?: Prisma.ContractEventScalarFieldEnum | Prisma.ContractEventScalarFieldEnum[];
6218
- };
6219
6196
  /**
6220
6197
  * Contract.terminations
6221
6198
  */
@@ -6367,6 +6344,29 @@ export type Contract$incomingTransferRequestsArgs<ExtArgs extends runtime.Types.
6367
6344
  skip?: number;
6368
6345
  distinct?: Prisma.PropertyTransferRequestScalarFieldEnum | Prisma.PropertyTransferRequestScalarFieldEnum[];
6369
6346
  };
6347
+ /**
6348
+ * Contract.events
6349
+ */
6350
+ export type Contract$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
6351
+ /**
6352
+ * Select specific fields to fetch from the ContractEvent
6353
+ */
6354
+ select?: Prisma.ContractEventSelect<ExtArgs> | null;
6355
+ /**
6356
+ * Omit specific fields from the ContractEvent
6357
+ */
6358
+ omit?: Prisma.ContractEventOmit<ExtArgs> | null;
6359
+ /**
6360
+ * Choose, which related nodes to fetch as well
6361
+ */
6362
+ include?: Prisma.ContractEventInclude<ExtArgs> | null;
6363
+ where?: Prisma.ContractEventWhereInput;
6364
+ orderBy?: Prisma.ContractEventOrderByWithRelationInput | Prisma.ContractEventOrderByWithRelationInput[];
6365
+ cursor?: Prisma.ContractEventWhereUniqueInput;
6366
+ take?: number;
6367
+ skip?: number;
6368
+ distinct?: Prisma.ContractEventScalarFieldEnum | Prisma.ContractEventScalarFieldEnum[];
6369
+ };
6370
6370
  /**
6371
6371
  * Contract without action
6372
6372
  */