@valentine-efagene/qshelter-common 2.0.37 → 2.0.39

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.
@@ -412,6 +412,7 @@ export type ContractWhereInput = {
412
412
  transitions?: Prisma.ContractTransitionListRelationFilter;
413
413
  events?: Prisma.ContractEventListRelationFilter;
414
414
  terminations?: Prisma.ContractTerminationListRelationFilter;
415
+ offerLetters?: Prisma.OfferLetterListRelationFilter;
415
416
  prequalification?: Prisma.XOR<Prisma.PrequalificationNullableScalarRelationFilter, Prisma.PrequalificationWhereInput> | null;
416
417
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
417
418
  };
@@ -457,6 +458,7 @@ export type ContractOrderByWithRelationInput = {
457
458
  transitions?: Prisma.ContractTransitionOrderByRelationAggregateInput;
458
459
  events?: Prisma.ContractEventOrderByRelationAggregateInput;
459
460
  terminations?: Prisma.ContractTerminationOrderByRelationAggregateInput;
461
+ offerLetters?: Prisma.OfferLetterOrderByRelationAggregateInput;
460
462
  prequalification?: Prisma.PrequalificationOrderByWithRelationInput;
461
463
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestOrderByRelationAggregateInput;
462
464
  _relevance?: Prisma.ContractOrderByRelevanceInput;
@@ -506,6 +508,7 @@ export type ContractWhereUniqueInput = Prisma.AtLeast<{
506
508
  transitions?: Prisma.ContractTransitionListRelationFilter;
507
509
  events?: Prisma.ContractEventListRelationFilter;
508
510
  terminations?: Prisma.ContractTerminationListRelationFilter;
511
+ offerLetters?: Prisma.OfferLetterListRelationFilter;
509
512
  prequalification?: Prisma.XOR<Prisma.PrequalificationNullableScalarRelationFilter, Prisma.PrequalificationWhereInput> | null;
510
513
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
511
514
  }, "id" | "contractNumber">;
@@ -618,6 +621,7 @@ export type ContractCreateInput = {
618
621
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
619
622
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
620
623
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
624
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
621
625
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
622
626
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
623
627
  };
@@ -658,6 +662,7 @@ export type ContractUncheckedCreateInput = {
658
662
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
659
663
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
660
664
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
665
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
661
666
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
662
667
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
663
668
  };
@@ -698,6 +703,7 @@ export type ContractUpdateInput = {
698
703
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
699
704
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
700
705
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
706
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
701
707
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
702
708
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
703
709
  };
@@ -738,6 +744,7 @@ export type ContractUncheckedUpdateInput = {
738
744
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
739
745
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
740
746
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
747
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
741
748
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
742
749
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
743
750
  };
@@ -1224,6 +1231,18 @@ export type ContractUpdateOneRequiredWithoutEventsNestedInput = {
1224
1231
  connect?: Prisma.ContractWhereUniqueInput;
1225
1232
  update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutEventsInput, Prisma.ContractUpdateWithoutEventsInput>, Prisma.ContractUncheckedUpdateWithoutEventsInput>;
1226
1233
  };
1234
+ export type ContractCreateNestedOneWithoutOfferLettersInput = {
1235
+ create?: Prisma.XOR<Prisma.ContractCreateWithoutOfferLettersInput, Prisma.ContractUncheckedCreateWithoutOfferLettersInput>;
1236
+ connectOrCreate?: Prisma.ContractCreateOrConnectWithoutOfferLettersInput;
1237
+ connect?: Prisma.ContractWhereUniqueInput;
1238
+ };
1239
+ export type ContractUpdateOneRequiredWithoutOfferLettersNestedInput = {
1240
+ create?: Prisma.XOR<Prisma.ContractCreateWithoutOfferLettersInput, Prisma.ContractUncheckedCreateWithoutOfferLettersInput>;
1241
+ connectOrCreate?: Prisma.ContractCreateOrConnectWithoutOfferLettersInput;
1242
+ upsert?: Prisma.ContractUpsertWithoutOfferLettersInput;
1243
+ connect?: Prisma.ContractWhereUniqueInput;
1244
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutOfferLettersInput, Prisma.ContractUpdateWithoutOfferLettersInput>, Prisma.ContractUncheckedUpdateWithoutOfferLettersInput>;
1245
+ };
1227
1246
  export type ContractCreateNestedOneWithoutTerminationsInput = {
1228
1247
  create?: Prisma.XOR<Prisma.ContractCreateWithoutTerminationsInput, Prisma.ContractUncheckedCreateWithoutTerminationsInput>;
1229
1248
  connectOrCreate?: Prisma.ContractCreateOrConnectWithoutTerminationsInput;
@@ -1298,6 +1317,7 @@ export type ContractCreateWithoutBuyerInput = {
1298
1317
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
1299
1318
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1300
1319
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
1320
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
1301
1321
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
1302
1322
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
1303
1323
  };
@@ -1337,6 +1357,7 @@ export type ContractUncheckedCreateWithoutBuyerInput = {
1337
1357
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
1338
1358
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1339
1359
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
1360
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
1340
1361
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
1341
1362
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
1342
1363
  };
@@ -1384,6 +1405,7 @@ export type ContractCreateWithoutSellerInput = {
1384
1405
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
1385
1406
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1386
1407
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
1408
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
1387
1409
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
1388
1410
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
1389
1411
  };
@@ -1423,6 +1445,7 @@ export type ContractUncheckedCreateWithoutSellerInput = {
1423
1445
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
1424
1446
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1425
1447
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
1448
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
1426
1449
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
1427
1450
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
1428
1451
  };
@@ -1531,6 +1554,7 @@ export type ContractCreateWithoutTenantInput = {
1531
1554
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
1532
1555
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1533
1556
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
1557
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
1534
1558
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
1535
1559
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
1536
1560
  };
@@ -1570,6 +1594,7 @@ export type ContractUncheckedCreateWithoutTenantInput = {
1570
1594
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
1571
1595
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1572
1596
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
1597
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
1573
1598
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
1574
1599
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
1575
1600
  };
@@ -1630,6 +1655,7 @@ export type ContractCreateWithoutPropertyUnitInput = {
1630
1655
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
1631
1656
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1632
1657
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
1658
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
1633
1659
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
1634
1660
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
1635
1661
  };
@@ -1669,6 +1695,7 @@ export type ContractUncheckedCreateWithoutPropertyUnitInput = {
1669
1695
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
1670
1696
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1671
1697
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
1698
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
1672
1699
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
1673
1700
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
1674
1701
  };
@@ -1729,6 +1756,7 @@ export type ContractCreateWithoutPaymentMethodInput = {
1729
1756
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
1730
1757
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1731
1758
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
1759
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
1732
1760
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
1733
1761
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
1734
1762
  };
@@ -1768,6 +1796,7 @@ export type ContractUncheckedCreateWithoutPaymentMethodInput = {
1768
1796
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
1769
1797
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1770
1798
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
1799
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
1771
1800
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
1772
1801
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
1773
1802
  };
@@ -1828,6 +1857,7 @@ export type ContractCreateWithoutPhasesInput = {
1828
1857
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
1829
1858
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1830
1859
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
1860
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
1831
1861
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
1832
1862
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
1833
1863
  };
@@ -1867,6 +1897,7 @@ export type ContractUncheckedCreateWithoutPhasesInput = {
1867
1897
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
1868
1898
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1869
1899
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
1900
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
1870
1901
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
1871
1902
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
1872
1903
  };
@@ -1919,6 +1950,7 @@ export type ContractUpdateWithoutPhasesInput = {
1919
1950
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
1920
1951
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
1921
1952
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
1953
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
1922
1954
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
1923
1955
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
1924
1956
  };
@@ -1958,6 +1990,7 @@ export type ContractUncheckedUpdateWithoutPhasesInput = {
1958
1990
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
1959
1991
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
1960
1992
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
1993
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
1961
1994
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
1962
1995
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
1963
1996
  };
@@ -1997,6 +2030,7 @@ export type ContractCreateWithoutPaymentsInput = {
1997
2030
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
1998
2031
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1999
2032
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2033
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2000
2034
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
2001
2035
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
2002
2036
  };
@@ -2036,6 +2070,7 @@ export type ContractUncheckedCreateWithoutPaymentsInput = {
2036
2070
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
2037
2071
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2038
2072
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2073
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2039
2074
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
2040
2075
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2041
2076
  };
@@ -2088,6 +2123,7 @@ export type ContractUpdateWithoutPaymentsInput = {
2088
2123
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
2089
2124
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2090
2125
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
2126
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2091
2127
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
2092
2128
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
2093
2129
  };
@@ -2127,6 +2163,7 @@ export type ContractUncheckedUpdateWithoutPaymentsInput = {
2127
2163
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
2128
2164
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2129
2165
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
2166
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2130
2167
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
2131
2168
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2132
2169
  };
@@ -2166,6 +2203,7 @@ export type ContractCreateWithoutDocumentsInput = {
2166
2203
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
2167
2204
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2168
2205
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2206
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2169
2207
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
2170
2208
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
2171
2209
  };
@@ -2205,6 +2243,7 @@ export type ContractUncheckedCreateWithoutDocumentsInput = {
2205
2243
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
2206
2244
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2207
2245
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2246
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2208
2247
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
2209
2248
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2210
2249
  };
@@ -2257,6 +2296,7 @@ export type ContractUpdateWithoutDocumentsInput = {
2257
2296
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
2258
2297
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2259
2298
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
2299
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2260
2300
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
2261
2301
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
2262
2302
  };
@@ -2296,6 +2336,7 @@ export type ContractUncheckedUpdateWithoutDocumentsInput = {
2296
2336
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
2297
2337
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2298
2338
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
2339
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2299
2340
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
2300
2341
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2301
2342
  };
@@ -2335,6 +2376,7 @@ export type ContractCreateWithoutTransitionsInput = {
2335
2376
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2336
2377
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2337
2378
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2379
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2338
2380
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
2339
2381
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
2340
2382
  };
@@ -2374,6 +2416,7 @@ export type ContractUncheckedCreateWithoutTransitionsInput = {
2374
2416
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2375
2417
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2376
2418
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2419
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2377
2420
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
2378
2421
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2379
2422
  };
@@ -2426,6 +2469,7 @@ export type ContractUpdateWithoutTransitionsInput = {
2426
2469
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
2427
2470
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2428
2471
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
2472
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2429
2473
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
2430
2474
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
2431
2475
  };
@@ -2465,6 +2509,7 @@ export type ContractUncheckedUpdateWithoutTransitionsInput = {
2465
2509
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
2466
2510
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2467
2511
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
2512
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2468
2513
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
2469
2514
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2470
2515
  };
@@ -2504,6 +2549,7 @@ export type ContractCreateWithoutEventsInput = {
2504
2549
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2505
2550
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
2506
2551
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2552
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2507
2553
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
2508
2554
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
2509
2555
  };
@@ -2543,6 +2589,7 @@ export type ContractUncheckedCreateWithoutEventsInput = {
2543
2589
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2544
2590
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
2545
2591
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2592
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2546
2593
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
2547
2594
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2548
2595
  };
@@ -2595,6 +2642,7 @@ export type ContractUpdateWithoutEventsInput = {
2595
2642
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
2596
2643
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
2597
2644
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
2645
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2598
2646
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
2599
2647
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
2600
2648
  };
@@ -2634,6 +2682,180 @@ export type ContractUncheckedUpdateWithoutEventsInput = {
2634
2682
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
2635
2683
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
2636
2684
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
2685
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2686
+ prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
2687
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2688
+ };
2689
+ export type ContractCreateWithoutOfferLettersInput = {
2690
+ id?: string;
2691
+ contractNumber: string;
2692
+ title: string;
2693
+ description?: string | null;
2694
+ contractType: string;
2695
+ totalAmount: number;
2696
+ downPayment?: number;
2697
+ downPaymentPaid?: number;
2698
+ principal?: number | null;
2699
+ interestRate?: number | null;
2700
+ termMonths?: number | null;
2701
+ periodicPayment?: number | null;
2702
+ totalPaidToDate?: number;
2703
+ totalInterestPaid?: number;
2704
+ status?: $Enums.ContractStatus;
2705
+ state?: $Enums.ContractStatus;
2706
+ currentPhaseId?: string | null;
2707
+ nextPaymentDueDate?: Date | string | null;
2708
+ lastReminderSentAt?: Date | string | null;
2709
+ startDate?: Date | string | null;
2710
+ endDate?: Date | string | null;
2711
+ signedAt?: Date | string | null;
2712
+ terminatedAt?: Date | string | null;
2713
+ createdAt?: Date | string;
2714
+ updatedAt?: Date | string;
2715
+ tenant: Prisma.TenantCreateNestedOneWithoutContractsInput;
2716
+ propertyUnit: Prisma.PropertyUnitCreateNestedOneWithoutContractsInput;
2717
+ buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
2718
+ seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
2719
+ paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
2720
+ phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
2721
+ documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
2722
+ payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2723
+ transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
2724
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2725
+ terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2726
+ prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
2727
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
2728
+ };
2729
+ export type ContractUncheckedCreateWithoutOfferLettersInput = {
2730
+ id?: string;
2731
+ tenantId: string;
2732
+ propertyUnitId: string;
2733
+ buyerId: string;
2734
+ sellerId?: string | null;
2735
+ paymentMethodId?: string | null;
2736
+ contractNumber: string;
2737
+ title: string;
2738
+ description?: string | null;
2739
+ contractType: string;
2740
+ totalAmount: number;
2741
+ downPayment?: number;
2742
+ downPaymentPaid?: number;
2743
+ principal?: number | null;
2744
+ interestRate?: number | null;
2745
+ termMonths?: number | null;
2746
+ periodicPayment?: number | null;
2747
+ totalPaidToDate?: number;
2748
+ totalInterestPaid?: number;
2749
+ status?: $Enums.ContractStatus;
2750
+ state?: $Enums.ContractStatus;
2751
+ currentPhaseId?: string | null;
2752
+ nextPaymentDueDate?: Date | string | null;
2753
+ lastReminderSentAt?: Date | string | null;
2754
+ startDate?: Date | string | null;
2755
+ endDate?: Date | string | null;
2756
+ signedAt?: Date | string | null;
2757
+ terminatedAt?: Date | string | null;
2758
+ createdAt?: Date | string;
2759
+ updatedAt?: Date | string;
2760
+ phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
2761
+ documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
2762
+ payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2763
+ transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
2764
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2765
+ terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2766
+ prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
2767
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2768
+ };
2769
+ export type ContractCreateOrConnectWithoutOfferLettersInput = {
2770
+ where: Prisma.ContractWhereUniqueInput;
2771
+ create: Prisma.XOR<Prisma.ContractCreateWithoutOfferLettersInput, Prisma.ContractUncheckedCreateWithoutOfferLettersInput>;
2772
+ };
2773
+ export type ContractUpsertWithoutOfferLettersInput = {
2774
+ update: Prisma.XOR<Prisma.ContractUpdateWithoutOfferLettersInput, Prisma.ContractUncheckedUpdateWithoutOfferLettersInput>;
2775
+ create: Prisma.XOR<Prisma.ContractCreateWithoutOfferLettersInput, Prisma.ContractUncheckedCreateWithoutOfferLettersInput>;
2776
+ where?: Prisma.ContractWhereInput;
2777
+ };
2778
+ export type ContractUpdateToOneWithWhereWithoutOfferLettersInput = {
2779
+ where?: Prisma.ContractWhereInput;
2780
+ data: Prisma.XOR<Prisma.ContractUpdateWithoutOfferLettersInput, Prisma.ContractUncheckedUpdateWithoutOfferLettersInput>;
2781
+ };
2782
+ export type ContractUpdateWithoutOfferLettersInput = {
2783
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2784
+ contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2785
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
2786
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2787
+ contractType?: Prisma.StringFieldUpdateOperationsInput | string;
2788
+ totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
2789
+ downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
2790
+ downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
2791
+ principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2792
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2793
+ termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2794
+ periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2795
+ totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
2796
+ totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
2797
+ status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
2798
+ state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
2799
+ currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2800
+ nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2801
+ lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2802
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2803
+ endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2804
+ signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2805
+ terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2806
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2807
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2808
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutContractsNestedInput;
2809
+ propertyUnit?: Prisma.PropertyUnitUpdateOneRequiredWithoutContractsNestedInput;
2810
+ buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
2811
+ seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
2812
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
2813
+ phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
2814
+ documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
2815
+ payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
2816
+ transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
2817
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2818
+ terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
2819
+ prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
2820
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
2821
+ };
2822
+ export type ContractUncheckedUpdateWithoutOfferLettersInput = {
2823
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2824
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2825
+ propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
2826
+ buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
2827
+ sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2828
+ paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2829
+ contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2830
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
2831
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2832
+ contractType?: Prisma.StringFieldUpdateOperationsInput | string;
2833
+ totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
2834
+ downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
2835
+ downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
2836
+ principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2837
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2838
+ termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2839
+ periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2840
+ totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
2841
+ totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
2842
+ status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
2843
+ state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
2844
+ currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2845
+ nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2846
+ lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2847
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2848
+ endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2849
+ signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2850
+ terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2851
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2852
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2853
+ phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
2854
+ documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
2855
+ payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
2856
+ transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
2857
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2858
+ terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
2637
2859
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
2638
2860
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2639
2861
  };
@@ -2673,6 +2895,7 @@ export type ContractCreateWithoutTerminationsInput = {
2673
2895
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2674
2896
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
2675
2897
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2898
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2676
2899
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
2677
2900
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
2678
2901
  };
@@ -2712,6 +2935,7 @@ export type ContractUncheckedCreateWithoutTerminationsInput = {
2712
2935
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2713
2936
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
2714
2937
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2938
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2715
2939
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
2716
2940
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2717
2941
  };
@@ -2764,6 +2988,7 @@ export type ContractUpdateWithoutTerminationsInput = {
2764
2988
  payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
2765
2989
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
2766
2990
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2991
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2767
2992
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
2768
2993
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
2769
2994
  };
@@ -2803,6 +3028,7 @@ export type ContractUncheckedUpdateWithoutTerminationsInput = {
2803
3028
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
2804
3029
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
2805
3030
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3031
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2806
3032
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
2807
3033
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2808
3034
  };
@@ -2843,6 +3069,7 @@ export type ContractCreateWithoutPrequalificationInput = {
2843
3069
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
2844
3070
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2845
3071
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
3072
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2846
3073
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
2847
3074
  };
2848
3075
  export type ContractUncheckedCreateWithoutPrequalificationInput = {
@@ -2882,6 +3109,7 @@ export type ContractUncheckedCreateWithoutPrequalificationInput = {
2882
3109
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
2883
3110
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2884
3111
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
3112
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2885
3113
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2886
3114
  };
2887
3115
  export type ContractCreateOrConnectWithoutPrequalificationInput = {
@@ -2934,6 +3162,7 @@ export type ContractUpdateWithoutPrequalificationInput = {
2934
3162
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
2935
3163
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2936
3164
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
3165
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2937
3166
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
2938
3167
  };
2939
3168
  export type ContractUncheckedUpdateWithoutPrequalificationInput = {
@@ -2973,6 +3202,7 @@ export type ContractUncheckedUpdateWithoutPrequalificationInput = {
2973
3202
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
2974
3203
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2975
3204
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
3205
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2976
3206
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2977
3207
  };
2978
3208
  export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
@@ -3012,6 +3242,7 @@ export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
3012
3242
  transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
3013
3243
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3014
3244
  terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
3245
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
3015
3246
  prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
3016
3247
  };
3017
3248
  export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
@@ -3051,6 +3282,7 @@ export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
3051
3282
  transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
3052
3283
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3053
3284
  terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
3285
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
3054
3286
  prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
3055
3287
  };
3056
3288
  export type ContractCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
@@ -3103,6 +3335,7 @@ export type ContractUpdateWithoutPaymentMethodChangeRequestsInput = {
3103
3335
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
3104
3336
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3105
3337
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
3338
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
3106
3339
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
3107
3340
  };
3108
3341
  export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
@@ -3142,6 +3375,7 @@ export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
3142
3375
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
3143
3376
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3144
3377
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
3378
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
3145
3379
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
3146
3380
  };
3147
3381
  export type ContractCreateManyBuyerInput = {
@@ -3242,6 +3476,7 @@ export type ContractUpdateWithoutBuyerInput = {
3242
3476
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
3243
3477
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3244
3478
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
3479
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
3245
3480
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
3246
3481
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
3247
3482
  };
@@ -3281,6 +3516,7 @@ export type ContractUncheckedUpdateWithoutBuyerInput = {
3281
3516
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
3282
3517
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3283
3518
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
3519
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
3284
3520
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
3285
3521
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
3286
3522
  };
@@ -3351,6 +3587,7 @@ export type ContractUpdateWithoutSellerInput = {
3351
3587
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
3352
3588
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3353
3589
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
3590
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
3354
3591
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
3355
3592
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
3356
3593
  };
@@ -3390,6 +3627,7 @@ export type ContractUncheckedUpdateWithoutSellerInput = {
3390
3627
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
3391
3628
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3392
3629
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
3630
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
3393
3631
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
3394
3632
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
3395
3633
  };
@@ -3491,6 +3729,7 @@ export type ContractUpdateWithoutTenantInput = {
3491
3729
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
3492
3730
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3493
3731
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
3732
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
3494
3733
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
3495
3734
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
3496
3735
  };
@@ -3530,6 +3769,7 @@ export type ContractUncheckedUpdateWithoutTenantInput = {
3530
3769
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
3531
3770
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3532
3771
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
3772
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
3533
3773
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
3534
3774
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
3535
3775
  };
@@ -3631,6 +3871,7 @@ export type ContractUpdateWithoutPropertyUnitInput = {
3631
3871
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
3632
3872
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3633
3873
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
3874
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
3634
3875
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
3635
3876
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
3636
3877
  };
@@ -3670,6 +3911,7 @@ export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
3670
3911
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
3671
3912
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3672
3913
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
3914
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
3673
3915
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
3674
3916
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
3675
3917
  };
@@ -3771,6 +4013,7 @@ export type ContractUpdateWithoutPaymentMethodInput = {
3771
4013
  transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
3772
4014
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3773
4015
  terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
4016
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
3774
4017
  prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
3775
4018
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
3776
4019
  };
@@ -3810,6 +4053,7 @@ export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
3810
4053
  transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
3811
4054
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3812
4055
  terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
4056
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
3813
4057
  prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
3814
4058
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
3815
4059
  };
@@ -3854,6 +4098,7 @@ export type ContractCountOutputType = {
3854
4098
  transitions: number;
3855
4099
  events: number;
3856
4100
  terminations: number;
4101
+ offerLetters: number;
3857
4102
  paymentMethodChangeRequests: number;
3858
4103
  };
3859
4104
  export type ContractCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -3863,6 +4108,7 @@ export type ContractCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensio
3863
4108
  transitions?: boolean | ContractCountOutputTypeCountTransitionsArgs;
3864
4109
  events?: boolean | ContractCountOutputTypeCountEventsArgs;
3865
4110
  terminations?: boolean | ContractCountOutputTypeCountTerminationsArgs;
4111
+ offerLetters?: boolean | ContractCountOutputTypeCountOfferLettersArgs;
3866
4112
  paymentMethodChangeRequests?: boolean | ContractCountOutputTypeCountPaymentMethodChangeRequestsArgs;
3867
4113
  };
