@valentine-efagene/qshelter-common 2.0.24 → 2.0.26
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.
- package/dist/generated/client/browser.d.ts +15 -0
- package/dist/generated/client/client.d.ts +15 -0
- package/dist/generated/client/commonInputTypes.d.ts +200 -0
- package/dist/generated/client/enums.d.ts +25 -1
- package/dist/generated/client/enums.js +22 -1
- package/dist/generated/client/internal/class.d.ts +33 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +352 -1
- package/dist/generated/client/internal/prismaNamespace.js +120 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +130 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +120 -0
- package/dist/generated/client/models/Contract.d.ts +511 -0
- package/dist/generated/client/models/DocumentRequirementRule.d.ts +2069 -0
- package/dist/generated/client/models/DocumentRequirementRule.js +1 -0
- package/dist/generated/client/models/PaymentMethodChangeRequest.d.ts +2820 -0
- package/dist/generated/client/models/PaymentMethodChangeRequest.js +1 -0
- package/dist/generated/client/models/Prequalification.d.ts +2339 -0
- package/dist/generated/client/models/Prequalification.js +1 -0
- package/dist/generated/client/models/Property.d.ts +211 -0
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1139 -131
- package/dist/generated/client/models/Tenant.d.ts +441 -0
- package/dist/generated/client/models/User.d.ts +815 -0
- package/dist/generated/client/models.d.ts +3 -0
- package/dist/src/middleware/tenant.d.ts +15 -0
- package/dist/src/middleware/tenant.js +5 -2
- package/package.json +1 -1
- package/prisma/migrations/20251230231217_add_prequalification_and_payment_method_change/migration.sql +137 -0
- package/prisma/schema.prisma +225 -5
|
@@ -410,6 +410,8 @@ export type ContractWhereInput = {
|
|
|
410
410
|
payments?: Prisma.ContractPaymentListRelationFilter;
|
|
411
411
|
transitions?: Prisma.ContractTransitionListRelationFilter;
|
|
412
412
|
events?: Prisma.ContractEventListRelationFilter;
|
|
413
|
+
prequalification?: Prisma.XOR<Prisma.PrequalificationNullableScalarRelationFilter, Prisma.PrequalificationWhereInput> | null;
|
|
414
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
|
|
413
415
|
};
|
|
414
416
|
export type ContractOrderByWithRelationInput = {
|
|
415
417
|
id?: Prisma.SortOrder;
|
|
@@ -452,6 +454,8 @@ export type ContractOrderByWithRelationInput = {
|
|
|
452
454
|
payments?: Prisma.ContractPaymentOrderByRelationAggregateInput;
|
|
453
455
|
transitions?: Prisma.ContractTransitionOrderByRelationAggregateInput;
|
|
454
456
|
events?: Prisma.ContractEventOrderByRelationAggregateInput;
|
|
457
|
+
prequalification?: Prisma.PrequalificationOrderByWithRelationInput;
|
|
458
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestOrderByRelationAggregateInput;
|
|
455
459
|
_relevance?: Prisma.ContractOrderByRelevanceInput;
|
|
456
460
|
};
|
|
457
461
|
export type ContractWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -498,6 +502,8 @@ export type ContractWhereUniqueInput = Prisma.AtLeast<{
|
|
|
498
502
|
payments?: Prisma.ContractPaymentListRelationFilter;
|
|
499
503
|
transitions?: Prisma.ContractTransitionListRelationFilter;
|
|
500
504
|
events?: Prisma.ContractEventListRelationFilter;
|
|
505
|
+
prequalification?: Prisma.XOR<Prisma.PrequalificationNullableScalarRelationFilter, Prisma.PrequalificationWhereInput> | null;
|
|
506
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
|
|
501
507
|
}, "id" | "contractNumber">;
|
|
502
508
|
export type ContractOrderByWithAggregationInput = {
|
|
503
509
|
id?: Prisma.SortOrder;
|
|
@@ -607,6 +613,8 @@ export type ContractCreateInput = {
|
|
|
607
613
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
608
614
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
609
615
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
616
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
617
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
610
618
|
};
|
|
611
619
|
export type ContractUncheckedCreateInput = {
|
|
612
620
|
id?: string;
|
|
@@ -644,6 +652,8 @@ export type ContractUncheckedCreateInput = {
|
|
|
644
652
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
645
653
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
646
654
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
655
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
656
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
647
657
|
};
|
|
648
658
|
export type ContractUpdateInput = {
|
|
649
659
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -681,6 +691,8 @@ export type ContractUpdateInput = {
|
|
|
681
691
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
682
692
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
683
693
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
694
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
695
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
684
696
|
};
|
|
685
697
|
export type ContractUncheckedUpdateInput = {
|
|
686
698
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -718,6 +730,8 @@ export type ContractUncheckedUpdateInput = {
|
|
|
718
730
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
719
731
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
720
732
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
733
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
734
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
721
735
|
};
|
|
722
736
|
export type ContractCreateManyInput = {
|
|
723
737
|
id?: string;
|
|
@@ -945,6 +959,10 @@ export type ContractScalarRelationFilter = {
|
|
|
945
959
|
is?: Prisma.ContractWhereInput;
|
|
946
960
|
isNot?: Prisma.ContractWhereInput;
|
|
947
961
|
};
|
|
962
|
+
export type ContractNullableScalarRelationFilter = {
|
|
963
|
+
is?: Prisma.ContractWhereInput | null;
|
|
964
|
+
isNot?: Prisma.ContractWhereInput | null;
|
|
965
|
+
};
|
|
948
966
|
export type ContractCreateNestedManyWithoutBuyerInput = {
|
|
949
967
|
create?: Prisma.XOR<Prisma.ContractCreateWithoutBuyerInput, Prisma.ContractUncheckedCreateWithoutBuyerInput> | Prisma.ContractCreateWithoutBuyerInput[] | Prisma.ContractUncheckedCreateWithoutBuyerInput[];
|
|
950
968
|
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutBuyerInput | Prisma.ContractCreateOrConnectWithoutBuyerInput[];
|
|
@@ -1195,6 +1213,32 @@ export type ContractUpdateOneRequiredWithoutEventsNestedInput = {
|
|
|
1195
1213
|
connect?: Prisma.ContractWhereUniqueInput;
|
|
1196
1214
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutEventsInput, Prisma.ContractUpdateWithoutEventsInput>, Prisma.ContractUncheckedUpdateWithoutEventsInput>;
|
|
1197
1215
|
};
|
|
1216
|
+
export type ContractCreateNestedOneWithoutPrequalificationInput = {
|
|
1217
|
+
create?: Prisma.XOR<Prisma.ContractCreateWithoutPrequalificationInput, Prisma.ContractUncheckedCreateWithoutPrequalificationInput>;
|
|
1218
|
+
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPrequalificationInput;
|
|
1219
|
+
connect?: Prisma.ContractWhereUniqueInput;
|
|
1220
|
+
};
|
|
1221
|
+
export type ContractUpdateOneWithoutPrequalificationNestedInput = {
|
|
1222
|
+
create?: Prisma.XOR<Prisma.ContractCreateWithoutPrequalificationInput, Prisma.ContractUncheckedCreateWithoutPrequalificationInput>;
|
|
1223
|
+
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPrequalificationInput;
|
|
1224
|
+
upsert?: Prisma.ContractUpsertWithoutPrequalificationInput;
|
|
1225
|
+
disconnect?: Prisma.ContractWhereInput | boolean;
|
|
1226
|
+
delete?: Prisma.ContractWhereInput | boolean;
|
|
1227
|
+
connect?: Prisma.ContractWhereUniqueInput;
|
|
1228
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutPrequalificationInput, Prisma.ContractUpdateWithoutPrequalificationInput>, Prisma.ContractUncheckedUpdateWithoutPrequalificationInput>;
|
|
1229
|
+
};
|
|
1230
|
+
export type ContractCreateNestedOneWithoutPaymentMethodChangeRequestsInput = {
|
|
1231
|
+
create?: Prisma.XOR<Prisma.ContractCreateWithoutPaymentMethodChangeRequestsInput, Prisma.ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput>;
|
|
1232
|
+
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPaymentMethodChangeRequestsInput;
|
|
1233
|
+
connect?: Prisma.ContractWhereUniqueInput;
|
|
1234
|
+
};
|
|
1235
|
+
export type ContractUpdateOneRequiredWithoutPaymentMethodChangeRequestsNestedInput = {
|
|
1236
|
+
create?: Prisma.XOR<Prisma.ContractCreateWithoutPaymentMethodChangeRequestsInput, Prisma.ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput>;
|
|
1237
|
+
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPaymentMethodChangeRequestsInput;
|
|
1238
|
+
upsert?: Prisma.ContractUpsertWithoutPaymentMethodChangeRequestsInput;
|
|
1239
|
+
connect?: Prisma.ContractWhereUniqueInput;
|
|
1240
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutPaymentMethodChangeRequestsInput, Prisma.ContractUpdateWithoutPaymentMethodChangeRequestsInput>, Prisma.ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput>;
|
|
1241
|
+
};
|
|
1198
1242
|
export type ContractCreateWithoutBuyerInput = {
|
|
1199
1243
|
id?: string;
|
|
1200
1244
|
contractNumber: string;
|
|
@@ -1230,6 +1274,8 @@ export type ContractCreateWithoutBuyerInput = {
|
|
|
1230
1274
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
1231
1275
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
1232
1276
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1277
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1278
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1233
1279
|
};
|
|
1234
1280
|
export type ContractUncheckedCreateWithoutBuyerInput = {
|
|
1235
1281
|
id?: string;
|
|
@@ -1266,6 +1312,8 @@ export type ContractUncheckedCreateWithoutBuyerInput = {
|
|
|
1266
1312
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
1267
1313
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
1268
1314
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1315
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1316
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1269
1317
|
};
|
|
1270
1318
|
export type ContractCreateOrConnectWithoutBuyerInput = {
|
|
1271
1319
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -1310,6 +1358,8 @@ export type ContractCreateWithoutSellerInput = {
|
|
|
1310
1358
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
1311
1359
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
1312
1360
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1361
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1362
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1313
1363
|
};
|
|
1314
1364
|
export type ContractUncheckedCreateWithoutSellerInput = {
|
|
1315
1365
|
id?: string;
|
|
@@ -1346,6 +1396,8 @@ export type ContractUncheckedCreateWithoutSellerInput = {
|
|
|
1346
1396
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
1347
1397
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
1348
1398
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1399
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1400
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1349
1401
|
};
|
|
1350
1402
|
export type ContractCreateOrConnectWithoutSellerInput = {
|
|
1351
1403
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -1451,6 +1503,8 @@ export type ContractCreateWithoutTenantInput = {
|
|
|
1451
1503
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
1452
1504
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
1453
1505
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1506
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1507
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1454
1508
|
};
|
|
1455
1509
|
export type ContractUncheckedCreateWithoutTenantInput = {
|
|
1456
1510
|
id?: string;
|
|
@@ -1487,6 +1541,8 @@ export type ContractUncheckedCreateWithoutTenantInput = {
|
|
|
1487
1541
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
1488
1542
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
1489
1543
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1544
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1545
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1490
1546
|
};
|
|
1491
1547
|
export type ContractCreateOrConnectWithoutTenantInput = {
|
|
1492
1548
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -1544,6 +1600,8 @@ export type ContractCreateWithoutPropertyUnitInput = {
|
|
|
1544
1600
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
1545
1601
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
1546
1602
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1603
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1604
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1547
1605
|
};
|
|
1548
1606
|
export type ContractUncheckedCreateWithoutPropertyUnitInput = {
|
|
1549
1607
|
id?: string;
|
|
@@ -1580,6 +1638,8 @@ export type ContractUncheckedCreateWithoutPropertyUnitInput = {
|
|
|
1580
1638
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
1581
1639
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
1582
1640
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1641
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1642
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1583
1643
|
};
|
|
1584
1644
|
export type ContractCreateOrConnectWithoutPropertyUnitInput = {
|
|
1585
1645
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -1637,6 +1697,8 @@ export type ContractCreateWithoutPaymentMethodInput = {
|
|
|
1637
1697
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
1638
1698
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
1639
1699
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1700
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1701
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1640
1702
|
};
|
|
1641
1703
|
export type ContractUncheckedCreateWithoutPaymentMethodInput = {
|
|
1642
1704
|
id?: string;
|
|
@@ -1673,6 +1735,8 @@ export type ContractUncheckedCreateWithoutPaymentMethodInput = {
|
|
|
1673
1735
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
1674
1736
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
1675
1737
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1738
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1739
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1676
1740
|
};
|
|
1677
1741
|
export type ContractCreateOrConnectWithoutPaymentMethodInput = {
|
|
1678
1742
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -1730,6 +1794,8 @@ export type ContractCreateWithoutPhasesInput = {
|
|
|
1730
1794
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
1731
1795
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
1732
1796
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1797
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1798
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1733
1799
|
};
|
|
1734
1800
|
export type ContractUncheckedCreateWithoutPhasesInput = {
|
|
1735
1801
|
id?: string;
|
|
@@ -1766,6 +1832,8 @@ export type ContractUncheckedCreateWithoutPhasesInput = {
|
|
|
1766
1832
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
1767
1833
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
1768
1834
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1835
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1836
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1769
1837
|
};
|
|
1770
1838
|
export type ContractCreateOrConnectWithoutPhasesInput = {
|
|
1771
1839
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -1815,6 +1883,8 @@ export type ContractUpdateWithoutPhasesInput = {
|
|
|
1815
1883
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
1816
1884
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
1817
1885
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
1886
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
1887
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
1818
1888
|
};
|
|
1819
1889
|
export type ContractUncheckedUpdateWithoutPhasesInput = {
|
|
1820
1890
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1851,6 +1921,8 @@ export type ContractUncheckedUpdateWithoutPhasesInput = {
|
|
|
1851
1921
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
1852
1922
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
1853
1923
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
1924
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
1925
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
1854
1926
|
};
|
|
1855
1927
|
export type ContractCreateWithoutPaymentsInput = {
|
|
1856
1928
|
id?: string;
|
|
@@ -1887,6 +1959,8 @@ export type ContractCreateWithoutPaymentsInput = {
|
|
|
1887
1959
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
1888
1960
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
1889
1961
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1962
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1963
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1890
1964
|
};
|
|
1891
1965
|
export type ContractUncheckedCreateWithoutPaymentsInput = {
|
|
1892
1966
|
id?: string;
|
|
@@ -1923,6 +1997,8 @@ export type ContractUncheckedCreateWithoutPaymentsInput = {
|
|
|
1923
1997
|
documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
|
|
1924
1998
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
1925
1999
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2000
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2001
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1926
2002
|
};
|
|
1927
2003
|
export type ContractCreateOrConnectWithoutPaymentsInput = {
|
|
1928
2004
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -1972,6 +2048,8 @@ export type ContractUpdateWithoutPaymentsInput = {
|
|
|
1972
2048
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
1973
2049
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
1974
2050
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
2051
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2052
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
1975
2053
|
};
|
|
1976
2054
|
export type ContractUncheckedUpdateWithoutPaymentsInput = {
|
|
1977
2055
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2008,6 +2086,8 @@ export type ContractUncheckedUpdateWithoutPaymentsInput = {
|
|
|
2008
2086
|
documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2009
2087
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2010
2088
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
2089
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
2090
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2011
2091
|
};
|
|
2012
2092
|
export type ContractCreateWithoutDocumentsInput = {
|
|
2013
2093
|
id?: string;
|
|
@@ -2044,6 +2124,8 @@ export type ContractCreateWithoutDocumentsInput = {
|
|
|
2044
2124
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
2045
2125
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
2046
2126
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
2127
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
2128
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2047
2129
|
};
|
|
2048
2130
|
export type ContractUncheckedCreateWithoutDocumentsInput = {
|
|
2049
2131
|
id?: string;
|
|
@@ -2080,6 +2162,8 @@ export type ContractUncheckedCreateWithoutDocumentsInput = {
|
|
|
2080
2162
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
2081
2163
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
2082
2164
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2165
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2166
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2083
2167
|
};
|
|
2084
2168
|
export type ContractCreateOrConnectWithoutDocumentsInput = {
|
|
2085
2169
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -2129,6 +2213,8 @@ export type ContractUpdateWithoutDocumentsInput = {
|
|
|
2129
2213
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
2130
2214
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2131
2215
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
2216
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2217
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2132
2218
|
};
|
|
2133
2219
|
export type ContractUncheckedUpdateWithoutDocumentsInput = {
|
|
2134
2220
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2165,6 +2251,8 @@ export type ContractUncheckedUpdateWithoutDocumentsInput = {
|
|
|
2165
2251
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2166
2252
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2167
2253
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
2254
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
2255
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2168
2256
|
};
|
|
2169
2257
|
export type ContractCreateWithoutTransitionsInput = {
|
|
2170
2258
|
id?: string;
|
|
@@ -2201,6 +2289,8 @@ export type ContractCreateWithoutTransitionsInput = {
|
|
|
2201
2289
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2202
2290
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
2203
2291
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
2292
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
2293
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2204
2294
|
};
|
|
2205
2295
|
export type ContractUncheckedCreateWithoutTransitionsInput = {
|
|
2206
2296
|
id?: string;
|
|
@@ -2237,6 +2327,8 @@ export type ContractUncheckedCreateWithoutTransitionsInput = {
|
|
|
2237
2327
|
documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
|
|
2238
2328
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
2239
2329
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2330
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2331
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2240
2332
|
};
|
|
2241
2333
|
export type ContractCreateOrConnectWithoutTransitionsInput = {
|
|
2242
2334
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -2286,6 +2378,8 @@ export type ContractUpdateWithoutTransitionsInput = {
|
|
|
2286
2378
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
2287
2379
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
2288
2380
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
2381
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2382
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2289
2383
|
};
|
|
2290
2384
|
export type ContractUncheckedUpdateWithoutTransitionsInput = {
|
|
2291
2385
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2322,6 +2416,8 @@ export type ContractUncheckedUpdateWithoutTransitionsInput = {
|
|
|
2322
2416
|
documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2323
2417
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2324
2418
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
2419
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
2420
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2325
2421
|
};
|
|
2326
2422
|
export type ContractCreateWithoutEventsInput = {
|
|
2327
2423
|
id?: string;
|
|
@@ -2358,6 +2454,8 @@ export type ContractCreateWithoutEventsInput = {
|
|
|
2358
2454
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2359
2455
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
2360
2456
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
2457
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
2458
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2361
2459
|
};
|
|
2362
2460
|
export type ContractUncheckedCreateWithoutEventsInput = {
|
|
2363
2461
|
id?: string;
|
|
@@ -2394,6 +2492,8 @@ export type ContractUncheckedCreateWithoutEventsInput = {
|
|
|
2394
2492
|
documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
|
|
2395
2493
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
2396
2494
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
2495
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2496
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2397
2497
|
};
|
|
2398
2498
|
export type ContractCreateOrConnectWithoutEventsInput = {
|
|
2399
2499
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -2443,6 +2543,8 @@ export type ContractUpdateWithoutEventsInput = {
|
|
|
2443
2543
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
2444
2544
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
2445
2545
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2546
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2547
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2446
2548
|
};
|
|
2447
2549
|
export type ContractUncheckedUpdateWithoutEventsInput = {
|
|
2448
2550
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2479,6 +2581,338 @@ export type ContractUncheckedUpdateWithoutEventsInput = {
|
|
|
2479
2581
|
documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2480
2582
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2481
2583
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2584
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
2585
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2586
|
+
};
|
|
2587
|
+
export type ContractCreateWithoutPrequalificationInput = {
|
|
2588
|
+
id?: string;
|
|
2589
|
+
contractNumber: string;
|
|
2590
|
+
title: string;
|
|
2591
|
+
description?: string | null;
|
|
2592
|
+
contractType: string;
|
|
2593
|
+
totalAmount: number;
|
|
2594
|
+
downPayment?: number;
|
|
2595
|
+
downPaymentPaid?: number;
|
|
2596
|
+
principal?: number | null;
|
|
2597
|
+
interestRate?: number | null;
|
|
2598
|
+
termMonths?: number | null;
|
|
2599
|
+
periodicPayment?: number | null;
|
|
2600
|
+
totalPaidToDate?: number;
|
|
2601
|
+
totalInterestPaid?: number;
|
|
2602
|
+
status?: string;
|
|
2603
|
+
state?: string;
|
|
2604
|
+
currentPhaseId?: string | null;
|
|
2605
|
+
nextPaymentDueDate?: Date | string | null;
|
|
2606
|
+
lastReminderSentAt?: Date | string | null;
|
|
2607
|
+
startDate?: Date | string | null;
|
|
2608
|
+
endDate?: Date | string | null;
|
|
2609
|
+
signedAt?: Date | string | null;
|
|
2610
|
+
terminatedAt?: Date | string | null;
|
|
2611
|
+
createdAt?: Date | string;
|
|
2612
|
+
updatedAt?: Date | string;
|
|
2613
|
+
tenant: Prisma.TenantCreateNestedOneWithoutContractsInput;
|
|
2614
|
+
propertyUnit: Prisma.PropertyUnitCreateNestedOneWithoutContractsInput;
|
|
2615
|
+
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
2616
|
+
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
2617
|
+
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
2618
|
+
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
2619
|
+
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2620
|
+
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
2621
|
+
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
2622
|
+
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
2623
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2624
|
+
};
|
|
2625
|
+
export type ContractUncheckedCreateWithoutPrequalificationInput = {
|
|
2626
|
+
id?: string;
|
|
2627
|
+
tenantId: string;
|
|
2628
|
+
propertyUnitId: string;
|
|
2629
|
+
buyerId: string;
|
|
2630
|
+
sellerId?: string | null;
|
|
2631
|
+
paymentMethodId?: string | null;
|
|
2632
|
+
contractNumber: string;
|
|
2633
|
+
title: string;
|
|
2634
|
+
description?: string | null;
|
|
2635
|
+
contractType: string;
|
|
2636
|
+
totalAmount: number;
|
|
2637
|
+
downPayment?: number;
|
|
2638
|
+
downPaymentPaid?: number;
|
|
2639
|
+
principal?: number | null;
|
|
2640
|
+
interestRate?: number | null;
|
|
2641
|
+
termMonths?: number | null;
|
|
2642
|
+
periodicPayment?: number | null;
|
|
2643
|
+
totalPaidToDate?: number;
|
|
2644
|
+
totalInterestPaid?: number;
|
|
2645
|
+
status?: string;
|
|
2646
|
+
state?: string;
|
|
2647
|
+
currentPhaseId?: string | null;
|
|
2648
|
+
nextPaymentDueDate?: Date | string | null;
|
|
2649
|
+
lastReminderSentAt?: Date | string | null;
|
|
2650
|
+
startDate?: Date | string | null;
|
|
2651
|
+
endDate?: Date | string | null;
|
|
2652
|
+
signedAt?: Date | string | null;
|
|
2653
|
+
terminatedAt?: Date | string | null;
|
|
2654
|
+
createdAt?: Date | string;
|
|
2655
|
+
updatedAt?: Date | string;
|
|
2656
|
+
phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
|
|
2657
|
+
documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
|
|
2658
|
+
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
2659
|
+
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
2660
|
+
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2661
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2662
|
+
};
|
|
2663
|
+
export type ContractCreateOrConnectWithoutPrequalificationInput = {
|
|
2664
|
+
where: Prisma.ContractWhereUniqueInput;
|
|
2665
|
+
create: Prisma.XOR<Prisma.ContractCreateWithoutPrequalificationInput, Prisma.ContractUncheckedCreateWithoutPrequalificationInput>;
|
|
2666
|
+
};
|
|
2667
|
+
export type ContractUpsertWithoutPrequalificationInput = {
|
|
2668
|
+
update: Prisma.XOR<Prisma.ContractUpdateWithoutPrequalificationInput, Prisma.ContractUncheckedUpdateWithoutPrequalificationInput>;
|
|
2669
|
+
create: Prisma.XOR<Prisma.ContractCreateWithoutPrequalificationInput, Prisma.ContractUncheckedCreateWithoutPrequalificationInput>;
|
|
2670
|
+
where?: Prisma.ContractWhereInput;
|
|
2671
|
+
};
|
|
2672
|
+
export type ContractUpdateToOneWithWhereWithoutPrequalificationInput = {
|
|
2673
|
+
where?: Prisma.ContractWhereInput;
|
|
2674
|
+
data: Prisma.XOR<Prisma.ContractUpdateWithoutPrequalificationInput, Prisma.ContractUncheckedUpdateWithoutPrequalificationInput>;
|
|
2675
|
+
};
|
|
2676
|
+
export type ContractUpdateWithoutPrequalificationInput = {
|
|
2677
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2678
|
+
contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2679
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2680
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2681
|
+
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2682
|
+
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2683
|
+
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2684
|
+
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2685
|
+
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2686
|
+
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2687
|
+
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2688
|
+
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2689
|
+
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2690
|
+
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2691
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2692
|
+
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2693
|
+
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2694
|
+
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2695
|
+
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2696
|
+
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2697
|
+
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2698
|
+
signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2699
|
+
terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2700
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2701
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2702
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutContractsNestedInput;
|
|
2703
|
+
propertyUnit?: Prisma.PropertyUnitUpdateOneRequiredWithoutContractsNestedInput;
|
|
2704
|
+
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
2705
|
+
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
2706
|
+
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
2707
|
+
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
2708
|
+
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
2709
|
+
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
2710
|
+
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2711
|
+
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
2712
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2713
|
+
};
|
|
2714
|
+
export type ContractUncheckedUpdateWithoutPrequalificationInput = {
|
|
2715
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2716
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2717
|
+
propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2718
|
+
buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2719
|
+
sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2720
|
+
paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2721
|
+
contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2722
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2723
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2724
|
+
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2725
|
+
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2726
|
+
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2727
|
+
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2728
|
+
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2729
|
+
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2730
|
+
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2731
|
+
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2732
|
+
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2733
|
+
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2734
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2735
|
+
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2736
|
+
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2737
|
+
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2738
|
+
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2739
|
+
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2740
|
+
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2741
|
+
signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2742
|
+
terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2743
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2744
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2745
|
+
phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
|
|
2746
|
+
documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2747
|
+
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2748
|
+
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2749
|
+
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
2750
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2751
|
+
};
|
|
2752
|
+
export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
2753
|
+
id?: string;
|
|
2754
|
+
contractNumber: string;
|
|
2755
|
+
title: string;
|
|
2756
|
+
description?: string | null;
|
|
2757
|
+
contractType: string;
|
|
2758
|
+
totalAmount: number;
|
|
2759
|
+
downPayment?: number;
|
|
2760
|
+
downPaymentPaid?: number;
|
|
2761
|
+
principal?: number | null;
|
|
2762
|
+
interestRate?: number | null;
|
|
2763
|
+
termMonths?: number | null;
|
|
2764
|
+
periodicPayment?: number | null;
|
|
2765
|
+
totalPaidToDate?: number;
|
|
2766
|
+
totalInterestPaid?: number;
|
|
2767
|
+
status?: string;
|
|
2768
|
+
state?: string;
|
|
2769
|
+
currentPhaseId?: string | null;
|
|
2770
|
+
nextPaymentDueDate?: Date | string | null;
|
|
2771
|
+
lastReminderSentAt?: Date | string | null;
|
|
2772
|
+
startDate?: Date | string | null;
|
|
2773
|
+
endDate?: Date | string | null;
|
|
2774
|
+
signedAt?: Date | string | null;
|
|
2775
|
+
terminatedAt?: Date | string | null;
|
|
2776
|
+
createdAt?: Date | string;
|
|
2777
|
+
updatedAt?: Date | string;
|
|
2778
|
+
tenant: Prisma.TenantCreateNestedOneWithoutContractsInput;
|
|
2779
|
+
propertyUnit: Prisma.PropertyUnitCreateNestedOneWithoutContractsInput;
|
|
2780
|
+
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
2781
|
+
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
2782
|
+
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
2783
|
+
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
2784
|
+
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2785
|
+
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
2786
|
+
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
2787
|
+
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
2788
|
+
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
2789
|
+
};
|
|
2790
|
+
export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
2791
|
+
id?: string;
|
|
2792
|
+
tenantId: string;
|
|
2793
|
+
propertyUnitId: string;
|
|
2794
|
+
buyerId: string;
|
|
2795
|
+
sellerId?: string | null;
|
|
2796
|
+
paymentMethodId?: string | null;
|
|
2797
|
+
contractNumber: string;
|
|
2798
|
+
title: string;
|
|
2799
|
+
description?: string | null;
|
|
2800
|
+
contractType: string;
|
|
2801
|
+
totalAmount: number;
|
|
2802
|
+
downPayment?: number;
|
|
2803
|
+
downPaymentPaid?: number;
|
|
2804
|
+
principal?: number | null;
|
|
2805
|
+
interestRate?: number | null;
|
|
2806
|
+
termMonths?: number | null;
|
|
2807
|
+
periodicPayment?: number | null;
|
|
2808
|
+
totalPaidToDate?: number;
|
|
2809
|
+
totalInterestPaid?: number;
|
|
2810
|
+
status?: string;
|
|
2811
|
+
state?: string;
|
|
2812
|
+
currentPhaseId?: string | null;
|
|
2813
|
+
nextPaymentDueDate?: Date | string | null;
|
|
2814
|
+
lastReminderSentAt?: Date | string | null;
|
|
2815
|
+
startDate?: Date | string | null;
|
|
2816
|
+
endDate?: Date | string | null;
|
|
2817
|
+
signedAt?: Date | string | null;
|
|
2818
|
+
terminatedAt?: Date | string | null;
|
|
2819
|
+
createdAt?: Date | string;
|
|
2820
|
+
updatedAt?: Date | string;
|
|
2821
|
+
phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
|
|
2822
|
+
documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
|
|
2823
|
+
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
2824
|
+
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
2825
|
+
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2826
|
+
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2827
|
+
};
|
|
2828
|
+
export type ContractCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
|
|
2829
|
+
where: Prisma.ContractWhereUniqueInput;
|
|
2830
|
+
create: Prisma.XOR<Prisma.ContractCreateWithoutPaymentMethodChangeRequestsInput, Prisma.ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput>;
|
|
2831
|
+
};
|
|
2832
|
+
export type ContractUpsertWithoutPaymentMethodChangeRequestsInput = {
|
|
2833
|
+
update: Prisma.XOR<Prisma.ContractUpdateWithoutPaymentMethodChangeRequestsInput, Prisma.ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput>;
|
|
2834
|
+
create: Prisma.XOR<Prisma.ContractCreateWithoutPaymentMethodChangeRequestsInput, Prisma.ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput>;
|
|
2835
|
+
where?: Prisma.ContractWhereInput;
|
|
2836
|
+
};
|
|
2837
|
+
export type ContractUpdateToOneWithWhereWithoutPaymentMethodChangeRequestsInput = {
|
|
2838
|
+
where?: Prisma.ContractWhereInput;
|
|
2839
|
+
data: Prisma.XOR<Prisma.ContractUpdateWithoutPaymentMethodChangeRequestsInput, Prisma.ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput>;
|
|
2840
|
+
};
|
|
2841
|
+
export type ContractUpdateWithoutPaymentMethodChangeRequestsInput = {
|
|
2842
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2843
|
+
contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2844
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2845
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2846
|
+
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2847
|
+
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2848
|
+
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2849
|
+
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2850
|
+
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2851
|
+
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2852
|
+
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2853
|
+
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2854
|
+
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2855
|
+
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2856
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2857
|
+
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2858
|
+
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2859
|
+
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2860
|
+
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2861
|
+
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2862
|
+
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2863
|
+
signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2864
|
+
terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2865
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2866
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2867
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutContractsNestedInput;
|
|
2868
|
+
propertyUnit?: Prisma.PropertyUnitUpdateOneRequiredWithoutContractsNestedInput;
|
|
2869
|
+
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
2870
|
+
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
2871
|
+
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
2872
|
+
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
2873
|
+
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
2874
|
+
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
2875
|
+
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2876
|
+
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
2877
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2878
|
+
};
|
|
2879
|
+
export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
|
|
2880
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2881
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2882
|
+
propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2883
|
+
buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2884
|
+
sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2885
|
+
paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2886
|
+
contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2887
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2888
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2889
|
+
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2890
|
+
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2891
|
+
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2892
|
+
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2893
|
+
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2894
|
+
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2895
|
+
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2896
|
+
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2897
|
+
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2898
|
+
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2899
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2900
|
+
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2901
|
+
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2902
|
+
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2903
|
+
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2904
|
+
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2905
|
+
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2906
|
+
signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2907
|
+
terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2908
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2909
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2910
|
+
phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
|
|
2911
|
+
documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2912
|
+
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2913
|
+
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2914
|
+
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
2915
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
2482
2916
|
};
|
|
2483
2917
|
export type ContractCreateManyBuyerInput = {
|
|
2484
2918
|
id?: string;
|
|
@@ -2577,6 +3011,8 @@ export type ContractUpdateWithoutBuyerInput = {
|
|
|
2577
3011
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
2578
3012
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2579
3013
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3014
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
3015
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2580
3016
|
};
|
|
2581
3017
|
export type ContractUncheckedUpdateWithoutBuyerInput = {
|
|
2582
3018
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2613,6 +3049,8 @@ export type ContractUncheckedUpdateWithoutBuyerInput = {
|
|
|
2613
3049
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2614
3050
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2615
3051
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3052
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3053
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2616
3054
|
};
|
|
2617
3055
|
export type ContractUncheckedUpdateManyWithoutBuyerInput = {
|
|
2618
3056
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2680,6 +3118,8 @@ export type ContractUpdateWithoutSellerInput = {
|
|
|
2680
3118
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
2681
3119
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2682
3120
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3121
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
3122
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2683
3123
|
};
|
|
2684
3124
|
export type ContractUncheckedUpdateWithoutSellerInput = {
|
|
2685
3125
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2716,6 +3156,8 @@ export type ContractUncheckedUpdateWithoutSellerInput = {
|
|
|
2716
3156
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2717
3157
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2718
3158
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3159
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3160
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2719
3161
|
};
|
|
2720
3162
|
export type ContractUncheckedUpdateManyWithoutSellerInput = {
|
|
2721
3163
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2814,6 +3256,8 @@ export type ContractUpdateWithoutTenantInput = {
|
|
|
2814
3256
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
2815
3257
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2816
3258
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3259
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
3260
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2817
3261
|
};
|
|
2818
3262
|
export type ContractUncheckedUpdateWithoutTenantInput = {
|
|
2819
3263
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2850,6 +3294,8 @@ export type ContractUncheckedUpdateWithoutTenantInput = {
|
|
|
2850
3294
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2851
3295
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2852
3296
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3297
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3298
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2853
3299
|
};
|
|
2854
3300
|
export type ContractUncheckedUpdateManyWithoutTenantInput = {
|
|
2855
3301
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2948,6 +3394,8 @@ export type ContractUpdateWithoutPropertyUnitInput = {
|
|
|
2948
3394
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
2949
3395
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2950
3396
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3397
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
3398
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2951
3399
|
};
|
|
2952
3400
|
export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
|
|
2953
3401
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2984,6 +3432,8 @@ export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
|
|
|
2984
3432
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
2985
3433
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2986
3434
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3435
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3436
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2987
3437
|
};
|
|
2988
3438
|
export type ContractUncheckedUpdateManyWithoutPropertyUnitInput = {
|
|
2989
3439
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -3082,6 +3532,8 @@ export type ContractUpdateWithoutPaymentMethodInput = {
|
|
|
3082
3532
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
3083
3533
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
3084
3534
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3535
|
+
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
3536
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
3085
3537
|
};
|
|
3086
3538
|
export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
|
|
3087
3539
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -3118,6 +3570,8 @@ export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
|
|
|
3118
3570
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
3119
3571
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
3120
3572
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3573
|
+
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3574
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
3121
3575
|
};
|
|
3122
3576
|
export type ContractUncheckedUpdateManyWithoutPaymentMethodInput = {
|
|
3123
3577
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -3159,6 +3613,7 @@ export type ContractCountOutputType = {
|
|
|
3159
3613
|
payments: number;
|
|
3160
3614
|
transitions: number;
|
|
3161
3615
|
events: number;
|
|
3616
|
+
paymentMethodChangeRequests: number;
|
|
3162
3617
|
};
|
|
3163
3618
|
export type ContractCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3164
3619
|
phases?: boolean | ContractCountOutputTypeCountPhasesArgs;
|
|
@@ -3166,6 +3621,7 @@ export type ContractCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensio
|
|
|
3166
3621
|
payments?: boolean | ContractCountOutputTypeCountPaymentsArgs;
|
|
3167
3622
|
transitions?: boolean | ContractCountOutputTypeCountTransitionsArgs;
|
|
3168
3623
|
events?: boolean | ContractCountOutputTypeCountEventsArgs;
|
|
3624
|
+
paymentMethodChangeRequests?: boolean | ContractCountOutputTypeCountPaymentMethodChangeRequestsArgs;
|
|
3169
3625
|
};
|
|
3170
3626
|
/**
|
|
3171
3627
|
* ContractCountOutputType without action
|
|
@@ -3206,6 +3662,12 @@ export type ContractCountOutputTypeCountTransitionsArgs<ExtArgs extends runtime.
|
|
|
3206
3662
|
export type ContractCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3207
3663
|
where?: Prisma.ContractEventWhereInput;
|
|
3208
3664
|
};
|
|
3665
|
+
/**
|
|
3666
|
+
* ContractCountOutputType without action
|
|
3667
|
+
*/
|
|
3668
|
+
export type ContractCountOutputTypeCountPaymentMethodChangeRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3669
|
+
where?: Prisma.PaymentMethodChangeRequestWhereInput;
|
|
3670
|
+
};
|
|
3209
3671
|
export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
3210
3672
|
id?: boolean;
|
|
3211
3673
|
tenantId?: boolean;
|
|
@@ -3247,6 +3709,8 @@ export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
3247
3709
|
payments?: boolean | Prisma.Contract$paymentsArgs<ExtArgs>;
|
|
3248
3710
|
transitions?: boolean | Prisma.Contract$transitionsArgs<ExtArgs>;
|
|
3249
3711
|
events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
|
|
3712
|
+
prequalification?: boolean | Prisma.Contract$prequalificationArgs<ExtArgs>;
|
|
3713
|
+
paymentMethodChangeRequests?: boolean | Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs>;
|
|
3250
3714
|
_count?: boolean | Prisma.ContractCountOutputTypeDefaultArgs<ExtArgs>;
|
|
3251
3715
|
}, ExtArgs["result"]["contract"]>;
|
|
3252
3716
|
export type ContractSelectScalar = {
|
|
@@ -3293,6 +3757,8 @@ export type ContractInclude<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
3293
3757
|
payments?: boolean | Prisma.Contract$paymentsArgs<ExtArgs>;
|
|
3294
3758
|
transitions?: boolean | Prisma.Contract$transitionsArgs<ExtArgs>;
|
|
3295
3759
|
events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
|
|
3760
|
+
prequalification?: boolean | Prisma.Contract$prequalificationArgs<ExtArgs>;
|
|
3761
|
+
paymentMethodChangeRequests?: boolean | Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs>;
|
|
3296
3762
|
_count?: boolean | Prisma.ContractCountOutputTypeDefaultArgs<ExtArgs>;
|
|
3297
3763
|
};
|
|
3298
3764
|
export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -3308,6 +3774,8 @@ export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
3308
3774
|
payments: Prisma.$ContractPaymentPayload<ExtArgs>[];
|
|
3309
3775
|
transitions: Prisma.$ContractTransitionPayload<ExtArgs>[];
|
|
3310
3776
|
events: Prisma.$ContractEventPayload<ExtArgs>[];
|
|
3777
|
+
prequalification: Prisma.$PrequalificationPayload<ExtArgs> | null;
|
|
3778
|
+
paymentMethodChangeRequests: Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>[];
|
|
3311
3779
|
};
|
|
3312
3780
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
3313
3781
|
id: string;
|
|
@@ -3627,6 +4095,8 @@ export interface Prisma__ContractClient<T, Null = never, ExtArgs extends runtime
|
|
|
3627
4095
|
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>;
|
|
3628
4096
|
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>;
|
|
3629
4097
|
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>;
|
|
4098
|
+
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>;
|
|
4099
|
+
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>;
|
|
3630
4100
|
/**
|
|
3631
4101
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
3632
4102
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -4160,6 +4630,47 @@ export type Contract$eventsArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
4160
4630
|
skip?: number;
|
|
4161
4631
|
distinct?: Prisma.ContractEventScalarFieldEnum | Prisma.ContractEventScalarFieldEnum[];
|
|
4162
4632
|
};
|
|
4633
|
+
/**
|
|
4634
|
+
* Contract.prequalification
|
|
4635
|
+
*/
|
|
4636
|
+
export type Contract$prequalificationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
4637
|
+
/**
|
|
4638
|
+
* Select specific fields to fetch from the Prequalification
|
|
4639
|
+
*/
|
|
4640
|
+
select?: Prisma.PrequalificationSelect<ExtArgs> | null;
|
|
4641
|
+
/**
|
|
4642
|
+
* Omit specific fields from the Prequalification
|
|
4643
|
+
*/
|
|
4644
|
+
omit?: Prisma.PrequalificationOmit<ExtArgs> | null;
|
|
4645
|
+
/**
|
|
4646
|
+
* Choose, which related nodes to fetch as well
|
|
4647
|
+
*/
|
|
4648
|
+
include?: Prisma.PrequalificationInclude<ExtArgs> | null;
|
|
4649
|
+
where?: Prisma.PrequalificationWhereInput;
|
|
4650
|
+
};
|
|
4651
|
+
/**
|
|
4652
|
+
* Contract.paymentMethodChangeRequests
|
|
4653
|
+
*/
|
|
4654
|
+
export type Contract$paymentMethodChangeRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
4655
|
+
/**
|
|
4656
|
+
* Select specific fields to fetch from the PaymentMethodChangeRequest
|
|
4657
|
+
*/
|
|
4658
|
+
select?: Prisma.PaymentMethodChangeRequestSelect<ExtArgs> | null;
|
|
4659
|
+
/**
|
|
4660
|
+
* Omit specific fields from the PaymentMethodChangeRequest
|
|
4661
|
+
*/
|
|
4662
|
+
omit?: Prisma.PaymentMethodChangeRequestOmit<ExtArgs> | null;
|
|
4663
|
+
/**
|
|
4664
|
+
* Choose, which related nodes to fetch as well
|
|
4665
|
+
*/
|
|
4666
|
+
include?: Prisma.PaymentMethodChangeRequestInclude<ExtArgs> | null;
|
|
4667
|
+
where?: Prisma.PaymentMethodChangeRequestWhereInput;
|
|
4668
|
+
orderBy?: Prisma.PaymentMethodChangeRequestOrderByWithRelationInput | Prisma.PaymentMethodChangeRequestOrderByWithRelationInput[];
|
|
4669
|
+
cursor?: Prisma.PaymentMethodChangeRequestWhereUniqueInput;
|
|
4670
|
+
take?: number;
|
|
4671
|
+
skip?: number;
|
|
4672
|
+
distinct?: Prisma.PaymentMethodChangeRequestScalarFieldEnum | Prisma.PaymentMethodChangeRequestScalarFieldEnum[];
|
|
4673
|
+
};
|
|
4163
4674
|
/**
|
|
4164
4675
|
* Contract without action
|
|
4165
4676
|
*/
|