@valentine-efagene/qshelter-common 2.0.29 → 2.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/generated/client/browser.d.ts +20 -0
  2. package/dist/generated/client/client.d.ts +20 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +531 -51
  4. package/dist/generated/client/enums.d.ts +133 -0
  5. package/dist/generated/client/enums.js +117 -0
  6. package/dist/generated/client/internal/class.d.ts +44 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +478 -35
  9. package/dist/generated/client/internal/prismaNamespace.js +139 -36
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +146 -35
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +139 -36
  12. package/dist/generated/client/models/Contract.d.ts +423 -148
  13. package/dist/generated/client/models/ContractDocument.d.ts +32 -28
  14. package/dist/generated/client/models/ContractInstallment.d.ts +30 -26
  15. package/dist/generated/client/models/ContractPayment.d.ts +44 -40
  16. package/dist/generated/client/models/ContractPhase.d.ts +539 -121
  17. package/dist/generated/client/models/ContractPhaseStep.d.ts +208 -108
  18. package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +32 -28
  19. package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +1052 -0
  20. package/dist/generated/client/models/ContractPhaseStepDocument.js +1 -0
  21. package/dist/generated/client/models/ContractTermination.d.ts +3449 -0
  22. package/dist/generated/client/models/ContractTermination.js +1 -0
  23. package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +1216 -0
  24. package/dist/generated/client/models/PaymentMethodPhaseDocument.js +1 -0
  25. package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +1187 -0
  26. package/dist/generated/client/models/PaymentMethodPhaseStep.js +1 -0
  27. package/dist/generated/client/models/PaymentPlan.d.ts +34 -30
  28. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +504 -135
  29. package/dist/generated/client/models/Tenant.d.ts +163 -0
  30. package/dist/generated/client/models/User.d.ts +586 -0
  31. package/dist/generated/client/models/index.d.ts +4 -0
  32. package/dist/generated/client/models/index.js +4 -0
  33. package/dist/generated/client/models.d.ts +4 -0
  34. package/package.json +1 -1
  35. package/prisma/migrations/20260101081428_normalize_schema/migration.sql +119 -0
  36. package/prisma/migrations/20260101102022_add_contract_termination/migration.sql +69 -0
  37. package/prisma/schema.prisma +340 -30
@@ -253,6 +253,8 @@ export type UserWhereInput = {
253
253
  prequalifications?: Prisma.PrequalificationListRelationFilter;
254
254
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
255
255
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
256
+ initiatedTerminations?: Prisma.ContractTerminationListRelationFilter;
257
+ reviewedTerminations?: Prisma.ContractTerminationListRelationFilter;
256
258
  };