3868
4114
  /**
@@ -3910,6 +4156,12 @@ export type ContractCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types
3910
4156
  export type ContractCountOutputTypeCountTerminationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3911
4157
  where?: Prisma.ContractTerminationWhereInput;
3912
4158
  };
4159
+ /**
4160
+ * ContractCountOutputType without action
4161
+ */
4162
+ export type ContractCountOutputTypeCountOfferLettersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4163
+ where?: Prisma.OfferLetterWhereInput;
4164
+ };
3913
4165
  /**
3914
4166
  * ContractCountOutputType without action
3915
4167
  */
@@ -3958,6 +4210,7 @@ export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
3958
4210
  transitions?: boolean | Prisma.Contract$transitionsArgs<ExtArgs>;
3959
4211
  events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
3960
4212
  terminations?: boolean | Prisma.Contract$terminationsArgs<ExtArgs>;
4213
+ offerLetters?: boolean | Prisma.Contract$offerLettersArgs<ExtArgs>;
3961
4214
  prequalification?: boolean | Prisma.Contract$prequalificationArgs<ExtArgs>;
3962
4215
  paymentMethodChangeRequests?: boolean | Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs>;
3963
4216
  _count?: boolean | Prisma.ContractCountOutputTypeDefaultArgs<ExtArgs>;
