@valentine-efagene/qshelter-common 2.0.138 → 2.0.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/generated/client/browser.d.ts +20 -0
  2. package/dist/generated/client/client.d.ts +20 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +120 -30
  4. package/dist/generated/client/enums.d.ts +23 -0
  5. package/dist/generated/client/enums.js +21 -1
  6. package/dist/generated/client/internal/class.d.ts +44 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +401 -5
  9. package/dist/generated/client/internal/prismaNamespace.js +108 -0
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +116 -0
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +108 -0
  12. package/dist/generated/client/models/ApplicationDocument.d.ts +290 -1
  13. package/dist/generated/client/models/ApprovalStage.d.ts +1605 -0
  14. package/dist/generated/client/models/ApprovalStage.js +1 -0
  15. package/dist/generated/client/models/ApprovalStageProgress.d.ts +2329 -0
  16. package/dist/generated/client/models/ApprovalStageProgress.js +1 -0
  17. package/dist/generated/client/models/DocumentApproval.d.ts +1611 -0
  18. package/dist/generated/client/models/DocumentApproval.js +1 -0
  19. package/dist/generated/client/models/DocumentDefinition.d.ts +1475 -0
  20. package/dist/generated/client/models/DocumentDefinition.js +1 -0
  21. package/dist/generated/client/models/DocumentReview.d.ts +0 -3
  22. package/dist/generated/client/models/DocumentationPhase.d.ts +167 -0
  23. package/dist/generated/client/models/DocumentationPlan.d.ts +270 -0
  24. package/dist/generated/client/models/Tenant.d.ts +1281 -131
  25. package/dist/generated/client/models/User.d.ts +824 -0
  26. package/dist/generated/client/models/index.d.ts +4 -0
  27. package/dist/generated/client/models/index.js +4 -0
  28. package/dist/generated/client/models.d.ts +4 -0
  29. package/dist/src/utils/documentation-enums.d.ts +10 -1
  30. package/dist/src/utils/documentation-enums.js +8 -0
  31. package/package.json +1 -1
  32. package/prisma/migrations/20260119190336_add_document_approval_workflow/migration.sql +134 -0
  33. package/prisma/schema.prisma +244 -5
@@ -267,6 +267,8 @@ export type UserWhereInput = {
267
267
  approvedRefunds?: Prisma.ApplicationRefundListRelationFilter;
268
268
  processedRefunds?: Prisma.ApplicationRefundListRelationFilter;
269
269
  documentReviews?: Prisma.DocumentReviewListRelationFilter;
270
+ documentApprovals?: Prisma.DocumentApprovalListRelationFilter;
271
+ completedStages?: Prisma.ApprovalStageProgressListRelationFilter;
270
272
  organizationMemberships?: Prisma.OrganizationMemberListRelationFilter;
271
273
  };
272
274
  export type UserOrderByWithRelationInput = {
@@ -320,6 +322,8 @@ export type UserOrderByWithRelationInput = {
320
322
  approvedRefunds?: Prisma.ApplicationRefundOrderByRelationAggregateInput;
321
323
  processedRefunds?: Prisma.ApplicationRefundOrderByRelationAggregateInput;
322
324
  documentReviews?: Prisma.DocumentReviewOrderByRelationAggregateInput;
325
+ documentApprovals?: Prisma.DocumentApprovalOrderByRelationAggregateInput;
326
+ completedStages?: Prisma.ApprovalStageProgressOrderByRelationAggregateInput;
323
327
  organizationMemberships?: Prisma.OrganizationMemberOrderByRelationAggregateInput;
324
328
  _relevance?: Prisma.UserOrderByRelevanceInput;
325
329
  };
@@ -377,6 +381,8 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
377
381
  approvedRefunds?: Prisma.ApplicationRefundListRelationFilter;
378
382
  processedRefunds?: Prisma.ApplicationRefundListRelationFilter;
379
383
  documentReviews?: Prisma.DocumentReviewListRelationFilter;
384
+ documentApprovals?: Prisma.DocumentApprovalListRelationFilter;
385
+ completedStages?: Prisma.ApprovalStageProgressListRelationFilter;
380
386
  organizationMemberships?: Prisma.OrganizationMemberListRelationFilter;
381
387
  }, "id" | "email" | "phone" | "walletId">;
