@valentine-efagene/qshelter-common 2.0.78 → 2.0.82

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.
@@ -261,6 +261,9 @@ export type UserWhereInput = {
261
261
  approvalRequestsSubmitted?: Prisma.ApprovalRequestListRelationFilter;
262
262
  approvalRequestsAssigned?: Prisma.ApprovalRequestListRelationFilter;
263
263
  approvalRequestsReviewed?: Prisma.ApprovalRequestListRelationFilter;
264
+ requestedRefunds?: Prisma.ContractRefundListRelationFilter;
265
+ approvedRefunds?: Prisma.ContractRefundListRelationFilter;
266
+ processedRefunds?: Prisma.ContractRefundListRelationFilter;
264
267
  };
265
268
  export type UserOrderByWithRelationInput = {
266
269
  id?: Prisma.SortOrder;
@@ -307,6 +310,9 @@ export type UserOrderByWithRelationInput = {
307
310
  approvalRequestsSubmitted?: Prisma.ApprovalRequestOrderByRelationAggregateInput;
308
311
  approvalRequestsAssigned?: Prisma.ApprovalRequestOrderByRelationAggregateInput;
309
312
  approvalRequestsReviewed?: Prisma.ApprovalRequestOrderByRelationAggregateInput;
313
+ requestedRefunds?: Prisma.ContractRefundOrderByRelationAggregateInput;
314
+ approvedRefunds?: Prisma.ContractRefundOrderByRelationAggregateInput;
315
+ processedRefunds?: Prisma.ContractRefundOrderByRelationAggregateInput;
310
316
  _relevance?: Prisma.UserOrderByRelevanceInput;
311
317
  };
312
318
  export type UserWhereUniqueInput = Prisma.AtLeast<{
@@ -357,6 +363,9 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
357
363
  approvalRequestsSubmitted?: Prisma.ApprovalRequestListRelationFilter;
358
364
  approvalRequestsAssigned?: Prisma.ApprovalRequestListRelationFilter;
359
365
  approvalRequestsReviewed?: Prisma.ApprovalRequestListRelationFilter;
366
+ requestedRefunds?: Prisma.ContractRefundListRelationFilter;
367
+ approvedRefunds?: Prisma.ContractRefundListRelationFilter;
368
+ processedRefunds?: Prisma.ContractRefundListRelationFilter;
360
369
  }, "id" | "email" | "phone" | "walletId">;
361
370
  export type UserOrderByWithAggregationInput = {
362
371
  id?: Prisma.SortOrder;
@@ -445,6 +454,9 @@ export type UserCreateInput = {
445
454
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
446
455
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
447
456
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
457
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
458
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
459
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
448
460
  };
449
461
  export type UserUncheckedCreateInput = {
450
462
  id?: string;
@@ -489,6 +501,9 @@ export type UserUncheckedCreateInput = {
489
501
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
490
502
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
491
503
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
504
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
505
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
506
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
492
507
  };
493
508
  export type UserUpdateInput = {
494
509
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -533,6 +548,9 @@ export type UserUpdateInput = {
533
548
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
534
549
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
535
550
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
551
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
552
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
553
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
536
554
  };
537
555
  export type UserUncheckedUpdateInput = {
538
556
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -577,6 +595,9 @@ export type UserUncheckedUpdateInput = {
577
595
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
578
596
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
579
597
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
598
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
599
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
600
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
580
601
  };
581
602
  export type UserCreateManyInput = {
582
603
  id?: string;
@@ -914,6 +935,46 @@ export type UserUpdateOneWithoutSoldContractsNestedInput = {
914
935
  connect?: Prisma.UserWhereUniqueInput;
915
936
  update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutSoldContractsInput, Prisma.UserUpdateWithoutSoldContractsInput>, Prisma.UserUncheckedUpdateWithoutSoldContractsInput>;
916
937
  };
938
+ export type UserCreateNestedOneWithoutRequestedRefundsInput = {
939
+ create?: Prisma.XOR<Prisma.UserCreateWithoutRequestedRefundsInput, Prisma.UserUncheckedCreateWithoutRequestedRefundsInput>;
940
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutRequestedRefundsInput;
941
+ connect?: Prisma.UserWhereUniqueInput;
942
+ };
943
+ export type UserCreateNestedOneWithoutApprovedRefundsInput = {
944
+ create?: Prisma.XOR<Prisma.UserCreateWithoutApprovedRefundsInput, Prisma.UserUncheckedCreateWithoutApprovedRefundsInput>;
945
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutApprovedRefundsInput;
946
+ connect?: Prisma.UserWhereUniqueInput;
947
+ };
948
+ export type UserCreateNestedOneWithoutProcessedRefundsInput = {
949
+ create?: Prisma.XOR<Prisma.UserCreateWithoutProcessedRefundsInput, Prisma.UserUncheckedCreateWithoutProcessedRefundsInput>;
950
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutProcessedRefundsInput;
951
+ connect?: Prisma.UserWhereUniqueInput;
952
+ };
953
+ export type UserUpdateOneRequiredWithoutRequestedRefundsNestedInput = {
954
+ create?: Prisma.XOR<Prisma.UserCreateWithoutRequestedRefundsInput, Prisma.UserUncheckedCreateWithoutRequestedRefundsInput>;
955
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutRequestedRefundsInput;
956
+ upsert?: Prisma.UserUpsertWithoutRequestedRefundsInput;
957
+ connect?: Prisma.UserWhereUniqueInput;
958
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutRequestedRefundsInput, Prisma.UserUpdateWithoutRequestedRefundsInput>, Prisma.UserUncheckedUpdateWithoutRequestedRefundsInput>;
959
+ };
960
+ export type UserUpdateOneWithoutApprovedRefundsNestedInput = {
961
+ create?: Prisma.XOR<Prisma.UserCreateWithoutApprovedRefundsInput, Prisma.UserUncheckedCreateWithoutApprovedRefundsInput>;
962
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutApprovedRefundsInput;
963
+ upsert?: Prisma.UserUpsertWithoutApprovedRefundsInput;
964
+ disconnect?: Prisma.UserWhereInput | boolean;
965
+ delete?: Prisma.UserWhereInput | boolean;
966
+ connect?: Prisma.UserWhereUniqueInput;
967
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutApprovedRefundsInput, Prisma.UserUpdateWithoutApprovedRefundsInput>, Prisma.UserUncheckedUpdateWithoutApprovedRefundsInput>;
968
+ };
969
+ export type UserUpdateOneWithoutProcessedRefundsNestedInput = {
970
+ create?: Prisma.XOR<Prisma.UserCreateWithoutProcessedRefundsInput, Prisma.UserUncheckedCreateWithoutProcessedRefundsInput>;
971
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutProcessedRefundsInput;
972
+ upsert?: Prisma.UserUpsertWithoutProcessedRefundsInput;
973
+ disconnect?: Prisma.UserWhereInput | boolean;
974
+ delete?: Prisma.UserWhereInput | boolean;
975
+ connect?: Prisma.UserWhereUniqueInput;
976
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutProcessedRefundsInput, Prisma.UserUpdateWithoutProcessedRefundsInput>, Prisma.UserUncheckedUpdateWithoutProcessedRefundsInput>;
977
+ };
917
978
  export type UserCreateNestedOneWithoutAssignedStepsInput = {
918
979
  create?: Prisma.XOR<Prisma.UserCreateWithoutAssignedStepsInput, Prisma.UserUncheckedCreateWithoutAssignedStepsInput>;
919
980
  connectOrCreate?: Prisma.UserCreateOrConnectWithoutAssignedStepsInput;
@@ -1160,6 +1221,9 @@ export type UserCreateWithoutUserRolesInput = {
1160
1221
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
1161
1222
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
1162
1223
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
1224
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
1225
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
1226
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
1163
1227
  };
1164
1228
  export type UserUncheckedCreateWithoutUserRolesInput = {
1165
1229
  id?: string;
@@ -1203,6 +1267,9 @@ export type UserUncheckedCreateWithoutUserRolesInput = {
1203
1267
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
1204
1268
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
1205
1269
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
1270
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
1271
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1272
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1206
1273
  };
1207
1274
  export type UserCreateOrConnectWithoutUserRolesInput = {
1208
1275
  where: Prisma.UserWhereUniqueInput;
@@ -1259,6 +1326,9 @@ export type UserUpdateWithoutUserRolesInput = {
1259
1326
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
1260
1327
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
1261
1328
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
1329
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
1330
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
1331
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
1262
1332
  };
1263
1333
  export type UserUncheckedUpdateWithoutUserRolesInput = {
1264
1334
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1302,6 +1372,9 @@ export type UserUncheckedUpdateWithoutUserRolesInput = {
1302
1372
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
1303
1373
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
1304
1374
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
1375
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
1376
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
1377
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
1305
1378
  };
1306
1379
  export type UserCreateWithoutTenantInput = {
1307
1380
  id?: string;
@@ -1345,6 +1418,9 @@ export type UserCreateWithoutTenantInput = {
1345
1418
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
1346
1419
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
1347
1420
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
1421
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
1422
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
1423
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
1348
1424
  };
1349
1425
  export type UserUncheckedCreateWithoutTenantInput = {
1350
1426
  id?: string;
@@ -1388,6 +1464,9 @@ export type UserUncheckedCreateWithoutTenantInput = {
1388
1464
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
1389
1465
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
1390
1466
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
1467
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
1468
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1469
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1391
1470
  };
1392
1471
  export type UserCreateOrConnectWithoutTenantInput = {
1393
1472
  where: Prisma.UserWhereUniqueInput;
@@ -1474,6 +1553,9 @@ export type UserCreateWithoutRefreshTokensInput = {
1474
1553
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
1475
1554
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
1476
1555
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
1556
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
1557
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
1558
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
1477
1559
  };
1478
1560
  export type UserUncheckedCreateWithoutRefreshTokensInput = {
1479
1561
  id?: string;
@@ -1517,6 +1599,9 @@ export type UserUncheckedCreateWithoutRefreshTokensInput = {
1517
1599
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
1518
1600
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
1519
1601
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
1602
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
1603
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1604
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1520
1605
  };
1521
1606
  export type UserCreateOrConnectWithoutRefreshTokensInput = {
1522
1607
  where: Prisma.UserWhereUniqueInput;
@@ -1573,6 +1658,9 @@ export type UserUpdateWithoutRefreshTokensInput = {
1573
1658
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
1574
1659
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
1575
1660
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
1661
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
1662
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
1663
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
1576
1664
  };
1577
1665
  export type UserUncheckedUpdateWithoutRefreshTokensInput = {
1578
1666
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1616,6 +1704,9 @@ export type UserUncheckedUpdateWithoutRefreshTokensInput = {
1616
1704
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
1617
1705
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
1618
1706
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
1707
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
1708
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
1709
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
1619
1710
  };
1620
1711
  export type UserCreateWithoutPasswordResetsInput = {
1621
1712
  id?: string;
@@ -1659,6 +1750,9 @@ export type UserCreateWithoutPasswordResetsInput = {
1659
1750
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
1660
1751
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
1661
1752
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
1753
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
1754
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
1755
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
1662
1756
  };
1663
1757
  export type UserUncheckedCreateWithoutPasswordResetsInput = {
1664
1758
  id?: string;
@@ -1702,6 +1796,9 @@ export type UserUncheckedCreateWithoutPasswordResetsInput = {
1702
1796
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
1703
1797
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
1704
1798
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
1799
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
1800
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1801
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1705
1802
  };
1706
1803
  export type UserCreateOrConnectWithoutPasswordResetsInput = {
1707
1804
  where: Prisma.UserWhereUniqueInput;
@@ -1758,6 +1855,9 @@ export type UserUpdateWithoutPasswordResetsInput = {
1758
1855
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
1759
1856
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
1760
1857
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
1858
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
1859
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
1860
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
1761
1861
  };
1762
1862
  export type UserUncheckedUpdateWithoutPasswordResetsInput = {
1763
1863
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1801,6 +1901,9 @@ export type UserUncheckedUpdateWithoutPasswordResetsInput = {
1801
1901
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
1802
1902
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
1803
1903
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
1904
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
1905
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
1906
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
1804
1907
  };
1805
1908
  export type UserCreateWithoutSuspensionsInput = {
1806
1909
  id?: string;
@@ -1844,6 +1947,9 @@ export type UserCreateWithoutSuspensionsInput = {
1844
1947
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
1845
1948
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
1846
1949
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
1950
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
1951
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
1952
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
1847
1953
  };
1848
1954
  export type UserUncheckedCreateWithoutSuspensionsInput = {
1849
1955
  id?: string;
@@ -1887,6 +1993,9 @@ export type UserUncheckedCreateWithoutSuspensionsInput = {
1887
1993
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
1888
1994
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
1889
1995
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
1996
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
1997
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1998
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1890
1999
  };
1891
2000
  export type UserCreateOrConnectWithoutSuspensionsInput = {
1892
2001
  where: Prisma.UserWhereUniqueInput;
@@ -1943,6 +2052,9 @@ export type UserUpdateWithoutSuspensionsInput = {
1943
2052
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
1944
2053
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
1945
2054
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
2055
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
2056
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
2057
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
1946
2058
  };
1947
2059
  export type UserUncheckedUpdateWithoutSuspensionsInput = {
1948
2060
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1986,6 +2098,9 @@ export type UserUncheckedUpdateWithoutSuspensionsInput = {
1986
2098
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
1987
2099
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
1988
2100
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
2101
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
2102
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2103
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
1989
2104
  };
1990
2105
  export type UserCreateWithoutEmailPreferencesInput = {
1991
2106
  id?: string;
@@ -2029,6 +2144,9 @@ export type UserCreateWithoutEmailPreferencesInput = {
2029
2144
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
2030
2145
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
2031
2146
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
2147
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
2148
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
2149
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
2032
2150
  };
2033
2151
  export type UserUncheckedCreateWithoutEmailPreferencesInput = {
2034
2152
  id?: string;
@@ -2072,6 +2190,9 @@ export type UserUncheckedCreateWithoutEmailPreferencesInput = {
2072
2190
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
2073
2191
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
2074
2192
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
2193
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
2194
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2195
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2075
2196
  };
2076
2197
  export type UserCreateOrConnectWithoutEmailPreferencesInput = {
2077
2198
  where: Prisma.UserWhereUniqueInput;
@@ -2128,6 +2249,9 @@ export type UserUpdateWithoutEmailPreferencesInput = {
2128
2249
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
2129
2250
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
2130
2251
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
2252
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
2253
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
2254
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
2131
2255
  };
2132
2256
  export type UserUncheckedUpdateWithoutEmailPreferencesInput = {
2133
2257
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2171,6 +2295,9 @@ export type UserUncheckedUpdateWithoutEmailPreferencesInput = {
2171
2295
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
2172
2296
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
2173
2297
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
2298
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
2299
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2300
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2174
2301
  };
2175
2302
  export type UserCreateWithoutDeviceEndpointsInput = {
2176
2303
  id?: string;
@@ -2214,6 +2341,9 @@ export type UserCreateWithoutDeviceEndpointsInput = {
2214
2341
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
2215
2342
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
2216
2343
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
2344
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
2345
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
2346
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
2217
2347
  };
2218
2348
  export type UserUncheckedCreateWithoutDeviceEndpointsInput = {
2219
2349
  id?: string;
@@ -2257,6 +2387,9 @@ export type UserUncheckedCreateWithoutDeviceEndpointsInput = {
2257
2387
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
2258
2388
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
2259
2389
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
2390
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
2391
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2392
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2260
2393
  };
2261
2394
  export type UserCreateOrConnectWithoutDeviceEndpointsInput = {
2262
2395
  where: Prisma.UserWhereUniqueInput;
@@ -2313,6 +2446,9 @@ export type UserUpdateWithoutDeviceEndpointsInput = {
2313
2446
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
2314
2447
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
2315
2448
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
2449
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
2450
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
2451
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
2316
2452
  };
2317
2453
  export type UserUncheckedUpdateWithoutDeviceEndpointsInput = {
2318
2454
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2356,6 +2492,9 @@ export type UserUncheckedUpdateWithoutDeviceEndpointsInput = {
2356
2492
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
2357
2493
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
2358
2494
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
2495
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
2496
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2497
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2359
2498
  };
2360
2499
  export type UserCreateWithoutSocialsInput = {
2361
2500
  id?: string;
@@ -2399,6 +2538,9 @@ export type UserCreateWithoutSocialsInput = {
2399
2538
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
2400
2539
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
2401
2540
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
2541
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
2542
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
2543
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
2402
2544
  };
2403
2545
  export type UserUncheckedCreateWithoutSocialsInput = {
2404
2546
  id?: string;
@@ -2442,6 +2584,9 @@ export type UserUncheckedCreateWithoutSocialsInput = {
2442
2584
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
2443
2585
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
2444
2586
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
2587
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
2588
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2589
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2445
2590
  };
2446
2591
  export type UserCreateOrConnectWithoutSocialsInput = {
2447
2592
  where: Prisma.UserWhereUniqueInput;
@@ -2498,6 +2643,9 @@ export type UserUpdateWithoutSocialsInput = {
2498
2643
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
2499
2644
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
2500
2645
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
2646
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
2647
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
2648
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
2501
2649
  };
2502
2650
  export type UserUncheckedUpdateWithoutSocialsInput = {
2503
2651
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2541,6 +2689,9 @@ export type UserUncheckedUpdateWithoutSocialsInput = {
2541
2689
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
2542
2690
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
2543
2691
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
2692
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
2693
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2694
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2544
2695
  };
2545
2696
  export type UserCreateWithoutWalletInput = {
2546
2697
  id?: string;
@@ -2584,6 +2735,9 @@ export type UserCreateWithoutWalletInput = {
2584
2735
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
2585
2736
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
2586
2737
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
2738
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
2739
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
2740
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
2587
2741
  };
2588
2742
  export type UserUncheckedCreateWithoutWalletInput = {
2589
2743
  id?: string;
@@ -2627,6 +2781,9 @@ export type UserUncheckedCreateWithoutWalletInput = {
2627
2781
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
2628
2782
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
2629
2783
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
2784
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
2785
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2786
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2630
2787
  };
2631
2788
  export type UserCreateOrConnectWithoutWalletInput = {
2632
2789
  where: Prisma.UserWhereUniqueInput;
@@ -2683,6 +2840,9 @@ export type UserUpdateWithoutWalletInput = {
2683
2840
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
2684
2841
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
2685
2842
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
2843
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
2844
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
2845
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
2686
2846
  };
2687
2847
  export type UserUncheckedUpdateWithoutWalletInput = {
2688
2848
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2726,6 +2886,9 @@ export type UserUncheckedUpdateWithoutWalletInput = {
2726
2886
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
2727
2887
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
2728
2888
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
2889
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
2890
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2891
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2729
2892
  };
2730
2893
  export type UserCreateWithoutPropertiesInput = {
2731
2894
  id?: string;
@@ -2769,6 +2932,9 @@ export type UserCreateWithoutPropertiesInput = {
2769
2932
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
2770
2933
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
2771
2934
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
2935
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
2936
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
2937
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
2772
2938
  };
2773
2939
  export type UserUncheckedCreateWithoutPropertiesInput = {
2774
2940
  id?: string;
@@ -2812,6 +2978,9 @@ export type UserUncheckedCreateWithoutPropertiesInput = {
2812
2978
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
2813
2979
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
2814
2980
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
2981
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
2982
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2983
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2815
2984
  };
2816
2985
  export type UserCreateOrConnectWithoutPropertiesInput = {
2817
2986
  where: Prisma.UserWhereUniqueInput;
@@ -2868,6 +3037,9 @@ export type UserUpdateWithoutPropertiesInput = {
2868
3037
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
2869
3038
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
2870
3039
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
3040
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
3041
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
3042
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
2871
3043
  };
2872
3044
  export type UserUncheckedUpdateWithoutPropertiesInput = {
2873
3045
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2911,8 +3083,405 @@ export type UserUncheckedUpdateWithoutPropertiesInput = {
2911
3083
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
2912
3084
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
2913
3085
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
3086
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
3087
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3088
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3089
+ };
3090
+ export type UserCreateWithoutContractsInput = {
3091
+ id?: string;
3092
+ email: string;
3093
+ password?: string | null;
3094
+ phone?: string | null;
3095
+ firstName?: string | null;
3096
+ lastName?: string | null;
3097
+ isActive?: boolean;
3098
+ isEmailVerified?: boolean;
3099
+ googleId?: string | null;
3100
+ avatar?: string | null;
3101
+ createdAt?: Date | string;
3102
+ updatedAt?: Date | string;
3103
+ emailVerifiedAt?: Date | string | null;
3104
+ emailVerificationToken?: string | null;
3105
+ lastLoginAt?: Date | string | null;
3106
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
3107
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
3108
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
3109
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
3110
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
3111
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
3112
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
3113
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
3114
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
3115
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
3116
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
3117
+ contractPayments?: Prisma.ContractPaymentCreateNestedManyWithoutPayerInput;
3118
+ assignedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutAssigneeInput;
3119
+ stepApprovals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutApproverInput;
3120
+ uploadedDocs?: Prisma.ContractDocumentCreateNestedManyWithoutUploadedByInput;
3121
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
3122
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
3123
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
3124
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
3125
+ offerLettersGenerated?: Prisma.OfferLetterCreateNestedManyWithoutGeneratedByInput;
3126
+ offerLettersSent?: Prisma.OfferLetterCreateNestedManyWithoutSentByInput;
3127
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestCreateNestedManyWithoutRequestedByInput;
3128
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestCreateNestedManyWithoutReviewedByInput;
3129
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
3130
+ approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
3131
+ approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
3132
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
3133
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
3134
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
3135
+ };
3136
+ export type UserUncheckedCreateWithoutContractsInput = {
3137
+ id?: string;
3138
+ email: string;
3139
+ password?: string | null;
3140
+ phone?: string | null;
3141
+ firstName?: string | null;
3142
+ lastName?: string | null;
3143
+ isActive?: boolean;
3144
+ isEmailVerified?: boolean;
3145
+ googleId?: string | null;
3146
+ avatar?: string | null;
3147
+ tenantId?: string | null;
3148
+ walletId?: string | null;
3149
+ createdAt?: Date | string;
3150
+ updatedAt?: Date | string;
3151
+ emailVerifiedAt?: Date | string | null;
3152
+ emailVerificationToken?: string | null;
3153
+ lastLoginAt?: Date | string | null;
3154
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
3155
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
3156
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
3157
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
3158
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
3159
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
3160
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
3161
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
3162
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
3163
+ contractPayments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPayerInput;
3164
+ assignedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutAssigneeInput;
3165
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedCreateNestedManyWithoutApproverInput;
3166
+ uploadedDocs?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
3167
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
3168
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
3169
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
3170
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
3171
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutGeneratedByInput;
3172
+ offerLettersSent?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutSentByInput;
3173
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3174
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutReviewedByInput;
3175
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3176
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
3177
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
3178
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
3179
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3180
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3181
+ };
3182
+ export type UserCreateOrConnectWithoutContractsInput = {
3183
+ where: Prisma.UserWhereUniqueInput;
3184
+ create: Prisma.XOR<Prisma.UserCreateWithoutContractsInput, Prisma.UserUncheckedCreateWithoutContractsInput>;
3185
+ };
3186
+ export type UserCreateWithoutSoldContractsInput = {
3187
+ id?: string;
3188
+ email: string;
3189
+ password?: string | null;
3190
+ phone?: string | null;
3191
+ firstName?: string | null;
3192
+ lastName?: string | null;
3193
+ isActive?: boolean;
3194
+ isEmailVerified?: boolean;
3195
+ googleId?: string | null;
3196
+ avatar?: string | null;
3197
+ createdAt?: Date | string;
3198
+ updatedAt?: Date | string;
3199
+ emailVerifiedAt?: Date | string | null;
3200
+ emailVerificationToken?: string | null;
3201
+ lastLoginAt?: Date | string | null;
3202
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
3203
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
3204
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
3205
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
3206
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
3207
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
3208
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
3209
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
3210
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
3211
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
3212
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
3213
+ contractPayments?: Prisma.ContractPaymentCreateNestedManyWithoutPayerInput;
3214
+ assignedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutAssigneeInput;
3215
+ stepApprovals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutApproverInput;
3216
+ uploadedDocs?: Prisma.ContractDocumentCreateNestedManyWithoutUploadedByInput;
3217
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
3218
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
3219
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
3220
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
3221
+ offerLettersGenerated?: Prisma.OfferLetterCreateNestedManyWithoutGeneratedByInput;
3222
+ offerLettersSent?: Prisma.OfferLetterCreateNestedManyWithoutSentByInput;
3223
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestCreateNestedManyWithoutRequestedByInput;
3224
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestCreateNestedManyWithoutReviewedByInput;
3225
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
3226
+ approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
3227
+ approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
3228
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
3229
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
3230
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
3231
+ };
3232
+ export type UserUncheckedCreateWithoutSoldContractsInput = {
3233
+ id?: string;
3234
+ email: string;
3235
+ password?: string | null;
3236
+ phone?: string | null;
3237
+ firstName?: string | null;
3238
+ lastName?: string | null;
3239
+ isActive?: boolean;
3240
+ isEmailVerified?: boolean;
3241
+ googleId?: string | null;
3242
+ avatar?: string | null;
3243
+ tenantId?: string | null;
3244
+ walletId?: string | null;
3245
+ createdAt?: Date | string;
3246
+ updatedAt?: Date | string;
3247
+ emailVerifiedAt?: Date | string | null;
3248
+ emailVerificationToken?: string | null;
3249
+ lastLoginAt?: Date | string | null;
3250
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
3251
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
3252
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
3253
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
3254
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
3255
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
3256
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
3257
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
3258
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
3259
+ contractPayments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPayerInput;
3260
+ assignedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutAssigneeInput;
3261
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedCreateNestedManyWithoutApproverInput;
3262
+ uploadedDocs?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
3263
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
3264
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
3265
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
3266
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
3267
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutGeneratedByInput;
3268
+ offerLettersSent?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutSentByInput;
3269
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3270
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutReviewedByInput;
3271
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3272
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
3273
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
3274
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
3275
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3276
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3277
+ };
3278
+ export type UserCreateOrConnectWithoutSoldContractsInput = {
3279
+ where: Prisma.UserWhereUniqueInput;
3280
+ create: Prisma.XOR<Prisma.UserCreateWithoutSoldContractsInput, Prisma.UserUncheckedCreateWithoutSoldContractsInput>;
3281
+ };
3282
+ export type UserUpsertWithoutContractsInput = {
3283
+ update: Prisma.XOR<Prisma.UserUpdateWithoutContractsInput, Prisma.UserUncheckedUpdateWithoutContractsInput>;
3284
+ create: Prisma.XOR<Prisma.UserCreateWithoutContractsInput, Prisma.UserUncheckedCreateWithoutContractsInput>;
3285
+ where?: Prisma.UserWhereInput;
3286
+ };
3287
+ export type UserUpdateToOneWithWhereWithoutContractsInput = {
3288
+ where?: Prisma.UserWhereInput;
3289
+ data: Prisma.XOR<Prisma.UserUpdateWithoutContractsInput, Prisma.UserUncheckedUpdateWithoutContractsInput>;
3290
+ };
3291
+ export type UserUpdateWithoutContractsInput = {
3292
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3293
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
3294
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3295
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3296
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3297
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3298
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3299
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3300
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3301
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3302
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3303
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3304
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3305
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3306
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3307
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
3308
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
3309
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
3310
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
3311
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
3312
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
3313
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
3314
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
3315
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
3316
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
3317
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
3318
+ contractPayments?: Prisma.ContractPaymentUpdateManyWithoutPayerNestedInput;
3319
+ assignedSteps?: Prisma.DocumentationStepUpdateManyWithoutAssigneeNestedInput;
3320
+ stepApprovals?: Prisma.DocumentationStepApprovalUpdateManyWithoutApproverNestedInput;
3321
+ uploadedDocs?: Prisma.ContractDocumentUpdateManyWithoutUploadedByNestedInput;
3322
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
3323
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
3324
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
3325
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
3326
+ offerLettersGenerated?: Prisma.OfferLetterUpdateManyWithoutGeneratedByNestedInput;
3327
+ offerLettersSent?: Prisma.OfferLetterUpdateManyWithoutSentByNestedInput;
3328
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUpdateManyWithoutRequestedByNestedInput;
3329
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUpdateManyWithoutReviewedByNestedInput;
3330
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
3331
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
3332
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
3333
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
3334
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
3335
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
3336
+ };
3337
+ export type UserUncheckedUpdateWithoutContractsInput = {
3338
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3339
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
3340
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3341
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3342
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3343
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3344
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3345
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3346
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3347
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3348
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3349
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3350
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3351
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3352
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3353
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3354
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3355
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
3356
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
3357
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
3358
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
3359
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
3360
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
3361
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
3362
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
3363
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
3364
+ contractPayments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPayerNestedInput;
3365
+ assignedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutAssigneeNestedInput;
3366
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedUpdateManyWithoutApproverNestedInput;
3367
+ uploadedDocs?: Prisma.ContractDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
3368
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
3369
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
3370
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
3371
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3372
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedUpdateManyWithoutGeneratedByNestedInput;
3373
+ offerLettersSent?: Prisma.OfferLetterUncheckedUpdateManyWithoutSentByNestedInput;
3374
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3375
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
3376
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3377
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
3378
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
3379
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
3380
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3381
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3382
+ };
3383
+ export type UserUpsertWithoutSoldContractsInput = {
3384
+ update: Prisma.XOR<Prisma.UserUpdateWithoutSoldContractsInput, Prisma.UserUncheckedUpdateWithoutSoldContractsInput>;
3385
+ create: Prisma.XOR<Prisma.UserCreateWithoutSoldContractsInput, Prisma.UserUncheckedCreateWithoutSoldContractsInput>;
3386
+ where?: Prisma.UserWhereInput;
3387
+ };
3388
+ export type UserUpdateToOneWithWhereWithoutSoldContractsInput = {
3389
+ where?: Prisma.UserWhereInput;
3390
+ data: Prisma.XOR<Prisma.UserUpdateWithoutSoldContractsInput, Prisma.UserUncheckedUpdateWithoutSoldContractsInput>;
3391
+ };
3392
+ export type UserUpdateWithoutSoldContractsInput = {
3393
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3394
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
3395
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3396
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3397
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3398
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3399
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3400
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3401
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3402
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3403
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3404
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3405
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3406
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3407
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3408
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
3409
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
3410
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
3411
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
3412
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
3413
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
3414
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
3415
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
3416
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
3417
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
3418
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
3419
+ contractPayments?: Prisma.ContractPaymentUpdateManyWithoutPayerNestedInput;
3420
+ assignedSteps?: Prisma.DocumentationStepUpdateManyWithoutAssigneeNestedInput;
3421
+ stepApprovals?: Prisma.DocumentationStepApprovalUpdateManyWithoutApproverNestedInput;
3422
+ uploadedDocs?: Prisma.ContractDocumentUpdateManyWithoutUploadedByNestedInput;
3423
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
3424
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
3425
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
3426
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
3427
+ offerLettersGenerated?: Prisma.OfferLetterUpdateManyWithoutGeneratedByNestedInput;
3428
+ offerLettersSent?: Prisma.OfferLetterUpdateManyWithoutSentByNestedInput;
3429
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUpdateManyWithoutRequestedByNestedInput;
3430
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUpdateManyWithoutReviewedByNestedInput;
3431
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
3432
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
3433
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
3434
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
3435
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
3436
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
3437
+ };
3438
+ export type UserUncheckedUpdateWithoutSoldContractsInput = {
3439
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3440
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
3441
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3442
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3443
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3444
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3445
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3446
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3447
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3448
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3449
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3450
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3451
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3452
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3453
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3454
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3455
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3456
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
3457
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
3458
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
3459
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
3460
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
3461
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
3462
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
3463
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
3464
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
3465
+ contractPayments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPayerNestedInput;
3466
+ assignedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutAssigneeNestedInput;
3467
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedUpdateManyWithoutApproverNestedInput;
3468
+ uploadedDocs?: Prisma.ContractDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
3469
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
3470
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
3471
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
3472
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3473
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedUpdateManyWithoutGeneratedByNestedInput;
3474
+ offerLettersSent?: Prisma.OfferLetterUncheckedUpdateManyWithoutSentByNestedInput;
3475
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3476
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
3477
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3478
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
3479
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
3480
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
3481
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3482
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2914
3483
  };
2915
- export type UserCreateWithoutContractsInput = {
3484
+ export type UserCreateWithoutRequestedRefundsInput = {
2916
3485
  id?: string;
2917
3486
  email: string;
2918
3487
  password?: string | null;
@@ -2938,6 +3507,7 @@ export type UserCreateWithoutContractsInput = {
2938
3507
  deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
2939
3508
  socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
2940
3509
  properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
3510
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
2941
3511
  soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
2942
3512
  contractPayments?: Prisma.ContractPaymentCreateNestedManyWithoutPayerInput;
2943
3513
  assignedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutAssigneeInput;
@@ -2954,8 +3524,10 @@ export type UserCreateWithoutContractsInput = {
2954
3524
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
2955
3525
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
2956
3526
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
3527
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
3528
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
2957
3529
  };
2958
- export type UserUncheckedCreateWithoutContractsInput = {
3530
+ export type UserUncheckedCreateWithoutRequestedRefundsInput = {
2959
3531
  id?: string;
2960
3532
  email: string;
2961
3533
  password?: string | null;
@@ -2981,6 +3553,7 @@ export type UserUncheckedCreateWithoutContractsInput = {
2981
3553
  deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
2982
3554
  socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
2983
3555
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
3556
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
2984
3557
  soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
2985
3558
  contractPayments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPayerInput;
2986
3559
  assignedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutAssigneeInput;
@@ -2997,12 +3570,14 @@ export type UserUncheckedCreateWithoutContractsInput = {
2997
3570
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
2998
3571
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
2999
3572
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
3573
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3574
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3000
3575
  };
3001
- export type UserCreateOrConnectWithoutContractsInput = {
3576
+ export type UserCreateOrConnectWithoutRequestedRefundsInput = {
3002
3577
  where: Prisma.UserWhereUniqueInput;
3003
- create: Prisma.XOR<Prisma.UserCreateWithoutContractsInput, Prisma.UserUncheckedCreateWithoutContractsInput>;
3578
+ create: Prisma.XOR<Prisma.UserCreateWithoutRequestedRefundsInput, Prisma.UserUncheckedCreateWithoutRequestedRefundsInput>;
3004
3579
  };
3005
- export type UserCreateWithoutSoldContractsInput = {
3580
+ export type UserCreateWithoutApprovedRefundsInput = {
3006
3581
  id?: string;
3007
3582
  email: string;
3008
3583
  password?: string | null;
@@ -3029,6 +3604,7 @@ export type UserCreateWithoutSoldContractsInput = {
3029
3604
  socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
3030
3605
  properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
3031
3606
  contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
3607
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
3032
3608
  contractPayments?: Prisma.ContractPaymentCreateNestedManyWithoutPayerInput;
3033
3609
  assignedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutAssigneeInput;
3034
3610
  stepApprovals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutApproverInput;
@@ -3044,8 +3620,10 @@ export type UserCreateWithoutSoldContractsInput = {
3044
3620
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
3045
3621
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
3046
3622
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
3623
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
3624
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
3047
3625
  };
3048
- export type UserUncheckedCreateWithoutSoldContractsInput = {
3626
+ export type UserUncheckedCreateWithoutApprovedRefundsInput = {
3049
3627
  id?: string;
3050
3628
  email: string;
3051
3629
  password?: string | null;
@@ -3072,6 +3650,7 @@ export type UserUncheckedCreateWithoutSoldContractsInput = {
3072
3650
  socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
3073
3651
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
3074
3652
  contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
3653
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
3075
3654
  contractPayments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPayerInput;
3076
3655
  assignedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutAssigneeInput;
3077
3656
  stepApprovals?: Prisma.DocumentationStepApprovalUncheckedCreateNestedManyWithoutApproverInput;
@@ -3087,21 +3666,119 @@ export type UserUncheckedCreateWithoutSoldContractsInput = {
3087
3666
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3088
3667
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
3089
3668
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
3669
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
3670
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3090
3671
  };
3091
- export type UserCreateOrConnectWithoutSoldContractsInput = {
3672
+ export type UserCreateOrConnectWithoutApprovedRefundsInput = {
3092
3673
  where: Prisma.UserWhereUniqueInput;
3093
- create: Prisma.XOR<Prisma.UserCreateWithoutSoldContractsInput, Prisma.UserUncheckedCreateWithoutSoldContractsInput>;
3674
+ create: Prisma.XOR<Prisma.UserCreateWithoutApprovedRefundsInput, Prisma.UserUncheckedCreateWithoutApprovedRefundsInput>;
3094
3675
  };
3095
- export type UserUpsertWithoutContractsInput = {
3096
- update: Prisma.XOR<Prisma.UserUpdateWithoutContractsInput, Prisma.UserUncheckedUpdateWithoutContractsInput>;
3097
- create: Prisma.XOR<Prisma.UserCreateWithoutContractsInput, Prisma.UserUncheckedCreateWithoutContractsInput>;
3676
+ export type UserCreateWithoutProcessedRefundsInput = {
3677
+ id?: string;
3678
+ email: string;
3679
+ password?: string | null;
3680
+ phone?: string | null;
3681
+ firstName?: string | null;
3682
+ lastName?: string | null;
3683
+ isActive?: boolean;
3684
+ isEmailVerified?: boolean;
3685
+ googleId?: string | null;
3686
+ avatar?: string | null;
3687
+ createdAt?: Date | string;
3688
+ updatedAt?: Date | string;
3689
+ emailVerifiedAt?: Date | string | null;
3690
+ emailVerificationToken?: string | null;
3691
+ lastLoginAt?: Date | string | null;
3692
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
3693
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
3694
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
3695
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
3696
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
3697
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
3698
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
3699
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
3700
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
3701
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
3702
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
3703
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
3704
+ contractPayments?: Prisma.ContractPaymentCreateNestedManyWithoutPayerInput;
3705
+ assignedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutAssigneeInput;
3706
+ stepApprovals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutApproverInput;
3707
+ uploadedDocs?: Prisma.ContractDocumentCreateNestedManyWithoutUploadedByInput;
3708
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
3709
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
3710
+ initiatedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutInitiatorInput;
3711
+ reviewedTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutReviewerInput;
3712
+ offerLettersGenerated?: Prisma.OfferLetterCreateNestedManyWithoutGeneratedByInput;
3713
+ offerLettersSent?: Prisma.OfferLetterCreateNestedManyWithoutSentByInput;
3714
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestCreateNestedManyWithoutRequestedByInput;
3715
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestCreateNestedManyWithoutReviewedByInput;
3716
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
3717
+ approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
3718
+ approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
3719
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
3720
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
3721
+ };
3722
+ export type UserUncheckedCreateWithoutProcessedRefundsInput = {
3723
+ id?: string;
3724
+ email: string;
3725
+ password?: string | null;
3726
+ phone?: string | null;
3727
+ firstName?: string | null;
3728
+ lastName?: string | null;
3729
+ isActive?: boolean;
3730
+ isEmailVerified?: boolean;
3731
+ googleId?: string | null;
3732
+ avatar?: string | null;
3733
+ tenantId?: string | null;
3734
+ walletId?: string | null;
3735
+ createdAt?: Date | string;
3736
+ updatedAt?: Date | string;
3737
+ emailVerifiedAt?: Date | string | null;
3738
+ emailVerificationToken?: string | null;
3739
+ lastLoginAt?: Date | string | null;
3740
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
3741
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
3742
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
3743
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
3744
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
3745
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
3746
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
3747
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
3748
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
3749
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
3750
+ contractPayments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPayerInput;
3751
+ assignedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutAssigneeInput;
3752
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedCreateNestedManyWithoutApproverInput;
3753
+ uploadedDocs?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
3754
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
3755
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
3756
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
3757
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutReviewerInput;
3758
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutGeneratedByInput;
3759
+ offerLettersSent?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutSentByInput;
3760
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3761
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutReviewedByInput;
3762
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3763
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
3764
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
3765
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
3766
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3767
+ };
3768
+ export type UserCreateOrConnectWithoutProcessedRefundsInput = {
3769
+ where: Prisma.UserWhereUniqueInput;
3770
+ create: Prisma.XOR<Prisma.UserCreateWithoutProcessedRefundsInput, Prisma.UserUncheckedCreateWithoutProcessedRefundsInput>;
3771
+ };
3772
+ export type UserUpsertWithoutRequestedRefundsInput = {
3773
+ update: Prisma.XOR<Prisma.UserUpdateWithoutRequestedRefundsInput, Prisma.UserUncheckedUpdateWithoutRequestedRefundsInput>;
3774
+ create: Prisma.XOR<Prisma.UserCreateWithoutRequestedRefundsInput, Prisma.UserUncheckedCreateWithoutRequestedRefundsInput>;
3098
3775
  where?: Prisma.UserWhereInput;
3099
3776
  };
3100
- export type UserUpdateToOneWithWhereWithoutContractsInput = {
3777
+ export type UserUpdateToOneWithWhereWithoutRequestedRefundsInput = {
3101
3778
  where?: Prisma.UserWhereInput;
3102
- data: Prisma.XOR<Prisma.UserUpdateWithoutContractsInput, Prisma.UserUncheckedUpdateWithoutContractsInput>;
3779
+ data: Prisma.XOR<Prisma.UserUpdateWithoutRequestedRefundsInput, Prisma.UserUncheckedUpdateWithoutRequestedRefundsInput>;
3103
3780
  };
3104
- export type UserUpdateWithoutContractsInput = {
3781
+ export type UserUpdateWithoutRequestedRefundsInput = {
3105
3782
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3106
3783
  email?: Prisma.StringFieldUpdateOperationsInput | string;
3107
3784
  password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3127,6 +3804,7 @@ export type UserUpdateWithoutContractsInput = {
3127
3804
  deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
3128
3805
  socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
3129
3806
  properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
3807
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
3130
3808
  soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
3131
3809
  contractPayments?: Prisma.ContractPaymentUpdateManyWithoutPayerNestedInput;
3132
3810
  assignedSteps?: Prisma.DocumentationStepUpdateManyWithoutAssigneeNestedInput;
@@ -3143,8 +3821,10 @@ export type UserUpdateWithoutContractsInput = {
3143
3821
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
3144
3822
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
3145
3823
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
3824
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
3825
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
3146
3826
  };
3147
- export type UserUncheckedUpdateWithoutContractsInput = {
3827
+ export type UserUncheckedUpdateWithoutRequestedRefundsInput = {
3148
3828
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3149
3829
  email?: Prisma.StringFieldUpdateOperationsInput | string;
3150
3830
  password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3170,6 +3850,7 @@ export type UserUncheckedUpdateWithoutContractsInput = {
3170
3850
  deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
3171
3851
  socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
3172
3852
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
3853
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
3173
3854
  soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
3174
3855
  contractPayments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPayerNestedInput;
3175
3856
  assignedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutAssigneeNestedInput;
@@ -3186,17 +3867,19 @@ export type UserUncheckedUpdateWithoutContractsInput = {
3186
3867
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3187
3868
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
3188
3869
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
3870
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3871
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3189
3872
  };
3190
- export type UserUpsertWithoutSoldContractsInput = {
3191
- update: Prisma.XOR<Prisma.UserUpdateWithoutSoldContractsInput, Prisma.UserUncheckedUpdateWithoutSoldContractsInput>;
3192
- create: Prisma.XOR<Prisma.UserCreateWithoutSoldContractsInput, Prisma.UserUncheckedCreateWithoutSoldContractsInput>;
3873
+ export type UserUpsertWithoutApprovedRefundsInput = {
3874
+ update: Prisma.XOR<Prisma.UserUpdateWithoutApprovedRefundsInput, Prisma.UserUncheckedUpdateWithoutApprovedRefundsInput>;
3875
+ create: Prisma.XOR<Prisma.UserCreateWithoutApprovedRefundsInput, Prisma.UserUncheckedCreateWithoutApprovedRefundsInput>;
3193
3876
  where?: Prisma.UserWhereInput;
3194
3877
  };
3195
- export type UserUpdateToOneWithWhereWithoutSoldContractsInput = {
3878
+ export type UserUpdateToOneWithWhereWithoutApprovedRefundsInput = {
3196
3879
  where?: Prisma.UserWhereInput;
3197
- data: Prisma.XOR<Prisma.UserUpdateWithoutSoldContractsInput, Prisma.UserUncheckedUpdateWithoutSoldContractsInput>;
3880
+ data: Prisma.XOR<Prisma.UserUpdateWithoutApprovedRefundsInput, Prisma.UserUncheckedUpdateWithoutApprovedRefundsInput>;
3198
3881
  };
3199
- export type UserUpdateWithoutSoldContractsInput = {
3882
+ export type UserUpdateWithoutApprovedRefundsInput = {
3200
3883
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3201
3884
  email?: Prisma.StringFieldUpdateOperationsInput | string;
3202
3885
  password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3223,6 +3906,7 @@ export type UserUpdateWithoutSoldContractsInput = {
3223
3906
  socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
3224
3907
  properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
3225
3908
  contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
3909
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
3226
3910
  contractPayments?: Prisma.ContractPaymentUpdateManyWithoutPayerNestedInput;
3227
3911
  assignedSteps?: Prisma.DocumentationStepUpdateManyWithoutAssigneeNestedInput;
3228
3912
  stepApprovals?: Prisma.DocumentationStepApprovalUpdateManyWithoutApproverNestedInput;
@@ -3238,8 +3922,111 @@ export type UserUpdateWithoutSoldContractsInput = {
3238
3922
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
3239
3923
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
3240
3924
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
3925
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
3926
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
3241
3927
  };
3242
- export type UserUncheckedUpdateWithoutSoldContractsInput = {
3928
+ export type UserUncheckedUpdateWithoutApprovedRefundsInput = {
3929
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3930
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
3931
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3932
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3933
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3934
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3935
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3936
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3937
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3938
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3939
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3940
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3941
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3942
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3943
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3944
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3945
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3946
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
3947
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
3948
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
3949
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
3950
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
3951
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
3952
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
3953
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
3954
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
3955
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
3956
+ contractPayments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPayerNestedInput;
3957
+ assignedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutAssigneeNestedInput;
3958
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedUpdateManyWithoutApproverNestedInput;
3959
+ uploadedDocs?: Prisma.ContractDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
3960
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
3961
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
3962
+ initiatedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
3963
+ reviewedTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
3964
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedUpdateManyWithoutGeneratedByNestedInput;
3965
+ offerLettersSent?: Prisma.OfferLetterUncheckedUpdateManyWithoutSentByNestedInput;
3966
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3967
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
3968
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3969
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
3970
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
3971
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
3972
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3973
+ };
3974
+ export type UserUpsertWithoutProcessedRefundsInput = {
3975
+ update: Prisma.XOR<Prisma.UserUpdateWithoutProcessedRefundsInput, Prisma.UserUncheckedUpdateWithoutProcessedRefundsInput>;
3976
+ create: Prisma.XOR<Prisma.UserCreateWithoutProcessedRefundsInput, Prisma.UserUncheckedCreateWithoutProcessedRefundsInput>;
3977
+ where?: Prisma.UserWhereInput;
3978
+ };
3979
+ export type UserUpdateToOneWithWhereWithoutProcessedRefundsInput = {
3980
+ where?: Prisma.UserWhereInput;
3981
+ data: Prisma.XOR<Prisma.UserUpdateWithoutProcessedRefundsInput, Prisma.UserUncheckedUpdateWithoutProcessedRefundsInput>;
3982
+ };
3983
+ export type UserUpdateWithoutProcessedRefundsInput = {
3984
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3985
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
3986
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3987
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3988
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3989
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3990
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3991
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3992
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3993
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3994
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3995
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3996
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3997
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3998
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3999
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
4000
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
4001
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
4002
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
4003
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
4004
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
4005
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
4006
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
4007
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
4008
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
4009
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
4010
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
4011
+ contractPayments?: Prisma.ContractPaymentUpdateManyWithoutPayerNestedInput;
4012
+ assignedSteps?: Prisma.DocumentationStepUpdateManyWithoutAssigneeNestedInput;
4013
+ stepApprovals?: Prisma.DocumentationStepApprovalUpdateManyWithoutApproverNestedInput;
4014
+ uploadedDocs?: Prisma.ContractDocumentUpdateManyWithoutUploadedByNestedInput;
4015
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
4016
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
4017
+ initiatedTerminations?: Prisma.ContractTerminationUpdateManyWithoutInitiatorNestedInput;
4018
+ reviewedTerminations?: Prisma.ContractTerminationUpdateManyWithoutReviewerNestedInput;
4019
+ offerLettersGenerated?: Prisma.OfferLetterUpdateManyWithoutGeneratedByNestedInput;
4020
+ offerLettersSent?: Prisma.OfferLetterUpdateManyWithoutSentByNestedInput;
4021
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUpdateManyWithoutRequestedByNestedInput;
4022
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUpdateManyWithoutReviewedByNestedInput;
4023
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
4024
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
4025
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
4026
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
4027
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
4028
+ };
4029
+ export type UserUncheckedUpdateWithoutProcessedRefundsInput = {
3243
4030
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3244
4031
  email?: Prisma.StringFieldUpdateOperationsInput | string;
3245
4032
  password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3266,6 +4053,7 @@ export type UserUncheckedUpdateWithoutSoldContractsInput = {
3266
4053
  socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
3267
4054
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
3268
4055
  contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
4056
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
3269
4057
  contractPayments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPayerNestedInput;
3270
4058
  assignedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutAssigneeNestedInput;
3271
4059
  stepApprovals?: Prisma.DocumentationStepApprovalUncheckedUpdateManyWithoutApproverNestedInput;
@@ -3281,6 +4069,8 @@ export type UserUncheckedUpdateWithoutSoldContractsInput = {
3281
4069
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3282
4070
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
3283
4071
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
4072
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4073
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3284
4074
  };
3285
4075
  export type UserCreateWithoutAssignedStepsInput = {
3286
4076
  id?: string;
@@ -3324,6 +4114,9 @@ export type UserCreateWithoutAssignedStepsInput = {
3324
4114
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
3325
4115
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
3326
4116
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
4117
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
4118
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
4119
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
3327
4120
  };
3328
4121
  export type UserUncheckedCreateWithoutAssignedStepsInput = {
3329
4122
  id?: string;
@@ -3367,6 +4160,9 @@ export type UserUncheckedCreateWithoutAssignedStepsInput = {
3367
4160
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3368
4161
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
3369
4162
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
4163
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4164
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4165
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3370
4166
  };
3371
4167
  export type UserCreateOrConnectWithoutAssignedStepsInput = {
3372
4168
  where: Prisma.UserWhereUniqueInput;
@@ -3423,6 +4219,9 @@ export type UserUpdateWithoutAssignedStepsInput = {
3423
4219
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
3424
4220
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
3425
4221
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
4222
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
4223
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
4224
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
3426
4225
  };
3427
4226
  export type UserUncheckedUpdateWithoutAssignedStepsInput = {
3428
4227
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3466,6 +4265,9 @@ export type UserUncheckedUpdateWithoutAssignedStepsInput = {
3466
4265
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3467
4266
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
3468
4267
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
4268
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4269
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4270
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3469
4271
  };
3470
4272
  export type UserCreateWithoutStepApprovalsInput = {
3471
4273
  id?: string;
@@ -3509,6 +4311,9 @@ export type UserCreateWithoutStepApprovalsInput = {
3509
4311
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
3510
4312
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
3511
4313
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
4314
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
4315
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
4316
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
3512
4317
  };
3513
4318
  export type UserUncheckedCreateWithoutStepApprovalsInput = {
3514
4319
  id?: string;
@@ -3552,6 +4357,9 @@ export type UserUncheckedCreateWithoutStepApprovalsInput = {
3552
4357
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3553
4358
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
3554
4359
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
4360
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4361
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4362
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3555
4363
  };
3556
4364
  export type UserCreateOrConnectWithoutStepApprovalsInput = {
3557
4365
  where: Prisma.UserWhereUniqueInput;
@@ -3608,6 +4416,9 @@ export type UserUpdateWithoutStepApprovalsInput = {
3608
4416
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
3609
4417
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
3610
4418
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
4419
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
4420
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
4421
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
3611
4422
  };
3612
4423
  export type UserUncheckedUpdateWithoutStepApprovalsInput = {
3613
4424
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3651,6 +4462,9 @@ export type UserUncheckedUpdateWithoutStepApprovalsInput = {
3651
4462
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3652
4463
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
3653
4464
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
4465
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4466
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4467
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3654
4468
  };
3655
4469
  export type UserCreateWithoutContractPaymentsInput = {
3656
4470
  id?: string;
@@ -3694,6 +4508,9 @@ export type UserCreateWithoutContractPaymentsInput = {
3694
4508
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
3695
4509
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
3696
4510
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
4511
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
4512
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
4513
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
3697
4514
  };
3698
4515
  export type UserUncheckedCreateWithoutContractPaymentsInput = {
3699
4516
  id?: string;
@@ -3737,6 +4554,9 @@ export type UserUncheckedCreateWithoutContractPaymentsInput = {
3737
4554
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3738
4555
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
3739
4556
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
4557
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4558
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4559
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3740
4560
  };
3741
4561
  export type UserCreateOrConnectWithoutContractPaymentsInput = {
3742
4562
  where: Prisma.UserWhereUniqueInput;
@@ -3793,6 +4613,9 @@ export type UserUpdateWithoutContractPaymentsInput = {
3793
4613
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
3794
4614
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
3795
4615
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
4616
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
4617
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
4618
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
3796
4619
  };
3797
4620
  export type UserUncheckedUpdateWithoutContractPaymentsInput = {
3798
4621
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3836,6 +4659,9 @@ export type UserUncheckedUpdateWithoutContractPaymentsInput = {
3836
4659
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
3837
4660
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
3838
4661
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
4662
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4663
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4664
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3839
4665
  };
3840
4666
  export type UserCreateWithoutUploadedDocsInput = {
3841
4667
  id?: string;
@@ -3879,6 +4705,9 @@ export type UserCreateWithoutUploadedDocsInput = {
3879
4705
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
3880
4706
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
3881
4707
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
4708
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
4709
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
4710
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
3882
4711
  };
3883
4712
  export type UserUncheckedCreateWithoutUploadedDocsInput = {
3884
4713
  id?: string;
@@ -3922,6 +4751,9 @@ export type UserUncheckedCreateWithoutUploadedDocsInput = {
3922
4751
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
3923
4752
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
3924
4753
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
4754
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4755
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4756
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3925
4757
  };
3926
4758
  export type UserCreateOrConnectWithoutUploadedDocsInput = {
3927
4759
  where: Prisma.UserWhereUniqueInput;
@@ -3978,6 +4810,9 @@ export type UserUpdateWithoutUploadedDocsInput = {
3978
4810
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
3979
4811
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
3980
4812
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
4813
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
4814
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
4815
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
3981
4816
  };
3982
4817
  export type UserUncheckedUpdateWithoutUploadedDocsInput = {
3983
4818
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4021,6 +4856,9 @@ export type UserUncheckedUpdateWithoutUploadedDocsInput = {
4021
4856
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
4022
4857
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
4023
4858
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
4859
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4860
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4861
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4024
4862
  };
4025
4863
  export type UserCreateWithoutOfferLettersGeneratedInput = {
4026
4864
  id?: string;
@@ -4064,6 +4902,9 @@ export type UserCreateWithoutOfferLettersGeneratedInput = {
4064
4902
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
4065
4903
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
4066
4904
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
4905
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
4906
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
4907
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
4067
4908
  };
4068
4909
  export type UserUncheckedCreateWithoutOfferLettersGeneratedInput = {
4069
4910
  id?: string;
@@ -4107,6 +4948,9 @@ export type UserUncheckedCreateWithoutOfferLettersGeneratedInput = {
4107
4948
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
4108
4949
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
4109
4950
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
4951
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4952
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4953
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4110
4954
  };
4111
4955
  export type UserCreateOrConnectWithoutOfferLettersGeneratedInput = {
4112
4956
  where: Prisma.UserWhereUniqueInput;
@@ -4154,6 +4998,9 @@ export type UserCreateWithoutOfferLettersSentInput = {
4154
4998
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
4155
4999
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
4156
5000
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
5001
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
5002
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
5003
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
4157
5004
  };
4158
5005
  export type UserUncheckedCreateWithoutOfferLettersSentInput = {
4159
5006
  id?: string;
@@ -4197,6 +5044,9 @@ export type UserUncheckedCreateWithoutOfferLettersSentInput = {
4197
5044
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
4198
5045
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
4199
5046
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
5047
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5048
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5049
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4200
5050
  };
4201
5051
  export type UserCreateOrConnectWithoutOfferLettersSentInput = {
4202
5052
  where: Prisma.UserWhereUniqueInput;
@@ -4253,6 +5103,9 @@ export type UserUpdateWithoutOfferLettersGeneratedInput = {
4253
5103
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
4254
5104
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
4255
5105
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
5106
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
5107
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
5108
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
4256
5109
  };
4257
5110
  export type UserUncheckedUpdateWithoutOfferLettersGeneratedInput = {
4258
5111
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4296,6 +5149,9 @@ export type UserUncheckedUpdateWithoutOfferLettersGeneratedInput = {
4296
5149
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
4297
5150
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
4298
5151
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
5152
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
5153
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5154
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4299
5155
  };
4300
5156
  export type UserUpsertWithoutOfferLettersSentInput = {
4301
5157
  update: Prisma.XOR<Prisma.UserUpdateWithoutOfferLettersSentInput, Prisma.UserUncheckedUpdateWithoutOfferLettersSentInput>;
@@ -4348,6 +5204,9 @@ export type UserUpdateWithoutOfferLettersSentInput = {
4348
5204
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
4349
5205
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
4350
5206
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
5207
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
5208
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
5209
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
4351
5210
  };
4352
5211
  export type UserUncheckedUpdateWithoutOfferLettersSentInput = {
4353
5212
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4391,6 +5250,9 @@ export type UserUncheckedUpdateWithoutOfferLettersSentInput = {
4391
5250
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
4392
5251
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
4393
5252
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
5253
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
5254
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5255
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4394
5256
  };
4395
5257
  export type UserCreateWithoutInitiatedTerminationsInput = {
4396
5258
  id?: string;
@@ -4434,6 +5296,9 @@ export type UserCreateWithoutInitiatedTerminationsInput = {
4434
5296
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
4435
5297
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
4436
5298
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
5299
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
5300
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
5301
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
4437
5302
  };
4438
5303
  export type UserUncheckedCreateWithoutInitiatedTerminationsInput = {
4439
5304
  id?: string;
@@ -4477,6 +5342,9 @@ export type UserUncheckedCreateWithoutInitiatedTerminationsInput = {
4477
5342
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
4478
5343
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
4479
5344
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
5345
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5346
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5347
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4480
5348
  };
4481
5349
  export type UserCreateOrConnectWithoutInitiatedTerminationsInput = {
4482
5350
  where: Prisma.UserWhereUniqueInput;
@@ -4524,6 +5392,9 @@ export type UserCreateWithoutReviewedTerminationsInput = {
4524
5392
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
4525
5393
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
4526
5394
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
5395
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
5396
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
5397
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
4527
5398
  };
4528
5399
  export type UserUncheckedCreateWithoutReviewedTerminationsInput = {
4529
5400
  id?: string;
@@ -4567,6 +5438,9 @@ export type UserUncheckedCreateWithoutReviewedTerminationsInput = {
4567
5438
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
4568
5439
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
4569
5440
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
5441
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5442
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5443
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4570
5444
  };
4571
5445
  export type UserCreateOrConnectWithoutReviewedTerminationsInput = {
4572
5446
  where: Prisma.UserWhereUniqueInput;
@@ -4623,6 +5497,9 @@ export type UserUpdateWithoutInitiatedTerminationsInput = {
4623
5497
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
4624
5498
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
4625
5499
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
5500
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
5501
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
5502
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
4626
5503
  };
4627
5504
  export type UserUncheckedUpdateWithoutInitiatedTerminationsInput = {
4628
5505
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4666,6 +5543,9 @@ export type UserUncheckedUpdateWithoutInitiatedTerminationsInput = {
4666
5543
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
4667
5544
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
4668
5545
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
5546
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
5547
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5548
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4669
5549
  };
4670
5550
  export type UserUpsertWithoutReviewedTerminationsInput = {
4671
5551
  update: Prisma.XOR<Prisma.UserUpdateWithoutReviewedTerminationsInput, Prisma.UserUncheckedUpdateWithoutReviewedTerminationsInput>;
@@ -4718,6 +5598,9 @@ export type UserUpdateWithoutReviewedTerminationsInput = {
4718
5598
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
4719
5599
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
4720
5600
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
5601
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
5602
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
5603
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
4721
5604
  };
4722
5605
  export type UserUncheckedUpdateWithoutReviewedTerminationsInput = {
4723
5606
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4761,6 +5644,9 @@ export type UserUncheckedUpdateWithoutReviewedTerminationsInput = {
4761
5644
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
4762
5645
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
4763
5646
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
5647
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
5648
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5649
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4764
5650
  };
4765
5651
  export type UserCreateWithoutPaymentMethodChangeRequestsInput = {
4766
5652
  id?: string;
@@ -4804,6 +5690,9 @@ export type UserCreateWithoutPaymentMethodChangeRequestsInput = {
4804
5690
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
4805
5691
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
4806
5692
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
5693
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
5694
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
5695
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
4807
5696
  };
4808
5697
  export type UserUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
4809
5698
  id?: string;
@@ -4847,6 +5736,9 @@ export type UserUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
4847
5736
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
4848
5737
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
4849
5738
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
5739
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5740
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5741
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4850
5742
  };
4851
5743
  export type UserCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
4852
5744
  where: Prisma.UserWhereUniqueInput;
@@ -4894,6 +5786,9 @@ export type UserCreateWithoutReviewedChangeRequestsInput = {
4894
5786
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
4895
5787
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
4896
5788
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
5789
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
5790
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
5791
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
4897
5792
  };
4898
5793
  export type UserUncheckedCreateWithoutReviewedChangeRequestsInput = {
4899
5794
  id?: string;
@@ -4937,6 +5832,9 @@ export type UserUncheckedCreateWithoutReviewedChangeRequestsInput = {
4937
5832
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
4938
5833
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
4939
5834
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
5835
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5836
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5837
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4940
5838
  };
4941
5839
  export type UserCreateOrConnectWithoutReviewedChangeRequestsInput = {
4942
5840
  where: Prisma.UserWhereUniqueInput;
@@ -4993,6 +5891,9 @@ export type UserUpdateWithoutPaymentMethodChangeRequestsInput = {
4993
5891
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
4994
5892
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
4995
5893
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
5894
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
5895
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
5896
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
4996
5897
  };
4997
5898
  export type UserUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
4998
5899
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5036,6 +5937,9 @@ export type UserUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
5036
5937
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
5037
5938
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
5038
5939
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
5940
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
5941
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5942
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5039
5943
  };
5040
5944
  export type UserUpsertWithoutReviewedChangeRequestsInput = {
5041
5945
  update: Prisma.XOR<Prisma.UserUpdateWithoutReviewedChangeRequestsInput, Prisma.UserUncheckedUpdateWithoutReviewedChangeRequestsInput>;
@@ -5088,6 +5992,9 @@ export type UserUpdateWithoutReviewedChangeRequestsInput = {
5088
5992
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
5089
5993
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
5090
5994
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
5995
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
5996
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
5997
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
5091
5998
  };
5092
5999
  export type UserUncheckedUpdateWithoutReviewedChangeRequestsInput = {
5093
6000
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5131,6 +6038,9 @@ export type UserUncheckedUpdateWithoutReviewedChangeRequestsInput = {
5131
6038
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
5132
6039
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
5133
6040
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
6041
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6042
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6043
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5134
6044
  };
5135
6045
  export type UserCreateWithoutTransferRequestsSubmittedInput = {
5136
6046
  id?: string;
@@ -5174,6 +6084,9 @@ export type UserCreateWithoutTransferRequestsSubmittedInput = {
5174
6084
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
5175
6085
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
5176
6086
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
6087
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
6088
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
6089
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
5177
6090
  };
5178
6091
  export type UserUncheckedCreateWithoutTransferRequestsSubmittedInput = {
5179
6092
  id?: string;
@@ -5217,6 +6130,9 @@ export type UserUncheckedCreateWithoutTransferRequestsSubmittedInput = {
5217
6130
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
5218
6131
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
5219
6132
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
6133
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6134
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6135
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5220
6136
  };
5221
6137
  export type UserCreateOrConnectWithoutTransferRequestsSubmittedInput = {
5222
6138
  where: Prisma.UserWhereUniqueInput;
@@ -5264,6 +6180,9 @@ export type UserCreateWithoutTransferRequestsReviewedInput = {
5264
6180
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
5265
6181
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
5266
6182
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
6183
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
6184
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
6185
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
5267
6186
  };
5268
6187
  export type UserUncheckedCreateWithoutTransferRequestsReviewedInput = {
5269
6188
  id?: string;
@@ -5307,6 +6226,9 @@ export type UserUncheckedCreateWithoutTransferRequestsReviewedInput = {
5307
6226
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
5308
6227
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
5309
6228
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
6229
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6230
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6231
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5310
6232
  };
5311
6233
  export type UserCreateOrConnectWithoutTransferRequestsReviewedInput = {
5312
6234
  where: Prisma.UserWhereUniqueInput;
@@ -5363,6 +6285,9 @@ export type UserUpdateWithoutTransferRequestsSubmittedInput = {
5363
6285
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
5364
6286
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
5365
6287
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
6288
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
6289
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
6290
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
5366
6291
  };
5367
6292
  export type UserUncheckedUpdateWithoutTransferRequestsSubmittedInput = {
5368
6293
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5406,6 +6331,9 @@ export type UserUncheckedUpdateWithoutTransferRequestsSubmittedInput = {
5406
6331
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
5407
6332
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
5408
6333
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
6334
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6335
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6336
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5409
6337
  };
5410
6338
  export type UserUpsertWithoutTransferRequestsReviewedInput = {
5411
6339
  update: Prisma.XOR<Prisma.UserUpdateWithoutTransferRequestsReviewedInput, Prisma.UserUncheckedUpdateWithoutTransferRequestsReviewedInput>;
@@ -5458,6 +6386,9 @@ export type UserUpdateWithoutTransferRequestsReviewedInput = {
5458
6386
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
5459
6387
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
5460
6388
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
6389
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
6390
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
6391
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
5461
6392
  };
5462
6393
  export type UserUncheckedUpdateWithoutTransferRequestsReviewedInput = {
5463
6394
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5501,6 +6432,9 @@ export type UserUncheckedUpdateWithoutTransferRequestsReviewedInput = {
5501
6432
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
5502
6433
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
5503
6434
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
6435
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6436
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6437
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5504
6438
  };
5505
6439
  export type UserCreateWithoutApprovalRequestsSubmittedInput = {
5506
6440
  id?: string;
@@ -5544,6 +6478,9 @@ export type UserCreateWithoutApprovalRequestsSubmittedInput = {
5544
6478
  transferRequestsReviewed?: Prisma.PropertyTransferRequestCreateNestedManyWithoutReviewedByInput;
5545
6479
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
5546
6480
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
6481
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
6482
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
6483
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
5547
6484
  };
5548
6485
  export type UserUncheckedCreateWithoutApprovalRequestsSubmittedInput = {
5549
6486
  id?: string;
@@ -5587,6 +6524,9 @@ export type UserUncheckedCreateWithoutApprovalRequestsSubmittedInput = {
5587
6524
  transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutReviewedByInput;
5588
6525
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
5589
6526
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
6527
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6528
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6529
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5590
6530
  };
5591
6531
  export type UserCreateOrConnectWithoutApprovalRequestsSubmittedInput = {
5592
6532
  where: Prisma.UserWhereUniqueInput;
@@ -5634,6 +6574,9 @@ export type UserCreateWithoutApprovalRequestsAssignedInput = {
5634
6574
  transferRequestsReviewed?: Prisma.PropertyTransferRequestCreateNestedManyWithoutReviewedByInput;
5635
6575
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
5636
6576
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
6577
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
6578
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
6579
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
5637
6580
  };
5638
6581
  export type UserUncheckedCreateWithoutApprovalRequestsAssignedInput = {
5639
6582
  id?: string;
@@ -5677,6 +6620,9 @@ export type UserUncheckedCreateWithoutApprovalRequestsAssignedInput = {
5677
6620
  transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutReviewedByInput;
5678
6621
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
5679
6622
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
6623
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6624
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6625
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5680
6626
  };
5681
6627
  export type UserCreateOrConnectWithoutApprovalRequestsAssignedInput = {
5682
6628
  where: Prisma.UserWhereUniqueInput;
@@ -5724,6 +6670,9 @@ export type UserCreateWithoutApprovalRequestsReviewedInput = {
5724
6670
  transferRequestsReviewed?: Prisma.PropertyTransferRequestCreateNestedManyWithoutReviewedByInput;
5725
6671
  approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
5726
6672
  approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
6673
+ requestedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutRequestedByInput;
6674
+ approvedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutApprovedByInput;
6675
+ processedRefunds?: Prisma.ContractRefundCreateNestedManyWithoutProcessedByInput;
5727
6676
  };
5728
6677
  export type UserUncheckedCreateWithoutApprovalRequestsReviewedInput = {
5729
6678
  id?: string;
@@ -5767,6 +6716,9 @@ export type UserUncheckedCreateWithoutApprovalRequestsReviewedInput = {
5767
6716
  transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutReviewedByInput;
5768
6717
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
5769
6718
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
6719
+ requestedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6720
+ approvedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6721
+ processedRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5770
6722
  };
5771
6723
  export type UserCreateOrConnectWithoutApprovalRequestsReviewedInput = {
5772
6724
  where: Prisma.UserWhereUniqueInput;
@@ -5823,6 +6775,9 @@ export type UserUpdateWithoutApprovalRequestsSubmittedInput = {
5823
6775
  transferRequestsReviewed?: Prisma.PropertyTransferRequestUpdateManyWithoutReviewedByNestedInput;
5824
6776
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
5825
6777
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
6778
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
6779
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
6780
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
5826
6781
  };
5827
6782
  export type UserUncheckedUpdateWithoutApprovalRequestsSubmittedInput = {
5828
6783
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5866,6 +6821,9 @@ export type UserUncheckedUpdateWithoutApprovalRequestsSubmittedInput = {
5866
6821
  transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
5867
6822
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
5868
6823
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
6824
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6825
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6826
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5869
6827
  };
5870
6828
  export type UserUpsertWithoutApprovalRequestsAssignedInput = {
5871
6829
  update: Prisma.XOR<Prisma.UserUpdateWithoutApprovalRequestsAssignedInput, Prisma.UserUncheckedUpdateWithoutApprovalRequestsAssignedInput>;
@@ -5918,6 +6876,9 @@ export type UserUpdateWithoutApprovalRequestsAssignedInput = {
5918
6876
  transferRequestsReviewed?: Prisma.PropertyTransferRequestUpdateManyWithoutReviewedByNestedInput;
5919
6877
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
5920
6878
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
6879
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
6880
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
6881
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
5921
6882
  };
5922
6883
  export type UserUncheckedUpdateWithoutApprovalRequestsAssignedInput = {
5923
6884
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5961,6 +6922,9 @@ export type UserUncheckedUpdateWithoutApprovalRequestsAssignedInput = {
5961
6922
  transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
5962
6923
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
5963
6924
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
6925
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6926
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6927
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5964
6928
  };
5965
6929
  export type UserUpsertWithoutApprovalRequestsReviewedInput = {
5966
6930
  update: Prisma.XOR<Prisma.UserUpdateWithoutApprovalRequestsReviewedInput, Prisma.UserUncheckedUpdateWithoutApprovalRequestsReviewedInput>;
@@ -6013,6 +6977,9 @@ export type UserUpdateWithoutApprovalRequestsReviewedInput = {
6013
6977
  transferRequestsReviewed?: Prisma.PropertyTransferRequestUpdateManyWithoutReviewedByNestedInput;
6014
6978
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
6015
6979
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
6980
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
6981
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
6982
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
6016
6983
  };
6017
6984
  export type UserUncheckedUpdateWithoutApprovalRequestsReviewedInput = {
6018
6985
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -6056,6 +7023,9 @@ export type UserUncheckedUpdateWithoutApprovalRequestsReviewedInput = {
6056
7023
  transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
6057
7024
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
6058
7025
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
7026
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
7027
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7028
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6059
7029
  };
6060
7030
  export type UserCreateManyTenantInput = {
6061
7031
  id?: string;
@@ -6117,6 +7087,9 @@ export type UserUpdateWithoutTenantInput = {
6117
7087
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
6118
7088
  approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
6119
7089
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
7090
+ requestedRefunds?: Prisma.ContractRefundUpdateManyWithoutRequestedByNestedInput;
7091
+ approvedRefunds?: Prisma.ContractRefundUpdateManyWithoutApprovedByNestedInput;
7092
+ processedRefunds?: Prisma.ContractRefundUpdateManyWithoutProcessedByNestedInput;
6120
7093
  };
6121
7094
  export type UserUncheckedUpdateWithoutTenantInput = {
6122
7095
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -6160,6 +7133,9 @@ export type UserUncheckedUpdateWithoutTenantInput = {
6160
7133
  approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
6161
7134
  approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
6162
7135
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
7136
+ requestedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
7137
+ approvedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7138
+ processedRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6163
7139
  };
6164
7140
  export type UserUncheckedUpdateManyWithoutTenantInput = {
6165
7141
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -6208,6 +7184,9 @@ export type UserCountOutputType = {
6208
7184
  approvalRequestsSubmitted: number;
6209
7185
  approvalRequestsAssigned: number;
6210
7186
  approvalRequestsReviewed: number;
7187
+ requestedRefunds: number;
7188
+ approvedRefunds: number;
7189
+ processedRefunds: number;
6211
7190
  };
6212
7191
  export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
6213
7192
  userRoles?: boolean | UserCountOutputTypeCountUserRolesArgs;
@@ -6235,6 +7214,9 @@ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
6235
7214
  approvalRequestsSubmitted?: boolean | UserCountOutputTypeCountApprovalRequestsSubmittedArgs;
6236
7215
  approvalRequestsAssigned?: boolean | UserCountOutputTypeCountApprovalRequestsAssignedArgs;
6237
7216
  approvalRequestsReviewed?: boolean | UserCountOutputTypeCountApprovalRequestsReviewedArgs;
7217
+ requestedRefunds?: boolean | UserCountOutputTypeCountRequestedRefundsArgs;
7218
+ approvedRefunds?: boolean | UserCountOutputTypeCountApprovedRefundsArgs;
7219
+ processedRefunds?: boolean | UserCountOutputTypeCountProcessedRefundsArgs;
6238
7220
  };
6239
7221
  /**
6240
7222
  * UserCountOutputType without action
@@ -6395,6 +7377,24 @@ export type UserCountOutputTypeCountApprovalRequestsAssignedArgs<ExtArgs extends
6395
7377
  export type UserCountOutputTypeCountApprovalRequestsReviewedArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
6396
7378
  where?: Prisma.ApprovalRequestWhereInput;
6397
7379
  };
7380
+ /**
7381
+ * UserCountOutputType without action
7382
+ */
7383
+ export type UserCountOutputTypeCountRequestedRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
7384
+ where?: Prisma.ContractRefundWhereInput;
7385
+ };
7386
+ /**
7387
+ * UserCountOutputType without action
7388
+ */
7389
+ export type UserCountOutputTypeCountApprovedRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
7390
+ where?: Prisma.ContractRefundWhereInput;
7391
+ };
7392
+ /**
7393
+ * UserCountOutputType without action
7394
+ */
7395
+ export type UserCountOutputTypeCountProcessedRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
7396
+ where?: Prisma.ContractRefundWhereInput;
7397
+ };
6398
7398
  export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
6399
7399
  id?: boolean;
6400
7400
  email?: boolean;
@@ -6440,6 +7440,9 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
6440
7440
  approvalRequestsSubmitted?: boolean | Prisma.User$approvalRequestsSubmittedArgs<ExtArgs>;
6441
7441
  approvalRequestsAssigned?: boolean | Prisma.User$approvalRequestsAssignedArgs<ExtArgs>;
6442
7442
  approvalRequestsReviewed?: boolean | Prisma.User$approvalRequestsReviewedArgs<ExtArgs>;
7443
+ requestedRefunds?: boolean | Prisma.User$requestedRefundsArgs<ExtArgs>;
7444
+ approvedRefunds?: boolean | Prisma.User$approvedRefundsArgs<ExtArgs>;
7445
+ processedRefunds?: boolean | Prisma.User$processedRefundsArgs<ExtArgs>;
6443
7446
  _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>;
6444
7447
  }, ExtArgs["result"]["user"]>;
6445
7448
  export type UserSelectScalar = {
@@ -6490,6 +7493,9 @@ export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
6490
7493
  approvalRequestsSubmitted?: boolean | Prisma.User$approvalRequestsSubmittedArgs<ExtArgs>;
6491
7494
  approvalRequestsAssigned?: boolean | Prisma.User$approvalRequestsAssignedArgs<ExtArgs>;
6492
7495
  approvalRequestsReviewed?: boolean | Prisma.User$approvalRequestsReviewedArgs<ExtArgs>;
7496
+ requestedRefunds?: boolean | Prisma.User$requestedRefundsArgs<ExtArgs>;
7497
+ approvedRefunds?: boolean | Prisma.User$approvedRefundsArgs<ExtArgs>;
7498
+ processedRefunds?: boolean | Prisma.User$processedRefundsArgs<ExtArgs>;
6493
7499
  _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>;
6494
7500
  };
6495
7501
  export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -6522,6 +7528,9 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
6522
7528
  approvalRequestsSubmitted: Prisma.$ApprovalRequestPayload<ExtArgs>[];
6523
7529
  approvalRequestsAssigned: Prisma.$ApprovalRequestPayload<ExtArgs>[];
6524
7530
  approvalRequestsReviewed: Prisma.$ApprovalRequestPayload<ExtArgs>[];
7531
+ requestedRefunds: Prisma.$ContractRefundPayload<ExtArgs>[];
7532
+ approvedRefunds: Prisma.$ContractRefundPayload<ExtArgs>[];
7533
+ processedRefunds: Prisma.$ContractRefundPayload<ExtArgs>[];
6525
7534
  };
6526
7535
  scalars: runtime.Types.Extensions.GetPayloadResult<{
6527
7536
  id: string;
@@ -6845,6 +7854,9 @@ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Typ
6845
7854
  approvalRequestsSubmitted<T extends Prisma.User$approvalRequestsSubmittedArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$approvalRequestsSubmittedArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
6846
7855
  approvalRequestsAssigned<T extends Prisma.User$approvalRequestsAssignedArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$approvalRequestsAssignedArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
6847
7856
  approvalRequestsReviewed<T extends Prisma.User$approvalRequestsReviewedArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$approvalRequestsReviewedArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
7857
+ requestedRefunds<T extends Prisma.User$requestedRefundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$requestedRefundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
7858
+ approvedRefunds<T extends Prisma.User$approvedRefundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$approvedRefundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
7859
+ processedRefunds<T extends Prisma.User$processedRefundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$processedRefundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
6848
7860
  /**
6849
7861
  * Attaches callbacks for the resolution and/or rejection of the Promise.
6850
7862
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -7825,6 +8837,75 @@ export type User$approvalRequestsReviewedArgs<ExtArgs extends runtime.Types.Exte
7825
8837
  skip?: number;
7826
8838
  distinct?: Prisma.ApprovalRequestScalarFieldEnum | Prisma.ApprovalRequestScalarFieldEnum[];
7827
8839
  };
8840
+ /**
8841
+ * User.requestedRefunds
8842
+ */
8843
+ export type User$requestedRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
8844
+ /**
8845
+ * Select specific fields to fetch from the ContractRefund
8846
+ */
8847
+ select?: Prisma.ContractRefundSelect<ExtArgs> | null;
8848
+ /**
8849
+ * Omit specific fields from the ContractRefund
8850
+ */
8851
+ omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
8852
+ /**
8853
+ * Choose, which related nodes to fetch as well
8854
+ */
8855
+ include?: Prisma.ContractRefundInclude<ExtArgs> | null;
8856
+ where?: Prisma.ContractRefundWhereInput;
8857
+ orderBy?: Prisma.ContractRefundOrderByWithRelationInput | Prisma.ContractRefundOrderByWithRelationInput[];
8858
+ cursor?: Prisma.ContractRefundWhereUniqueInput;
8859
+ take?: number;
8860
+ skip?: number;
8861
+ distinct?: Prisma.ContractRefundScalarFieldEnum | Prisma.ContractRefundScalarFieldEnum[];
8862
+ };
8863
+ /**
8864
+ * User.approvedRefunds
8865
+ */
8866
+ export type User$approvedRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
8867
+ /**
8868
+ * Select specific fields to fetch from the ContractRefund
8869
+ */
8870
+ select?: Prisma.ContractRefundSelect<ExtArgs> | null;
8871
+ /**
8872
+ * Omit specific fields from the ContractRefund
8873
+ */
8874
+ omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
8875
+ /**
8876
+ * Choose, which related nodes to fetch as well
8877
+ */
8878
+ include?: Prisma.ContractRefundInclude<ExtArgs> | null;
8879
+ where?: Prisma.ContractRefundWhereInput;
8880
+ orderBy?: Prisma.ContractRefundOrderByWithRelationInput | Prisma.ContractRefundOrderByWithRelationInput[];
8881
+ cursor?: Prisma.ContractRefundWhereUniqueInput;
8882
+ take?: number;
8883
+ skip?: number;
8884
+ distinct?: Prisma.ContractRefundScalarFieldEnum | Prisma.ContractRefundScalarFieldEnum[];
8885
+ };
8886
+ /**
8887
+ * User.processedRefunds
8888
+ */
8889
+ export type User$processedRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
8890
+ /**
8891
+ * Select specific fields to fetch from the ContractRefund
8892
+ */
8893
+ select?: Prisma.ContractRefundSelect<ExtArgs> | null;
8894
+ /**
8895
+ * Omit specific fields from the ContractRefund
8896
+ */
8897
+ omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
8898
+ /**
8899
+ * Choose, which related nodes to fetch as well
8900
+ */
8901
+ include?: Prisma.ContractRefundInclude<ExtArgs> | null;
8902
+ where?: Prisma.ContractRefundWhereInput;
8903
+ orderBy?: Prisma.ContractRefundOrderByWithRelationInput | Prisma.ContractRefundOrderByWithRelationInput[];
8904
+ cursor?: Prisma.ContractRefundWhereUniqueInput;
8905
+ take?: number;
8906
+ skip?: number;
8907
+ distinct?: Prisma.ContractRefundScalarFieldEnum | Prisma.ContractRefundScalarFieldEnum[];
8908
+ };
7828
8909
  /**
7829
8910
  * User without action
7830
8911
  */