@@ -4007,6 +4260,7 @@ export type ContractInclude<ExtArgs extends runtime.Types.Extensions.InternalArg
4007
4260
  transitions?: boolean | Prisma.Contract$transitionsArgs<ExtArgs>;
4008
4261
  events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
4009
4262
  terminations?: boolean | Prisma.Contract$terminationsArgs<ExtArgs>;
4263
+ offerLetters?: boolean | Prisma.Contract$offerLettersArgs<ExtArgs>;
4010
4264
  prequalification?: boolean | Prisma.Contract$prequalificationArgs<ExtArgs>;
4011
4265
  paymentMethodChangeRequests?: boolean | Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs>;
4012
4266
  _count?: boolean | Prisma.ContractCountOutputTypeDefaultArgs<ExtArgs>;
@@ -4025,6 +4279,7 @@ export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
4025
4279
  transitions: Prisma.$ContractTransitionPayload<ExtArgs>[];
4026
4280
  events: Prisma.$ContractEventPayload<ExtArgs>[];
4027
4281
  terminations: Prisma.$ContractTerminationPayload<ExtArgs>[];
4282
+ offerLetters: Prisma.$OfferLetterPayload<ExtArgs>[];
4028
4283
  prequalification: Prisma.$PrequalificationPayload<ExtArgs> | null;