382
388
  export type UserOrderByWithAggregationInput = {
@@ -472,6 +478,8 @@ export type UserCreateInput = {
472
478
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
473
479
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
474
480
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
481
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
482
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
475
483
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
476
484
  };
477
485
  export type UserUncheckedCreateInput = {
@@ -523,6 +531,8 @@ export type UserUncheckedCreateInput = {
523
531
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
524
532
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
525
533
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
534
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
535
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
526
536
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
527
537
  };
528
538
  export type UserUpdateInput = {
@@ -574,6 +584,8 @@ export type UserUpdateInput = {
574
584
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
575
585
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
576
586
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
587
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
588
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
577
589
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
578
590
  };
579
591
  export type UserUncheckedUpdateInput = {
@@ -625,6 +637,8 @@ export type UserUncheckedUpdateInput = {
625
637
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
626
638
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
627
639
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
640
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
641
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
628
642
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
629
643
  };
630
644
  export type UserCreateManyInput = {
@@ -1111,6 +1125,32 @@ export type UserUpdateOneWithoutDocumentReviewsNestedInput = {
1111
1125
  connect?: Prisma.UserWhereUniqueInput;
1112
1126
  update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutDocumentReviewsInput, Prisma.UserUpdateWithoutDocumentReviewsInput>, Prisma.UserUncheckedUpdateWithoutDocumentReviewsInput>;
1113
1127
  };
1128
+ export type UserCreateNestedOneWithoutCompletedStagesInput = {
1129
+ create?: Prisma.XOR<Prisma.UserCreateWithoutCompletedStagesInput, Prisma.UserUncheckedCreateWithoutCompletedStagesInput>;
1130
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutCompletedStagesInput;
1131
+ connect?: Prisma.UserWhereUniqueInput;
1132
+ };
1133
+ export type UserUpdateOneWithoutCompletedStagesNestedInput = {
1134
+ create?: Prisma.XOR<Prisma.UserCreateWithoutCompletedStagesInput, Prisma.UserUncheckedCreateWithoutCompletedStagesInput>;
1135
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutCompletedStagesInput;
1136
+ upsert?: Prisma.UserUpsertWithoutCompletedStagesInput;
1137
+ disconnect?: Prisma.UserWhereInput | boolean;
1138
+ delete?: Prisma.UserWhereInput | boolean;
1139
+ connect?: Prisma.UserWhereUniqueInput;
1140
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutCompletedStagesInput, Prisma.UserUpdateWithoutCompletedStagesInput>, Prisma.UserUncheckedUpdateWithoutCompletedStagesInput>;
1141
+ };
1142
+ export type UserCreateNestedOneWithoutDocumentApprovalsInput = {
1143
+ create?: Prisma.XOR<Prisma.UserCreateWithoutDocumentApprovalsInput, Prisma.UserUncheckedCreateWithoutDocumentApprovalsInput>;
1144
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutDocumentApprovalsInput;
1145
+ connect?: Prisma.UserWhereUniqueInput;
1146
+ };
1147
+ export type UserUpdateOneRequiredWithoutDocumentApprovalsNestedInput = {
1148
+ create?: Prisma.XOR<Prisma.UserCreateWithoutDocumentApprovalsInput, Prisma.UserUncheckedCreateWithoutDocumentApprovalsInput>;
1149
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutDocumentApprovalsInput;
1150
+ upsert?: Prisma.UserUpsertWithoutDocumentApprovalsInput;
1151
+ connect?: Prisma.UserWhereUniqueInput;
1152
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutDocumentApprovalsInput, Prisma.UserUpdateWithoutDocumentApprovalsInput>, Prisma.UserUncheckedUpdateWithoutDocumentApprovalsInput>;
1153
+ };
1114
1154
  export type UserCreateNestedOneWithoutOfferLettersGeneratedInput = {
1115
1155
  create?: Prisma.XOR<Prisma.UserCreateWithoutOfferLettersGeneratedInput, Prisma.UserUncheckedCreateWithoutOfferLettersGeneratedInput>;
1116
1156
  connectOrCreate?: Prisma.UserCreateOrConnectWithoutOfferLettersGeneratedInput;
@@ -1307,6 +1347,8 @@ export type UserCreateWithoutUserRolesInput = {
1307
1347
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
1308
1348
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
1309
1349
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
1350
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
1351
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
1310
1352
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
1311
1353
  };
1312
1354
  export type UserUncheckedCreateWithoutUserRolesInput = {
@@ -1357,6 +1399,8 @@ export type UserUncheckedCreateWithoutUserRolesInput = {
1357
1399
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1358
1400
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1359
1401
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
1402
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
1403
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
1360
1404
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
1361
1405
  };
1362
1406
  export type UserCreateOrConnectWithoutUserRolesInput = {
@@ -1420,6 +1464,8 @@ export type UserUpdateWithoutUserRolesInput = {
1420
1464
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
1421
1465
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
1422
1466
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
1467
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
1468
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
1423
1469
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
1424
1470
  };
1425
1471
  export type UserUncheckedUpdateWithoutUserRolesInput = {
@@ -1470,6 +1516,8 @@ export type UserUncheckedUpdateWithoutUserRolesInput = {
1470
1516
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
1471
1517
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
1472
1518
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
1519
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
1520
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
1473
1521
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
1474
1522
  };
1475
1523
  export type UserCreateWithoutTenantMembershipsInput = {
@@ -1520,6 +1568,8 @@ export type UserCreateWithoutTenantMembershipsInput = {
1520
1568
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
1521
1569
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
1522
1570
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
1571
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
1572
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
1523
1573
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
1524
1574
  };
1525
1575
  export type UserUncheckedCreateWithoutTenantMembershipsInput = {
@@ -1570,6 +1620,8 @@ export type UserUncheckedCreateWithoutTenantMembershipsInput = {
1570
1620
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1571
1621
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1572
1622
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
1623
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
1624
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
1573
1625
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
1574
1626
  };
1575
1627
  export type UserCreateOrConnectWithoutTenantMembershipsInput = {
@@ -1633,6 +1685,8 @@ export type UserUpdateWithoutTenantMembershipsInput = {
1633
1685
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
1634
1686
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
1635
1687
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
1688
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
1689
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
1636
1690
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
1637
1691
  };
1638
1692
  export type UserUncheckedUpdateWithoutTenantMembershipsInput = {
@@ -1683,6 +1737,8 @@ export type UserUncheckedUpdateWithoutTenantMembershipsInput = {
1683
1737
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
1684
1738
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
1685
1739
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
1740
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
1741
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
1686
1742
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
1687
1743
  };
1688
1744
  export type UserCreateWithoutOrganizationMembershipsInput = {
@@ -1734,6 +1790,8 @@ export type UserCreateWithoutOrganizationMembershipsInput = {
1734
1790
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
1735
1791
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
1736
1792
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
1793
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
1794
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
1737
1795
  };
1738
1796
  export type UserUncheckedCreateWithoutOrganizationMembershipsInput = {
1739
1797
  id?: string;
@@ -1784,6 +1842,8 @@ export type UserUncheckedCreateWithoutOrganizationMembershipsInput = {
1784
1842
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1785
1843
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1786
1844
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
1845
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
1846
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
1787
1847
  };
1788
1848
  export type UserCreateOrConnectWithoutOrganizationMembershipsInput = {
1789
1849
  where: Prisma.UserWhereUniqueInput;
@@ -1847,6 +1907,8 @@ export type UserUpdateWithoutOrganizationMembershipsInput = {
1847
1907
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
1848
1908
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
1849
1909
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
1910
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
1911
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
1850
1912
  };
1851
1913
  export type UserUncheckedUpdateWithoutOrganizationMembershipsInput = {
1852
1914
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1897,6 +1959,8 @@ export type UserUncheckedUpdateWithoutOrganizationMembershipsInput = {
1897
1959
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
1898
1960
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
1899
1961
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
1962
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
1963
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
1900
1964
  };
1901
1965
  export type UserCreateWithoutTenantInput = {
1902
1966
  id?: string;
@@ -1946,6 +2010,8 @@ export type UserCreateWithoutTenantInput = {
1946
2010
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
1947
2011
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
1948
2012
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
2013
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
2014
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
1949
2015
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
1950
2016
  };
1951
2017
  export type UserUncheckedCreateWithoutTenantInput = {
@@ -1996,6 +2062,8 @@ export type UserUncheckedCreateWithoutTenantInput = {
1996
2062
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1997
2063
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1998
2064
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
2065
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
2066
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
1999
2067
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2000
2068
  };
2001
2069
  export type UserCreateOrConnectWithoutTenantInput = {
@@ -2089,6 +2157,8 @@ export type UserCreateWithoutRefreshTokensInput = {
2089
2157
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
2090
2158
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
2091
2159
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
2160
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
2161
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
2092
2162
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
2093
2163
  };
2094
2164
  export type UserUncheckedCreateWithoutRefreshTokensInput = {
@@ -2139,6 +2209,8 @@ export type UserUncheckedCreateWithoutRefreshTokensInput = {
2139
2209
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2140
2210
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2141
2211
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
2212
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
2213
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
2142
2214
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2143
2215
  };
2144
2216
  export type UserCreateOrConnectWithoutRefreshTokensInput = {
@@ -2202,6 +2274,8 @@ export type UserUpdateWithoutRefreshTokensInput = {
2202
2274
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
2203
2275
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
2204
2276
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
2277
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
2278
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
2205
2279
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
2206
2280
  };
2207
2281
  export type UserUncheckedUpdateWithoutRefreshTokensInput = {
@@ -2252,6 +2326,8 @@ export type UserUncheckedUpdateWithoutRefreshTokensInput = {
2252
2326
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2253
2327
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2254
2328
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
2329
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
2330
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
2255
2331
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
2256
2332
  };
2257
2333
  export type UserCreateWithoutPasswordResetsInput = {
@@ -2302,6 +2378,8 @@ export type UserCreateWithoutPasswordResetsInput = {
2302
2378
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
2303
2379
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
2304
2380
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
2381
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
2382
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
2305
2383
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
2306
2384
  };
2307
2385
  export type UserUncheckedCreateWithoutPasswordResetsInput = {
@@ -2352,6 +2430,8 @@ export type UserUncheckedCreateWithoutPasswordResetsInput = {
2352
2430
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2353
2431
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2354
2432
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
2433
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
2434
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
2355
2435
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2356
2436
  };
2357
2437
  export type UserCreateOrConnectWithoutPasswordResetsInput = {
@@ -2415,6 +2495,8 @@ export type UserUpdateWithoutPasswordResetsInput = {
2415
2495
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
2416
2496
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
2417
2497
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
2498
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
2499
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
2418
2500
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
2419
2501
  };
2420
2502
  export type UserUncheckedUpdateWithoutPasswordResetsInput = {
@@ -2465,6 +2547,8 @@ export type UserUncheckedUpdateWithoutPasswordResetsInput = {
2465
2547
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2466
2548
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2467
2549
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
2550
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
2551
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
2468
2552
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
2469
2553
  };
2470
2554
  export type UserCreateWithoutSuspensionsInput = {
@@ -2515,6 +2599,8 @@ export type UserCreateWithoutSuspensionsInput = {
2515
2599
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
2516
2600
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
2517
2601
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
2602
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
2603
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
2518
2604
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
2519
2605
  };
2520
2606
  export type UserUncheckedCreateWithoutSuspensionsInput = {
@@ -2565,6 +2651,8 @@ export type UserUncheckedCreateWithoutSuspensionsInput = {
2565
2651
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2566
2652
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2567
2653
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
2654
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
2655
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
2568
2656
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2569
2657
  };
2570
2658
  export type UserCreateOrConnectWithoutSuspensionsInput = {
@@ -2628,6 +2716,8 @@ export type UserUpdateWithoutSuspensionsInput = {
2628
2716
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
2629
2717
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
2630
2718
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
2719
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
2720
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
2631
2721
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
2632
2722
  };
2633
2723
  export type UserUncheckedUpdateWithoutSuspensionsInput = {
@@ -2678,6 +2768,8 @@ export type UserUncheckedUpdateWithoutSuspensionsInput = {
2678
2768
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2679
2769
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2680
2770
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
2771
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
2772
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
2681
2773
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
2682
2774
  };
2683
2775
  export type UserCreateWithoutEmailPreferencesInput = {
@@ -2728,6 +2820,8 @@ export type UserCreateWithoutEmailPreferencesInput = {
2728
2820
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
2729
2821
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
2730
2822
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
2823
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
2824
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
2731
2825
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
2732
2826
  };
2733
2827
  export type UserUncheckedCreateWithoutEmailPreferencesInput = {
@@ -2778,6 +2872,8 @@ export type UserUncheckedCreateWithoutEmailPreferencesInput = {
2778
2872
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2779
2873
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2780
2874
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
2875
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
2876
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
2781
2877
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2782
2878
  };
2783
2879
  export type UserCreateOrConnectWithoutEmailPreferencesInput = {
@@ -2841,6 +2937,8 @@ export type UserUpdateWithoutEmailPreferencesInput = {
2841
2937
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
2842
2938
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
2843
2939
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
2940
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
2941
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
2844
2942
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
2845
2943
  };
2846
2944
  export type UserUncheckedUpdateWithoutEmailPreferencesInput = {
@@ -2891,6 +2989,8 @@ export type UserUncheckedUpdateWithoutEmailPreferencesInput = {
2891
2989
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2892
2990
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2893
2991
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
2992
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
2993
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
2894
2994
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
2895
2995
  };
2896
2996
  export type UserCreateWithoutDeviceEndpointsInput = {
@@ -2941,6 +3041,8 @@ export type UserCreateWithoutDeviceEndpointsInput = {
2941
3041
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
2942
3042
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
2943
3043
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
3044
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
3045
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
2944
3046
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
2945
3047
  };
2946
3048
  export type UserUncheckedCreateWithoutDeviceEndpointsInput = {
@@ -2991,6 +3093,8 @@ export type UserUncheckedCreateWithoutDeviceEndpointsInput = {
2991
3093
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2992
3094
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2993
3095
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
3096
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
3097
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
2994
3098
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2995
3099
  };
2996
3100
  export type UserCreateOrConnectWithoutDeviceEndpointsInput = {
@@ -3054,6 +3158,8 @@ export type UserUpdateWithoutDeviceEndpointsInput = {
3054
3158
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
3055
3159
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
3056
3160
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
3161
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
3162
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
3057
3163
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
3058
3164
  };
3059
3165
  export type UserUncheckedUpdateWithoutDeviceEndpointsInput = {
@@ -3104,6 +3210,8 @@ export type UserUncheckedUpdateWithoutDeviceEndpointsInput = {
3104
3210
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3105
3211
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3106
3212
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
3213
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
3214
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
3107
3215
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
3108
3216
  };
3109
3217
  export type UserCreateWithoutSocialsInput = {
@@ -3154,6 +3262,8 @@ export type UserCreateWithoutSocialsInput = {
3154
3262
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
3155
3263
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
3156
3264
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
3265
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
3266
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
3157
3267
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3158
3268
  };
3159
3269
  export type UserUncheckedCreateWithoutSocialsInput = {
@@ -3204,6 +3314,8 @@ export type UserUncheckedCreateWithoutSocialsInput = {
3204
3314
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3205
3315
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3206
3316
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
3317
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
3318
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
3207
3319
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
3208
3320
  };
3209
3321
  export type UserCreateOrConnectWithoutSocialsInput = {
@@ -3267,6 +3379,8 @@ export type UserUpdateWithoutSocialsInput = {
3267
3379
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
3268
3380
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
3269
3381
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
3382
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
3383
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
3270
3384
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
3271
3385
  };
3272
3386
  export type UserUncheckedUpdateWithoutSocialsInput = {
@@ -3317,6 +3431,8 @@ export type UserUncheckedUpdateWithoutSocialsInput = {
3317
3431
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3318
3432
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3319
3433
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
3434
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
3435
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
3320
3436
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
3321
3437
  };
3322
3438
  export type UserCreateWithoutWalletInput = {
@@ -3367,6 +3483,8 @@ export type UserCreateWithoutWalletInput = {
3367
3483
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
3368
3484
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
3369
3485
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
3486
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
3487
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
3370
3488
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3371
3489
  };
3372
3490
  export type UserUncheckedCreateWithoutWalletInput = {
@@ -3417,6 +3535,8 @@ export type UserUncheckedCreateWithoutWalletInput = {
3417
3535
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3418
3536
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3419
3537
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
3538
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
3539
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
3420
3540
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
3421
3541
  };
3422
3542
  export type UserCreateOrConnectWithoutWalletInput = {
@@ -3480,6 +3600,8 @@ export type UserUpdateWithoutWalletInput = {
3480
3600
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
3481
3601
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
3482
3602
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
3603
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
3604
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
3483
3605
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
3484
3606
  };
3485
3607
  export type UserUncheckedUpdateWithoutWalletInput = {
@@ -3530,6 +3652,8 @@ export type UserUncheckedUpdateWithoutWalletInput = {
3530
3652
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3531
3653
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3532
3654
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
3655
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
3656
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
3533
3657
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
3534
3658
  };
3535
3659
  export type UserCreateWithoutPropertiesInput = {
@@ -3580,6 +3704,8 @@ export type UserCreateWithoutPropertiesInput = {
3580
3704
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
3581
3705
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
3582
3706
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
3707
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
3708
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
3583
3709
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3584
3710
  };
3585
3711
  export type UserUncheckedCreateWithoutPropertiesInput = {
@@ -3630,6 +3756,8 @@ export type UserUncheckedCreateWithoutPropertiesInput = {
3630
3756
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3631
3757
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3632
3758
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
3759
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
3760
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
3633
3761
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
3634
3762
  };
3635
3763
  export type UserCreateOrConnectWithoutPropertiesInput = {
@@ -3693,6 +3821,8 @@ export type UserUpdateWithoutPropertiesInput = {
3693
3821
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
3694
3822
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
3695
3823
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
3824
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
3825
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
3696
3826
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
3697
3827
  };
3698
3828
  export type UserUncheckedUpdateWithoutPropertiesInput = {
@@ -3743,6 +3873,8 @@ export type UserUncheckedUpdateWithoutPropertiesInput = {
3743
3873
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3744
3874
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3745
3875
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
3876
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
3877
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
3746
3878
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
3747
3879
  };
3748
3880
  export type UserCreateWithoutApplicationsInput = {
@@ -3793,6 +3925,8 @@ export type UserCreateWithoutApplicationsInput = {
3793
3925
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
3794
3926
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
3795
3927
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
3928
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
3929
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
3796
3930
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3797
3931
  };
3798
3932
  export type UserUncheckedCreateWithoutApplicationsInput = {
@@ -3843,6 +3977,8 @@ export type UserUncheckedCreateWithoutApplicationsInput = {
3843
3977
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3844
3978
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3845
3979
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
3980
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
3981
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
3846
3982
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
3847
3983
  };
3848
3984
  export type UserCreateOrConnectWithoutApplicationsInput = {
@@ -3897,6 +4033,8 @@ export type UserCreateWithoutSoldApplicationsInput = {
3897
4033
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
3898
4034
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
3899
4035
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
4036
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
4037
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
3900
4038
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3901
4039
  };
3902
4040
  export type UserUncheckedCreateWithoutSoldApplicationsInput = {
@@ -3947,6 +4085,8 @@ export type UserUncheckedCreateWithoutSoldApplicationsInput = {
3947
4085
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3948
4086
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3949
4087
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
4088
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
4089
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
3950
4090
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
3951
4091
  };
3952
4092
  export type UserCreateOrConnectWithoutSoldApplicationsInput = {
@@ -4010,6 +4150,8 @@ export type UserUpdateWithoutApplicationsInput = {
4010
4150
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
4011
4151
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
4012
4152
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
4153
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
4154
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
4013
4155
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
4014
4156
  };
4015
4157
  export type UserUncheckedUpdateWithoutApplicationsInput = {
@@ -4060,6 +4202,8 @@ export type UserUncheckedUpdateWithoutApplicationsInput = {
4060
4202
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4061
4203
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4062
4204
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
4205
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
4206
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
4063
4207
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
4064
4208
  };
4065
4209
  export type UserUpsertWithoutSoldApplicationsInput = {
@@ -4119,6 +4263,8 @@ export type UserUpdateWithoutSoldApplicationsInput = {
4119
4263
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
4120
4264
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
4121
4265
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
4266
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
4267
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
4122
4268
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
4123
4269
  };
4124
4270
  export type UserUncheckedUpdateWithoutSoldApplicationsInput = {
@@ -4169,6 +4315,8 @@ export type UserUncheckedUpdateWithoutSoldApplicationsInput = {
4169
4315
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4170
4316
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4171
4317
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
4318
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
4319
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
4172
4320
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
4173
4321
  };
4174
4322
  export type UserCreateWithoutRequestedRefundsInput = {
@@ -4219,6 +4367,8 @@ export type UserCreateWithoutRequestedRefundsInput = {
4219
4367
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
4220
4368
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
4221
4369
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
4370
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
4371
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
4222
4372
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
4223
4373
  };
4224
4374
  export type UserUncheckedCreateWithoutRequestedRefundsInput = {
@@ -4269,6 +4419,8 @@ export type UserUncheckedCreateWithoutRequestedRefundsInput = {
4269
4419
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4270
4420
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4271
4421
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
4422
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
4423
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
4272
4424
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
4273
4425
  };
4274
4426
  export type UserCreateOrConnectWithoutRequestedRefundsInput = {
@@ -4323,6 +4475,8 @@ export type UserCreateWithoutApprovedRefundsInput = {
4323
4475
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
4324
4476
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
4325
4477
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
4478
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
4479
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
4326
4480
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
4327
4481
  };
4328
4482
  export type UserUncheckedCreateWithoutApprovedRefundsInput = {
@@ -4373,6 +4527,8 @@ export type UserUncheckedCreateWithoutApprovedRefundsInput = {
4373
4527
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4374
4528
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4375
4529
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
4530
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
4531
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
4376
4532
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
4377
4533
  };
4378
4534
  export type UserCreateOrConnectWithoutApprovedRefundsInput = {
@@ -4427,6 +4583,8 @@ export type UserCreateWithoutProcessedRefundsInput = {
4427
4583
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
4428
4584
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
4429
4585
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
4586
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
4587
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
4430
4588
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
4431
4589
  };
4432
4590
  export type UserUncheckedCreateWithoutProcessedRefundsInput = {
@@ -4477,6 +4635,8 @@ export type UserUncheckedCreateWithoutProcessedRefundsInput = {
4477
4635
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4478
4636
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4479
4637
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
4638
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
4639
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
4480
4640
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
4481
4641
  };
4482
4642
  export type UserCreateOrConnectWithoutProcessedRefundsInput = {
@@ -4540,6 +4700,8 @@ export type UserUpdateWithoutRequestedRefundsInput = {
4540
4700
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
4541
4701
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
4542
4702
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
4703
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
4704
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
4543
4705
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
4544
4706
  };
4545
4707
  export type UserUncheckedUpdateWithoutRequestedRefundsInput = {
@@ -4590,6 +4752,8 @@ export type UserUncheckedUpdateWithoutRequestedRefundsInput = {
4590
4752
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4591
4753
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4592
4754
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
4755
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
4756
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
4593
4757
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
4594
4758
  };
4595
4759
  export type UserUpsertWithoutApprovedRefundsInput = {
@@ -4649,6 +4813,8 @@ export type UserUpdateWithoutApprovedRefundsInput = {
4649
4813
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
4650
4814
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
4651
4815
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
4816
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
4817
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
4652
4818
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
4653
4819
  };
4654
4820
  export type UserUncheckedUpdateWithoutApprovedRefundsInput = {
@@ -4699,6 +4865,8 @@ export type UserUncheckedUpdateWithoutApprovedRefundsInput = {
4699
4865
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4700
4866
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4701
4867
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
4868
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
4869
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
4702
4870
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
4703
4871
  };
4704
4872
  export type UserUpsertWithoutProcessedRefundsInput = {
@@ -4758,6 +4926,8 @@ export type UserUpdateWithoutProcessedRefundsInput = {
4758
4926
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
4759
4927
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
4760
4928
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
4929
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
4930
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
4761
4931
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
4762
4932
  };
4763
4933
  export type UserUncheckedUpdateWithoutProcessedRefundsInput = {
@@ -4808,6 +4978,8 @@ export type UserUncheckedUpdateWithoutProcessedRefundsInput = {
4808
4978
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4809
4979
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4810
4980
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
4981
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
4982
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
4811
4983
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
4812
4984
  };
4813
4985
  export type UserCreateWithoutAssignedStepsInput = {
@@ -4858,6 +5030,8 @@ export type UserCreateWithoutAssignedStepsInput = {
4858
5030
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
4859
5031
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
4860
5032
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
5033
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
5034
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
4861
5035
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
4862
5036
  };
4863
5037
  export type UserUncheckedCreateWithoutAssignedStepsInput = {
@@ -4908,6 +5082,8 @@ export type UserUncheckedCreateWithoutAssignedStepsInput = {
4908
5082
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4909
5083
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4910
5084
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
5085
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
5086
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
4911
5087
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
4912
5088
  };
4913
5089
  export type UserCreateOrConnectWithoutAssignedStepsInput = {
@@ -4962,6 +5138,8 @@ export type UserCreateWithoutGateActedStepsInput = {
4962
5138
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
4963
5139
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
4964
5140
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
5141
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
5142
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
4965
5143
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
4966
5144
  };
4967
5145
  export type UserUncheckedCreateWithoutGateActedStepsInput = {
@@ -5012,6 +5190,8 @@ export type UserUncheckedCreateWithoutGateActedStepsInput = {
5012
5190
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5013
5191
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5014
5192
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
5193
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
5194
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
5015
5195
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
5016
5196
  };
5017
5197
  export type UserCreateOrConnectWithoutGateActedStepsInput = {
@@ -5075,6 +5255,8 @@ export type UserUpdateWithoutAssignedStepsInput = {
5075
5255
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
5076
5256
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
5077
5257
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
5258
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
5259
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
5078
5260
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
5079
5261
  };
5080
5262
  export type UserUncheckedUpdateWithoutAssignedStepsInput = {
@@ -5125,6 +5307,8 @@ export type UserUncheckedUpdateWithoutAssignedStepsInput = {
5125
5307
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5126
5308
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5127
5309
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
5310
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
5311
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
5128
5312
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
5129
5313
  };
5130
5314
  export type UserUpsertWithoutGateActedStepsInput = {
@@ -5184,6 +5368,8 @@ export type UserUpdateWithoutGateActedStepsInput = {
5184
5368
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
5185
5369
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
5186
5370
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
5371
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
5372
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
5187
5373
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
5188
5374
  };
5189
5375
  export type UserUncheckedUpdateWithoutGateActedStepsInput = {
@@ -5234,6 +5420,8 @@ export type UserUncheckedUpdateWithoutGateActedStepsInput = {
5234
5420
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5235
5421
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5236
5422
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
5423
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
5424
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
5237
5425
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
5238
5426
  };
5239
5427
  export type UserCreateWithoutStepApprovalsInput = {
@@ -5284,6 +5472,8 @@ export type UserCreateWithoutStepApprovalsInput = {
5284
5472
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
5285
5473
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
5286
5474
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
5475
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
5476
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
5287
5477
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
5288
5478
  };
5289
5479
  export type UserUncheckedCreateWithoutStepApprovalsInput = {
@@ -5334,6 +5524,8 @@ export type UserUncheckedCreateWithoutStepApprovalsInput = {
5334
5524
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5335
5525
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5336
5526
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
5527
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
5528
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
5337
5529
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
5338
5530
  };
5339
5531
  export type UserCreateOrConnectWithoutStepApprovalsInput = {
@@ -5397,6 +5589,8 @@ export type UserUpdateWithoutStepApprovalsInput = {
5397
5589
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
5398
5590
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
5399
5591
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
5592
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
5593
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
5400
5594
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
5401
5595
  };
5402
5596
  export type UserUncheckedUpdateWithoutStepApprovalsInput = {
@@ -5447,6 +5641,8 @@ export type UserUncheckedUpdateWithoutStepApprovalsInput = {
5447
5641
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5448
5642
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5449
5643
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
5644
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
5645
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
5450
5646
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
5451
5647
  };
5452
5648
  export type UserCreateWithoutApplicationPaymentsInput = {
@@ -5497,6 +5693,8 @@ export type UserCreateWithoutApplicationPaymentsInput = {
5497
5693
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
5498
5694
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
5499
5695
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
5696
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
5697
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
5500
5698
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
5501
5699
  };
5502
5700
  export type UserUncheckedCreateWithoutApplicationPaymentsInput = {
@@ -5547,6 +5745,8 @@ export type UserUncheckedCreateWithoutApplicationPaymentsInput = {
5547
5745
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5548
5746
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5549
5747
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
5748
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
5749
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
5550
5750
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
5551
5751
  };
5552
5752
  export type UserCreateOrConnectWithoutApplicationPaymentsInput = {
@@ -5610,6 +5810,8 @@ export type UserUpdateWithoutApplicationPaymentsInput = {
5610
5810
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
5611
5811
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
5612
5812
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
5813
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
5814
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
5613
5815
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
5614
5816
  };
5615
5817
  export type UserUncheckedUpdateWithoutApplicationPaymentsInput = {
@@ -5660,6 +5862,8 @@ export type UserUncheckedUpdateWithoutApplicationPaymentsInput = {
5660
5862
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5661
5863
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5662
5864
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
5865
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
5866
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
5663
5867
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
5664
5868
  };
5665
5869
  export type UserCreateWithoutUploadedDocsInput = {
@@ -5710,6 +5914,8 @@ export type UserCreateWithoutUploadedDocsInput = {
5710
5914
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
5711
5915
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
5712
5916
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
5917
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
5918
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
5713
5919
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
5714
5920
  };
5715
5921
  export type UserUncheckedCreateWithoutUploadedDocsInput = {
@@ -5760,6 +5966,8 @@ export type UserUncheckedCreateWithoutUploadedDocsInput = {
5760
5966
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5761
5967
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5762
5968
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
5969
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
5970
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
5763
5971
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
5764
5972
  };
5765
5973
  export type UserCreateOrConnectWithoutUploadedDocsInput = {
@@ -5823,6 +6031,8 @@ export type UserUpdateWithoutUploadedDocsInput = {
5823
6031
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
5824
6032
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
5825
6033
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
6034
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
6035
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
5826
6036
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
5827
6037
  };
5828
6038
  export type UserUncheckedUpdateWithoutUploadedDocsInput = {
@@ -5873,6 +6083,8 @@ export type UserUncheckedUpdateWithoutUploadedDocsInput = {
5873
6083
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5874
6084
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5875
6085
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
6086
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
6087
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
5876
6088
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
5877
6089
  };
5878
6090
  export type UserCreateWithoutDocumentReviewsInput = {
@@ -5923,6 +6135,8 @@ export type UserCreateWithoutDocumentReviewsInput = {
5923
6135
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
5924
6136
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
5925
6137
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6138
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
6139
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
5926
6140
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
5927
6141
  };
5928
6142
  export type UserUncheckedCreateWithoutDocumentReviewsInput = {
@@ -5973,6 +6187,8 @@ export type UserUncheckedCreateWithoutDocumentReviewsInput = {
5973
6187
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5974
6188
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5975
6189
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6190
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
6191
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
5976
6192
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
5977
6193
  };
5978
6194
  export type UserCreateOrConnectWithoutDocumentReviewsInput = {
@@ -6036,6 +6252,8 @@ export type UserUpdateWithoutDocumentReviewsInput = {
6036
6252
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
6037
6253
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6038
6254
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6255
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
6256
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
6039
6257
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6040
6258
  };
6041
6259
  export type UserUncheckedUpdateWithoutDocumentReviewsInput = {
@@ -6086,6 +6304,450 @@ export type UserUncheckedUpdateWithoutDocumentReviewsInput = {
6086
6304
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6087
6305
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6088
6306
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6307
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
6308
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
6309
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6310
+ };
6311
+ export type UserCreateWithoutCompletedStagesInput = {
6312
+ id?: string;
6313
+ email: string;
6314
+ password?: string | null;
6315
+ phone?: string | null;
6316
+ firstName?: string | null;
6317
+ lastName?: string | null;
6318
+ isActive?: boolean;
6319
+ isEmailVerified?: boolean;
6320
+ googleId?: string | null;
6321
+ avatar?: string | null;
6322
+ createdAt?: Date | string;
6323
+ updatedAt?: Date | string;
6324
+ emailVerifiedAt?: Date | string | null;
6325
+ emailVerificationToken?: string | null;
6326
+ lastLoginAt?: Date | string | null;
6327
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
6328
+ tenantMemberships?: Prisma.TenantMembershipCreateNestedManyWithoutUserInput;
6329
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
6330
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
6331
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
6332
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
6333
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
6334
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
6335
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
6336
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
6337
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
6338
+ applications?: Prisma.ApplicationCreateNestedManyWithoutBuyerInput;
6339
+ soldApplications?: Prisma.ApplicationCreateNestedManyWithoutSellerInput;
6340
+ applicationPayments?: Prisma.ApplicationPaymentCreateNestedManyWithoutPayerInput;
6341
+ assignedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutAssigneeInput;
6342
+ gateActedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutGateActedByInput;
6343
+ stepApprovals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutApproverInput;
6344
+ uploadedDocs?: Prisma.ApplicationDocumentCreateNestedManyWithoutUploadedByInput;
6345
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
6346
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
6347
+ initiatedTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutInitiatorInput;
6348
+ reviewedTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutReviewerInput;
6349
+ offerLettersGenerated?: Prisma.OfferLetterCreateNestedManyWithoutGeneratedByInput;
6350
+ offerLettersSent?: Prisma.OfferLetterCreateNestedManyWithoutSentByInput;
6351
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestCreateNestedManyWithoutRequestedByInput;
6352
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestCreateNestedManyWithoutReviewedByInput;
6353
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
6354
+ approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
6355
+ approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
6356
+ requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
6357
+ approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6358
+ processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6359
+ documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
6360
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
6361
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6362
+ };
6363
+ export type UserUncheckedCreateWithoutCompletedStagesInput = {
6364
+ id?: string;
6365
+ email: string;
6366
+ password?: string | null;
6367
+ phone?: string | null;
6368
+ firstName?: string | null;
6369
+ lastName?: string | null;
6370
+ isActive?: boolean;
6371
+ isEmailVerified?: boolean;
6372
+ googleId?: string | null;
6373
+ avatar?: string | null;
6374
+ tenantId?: string | null;
6375
+ walletId?: string | null;
6376
+ createdAt?: Date | string;
6377
+ updatedAt?: Date | string;
6378
+ emailVerifiedAt?: Date | string | null;
6379
+ emailVerificationToken?: string | null;
6380
+ lastLoginAt?: Date | string | null;
6381
+ tenantMemberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutUserInput;
6382
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
6383
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
6384
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
6385
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
6386
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
6387
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
6388
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
6389
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
6390
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutBuyerInput;
6391
+ soldApplications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutSellerInput;
6392
+ applicationPayments?: Prisma.ApplicationPaymentUncheckedCreateNestedManyWithoutPayerInput;
6393
+ assignedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutAssigneeInput;
6394
+ gateActedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutGateActedByInput;
6395
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedCreateNestedManyWithoutApproverInput;
6396
+ uploadedDocs?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
6397
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
6398
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
6399
+ initiatedTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
6400
+ reviewedTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutReviewerInput;
6401
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutGeneratedByInput;
6402
+ offerLettersSent?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutSentByInput;
6403
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutRequestedByInput;
6404
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutReviewedByInput;
6405
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
6406
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
6407
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
6408
+ requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6409
+ approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6410
+ processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6411
+ documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
6412
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
6413
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6414
+ };
6415
+ export type UserCreateOrConnectWithoutCompletedStagesInput = {
6416
+ where: Prisma.UserWhereUniqueInput;
6417
+ create: Prisma.XOR<Prisma.UserCreateWithoutCompletedStagesInput, Prisma.UserUncheckedCreateWithoutCompletedStagesInput>;
6418
+ };
6419
+ export type UserUpsertWithoutCompletedStagesInput = {
6420
+ update: Prisma.XOR<Prisma.UserUpdateWithoutCompletedStagesInput, Prisma.UserUncheckedUpdateWithoutCompletedStagesInput>;
6421
+ create: Prisma.XOR<Prisma.UserCreateWithoutCompletedStagesInput, Prisma.UserUncheckedCreateWithoutCompletedStagesInput>;
6422
+ where?: Prisma.UserWhereInput;
6423
+ };
6424
+ export type UserUpdateToOneWithWhereWithoutCompletedStagesInput = {
6425
+ where?: Prisma.UserWhereInput;
6426
+ data: Prisma.XOR<Prisma.UserUpdateWithoutCompletedStagesInput, Prisma.UserUncheckedUpdateWithoutCompletedStagesInput>;
6427
+ };
6428
+ export type UserUpdateWithoutCompletedStagesInput = {
6429
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
6430
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
6431
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6432
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6433
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6434
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6435
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
6436
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
6437
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6438
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6439
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
6440
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
6441
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
6442
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6443
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
6444
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
6445
+ tenantMemberships?: Prisma.TenantMembershipUpdateManyWithoutUserNestedInput;
6446
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
6447
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
6448
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
6449
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
6450
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
6451
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
6452
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
6453
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
6454
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
6455
+ applications?: Prisma.ApplicationUpdateManyWithoutBuyerNestedInput;
6456
+ soldApplications?: Prisma.ApplicationUpdateManyWithoutSellerNestedInput;
6457
+ applicationPayments?: Prisma.ApplicationPaymentUpdateManyWithoutPayerNestedInput;
6458
+ assignedSteps?: Prisma.DocumentationStepUpdateManyWithoutAssigneeNestedInput;
6459
+ gateActedSteps?: Prisma.DocumentationStepUpdateManyWithoutGateActedByNestedInput;
6460
+ stepApprovals?: Prisma.DocumentationStepApprovalUpdateManyWithoutApproverNestedInput;
6461
+ uploadedDocs?: Prisma.ApplicationDocumentUpdateManyWithoutUploadedByNestedInput;
6462
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
6463
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
6464
+ initiatedTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutInitiatorNestedInput;
6465
+ reviewedTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutReviewerNestedInput;
6466
+ offerLettersGenerated?: Prisma.OfferLetterUpdateManyWithoutGeneratedByNestedInput;
6467
+ offerLettersSent?: Prisma.OfferLetterUpdateManyWithoutSentByNestedInput;
6468
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUpdateManyWithoutRequestedByNestedInput;
6469
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUpdateManyWithoutReviewedByNestedInput;
6470
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
6471
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
6472
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
6473
+ requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
6474
+ approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6475
+ processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6476
+ documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
6477
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
6478
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6479
+ };
6480
+ export type UserUncheckedUpdateWithoutCompletedStagesInput = {
6481
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
6482
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
6483
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6484
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6485
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6486
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6487
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
6488
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
6489
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6490
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6491
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6492
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6493
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
6494
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
6495
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
6496
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6497
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
6498
+ tenantMemberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutUserNestedInput;
6499
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
6500
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
6501
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
6502
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
6503
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
6504
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
6505
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
6506
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
6507
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutBuyerNestedInput;
6508
+ soldApplications?: Prisma.ApplicationUncheckedUpdateManyWithoutSellerNestedInput;
6509
+ applicationPayments?: Prisma.ApplicationPaymentUncheckedUpdateManyWithoutPayerNestedInput;
6510
+ assignedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutAssigneeNestedInput;
6511
+ gateActedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutGateActedByNestedInput;
6512
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedUpdateManyWithoutApproverNestedInput;
6513
+ uploadedDocs?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
6514
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
6515
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
6516
+ initiatedTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
6517
+ reviewedTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
6518
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedUpdateManyWithoutGeneratedByNestedInput;
6519
+ offerLettersSent?: Prisma.OfferLetterUncheckedUpdateManyWithoutSentByNestedInput;
6520
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
6521
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
6522
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
6523
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
6524
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
6525
+ requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6526
+ approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6527
+ processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6528
+ documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
6529
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
6530
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6531
+ };
6532
+ export type UserCreateWithoutDocumentApprovalsInput = {
6533
+ id?: string;
6534
+ email: string;
6535
+ password?: string | null;
6536
+ phone?: string | null;
6537
+ firstName?: string | null;
6538
+ lastName?: string | null;
6539
+ isActive?: boolean;
6540
+ isEmailVerified?: boolean;
6541
+ googleId?: string | null;
6542
+ avatar?: string | null;
6543
+ createdAt?: Date | string;
6544
+ updatedAt?: Date | string;
6545
+ emailVerifiedAt?: Date | string | null;
6546
+ emailVerificationToken?: string | null;
6547
+ lastLoginAt?: Date | string | null;
6548
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
6549
+ tenantMemberships?: Prisma.TenantMembershipCreateNestedManyWithoutUserInput;
6550
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
6551
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
6552
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
6553
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
6554
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
6555
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
6556
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
6557
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
6558
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
6559
+ applications?: Prisma.ApplicationCreateNestedManyWithoutBuyerInput;
6560
+ soldApplications?: Prisma.ApplicationCreateNestedManyWithoutSellerInput;
6561
+ applicationPayments?: Prisma.ApplicationPaymentCreateNestedManyWithoutPayerInput;
6562
+ assignedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutAssigneeInput;
6563
+ gateActedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutGateActedByInput;
6564
+ stepApprovals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutApproverInput;
6565
+ uploadedDocs?: Prisma.ApplicationDocumentCreateNestedManyWithoutUploadedByInput;
6566
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
6567
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
6568
+ initiatedTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutInitiatorInput;
6569
+ reviewedTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutReviewerInput;
6570
+ offerLettersGenerated?: Prisma.OfferLetterCreateNestedManyWithoutGeneratedByInput;
6571
+ offerLettersSent?: Prisma.OfferLetterCreateNestedManyWithoutSentByInput;
6572
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestCreateNestedManyWithoutRequestedByInput;
6573
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestCreateNestedManyWithoutReviewedByInput;
6574
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
6575
+ approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
6576
+ approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
6577
+ requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
6578
+ approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6579
+ processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6580
+ documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
6581
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
6582
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6583
+ };
6584
+ export type UserUncheckedCreateWithoutDocumentApprovalsInput = {
6585
+ id?: string;
6586
+ email: string;
6587
+ password?: string | null;
6588
+ phone?: string | null;
6589
+ firstName?: string | null;
6590
+ lastName?: string | null;
6591
+ isActive?: boolean;
6592
+ isEmailVerified?: boolean;
6593
+ googleId?: string | null;
6594
+ avatar?: string | null;
6595
+ tenantId?: string | null;
6596
+ walletId?: string | null;
6597
+ createdAt?: Date | string;
6598
+ updatedAt?: Date | string;
6599
+ emailVerifiedAt?: Date | string | null;
6600
+ emailVerificationToken?: string | null;
6601
+ lastLoginAt?: Date | string | null;
6602
+ tenantMemberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutUserInput;
6603
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
6604
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
6605
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
6606
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
6607
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
6608
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
6609
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
6610
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
6611
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutBuyerInput;
6612
+ soldApplications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutSellerInput;
6613
+ applicationPayments?: Prisma.ApplicationPaymentUncheckedCreateNestedManyWithoutPayerInput;
6614
+ assignedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutAssigneeInput;
6615
+ gateActedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutGateActedByInput;
6616
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedCreateNestedManyWithoutApproverInput;
6617
+ uploadedDocs?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
6618
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
6619
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
6620
+ initiatedTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
6621
+ reviewedTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutReviewerInput;
6622
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutGeneratedByInput;
6623
+ offerLettersSent?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutSentByInput;
6624
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutRequestedByInput;
6625
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutReviewedByInput;
6626
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
6627
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
6628
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
6629
+ requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6630
+ approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6631
+ processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6632
+ documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
6633
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
6634
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6635
+ };
6636
+ export type UserCreateOrConnectWithoutDocumentApprovalsInput = {
6637
+ where: Prisma.UserWhereUniqueInput;
6638
+ create: Prisma.XOR<Prisma.UserCreateWithoutDocumentApprovalsInput, Prisma.UserUncheckedCreateWithoutDocumentApprovalsInput>;
6639
+ };
6640
+ export type UserUpsertWithoutDocumentApprovalsInput = {
6641
+ update: Prisma.XOR<Prisma.UserUpdateWithoutDocumentApprovalsInput, Prisma.UserUncheckedUpdateWithoutDocumentApprovalsInput>;
6642
+ create: Prisma.XOR<Prisma.UserCreateWithoutDocumentApprovalsInput, Prisma.UserUncheckedCreateWithoutDocumentApprovalsInput>;
6643
+ where?: Prisma.UserWhereInput;
6644
+ };
6645
+ export type UserUpdateToOneWithWhereWithoutDocumentApprovalsInput = {
6646
+ where?: Prisma.UserWhereInput;
6647
+ data: Prisma.XOR<Prisma.UserUpdateWithoutDocumentApprovalsInput, Prisma.UserUncheckedUpdateWithoutDocumentApprovalsInput>;
6648
+ };
6649
+ export type UserUpdateWithoutDocumentApprovalsInput = {
6650
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
6651
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
6652
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6653
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6654
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6655
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6656
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
6657
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
6658
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6659
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6660
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
6661
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
6662
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
6663
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6664
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
6665
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
6666
+ tenantMemberships?: Prisma.TenantMembershipUpdateManyWithoutUserNestedInput;
6667
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
6668
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
6669
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
6670
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
6671
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
6672
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
6673
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
6674
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
6675
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
6676
+ applications?: Prisma.ApplicationUpdateManyWithoutBuyerNestedInput;
6677
+ soldApplications?: Prisma.ApplicationUpdateManyWithoutSellerNestedInput;
6678
+ applicationPayments?: Prisma.ApplicationPaymentUpdateManyWithoutPayerNestedInput;
6679
+ assignedSteps?: Prisma.DocumentationStepUpdateManyWithoutAssigneeNestedInput;
6680
+ gateActedSteps?: Prisma.DocumentationStepUpdateManyWithoutGateActedByNestedInput;
6681
+ stepApprovals?: Prisma.DocumentationStepApprovalUpdateManyWithoutApproverNestedInput;
6682
+ uploadedDocs?: Prisma.ApplicationDocumentUpdateManyWithoutUploadedByNestedInput;
6683
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
6684
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
6685
+ initiatedTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutInitiatorNestedInput;
6686
+ reviewedTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutReviewerNestedInput;
6687
+ offerLettersGenerated?: Prisma.OfferLetterUpdateManyWithoutGeneratedByNestedInput;
6688
+ offerLettersSent?: Prisma.OfferLetterUpdateManyWithoutSentByNestedInput;
6689
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUpdateManyWithoutRequestedByNestedInput;
6690
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUpdateManyWithoutReviewedByNestedInput;
6691
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
6692
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
6693
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
6694
+ requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
6695
+ approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6696
+ processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6697
+ documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
6698
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
6699
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6700
+ };
6701
+ export type UserUncheckedUpdateWithoutDocumentApprovalsInput = {
6702
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
6703
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
6704
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6705
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6706
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6707
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6708
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
6709
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
6710
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6711
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6712
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6713
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6714
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
6715
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
6716
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
6717
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
6718
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
6719
+ tenantMemberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutUserNestedInput;
6720
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
6721
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
6722
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
6723
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
6724
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
6725
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
6726
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
6727
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
6728
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutBuyerNestedInput;
6729
+ soldApplications?: Prisma.ApplicationUncheckedUpdateManyWithoutSellerNestedInput;
6730
+ applicationPayments?: Prisma.ApplicationPaymentUncheckedUpdateManyWithoutPayerNestedInput;
6731
+ assignedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutAssigneeNestedInput;
6732
+ gateActedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutGateActedByNestedInput;
6733
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedUpdateManyWithoutApproverNestedInput;
6734
+ uploadedDocs?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
6735
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
6736
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
6737
+ initiatedTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
6738
+ reviewedTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
6739
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedUpdateManyWithoutGeneratedByNestedInput;
6740
+ offerLettersSent?: Prisma.OfferLetterUncheckedUpdateManyWithoutSentByNestedInput;
6741
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
6742
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
6743
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
6744
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
6745
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
6746
+ requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6747
+ approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6748
+ processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6749
+ documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
6750
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
6089
6751
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6090
6752
  };
6091
6753
  export type UserCreateWithoutOfferLettersGeneratedInput = {
@@ -6136,6 +6798,8 @@ export type UserCreateWithoutOfferLettersGeneratedInput = {
6136
6798
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6137
6799
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6138
6800
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
6801
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
6802
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
6139
6803
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6140
6804
  };
6141
6805
  export type UserUncheckedCreateWithoutOfferLettersGeneratedInput = {
@@ -6186,6 +6850,8 @@ export type UserUncheckedCreateWithoutOfferLettersGeneratedInput = {
6186
6850
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6187
6851
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6188
6852
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
6853
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
6854
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
6189
6855
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6190
6856
  };
6191
6857
  export type UserCreateOrConnectWithoutOfferLettersGeneratedInput = {
@@ -6240,6 +6906,8 @@ export type UserCreateWithoutOfferLettersSentInput = {
6240
6906
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6241
6907
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6242
6908
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
6909
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
6910
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
6243
6911
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6244
6912
  };
6245
6913
  export type UserUncheckedCreateWithoutOfferLettersSentInput = {
@@ -6290,6 +6958,8 @@ export type UserUncheckedCreateWithoutOfferLettersSentInput = {
6290
6958
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6291
6959
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6292
6960
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
6961
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
6962
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
6293
6963
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6294
6964
  };
6295
6965
  export type UserCreateOrConnectWithoutOfferLettersSentInput = {
@@ -6353,6 +7023,8 @@ export type UserUpdateWithoutOfferLettersGeneratedInput = {
6353
7023
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6354
7024
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6355
7025
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
7026
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
7027
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
6356
7028
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6357
7029
  };
6358
7030
  export type UserUncheckedUpdateWithoutOfferLettersGeneratedInput = {
@@ -6403,6 +7075,8 @@ export type UserUncheckedUpdateWithoutOfferLettersGeneratedInput = {
6403
7075
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6404
7076
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6405
7077
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
7078
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
7079
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
6406
7080
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6407
7081
  };
6408
7082
  export type UserUpsertWithoutOfferLettersSentInput = {
@@ -6462,6 +7136,8 @@ export type UserUpdateWithoutOfferLettersSentInput = {
6462
7136
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6463
7137
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6464
7138
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
7139
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
7140
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
6465
7141
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6466
7142
  };
6467
7143
  export type UserUncheckedUpdateWithoutOfferLettersSentInput = {
@@ -6512,6 +7188,8 @@ export type UserUncheckedUpdateWithoutOfferLettersSentInput = {
6512
7188
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6513
7189
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6514
7190
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
7191
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
7192
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
6515
7193
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6516
7194
  };
6517
7195
  export type UserCreateWithoutInitiatedTerminationsInput = {
@@ -6562,6 +7240,8 @@ export type UserCreateWithoutInitiatedTerminationsInput = {
6562
7240
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6563
7241
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6564
7242
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
7243
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
7244
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
6565
7245
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6566
7246
  };
6567
7247
  export type UserUncheckedCreateWithoutInitiatedTerminationsInput = {
@@ -6612,6 +7292,8 @@ export type UserUncheckedCreateWithoutInitiatedTerminationsInput = {
6612
7292
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6613
7293
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6614
7294
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
7295
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
7296
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
6615
7297
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6616
7298
  };
6617
7299
  export type UserCreateOrConnectWithoutInitiatedTerminationsInput = {
@@ -6666,6 +7348,8 @@ export type UserCreateWithoutReviewedTerminationsInput = {
6666
7348
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6667
7349
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6668
7350
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
7351
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
7352
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
6669
7353
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6670
7354
  };
6671
7355
  export type UserUncheckedCreateWithoutReviewedTerminationsInput = {
@@ -6716,6 +7400,8 @@ export type UserUncheckedCreateWithoutReviewedTerminationsInput = {
6716
7400
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6717
7401
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6718
7402
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
7403
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
7404
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
6719
7405
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6720
7406
  };
6721
7407
  export type UserCreateOrConnectWithoutReviewedTerminationsInput = {
@@ -6779,6 +7465,8 @@ export type UserUpdateWithoutInitiatedTerminationsInput = {
6779
7465
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6780
7466
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6781
7467
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
7468
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
7469
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
6782
7470
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6783
7471
  };
6784
7472
  export type UserUncheckedUpdateWithoutInitiatedTerminationsInput = {
@@ -6829,6 +7517,8 @@ export type UserUncheckedUpdateWithoutInitiatedTerminationsInput = {
6829
7517
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6830
7518
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6831
7519
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
7520
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
7521
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
6832
7522
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6833
7523
  };
6834
7524
  export type UserUpsertWithoutReviewedTerminationsInput = {
@@ -6888,6 +7578,8 @@ export type UserUpdateWithoutReviewedTerminationsInput = {
6888
7578
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6889
7579
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6890
7580
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
7581
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
7582
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
6891
7583
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6892
7584
  };
6893
7585
  export type UserUncheckedUpdateWithoutReviewedTerminationsInput = {
@@ -6938,6 +7630,8 @@ export type UserUncheckedUpdateWithoutReviewedTerminationsInput = {
6938
7630
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6939
7631
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6940
7632
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
7633
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
7634
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
6941
7635
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6942
7636
  };
6943
7637
  export type UserCreateWithoutPaymentMethodChangeRequestsInput = {
@@ -6988,6 +7682,8 @@ export type UserCreateWithoutPaymentMethodChangeRequestsInput = {
6988
7682
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6989
7683
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6990
7684
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
7685
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
7686
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
6991
7687
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6992
7688
  };
6993
7689
  export type UserUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
@@ -7038,6 +7734,8 @@ export type UserUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
7038
7734
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
7039
7735
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7040
7736
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
7737
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
7738
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
7041
7739
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
7042
7740
  };
7043
7741
  export type UserCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
@@ -7092,6 +7790,8 @@ export type UserCreateWithoutReviewedChangeRequestsInput = {
7092
7790
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
7093
7791
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
7094
7792
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
7793
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
7794
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
7095
7795
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
7096
7796
  };
7097
7797
  export type UserUncheckedCreateWithoutReviewedChangeRequestsInput = {
@@ -7142,6 +7842,8 @@ export type UserUncheckedCreateWithoutReviewedChangeRequestsInput = {
7142
7842
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
7143
7843
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7144
7844
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
7845
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
7846
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
7145
7847
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
7146
7848
  };
7147
7849
  export type UserCreateOrConnectWithoutReviewedChangeRequestsInput = {
@@ -7205,6 +7907,8 @@ export type UserUpdateWithoutPaymentMethodChangeRequestsInput = {
7205
7907
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
7206
7908
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
7207
7909
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
7910
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
7911
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
7208
7912
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
7209
7913
  };
7210
7914
  export type UserUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
@@ -7255,6 +7959,8 @@ export type UserUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
7255
7959
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7256
7960
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
7257
7961
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
7962
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
7963
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
7258
7964
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
7259
7965
  };
7260
7966
  export type UserUpsertWithoutReviewedChangeRequestsInput = {
@@ -7314,6 +8020,8 @@ export type UserUpdateWithoutReviewedChangeRequestsInput = {
7314
8020
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
7315
8021
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
7316
8022
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
8023
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
8024
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
7317
8025
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
7318
8026
  };
7319
8027
  export type UserUncheckedUpdateWithoutReviewedChangeRequestsInput = {
@@ -7364,6 +8072,8 @@ export type UserUncheckedUpdateWithoutReviewedChangeRequestsInput = {
7364
8072
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7365
8073
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
7366
8074
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
8075
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
8076
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
7367
8077
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
7368
8078
  };
7369
8079
  export type UserCreateWithoutTransferRequestsSubmittedInput = {
@@ -7414,6 +8124,8 @@ export type UserCreateWithoutTransferRequestsSubmittedInput = {
7414
8124
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
7415
8125
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
7416
8126
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
8127
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
8128
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
7417
8129
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
7418
8130
  };
7419
8131
  export type UserUncheckedCreateWithoutTransferRequestsSubmittedInput = {
@@ -7464,6 +8176,8 @@ export type UserUncheckedCreateWithoutTransferRequestsSubmittedInput = {
7464
8176
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
7465
8177
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7466
8178
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
8179
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
8180
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
7467
8181
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
7468
8182
  };
7469
8183
  export type UserCreateOrConnectWithoutTransferRequestsSubmittedInput = {
@@ -7518,6 +8232,8 @@ export type UserCreateWithoutTransferRequestsReviewedInput = {
7518
8232
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
7519
8233
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
7520
8234
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
8235
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
8236
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
7521
8237
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
7522
8238
  };
7523
8239
  export type UserUncheckedCreateWithoutTransferRequestsReviewedInput = {
@@ -7568,6 +8284,8 @@ export type UserUncheckedCreateWithoutTransferRequestsReviewedInput = {
7568
8284
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
7569
8285
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7570
8286
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
8287
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
8288
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
7571
8289
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
7572
8290
  };
7573
8291
  export type UserCreateOrConnectWithoutTransferRequestsReviewedInput = {
@@ -7631,6 +8349,8 @@ export type UserUpdateWithoutTransferRequestsSubmittedInput = {
7631
8349
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
7632
8350
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
7633
8351
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
8352
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
8353
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
7634
8354
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
7635
8355
  };
7636
8356
  export type UserUncheckedUpdateWithoutTransferRequestsSubmittedInput = {
@@ -7681,6 +8401,8 @@ export type UserUncheckedUpdateWithoutTransferRequestsSubmittedInput = {
7681
8401
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7682
8402
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
7683
8403
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
8404
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
8405
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
7684
8406
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
7685
8407
  };
7686
8408
  export type UserUpsertWithoutTransferRequestsReviewedInput = {
@@ -7740,6 +8462,8 @@ export type UserUpdateWithoutTransferRequestsReviewedInput = {
7740
8462
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
7741
8463
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
7742
8464
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
8465
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
8466
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
7743
8467
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
7744
8468
  };
7745
8469
  export type UserUncheckedUpdateWithoutTransferRequestsReviewedInput = {
@@ -7790,6 +8514,8 @@ export type UserUncheckedUpdateWithoutTransferRequestsReviewedInput = {
7790
8514
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7791
8515
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
7792
8516
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
8517
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
8518
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
7793
8519
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
7794
8520
  };
7795
8521
  export type UserCreateWithoutApprovalRequestsSubmittedInput = {
@@ -7840,6 +8566,8 @@ export type UserCreateWithoutApprovalRequestsSubmittedInput = {
7840
8566
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
7841
8567
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
7842
8568
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
8569
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
8570
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
7843
8571
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
7844
8572
  };
7845
8573
  export type UserUncheckedCreateWithoutApprovalRequestsSubmittedInput = {
@@ -7890,6 +8618,8 @@ export type UserUncheckedCreateWithoutApprovalRequestsSubmittedInput = {
7890
8618
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
7891
8619
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7892
8620
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
8621
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
8622
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
7893
8623
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
7894
8624
  };
7895
8625
  export type UserCreateOrConnectWithoutApprovalRequestsSubmittedInput = {
@@ -7944,6 +8674,8 @@ export type UserCreateWithoutApprovalRequestsAssignedInput = {
7944
8674
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
7945
8675
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
7946
8676
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
8677
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
8678
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
7947
8679
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
7948
8680
  };
7949
8681
  export type UserUncheckedCreateWithoutApprovalRequestsAssignedInput = {
@@ -7994,6 +8726,8 @@ export type UserUncheckedCreateWithoutApprovalRequestsAssignedInput = {
7994
8726
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
7995
8727
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7996
8728
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
8729
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
8730
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
7997
8731
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
7998
8732
  };
7999
8733
  export type UserCreateOrConnectWithoutApprovalRequestsAssignedInput = {
@@ -8048,6 +8782,8 @@ export type UserCreateWithoutApprovalRequestsReviewedInput = {
8048
8782
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
8049
8783
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
8050
8784
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutReviewerInput;
8785
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutReviewerInput;
8786
+ completedStages?: Prisma.ApprovalStageProgressCreateNestedManyWithoutCompletedByInput;
8051
8787
  organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
8052
8788
  };
8053
8789
  export type UserUncheckedCreateWithoutApprovalRequestsReviewedInput = {
@@ -8098,6 +8834,8 @@ export type UserUncheckedCreateWithoutApprovalRequestsReviewedInput = {
8098
8834
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
8099
8835
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
8100
8836
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutReviewerInput;
8837
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutReviewerInput;
8838
+ completedStages?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutCompletedByInput;
8101
8839
  organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
8102
8840
  };
8103
8841
  export type UserCreateOrConnectWithoutApprovalRequestsReviewedInput = {
@@ -8161,6 +8899,8 @@ export type UserUpdateWithoutApprovalRequestsSubmittedInput = {
8161
8899
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
8162
8900
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
8163
8901
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
8902
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
8903
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
8164
8904
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
8165
8905
  };
8166
8906
  export type UserUncheckedUpdateWithoutApprovalRequestsSubmittedInput = {
@@ -8211,6 +8951,8 @@ export type UserUncheckedUpdateWithoutApprovalRequestsSubmittedInput = {
8211
8951
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
8212
8952
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
8213
8953
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
8954
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
8955
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
8214
8956
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
8215
8957
  };
8216
8958
  export type UserUpsertWithoutApprovalRequestsAssignedInput = {
@@ -8270,6 +9012,8 @@ export type UserUpdateWithoutApprovalRequestsAssignedInput = {
8270
9012
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
8271
9013
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
8272
9014
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
9015
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
9016
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
8273
9017
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
8274
9018
  };
8275
9019
  export type UserUncheckedUpdateWithoutApprovalRequestsAssignedInput = {
@@ -8320,6 +9064,8 @@ export type UserUncheckedUpdateWithoutApprovalRequestsAssignedInput = {
8320
9064
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
8321
9065
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
8322
9066
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
9067
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
9068
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
8323
9069
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
8324
9070
  };
8325
9071
  export type UserUpsertWithoutApprovalRequestsReviewedInput = {
@@ -8379,6 +9125,8 @@ export type UserUpdateWithoutApprovalRequestsReviewedInput = {
8379
9125
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
8380
9126
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
8381
9127
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
9128
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
9129
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
8382
9130
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
8383
9131
  };
8384
9132
  export type UserUncheckedUpdateWithoutApprovalRequestsReviewedInput = {
@@ -8429,6 +9177,8 @@ export type UserUncheckedUpdateWithoutApprovalRequestsReviewedInput = {
8429
9177
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
8430
9178
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
8431
9179
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
9180
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
9181
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
8432
9182
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
8433
9183
  };
8434
9184
  export type UserCreateManyTenantInput = {
@@ -8497,6 +9247,8 @@ export type UserUpdateWithoutTenantInput = {
8497
9247
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
8498
9248
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
8499
9249
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutReviewerNestedInput;
9250
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutReviewerNestedInput;
9251
+ completedStages?: Prisma.ApprovalStageProgressUpdateManyWithoutCompletedByNestedInput;
8500
9252
  organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
8501
9253
  };
8502
9254
  export type UserUncheckedUpdateWithoutTenantInput = {
@@ -8547,6 +9299,8 @@ export type UserUncheckedUpdateWithoutTenantInput = {
8547
9299
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
8548
9300
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
8549
9301
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput;
9302
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerNestedInput;
9303
+ completedStages?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByNestedInput;
8550
9304
  organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
8551
9305
  };
8552
9306
  export type UserUncheckedUpdateManyWithoutTenantInput = {
@@ -8602,6 +9356,8 @@ export type UserCountOutputType = {
8602
9356
  approvedRefunds: number;
8603
9357
  processedRefunds: number;
8604
9358
  documentReviews: number;
9359
+ documentApprovals: number;
9360
+ completedStages: number;
8605
9361
  organizationMemberships: number;
8606
9362
  };
8607
9363
  export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -8636,6 +9392,8 @@ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
8636
9392
  approvedRefunds?: boolean | UserCountOutputTypeCountApprovedRefundsArgs;
8637
9393
  processedRefunds?: boolean | UserCountOutputTypeCountProcessedRefundsArgs;
8638
9394
  documentReviews?: boolean | UserCountOutputTypeCountDocumentReviewsArgs;
9395
+ documentApprovals?: boolean | UserCountOutputTypeCountDocumentApprovalsArgs;
9396
+ completedStages?: boolean | UserCountOutputTypeCountCompletedStagesArgs;
8639
9397
  organizationMemberships?: boolean | UserCountOutputTypeCountOrganizationMembershipsArgs;
8640
9398
  };
8641
9399
  /**
@@ -8833,6 +9591,18 @@ export type UserCountOutputTypeCountProcessedRefundsArgs<ExtArgs extends runtime
8833
9591
  export type UserCountOutputTypeCountDocumentReviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
8834
9592
  where?: Prisma.DocumentReviewWhereInput;
8835
9593
  };
9594
+ /**
9595
+ * UserCountOutputType without action
9596
+ */
9597
+ export type UserCountOutputTypeCountDocumentApprovalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
9598
+ where?: Prisma.DocumentApprovalWhereInput;
9599
+ };
9600
+ /**
9601
+ * UserCountOutputType without action
9602
+ */
9603
+ export type UserCountOutputTypeCountCompletedStagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
9604
+ where?: Prisma.ApprovalStageProgressWhereInput;
9605
+ };
8836
9606
  /**
8837
9607
  * UserCountOutputType without action
8838
9608
  */
@@ -8890,6 +9660,8 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
8890
9660
  approvedRefunds?: boolean | Prisma.User$approvedRefundsArgs<ExtArgs>;
8891
9661
  processedRefunds?: boolean | Prisma.User$processedRefundsArgs<ExtArgs>;
8892
9662
  documentReviews?: boolean | Prisma.User$documentReviewsArgs<ExtArgs>;
9663
+ documentApprovals?: boolean | Prisma.User$documentApprovalsArgs<ExtArgs>;
9664
+ completedStages?: boolean | Prisma.User$completedStagesArgs<ExtArgs>;
8893
9665
  organizationMemberships?: boolean | Prisma.User$organizationMembershipsArgs<ExtArgs>;
8894
9666
  _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>;
8895
9667
  }, ExtArgs["result"]["user"]>;
@@ -8947,6 +9719,8 @@ export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
8947
9719
  approvedRefunds?: boolean | Prisma.User$approvedRefundsArgs<ExtArgs>;
8948
9720
  processedRefunds?: boolean | Prisma.User$processedRefundsArgs<ExtArgs>;
8949
9721
  documentReviews?: boolean | Prisma.User$documentReviewsArgs<ExtArgs>;
9722
+ documentApprovals?: boolean | Prisma.User$documentApprovalsArgs<ExtArgs>;
9723
+ completedStages?: boolean | Prisma.User$completedStagesArgs<ExtArgs>;
8950
9724
  organizationMemberships?: boolean | Prisma.User$organizationMembershipsArgs<ExtArgs>;
8951
9725
  _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>;
8952
9726
  };
@@ -8986,6 +9760,8 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
8986
9760
  approvedRefunds: Prisma.$ApplicationRefundPayload<ExtArgs>[];
8987
9761
  processedRefunds: Prisma.$ApplicationRefundPayload<ExtArgs>[];
8988
9762
  documentReviews: Prisma.$DocumentReviewPayload<ExtArgs>[];
9763
+ documentApprovals: Prisma.$DocumentApprovalPayload<ExtArgs>[];
9764
+ completedStages: Prisma.$ApprovalStageProgressPayload<ExtArgs>[];
8989
9765
  organizationMemberships: Prisma.$OrganizationMemberPayload<ExtArgs>[];
8990
9766
  };
8991
9767
  scalars: runtime.Types.Extensions.GetPayloadResult<{
@@ -9316,6 +10092,8 @@ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Typ
9316
10092
  approvedRefunds<T extends Prisma.User$approvedRefundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$approvedRefundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
9317
10093
  processedRefunds<T extends Prisma.User$processedRefundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$processedRefundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
9318
10094
  documentReviews<T extends Prisma.User$documentReviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$documentReviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
10095
+ documentApprovals<T extends Prisma.User$documentApprovalsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$documentApprovalsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentApprovalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
10096
+ completedStages<T extends Prisma.User$completedStagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$completedStagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalStageProgressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
9319
10097
  organizationMemberships<T extends Prisma.User$organizationMembershipsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$organizationMembershipsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
9320
10098
  /**
9321
10099
  * Attaches callbacks for the resolution and/or rejection of the Promise.
@@ -10435,6 +11213,52 @@ export type User$documentReviewsArgs<ExtArgs extends runtime.Types.Extensions.In
10435
11213
  skip?: number;
10436
11214
  distinct?: Prisma.DocumentReviewScalarFieldEnum | Prisma.DocumentReviewScalarFieldEnum[];
10437
11215
  };
11216
+ /**
11217
+ * User.documentApprovals
11218
+ */
11219
+ export type User$documentApprovalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
11220
+ /**
11221
+ * Select specific fields to fetch from the DocumentApproval
11222
+ */
11223
+ select?: Prisma.DocumentApprovalSelect<ExtArgs> | null;
11224
+ /**
11225
+ * Omit specific fields from the DocumentApproval
11226
+ */
11227
+ omit?: Prisma.DocumentApprovalOmit<ExtArgs> | null;
11228
+ /**
11229
+ * Choose, which related nodes to fetch as well
11230
+ */
11231
+ include?: Prisma.DocumentApprovalInclude<ExtArgs> | null;
11232
+ where?: Prisma.DocumentApprovalWhereInput;
11233
+ orderBy?: Prisma.DocumentApprovalOrderByWithRelationInput | Prisma.DocumentApprovalOrderByWithRelationInput[];
11234
+ cursor?: Prisma.DocumentApprovalWhereUniqueInput;
11235
+ take?: number;
11236
+ skip?: number;
11237
+ distinct?: Prisma.DocumentApprovalScalarFieldEnum | Prisma.DocumentApprovalScalarFieldEnum[];
11238
+ };
11239
+ /**
11240
+ * User.completedStages
11241
+ */
11242
+ export type User$completedStagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
11243
+ /**
11244
+ * Select specific fields to fetch from the ApprovalStageProgress
11245
+ */
11246
+ select?: Prisma.ApprovalStageProgressSelect<ExtArgs> | null;
11247
+ /**
11248
+ * Omit specific fields from the ApprovalStageProgress
11249
+ */
11250
+ omit?: Prisma.ApprovalStageProgressOmit<ExtArgs> | null;
11251
+ /**
11252
+ * Choose, which related nodes to fetch as well
11253
+ */
11254
+ include?: Prisma.ApprovalStageProgressInclude<ExtArgs> | null;
11255
+ where?: Prisma.ApprovalStageProgressWhereInput;
11256
+ orderBy?: Prisma.ApprovalStageProgressOrderByWithRelationInput | Prisma.ApprovalStageProgressOrderByWithRelationInput[];
11257
+ cursor?: Prisma.ApprovalStageProgressWhereUniqueInput;
11258
+ take?: number;
11259
+ skip?: number;
11260
+ distinct?: Prisma.ApprovalStageProgressScalarFieldEnum | Prisma.ApprovalStageProgressScalarFieldEnum[];
11261
+ };
10438
11262
  /**
10439
11263
  * User.organizationMemberships
10440
11264
  */