257
259
  export type UserOrderByWithRelationInput = {
258
260
  id?: Prisma.SortOrder;
@@ -291,6 +293,8 @@ export type UserOrderByWithRelationInput = {
291
293
  prequalifications?: Prisma.PrequalificationOrderByRelationAggregateInput;
292
294
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestOrderByRelationAggregateInput;
293
295
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestOrderByRelationAggregateInput;
296
+ initiatedTerminations?: Prisma.ContractTerminationOrderByRelationAggregateInput;
297
+ reviewedTerminations?: Prisma.ContractTerminationOrderByRelationAggregateInput;
294
298
  _relevance?: Prisma.UserOrderByRelevanceInput;
295
299
  };
296
300
  export type UserWhereUniqueInput = Prisma.AtLeast<{
@@ -333,6 +337,8 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
333
337
  prequalifications?: Prisma.PrequalificationListRelationFilter;
334
338
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
335
339
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
340
+ initiatedTerminations?: Prisma.ContractTerminationListRelationFilter;
341
+ reviewedTerminations?: Prisma.ContractTerminationListRelationFilter;
336
342
  }, "id" | "email" | "phone" | "walletId">;
337
343
  export type UserOrderByWithAggregationInput = {
338
344
  id?: Prisma.SortOrder;
@@ -413,6 +419,8 @@ export type UserCreateInput = {
413
419
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
414
420
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
415
421
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
422
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
423
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
416
424
  };
417
425
  export type UserUncheckedCreateInput = {
418
426
  id?: string;
@@ -449,6 +457,8 @@ export type UserUncheckedCreateInput = {
449
457
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
450
458
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
451
459
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
460
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
461
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
452
462
  };
453
463
  export type UserUpdateInput = {
454
464
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -485,6 +495,8 @@ export type UserUpdateInput = {
485
495
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
486
496
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
487
497
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
498
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
499
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
488
500
  };
489
501
  export type UserUncheckedUpdateInput = {
490
502
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -521,6 +533,8 @@ export type UserUncheckedUpdateInput = {
521
533
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
522
534
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
523
535
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
536
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
537
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
524
538
  };
525
539
  export type UserCreateManyInput = {
526
540
  id?: string;
@@ -914,6 +928,34 @@ export type UserUpdateOneWithoutUploadedDocsNestedInput = {
914
928
  connect?: Prisma.UserWhereUniqueInput;
915
929
  update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutUploadedDocsInput, Prisma.UserUpdateWithoutUploadedDocsInput>, Prisma.UserUncheckedUpdateWithoutUploadedDocsInput>;
916
930
  };
931
+ export type UserCreateNestedOneWithoutInitiatedTerminationsInput = {
932
+ create?: Prisma.XOR<Prisma.UserCreateWithoutInitiatedTerminationsInput, Prisma.UserUncheckedCreateWithoutInitiatedTerminationsInput>;
933
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutInitiatedTerminationsInput;
934
+ connect?: Prisma.UserWhereUniqueInput;
935
+ };
936
+ export type UserCreateNestedOneWithoutReviewedTerminationsInput = {
937
+ create?: Prisma.XOR<Prisma.UserCreateWithoutReviewedTerminationsInput, Prisma.UserUncheckedCreateWithoutReviewedTerminationsInput>;
938
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutReviewedTerminationsInput;
939
+ connect?: Prisma.UserWhereUniqueInput;
940
+ };
941
+ export type UserUpdateOneWithoutInitiatedTerminationsNestedInput = {
942
+ create?: Prisma.XOR<Prisma.UserCreateWithoutInitiatedTerminationsInput, Prisma.UserUncheckedCreateWithoutInitiatedTerminationsInput>;
943
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutInitiatedTerminationsInput;
944
+ upsert?: Prisma.UserUpsertWithoutInitiatedTerminationsInput;
945
+ disconnect?: Prisma.UserWhereInput | boolean;
946
+ delete?: Prisma.UserWhereInput | boolean;
947
+ connect?: Prisma.UserWhereUniqueInput;
948
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutInitiatedTerminationsInput, Prisma.UserUpdateWithoutInitiatedTerminationsInput>, Prisma.UserUncheckedUpdateWithoutInitiatedTerminationsInput>;
949
+ };
950
+ export type UserUpdateOneWithoutReviewedTerminationsNestedInput = {
951
+ create?: Prisma.XOR<Prisma.UserCreateWithoutReviewedTerminationsInput, Prisma.UserUncheckedCreateWithoutReviewedTerminationsInput>;
952
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutReviewedTerminationsInput;
953
+ upsert?: Prisma.UserUpsertWithoutReviewedTerminationsInput;
954
+ disconnect?: Prisma.UserWhereInput | boolean;
955
+ delete?: Prisma.UserWhereInput | boolean;
956
+ connect?: Prisma.UserWhereUniqueInput;
957
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutReviewedTerminationsInput, Prisma.UserUpdateWithoutReviewedTerminationsInput>, Prisma.UserUncheckedUpdateWithoutReviewedTerminationsInput>;
958
+ };
917
959
  export type UserCreateNestedOneWithoutPrequalificationsInput = {
918
960
  create?: Prisma.XOR<Prisma.UserCreateWithoutPrequalificationsInput, Prisma.UserUncheckedCreateWithoutPrequalificationsInput>;
919
961
  connectOrCreate?: Prisma.UserCreateOrConnectWithoutPrequalificationsInput;
@@ -986,6 +1028,8 @@ export type UserCreateWithoutUserRolesInput = {
986
1028
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
987
1029
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
988
1030
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
1031
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
1032
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
989
1033
  };
990
1034
  export type UserUncheckedCreateWithoutUserRolesInput = {
991
1035
  id?: string;
@@ -1021,6 +1065,8 @@ export type UserUncheckedCreateWithoutUserRolesInput = {
1021
1065
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
1022
1066
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
1023
1067
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
1068
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
1069
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
1024
1070
  };
1025
1071
  export type UserCreateOrConnectWithoutUserRolesInput = {
1026
1072
  where: Prisma.UserWhereUniqueInput;
@@ -1069,6 +1115,8 @@ export type UserUpdateWithoutUserRolesInput = {
1069
1115
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
1070
1116
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
1071
1117
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
1118
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
1119
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
1072
1120
  };
1073
1121
  export type UserUncheckedUpdateWithoutUserRolesInput = {
1074
1122
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1104,6 +1152,8 @@ export type UserUncheckedUpdateWithoutUserRolesInput = {
1104
1152
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
1105
1153
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
1106
1154
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
1155
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
1156
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
1107
1157
  };
1108
1158
  export type UserCreateWithoutTenantInput = {
1109
1159
  id?: string;
@@ -1139,6 +1189,8 @@ export type UserCreateWithoutTenantInput = {
1139
1189
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
1140
1190
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
1141
1191
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
1192
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
1193
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
1142
1194
  };
1143
1195
  export type UserUncheckedCreateWithoutTenantInput = {
1144
1196
  id?: string;
@@ -1174,6 +1226,8 @@ export type UserUncheckedCreateWithoutTenantInput = {
1174
1226
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
1175
1227
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
1176
1228
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
1229
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
1230
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
1177
1231
  };
1178
1232
  export type UserCreateOrConnectWithoutTenantInput = {
1179
1233
  where: Prisma.UserWhereUniqueInput;
@@ -1252,6 +1306,8 @@ export type UserCreateWithoutRefreshTokensInput = {
1252
1306
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
1253
1307
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
1254
1308
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
1309
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
1310
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
1255
1311
  };
1256
1312
  export type UserUncheckedCreateWithoutRefreshTokensInput = {
1257
1313
  id?: string;
@@ -1287,6 +1343,8 @@ export type UserUncheckedCreateWithoutRefreshTokensInput = {
1287
1343
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
1288
1344
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
1289
1345
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
1346
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
1347
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
1290
1348
  };
1291
1349
  export type UserCreateOrConnectWithoutRefreshTokensInput = {
1292
1350
  where: Prisma.UserWhereUniqueInput;
@@ -1335,6 +1393,8 @@ export type UserUpdateWithoutRefreshTokensInput = {
1335
1393
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
1336
1394
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
1337
1395
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
1396
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
1397
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
1338
1398
  };
1339
1399
  export type UserUncheckedUpdateWithoutRefreshTokensInput = {
1340
1400
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1370,6 +1430,8 @@ export type UserUncheckedUpdateWithoutRefreshTokensInput = {
1370
1430
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
1371
1431
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
1372
1432
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
1433
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
1434
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
1373
1435
  };
1374
1436
  export type UserCreateWithoutPasswordResetsInput = {
1375
1437
  id?: string;
@@ -1405,6 +1467,8 @@ export type UserCreateWithoutPasswordResetsInput = {
1405
1467
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
1406
1468
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
1407
1469
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
1470
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
1471
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
1408
1472
  };
1409
1473
  export type UserUncheckedCreateWithoutPasswordResetsInput = {
1410
1474
  id?: string;
@@ -1440,6 +1504,8 @@ export type UserUncheckedCreateWithoutPasswordResetsInput = {
1440
1504
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
1441
1505
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
1442
1506
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
1507
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
1508
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
1443
1509
  };
1444
1510
  export type UserCreateOrConnectWithoutPasswordResetsInput = {
1445
1511
  where: Prisma.UserWhereUniqueInput;
@@ -1488,6 +1554,8 @@ export type UserUpdateWithoutPasswordResetsInput = {
1488
1554
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
1489
1555
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
1490
1556
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
1557
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
1558
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
1491
1559
  };
1492
1560
  export type UserUncheckedUpdateWithoutPasswordResetsInput = {
1493
1561
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1523,6 +1591,8 @@ export type UserUncheckedUpdateWithoutPasswordResetsInput = {
1523
1591
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
1524
1592
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
1525
1593
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
1594
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
1595
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
1526
1596
  };
1527
1597
  export type UserCreateWithoutSuspensionsInput = {
1528
1598
  id?: string;
@@ -1558,6 +1628,8 @@ export type UserCreateWithoutSuspensionsInput = {
1558
1628
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
1559
1629
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
1560
1630
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
1631
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
1632
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
1561
1633
  };
1562
1634
  export type UserUncheckedCreateWithoutSuspensionsInput = {
1563
1635
  id?: string;
@@ -1593,6 +1665,8 @@ export type UserUncheckedCreateWithoutSuspensionsInput = {
1593
1665
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
1594
1666
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
1595
1667
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
1668
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
1669
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
1596
1670
  };
1597
1671
  export type UserCreateOrConnectWithoutSuspensionsInput = {
1598
1672
  where: Prisma.UserWhereUniqueInput;
@@ -1641,6 +1715,8 @@ export type UserUpdateWithoutSuspensionsInput = {
1641
1715
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
1642
1716
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
1643
1717
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
1718
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
1719
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
1644
1720
  };
1645
1721
  export type UserUncheckedUpdateWithoutSuspensionsInput = {
1646
1722
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1676,6 +1752,8 @@ export type UserUncheckedUpdateWithoutSuspensionsInput = {
1676
1752
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
1677
1753
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
1678
1754
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
1755
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
1756
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
1679
1757
  };
1680
1758
  export type UserCreateWithoutEmailPreferencesInput = {
1681
1759
  id?: string;
@@ -1711,6 +1789,8 @@ export type UserCreateWithoutEmailPreferencesInput = {
1711
1789
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
1712
1790
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
1713
1791
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
1792
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
1793
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
1714
1794
  };
1715
1795
  export type UserUncheckedCreateWithoutEmailPreferencesInput = {
1716
1796
  id?: string;
@@ -1746,6 +1826,8 @@ export type UserUncheckedCreateWithoutEmailPreferencesInput = {
1746
1826
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
1747
1827
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
1748
1828
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
1829
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
1830
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
1749
1831
  };
1750
1832
  export type UserCreateOrConnectWithoutEmailPreferencesInput = {
1751
1833
  where: Prisma.UserWhereUniqueInput;
@@ -1794,6 +1876,8 @@ export type UserUpdateWithoutEmailPreferencesInput = {
1794
1876
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
1795
1877
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
1796
1878
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
1879
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
1880
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
1797
1881
  };
1798
1882
  export type UserUncheckedUpdateWithoutEmailPreferencesInput = {
1799
1883
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1829,6 +1913,8 @@ export type UserUncheckedUpdateWithoutEmailPreferencesInput = {
1829
1913
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
1830
1914
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
1831
1915
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
1916
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
1917
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
1832
1918
  };
1833
1919
  export type UserCreateWithoutDeviceEndpointsInput = {
1834
1920
  id?: string;
@@ -1864,6 +1950,8 @@ export type UserCreateWithoutDeviceEndpointsInput = {
1864
1950
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
1865
1951
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
1866
1952
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
1953
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
1954
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
1867
1955
  };
1868
1956
  export type UserUncheckedCreateWithoutDeviceEndpointsInput = {
1869
1957
  id?: string;
@@ -1899,6 +1987,8 @@ export type UserUncheckedCreateWithoutDeviceEndpointsInput = {
1899
1987
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
1900
1988
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
1901
1989
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
1990
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
1991
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
1902
1992
  };
1903
1993
  export type UserCreateOrConnectWithoutDeviceEndpointsInput = {
1904
1994
  where: Prisma.UserWhereUniqueInput;
@@ -1947,6 +2037,8 @@ export type UserUpdateWithoutDeviceEndpointsInput = {
1947
2037
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
1948
2038
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
1949
2039
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
2040
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
2041
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
1950
2042
  };
1951
2043
  export type UserUncheckedUpdateWithoutDeviceEndpointsInput = {
1952
2044
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1982,6 +2074,8 @@ export type UserUncheckedUpdateWithoutDeviceEndpointsInput = {
1982
2074
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
1983
2075
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
1984
2076
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
2077
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
2078
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
1985
2079
  };
1986
2080
  export type UserCreateWithoutSocialsInput = {
1987
2081
  id?: string;
@@ -2017,6 +2111,8 @@ export type UserCreateWithoutSocialsInput = {
2017
2111
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
2018
2112
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
2019
2113
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
2114
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
2115
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
2020
2116
  };
2021
2117
  export type UserUncheckedCreateWithoutSocialsInput = {
2022
2118
  id?: string;
@@ -2052,6 +2148,8 @@ export type UserUncheckedCreateWithoutSocialsInput = {
2052
2148
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
2053
2149
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
2054
2150
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
2151
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
2152
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
2055
2153
  };
2056
2154
  export type UserCreateOrConnectWithoutSocialsInput = {
2057
2155
  where: Prisma.UserWhereUniqueInput;
@@ -2100,6 +2198,8 @@ export type UserUpdateWithoutSocialsInput = {
2100
2198
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
2101
2199
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
2102
2200
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
2201
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
2202
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
2103
2203
  };
2104
2204
  export type UserUncheckedUpdateWithoutSocialsInput = {
2105
2205
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2135,6 +2235,8 @@ export type UserUncheckedUpdateWithoutSocialsInput = {
2135
2235
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
2136
2236
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
2137
2237
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
2238
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
2239
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
2138
2240
  };
2139
2241
  export type UserCreateWithoutWalletInput = {
2140
2242
  id?: string;
@@ -2170,6 +2272,8 @@ export type UserCreateWithoutWalletInput = {
2170
2272
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
2171
2273
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
2172
2274
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
2275
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
2276
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
2173
2277
  };
2174
2278
  export type UserUncheckedCreateWithoutWalletInput = {
2175
2279
  id?: string;
@@ -2205,6 +2309,8 @@ export type UserUncheckedCreateWithoutWalletInput = {
2205
2309
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
2206
2310
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
2207
2311
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
2312
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
2313
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
2208
2314
  };
2209
2315
  export type UserCreateOrConnectWithoutWalletInput = {
2210
2316
  where: Prisma.UserWhereUniqueInput;
@@ -2253,6 +2359,8 @@ export type UserUpdateWithoutWalletInput = {
2253
2359
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
2254
2360
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
2255
2361
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
2362
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
2363
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
2256
2364
  };
2257
2365
  export type UserUncheckedUpdateWithoutWalletInput = {
2258
2366
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2288,6 +2396,8 @@ export type UserUncheckedUpdateWithoutWalletInput = {
2288
2396
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
2289
2397
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
2290
2398
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
2399
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
2400
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
2291
2401
  };
2292
2402
  export type UserCreateWithoutPropertiesInput = {
2293
2403
  id?: string;
@@ -2323,6 +2433,8 @@ export type UserCreateWithoutPropertiesInput = {
2323
2433
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
2324
2434
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
2325
2435
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
2436
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
2437
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
2326
2438
  };
2327
2439
  export type UserUncheckedCreateWithoutPropertiesInput = {
2328
2440
  id?: string;
@@ -2358,6 +2470,8 @@ export type UserUncheckedCreateWithoutPropertiesInput = {
2358
2470
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
2359
2471
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
2360
2472
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
2473
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
2474
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
2361
2475
  };
2362
2476
  export type UserCreateOrConnectWithoutPropertiesInput = {
2363
2477
  where: Prisma.UserWhereUniqueInput;
@@ -2406,6 +2520,8 @@ export type UserUpdateWithoutPropertiesInput = {
2406
2520
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
2407
2521
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
2408
2522
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
2523
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
2524
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
2409
2525
  };
2410
2526
  export type UserUncheckedUpdateWithoutPropertiesInput = {
2411
2527
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2441,6 +2557,8 @@ export type UserUncheckedUpdateWithoutPropertiesInput = {
2441
2557
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
2442
2558
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
2443
2559
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
2560
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
2561
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
2444
2562
  };
2445
2563
  export type UserCreateWithoutContractsInput = {
2446
2564
  id?: string;
@@ -2476,6 +2594,8 @@ export type UserCreateWithoutContractsInput = {
2476
2594
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
2477
2595
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
2478
2596
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
2597
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
2598
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
2479
2599
  };
2480
2600
  export type UserUncheckedCreateWithoutContractsInput = {
2481
2601
  id?: string;
@@ -2511,6 +2631,8 @@ export type UserUncheckedCreateWithoutContractsInput = {
2511
2631
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
2512
2632
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
2513
2633
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
2634
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
2635
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
2514
2636
  };
2515
2637
  export type UserCreateOrConnectWithoutContractsInput = {
2516
2638
  where: Prisma.UserWhereUniqueInput;
@@ -2550,6 +2672,8 @@ export type UserCreateWithoutSoldContractsInput = {
2550
2672
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
2551
2673
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
2552
2674
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
2675
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
2676
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
2553
2677
  };
2554
2678
  export type UserUncheckedCreateWithoutSoldContractsInput = {
2555
2679
  id?: string;
@@ -2585,6 +2709,8 @@ export type UserUncheckedCreateWithoutSoldContractsInput = {
2585
2709
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
2586
2710
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
2587
2711
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
2712
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
2713
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
2588
2714
  };
2589
2715
  export type UserCreateOrConnectWithoutSoldContractsInput = {
2590
2716
  where: Prisma.UserWhereUniqueInput;
@@ -2633,6 +2759,8 @@ export type UserUpdateWithoutContractsInput = {
2633
2759
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
2634
2760
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
2635
2761
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
2762
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
2763
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
2636
2764
  };
2637
2765
  export type UserUncheckedUpdateWithoutContractsInput = {
2638
2766
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2668,6 +2796,8 @@ export type UserUncheckedUpdateWithoutContractsInput = {
2668
2796
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
2669
2797
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
2670
2798
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
2799
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
2800
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
2671
2801
  };
2672
2802
  export type UserUpsertWithoutSoldContractsInput = {
2673
2803
  update: Prisma.XOR<Prisma.UserUpdateWithoutSoldContractsInput, Prisma.UserUncheckedUpdateWithoutSoldContractsInput>;
@@ -2712,6 +2842,8 @@ export type UserUpdateWithoutSoldContractsInput = {
2712
2842
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
2713
2843
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
2714
2844
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
2845
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
2846
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
2715
2847
  };
2716
2848
  export type UserUncheckedUpdateWithoutSoldContractsInput = {
2717
2849
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2747,6 +2879,8 @@ export type UserUncheckedUpdateWithoutSoldContractsInput = {
2747
2879
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
2748
2880
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
2749
2881
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
2882
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
2883
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
2750
2884
  };
2751
2885
  export type UserCreateWithoutAssignedStepsInput = {
2752
2886
  id?: string;
@@ -2782,6 +2916,8 @@ export type UserCreateWithoutAssignedStepsInput = {
2782
2916
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
2783
2917
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
2784
2918
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
2919
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
2920
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
2785
2921
  };
2786
2922
  export type UserUncheckedCreateWithoutAssignedStepsInput = {
2787
2923
  id?: string;
@@ -2817,6 +2953,8 @@ export type UserUncheckedCreateWithoutAssignedStepsInput = {
2817
2953
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
2818
2954
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
2819
2955
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
2956
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
2957
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
2820
2958
  };
2821
2959
  export type UserCreateOrConnectWithoutAssignedStepsInput = {
2822
2960
  where: Prisma.UserWhereUniqueInput;
@@ -2865,6 +3003,8 @@ export type UserUpdateWithoutAssignedStepsInput = {
2865
3003
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
2866
3004
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
2867
3005
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
3006
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
3007
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
2868
3008
  };
2869
3009
  export type UserUncheckedUpdateWithoutAssignedStepsInput = {
2870
3010
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2900,6 +3040,8 @@ export type UserUncheckedUpdateWithoutAssignedStepsInput = {
2900
3040
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
2901
3041
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
2902
3042
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
3043
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
3044
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
2903
3045
  };
2904
3046
  export type UserCreateWithoutStepApprovalsInput = {
2905
3047
  id?: string;
@@ -2935,6 +3077,8 @@ export type UserCreateWithoutStepApprovalsInput = {
2935
3077
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
2936
3078
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
2937
3079
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
3080
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
3081
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
2938
3082
  };
2939
3083
  export type UserUncheckedCreateWithoutStepApprovalsInput = {
2940
3084
  id?: string;
@@ -2970,6 +3114,8 @@ export type UserUncheckedCreateWithoutStepApprovalsInput = {
2970
3114
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
2971
3115
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
2972
3116
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
3117
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
3118
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
2973
3119
  };
2974
3120
  export type UserCreateOrConnectWithoutStepApprovalsInput = {
2975
3121
  where: Prisma.UserWhereUniqueInput;
@@ -3018,6 +3164,8 @@ export type UserUpdateWithoutStepApprovalsInput = {
3018
3164
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
3019
3165
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
3020
3166
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
3167
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
3168
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
3021
3169
  };
3022
3170
  export type UserUncheckedUpdateWithoutStepApprovalsInput = {
3023
3171
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3053,6 +3201,8 @@ export type UserUncheckedUpdateWithoutStepApprovalsInput = {
3053
3201
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
3054
3202
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
3055
3203
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
3204
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
3205
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3056
3206
  };
3057
3207
  export type UserCreateWithoutContractPaymentsInput = {
3058
3208
  id?: string;
@@ -3088,6 +3238,8 @@ export type UserCreateWithoutContractPaymentsInput = {
3088
3238
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
3089
3239
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
3090
3240
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
3241
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
3242
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
3091
3243
  };
3092
3244
  export type UserUncheckedCreateWithoutContractPaymentsInput = {
3093
3245
  id?: string;
@@ -3123,6 +3275,8 @@ export type UserUncheckedCreateWithoutContractPaymentsInput = {
3123
3275
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
3124
3276
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
3125
3277
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
3278
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
3279
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
3126
3280
  };
3127
3281
  export type UserCreateOrConnectWithoutContractPaymentsInput = {
3128
3282
  where: Prisma.UserWhereUniqueInput;
@@ -3171,6 +3325,8 @@ export type UserUpdateWithoutContractPaymentsInput = {
3171
3325
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
3172
3326
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
3173
3327
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
3328
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
3329
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
3174
3330
  };
3175
3331
  export type UserUncheckedUpdateWithoutContractPaymentsInput = {
3176
3332
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3206,6 +3362,8 @@ export type UserUncheckedUpdateWithoutContractPaymentsInput = {
3206
3362
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
3207
3363
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
3208
3364
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
3365
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
3366
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3209
3367
  };
3210
3368
  export type UserCreateWithoutUploadedDocsInput = {
3211
3369
  id?: string;
@@ -3241,6 +3399,8 @@ export type UserCreateWithoutUploadedDocsInput = {
3241
3399
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
3242
3400
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
3243
3401
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
3402
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
3403
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
3244
3404
  };
3245
3405
  export type UserUncheckedCreateWithoutUploadedDocsInput = {
3246
3406
  id?: string;
@@ -3276,6 +3436,8 @@ export type UserUncheckedCreateWithoutUploadedDocsInput = {
3276
3436
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
3277
3437
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
3278
3438
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
3439
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
3440
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
3279
3441
  };
3280
3442
  export type UserCreateOrConnectWithoutUploadedDocsInput = {
3281
3443
  where: Prisma.UserWhereUniqueInput;
@@ -3324,6 +3486,8 @@ export type UserUpdateWithoutUploadedDocsInput = {
3324
3486
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
3325
3487
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
3326
3488
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
3489
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
3490
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
3327
3491
  };
3328
3492
  export type UserUncheckedUpdateWithoutUploadedDocsInput = {
3329
3493
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3359,6 +3523,330 @@ export type UserUncheckedUpdateWithoutUploadedDocsInput = {
3359
3523
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
3360
3524
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
3361
3525
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
3526
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
3527
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3528
+ };
3529
+ export type UserCreateWithoutInitiatedTerminationsInput = {
3530
+ id?: string;
3531
+ email: string;
3532
+ password?: string | null;
3533
+ phone?: string | null;
3534
+ firstName?: string | null;
3535
+ lastName?: string | null;
3536
+ isActive?: boolean;
3537
+ isEmailVerified?: boolean;
3538
+ googleId?: string | null;
3539
+ avatar?: string | null;
3540
+ createdAt?: Date | string;
3541
+ updatedAt?: Date | string;
3542
+ emailVerifiedAt?: Date | string | null;
3543
+ emailVerificationToken?: string | null;
3544
+ lastLoginAt?: Date | string | null;
3545
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
3546
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
3547
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
3548
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
3549
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
3550
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
3551
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
3552
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
3553
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
3554
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
3555
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
3556
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
3557
+ contractPayments?: Prisma.ContractPaymentCreateNestedManyWithoutPayerInput;
3558
+ assignedSteps?: Prisma.ContractPhaseStepCreateNestedManyWithoutAssigneeInput;
3559
+ stepApprovals?: Prisma.ContractPhaseStepApprovalCreateNestedManyWithoutApproverInput;
3560
+ uploadedDocs?: Prisma.ContractDocumentCreateNestedManyWithoutUploadedByInput;
3561
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
3562
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
3563
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
3564
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
3565
+ };
3566
+ export type UserUncheckedCreateWithoutInitiatedTerminationsInput = {
3567
+ id?: string;
3568
+ email: string;
3569
+ password?: string | null;
3570
+ phone?: string | null;
3571
+ firstName?: string | null;
3572
+ lastName?: string | null;
3573
+ isActive?: boolean;
3574
+ isEmailVerified?: boolean;
3575
+ googleId?: string | null;
3576
+ avatar?: string | null;
3577
+ tenantId?: string | null;
3578
+ walletId?: string | null;
3579
+ createdAt?: Date | string;
3580
+ updatedAt?: Date | string;
3581
+ emailVerifiedAt?: Date | string | null;
3582
+ emailVerificationToken?: string | null;
3583
+ lastLoginAt?: Date | string | null;
3584
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
3585
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
3586
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
3587
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
3588
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
3589
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
3590
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
3591
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
3592
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
3593
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
3594
+ contractPayments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPayerInput;
3595
+ assignedSteps?: Prisma.ContractPhaseStepUncheckedCreateNestedManyWithoutAssigneeInput;
3596
+ stepApprovals?: Prisma.ContractPhaseStepApprovalUncheckedCreateNestedManyWithoutApproverInput;
3597
+ uploadedDocs?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
3598
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
3599
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
3600
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
3601
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
3602
+ };
3603
+ export type UserCreateOrConnectWithoutInitiatedTerminationsInput = {
3604
+ where: Prisma.UserWhereUniqueInput;
3605
+ create: Prisma.XOR<Prisma.UserCreateWithoutInitiatedTerminationsInput, Prisma.UserUncheckedCreateWithoutInitiatedTerminationsInput>;
3606
+ };
3607
+ export type UserCreateWithoutReviewedTerminationsInput = {
3608
+ id?: string;
3609
+ email: string;
3610
+ password?: string | null;
3611
+ phone?: string | null;
3612
+ firstName?: string | null;
3613
+ lastName?: string | null;
3614
+ isActive?: boolean;
3615
+ isEmailVerified?: boolean;
3616
+ googleId?: string | null;
3617
+ avatar?: string | null;
3618
+ createdAt?: Date | string;
3619
+ updatedAt?: Date | string;
3620
+ emailVerifiedAt?: Date | string | null;
3621
+ emailVerificationToken?: string | null;
3622
+ lastLoginAt?: Date | string | null;
3623
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
3624
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
3625
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
3626
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
3627
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
3628
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
3629
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
3630
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
3631
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
3632
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
3633
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
3634
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
3635
+ contractPayments?: Prisma.ContractPaymentCreateNestedManyWithoutPayerInput;
3636
+ assignedSteps?: Prisma.ContractPhaseStepCreateNestedManyWithoutAssigneeInput;
3637
+ stepApprovals?: Prisma.ContractPhaseStepApprovalCreateNestedManyWithoutApproverInput;
3638
+ uploadedDocs?: Prisma.ContractDocumentCreateNestedManyWithoutUploadedByInput;
3639
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
3640
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
3641
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
3642
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
3643
+ };
3644
+ export type UserUncheckedCreateWithoutReviewedTerminationsInput = {
3645
+ id?: string;
3646
+ email: string;
3647
+ password?: string | null;
3648
+ phone?: string | null;
3649
+ firstName?: string | null;
3650
+ lastName?: string | null;
3651
+ isActive?: boolean;
3652
+ isEmailVerified?: boolean;
3653
+ googleId?: string | null;
3654
+ avatar?: string | null;
3655
+ tenantId?: string | null;
3656
+ walletId?: string | null;
3657
+ createdAt?: Date | string;
3658
+ updatedAt?: Date | string;
3659
+ emailVerifiedAt?: Date | string | null;
3660
+ emailVerificationToken?: string | null;
3661
+ lastLoginAt?: Date | string | null;
3662
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
3663
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
3664
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
3665
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
3666
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
3667
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
3668
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
3669
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
3670
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
3671
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
3672
+ contractPayments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPayerInput;
3673
+ assignedSteps?: Prisma.ContractPhaseStepUncheckedCreateNestedManyWithoutAssigneeInput;
3674
+ stepApprovals?: Prisma.ContractPhaseStepApprovalUncheckedCreateNestedManyWithoutApproverInput;
3675
+ uploadedDocs?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
3676
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
3677
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
3678
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
3679
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
3680
+ };
3681
+ export type UserCreateOrConnectWithoutReviewedTerminationsInput = {
3682
+ where: Prisma.UserWhereUniqueInput;
3683
+ create: Prisma.XOR<Prisma.UserCreateWithoutReviewedTerminationsInput, Prisma.UserUncheckedCreateWithoutReviewedTerminationsInput>;
3684
+ };
3685
+ export type UserUpsertWithoutInitiatedTerminationsInput = {
3686
+ update: Prisma.XOR<Prisma.UserUpdateWithoutInitiatedTerminationsInput, Prisma.UserUncheckedUpdateWithoutInitiatedTerminationsInput>;
3687
+ create: Prisma.XOR<Prisma.UserCreateWithoutInitiatedTerminationsInput, Prisma.UserUncheckedCreateWithoutInitiatedTerminationsInput>;
3688
+ where?: Prisma.UserWhereInput;
3689
+ };
3690
+ export type UserUpdateToOneWithWhereWithoutInitiatedTerminationsInput = {
3691
+ where?: Prisma.UserWhereInput;
3692
+ data: Prisma.XOR<Prisma.UserUpdateWithoutInitiatedTerminationsInput, Prisma.UserUncheckedUpdateWithoutInitiatedTerminationsInput>;
3693
+ };
3694
+ export type UserUpdateWithoutInitiatedTerminationsInput = {
3695
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3696
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
3697
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3698
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3699
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3700
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3701
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3702
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3703
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3704
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3705
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3706
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3707
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3708
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3709
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3710
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
3711
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
3712
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
3713
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
3714
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
3715
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
3716
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
3717
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
3718
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
3719
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
3720
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
3721
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
3722
+ contractPayments?: Prisma.ContractPaymentUpdateManyWithoutPayerNestedInput;
3723
+ assignedSteps?: Prisma.ContractPhaseStepUpdateManyWithoutAssigneeNestedInput;
3724
+ stepApprovals?: Prisma.ContractPhaseStepApprovalUpdateManyWithoutApproverNestedInput;
3725
+ uploadedDocs?: Prisma.ContractDocumentUpdateManyWithoutUploadedByNestedInput;
3726
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
3727
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
3728
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
3729
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
3730
+ };
3731
+ export type UserUncheckedUpdateWithoutInitiatedTerminationsInput = {
3732
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3733
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
3734
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3735
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3736
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3737
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3738
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3739
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3740
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3741
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3742
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3743
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3744
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3745
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3746
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3747
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3748
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3749
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
3750
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
3751
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
3752
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
3753
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
3754
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
3755
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
3756
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
3757
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
3758
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
3759
+ contractPayments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPayerNestedInput;
3760
+ assignedSteps?: Prisma.ContractPhaseStepUncheckedUpdateManyWithoutAssigneeNestedInput;
3761
+ stepApprovals?: Prisma.ContractPhaseStepApprovalUncheckedUpdateManyWithoutApproverNestedInput;
3762
+ uploadedDocs?: Prisma.ContractDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
3763
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
3764
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
3765
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
3766
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3767
+ };
3768
+ export type UserUpsertWithoutReviewedTerminationsInput = {
3769
+ update: Prisma.XOR<Prisma.UserUpdateWithoutReviewedTerminationsInput, Prisma.UserUncheckedUpdateWithoutReviewedTerminationsInput>;
3770
+ create: Prisma.XOR<Prisma.UserCreateWithoutReviewedTerminationsInput, Prisma.UserUncheckedCreateWithoutReviewedTerminationsInput>;
3771
+ where?: Prisma.UserWhereInput;
3772
+ };
3773
+ export type UserUpdateToOneWithWhereWithoutReviewedTerminationsInput = {
3774
+ where?: Prisma.UserWhereInput;
3775
+ data: Prisma.XOR<Prisma.UserUpdateWithoutReviewedTerminationsInput, Prisma.UserUncheckedUpdateWithoutReviewedTerminationsInput>;
3776
+ };
3777
+ export type UserUpdateWithoutReviewedTerminationsInput = {
3778
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3779
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
3780
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3781
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3782
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3783
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3784
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3785
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3786
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3787
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3788
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3789
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3790
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3791
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3792
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3793
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
3794
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
3795
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
3796
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
3797
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
3798
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
3799
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
3800
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
3801
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
3802
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
3803
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
3804
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
3805
+ contractPayments?: Prisma.ContractPaymentUpdateManyWithoutPayerNestedInput;
3806
+ assignedSteps?: Prisma.ContractPhaseStepUpdateManyWithoutAssigneeNestedInput;
3807
+ stepApprovals?: Prisma.ContractPhaseStepApprovalUpdateManyWithoutApproverNestedInput;
3808
+ uploadedDocs?: Prisma.ContractDocumentUpdateManyWithoutUploadedByNestedInput;
3809
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
3810
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
3811
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
3812
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
3813
+ };
3814
+ export type UserUncheckedUpdateWithoutReviewedTerminationsInput = {
3815
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3816
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
3817
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3818
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3819
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3820
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3821
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3822
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3823
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3824
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3825
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3826
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3827
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3828
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3829
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3830
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3831
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3832
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
3833
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
3834
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
3835
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
3836
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
3837
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
3838
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
3839
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
3840
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
3841
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
3842
+ contractPayments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPayerNestedInput;
3843
+ assignedSteps?: Prisma.ContractPhaseStepUncheckedUpdateManyWithoutAssigneeNestedInput;
3844
+ stepApprovals?: Prisma.ContractPhaseStepApprovalUncheckedUpdateManyWithoutApproverNestedInput;
3845
+ uploadedDocs?: Prisma.ContractDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
3846
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
3847
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
3848
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
3849
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
3362
3850
  };
3363
3851
  export type UserCreateWithoutPrequalificationsInput = {
3364
3852
  id?: string;
@@ -3394,6 +3882,8 @@ export type UserCreateWithoutPrequalificationsInput = {
3394
3882
  uploadedDocs?: Prisma.ContractDocumentCreateNestedManyWithoutUploadedByInput;
3395
3883
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
3396
3884
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
3885
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
3886
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
3397
3887
  };
3398
3888
  export type UserUncheckedCreateWithoutPrequalificationsInput = {
3399
3889
  id?: string;
@@ -3429,6 +3919,8 @@ export type UserUncheckedCreateWithoutPrequalificationsInput = {
3429
3919
  uploadedDocs?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
3430
3920
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
3431
3921
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
3922
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
3923
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
3432
3924
  };
3433
3925
  export type UserCreateOrConnectWithoutPrequalificationsInput = {
3434
3926
  where: Prisma.UserWhereUniqueInput;
@@ -3477,6 +3969,8 @@ export type UserUpdateWithoutPrequalificationsInput = {
3477
3969
  uploadedDocs?: Prisma.ContractDocumentUpdateManyWithoutUploadedByNestedInput;
3478
3970
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
3479
3971
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
3972
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
3973
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
3480
3974
  };
3481
3975
  export type UserUncheckedUpdateWithoutPrequalificationsInput = {
3482
3976
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3512,6 +4006,8 @@ export type UserUncheckedUpdateWithoutPrequalificationsInput = {
3512
4006
  uploadedDocs?: Prisma.ContractDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
3513
4007
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
3514
4008
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
4009
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
4010
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3515
4011
  };
3516
4012
  export type UserCreateWithoutPaymentMethodChangeRequestsInput = {
3517
4013
  id?: string;
@@ -3547,6 +4043,8 @@ export type UserCreateWithoutPaymentMethodChangeRequestsInput = {
3547
4043
  uploadedDocs?: Prisma.ContractDocumentCreateNestedManyWithoutUploadedByInput;
3548
4044
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
3549
4045
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
4046
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
4047
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
3550
4048
  };
3551
4049
  export type UserUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
3552
4050
  id?: string;
@@ -3582,6 +4080,8 @@ export type UserUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
3582
4080
  uploadedDocs?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
3583
4081
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
3584
4082
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
4083
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
4084
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
3585
4085
  };
3586
4086
  export type UserCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
3587
4087
  where: Prisma.UserWhereUniqueInput;
@@ -3621,6 +4121,8 @@ export type UserCreateWithoutReviewedChangeRequestsInput = {
3621
4121
  uploadedDocs?: Prisma.ContractDocumentCreateNestedManyWithoutUploadedByInput;
3622
4122
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutUserInput;
3623
4123
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
4124
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
4125
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
3624
4126
  };
3625
4127
  export type UserUncheckedCreateWithoutReviewedChangeRequestsInput = {
3626
4128
  id?: string;
@@ -3656,6 +4158,8 @@ export type UserUncheckedCreateWithoutReviewedChangeRequestsInput = {
3656
4158
  uploadedDocs?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
3657
4159
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutUserInput;
3658
4160
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
4161
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
4162
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
3659
4163
  };
3660
4164
  export type UserCreateOrConnectWithoutReviewedChangeRequestsInput = {
3661
4165
  where: Prisma.UserWhereUniqueInput;
@@ -3704,6 +4208,8 @@ export type UserUpdateWithoutPaymentMethodChangeRequestsInput = {
3704
4208
  uploadedDocs?: Prisma.ContractDocumentUpdateManyWithoutUploadedByNestedInput;
3705
4209
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
3706
4210
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
4211
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
4212
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
3707
4213
  };
3708
4214
  export type UserUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
3709
4215
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3739,6 +4245,8 @@ export type UserUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
3739
4245
  uploadedDocs?: Prisma.ContractDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
3740
4246
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
3741
4247
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
4248
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
4249
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3742
4250
  };
3743
4251
  export type UserUpsertWithoutReviewedChangeRequestsInput = {
3744
4252
  update: Prisma.XOR<Prisma.UserUpdateWithoutReviewedChangeRequestsInput, Prisma.UserUncheckedUpdateWithoutReviewedChangeRequestsInput>;
@@ -3783,6 +4291,8 @@ export type UserUpdateWithoutReviewedChangeRequestsInput = {
3783
4291
  uploadedDocs?: Prisma.ContractDocumentUpdateManyWithoutUploadedByNestedInput;
3784
4292
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
3785
4293
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
4294
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
4295
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
3786
4296
  };
3787
4297
  export type UserUncheckedUpdateWithoutReviewedChangeRequestsInput = {
3788
4298
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3818,6 +4328,8 @@ export type UserUncheckedUpdateWithoutReviewedChangeRequestsInput = {
3818
4328
  uploadedDocs?: Prisma.ContractDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
3819
4329
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
3820
4330
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
4331
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
4332
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3821
4333
  };
3822
4334
  export type UserCreateManyTenantInput = {
3823
4335
  id?: string;
@@ -3871,6 +4383,8 @@ export type UserUpdateWithoutTenantInput = {
3871
4383
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutUserNestedInput;
3872
4384
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
3873
4385
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
4386
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
4387
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
3874
4388
  };
3875
4389
  export type UserUncheckedUpdateWithoutTenantInput = {
3876
4390
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3906,6 +4420,8 @@ export type UserUncheckedUpdateWithoutTenantInput = {
3906
4420
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutUserNestedInput;
3907
4421
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
3908
4422
  reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
4423
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
4424
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3909
4425
  };
3910
4426
  export type UserUncheckedUpdateManyWithoutTenantInput = {
3911
4427
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3946,6 +4462,8 @@ export type UserCountOutputType = {
3946
4462
  prequalifications: number;
3947
4463
  paymentMethodChangeRequests: number;
3948
4464
  reviewedChangeRequests: number;
4465
+ initiatedTerminations: number;
4466
+ reviewedTerminations: number;
3949
4467
  };
3950
4468
  export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3951
4469
  userRoles?: boolean | UserCountOutputTypeCountUserRolesArgs;
@@ -3965,6 +4483,8 @@ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
3965
4483
  prequalifications?: boolean | UserCountOutputTypeCountPrequalificationsArgs;
3966
4484
  paymentMethodChangeRequests?: boolean | UserCountOutputTypeCountPaymentMethodChangeRequestsArgs;
3967
4485
  reviewedChangeRequests?: boolean | UserCountOutputTypeCountReviewedChangeRequestsArgs;
4486
+ initiatedTerminations?: boolean | UserCountOutputTypeCountInitiatedTerminationsArgs;
4487
+ reviewedTerminations?: boolean | UserCountOutputTypeCountReviewedTerminationsArgs;
3968
4488
  };
3969
4489
  /**
3970
4490
  * UserCountOutputType without action
@@ -4077,6 +4597,18 @@ export type UserCountOutputTypeCountPaymentMethodChangeRequestsArgs<ExtArgs exte
4077
4597
  export type UserCountOutputTypeCountReviewedChangeRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4078
4598
  where?: Prisma.PaymentMethodChangeRequestWhereInput;
4079
4599
  };
4600
+ /**
4601
+ * UserCountOutputType without action
4602
+ */
4603
+ export type UserCountOutputTypeCountInitiatedTerminationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4604
+ where?: Prisma.ContractTerminationWhereInput;
4605
+ };
4606
+ /**
4607
+ * UserCountOutputType without action
4608
+ */
4609
+ export type UserCountOutputTypeCountReviewedTerminationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4610
+ where?: Prisma.ContractTerminationWhereInput;
4611
+ };
4080
4612
  export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
4081
4613
  id?: boolean;
4082
4614
  email?: boolean;
@@ -4114,6 +4646,8 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
4114
4646
  prequalifications?: boolean | Prisma.User$prequalificationsArgs<ExtArgs>;
4115
4647
  paymentMethodChangeRequests?: boolean | Prisma.User$paymentMethodChangeRequestsArgs<ExtArgs>;
4116
4648
  reviewedChangeRequests?: boolean | Prisma.User$reviewedChangeRequestsArgs<ExtArgs>;
4649
+ initiatedTerminations?: boolean | Prisma.User$initiatedTerminationsArgs<ExtArgs>;
4650
+ reviewedTerminations?: boolean | Prisma.User$reviewedTerminationsArgs<ExtArgs>;
4117
4651
  _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>;
4118
4652
  }, ExtArgs["result"]["user"]>;
4119
4653
  export type UserSelectScalar = {
@@ -4156,6 +4690,8 @@ export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
4156
4690
  prequalifications?: boolean | Prisma.User$prequalificationsArgs<ExtArgs>;
4157
4691
  paymentMethodChangeRequests?: boolean | Prisma.User$paymentMethodChangeRequestsArgs<ExtArgs>;
4158
4692
  reviewedChangeRequests?: boolean | Prisma.User$reviewedChangeRequestsArgs<ExtArgs>;
4693
+ initiatedTerminations?: boolean | Prisma.User$initiatedTerminationsArgs<ExtArgs>;
4694
+ reviewedTerminations?: boolean | Prisma.User$reviewedTerminationsArgs<ExtArgs>;
4159
4695
  _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>;
4160
4696
  };
4161
4697
  export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -4180,6 +4716,8 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
4180
4716
  prequalifications: Prisma.$PrequalificationPayload<ExtArgs>[];
4181
4717
  paymentMethodChangeRequests: Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>[];
4182
4718
  reviewedChangeRequests: Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>[];
4719
+ initiatedTerminations: Prisma.$ContractTerminationPayload<ExtArgs>[];
4720
+ reviewedTerminations: Prisma.$ContractTerminationPayload<ExtArgs>[];
4183
4721
  };
4184
4722
  scalars: runtime.Types.Extensions.GetPayloadResult<{
4185
4723
  id: string;
@@ -4495,6 +5033,8 @@ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Typ
4495
5033
  prequalifications<T extends Prisma.User$prequalificationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$prequalificationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PrequalificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4496
5034
  paymentMethodChangeRequests<T extends Prisma.User$paymentMethodChangeRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$paymentMethodChangeRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4497
5035
  reviewedChangeRequests<T extends Prisma.User$reviewedChangeRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$reviewedChangeRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5036
+ initiatedTerminations<T extends Prisma.User$initiatedTerminationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$initiatedTerminationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractTerminationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5037
+ reviewedTerminations<T extends Prisma.User$reviewedTerminationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$reviewedTerminationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractTerminationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4498
5038
  /**
4499
5039
  * Attaches callbacks for the resolution and/or rejection of the Promise.
4500
5040
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -5291,6 +5831,52 @@ export type User$reviewedChangeRequestsArgs<ExtArgs extends runtime.Types.Extens
5291
5831
  skip?: number;
5292
5832
  distinct?: Prisma.PaymentMethodChangeRequestScalarFieldEnum | Prisma.PaymentMethodChangeRequestScalarFieldEnum[];
5293
5833
  };
5834
+ /**
5835
+ * User.initiatedTerminations
5836
+ */
5837
+ export type User$initiatedTerminationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5838
+ /**
5839
+ * Select specific fields to fetch from the ContractTermination
5840
+ */
5841
+ select?: Prisma.ContractTerminationSelect<ExtArgs> | null;
5842
+ /**
5843
+ * Omit specific fields from the ContractTermination
5844
+ */
5845
+ omit?: Prisma.ContractTerminationOmit<ExtArgs> | null;
5846
+ /**
5847
+ * Choose, which related nodes to fetch as well
5848
+ */
5849
+ include?: Prisma.ContractTerminationInclude<ExtArgs> | null;
5850
+ where?: Prisma.ContractTerminationWhereInput;
5851
+ orderBy?: Prisma.ContractTerminationOrderByWithRelationInput | Prisma.ContractTerminationOrderByWithRelationInput[];
5852
+ cursor?: Prisma.ContractTerminationWhereUniqueInput;
5853
+ take?: number;
5854
+ skip?: number;
5855
+ distinct?: Prisma.ContractTerminationScalarFieldEnum | Prisma.ContractTerminationScalarFieldEnum[];
5856
+ };
5857
+ /**
5858
+ * User.reviewedTerminations
5859
+ */
5860
+ export type User$reviewedTerminationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5861
+ /**
5862
+ * Select specific fields to fetch from the ContractTermination
5863
+ */
5864
+ select?: Prisma.ContractTerminationSelect<ExtArgs> | null;
5865
+ /**
5866
+ * Omit specific fields from the ContractTermination
5867
+ */
5868
+ omit?: Prisma.ContractTerminationOmit<ExtArgs> | null;
5869
+ /**
5870
+ * Choose, which related nodes to fetch as well
5871
+ */
5872
+ include?: Prisma.ContractTerminationInclude<ExtArgs> | null;
5873
+ where?: Prisma.ContractTerminationWhereInput;
5874
+ orderBy?: Prisma.ContractTerminationOrderByWithRelationInput | Prisma.ContractTerminationOrderByWithRelationInput[];
5875
+ cursor?: Prisma.ContractTerminationWhereUniqueInput;
5876
+ take?: number;
5877
+ skip?: number;
5878
+ distinct?: Prisma.ContractTerminationScalarFieldEnum | Prisma.ContractTerminationScalarFieldEnum[];
5879
+ };
5294
5880
  /**
5295
5881
  * User without action
5296
5882
  */