4029
4284
  paymentMethodChangeRequests: Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>[];
4030
4285
  };
@@ -4347,6 +4602,7 @@ export interface Prisma__ContractClient<T, Null = never, ExtArgs extends runtime
4347
4602
  transitions<T extends Prisma.Contract$transitionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$transitionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractTransitionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4348
4603
  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>;
4349
4604
  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>;
4605
+ 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>;
4350
4606
  prequalification<T extends Prisma.Contract$prequalificationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$prequalificationArgs<ExtArgs>>): Prisma.Prisma__PrequalificationClient<runtime.Types.Result.GetResult<Prisma.$PrequalificationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
4351
4607
  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>;
4352
4608
  /**
@@ -4905,6 +5161,29 @@ export type Contract$terminationsArgs<ExtArgs extends runtime.Types.Extensions.I
4905
5161
  skip?: number;
4906
5162
  distinct?: Prisma.ContractTerminationScalarFieldEnum | Prisma.ContractTerminationScalarFieldEnum[];
4907
5163
  };
5164
+ /**
5165
+ * Contract.offerLetters
5166
+ */
5167
+ export type Contract$offerLettersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5168
+ /**
5169
+ * Select specific fields to fetch from the OfferLetter
5170
+ */
5171
+ select?: Prisma.OfferLetterSelect<ExtArgs> | null;
5172
+ /**
5173
+ * Omit specific fields from the OfferLetter
5174
+ */
5175
+ omit?: Prisma.OfferLetterOmit<ExtArgs> | null;
5176
+ /**
5177
+ * Choose, which related nodes to fetch as well
5178
+ */
5179
+ include?: Prisma.OfferLetterInclude<ExtArgs> | null;
5180
+ where?: Prisma.OfferLetterWhereInput;
5181
+ orderBy?: Prisma.OfferLetterOrderByWithRelationInput | Prisma.OfferLetterOrderByWithRelationInput[];
5182
+ cursor?: Prisma.OfferLetterWhereUniqueInput;
5183
+ take?: number;
5184
+ skip?: number;
5185
+ distinct?: Prisma.OfferLetterScalarFieldEnum | Prisma.OfferLetterScalarFieldEnum[];
5186
+ };
4908
5187
  /**
4909
5188
  * Contract.prequalification
4910
5189
  */