@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
@@ -204,6 +204,8 @@ export type TenantWhereInput = {
204
204
  workflowBlockers?: Prisma.WorkflowBlockerListRelationFilter;
205
205
  questionnairePlans?: Prisma.QuestionnairePlanListRelationFilter;
206
206
  documentReviews?: Prisma.DocumentReviewListRelationFilter;
207
+ approvalStageProgress?: Prisma.ApprovalStageProgressListRelationFilter;
208
+ documentApprovals?: Prisma.DocumentApprovalListRelationFilter;
207
209
  organizations?: Prisma.OrganizationListRelationFilter;
208
210
  };
209
211
  export type TenantOrderByWithRelationInput = {
@@ -271,6 +273,8 @@ export type TenantOrderByWithRelationInput = {
271
273
  workflowBlockers?: Prisma.WorkflowBlockerOrderByRelationAggregateInput;
272
274
  questionnairePlans?: Prisma.QuestionnairePlanOrderByRelationAggregateInput;
273
275
  documentReviews?: Prisma.DocumentReviewOrderByRelationAggregateInput;
276
+ approvalStageProgress?: Prisma.ApprovalStageProgressOrderByRelationAggregateInput;
277
+ documentApprovals?: Prisma.DocumentApprovalOrderByRelationAggregateInput;
274
278
  organizations?: Prisma.OrganizationOrderByRelationAggregateInput;
275
279
  _relevance?: Prisma.TenantOrderByRelevanceInput;
276
280
  };
@@ -342,6 +346,8 @@ export type TenantWhereUniqueInput = Prisma.AtLeast<{
342
346
  workflowBlockers?: Prisma.WorkflowBlockerListRelationFilter;
343
347
  questionnairePlans?: Prisma.QuestionnairePlanListRelationFilter;
344
348
  documentReviews?: Prisma.DocumentReviewListRelationFilter;
349
+ approvalStageProgress?: Prisma.ApprovalStageProgressListRelationFilter;
350
+ documentApprovals?: Prisma.DocumentApprovalListRelationFilter;
345
351
  organizations?: Prisma.OrganizationListRelationFilter;
346
352
  }, "id" | "subdomain">;
347
353
  export type TenantOrderByWithAggregationInput = {
@@ -431,6 +437,8 @@ export type TenantCreateInput = {
431
437
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
432
438
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
433
439
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
440
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
441
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
434
442
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
435
443
  };
436
444
  export type TenantUncheckedCreateInput = {
@@ -498,6 +506,8 @@ export type TenantUncheckedCreateInput = {
498
506
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
499
507
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
500
508
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
509
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
510
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
501
511
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
502
512
  };
503
513
  export type TenantUpdateInput = {
@@ -565,6 +575,8 @@ export type TenantUpdateInput = {
565
575
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
566
576
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
567
577
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
578
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
579
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
568
580
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
569
581
  };
570
582
  export type TenantUncheckedUpdateInput = {
@@ -632,6 +644,8 @@ export type TenantUncheckedUpdateInput = {
632
644
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
633
645
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
634
646
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
647
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
648
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
635
649
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
636
650
  };
637
651
  export type TenantCreateManyInput = {
@@ -1247,6 +1261,30 @@ export type TenantUpdateOneRequiredWithoutDocumentReviewsNestedInput = {
1247
1261
  connect?: Prisma.TenantWhereUniqueInput;
1248
1262
  update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutDocumentReviewsInput, Prisma.TenantUpdateWithoutDocumentReviewsInput>, Prisma.TenantUncheckedUpdateWithoutDocumentReviewsInput>;
1249
1263
  };
1264
+ export type TenantCreateNestedOneWithoutApprovalStageProgressInput = {
1265
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutApprovalStageProgressInput, Prisma.TenantUncheckedCreateWithoutApprovalStageProgressInput>;
1266
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutApprovalStageProgressInput;
1267
+ connect?: Prisma.TenantWhereUniqueInput;
1268
+ };
1269
+ export type TenantUpdateOneRequiredWithoutApprovalStageProgressNestedInput = {
1270
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutApprovalStageProgressInput, Prisma.TenantUncheckedCreateWithoutApprovalStageProgressInput>;
1271
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutApprovalStageProgressInput;
1272
+ upsert?: Prisma.TenantUpsertWithoutApprovalStageProgressInput;
1273
+ connect?: Prisma.TenantWhereUniqueInput;
1274
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutApprovalStageProgressInput, Prisma.TenantUpdateWithoutApprovalStageProgressInput>, Prisma.TenantUncheckedUpdateWithoutApprovalStageProgressInput>;
1275
+ };
1276
+ export type TenantCreateNestedOneWithoutDocumentApprovalsInput = {
1277
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutDocumentApprovalsInput, Prisma.TenantUncheckedCreateWithoutDocumentApprovalsInput>;
1278
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutDocumentApprovalsInput;
1279
+ connect?: Prisma.TenantWhereUniqueInput;
1280
+ };
1281
+ export type TenantUpdateOneRequiredWithoutDocumentApprovalsNestedInput = {
1282
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutDocumentApprovalsInput, Prisma.TenantUncheckedCreateWithoutDocumentApprovalsInput>;
1283
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutDocumentApprovalsInput;
1284
+ upsert?: Prisma.TenantUpsertWithoutDocumentApprovalsInput;
1285
+ connect?: Prisma.TenantWhereUniqueInput;
1286
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutDocumentApprovalsInput, Prisma.TenantUpdateWithoutDocumentApprovalsInput>, Prisma.TenantUncheckedUpdateWithoutDocumentApprovalsInput>;
1287
+ };
1250
1288
  export type TenantCreateNestedOneWithoutDocumentTemplatesInput = {
1251
1289
  create?: Prisma.XOR<Prisma.TenantCreateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedCreateWithoutDocumentTemplatesInput>;
1252
1290
  connectOrCreate?: Prisma.TenantCreateOrConnectWithoutDocumentTemplatesInput;
@@ -1479,6 +1517,8 @@ export type TenantCreateWithoutUsersInput = {
1479
1517
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
1480
1518
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
1481
1519
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
1520
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
1521
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
1482
1522
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
1483
1523
  };
1484
1524
  export type TenantUncheckedCreateWithoutUsersInput = {
@@ -1545,6 +1585,8 @@ export type TenantUncheckedCreateWithoutUsersInput = {
1545
1585
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
1546
1586
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
1547
1587
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
1588
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
1589
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
1548
1590
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
1549
1591
  };
1550
1592
  export type TenantCreateOrConnectWithoutUsersInput = {
@@ -1624,6 +1666,8 @@ export type TenantUpdateWithoutUsersInput = {
1624
1666
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
1625
1667
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
1626
1668
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
1669
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
1670
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
1627
1671
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
1628
1672
  };
1629
1673
  export type TenantUncheckedUpdateWithoutUsersInput = {
@@ -1690,6 +1734,8 @@ export type TenantUncheckedUpdateWithoutUsersInput = {
1690
1734
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
1691
1735
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
1692
1736
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
1737
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
1738
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
1693
1739
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
1694
1740
  };
1695
1741
  export type TenantCreateWithoutRolesInput = {
@@ -1756,6 +1802,8 @@ export type TenantCreateWithoutRolesInput = {
1756
1802
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
1757
1803
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
1758
1804
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
1805
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
1806
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
1759
1807
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
1760
1808
  };
1761
1809
  export type TenantUncheckedCreateWithoutRolesInput = {
@@ -1822,6 +1870,8 @@ export type TenantUncheckedCreateWithoutRolesInput = {
1822
1870
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
1823
1871
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
1824
1872
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
1873
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
1874
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
1825
1875
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
1826
1876
  };
1827
1877
  export type TenantCreateOrConnectWithoutRolesInput = {
@@ -1901,6 +1951,8 @@ export type TenantUpdateWithoutRolesInput = {
1901
1951
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
1902
1952
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
1903
1953
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
1954
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
1955
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
1904
1956
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
1905
1957
  };
1906
1958
  export type TenantUncheckedUpdateWithoutRolesInput = {
@@ -1967,6 +2019,8 @@ export type TenantUncheckedUpdateWithoutRolesInput = {
1967
2019
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
1968
2020
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
1969
2021
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
2022
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
2023
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
1970
2024
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
1971
2025
  };
1972
2026
  export type TenantCreateWithoutPermissionsInput = {
@@ -2033,6 +2087,8 @@ export type TenantCreateWithoutPermissionsInput = {
2033
2087
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
2034
2088
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
2035
2089
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
2090
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
2091
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
2036
2092
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
2037
2093
  };
2038
2094
  export type TenantUncheckedCreateWithoutPermissionsInput = {
@@ -2099,6 +2155,8 @@ export type TenantUncheckedCreateWithoutPermissionsInput = {
2099
2155
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
2100
2156
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
2101
2157
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
2158
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
2159
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
2102
2160
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
2103
2161
  };
2104
2162
  export type TenantCreateOrConnectWithoutPermissionsInput = {
@@ -2178,6 +2236,8 @@ export type TenantUpdateWithoutPermissionsInput = {
2178
2236
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
2179
2237
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
2180
2238
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
2239
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
2240
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
2181
2241
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
2182
2242
  };
2183
2243
  export type TenantUncheckedUpdateWithoutPermissionsInput = {
@@ -2244,6 +2304,8 @@ export type TenantUncheckedUpdateWithoutPermissionsInput = {
2244
2304
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
2245
2305
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
2246
2306
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
2307
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
2308
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
2247
2309
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
2248
2310
  };
2249
2311
  export type TenantCreateWithoutMembershipsInput = {
@@ -2310,6 +2372,8 @@ export type TenantCreateWithoutMembershipsInput = {
2310
2372
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
2311
2373
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
2312
2374
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
2375
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
2376
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
2313
2377
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
2314
2378
  };
2315
2379
  export type TenantUncheckedCreateWithoutMembershipsInput = {
@@ -2376,6 +2440,8 @@ export type TenantUncheckedCreateWithoutMembershipsInput = {
2376
2440
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
2377
2441
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
2378
2442
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
2443
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
2444
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
2379
2445
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
2380
2446
  };
2381
2447
  export type TenantCreateOrConnectWithoutMembershipsInput = {
@@ -2455,6 +2521,8 @@ export type TenantUpdateWithoutMembershipsInput = {
2455
2521
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
2456
2522
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
2457
2523
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
2524
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
2525
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
2458
2526
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
2459
2527
  };
2460
2528
  export type TenantUncheckedUpdateWithoutMembershipsInput = {
@@ -2521,6 +2589,8 @@ export type TenantUncheckedUpdateWithoutMembershipsInput = {
2521
2589
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
2522
2590
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
2523
2591
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
2592
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
2593
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
2524
2594
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
2525
2595
  };
2526
2596
  export type TenantCreateWithoutOrganizationsInput = {
@@ -2588,6 +2658,8 @@ export type TenantCreateWithoutOrganizationsInput = {
2588
2658
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
2589
2659
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
2590
2660
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
2661
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
2662
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
2591
2663
  };
2592
2664
  export type TenantUncheckedCreateWithoutOrganizationsInput = {
2593
2665
  id?: string;
@@ -2654,6 +2726,8 @@ export type TenantUncheckedCreateWithoutOrganizationsInput = {
2654
2726
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
2655
2727
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
2656
2728
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
2729
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
2730
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
2657
2731
  };
2658
2732
  export type TenantCreateOrConnectWithoutOrganizationsInput = {
2659
2733
  where: Prisma.TenantWhereUniqueInput;
@@ -2733,6 +2807,8 @@ export type TenantUpdateWithoutOrganizationsInput = {
2733
2807
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
2734
2808
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
2735
2809
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
2810
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
2811
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
2736
2812
  };
2737
2813
  export type TenantUncheckedUpdateWithoutOrganizationsInput = {
2738
2814
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2799,6 +2875,8 @@ export type TenantUncheckedUpdateWithoutOrganizationsInput = {
2799
2875
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
2800
2876
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
2801
2877
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
2878
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
2879
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
2802
2880
  };
2803
2881
  export type TenantCreateWithoutApiKeysInput = {
2804
2882
  id?: string;
@@ -2864,6 +2942,8 @@ export type TenantCreateWithoutApiKeysInput = {
2864
2942
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
2865
2943
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
2866
2944
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
2945
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
2946
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
2867
2947
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
2868
2948
  };
2869
2949
  export type TenantUncheckedCreateWithoutApiKeysInput = {
@@ -2930,6 +3010,8 @@ export type TenantUncheckedCreateWithoutApiKeysInput = {
2930
3010
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
2931
3011
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
2932
3012
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
3013
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
3014
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
2933
3015
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
2934
3016
  };
2935
3017
  export type TenantCreateOrConnectWithoutApiKeysInput = {
@@ -3009,6 +3091,8 @@ export type TenantUpdateWithoutApiKeysInput = {
3009
3091
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
3010
3092
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
3011
3093
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
3094
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
3095
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
3012
3096
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
3013
3097
  };
3014
3098
  export type TenantUncheckedUpdateWithoutApiKeysInput = {
@@ -3075,6 +3159,8 @@ export type TenantUncheckedUpdateWithoutApiKeysInput = {
3075
3159
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
3076
3160
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
3077
3161
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
3162
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
3163
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
3078
3164
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
3079
3165
  };
3080
3166
  export type TenantCreateWithoutSocialsInput = {
@@ -3141,6 +3227,8 @@ export type TenantCreateWithoutSocialsInput = {
3141
3227
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
3142
3228
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
3143
3229
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
3230
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
3231
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
3144
3232
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
3145
3233
  };
3146
3234
  export type TenantUncheckedCreateWithoutSocialsInput = {
@@ -3207,6 +3295,8 @@ export type TenantUncheckedCreateWithoutSocialsInput = {
3207
3295
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
3208
3296
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
3209
3297
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
3298
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
3299
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
3210
3300
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
3211
3301
  };
3212
3302
  export type TenantCreateOrConnectWithoutSocialsInput = {
@@ -3286,6 +3376,8 @@ export type TenantUpdateWithoutSocialsInput = {
3286
3376
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
3287
3377
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
3288
3378
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
3379
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
3380
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
3289
3381
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
3290
3382
  };
3291
3383
  export type TenantUncheckedUpdateWithoutSocialsInput = {
@@ -3352,6 +3444,8 @@ export type TenantUncheckedUpdateWithoutSocialsInput = {
3352
3444
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
3353
3445
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
3354
3446
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
3447
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
3448
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
3355
3449
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
3356
3450
  };
3357
3451
  export type TenantCreateWithoutWalletsInput = {
@@ -3418,6 +3512,8 @@ export type TenantCreateWithoutWalletsInput = {
3418
3512
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
3419
3513
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
3420
3514
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
3515
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
3516
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
3421
3517
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
3422
3518
  };
3423
3519
  export type TenantUncheckedCreateWithoutWalletsInput = {
@@ -3484,6 +3580,8 @@ export type TenantUncheckedCreateWithoutWalletsInput = {
3484
3580
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
3485
3581
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
3486
3582
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
3583
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
3584
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
3487
3585
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
3488
3586
  };
3489
3587
  export type TenantCreateOrConnectWithoutWalletsInput = {
@@ -3563,6 +3661,8 @@ export type TenantUpdateWithoutWalletsInput = {
3563
3661
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
3564
3662
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
3565
3663
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
3664
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
3665
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
3566
3666
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
3567
3667
  };
3568
3668
  export type TenantUncheckedUpdateWithoutWalletsInput = {
@@ -3629,6 +3729,8 @@ export type TenantUncheckedUpdateWithoutWalletsInput = {
3629
3729
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
3630
3730
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
3631
3731
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
3732
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
3733
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
3632
3734
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
3633
3735
  };
3634
3736
  export type TenantCreateWithoutTransactionsInput = {
@@ -3695,6 +3797,8 @@ export type TenantCreateWithoutTransactionsInput = {
3695
3797
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
3696
3798
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
3697
3799
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
3800
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
3801
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
3698
3802
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
3699
3803
  };
3700
3804
  export type TenantUncheckedCreateWithoutTransactionsInput = {
@@ -3761,6 +3865,8 @@ export type TenantUncheckedCreateWithoutTransactionsInput = {
3761
3865
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
3762
3866
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
3763
3867
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
3868
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
3869
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
3764
3870
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
3765
3871
  };
3766
3872
  export type TenantCreateOrConnectWithoutTransactionsInput = {
@@ -3840,6 +3946,8 @@ export type TenantUpdateWithoutTransactionsInput = {
3840
3946
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
3841
3947
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
3842
3948
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
3949
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
3950
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
3843
3951
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
3844
3952
  };
3845
3953
  export type TenantUncheckedUpdateWithoutTransactionsInput = {
@@ -3906,6 +4014,8 @@ export type TenantUncheckedUpdateWithoutTransactionsInput = {
3906
4014
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
3907
4015
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
3908
4016
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
4017
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
4018
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
3909
4019
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
3910
4020
  };
3911
4021
  export type TenantCreateWithoutSettingsInput = {
@@ -3972,6 +4082,8 @@ export type TenantCreateWithoutSettingsInput = {
3972
4082
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
3973
4083
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
3974
4084
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
4085
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
4086
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
3975
4087
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
3976
4088
  };
3977
4089
  export type TenantUncheckedCreateWithoutSettingsInput = {
@@ -4038,6 +4150,8 @@ export type TenantUncheckedCreateWithoutSettingsInput = {
4038
4150
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
4039
4151
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
4040
4152
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
4153
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
4154
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
4041
4155
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
4042
4156
  };
4043
4157
  export type TenantCreateOrConnectWithoutSettingsInput = {
@@ -4117,6 +4231,8 @@ export type TenantUpdateWithoutSettingsInput = {
4117
4231
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
4118
4232
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
4119
4233
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
4234
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
4235
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
4120
4236
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
4121
4237
  };
4122
4238
  export type TenantUncheckedUpdateWithoutSettingsInput = {
@@ -4183,6 +4299,8 @@ export type TenantUncheckedUpdateWithoutSettingsInput = {
4183
4299
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
4184
4300
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
4185
4301
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
4302
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
4303
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
4186
4304
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
4187
4305
  };
4188
4306
  export type TenantCreateWithoutPropertiesInput = {
@@ -4249,6 +4367,8 @@ export type TenantCreateWithoutPropertiesInput = {
4249
4367
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
4250
4368
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
4251
4369
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
4370
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
4371
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
4252
4372
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
4253
4373
  };
4254
4374
  export type TenantUncheckedCreateWithoutPropertiesInput = {
@@ -4315,6 +4435,8 @@ export type TenantUncheckedCreateWithoutPropertiesInput = {
4315
4435
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
4316
4436
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
4317
4437
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
4438
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
4439
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
4318
4440
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
4319
4441
  };
4320
4442
  export type TenantCreateOrConnectWithoutPropertiesInput = {
@@ -4394,6 +4516,8 @@ export type TenantUpdateWithoutPropertiesInput = {
4394
4516
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
4395
4517
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
4396
4518
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
4519
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
4520
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
4397
4521
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
4398
4522
  };
4399
4523
  export type TenantUncheckedUpdateWithoutPropertiesInput = {
@@ -4460,6 +4584,8 @@ export type TenantUncheckedUpdateWithoutPropertiesInput = {
4460
4584
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
4461
4585
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
4462
4586
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
4587
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
4588
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
4463
4589
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
4464
4590
  };
4465
4591
  export type TenantCreateWithoutPropertyMediaInput = {
@@ -4526,6 +4652,8 @@ export type TenantCreateWithoutPropertyMediaInput = {
4526
4652
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
4527
4653
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
4528
4654
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
4655
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
4656
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
4529
4657
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
4530
4658
  };
4531
4659
  export type TenantUncheckedCreateWithoutPropertyMediaInput = {
@@ -4592,6 +4720,8 @@ export type TenantUncheckedCreateWithoutPropertyMediaInput = {
4592
4720
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
4593
4721
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
4594
4722
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
4723
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
4724
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
4595
4725
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
4596
4726
  };
4597
4727
  export type TenantCreateOrConnectWithoutPropertyMediaInput = {
@@ -4671,6 +4801,8 @@ export type TenantUpdateWithoutPropertyMediaInput = {
4671
4801
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
4672
4802
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
4673
4803
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
4804
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
4805
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
4674
4806
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
4675
4807
  };
4676
4808
  export type TenantUncheckedUpdateWithoutPropertyMediaInput = {
@@ -4737,6 +4869,8 @@ export type TenantUncheckedUpdateWithoutPropertyMediaInput = {
4737
4869
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
4738
4870
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
4739
4871
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
4872
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
4873
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
4740
4874
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
4741
4875
  };
4742
4876
  export type TenantCreateWithoutPropertyDocumentsInput = {
@@ -4803,6 +4937,8 @@ export type TenantCreateWithoutPropertyDocumentsInput = {
4803
4937
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
4804
4938
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
4805
4939
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
4940
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
4941
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
4806
4942
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
4807
4943
  };
4808
4944
  export type TenantUncheckedCreateWithoutPropertyDocumentsInput = {
@@ -4869,6 +5005,8 @@ export type TenantUncheckedCreateWithoutPropertyDocumentsInput = {
4869
5005
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
4870
5006
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
4871
5007
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
5008
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
5009
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
4872
5010
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
4873
5011
  };
4874
5012
  export type TenantCreateOrConnectWithoutPropertyDocumentsInput = {
@@ -4948,6 +5086,8 @@ export type TenantUpdateWithoutPropertyDocumentsInput = {
4948
5086
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
4949
5087
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
4950
5088
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
5089
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
5090
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
4951
5091
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
4952
5092
  };
4953
5093
  export type TenantUncheckedUpdateWithoutPropertyDocumentsInput = {
@@ -5014,6 +5154,8 @@ export type TenantUncheckedUpdateWithoutPropertyDocumentsInput = {
5014
5154
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
5015
5155
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
5016
5156
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
5157
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
5158
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
5017
5159
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
5018
5160
  };
5019
5161
  export type TenantCreateWithoutAmenitiesInput = {
@@ -5080,6 +5222,8 @@ export type TenantCreateWithoutAmenitiesInput = {
5080
5222
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
5081
5223
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
5082
5224
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
5225
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
5226
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
5083
5227
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
5084
5228
  };
5085
5229
  export type TenantUncheckedCreateWithoutAmenitiesInput = {
@@ -5146,6 +5290,8 @@ export type TenantUncheckedCreateWithoutAmenitiesInput = {
5146
5290
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
5147
5291
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
5148
5292
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
5293
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
5294
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
5149
5295
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
5150
5296
  };
5151
5297
  export type TenantCreateOrConnectWithoutAmenitiesInput = {
@@ -5225,6 +5371,8 @@ export type TenantUpdateWithoutAmenitiesInput = {
5225
5371
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
5226
5372
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
5227
5373
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
5374
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
5375
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
5228
5376
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
5229
5377
  };
5230
5378
  export type TenantUncheckedUpdateWithoutAmenitiesInput = {
@@ -5291,6 +5439,8 @@ export type TenantUncheckedUpdateWithoutAmenitiesInput = {
5291
5439
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
5292
5440
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
5293
5441
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
5442
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
5443
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
5294
5444
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
5295
5445
  };
5296
5446
  export type TenantCreateWithoutPropertyVariantsInput = {
@@ -5357,6 +5507,8 @@ export type TenantCreateWithoutPropertyVariantsInput = {
5357
5507
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
5358
5508
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
5359
5509
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
5510
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
5511
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
5360
5512
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
5361
5513
  };
5362
5514
  export type TenantUncheckedCreateWithoutPropertyVariantsInput = {
@@ -5423,6 +5575,8 @@ export type TenantUncheckedCreateWithoutPropertyVariantsInput = {
5423
5575
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
5424
5576
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
5425
5577
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
5578
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
5579
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
5426
5580
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
5427
5581
  };
5428
5582
  export type TenantCreateOrConnectWithoutPropertyVariantsInput = {
@@ -5502,6 +5656,8 @@ export type TenantUpdateWithoutPropertyVariantsInput = {
5502
5656
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
5503
5657
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
5504
5658
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
5659
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
5660
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
5505
5661
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
5506
5662
  };
5507
5663
  export type TenantUncheckedUpdateWithoutPropertyVariantsInput = {
@@ -5568,6 +5724,8 @@ export type TenantUncheckedUpdateWithoutPropertyVariantsInput = {
5568
5724
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
5569
5725
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
5570
5726
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
5727
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
5728
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
5571
5729
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
5572
5730
  };
5573
5731
  export type TenantCreateWithoutPropertyVariantAmenitiesInput = {
@@ -5634,6 +5792,8 @@ export type TenantCreateWithoutPropertyVariantAmenitiesInput = {
5634
5792
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
5635
5793
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
5636
5794
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
5795
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
5796
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
5637
5797
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
5638
5798
  };
5639
5799
  export type TenantUncheckedCreateWithoutPropertyVariantAmenitiesInput = {
@@ -5700,6 +5860,8 @@ export type TenantUncheckedCreateWithoutPropertyVariantAmenitiesInput = {
5700
5860
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
5701
5861
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
5702
5862
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
5863
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
5864
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
5703
5865
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
5704
5866
  };
5705
5867
  export type TenantCreateOrConnectWithoutPropertyVariantAmenitiesInput = {
@@ -5779,6 +5941,8 @@ export type TenantUpdateWithoutPropertyVariantAmenitiesInput = {
5779
5941
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
5780
5942
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
5781
5943
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
5944
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
5945
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
5782
5946
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
5783
5947
  };
5784
5948
  export type TenantUncheckedUpdateWithoutPropertyVariantAmenitiesInput = {
@@ -5845,6 +6009,8 @@ export type TenantUncheckedUpdateWithoutPropertyVariantAmenitiesInput = {
5845
6009
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
5846
6010
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
5847
6011
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
6012
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
6013
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
5848
6014
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
5849
6015
  };
5850
6016
  export type TenantCreateWithoutPropertyVariantMediaInput = {
@@ -5911,6 +6077,8 @@ export type TenantCreateWithoutPropertyVariantMediaInput = {
5911
6077
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
5912
6078
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
5913
6079
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
6080
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
6081
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
5914
6082
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
5915
6083
  };
5916
6084
  export type TenantUncheckedCreateWithoutPropertyVariantMediaInput = {
@@ -5977,6 +6145,8 @@ export type TenantUncheckedCreateWithoutPropertyVariantMediaInput = {
5977
6145
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
5978
6146
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
5979
6147
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
6148
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
6149
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
5980
6150
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
5981
6151
  };
5982
6152
  export type TenantCreateOrConnectWithoutPropertyVariantMediaInput = {
@@ -6056,6 +6226,8 @@ export type TenantUpdateWithoutPropertyVariantMediaInput = {
6056
6226
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
6057
6227
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
6058
6228
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
6229
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
6230
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
6059
6231
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
6060
6232
  };
6061
6233
  export type TenantUncheckedUpdateWithoutPropertyVariantMediaInput = {
@@ -6122,6 +6294,8 @@ export type TenantUncheckedUpdateWithoutPropertyVariantMediaInput = {
6122
6294
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
6123
6295
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
6124
6296
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
6297
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
6298
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
6125
6299
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
6126
6300
  };
6127
6301
  export type TenantCreateWithoutPropertyUnitsInput = {
@@ -6188,6 +6362,8 @@ export type TenantCreateWithoutPropertyUnitsInput = {
6188
6362
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
6189
6363
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
6190
6364
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
6365
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
6366
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
6191
6367
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
6192
6368
  };
6193
6369
  export type TenantUncheckedCreateWithoutPropertyUnitsInput = {
@@ -6254,6 +6430,8 @@ export type TenantUncheckedCreateWithoutPropertyUnitsInput = {
6254
6430
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
6255
6431
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
6256
6432
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
6433
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
6434
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
6257
6435
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
6258
6436
  };
6259
6437
  export type TenantCreateOrConnectWithoutPropertyUnitsInput = {
@@ -6333,6 +6511,8 @@ export type TenantUpdateWithoutPropertyUnitsInput = {
6333
6511
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
6334
6512
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
6335
6513
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
6514
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
6515
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
6336
6516
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
6337
6517
  };
6338
6518
  export type TenantUncheckedUpdateWithoutPropertyUnitsInput = {
@@ -6399,6 +6579,8 @@ export type TenantUncheckedUpdateWithoutPropertyUnitsInput = {
6399
6579
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
6400
6580
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
6401
6581
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
6582
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
6583
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
6402
6584
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
6403
6585
  };
6404
6586
  export type TenantCreateWithoutPropertyAmenitiesInput = {
@@ -6465,6 +6647,8 @@ export type TenantCreateWithoutPropertyAmenitiesInput = {
6465
6647
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
6466
6648
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
6467
6649
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
6650
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
6651
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
6468
6652
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
6469
6653
  };
6470
6654
  export type TenantUncheckedCreateWithoutPropertyAmenitiesInput = {
@@ -6531,6 +6715,8 @@ export type TenantUncheckedCreateWithoutPropertyAmenitiesInput = {
6531
6715
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
6532
6716
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
6533
6717
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
6718
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
6719
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
6534
6720
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
6535
6721
  };
6536
6722
  export type TenantCreateOrConnectWithoutPropertyAmenitiesInput = {
@@ -6610,6 +6796,8 @@ export type TenantUpdateWithoutPropertyAmenitiesInput = {
6610
6796
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
6611
6797
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
6612
6798
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
6799
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
6800
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
6613
6801
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
6614
6802
  };
6615
6803
  export type TenantUncheckedUpdateWithoutPropertyAmenitiesInput = {
@@ -6676,6 +6864,8 @@ export type TenantUncheckedUpdateWithoutPropertyAmenitiesInput = {
6676
6864
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
6677
6865
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
6678
6866
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
6867
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
6868
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
6679
6869
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
6680
6870
  };
6681
6871
  export type TenantCreateWithoutDocumentationPlansInput = {
@@ -6742,6 +6932,8 @@ export type TenantCreateWithoutDocumentationPlansInput = {
6742
6932
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
6743
6933
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
6744
6934
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
6935
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
6936
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
6745
6937
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
6746
6938
  };
6747
6939
  export type TenantUncheckedCreateWithoutDocumentationPlansInput = {
@@ -6808,6 +7000,8 @@ export type TenantUncheckedCreateWithoutDocumentationPlansInput = {
6808
7000
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
6809
7001
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
6810
7002
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
7003
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
7004
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
6811
7005
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
6812
7006
  };
6813
7007
  export type TenantCreateOrConnectWithoutDocumentationPlansInput = {
@@ -6887,6 +7081,8 @@ export type TenantUpdateWithoutDocumentationPlansInput = {
6887
7081
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
6888
7082
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
6889
7083
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
7084
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
7085
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
6890
7086
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
6891
7087
  };
6892
7088
  export type TenantUncheckedUpdateWithoutDocumentationPlansInput = {
@@ -6953,6 +7149,8 @@ export type TenantUncheckedUpdateWithoutDocumentationPlansInput = {
6953
7149
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
6954
7150
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
6955
7151
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
7152
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
7153
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
6956
7154
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
6957
7155
  };
6958
7156
  export type TenantCreateWithoutQuestionnairePlansInput = {
@@ -7019,6 +7217,8 @@ export type TenantCreateWithoutQuestionnairePlansInput = {
7019
7217
  domainEvents?: Prisma.DomainEventCreateNestedManyWithoutTenantInput;
7020
7218
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
7021
7219
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
7220
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
7221
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
7022
7222
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
7023
7223
  };
7024
7224
  export type TenantUncheckedCreateWithoutQuestionnairePlansInput = {
@@ -7085,6 +7285,8 @@ export type TenantUncheckedCreateWithoutQuestionnairePlansInput = {
7085
7285
  domainEvents?: Prisma.DomainEventUncheckedCreateNestedManyWithoutTenantInput;
7086
7286
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
7087
7287
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
7288
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
7289
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
7088
7290
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
7089
7291
  };
7090
7292
  export type TenantCreateOrConnectWithoutQuestionnairePlansInput = {
@@ -7164,6 +7366,8 @@ export type TenantUpdateWithoutQuestionnairePlansInput = {
7164
7366
  domainEvents?: Prisma.DomainEventUpdateManyWithoutTenantNestedInput;
7165
7367
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
7166
7368
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
7369
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
7370
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
7167
7371
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
7168
7372
  };
7169
7373
  export type TenantUncheckedUpdateWithoutQuestionnairePlansInput = {
@@ -7230,6 +7434,8 @@ export type TenantUncheckedUpdateWithoutQuestionnairePlansInput = {
7230
7434
  domainEvents?: Prisma.DomainEventUncheckedUpdateManyWithoutTenantNestedInput;
7231
7435
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
7232
7436
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
7437
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
7438
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
7233
7439
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
7234
7440
  };
7235
7441
  export type TenantCreateWithoutPaymentPlansInput = {
@@ -7296,6 +7502,8 @@ export type TenantCreateWithoutPaymentPlansInput = {
7296
7502
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
7297
7503
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
7298
7504
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
7505
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
7506
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
7299
7507
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
7300
7508
  };
7301
7509
  export type TenantUncheckedCreateWithoutPaymentPlansInput = {
@@ -7362,6 +7570,8 @@ export type TenantUncheckedCreateWithoutPaymentPlansInput = {
7362
7570
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
7363
7571
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
7364
7572
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
7573
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
7574
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
7365
7575
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
7366
7576
  };
7367
7577
  export type TenantCreateOrConnectWithoutPaymentPlansInput = {
@@ -7441,6 +7651,8 @@ export type TenantUpdateWithoutPaymentPlansInput = {
7441
7651
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
7442
7652
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
7443
7653
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
7654
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
7655
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
7444
7656
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
7445
7657
  };
7446
7658
  export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
@@ -7507,6 +7719,8 @@ export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
7507
7719
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
7508
7720
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
7509
7721
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
7722
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
7723
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
7510
7724
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
7511
7725
  };
7512
7726
  export type TenantCreateWithoutPaymentMethodsInput = {
@@ -7573,6 +7787,8 @@ export type TenantCreateWithoutPaymentMethodsInput = {
7573
7787
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
7574
7788
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
7575
7789
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
7790
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
7791
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
7576
7792
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
7577
7793
  };
7578
7794
  export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
@@ -7639,6 +7855,8 @@ export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
7639
7855
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
7640
7856
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
7641
7857
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
7858
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
7859
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
7642
7860
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
7643
7861
  };
7644
7862
  export type TenantCreateOrConnectWithoutPaymentMethodsInput = {
@@ -7718,6 +7936,8 @@ export type TenantUpdateWithoutPaymentMethodsInput = {
7718
7936
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
7719
7937
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
7720
7938
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
7939
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
7940
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
7721
7941
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
7722
7942
  };
7723
7943
  export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
@@ -7784,6 +8004,8 @@ export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
7784
8004
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
7785
8005
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
7786
8006
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
8007
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
8008
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
7787
8009
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
7788
8010
  };
7789
8011
  export type TenantCreateWithoutPropertyPaymentMethodLinksInput = {
@@ -7850,6 +8072,8 @@ export type TenantCreateWithoutPropertyPaymentMethodLinksInput = {
7850
8072
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
7851
8073
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
7852
8074
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
8075
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
8076
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
7853
8077
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
7854
8078
  };
7855
8079
  export type TenantUncheckedCreateWithoutPropertyPaymentMethodLinksInput = {
@@ -7916,6 +8140,8 @@ export type TenantUncheckedCreateWithoutPropertyPaymentMethodLinksInput = {
7916
8140
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
7917
8141
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
7918
8142
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
8143
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
8144
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
7919
8145
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
7920
8146
  };
7921
8147
  export type TenantCreateOrConnectWithoutPropertyPaymentMethodLinksInput = {
@@ -7995,6 +8221,8 @@ export type TenantUpdateWithoutPropertyPaymentMethodLinksInput = {
7995
8221
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
7996
8222
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
7997
8223
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
8224
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
8225
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
7998
8226
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
7999
8227
  };
8000
8228
  export type TenantUncheckedUpdateWithoutPropertyPaymentMethodLinksInput = {
@@ -8061,6 +8289,8 @@ export type TenantUncheckedUpdateWithoutPropertyPaymentMethodLinksInput = {
8061
8289
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
8062
8290
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
8063
8291
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
8292
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
8293
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
8064
8294
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
8065
8295
  };
8066
8296
  export type TenantCreateWithoutPropertyPaymentMethodPhasesInput = {
@@ -8127,6 +8357,8 @@ export type TenantCreateWithoutPropertyPaymentMethodPhasesInput = {
8127
8357
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
8128
8358
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
8129
8359
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
8360
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
8361
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
8130
8362
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
8131
8363
  };
8132
8364
  export type TenantUncheckedCreateWithoutPropertyPaymentMethodPhasesInput = {
@@ -8193,6 +8425,8 @@ export type TenantUncheckedCreateWithoutPropertyPaymentMethodPhasesInput = {
8193
8425
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
8194
8426
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
8195
8427
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
8428
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
8429
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
8196
8430
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
8197
8431
  };
8198
8432
  export type TenantCreateOrConnectWithoutPropertyPaymentMethodPhasesInput = {
@@ -8272,6 +8506,8 @@ export type TenantUpdateWithoutPropertyPaymentMethodPhasesInput = {
8272
8506
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
8273
8507
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
8274
8508
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
8509
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
8510
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
8275
8511
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
8276
8512
  };
8277
8513
  export type TenantUncheckedUpdateWithoutPropertyPaymentMethodPhasesInput = {
@@ -8338,6 +8574,8 @@ export type TenantUncheckedUpdateWithoutPropertyPaymentMethodPhasesInput = {
8338
8574
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
8339
8575
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
8340
8576
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
8577
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
8578
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
8341
8579
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
8342
8580
  };
8343
8581
  export type TenantCreateWithoutPhaseEventAttachmentsInput = {
@@ -8404,6 +8642,8 @@ export type TenantCreateWithoutPhaseEventAttachmentsInput = {
8404
8642
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
8405
8643
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
8406
8644
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
8645
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
8646
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
8407
8647
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
8408
8648
  };
8409
8649
  export type TenantUncheckedCreateWithoutPhaseEventAttachmentsInput = {
@@ -8470,6 +8710,8 @@ export type TenantUncheckedCreateWithoutPhaseEventAttachmentsInput = {
8470
8710
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
8471
8711
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
8472
8712
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
8713
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
8714
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
8473
8715
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
8474
8716
  };
8475
8717
  export type TenantCreateOrConnectWithoutPhaseEventAttachmentsInput = {
@@ -8549,6 +8791,8 @@ export type TenantUpdateWithoutPhaseEventAttachmentsInput = {
8549
8791
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
8550
8792
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
8551
8793
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
8794
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
8795
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
8552
8796
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
8553
8797
  };
8554
8798
  export type TenantUncheckedUpdateWithoutPhaseEventAttachmentsInput = {
@@ -8615,6 +8859,8 @@ export type TenantUncheckedUpdateWithoutPhaseEventAttachmentsInput = {
8615
8859
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
8616
8860
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
8617
8861
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
8862
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
8863
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
8618
8864
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
8619
8865
  };
8620
8866
  export type TenantCreateWithoutPaymentMethodPhaseStepsInput = {
@@ -8681,6 +8927,8 @@ export type TenantCreateWithoutPaymentMethodPhaseStepsInput = {
8681
8927
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
8682
8928
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
8683
8929
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
8930
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
8931
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
8684
8932
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
8685
8933
  };
8686
8934
  export type TenantUncheckedCreateWithoutPaymentMethodPhaseStepsInput = {
@@ -8747,6 +8995,8 @@ export type TenantUncheckedCreateWithoutPaymentMethodPhaseStepsInput = {
8747
8995
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
8748
8996
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
8749
8997
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
8998
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
8999
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
8750
9000
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
8751
9001
  };
8752
9002
  export type TenantCreateOrConnectWithoutPaymentMethodPhaseStepsInput = {
@@ -8826,6 +9076,8 @@ export type TenantUpdateWithoutPaymentMethodPhaseStepsInput = {
8826
9076
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
8827
9077
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
8828
9078
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
9079
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
9080
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
8829
9081
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
8830
9082
  };
8831
9083
  export type TenantUncheckedUpdateWithoutPaymentMethodPhaseStepsInput = {
@@ -8892,6 +9144,8 @@ export type TenantUncheckedUpdateWithoutPaymentMethodPhaseStepsInput = {
8892
9144
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
8893
9145
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
8894
9146
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
9147
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
9148
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
8895
9149
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
8896
9150
  };
8897
9151
  export type TenantCreateWithoutStepEventAttachmentsInput = {
@@ -8958,6 +9212,8 @@ export type TenantCreateWithoutStepEventAttachmentsInput = {
8958
9212
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
8959
9213
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
8960
9214
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
9215
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
9216
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
8961
9217
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
8962
9218
  };
8963
9219
  export type TenantUncheckedCreateWithoutStepEventAttachmentsInput = {
@@ -9024,6 +9280,8 @@ export type TenantUncheckedCreateWithoutStepEventAttachmentsInput = {
9024
9280
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
9025
9281
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
9026
9282
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
9283
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
9284
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
9027
9285
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
9028
9286
  };
9029
9287
  export type TenantCreateOrConnectWithoutStepEventAttachmentsInput = {
@@ -9103,6 +9361,8 @@ export type TenantUpdateWithoutStepEventAttachmentsInput = {
9103
9361
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
9104
9362
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
9105
9363
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
9364
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
9365
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
9106
9366
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
9107
9367
  };
9108
9368
  export type TenantUncheckedUpdateWithoutStepEventAttachmentsInput = {
@@ -9169,6 +9429,8 @@ export type TenantUncheckedUpdateWithoutStepEventAttachmentsInput = {
9169
9429
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
9170
9430
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
9171
9431
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
9432
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
9433
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
9172
9434
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
9173
9435
  };
9174
9436
  export type TenantCreateWithoutPaymentMethodPhaseDocumentsInput = {
@@ -9235,6 +9497,8 @@ export type TenantCreateWithoutPaymentMethodPhaseDocumentsInput = {
9235
9497
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
9236
9498
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
9237
9499
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
9500
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
9501
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
9238
9502
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
9239
9503
  };
9240
9504
  export type TenantUncheckedCreateWithoutPaymentMethodPhaseDocumentsInput = {
@@ -9301,6 +9565,8 @@ export type TenantUncheckedCreateWithoutPaymentMethodPhaseDocumentsInput = {
9301
9565
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
9302
9566
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
9303
9567
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
9568
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
9569
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
9304
9570
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
9305
9571
  };
9306
9572
  export type TenantCreateOrConnectWithoutPaymentMethodPhaseDocumentsInput = {
@@ -9380,6 +9646,8 @@ export type TenantUpdateWithoutPaymentMethodPhaseDocumentsInput = {
9380
9646
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
9381
9647
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
9382
9648
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
9649
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
9650
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
9383
9651
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
9384
9652
  };
9385
9653
  export type TenantUncheckedUpdateWithoutPaymentMethodPhaseDocumentsInput = {
@@ -9446,6 +9714,8 @@ export type TenantUncheckedUpdateWithoutPaymentMethodPhaseDocumentsInput = {
9446
9714
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
9447
9715
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
9448
9716
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
9717
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
9718
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
9449
9719
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
9450
9720
  };
9451
9721
  export type TenantCreateWithoutPaymentMethodPhaseFieldsInput = {
@@ -9512,6 +9782,8 @@ export type TenantCreateWithoutPaymentMethodPhaseFieldsInput = {
9512
9782
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
9513
9783
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
9514
9784
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
9785
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
9786
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
9515
9787
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
9516
9788
  };
9517
9789
  export type TenantUncheckedCreateWithoutPaymentMethodPhaseFieldsInput = {
@@ -9578,6 +9850,8 @@ export type TenantUncheckedCreateWithoutPaymentMethodPhaseFieldsInput = {
9578
9850
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
9579
9851
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
9580
9852
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
9853
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
9854
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
9581
9855
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
9582
9856
  };
9583
9857
  export type TenantCreateOrConnectWithoutPaymentMethodPhaseFieldsInput = {
@@ -9657,6 +9931,8 @@ export type TenantUpdateWithoutPaymentMethodPhaseFieldsInput = {
9657
9931
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
9658
9932
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
9659
9933
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
9934
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
9935
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
9660
9936
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
9661
9937
  };
9662
9938
  export type TenantUncheckedUpdateWithoutPaymentMethodPhaseFieldsInput = {
@@ -9723,6 +9999,8 @@ export type TenantUncheckedUpdateWithoutPaymentMethodPhaseFieldsInput = {
9723
9999
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
9724
10000
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
9725
10001
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
10002
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
10003
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
9726
10004
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
9727
10005
  };
9728
10006
  export type TenantCreateWithoutApplicationsInput = {
@@ -9789,6 +10067,8 @@ export type TenantCreateWithoutApplicationsInput = {
9789
10067
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
9790
10068
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
9791
10069
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
10070
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
10071
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
9792
10072
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
9793
10073
  };
9794
10074
  export type TenantUncheckedCreateWithoutApplicationsInput = {
@@ -9855,6 +10135,8 @@ export type TenantUncheckedCreateWithoutApplicationsInput = {
9855
10135
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
9856
10136
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
9857
10137
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
10138
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
10139
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
9858
10140
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
9859
10141
  };
9860
10142
  export type TenantCreateOrConnectWithoutApplicationsInput = {
@@ -9934,6 +10216,8 @@ export type TenantUpdateWithoutApplicationsInput = {
9934
10216
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
9935
10217
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
9936
10218
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
10219
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
10220
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
9937
10221
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
9938
10222
  };
9939
10223
  export type TenantUncheckedUpdateWithoutApplicationsInput = {
@@ -10000,6 +10284,8 @@ export type TenantUncheckedUpdateWithoutApplicationsInput = {
10000
10284
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
10001
10285
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
10002
10286
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
10287
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
10288
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
10003
10289
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
10004
10290
  };
10005
10291
  export type TenantCreateWithoutContractRefundsInput = {
@@ -10066,6 +10352,8 @@ export type TenantCreateWithoutContractRefundsInput = {
10066
10352
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
10067
10353
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
10068
10354
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
10355
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
10356
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
10069
10357
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
10070
10358
  };
10071
10359
  export type TenantUncheckedCreateWithoutContractRefundsInput = {
@@ -10132,6 +10420,8 @@ export type TenantUncheckedCreateWithoutContractRefundsInput = {
10132
10420
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
10133
10421
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
10134
10422
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
10423
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
10424
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
10135
10425
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
10136
10426
  };
10137
10427
  export type TenantCreateOrConnectWithoutContractRefundsInput = {
@@ -10211,6 +10501,8 @@ export type TenantUpdateWithoutContractRefundsInput = {
10211
10501
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
10212
10502
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
10213
10503
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
10504
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
10505
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
10214
10506
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
10215
10507
  };
10216
10508
  export type TenantUncheckedUpdateWithoutContractRefundsInput = {
@@ -10277,6 +10569,8 @@ export type TenantUncheckedUpdateWithoutContractRefundsInput = {
10277
10569
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
10278
10570
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
10279
10571
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
10572
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
10573
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
10280
10574
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
10281
10575
  };
10282
10576
  export type TenantCreateWithoutApplicationPhasesInput = {
@@ -10343,6 +10637,8 @@ export type TenantCreateWithoutApplicationPhasesInput = {
10343
10637
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
10344
10638
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
10345
10639
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
10640
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
10641
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
10346
10642
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
10347
10643
  };
10348
10644
  export type TenantUncheckedCreateWithoutApplicationPhasesInput = {
@@ -10409,6 +10705,8 @@ export type TenantUncheckedCreateWithoutApplicationPhasesInput = {
10409
10705
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
10410
10706
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
10411
10707
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
10708
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
10709
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
10412
10710
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
10413
10711
  };
10414
10712
  export type TenantCreateOrConnectWithoutApplicationPhasesInput = {
@@ -10488,6 +10786,8 @@ export type TenantUpdateWithoutApplicationPhasesInput = {
10488
10786
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
10489
10787
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
10490
10788
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
10789
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
10790
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
10491
10791
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
10492
10792
  };
10493
10793
  export type TenantUncheckedUpdateWithoutApplicationPhasesInput = {
@@ -10554,6 +10854,8 @@ export type TenantUncheckedUpdateWithoutApplicationPhasesInput = {
10554
10854
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
10555
10855
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
10556
10856
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
10857
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
10858
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
10557
10859
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
10558
10860
  };
10559
10861
  export type TenantCreateWithoutQuestionnairePhasesInput = {
@@ -10620,6 +10922,8 @@ export type TenantCreateWithoutQuestionnairePhasesInput = {
10620
10922
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
10621
10923
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
10622
10924
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
10925
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
10926
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
10623
10927
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
10624
10928
  };
10625
10929
  export type TenantUncheckedCreateWithoutQuestionnairePhasesInput = {
@@ -10686,6 +10990,8 @@ export type TenantUncheckedCreateWithoutQuestionnairePhasesInput = {
10686
10990
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
10687
10991
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
10688
10992
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
10993
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
10994
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
10689
10995
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
10690
10996
  };
10691
10997
  export type TenantCreateOrConnectWithoutQuestionnairePhasesInput = {
@@ -10765,6 +11071,8 @@ export type TenantUpdateWithoutQuestionnairePhasesInput = {
10765
11071
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
10766
11072
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
10767
11073
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
11074
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
11075
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
10768
11076
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
10769
11077
  };
10770
11078
  export type TenantUncheckedUpdateWithoutQuestionnairePhasesInput = {
@@ -10831,6 +11139,8 @@ export type TenantUncheckedUpdateWithoutQuestionnairePhasesInput = {
10831
11139
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
10832
11140
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
10833
11141
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
11142
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
11143
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
10834
11144
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
10835
11145
  };
10836
11146
  export type TenantCreateWithoutDocumentationPhasesInput = {
@@ -10897,6 +11207,8 @@ export type TenantCreateWithoutDocumentationPhasesInput = {
10897
11207
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
10898
11208
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
10899
11209
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
11210
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
11211
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
10900
11212
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
10901
11213
  };
10902
11214
  export type TenantUncheckedCreateWithoutDocumentationPhasesInput = {
@@ -10963,6 +11275,8 @@ export type TenantUncheckedCreateWithoutDocumentationPhasesInput = {
10963
11275
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
10964
11276
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
10965
11277
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
11278
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
11279
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
10966
11280
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
10967
11281
  };
10968
11282
  export type TenantCreateOrConnectWithoutDocumentationPhasesInput = {
@@ -11042,6 +11356,8 @@ export type TenantUpdateWithoutDocumentationPhasesInput = {
11042
11356
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
11043
11357
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
11044
11358
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
11359
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
11360
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
11045
11361
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
11046
11362
  };
11047
11363
  export type TenantUncheckedUpdateWithoutDocumentationPhasesInput = {
@@ -11108,6 +11424,8 @@ export type TenantUncheckedUpdateWithoutDocumentationPhasesInput = {
11108
11424
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
11109
11425
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
11110
11426
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
11427
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
11428
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
11111
11429
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
11112
11430
  };
11113
11431
  export type TenantCreateWithoutPaymentPhasesInput = {
@@ -11174,6 +11492,8 @@ export type TenantCreateWithoutPaymentPhasesInput = {
11174
11492
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
11175
11493
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
11176
11494
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
11495
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
11496
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
11177
11497
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
11178
11498
  };
11179
11499
  export type TenantUncheckedCreateWithoutPaymentPhasesInput = {
@@ -11240,6 +11560,8 @@ export type TenantUncheckedCreateWithoutPaymentPhasesInput = {
11240
11560
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
11241
11561
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
11242
11562
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
11563
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
11564
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
11243
11565
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
11244
11566
  };
11245
11567
  export type TenantCreateOrConnectWithoutPaymentPhasesInput = {
@@ -11319,6 +11641,8 @@ export type TenantUpdateWithoutPaymentPhasesInput = {
11319
11641
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
11320
11642
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
11321
11643
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
11644
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
11645
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
11322
11646
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
11323
11647
  };
11324
11648
  export type TenantUncheckedUpdateWithoutPaymentPhasesInput = {
@@ -11385,6 +11709,8 @@ export type TenantUncheckedUpdateWithoutPaymentPhasesInput = {
11385
11709
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
11386
11710
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
11387
11711
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
11712
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
11713
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
11388
11714
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
11389
11715
  };
11390
11716
  export type TenantCreateWithoutQuestionnaireFieldsInput = {
@@ -11451,6 +11777,8 @@ export type TenantCreateWithoutQuestionnaireFieldsInput = {
11451
11777
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
11452
11778
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
11453
11779
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
11780
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
11781
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
11454
11782
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
11455
11783
  };
11456
11784
  export type TenantUncheckedCreateWithoutQuestionnaireFieldsInput = {
@@ -11517,6 +11845,8 @@ export type TenantUncheckedCreateWithoutQuestionnaireFieldsInput = {
11517
11845
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
11518
11846
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
11519
11847
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
11848
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
11849
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
11520
11850
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
11521
11851
  };
11522
11852
  export type TenantCreateOrConnectWithoutQuestionnaireFieldsInput = {
@@ -11596,6 +11926,8 @@ export type TenantUpdateWithoutQuestionnaireFieldsInput = {
11596
11926
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
11597
11927
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
11598
11928
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
11929
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
11930
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
11599
11931
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
11600
11932
  };
11601
11933
  export type TenantUncheckedUpdateWithoutQuestionnaireFieldsInput = {
@@ -11662,6 +11994,8 @@ export type TenantUncheckedUpdateWithoutQuestionnaireFieldsInput = {
11662
11994
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
11663
11995
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
11664
11996
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
11997
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
11998
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
11665
11999
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
11666
12000
  };
11667
12001
  export type TenantCreateWithoutApplicationEventsInput = {
@@ -11728,6 +12062,8 @@ export type TenantCreateWithoutApplicationEventsInput = {
11728
12062
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
11729
12063
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
11730
12064
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
12065
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
12066
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
11731
12067
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
11732
12068
  };
11733
12069
  export type TenantUncheckedCreateWithoutApplicationEventsInput = {
@@ -11794,6 +12130,8 @@ export type TenantUncheckedCreateWithoutApplicationEventsInput = {
11794
12130
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
11795
12131
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
11796
12132
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
12133
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
12134
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
11797
12135
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
11798
12136
  };
11799
12137
  export type TenantCreateOrConnectWithoutApplicationEventsInput = {
@@ -11873,6 +12211,8 @@ export type TenantUpdateWithoutApplicationEventsInput = {
11873
12211
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
11874
12212
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
11875
12213
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
12214
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
12215
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
11876
12216
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
11877
12217
  };
11878
12218
  export type TenantUncheckedUpdateWithoutApplicationEventsInput = {
@@ -11939,6 +12279,8 @@ export type TenantUncheckedUpdateWithoutApplicationEventsInput = {
11939
12279
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
11940
12280
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
11941
12281
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
12282
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
12283
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
11942
12284
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
11943
12285
  };
11944
12286
  export type TenantCreateWithoutDocumentationStepsInput = {
@@ -12005,6 +12347,8 @@ export type TenantCreateWithoutDocumentationStepsInput = {
12005
12347
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
12006
12348
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
12007
12349
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
12350
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
12351
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
12008
12352
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
12009
12353
  };
12010
12354
  export type TenantUncheckedCreateWithoutDocumentationStepsInput = {
@@ -12071,6 +12415,8 @@ export type TenantUncheckedCreateWithoutDocumentationStepsInput = {
12071
12415
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
12072
12416
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
12073
12417
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
12418
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
12419
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
12074
12420
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
12075
12421
  };
12076
12422
  export type TenantCreateOrConnectWithoutDocumentationStepsInput = {
@@ -12150,6 +12496,8 @@ export type TenantUpdateWithoutDocumentationStepsInput = {
12150
12496
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
12151
12497
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
12152
12498
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
12499
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
12500
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
12153
12501
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
12154
12502
  };
12155
12503
  export type TenantUncheckedUpdateWithoutDocumentationStepsInput = {
@@ -12216,6 +12564,8 @@ export type TenantUncheckedUpdateWithoutDocumentationStepsInput = {
12216
12564
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
12217
12565
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
12218
12566
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
12567
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
12568
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
12219
12569
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
12220
12570
  };
12221
12571
  export type TenantCreateWithoutDocumentationStepDocumentsInput = {
@@ -12282,6 +12632,8 @@ export type TenantCreateWithoutDocumentationStepDocumentsInput = {
12282
12632
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
12283
12633
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
12284
12634
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
12635
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
12636
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
12285
12637
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
12286
12638
  };
12287
12639
  export type TenantUncheckedCreateWithoutDocumentationStepDocumentsInput = {
@@ -12348,6 +12700,8 @@ export type TenantUncheckedCreateWithoutDocumentationStepDocumentsInput = {
12348
12700
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
12349
12701
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
12350
12702
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
12703
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
12704
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
12351
12705
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
12352
12706
  };
12353
12707
  export type TenantCreateOrConnectWithoutDocumentationStepDocumentsInput = {
@@ -12427,6 +12781,8 @@ export type TenantUpdateWithoutDocumentationStepDocumentsInput = {
12427
12781
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
12428
12782
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
12429
12783
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
12784
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
12785
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
12430
12786
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
12431
12787
  };
12432
12788
  export type TenantUncheckedUpdateWithoutDocumentationStepDocumentsInput = {
@@ -12493,6 +12849,8 @@ export type TenantUncheckedUpdateWithoutDocumentationStepDocumentsInput = {
12493
12849
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
12494
12850
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
12495
12851
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
12852
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
12853
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
12496
12854
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
12497
12855
  };
12498
12856
  export type TenantCreateWithoutDocumentationStepApprovalsInput = {
@@ -12559,6 +12917,8 @@ export type TenantCreateWithoutDocumentationStepApprovalsInput = {
12559
12917
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
12560
12918
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
12561
12919
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
12920
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
12921
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
12562
12922
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
12563
12923
  };
12564
12924
  export type TenantUncheckedCreateWithoutDocumentationStepApprovalsInput = {
@@ -12625,6 +12985,8 @@ export type TenantUncheckedCreateWithoutDocumentationStepApprovalsInput = {
12625
12985
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
12626
12986
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
12627
12987
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
12988
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
12989
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
12628
12990
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
12629
12991
  };
12630
12992
  export type TenantCreateOrConnectWithoutDocumentationStepApprovalsInput = {
@@ -12704,6 +13066,8 @@ export type TenantUpdateWithoutDocumentationStepApprovalsInput = {
12704
13066
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
12705
13067
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
12706
13068
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
13069
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
13070
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
12707
13071
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
12708
13072
  };
12709
13073
  export type TenantUncheckedUpdateWithoutDocumentationStepApprovalsInput = {
@@ -12770,6 +13134,8 @@ export type TenantUncheckedUpdateWithoutDocumentationStepApprovalsInput = {
12770
13134
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
12771
13135
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
12772
13136
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
13137
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
13138
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
12773
13139
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
12774
13140
  };
12775
13141
  export type TenantCreateWithoutPaymentInstallmentsInput = {
@@ -12836,6 +13202,8 @@ export type TenantCreateWithoutPaymentInstallmentsInput = {
12836
13202
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
12837
13203
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
12838
13204
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
13205
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
13206
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
12839
13207
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
12840
13208
  };
12841
13209
  export type TenantUncheckedCreateWithoutPaymentInstallmentsInput = {
@@ -12902,6 +13270,8 @@ export type TenantUncheckedCreateWithoutPaymentInstallmentsInput = {
12902
13270
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
12903
13271
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
12904
13272
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
13273
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
13274
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
12905
13275
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
12906
13276
  };
12907
13277
  export type TenantCreateOrConnectWithoutPaymentInstallmentsInput = {
@@ -12981,6 +13351,8 @@ export type TenantUpdateWithoutPaymentInstallmentsInput = {
12981
13351
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
12982
13352
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
12983
13353
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
13354
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
13355
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
12984
13356
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
12985
13357
  };
12986
13358
  export type TenantUncheckedUpdateWithoutPaymentInstallmentsInput = {
@@ -13047,6 +13419,8 @@ export type TenantUncheckedUpdateWithoutPaymentInstallmentsInput = {
13047
13419
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
13048
13420
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
13049
13421
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
13422
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
13423
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
13050
13424
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
13051
13425
  };
13052
13426
  export type TenantCreateWithoutApplicationPaymentsInput = {
@@ -13113,6 +13487,8 @@ export type TenantCreateWithoutApplicationPaymentsInput = {
13113
13487
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
13114
13488
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
13115
13489
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
13490
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
13491
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
13116
13492
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
13117
13493
  };
13118
13494
  export type TenantUncheckedCreateWithoutApplicationPaymentsInput = {
@@ -13179,6 +13555,8 @@ export type TenantUncheckedCreateWithoutApplicationPaymentsInput = {
13179
13555
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
13180
13556
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
13181
13557
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
13558
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
13559
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
13182
13560
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
13183
13561
  };
13184
13562
  export type TenantCreateOrConnectWithoutApplicationPaymentsInput = {
@@ -13258,6 +13636,8 @@ export type TenantUpdateWithoutApplicationPaymentsInput = {
13258
13636
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
13259
13637
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
13260
13638
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
13639
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
13640
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
13261
13641
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
13262
13642
  };
13263
13643
  export type TenantUncheckedUpdateWithoutApplicationPaymentsInput = {
@@ -13324,6 +13704,8 @@ export type TenantUncheckedUpdateWithoutApplicationPaymentsInput = {
13324
13704
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
13325
13705
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
13326
13706
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
13707
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
13708
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
13327
13709
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
13328
13710
  };
13329
13711
  export type TenantCreateWithoutApplicationDocumentsInput = {
@@ -13390,6 +13772,8 @@ export type TenantCreateWithoutApplicationDocumentsInput = {
13390
13772
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
13391
13773
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
13392
13774
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
13775
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
13776
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
13393
13777
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
13394
13778
  };
13395
13779
  export type TenantUncheckedCreateWithoutApplicationDocumentsInput = {
@@ -13456,6 +13840,8 @@ export type TenantUncheckedCreateWithoutApplicationDocumentsInput = {
13456
13840
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
13457
13841
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
13458
13842
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
13843
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
13844
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
13459
13845
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
13460
13846
  };
13461
13847
  export type TenantCreateOrConnectWithoutApplicationDocumentsInput = {
@@ -13535,6 +13921,8 @@ export type TenantUpdateWithoutApplicationDocumentsInput = {
13535
13921
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
13536
13922
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
13537
13923
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
13924
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
13925
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
13538
13926
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
13539
13927
  };
13540
13928
  export type TenantUncheckedUpdateWithoutApplicationDocumentsInput = {
@@ -13601,6 +13989,8 @@ export type TenantUncheckedUpdateWithoutApplicationDocumentsInput = {
13601
13989
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
13602
13990
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
13603
13991
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
13992
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
13993
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
13604
13994
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
13605
13995
  };
13606
13996
  export type TenantCreateWithoutDocumentReviewsInput = {
@@ -13667,6 +14057,8 @@ export type TenantCreateWithoutDocumentReviewsInput = {
13667
14057
  domainEvents?: Prisma.DomainEventCreateNestedManyWithoutTenantInput;
13668
14058
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
13669
14059
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
14060
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
14061
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
13670
14062
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
13671
14063
  };
13672
14064
  export type TenantUncheckedCreateWithoutDocumentReviewsInput = {
@@ -13733,6 +14125,8 @@ export type TenantUncheckedCreateWithoutDocumentReviewsInput = {
13733
14125
  domainEvents?: Prisma.DomainEventUncheckedCreateNestedManyWithoutTenantInput;
13734
14126
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
13735
14127
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
14128
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
14129
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
13736
14130
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
13737
14131
  };
13738
14132
  export type TenantCreateOrConnectWithoutDocumentReviewsInput = {
@@ -13812,6 +14206,8 @@ export type TenantUpdateWithoutDocumentReviewsInput = {
13812
14206
  domainEvents?: Prisma.DomainEventUpdateManyWithoutTenantNestedInput;
13813
14207
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
13814
14208
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
14209
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
14210
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
13815
14211
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
13816
14212
  };
13817
14213
  export type TenantUncheckedUpdateWithoutDocumentReviewsInput = {
@@ -13878,9 +14274,11 @@ export type TenantUncheckedUpdateWithoutDocumentReviewsInput = {
13878
14274
  domainEvents?: Prisma.DomainEventUncheckedUpdateManyWithoutTenantNestedInput;
13879
14275
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
13880
14276
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
14277
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
14278
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
13881
14279
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
13882
14280
  };
13883
- export type TenantCreateWithoutDocumentTemplatesInput = {
14281
+ export type TenantCreateWithoutApprovalStageProgressInput = {
13884
14282
  id?: string;
13885
14283
  name: string;
13886
14284
  subdomain: string;
@@ -13899,6 +14297,7 @@ export type TenantCreateWithoutDocumentTemplatesInput = {
13899
14297
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
13900
14298
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
13901
14299
  contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
14300
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
13902
14301
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
13903
14302
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
13904
14303
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
@@ -13944,9 +14343,10 @@ export type TenantCreateWithoutDocumentTemplatesInput = {
13944
14343
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
13945
14344
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
13946
14345
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
14346
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
13947
14347
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
13948
14348
  };
13949
- export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
14349
+ export type TenantUncheckedCreateWithoutApprovalStageProgressInput = {
13950
14350
  id?: string;
13951
14351
  name: string;
13952
14352
  subdomain: string;
@@ -13965,6 +14365,7 @@ export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
13965
14365
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
13966
14366
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
13967
14367
  contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
14368
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
13968
14369
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
13969
14370
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
13970
14371
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
@@ -14010,22 +14411,23 @@ export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
14010
14411
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
14011
14412
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
14012
14413
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
14414
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
14013
14415
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
14014
14416
  };
14015
- export type TenantCreateOrConnectWithoutDocumentTemplatesInput = {
14417
+ export type TenantCreateOrConnectWithoutApprovalStageProgressInput = {
14016
14418
  where: Prisma.TenantWhereUniqueInput;
14017
- create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedCreateWithoutDocumentTemplatesInput>;
14419
+ create: Prisma.XOR<Prisma.TenantCreateWithoutApprovalStageProgressInput, Prisma.TenantUncheckedCreateWithoutApprovalStageProgressInput>;
14018
14420
  };
14019
- export type TenantUpsertWithoutDocumentTemplatesInput = {
14020
- update: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedUpdateWithoutDocumentTemplatesInput>;
14021
- create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedCreateWithoutDocumentTemplatesInput>;
14421
+ export type TenantUpsertWithoutApprovalStageProgressInput = {
14422
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutApprovalStageProgressInput, Prisma.TenantUncheckedUpdateWithoutApprovalStageProgressInput>;
14423
+ create: Prisma.XOR<Prisma.TenantCreateWithoutApprovalStageProgressInput, Prisma.TenantUncheckedCreateWithoutApprovalStageProgressInput>;
14022
14424
  where?: Prisma.TenantWhereInput;
14023
14425
  };
14024
- export type TenantUpdateToOneWithWhereWithoutDocumentTemplatesInput = {
14426
+ export type TenantUpdateToOneWithWhereWithoutApprovalStageProgressInput = {
14025
14427
  where?: Prisma.TenantWhereInput;
14026
- data: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedUpdateWithoutDocumentTemplatesInput>;
14428
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutApprovalStageProgressInput, Prisma.TenantUncheckedUpdateWithoutApprovalStageProgressInput>;
14027
14429
  };
14028
- export type TenantUpdateWithoutDocumentTemplatesInput = {
14430
+ export type TenantUpdateWithoutApprovalStageProgressInput = {
14029
14431
  id?: Prisma.StringFieldUpdateOperationsInput | string;
14030
14432
  name?: Prisma.StringFieldUpdateOperationsInput | string;
14031
14433
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -14044,6 +14446,7 @@ export type TenantUpdateWithoutDocumentTemplatesInput = {
14044
14446
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
14045
14447
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
14046
14448
  contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
14449
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
14047
14450
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
14048
14451
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
14049
14452
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
@@ -14089,9 +14492,10 @@ export type TenantUpdateWithoutDocumentTemplatesInput = {
14089
14492
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
14090
14493
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
14091
14494
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
14495
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
14092
14496
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
14093
14497
  };
14094
- export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
14498
+ export type TenantUncheckedUpdateWithoutApprovalStageProgressInput = {
14095
14499
  id?: Prisma.StringFieldUpdateOperationsInput | string;
14096
14500
  name?: Prisma.StringFieldUpdateOperationsInput | string;
14097
14501
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -14110,6 +14514,7 @@ export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
14110
14514
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
14111
14515
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
14112
14516
  contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
14517
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
14113
14518
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
14114
14519
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
14115
14520
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
@@ -14155,9 +14560,10 @@ export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
14155
14560
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
14156
14561
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
14157
14562
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
14563
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
14158
14564
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
14159
14565
  };
14160
- export type TenantCreateWithoutOfferLettersInput = {
14566
+ export type TenantCreateWithoutDocumentApprovalsInput = {
14161
14567
  id?: string;
14162
14568
  name: string;
14163
14569
  subdomain: string;
@@ -14177,6 +14583,7 @@ export type TenantCreateWithoutOfferLettersInput = {
14177
14583
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
14178
14584
  contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
14179
14585
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
14586
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
14180
14587
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
14181
14588
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
14182
14589
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
@@ -14221,9 +14628,10 @@ export type TenantCreateWithoutOfferLettersInput = {
14221
14628
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
14222
14629
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
14223
14630
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
14631
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
14224
14632
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
14225
14633
  };
14226
- export type TenantUncheckedCreateWithoutOfferLettersInput = {
14634
+ export type TenantUncheckedCreateWithoutDocumentApprovalsInput = {
14227
14635
  id?: string;
14228
14636
  name: string;
14229
14637
  subdomain: string;
@@ -14243,6 +14651,7 @@ export type TenantUncheckedCreateWithoutOfferLettersInput = {
14243
14651
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
14244
14652
  contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
14245
14653
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
14654
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
14246
14655
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
14247
14656
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
14248
14657
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
@@ -14287,22 +14696,23 @@ export type TenantUncheckedCreateWithoutOfferLettersInput = {
14287
14696
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
14288
14697
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
14289
14698
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
14699
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
14290
14700
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
14291
14701
  };
14292
- export type TenantCreateOrConnectWithoutOfferLettersInput = {
14702
+ export type TenantCreateOrConnectWithoutDocumentApprovalsInput = {
14293
14703
  where: Prisma.TenantWhereUniqueInput;
14294
- create: Prisma.XOR<Prisma.TenantCreateWithoutOfferLettersInput, Prisma.TenantUncheckedCreateWithoutOfferLettersInput>;
14704
+ create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentApprovalsInput, Prisma.TenantUncheckedCreateWithoutDocumentApprovalsInput>;
14295
14705
  };
14296
- export type TenantUpsertWithoutOfferLettersInput = {
14297
- update: Prisma.XOR<Prisma.TenantUpdateWithoutOfferLettersInput, Prisma.TenantUncheckedUpdateWithoutOfferLettersInput>;
14298
- create: Prisma.XOR<Prisma.TenantCreateWithoutOfferLettersInput, Prisma.TenantUncheckedCreateWithoutOfferLettersInput>;
14706
+ export type TenantUpsertWithoutDocumentApprovalsInput = {
14707
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentApprovalsInput, Prisma.TenantUncheckedUpdateWithoutDocumentApprovalsInput>;
14708
+ create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentApprovalsInput, Prisma.TenantUncheckedCreateWithoutDocumentApprovalsInput>;
14299
14709
  where?: Prisma.TenantWhereInput;
14300
14710
  };
14301
- export type TenantUpdateToOneWithWhereWithoutOfferLettersInput = {
14711
+ export type TenantUpdateToOneWithWhereWithoutDocumentApprovalsInput = {
14302
14712
  where?: Prisma.TenantWhereInput;
14303
- data: Prisma.XOR<Prisma.TenantUpdateWithoutOfferLettersInput, Prisma.TenantUncheckedUpdateWithoutOfferLettersInput>;
14713
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentApprovalsInput, Prisma.TenantUncheckedUpdateWithoutDocumentApprovalsInput>;
14304
14714
  };
14305
- export type TenantUpdateWithoutOfferLettersInput = {
14715
+ export type TenantUpdateWithoutDocumentApprovalsInput = {
14306
14716
  id?: Prisma.StringFieldUpdateOperationsInput | string;
14307
14717
  name?: Prisma.StringFieldUpdateOperationsInput | string;
14308
14718
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -14322,6 +14732,7 @@ export type TenantUpdateWithoutOfferLettersInput = {
14322
14732
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
14323
14733
  contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
14324
14734
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
14735
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
14325
14736
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
14326
14737
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
14327
14738
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
@@ -14366,9 +14777,10 @@ export type TenantUpdateWithoutOfferLettersInput = {
14366
14777
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
14367
14778
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
14368
14779
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
14780
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
14369
14781
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
14370
14782
  };
14371
- export type TenantUncheckedUpdateWithoutOfferLettersInput = {
14783
+ export type TenantUncheckedUpdateWithoutDocumentApprovalsInput = {
14372
14784
  id?: Prisma.StringFieldUpdateOperationsInput | string;
14373
14785
  name?: Prisma.StringFieldUpdateOperationsInput | string;
14374
14786
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -14388,6 +14800,7 @@ export type TenantUncheckedUpdateWithoutOfferLettersInput = {
14388
14800
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
14389
14801
  contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
14390
14802
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
14803
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
14391
14804
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
14392
14805
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
14393
14806
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
@@ -14432,9 +14845,10 @@ export type TenantUncheckedUpdateWithoutOfferLettersInput = {
14432
14845
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
14433
14846
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
14434
14847
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
14848
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
14435
14849
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
14436
14850
  };
14437
- export type TenantCreateWithoutContractTerminationsInput = {
14851
+ export type TenantCreateWithoutDocumentTemplatesInput = {
14438
14852
  id?: string;
14439
14853
  name: string;
14440
14854
  subdomain: string;
@@ -14452,7 +14866,7 @@ export type TenantCreateWithoutContractTerminationsInput = {
14452
14866
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
14453
14867
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
14454
14868
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
14455
- documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
14869
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
14456
14870
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
14457
14871
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
14458
14872
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
@@ -14498,9 +14912,11 @@ export type TenantCreateWithoutContractTerminationsInput = {
14498
14912
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
14499
14913
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
14500
14914
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
14915
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
14916
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
14501
14917
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
14502
14918
  };
14503
- export type TenantUncheckedCreateWithoutContractTerminationsInput = {
14919
+ export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
14504
14920
  id?: string;
14505
14921
  name: string;
14506
14922
  subdomain: string;
@@ -14518,7 +14934,7 @@ export type TenantUncheckedCreateWithoutContractTerminationsInput = {
14518
14934
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
14519
14935
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
14520
14936
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
14521
- documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
14937
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
14522
14938
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
14523
14939
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
14524
14940
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
@@ -14564,22 +14980,24 @@ export type TenantUncheckedCreateWithoutContractTerminationsInput = {
14564
14980
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
14565
14981
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
14566
14982
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
14983
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
14984
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
14567
14985
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
14568
14986
  };
14569
- export type TenantCreateOrConnectWithoutContractTerminationsInput = {
14987
+ export type TenantCreateOrConnectWithoutDocumentTemplatesInput = {
14570
14988
  where: Prisma.TenantWhereUniqueInput;
14571
- create: Prisma.XOR<Prisma.TenantCreateWithoutContractTerminationsInput, Prisma.TenantUncheckedCreateWithoutContractTerminationsInput>;
14989
+ create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedCreateWithoutDocumentTemplatesInput>;
14572
14990
  };
14573
- export type TenantUpsertWithoutContractTerminationsInput = {
14574
- update: Prisma.XOR<Prisma.TenantUpdateWithoutContractTerminationsInput, Prisma.TenantUncheckedUpdateWithoutContractTerminationsInput>;
14575
- create: Prisma.XOR<Prisma.TenantCreateWithoutContractTerminationsInput, Prisma.TenantUncheckedCreateWithoutContractTerminationsInput>;
14991
+ export type TenantUpsertWithoutDocumentTemplatesInput = {
14992
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedUpdateWithoutDocumentTemplatesInput>;
14993
+ create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedCreateWithoutDocumentTemplatesInput>;
14576
14994
  where?: Prisma.TenantWhereInput;
14577
14995
  };
14578
- export type TenantUpdateToOneWithWhereWithoutContractTerminationsInput = {
14996
+ export type TenantUpdateToOneWithWhereWithoutDocumentTemplatesInput = {
14579
14997
  where?: Prisma.TenantWhereInput;
14580
- data: Prisma.XOR<Prisma.TenantUpdateWithoutContractTerminationsInput, Prisma.TenantUncheckedUpdateWithoutContractTerminationsInput>;
14998
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedUpdateWithoutDocumentTemplatesInput>;
14581
14999
  };
14582
- export type TenantUpdateWithoutContractTerminationsInput = {
15000
+ export type TenantUpdateWithoutDocumentTemplatesInput = {
14583
15001
  id?: Prisma.StringFieldUpdateOperationsInput | string;
14584
15002
  name?: Prisma.StringFieldUpdateOperationsInput | string;
14585
15003
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -14597,7 +15015,7 @@ export type TenantUpdateWithoutContractTerminationsInput = {
14597
15015
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
14598
15016
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
14599
15017
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
14600
- documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
15018
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
14601
15019
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
14602
15020
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
14603
15021
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
@@ -14643,9 +15061,11 @@ export type TenantUpdateWithoutContractTerminationsInput = {
14643
15061
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
14644
15062
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
14645
15063
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
15064
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
15065
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
14646
15066
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
14647
15067
  };
14648
- export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
15068
+ export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
14649
15069
  id?: Prisma.StringFieldUpdateOperationsInput | string;
14650
15070
  name?: Prisma.StringFieldUpdateOperationsInput | string;
14651
15071
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -14663,7 +15083,7 @@ export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
14663
15083
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
14664
15084
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
14665
15085
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
14666
- documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
15086
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
14667
15087
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
14668
15088
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
14669
15089
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
@@ -14709,9 +15129,11 @@ export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
14709
15129
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
14710
15130
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
14711
15131
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
15132
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
15133
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
14712
15134
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
14713
15135
  };
14714
- export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
15136
+ export type TenantCreateWithoutOfferLettersInput = {
14715
15137
  id?: string;
14716
15138
  name: string;
14717
15139
  subdomain: string;
@@ -14727,10 +15149,10 @@ export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
14727
15149
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
14728
15150
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
14729
15151
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
15152
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
14730
15153
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
14731
15154
  contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
14732
15155
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
14733
- offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
14734
15156
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
14735
15157
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
14736
15158
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
@@ -14775,9 +15197,11 @@ export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
14775
15197
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
14776
15198
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
14777
15199
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
15200
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
15201
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
14778
15202
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
14779
15203
  };
14780
- export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
15204
+ export type TenantUncheckedCreateWithoutOfferLettersInput = {
14781
15205
  id?: string;
14782
15206
  name: string;
14783
15207
  subdomain: string;
@@ -14793,10 +15217,10 @@ export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
14793
15217
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
14794
15218
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
14795
15219
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
15220
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
14796
15221
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
14797
15222
  contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
14798
15223
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
14799
- offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
14800
15224
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
14801
15225
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
14802
15226
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
@@ -14841,22 +15265,24 @@ export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
14841
15265
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
14842
15266
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
14843
15267
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
15268
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
15269
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
14844
15270
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
14845
15271
  };
14846
- export type TenantCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
15272
+ export type TenantCreateOrConnectWithoutOfferLettersInput = {
14847
15273
  where: Prisma.TenantWhereUniqueInput;
14848
- create: Prisma.XOR<Prisma.TenantCreateWithoutPaymentMethodChangeRequestsInput, Prisma.TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput>;
15274
+ create: Prisma.XOR<Prisma.TenantCreateWithoutOfferLettersInput, Prisma.TenantUncheckedCreateWithoutOfferLettersInput>;
14849
15275
  };
14850
- export type TenantUpsertWithoutPaymentMethodChangeRequestsInput = {
14851
- update: Prisma.XOR<Prisma.TenantUpdateWithoutPaymentMethodChangeRequestsInput, Prisma.TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput>;
14852
- create: Prisma.XOR<Prisma.TenantCreateWithoutPaymentMethodChangeRequestsInput, Prisma.TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput>;
15276
+ export type TenantUpsertWithoutOfferLettersInput = {
15277
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutOfferLettersInput, Prisma.TenantUncheckedUpdateWithoutOfferLettersInput>;
15278
+ create: Prisma.XOR<Prisma.TenantCreateWithoutOfferLettersInput, Prisma.TenantUncheckedCreateWithoutOfferLettersInput>;
14853
15279
  where?: Prisma.TenantWhereInput;
14854
15280
  };
14855
- export type TenantUpdateToOneWithWhereWithoutPaymentMethodChangeRequestsInput = {
15281
+ export type TenantUpdateToOneWithWhereWithoutOfferLettersInput = {
14856
15282
  where?: Prisma.TenantWhereInput;
14857
- data: Prisma.XOR<Prisma.TenantUpdateWithoutPaymentMethodChangeRequestsInput, Prisma.TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput>;
15283
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutOfferLettersInput, Prisma.TenantUncheckedUpdateWithoutOfferLettersInput>;
14858
15284
  };
14859
- export type TenantUpdateWithoutPaymentMethodChangeRequestsInput = {
15285
+ export type TenantUpdateWithoutOfferLettersInput = {
14860
15286
  id?: Prisma.StringFieldUpdateOperationsInput | string;
14861
15287
  name?: Prisma.StringFieldUpdateOperationsInput | string;
14862
15288
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -14872,10 +15298,10 @@ export type TenantUpdateWithoutPaymentMethodChangeRequestsInput = {
14872
15298
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
14873
15299
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
14874
15300
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
15301
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
14875
15302
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
14876
15303
  contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
14877
15304
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
14878
- offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
14879
15305
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
14880
15306
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
14881
15307
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
@@ -14920,9 +15346,11 @@ export type TenantUpdateWithoutPaymentMethodChangeRequestsInput = {
14920
15346
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
14921
15347
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
14922
15348
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
15349
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
15350
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
14923
15351
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
14924
15352
  };
14925
- export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
15353
+ export type TenantUncheckedUpdateWithoutOfferLettersInput = {
14926
15354
  id?: Prisma.StringFieldUpdateOperationsInput | string;
14927
15355
  name?: Prisma.StringFieldUpdateOperationsInput | string;
14928
15356
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -14938,10 +15366,10 @@ export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
14938
15366
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
14939
15367
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
14940
15368
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
15369
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
14941
15370
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
14942
15371
  contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
14943
15372
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
14944
- offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
14945
15373
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
14946
15374
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
14947
15375
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
@@ -14986,9 +15414,11 @@ export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
14986
15414
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
14987
15415
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
14988
15416
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
15417
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
15418
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
14989
15419
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
14990
15420
  };
14991
- export type TenantCreateWithoutDocumentRequirementRulesInput = {
15421
+ export type TenantCreateWithoutContractTerminationsInput = {
14992
15422
  id?: string;
14993
15423
  name: string;
14994
15424
  subdomain: string;
@@ -15005,7 +15435,7 @@ export type TenantCreateWithoutDocumentRequirementRulesInput = {
15005
15435
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
15006
15436
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
15007
15437
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
15008
- contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
15438
+ documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
15009
15439
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
15010
15440
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
15011
15441
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -15052,9 +15482,11 @@ export type TenantCreateWithoutDocumentRequirementRulesInput = {
15052
15482
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
15053
15483
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
15054
15484
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
15485
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
15486
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
15055
15487
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
15056
15488
  };
15057
- export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
15489
+ export type TenantUncheckedCreateWithoutContractTerminationsInput = {
15058
15490
  id?: string;
15059
15491
  name: string;
15060
15492
  subdomain: string;
@@ -15071,7 +15503,7 @@ export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
15071
15503
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
15072
15504
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
15073
15505
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
15074
- contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
15506
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
15075
15507
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
15076
15508
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
15077
15509
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -15118,22 +15550,24 @@ export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
15118
15550
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
15119
15551
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
15120
15552
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
15553
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
15554
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
15121
15555
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
15122
15556
  };
15123
- export type TenantCreateOrConnectWithoutDocumentRequirementRulesInput = {
15557
+ export type TenantCreateOrConnectWithoutContractTerminationsInput = {
15124
15558
  where: Prisma.TenantWhereUniqueInput;
15125
- create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentRequirementRulesInput, Prisma.TenantUncheckedCreateWithoutDocumentRequirementRulesInput>;
15559
+ create: Prisma.XOR<Prisma.TenantCreateWithoutContractTerminationsInput, Prisma.TenantUncheckedCreateWithoutContractTerminationsInput>;
15126
15560
  };
15127
- export type TenantUpsertWithoutDocumentRequirementRulesInput = {
15128
- update: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentRequirementRulesInput, Prisma.TenantUncheckedUpdateWithoutDocumentRequirementRulesInput>;
15129
- create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentRequirementRulesInput, Prisma.TenantUncheckedCreateWithoutDocumentRequirementRulesInput>;
15561
+ export type TenantUpsertWithoutContractTerminationsInput = {
15562
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutContractTerminationsInput, Prisma.TenantUncheckedUpdateWithoutContractTerminationsInput>;
15563
+ create: Prisma.XOR<Prisma.TenantCreateWithoutContractTerminationsInput, Prisma.TenantUncheckedCreateWithoutContractTerminationsInput>;
15130
15564
  where?: Prisma.TenantWhereInput;
15131
15565
  };
15132
- export type TenantUpdateToOneWithWhereWithoutDocumentRequirementRulesInput = {
15566
+ export type TenantUpdateToOneWithWhereWithoutContractTerminationsInput = {
15133
15567
  where?: Prisma.TenantWhereInput;
15134
- data: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentRequirementRulesInput, Prisma.TenantUncheckedUpdateWithoutDocumentRequirementRulesInput>;
15568
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutContractTerminationsInput, Prisma.TenantUncheckedUpdateWithoutContractTerminationsInput>;
15135
15569
  };
15136
- export type TenantUpdateWithoutDocumentRequirementRulesInput = {
15570
+ export type TenantUpdateWithoutContractTerminationsInput = {
15137
15571
  id?: Prisma.StringFieldUpdateOperationsInput | string;
15138
15572
  name?: Prisma.StringFieldUpdateOperationsInput | string;
15139
15573
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -15150,7 +15584,7 @@ export type TenantUpdateWithoutDocumentRequirementRulesInput = {
15150
15584
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
15151
15585
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
15152
15586
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
15153
- contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
15587
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
15154
15588
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
15155
15589
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
15156
15590
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -15197,9 +15631,11 @@ export type TenantUpdateWithoutDocumentRequirementRulesInput = {
15197
15631
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
15198
15632
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
15199
15633
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
15634
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
15635
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
15200
15636
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
15201
15637
  };
15202
- export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
15638
+ export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
15203
15639
  id?: Prisma.StringFieldUpdateOperationsInput | string;
15204
15640
  name?: Prisma.StringFieldUpdateOperationsInput | string;
15205
15641
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -15216,7 +15652,7 @@ export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
15216
15652
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
15217
15653
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
15218
15654
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
15219
- contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
15655
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
15220
15656
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
15221
15657
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
15222
15658
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -15263,9 +15699,11 @@ export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
15263
15699
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
15264
15700
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
15265
15701
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
15702
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
15703
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
15266
15704
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
15267
15705
  };
15268
- export type TenantCreateWithoutEventChannelsInput = {
15706
+ export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
15269
15707
  id?: string;
15270
15708
  name: string;
15271
15709
  subdomain: string;
@@ -15281,12 +15719,12 @@ export type TenantCreateWithoutEventChannelsInput = {
15281
15719
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
15282
15720
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
15283
15721
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
15284
- paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
15285
15722
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
15286
15723
  contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
15287
15724
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
15288
15725
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
15289
15726
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
15727
+ eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
15290
15728
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
15291
15729
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
15292
15730
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
@@ -15329,9 +15767,11 @@ export type TenantCreateWithoutEventChannelsInput = {
15329
15767
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
15330
15768
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
15331
15769
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
15770
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
15771
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
15332
15772
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
15333
15773
  };
15334
- export type TenantUncheckedCreateWithoutEventChannelsInput = {
15774
+ export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
15335
15775
  id?: string;
15336
15776
  name: string;
15337
15777
  subdomain: string;
@@ -15347,12 +15787,12 @@ export type TenantUncheckedCreateWithoutEventChannelsInput = {
15347
15787
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
15348
15788
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
15349
15789
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
15350
- paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
15351
15790
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
15352
15791
  contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
15353
15792
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
15354
15793
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
15355
15794
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
15795
+ eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
15356
15796
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
15357
15797
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
15358
15798
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
@@ -15395,22 +15835,24 @@ export type TenantUncheckedCreateWithoutEventChannelsInput = {
15395
15835
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
15396
15836
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
15397
15837
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
15838
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
15839
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
15398
15840
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
15399
15841
  };
15400
- export type TenantCreateOrConnectWithoutEventChannelsInput = {
15842
+ export type TenantCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
15401
15843
  where: Prisma.TenantWhereUniqueInput;
15402
- create: Prisma.XOR<Prisma.TenantCreateWithoutEventChannelsInput, Prisma.TenantUncheckedCreateWithoutEventChannelsInput>;
15844
+ create: Prisma.XOR<Prisma.TenantCreateWithoutPaymentMethodChangeRequestsInput, Prisma.TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput>;
15403
15845
  };
15404
- export type TenantUpsertWithoutEventChannelsInput = {
15405
- update: Prisma.XOR<Prisma.TenantUpdateWithoutEventChannelsInput, Prisma.TenantUncheckedUpdateWithoutEventChannelsInput>;
15406
- create: Prisma.XOR<Prisma.TenantCreateWithoutEventChannelsInput, Prisma.TenantUncheckedCreateWithoutEventChannelsInput>;
15846
+ export type TenantUpsertWithoutPaymentMethodChangeRequestsInput = {
15847
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutPaymentMethodChangeRequestsInput, Prisma.TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput>;
15848
+ create: Prisma.XOR<Prisma.TenantCreateWithoutPaymentMethodChangeRequestsInput, Prisma.TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput>;
15407
15849
  where?: Prisma.TenantWhereInput;
15408
15850
  };
15409
- export type TenantUpdateToOneWithWhereWithoutEventChannelsInput = {
15851
+ export type TenantUpdateToOneWithWhereWithoutPaymentMethodChangeRequestsInput = {
15410
15852
  where?: Prisma.TenantWhereInput;
15411
- data: Prisma.XOR<Prisma.TenantUpdateWithoutEventChannelsInput, Prisma.TenantUncheckedUpdateWithoutEventChannelsInput>;
15853
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutPaymentMethodChangeRequestsInput, Prisma.TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput>;
15412
15854
  };
15413
- export type TenantUpdateWithoutEventChannelsInput = {
15855
+ export type TenantUpdateWithoutPaymentMethodChangeRequestsInput = {
15414
15856
  id?: Prisma.StringFieldUpdateOperationsInput | string;
15415
15857
  name?: Prisma.StringFieldUpdateOperationsInput | string;
15416
15858
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -15426,12 +15868,12 @@ export type TenantUpdateWithoutEventChannelsInput = {
15426
15868
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
15427
15869
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
15428
15870
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
15429
- paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
15430
15871
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
15431
15872
  contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
15432
15873
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
15433
15874
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
15434
15875
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
15876
+ eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
15435
15877
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
15436
15878
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
15437
15879
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
@@ -15474,9 +15916,11 @@ export type TenantUpdateWithoutEventChannelsInput = {
15474
15916
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
15475
15917
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
15476
15918
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
15919
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
15920
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
15477
15921
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
15478
15922
  };
15479
- export type TenantUncheckedUpdateWithoutEventChannelsInput = {
15923
+ export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
15480
15924
  id?: Prisma.StringFieldUpdateOperationsInput | string;
15481
15925
  name?: Prisma.StringFieldUpdateOperationsInput | string;
15482
15926
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -15492,12 +15936,12 @@ export type TenantUncheckedUpdateWithoutEventChannelsInput = {
15492
15936
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
15493
15937
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
15494
15938
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
15495
- paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
15496
15939
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
15497
15940
  contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
15498
15941
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
15499
15942
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
15500
15943
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
15944
+ eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
15501
15945
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
15502
15946
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
15503
15947
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
@@ -15540,9 +15984,11 @@ export type TenantUncheckedUpdateWithoutEventChannelsInput = {
15540
15984
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
15541
15985
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
15542
15986
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
15987
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
15988
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
15543
15989
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
15544
15990
  };
15545
- export type TenantCreateWithoutEventTypesInput = {
15991
+ export type TenantCreateWithoutDocumentRequirementRulesInput = {
15546
15992
  id?: string;
15547
15993
  name: string;
15548
15994
  subdomain: string;
@@ -15559,12 +16005,12 @@ export type TenantCreateWithoutEventTypesInput = {
15559
16005
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
15560
16006
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
15561
16007
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
15562
- documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
15563
16008
  contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
15564
16009
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
15565
16010
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
15566
16011
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
15567
16012
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
16013
+ eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
15568
16014
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
15569
16015
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
15570
16016
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
@@ -15606,9 +16052,11 @@ export type TenantCreateWithoutEventTypesInput = {
15606
16052
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
15607
16053
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
15608
16054
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
16055
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
16056
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
15609
16057
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
15610
16058
  };
15611
- export type TenantUncheckedCreateWithoutEventTypesInput = {
16059
+ export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
15612
16060
  id?: string;
15613
16061
  name: string;
15614
16062
  subdomain: string;
@@ -15625,12 +16073,12 @@ export type TenantUncheckedCreateWithoutEventTypesInput = {
15625
16073
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
15626
16074
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
15627
16075
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
15628
- documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
15629
16076
  contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
15630
16077
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
15631
16078
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
15632
16079
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
15633
16080
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
16081
+ eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
15634
16082
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
15635
16083
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
15636
16084
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
@@ -15672,22 +16120,24 @@ export type TenantUncheckedCreateWithoutEventTypesInput = {
15672
16120
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
15673
16121
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
15674
16122
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
16123
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
16124
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
15675
16125
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
15676
16126
  };
15677
- export type TenantCreateOrConnectWithoutEventTypesInput = {
16127
+ export type TenantCreateOrConnectWithoutDocumentRequirementRulesInput = {
15678
16128
  where: Prisma.TenantWhereUniqueInput;
15679
- create: Prisma.XOR<Prisma.TenantCreateWithoutEventTypesInput, Prisma.TenantUncheckedCreateWithoutEventTypesInput>;
16129
+ create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentRequirementRulesInput, Prisma.TenantUncheckedCreateWithoutDocumentRequirementRulesInput>;
15680
16130
  };
15681
- export type TenantUpsertWithoutEventTypesInput = {
15682
- update: Prisma.XOR<Prisma.TenantUpdateWithoutEventTypesInput, Prisma.TenantUncheckedUpdateWithoutEventTypesInput>;
15683
- create: Prisma.XOR<Prisma.TenantCreateWithoutEventTypesInput, Prisma.TenantUncheckedCreateWithoutEventTypesInput>;
16131
+ export type TenantUpsertWithoutDocumentRequirementRulesInput = {
16132
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentRequirementRulesInput, Prisma.TenantUncheckedUpdateWithoutDocumentRequirementRulesInput>;
16133
+ create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentRequirementRulesInput, Prisma.TenantUncheckedCreateWithoutDocumentRequirementRulesInput>;
15684
16134
  where?: Prisma.TenantWhereInput;
15685
16135
  };
15686
- export type TenantUpdateToOneWithWhereWithoutEventTypesInput = {
16136
+ export type TenantUpdateToOneWithWhereWithoutDocumentRequirementRulesInput = {
15687
16137
  where?: Prisma.TenantWhereInput;
15688
- data: Prisma.XOR<Prisma.TenantUpdateWithoutEventTypesInput, Prisma.TenantUncheckedUpdateWithoutEventTypesInput>;
16138
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentRequirementRulesInput, Prisma.TenantUncheckedUpdateWithoutDocumentRequirementRulesInput>;
15689
16139
  };
15690
- export type TenantUpdateWithoutEventTypesInput = {
16140
+ export type TenantUpdateWithoutDocumentRequirementRulesInput = {
15691
16141
  id?: Prisma.StringFieldUpdateOperationsInput | string;
15692
16142
  name?: Prisma.StringFieldUpdateOperationsInput | string;
15693
16143
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -15704,12 +16154,12 @@ export type TenantUpdateWithoutEventTypesInput = {
15704
16154
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
15705
16155
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
15706
16156
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
15707
- documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
15708
16157
  contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
15709
16158
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
15710
16159
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
15711
16160
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
15712
16161
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
16162
+ eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
15713
16163
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
15714
16164
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
15715
16165
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
@@ -15751,9 +16201,11 @@ export type TenantUpdateWithoutEventTypesInput = {
15751
16201
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
15752
16202
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
15753
16203
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
16204
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
16205
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
15754
16206
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
15755
16207
  };
15756
- export type TenantUncheckedUpdateWithoutEventTypesInput = {
16208
+ export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
15757
16209
  id?: Prisma.StringFieldUpdateOperationsInput | string;
15758
16210
  name?: Prisma.StringFieldUpdateOperationsInput | string;
15759
16211
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -15770,12 +16222,12 @@ export type TenantUncheckedUpdateWithoutEventTypesInput = {
15770
16222
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
15771
16223
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
15772
16224
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
15773
- documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
15774
16225
  contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
15775
16226
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
15776
16227
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
15777
16228
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
15778
16229
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
16230
+ eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
15779
16231
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
15780
16232
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
15781
16233
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
@@ -15817,9 +16269,11 @@ export type TenantUncheckedUpdateWithoutEventTypesInput = {
15817
16269
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
15818
16270
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
15819
16271
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
16272
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
16273
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
15820
16274
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
15821
16275
  };
15822
- export type TenantCreateWithoutEventHandlersInput = {
16276
+ export type TenantCreateWithoutEventChannelsInput = {
15823
16277
  id?: string;
15824
16278
  name: string;
15825
16279
  subdomain: string;
@@ -15841,8 +16295,8 @@ export type TenantCreateWithoutEventHandlersInput = {
15841
16295
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
15842
16296
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
15843
16297
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
15844
- eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
15845
16298
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
16299
+ eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
15846
16300
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
15847
16301
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
15848
16302
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
@@ -15883,9 +16337,11 @@ export type TenantCreateWithoutEventHandlersInput = {
15883
16337
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
15884
16338
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
15885
16339
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
16340
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
16341
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
15886
16342
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
15887
16343
  };
15888
- export type TenantUncheckedCreateWithoutEventHandlersInput = {
16344
+ export type TenantUncheckedCreateWithoutEventChannelsInput = {
15889
16345
  id?: string;
15890
16346
  name: string;
15891
16347
  subdomain: string;
@@ -15907,8 +16363,8 @@ export type TenantUncheckedCreateWithoutEventHandlersInput = {
15907
16363
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
15908
16364
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
15909
16365
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
15910
- eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
15911
16366
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
16367
+ eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
15912
16368
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
15913
16369
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
15914
16370
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
@@ -15949,22 +16405,24 @@ export type TenantUncheckedCreateWithoutEventHandlersInput = {
15949
16405
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
15950
16406
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
15951
16407
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
16408
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
16409
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
15952
16410
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
15953
16411
  };
15954
- export type TenantCreateOrConnectWithoutEventHandlersInput = {
16412
+ export type TenantCreateOrConnectWithoutEventChannelsInput = {
15955
16413
  where: Prisma.TenantWhereUniqueInput;
15956
- create: Prisma.XOR<Prisma.TenantCreateWithoutEventHandlersInput, Prisma.TenantUncheckedCreateWithoutEventHandlersInput>;
16414
+ create: Prisma.XOR<Prisma.TenantCreateWithoutEventChannelsInput, Prisma.TenantUncheckedCreateWithoutEventChannelsInput>;
15957
16415
  };
15958
- export type TenantUpsertWithoutEventHandlersInput = {
15959
- update: Prisma.XOR<Prisma.TenantUpdateWithoutEventHandlersInput, Prisma.TenantUncheckedUpdateWithoutEventHandlersInput>;
15960
- create: Prisma.XOR<Prisma.TenantCreateWithoutEventHandlersInput, Prisma.TenantUncheckedCreateWithoutEventHandlersInput>;
16416
+ export type TenantUpsertWithoutEventChannelsInput = {
16417
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutEventChannelsInput, Prisma.TenantUncheckedUpdateWithoutEventChannelsInput>;
16418
+ create: Prisma.XOR<Prisma.TenantCreateWithoutEventChannelsInput, Prisma.TenantUncheckedCreateWithoutEventChannelsInput>;
15961
16419
  where?: Prisma.TenantWhereInput;
15962
16420
  };
15963
- export type TenantUpdateToOneWithWhereWithoutEventHandlersInput = {
16421
+ export type TenantUpdateToOneWithWhereWithoutEventChannelsInput = {
15964
16422
  where?: Prisma.TenantWhereInput;
15965
- data: Prisma.XOR<Prisma.TenantUpdateWithoutEventHandlersInput, Prisma.TenantUncheckedUpdateWithoutEventHandlersInput>;
16423
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutEventChannelsInput, Prisma.TenantUncheckedUpdateWithoutEventChannelsInput>;
15966
16424
  };
15967
- export type TenantUpdateWithoutEventHandlersInput = {
16425
+ export type TenantUpdateWithoutEventChannelsInput = {
15968
16426
  id?: Prisma.StringFieldUpdateOperationsInput | string;
15969
16427
  name?: Prisma.StringFieldUpdateOperationsInput | string;
15970
16428
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -15986,8 +16444,8 @@ export type TenantUpdateWithoutEventHandlersInput = {
15986
16444
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
15987
16445
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
15988
16446
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
15989
- eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
15990
16447
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
16448
+ eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
15991
16449
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
15992
16450
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
15993
16451
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
@@ -16028,9 +16486,11 @@ export type TenantUpdateWithoutEventHandlersInput = {
16028
16486
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
16029
16487
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
16030
16488
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
16489
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
16490
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
16031
16491
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
16032
16492
  };
16033
- export type TenantUncheckedUpdateWithoutEventHandlersInput = {
16493
+ export type TenantUncheckedUpdateWithoutEventChannelsInput = {
16034
16494
  id?: Prisma.StringFieldUpdateOperationsInput | string;
16035
16495
  name?: Prisma.StringFieldUpdateOperationsInput | string;
16036
16496
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -16052,8 +16512,8 @@ export type TenantUncheckedUpdateWithoutEventHandlersInput = {
16052
16512
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
16053
16513
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
16054
16514
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
16055
- eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
16056
16515
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
16516
+ eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
16057
16517
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
16058
16518
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
16059
16519
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
@@ -16094,9 +16554,11 @@ export type TenantUncheckedUpdateWithoutEventHandlersInput = {
16094
16554
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
16095
16555
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
16096
16556
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
16557
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
16558
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
16097
16559
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
16098
16560
  };
16099
- export type TenantCreateWithoutWorkflowEventsInput = {
16561
+ export type TenantCreateWithoutEventTypesInput = {
16100
16562
  id?: string;
16101
16563
  name: string;
16102
16564
  subdomain: string;
@@ -16119,8 +16581,8 @@ export type TenantCreateWithoutWorkflowEventsInput = {
16119
16581
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
16120
16582
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
16121
16583
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
16122
- eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
16123
16584
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
16585
+ workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
16124
16586
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
16125
16587
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
16126
16588
  contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
@@ -16160,9 +16622,11 @@ export type TenantCreateWithoutWorkflowEventsInput = {
16160
16622
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
16161
16623
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
16162
16624
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
16625
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
16626
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
16163
16627
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
16164
16628
  };
16165
- export type TenantUncheckedCreateWithoutWorkflowEventsInput = {
16629
+ export type TenantUncheckedCreateWithoutEventTypesInput = {
16166
16630
  id?: string;
16167
16631
  name: string;
16168
16632
  subdomain: string;
@@ -16185,8 +16649,8 @@ export type TenantUncheckedCreateWithoutWorkflowEventsInput = {
16185
16649
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
16186
16650
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
16187
16651
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
16188
- eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
16189
16652
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
16653
+ workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
16190
16654
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
16191
16655
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
16192
16656
  contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
@@ -16226,22 +16690,24 @@ export type TenantUncheckedCreateWithoutWorkflowEventsInput = {
16226
16690
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
16227
16691
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
16228
16692
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
16693
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
16694
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
16229
16695
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
16230
16696
  };
16231
- export type TenantCreateOrConnectWithoutWorkflowEventsInput = {
16697
+ export type TenantCreateOrConnectWithoutEventTypesInput = {
16232
16698
  where: Prisma.TenantWhereUniqueInput;
16233
- create: Prisma.XOR<Prisma.TenantCreateWithoutWorkflowEventsInput, Prisma.TenantUncheckedCreateWithoutWorkflowEventsInput>;
16699
+ create: Prisma.XOR<Prisma.TenantCreateWithoutEventTypesInput, Prisma.TenantUncheckedCreateWithoutEventTypesInput>;
16234
16700
  };
16235
- export type TenantUpsertWithoutWorkflowEventsInput = {
16236
- update: Prisma.XOR<Prisma.TenantUpdateWithoutWorkflowEventsInput, Prisma.TenantUncheckedUpdateWithoutWorkflowEventsInput>;
16237
- create: Prisma.XOR<Prisma.TenantCreateWithoutWorkflowEventsInput, Prisma.TenantUncheckedCreateWithoutWorkflowEventsInput>;
16701
+ export type TenantUpsertWithoutEventTypesInput = {
16702
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutEventTypesInput, Prisma.TenantUncheckedUpdateWithoutEventTypesInput>;
16703
+ create: Prisma.XOR<Prisma.TenantCreateWithoutEventTypesInput, Prisma.TenantUncheckedCreateWithoutEventTypesInput>;
16238
16704
  where?: Prisma.TenantWhereInput;
16239
16705
  };
16240
- export type TenantUpdateToOneWithWhereWithoutWorkflowEventsInput = {
16706
+ export type TenantUpdateToOneWithWhereWithoutEventTypesInput = {
16241
16707
  where?: Prisma.TenantWhereInput;
16242
- data: Prisma.XOR<Prisma.TenantUpdateWithoutWorkflowEventsInput, Prisma.TenantUncheckedUpdateWithoutWorkflowEventsInput>;
16708
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutEventTypesInput, Prisma.TenantUncheckedUpdateWithoutEventTypesInput>;
16243
16709
  };
16244
- export type TenantUpdateWithoutWorkflowEventsInput = {
16710
+ export type TenantUpdateWithoutEventTypesInput = {
16245
16711
  id?: Prisma.StringFieldUpdateOperationsInput | string;
16246
16712
  name?: Prisma.StringFieldUpdateOperationsInput | string;
16247
16713
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -16264,8 +16730,8 @@ export type TenantUpdateWithoutWorkflowEventsInput = {
16264
16730
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
16265
16731
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
16266
16732
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
16267
- eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
16268
16733
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
16734
+ workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
16269
16735
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
16270
16736
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
16271
16737
  contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
@@ -16305,9 +16771,11 @@ export type TenantUpdateWithoutWorkflowEventsInput = {
16305
16771
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
16306
16772
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
16307
16773
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
16774
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
16775
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
16308
16776
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
16309
16777
  };
16310
- export type TenantUncheckedUpdateWithoutWorkflowEventsInput = {
16778
+ export type TenantUncheckedUpdateWithoutEventTypesInput = {
16311
16779
  id?: Prisma.StringFieldUpdateOperationsInput | string;
16312
16780
  name?: Prisma.StringFieldUpdateOperationsInput | string;
16313
16781
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -16330,8 +16798,8 @@ export type TenantUncheckedUpdateWithoutWorkflowEventsInput = {
16330
16798
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
16331
16799
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
16332
16800
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
16333
- eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
16334
16801
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
16802
+ workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
16335
16803
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
16336
16804
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
16337
16805
  contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
@@ -16371,9 +16839,11 @@ export type TenantUncheckedUpdateWithoutWorkflowEventsInput = {
16371
16839
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
16372
16840
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
16373
16841
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
16842
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
16843
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
16374
16844
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
16375
16845
  };
16376
- export type TenantCreateWithoutEventHandlerExecutionsInput = {
16846
+ export type TenantCreateWithoutEventHandlersInput = {
16377
16847
  id?: string;
16378
16848
  name: string;
16379
16849
  subdomain: string;
@@ -16397,7 +16867,6 @@ export type TenantCreateWithoutEventHandlerExecutionsInput = {
16397
16867
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
16398
16868
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
16399
16869
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
16400
- eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
16401
16870
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
16402
16871
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
16403
16872
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
@@ -16428,6 +16897,7 @@ export type TenantCreateWithoutEventHandlerExecutionsInput = {
16428
16897
  propertyVariantMedia?: Prisma.PropertyVariantMediaCreateNestedManyWithoutTenantInput;
16429
16898
  propertyUnits?: Prisma.PropertyUnitCreateNestedManyWithoutTenantInput;
16430
16899
  propertyAmenities?: Prisma.PropertyAmenityCreateNestedManyWithoutTenantInput;
16900
+ eventHandlerExecutions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutTenantInput;
16431
16901
  amenities?: Prisma.AmenityCreateNestedManyWithoutTenantInput;
16432
16902
  socials?: Prisma.SocialCreateNestedManyWithoutTenantInput;
16433
16903
  wallets?: Prisma.WalletCreateNestedManyWithoutTenantInput;
@@ -16437,9 +16907,11 @@ export type TenantCreateWithoutEventHandlerExecutionsInput = {
16437
16907
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
16438
16908
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
16439
16909
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
16910
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
16911
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
16440
16912
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
16441
16913
  };
16442
- export type TenantUncheckedCreateWithoutEventHandlerExecutionsInput = {
16914
+ export type TenantUncheckedCreateWithoutEventHandlersInput = {
16443
16915
  id?: string;
16444
16916
  name: string;
16445
16917
  subdomain: string;
@@ -16463,7 +16935,6 @@ export type TenantUncheckedCreateWithoutEventHandlerExecutionsInput = {
16463
16935
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
16464
16936
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
16465
16937
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
16466
- eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
16467
16938
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
16468
16939
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
16469
16940
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
@@ -16494,6 +16965,7 @@ export type TenantUncheckedCreateWithoutEventHandlerExecutionsInput = {
16494
16965
  propertyVariantMedia?: Prisma.PropertyVariantMediaUncheckedCreateNestedManyWithoutTenantInput;
16495
16966
  propertyUnits?: Prisma.PropertyUnitUncheckedCreateNestedManyWithoutTenantInput;
16496
16967
  propertyAmenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutTenantInput;
16968
+ eventHandlerExecutions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutTenantInput;
16497
16969
  amenities?: Prisma.AmenityUncheckedCreateNestedManyWithoutTenantInput;
16498
16970
  socials?: Prisma.SocialUncheckedCreateNestedManyWithoutTenantInput;
16499
16971
  wallets?: Prisma.WalletUncheckedCreateNestedManyWithoutTenantInput;
@@ -16503,6 +16975,578 @@ export type TenantUncheckedCreateWithoutEventHandlerExecutionsInput = {
16503
16975
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
16504
16976
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
16505
16977
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
16978
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
16979
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
16980
+ organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
16981
+ };
16982
+ export type TenantCreateOrConnectWithoutEventHandlersInput = {
16983
+ where: Prisma.TenantWhereUniqueInput;
16984
+ create: Prisma.XOR<Prisma.TenantCreateWithoutEventHandlersInput, Prisma.TenantUncheckedCreateWithoutEventHandlersInput>;
16985
+ };
16986
+ export type TenantUpsertWithoutEventHandlersInput = {
16987
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutEventHandlersInput, Prisma.TenantUncheckedUpdateWithoutEventHandlersInput>;
16988
+ create: Prisma.XOR<Prisma.TenantCreateWithoutEventHandlersInput, Prisma.TenantUncheckedCreateWithoutEventHandlersInput>;
16989
+ where?: Prisma.TenantWhereInput;
16990
+ };
16991
+ export type TenantUpdateToOneWithWhereWithoutEventHandlersInput = {
16992
+ where?: Prisma.TenantWhereInput;
16993
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutEventHandlersInput, Prisma.TenantUncheckedUpdateWithoutEventHandlersInput>;
16994
+ };
16995
+ export type TenantUpdateWithoutEventHandlersInput = {
16996
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
16997
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
16998
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
16999
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
17000
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
17001
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
17002
+ users?: Prisma.UserUpdateManyWithoutTenantNestedInput;
17003
+ properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
17004
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
17005
+ documentationPlans?: Prisma.DocumentationPlanUpdateManyWithoutTenantNestedInput;
17006
+ paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
17007
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
17008
+ roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
17009
+ permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
17010
+ memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
17011
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
17012
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
17013
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
17014
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
17015
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
17016
+ apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
17017
+ eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
17018
+ eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
17019
+ workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
17020
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
17021
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
17022
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
17023
+ propertyPaymentMethodLinks?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutTenantNestedInput;
17024
+ propertyPaymentMethodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutTenantNestedInput;
17025
+ phaseEventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutTenantNestedInput;
17026
+ paymentMethodPhaseSteps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutTenantNestedInput;
17027
+ stepEventAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutTenantNestedInput;
17028
+ paymentMethodPhaseDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutTenantNestedInput;
17029
+ paymentMethodPhaseFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutTenantNestedInput;
17030
+ applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutTenantNestedInput;
17031
+ questionnairePhases?: Prisma.QuestionnairePhaseUpdateManyWithoutTenantNestedInput;
17032
+ documentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutTenantNestedInput;
17033
+ paymentPhases?: Prisma.PaymentPhaseUpdateManyWithoutTenantNestedInput;
17034
+ questionnaireFields?: Prisma.QuestionnaireFieldUpdateManyWithoutTenantNestedInput;
17035
+ applicationEvents?: Prisma.ApplicationEventUpdateManyWithoutTenantNestedInput;
17036
+ documentationSteps?: Prisma.DocumentationStepUpdateManyWithoutTenantNestedInput;
17037
+ documentationStepDocuments?: Prisma.DocumentationStepDocumentUpdateManyWithoutTenantNestedInput;
17038
+ documentationStepApprovals?: Prisma.DocumentationStepApprovalUpdateManyWithoutTenantNestedInput;
17039
+ paymentInstallments?: Prisma.PaymentInstallmentUpdateManyWithoutTenantNestedInput;
17040
+ applicationPayments?: Prisma.ApplicationPaymentUpdateManyWithoutTenantNestedInput;
17041
+ applicationDocuments?: Prisma.ApplicationDocumentUpdateManyWithoutTenantNestedInput;
17042
+ propertyMedia?: Prisma.PropertyMediaUpdateManyWithoutTenantNestedInput;
17043
+ propertyDocuments?: Prisma.PropertyDocumentUpdateManyWithoutTenantNestedInput;
17044
+ propertyVariants?: Prisma.PropertyVariantUpdateManyWithoutTenantNestedInput;
17045
+ propertyVariantAmenities?: Prisma.PropertyVariantAmenityUpdateManyWithoutTenantNestedInput;
17046
+ propertyVariantMedia?: Prisma.PropertyVariantMediaUpdateManyWithoutTenantNestedInput;
17047
+ propertyUnits?: Prisma.PropertyUnitUpdateManyWithoutTenantNestedInput;
17048
+ propertyAmenities?: Prisma.PropertyAmenityUpdateManyWithoutTenantNestedInput;
17049
+ eventHandlerExecutions?: Prisma.EventHandlerExecutionUpdateManyWithoutTenantNestedInput;
17050
+ amenities?: Prisma.AmenityUpdateManyWithoutTenantNestedInput;
17051
+ socials?: Prisma.SocialUpdateManyWithoutTenantNestedInput;
17052
+ wallets?: Prisma.WalletUpdateManyWithoutTenantNestedInput;
17053
+ transactions?: Prisma.TransactionUpdateManyWithoutTenantNestedInput;
17054
+ settings?: Prisma.SettingsUpdateManyWithoutTenantNestedInput;
17055
+ domainEvents?: Prisma.DomainEventUpdateManyWithoutTenantNestedInput;
17056
+ workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
17057
+ questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
17058
+ documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
17059
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
17060
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
17061
+ organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
17062
+ };
17063
+ export type TenantUncheckedUpdateWithoutEventHandlersInput = {
17064
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
17065
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
17066
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
17067
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
17068
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
17069
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
17070
+ users?: Prisma.UserUncheckedUpdateManyWithoutTenantNestedInput;
17071
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
17072
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
17073
+ documentationPlans?: Prisma.DocumentationPlanUncheckedUpdateManyWithoutTenantNestedInput;
17074
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
17075
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
17076
+ roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
17077
+ permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
17078
+ memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
17079
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
17080
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
17081
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
17082
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
17083
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
17084
+ apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
17085
+ eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
17086
+ eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
17087
+ workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
17088
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
17089
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
17090
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
17091
+ propertyPaymentMethodLinks?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutTenantNestedInput;
17092
+ propertyPaymentMethodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantNestedInput;
17093
+ phaseEventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutTenantNestedInput;
17094
+ paymentMethodPhaseSteps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutTenantNestedInput;
17095
+ stepEventAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutTenantNestedInput;
17096
+ paymentMethodPhaseDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutTenantNestedInput;
17097
+ paymentMethodPhaseFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutTenantNestedInput;
17098
+ applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutTenantNestedInput;
17099
+ questionnairePhases?: Prisma.QuestionnairePhaseUncheckedUpdateManyWithoutTenantNestedInput;
17100
+ documentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutTenantNestedInput;
17101
+ paymentPhases?: Prisma.PaymentPhaseUncheckedUpdateManyWithoutTenantNestedInput;
17102
+ questionnaireFields?: Prisma.QuestionnaireFieldUncheckedUpdateManyWithoutTenantNestedInput;
17103
+ applicationEvents?: Prisma.ApplicationEventUncheckedUpdateManyWithoutTenantNestedInput;
17104
+ documentationSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutTenantNestedInput;
17105
+ documentationStepDocuments?: Prisma.DocumentationStepDocumentUncheckedUpdateManyWithoutTenantNestedInput;
17106
+ documentationStepApprovals?: Prisma.DocumentationStepApprovalUncheckedUpdateManyWithoutTenantNestedInput;
17107
+ paymentInstallments?: Prisma.PaymentInstallmentUncheckedUpdateManyWithoutTenantNestedInput;
17108
+ applicationPayments?: Prisma.ApplicationPaymentUncheckedUpdateManyWithoutTenantNestedInput;
17109
+ applicationDocuments?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutTenantNestedInput;
17110
+ propertyMedia?: Prisma.PropertyMediaUncheckedUpdateManyWithoutTenantNestedInput;
17111
+ propertyDocuments?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutTenantNestedInput;
17112
+ propertyVariants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutTenantNestedInput;
17113
+ propertyVariantAmenities?: Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutTenantNestedInput;
17114
+ propertyVariantMedia?: Prisma.PropertyVariantMediaUncheckedUpdateManyWithoutTenantNestedInput;
17115
+ propertyUnits?: Prisma.PropertyUnitUncheckedUpdateManyWithoutTenantNestedInput;
17116
+ propertyAmenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutTenantNestedInput;
17117
+ eventHandlerExecutions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutTenantNestedInput;
17118
+ amenities?: Prisma.AmenityUncheckedUpdateManyWithoutTenantNestedInput;
17119
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutTenantNestedInput;
17120
+ wallets?: Prisma.WalletUncheckedUpdateManyWithoutTenantNestedInput;
17121
+ transactions?: Prisma.TransactionUncheckedUpdateManyWithoutTenantNestedInput;
17122
+ settings?: Prisma.SettingsUncheckedUpdateManyWithoutTenantNestedInput;
17123
+ domainEvents?: Prisma.DomainEventUncheckedUpdateManyWithoutTenantNestedInput;
17124
+ workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
17125
+ questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
17126
+ documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
17127
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
17128
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
17129
+ organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
17130
+ };
17131
+ export type TenantCreateWithoutWorkflowEventsInput = {
17132
+ id?: string;
17133
+ name: string;
17134
+ subdomain: string;
17135
+ isActive?: boolean;
17136
+ createdAt?: Date | string;
17137
+ updatedAt?: Date | string;
17138
+ users?: Prisma.UserCreateNestedManyWithoutTenantInput;
17139
+ properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
17140
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
17141
+ documentationPlans?: Prisma.DocumentationPlanCreateNestedManyWithoutTenantInput;
17142
+ paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
17143
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
17144
+ roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
17145
+ permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
17146
+ memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
17147
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
17148
+ documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
17149
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
17150
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
17151
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
17152
+ apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
17153
+ eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
17154
+ eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
17155
+ eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
17156
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
17157
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
17158
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
17159
+ propertyPaymentMethodLinks?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutTenantInput;
17160
+ propertyPaymentMethodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutTenantInput;
17161
+ phaseEventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutTenantInput;
17162
+ paymentMethodPhaseSteps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutTenantInput;
17163
+ stepEventAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutTenantInput;
17164
+ paymentMethodPhaseDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutTenantInput;
17165
+ paymentMethodPhaseFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutTenantInput;
17166
+ applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutTenantInput;
17167
+ questionnairePhases?: Prisma.QuestionnairePhaseCreateNestedManyWithoutTenantInput;
17168
+ documentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutTenantInput;
17169
+ paymentPhases?: Prisma.PaymentPhaseCreateNestedManyWithoutTenantInput;
17170
+ questionnaireFields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutTenantInput;
17171
+ applicationEvents?: Prisma.ApplicationEventCreateNestedManyWithoutTenantInput;
17172
+ documentationSteps?: Prisma.DocumentationStepCreateNestedManyWithoutTenantInput;
17173
+ documentationStepDocuments?: Prisma.DocumentationStepDocumentCreateNestedManyWithoutTenantInput;
17174
+ documentationStepApprovals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutTenantInput;
17175
+ paymentInstallments?: Prisma.PaymentInstallmentCreateNestedManyWithoutTenantInput;
17176
+ applicationPayments?: Prisma.ApplicationPaymentCreateNestedManyWithoutTenantInput;
17177
+ applicationDocuments?: Prisma.ApplicationDocumentCreateNestedManyWithoutTenantInput;
17178
+ propertyMedia?: Prisma.PropertyMediaCreateNestedManyWithoutTenantInput;
17179
+ propertyDocuments?: Prisma.PropertyDocumentCreateNestedManyWithoutTenantInput;
17180
+ propertyVariants?: Prisma.PropertyVariantCreateNestedManyWithoutTenantInput;
17181
+ propertyVariantAmenities?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutTenantInput;
17182
+ propertyVariantMedia?: Prisma.PropertyVariantMediaCreateNestedManyWithoutTenantInput;
17183
+ propertyUnits?: Prisma.PropertyUnitCreateNestedManyWithoutTenantInput;
17184
+ propertyAmenities?: Prisma.PropertyAmenityCreateNestedManyWithoutTenantInput;
17185
+ eventHandlerExecutions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutTenantInput;
17186
+ amenities?: Prisma.AmenityCreateNestedManyWithoutTenantInput;
17187
+ socials?: Prisma.SocialCreateNestedManyWithoutTenantInput;
17188
+ wallets?: Prisma.WalletCreateNestedManyWithoutTenantInput;
17189
+ transactions?: Prisma.TransactionCreateNestedManyWithoutTenantInput;
17190
+ settings?: Prisma.SettingsCreateNestedManyWithoutTenantInput;
17191
+ domainEvents?: Prisma.DomainEventCreateNestedManyWithoutTenantInput;
17192
+ workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
17193
+ questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
17194
+ documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
17195
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
17196
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
17197
+ organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
17198
+ };
17199
+ export type TenantUncheckedCreateWithoutWorkflowEventsInput = {
17200
+ id?: string;
17201
+ name: string;
17202
+ subdomain: string;
17203
+ isActive?: boolean;
17204
+ createdAt?: Date | string;
17205
+ updatedAt?: Date | string;
17206
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutTenantInput;
17207
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
17208
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
17209
+ documentationPlans?: Prisma.DocumentationPlanUncheckedCreateNestedManyWithoutTenantInput;
17210
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
17211
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
17212
+ roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
17213
+ permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
17214
+ memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
17215
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
17216
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
17217
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
17218
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
17219
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
17220
+ apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
17221
+ eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
17222
+ eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
17223
+ eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
17224
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
17225
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
17226
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
17227
+ propertyPaymentMethodLinks?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutTenantInput;
17228
+ propertyPaymentMethodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutTenantInput;
17229
+ phaseEventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutTenantInput;
17230
+ paymentMethodPhaseSteps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutTenantInput;
17231
+ stepEventAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutTenantInput;
17232
+ paymentMethodPhaseDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutTenantInput;
17233
+ paymentMethodPhaseFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutTenantInput;
17234
+ applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutTenantInput;
17235
+ questionnairePhases?: Prisma.QuestionnairePhaseUncheckedCreateNestedManyWithoutTenantInput;
17236
+ documentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutTenantInput;
17237
+ paymentPhases?: Prisma.PaymentPhaseUncheckedCreateNestedManyWithoutTenantInput;
17238
+ questionnaireFields?: Prisma.QuestionnaireFieldUncheckedCreateNestedManyWithoutTenantInput;
17239
+ applicationEvents?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutTenantInput;
17240
+ documentationSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutTenantInput;
17241
+ documentationStepDocuments?: Prisma.DocumentationStepDocumentUncheckedCreateNestedManyWithoutTenantInput;
17242
+ documentationStepApprovals?: Prisma.DocumentationStepApprovalUncheckedCreateNestedManyWithoutTenantInput;
17243
+ paymentInstallments?: Prisma.PaymentInstallmentUncheckedCreateNestedManyWithoutTenantInput;
17244
+ applicationPayments?: Prisma.ApplicationPaymentUncheckedCreateNestedManyWithoutTenantInput;
17245
+ applicationDocuments?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutTenantInput;
17246
+ propertyMedia?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutTenantInput;
17247
+ propertyDocuments?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutTenantInput;
17248
+ propertyVariants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutTenantInput;
17249
+ propertyVariantAmenities?: Prisma.PropertyVariantAmenityUncheckedCreateNestedManyWithoutTenantInput;
17250
+ propertyVariantMedia?: Prisma.PropertyVariantMediaUncheckedCreateNestedManyWithoutTenantInput;
17251
+ propertyUnits?: Prisma.PropertyUnitUncheckedCreateNestedManyWithoutTenantInput;
17252
+ propertyAmenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutTenantInput;
17253
+ eventHandlerExecutions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutTenantInput;
17254
+ amenities?: Prisma.AmenityUncheckedCreateNestedManyWithoutTenantInput;
17255
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutTenantInput;
17256
+ wallets?: Prisma.WalletUncheckedCreateNestedManyWithoutTenantInput;
17257
+ transactions?: Prisma.TransactionUncheckedCreateNestedManyWithoutTenantInput;
17258
+ settings?: Prisma.SettingsUncheckedCreateNestedManyWithoutTenantInput;
17259
+ domainEvents?: Prisma.DomainEventUncheckedCreateNestedManyWithoutTenantInput;
17260
+ workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
17261
+ questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
17262
+ documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
17263
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
17264
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
17265
+ organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
17266
+ };
17267
+ export type TenantCreateOrConnectWithoutWorkflowEventsInput = {
17268
+ where: Prisma.TenantWhereUniqueInput;
17269
+ create: Prisma.XOR<Prisma.TenantCreateWithoutWorkflowEventsInput, Prisma.TenantUncheckedCreateWithoutWorkflowEventsInput>;
17270
+ };
17271
+ export type TenantUpsertWithoutWorkflowEventsInput = {
17272
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutWorkflowEventsInput, Prisma.TenantUncheckedUpdateWithoutWorkflowEventsInput>;
17273
+ create: Prisma.XOR<Prisma.TenantCreateWithoutWorkflowEventsInput, Prisma.TenantUncheckedCreateWithoutWorkflowEventsInput>;
17274
+ where?: Prisma.TenantWhereInput;
17275
+ };
17276
+ export type TenantUpdateToOneWithWhereWithoutWorkflowEventsInput = {
17277
+ where?: Prisma.TenantWhereInput;
17278
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutWorkflowEventsInput, Prisma.TenantUncheckedUpdateWithoutWorkflowEventsInput>;
17279
+ };
17280
+ export type TenantUpdateWithoutWorkflowEventsInput = {
17281
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
17282
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
17283
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
17284
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
17285
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
17286
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
17287
+ users?: Prisma.UserUpdateManyWithoutTenantNestedInput;
17288
+ properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
17289
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
17290
+ documentationPlans?: Prisma.DocumentationPlanUpdateManyWithoutTenantNestedInput;
17291
+ paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
17292
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
17293
+ roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
17294
+ permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
17295
+ memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
17296
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
17297
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
17298
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
17299
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
17300
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
17301
+ apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
17302
+ eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
17303
+ eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
17304
+ eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
17305
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
17306
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
17307
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
17308
+ propertyPaymentMethodLinks?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutTenantNestedInput;
17309
+ propertyPaymentMethodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutTenantNestedInput;
17310
+ phaseEventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutTenantNestedInput;
17311
+ paymentMethodPhaseSteps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutTenantNestedInput;
17312
+ stepEventAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutTenantNestedInput;
17313
+ paymentMethodPhaseDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutTenantNestedInput;
17314
+ paymentMethodPhaseFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutTenantNestedInput;
17315
+ applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutTenantNestedInput;
17316
+ questionnairePhases?: Prisma.QuestionnairePhaseUpdateManyWithoutTenantNestedInput;
17317
+ documentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutTenantNestedInput;
17318
+ paymentPhases?: Prisma.PaymentPhaseUpdateManyWithoutTenantNestedInput;
17319
+ questionnaireFields?: Prisma.QuestionnaireFieldUpdateManyWithoutTenantNestedInput;
17320
+ applicationEvents?: Prisma.ApplicationEventUpdateManyWithoutTenantNestedInput;
17321
+ documentationSteps?: Prisma.DocumentationStepUpdateManyWithoutTenantNestedInput;
17322
+ documentationStepDocuments?: Prisma.DocumentationStepDocumentUpdateManyWithoutTenantNestedInput;
17323
+ documentationStepApprovals?: Prisma.DocumentationStepApprovalUpdateManyWithoutTenantNestedInput;
17324
+ paymentInstallments?: Prisma.PaymentInstallmentUpdateManyWithoutTenantNestedInput;
17325
+ applicationPayments?: Prisma.ApplicationPaymentUpdateManyWithoutTenantNestedInput;
17326
+ applicationDocuments?: Prisma.ApplicationDocumentUpdateManyWithoutTenantNestedInput;
17327
+ propertyMedia?: Prisma.PropertyMediaUpdateManyWithoutTenantNestedInput;
17328
+ propertyDocuments?: Prisma.PropertyDocumentUpdateManyWithoutTenantNestedInput;
17329
+ propertyVariants?: Prisma.PropertyVariantUpdateManyWithoutTenantNestedInput;
17330
+ propertyVariantAmenities?: Prisma.PropertyVariantAmenityUpdateManyWithoutTenantNestedInput;
17331
+ propertyVariantMedia?: Prisma.PropertyVariantMediaUpdateManyWithoutTenantNestedInput;
17332
+ propertyUnits?: Prisma.PropertyUnitUpdateManyWithoutTenantNestedInput;
17333
+ propertyAmenities?: Prisma.PropertyAmenityUpdateManyWithoutTenantNestedInput;
17334
+ eventHandlerExecutions?: Prisma.EventHandlerExecutionUpdateManyWithoutTenantNestedInput;
17335
+ amenities?: Prisma.AmenityUpdateManyWithoutTenantNestedInput;
17336
+ socials?: Prisma.SocialUpdateManyWithoutTenantNestedInput;
17337
+ wallets?: Prisma.WalletUpdateManyWithoutTenantNestedInput;
17338
+ transactions?: Prisma.TransactionUpdateManyWithoutTenantNestedInput;
17339
+ settings?: Prisma.SettingsUpdateManyWithoutTenantNestedInput;
17340
+ domainEvents?: Prisma.DomainEventUpdateManyWithoutTenantNestedInput;
17341
+ workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
17342
+ questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
17343
+ documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
17344
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
17345
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
17346
+ organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
17347
+ };
17348
+ export type TenantUncheckedUpdateWithoutWorkflowEventsInput = {
17349
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
17350
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
17351
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
17352
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
17353
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
17354
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
17355
+ users?: Prisma.UserUncheckedUpdateManyWithoutTenantNestedInput;
17356
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
17357
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
17358
+ documentationPlans?: Prisma.DocumentationPlanUncheckedUpdateManyWithoutTenantNestedInput;
17359
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
17360
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
17361
+ roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
17362
+ permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
17363
+ memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
17364
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
17365
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
17366
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
17367
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
17368
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
17369
+ apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
17370
+ eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
17371
+ eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
17372
+ eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
17373
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
17374
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
17375
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
17376
+ propertyPaymentMethodLinks?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutTenantNestedInput;
17377
+ propertyPaymentMethodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantNestedInput;
17378
+ phaseEventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutTenantNestedInput;
17379
+ paymentMethodPhaseSteps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutTenantNestedInput;
17380
+ stepEventAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutTenantNestedInput;
17381
+ paymentMethodPhaseDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutTenantNestedInput;
17382
+ paymentMethodPhaseFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutTenantNestedInput;
17383
+ applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutTenantNestedInput;
17384
+ questionnairePhases?: Prisma.QuestionnairePhaseUncheckedUpdateManyWithoutTenantNestedInput;
17385
+ documentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutTenantNestedInput;
17386
+ paymentPhases?: Prisma.PaymentPhaseUncheckedUpdateManyWithoutTenantNestedInput;
17387
+ questionnaireFields?: Prisma.QuestionnaireFieldUncheckedUpdateManyWithoutTenantNestedInput;
17388
+ applicationEvents?: Prisma.ApplicationEventUncheckedUpdateManyWithoutTenantNestedInput;
17389
+ documentationSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutTenantNestedInput;
17390
+ documentationStepDocuments?: Prisma.DocumentationStepDocumentUncheckedUpdateManyWithoutTenantNestedInput;
17391
+ documentationStepApprovals?: Prisma.DocumentationStepApprovalUncheckedUpdateManyWithoutTenantNestedInput;
17392
+ paymentInstallments?: Prisma.PaymentInstallmentUncheckedUpdateManyWithoutTenantNestedInput;
17393
+ applicationPayments?: Prisma.ApplicationPaymentUncheckedUpdateManyWithoutTenantNestedInput;
17394
+ applicationDocuments?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutTenantNestedInput;
17395
+ propertyMedia?: Prisma.PropertyMediaUncheckedUpdateManyWithoutTenantNestedInput;
17396
+ propertyDocuments?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutTenantNestedInput;
17397
+ propertyVariants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutTenantNestedInput;
17398
+ propertyVariantAmenities?: Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutTenantNestedInput;
17399
+ propertyVariantMedia?: Prisma.PropertyVariantMediaUncheckedUpdateManyWithoutTenantNestedInput;
17400
+ propertyUnits?: Prisma.PropertyUnitUncheckedUpdateManyWithoutTenantNestedInput;
17401
+ propertyAmenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutTenantNestedInput;
17402
+ eventHandlerExecutions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutTenantNestedInput;
17403
+ amenities?: Prisma.AmenityUncheckedUpdateManyWithoutTenantNestedInput;
17404
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutTenantNestedInput;
17405
+ wallets?: Prisma.WalletUncheckedUpdateManyWithoutTenantNestedInput;
17406
+ transactions?: Prisma.TransactionUncheckedUpdateManyWithoutTenantNestedInput;
17407
+ settings?: Prisma.SettingsUncheckedUpdateManyWithoutTenantNestedInput;
17408
+ domainEvents?: Prisma.DomainEventUncheckedUpdateManyWithoutTenantNestedInput;
17409
+ workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
17410
+ questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
17411
+ documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
17412
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
17413
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
17414
+ organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
17415
+ };
17416
+ export type TenantCreateWithoutEventHandlerExecutionsInput = {
17417
+ id?: string;
17418
+ name: string;
17419
+ subdomain: string;
17420
+ isActive?: boolean;
17421
+ createdAt?: Date | string;
17422
+ updatedAt?: Date | string;
17423
+ users?: Prisma.UserCreateNestedManyWithoutTenantInput;
17424
+ properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
17425
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
17426
+ documentationPlans?: Prisma.DocumentationPlanCreateNestedManyWithoutTenantInput;
17427
+ paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
17428
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
17429
+ roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
17430
+ permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
17431
+ memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
17432
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
17433
+ documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
17434
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
17435
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
17436
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
17437
+ apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
17438
+ eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
17439
+ eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
17440
+ eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
17441
+ workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
17442
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
17443
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
17444
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
17445
+ propertyPaymentMethodLinks?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutTenantInput;
17446
+ propertyPaymentMethodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutTenantInput;
17447
+ phaseEventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutTenantInput;
17448
+ paymentMethodPhaseSteps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutTenantInput;
17449
+ stepEventAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutTenantInput;
17450
+ paymentMethodPhaseDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutTenantInput;
17451
+ paymentMethodPhaseFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutTenantInput;
17452
+ applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutTenantInput;
17453
+ questionnairePhases?: Prisma.QuestionnairePhaseCreateNestedManyWithoutTenantInput;
17454
+ documentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutTenantInput;
17455
+ paymentPhases?: Prisma.PaymentPhaseCreateNestedManyWithoutTenantInput;
17456
+ questionnaireFields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutTenantInput;
17457
+ applicationEvents?: Prisma.ApplicationEventCreateNestedManyWithoutTenantInput;
17458
+ documentationSteps?: Prisma.DocumentationStepCreateNestedManyWithoutTenantInput;
17459
+ documentationStepDocuments?: Prisma.DocumentationStepDocumentCreateNestedManyWithoutTenantInput;
17460
+ documentationStepApprovals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutTenantInput;
17461
+ paymentInstallments?: Prisma.PaymentInstallmentCreateNestedManyWithoutTenantInput;
17462
+ applicationPayments?: Prisma.ApplicationPaymentCreateNestedManyWithoutTenantInput;
17463
+ applicationDocuments?: Prisma.ApplicationDocumentCreateNestedManyWithoutTenantInput;
17464
+ propertyMedia?: Prisma.PropertyMediaCreateNestedManyWithoutTenantInput;
17465
+ propertyDocuments?: Prisma.PropertyDocumentCreateNestedManyWithoutTenantInput;
17466
+ propertyVariants?: Prisma.PropertyVariantCreateNestedManyWithoutTenantInput;
17467
+ propertyVariantAmenities?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutTenantInput;
17468
+ propertyVariantMedia?: Prisma.PropertyVariantMediaCreateNestedManyWithoutTenantInput;
17469
+ propertyUnits?: Prisma.PropertyUnitCreateNestedManyWithoutTenantInput;
17470
+ propertyAmenities?: Prisma.PropertyAmenityCreateNestedManyWithoutTenantInput;
17471
+ amenities?: Prisma.AmenityCreateNestedManyWithoutTenantInput;
17472
+ socials?: Prisma.SocialCreateNestedManyWithoutTenantInput;
17473
+ wallets?: Prisma.WalletCreateNestedManyWithoutTenantInput;
17474
+ transactions?: Prisma.TransactionCreateNestedManyWithoutTenantInput;
17475
+ settings?: Prisma.SettingsCreateNestedManyWithoutTenantInput;
17476
+ domainEvents?: Prisma.DomainEventCreateNestedManyWithoutTenantInput;
17477
+ workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
17478
+ questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
17479
+ documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
17480
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
17481
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
17482
+ organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
17483
+ };
17484
+ export type TenantUncheckedCreateWithoutEventHandlerExecutionsInput = {
17485
+ id?: string;
17486
+ name: string;
17487
+ subdomain: string;
17488
+ isActive?: boolean;
17489
+ createdAt?: Date | string;
17490
+ updatedAt?: Date | string;
17491
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutTenantInput;
17492
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
17493
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
17494
+ documentationPlans?: Prisma.DocumentationPlanUncheckedCreateNestedManyWithoutTenantInput;
17495
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
17496
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
17497
+ roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
17498
+ permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
17499
+ memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
17500
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
17501
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
17502
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
17503
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
17504
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
17505
+ apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
17506
+ eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
17507
+ eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
17508
+ eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
17509
+ workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
17510
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
17511
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
17512
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
17513
+ propertyPaymentMethodLinks?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutTenantInput;
17514
+ propertyPaymentMethodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutTenantInput;
17515
+ phaseEventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutTenantInput;
17516
+ paymentMethodPhaseSteps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutTenantInput;
17517
+ stepEventAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutTenantInput;
17518
+ paymentMethodPhaseDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutTenantInput;
17519
+ paymentMethodPhaseFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutTenantInput;
17520
+ applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutTenantInput;
17521
+ questionnairePhases?: Prisma.QuestionnairePhaseUncheckedCreateNestedManyWithoutTenantInput;
17522
+ documentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutTenantInput;
17523
+ paymentPhases?: Prisma.PaymentPhaseUncheckedCreateNestedManyWithoutTenantInput;
17524
+ questionnaireFields?: Prisma.QuestionnaireFieldUncheckedCreateNestedManyWithoutTenantInput;
17525
+ applicationEvents?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutTenantInput;
17526
+ documentationSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutTenantInput;
17527
+ documentationStepDocuments?: Prisma.DocumentationStepDocumentUncheckedCreateNestedManyWithoutTenantInput;
17528
+ documentationStepApprovals?: Prisma.DocumentationStepApprovalUncheckedCreateNestedManyWithoutTenantInput;
17529
+ paymentInstallments?: Prisma.PaymentInstallmentUncheckedCreateNestedManyWithoutTenantInput;
17530
+ applicationPayments?: Prisma.ApplicationPaymentUncheckedCreateNestedManyWithoutTenantInput;
17531
+ applicationDocuments?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutTenantInput;
17532
+ propertyMedia?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutTenantInput;
17533
+ propertyDocuments?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutTenantInput;
17534
+ propertyVariants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutTenantInput;
17535
+ propertyVariantAmenities?: Prisma.PropertyVariantAmenityUncheckedCreateNestedManyWithoutTenantInput;
17536
+ propertyVariantMedia?: Prisma.PropertyVariantMediaUncheckedCreateNestedManyWithoutTenantInput;
17537
+ propertyUnits?: Prisma.PropertyUnitUncheckedCreateNestedManyWithoutTenantInput;
17538
+ propertyAmenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutTenantInput;
17539
+ amenities?: Prisma.AmenityUncheckedCreateNestedManyWithoutTenantInput;
17540
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutTenantInput;
17541
+ wallets?: Prisma.WalletUncheckedCreateNestedManyWithoutTenantInput;
17542
+ transactions?: Prisma.TransactionUncheckedCreateNestedManyWithoutTenantInput;
17543
+ settings?: Prisma.SettingsUncheckedCreateNestedManyWithoutTenantInput;
17544
+ domainEvents?: Prisma.DomainEventUncheckedCreateNestedManyWithoutTenantInput;
17545
+ workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
17546
+ questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
17547
+ documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
17548
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
17549
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
16506
17550
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
16507
17551
  };
16508
17552
  export type TenantCreateOrConnectWithoutEventHandlerExecutionsInput = {
@@ -16582,6 +17626,8 @@ export type TenantUpdateWithoutEventHandlerExecutionsInput = {
16582
17626
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
16583
17627
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
16584
17628
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
17629
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
17630
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
16585
17631
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
16586
17632
  };
16587
17633
  export type TenantUncheckedUpdateWithoutEventHandlerExecutionsInput = {
@@ -16648,6 +17694,8 @@ export type TenantUncheckedUpdateWithoutEventHandlerExecutionsInput = {
16648
17694
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
16649
17695
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
16650
17696
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
17697
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
17698
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
16651
17699
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
16652
17700
  };
16653
17701
  export type TenantCreateWithoutDomainEventsInput = {
@@ -16714,6 +17762,8 @@ export type TenantCreateWithoutDomainEventsInput = {
16714
17762
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
16715
17763
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
16716
17764
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
17765
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
17766
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
16717
17767
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
16718
17768
  };
16719
17769
  export type TenantUncheckedCreateWithoutDomainEventsInput = {
@@ -16780,6 +17830,8 @@ export type TenantUncheckedCreateWithoutDomainEventsInput = {
16780
17830
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
16781
17831
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
16782
17832
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
17833
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
17834
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
16783
17835
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
16784
17836
  };
16785
17837
  export type TenantCreateOrConnectWithoutDomainEventsInput = {
@@ -16859,6 +17911,8 @@ export type TenantUpdateWithoutDomainEventsInput = {
16859
17911
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
16860
17912
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
16861
17913
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
17914
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
17915
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
16862
17916
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
16863
17917
  };
16864
17918
  export type TenantUncheckedUpdateWithoutDomainEventsInput = {
@@ -16925,6 +17979,8 @@ export type TenantUncheckedUpdateWithoutDomainEventsInput = {
16925
17979
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
16926
17980
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
16927
17981
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
17982
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
17983
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
16928
17984
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
16929
17985
  };
16930
17986
  export type TenantCreateWithoutPropertyTransferRequestsInput = {
@@ -16991,6 +18047,8 @@ export type TenantCreateWithoutPropertyTransferRequestsInput = {
16991
18047
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
16992
18048
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
16993
18049
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
18050
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
18051
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
16994
18052
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
16995
18053
  };
16996
18054
  export type TenantUncheckedCreateWithoutPropertyTransferRequestsInput = {
@@ -17057,6 +18115,8 @@ export type TenantUncheckedCreateWithoutPropertyTransferRequestsInput = {
17057
18115
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
17058
18116
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
17059
18117
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
18118
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
18119
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
17060
18120
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
17061
18121
  };
17062
18122
  export type TenantCreateOrConnectWithoutPropertyTransferRequestsInput = {
@@ -17136,6 +18196,8 @@ export type TenantUpdateWithoutPropertyTransferRequestsInput = {
17136
18196
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
17137
18197
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
17138
18198
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
18199
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
18200
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
17139
18201
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
17140
18202
  };
17141
18203
  export type TenantUncheckedUpdateWithoutPropertyTransferRequestsInput = {
@@ -17202,6 +18264,8 @@ export type TenantUncheckedUpdateWithoutPropertyTransferRequestsInput = {
17202
18264
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
17203
18265
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
17204
18266
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
18267
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
18268
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
17205
18269
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
17206
18270
  };
17207
18271
  export type TenantCreateWithoutApprovalRequestsInput = {
@@ -17268,6 +18332,8 @@ export type TenantCreateWithoutApprovalRequestsInput = {
17268
18332
  workflowBlockers?: Prisma.WorkflowBlockerCreateNestedManyWithoutTenantInput;
17269
18333
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
17270
18334
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
18335
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
18336
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
17271
18337
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
17272
18338
  };
17273
18339
  export type TenantUncheckedCreateWithoutApprovalRequestsInput = {
@@ -17334,6 +18400,8 @@ export type TenantUncheckedCreateWithoutApprovalRequestsInput = {
17334
18400
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedCreateNestedManyWithoutTenantInput;
17335
18401
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
17336
18402
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
18403
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
18404
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
17337
18405
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
17338
18406
  };
17339
18407
  export type TenantCreateOrConnectWithoutApprovalRequestsInput = {
@@ -17413,6 +18481,8 @@ export type TenantUpdateWithoutApprovalRequestsInput = {
17413
18481
  workflowBlockers?: Prisma.WorkflowBlockerUpdateManyWithoutTenantNestedInput;
17414
18482
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
17415
18483
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
18484
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
18485
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
17416
18486
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
17417
18487
  };
17418
18488
  export type TenantUncheckedUpdateWithoutApprovalRequestsInput = {
@@ -17479,6 +18549,8 @@ export type TenantUncheckedUpdateWithoutApprovalRequestsInput = {
17479
18549
  workflowBlockers?: Prisma.WorkflowBlockerUncheckedUpdateManyWithoutTenantNestedInput;
17480
18550
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
17481
18551
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
18552
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
18553
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
17482
18554
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
17483
18555
  };
17484
18556
  export type TenantCreateWithoutWorkflowBlockersInput = {
@@ -17545,6 +18617,8 @@ export type TenantCreateWithoutWorkflowBlockersInput = {
17545
18617
  domainEvents?: Prisma.DomainEventCreateNestedManyWithoutTenantInput;
17546
18618
  questionnairePlans?: Prisma.QuestionnairePlanCreateNestedManyWithoutTenantInput;
17547
18619
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutTenantInput;
18620
+ approvalStageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutTenantInput;
18621
+ documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutTenantInput;
17548
18622
  organizations?: Prisma.OrganizationCreateNestedManyWithoutTenantInput;
17549
18623
  };
17550
18624
  export type TenantUncheckedCreateWithoutWorkflowBlockersInput = {
@@ -17611,6 +18685,8 @@ export type TenantUncheckedCreateWithoutWorkflowBlockersInput = {
17611
18685
  domainEvents?: Prisma.DomainEventUncheckedCreateNestedManyWithoutTenantInput;
17612
18686
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedCreateNestedManyWithoutTenantInput;
17613
18687
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutTenantInput;
18688
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutTenantInput;
18689
+ documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutTenantInput;
17614
18690
  organizations?: Prisma.OrganizationUncheckedCreateNestedManyWithoutTenantInput;
17615
18691
  };
17616
18692
  export type TenantCreateOrConnectWithoutWorkflowBlockersInput = {
@@ -17690,6 +18766,8 @@ export type TenantUpdateWithoutWorkflowBlockersInput = {
17690
18766
  domainEvents?: Prisma.DomainEventUpdateManyWithoutTenantNestedInput;
17691
18767
  questionnairePlans?: Prisma.QuestionnairePlanUpdateManyWithoutTenantNestedInput;
17692
18768
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutTenantNestedInput;
18769
+ approvalStageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutTenantNestedInput;
18770
+ documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutTenantNestedInput;
17693
18771
  organizations?: Prisma.OrganizationUpdateManyWithoutTenantNestedInput;
17694
18772
  };
17695
18773
  export type TenantUncheckedUpdateWithoutWorkflowBlockersInput = {
@@ -17756,6 +18834,8 @@ export type TenantUncheckedUpdateWithoutWorkflowBlockersInput = {
17756
18834
  domainEvents?: Prisma.DomainEventUncheckedUpdateManyWithoutTenantNestedInput;
17757
18835
  questionnairePlans?: Prisma.QuestionnairePlanUncheckedUpdateManyWithoutTenantNestedInput;
17758
18836
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutTenantNestedInput;
18837
+ approvalStageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutTenantNestedInput;
18838
+ documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutTenantNestedInput;
17759
18839
  organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutTenantNestedInput;
17760
18840
  };
17761
18841
  /**
@@ -17820,6 +18900,8 @@ export type TenantCountOutputType = {
17820
18900
  workflowBlockers: number;
17821
18901
  questionnairePlans: number;
17822
18902
  documentReviews: number;
18903
+ approvalStageProgress: number;
18904
+ documentApprovals: number;
17823
18905
  organizations: number;
17824
18906
  };
17825
18907
  export type TenantCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -17881,6 +18963,8 @@ export type TenantCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions
17881
18963
  workflowBlockers?: boolean | TenantCountOutputTypeCountWorkflowBlockersArgs;
17882
18964
  questionnairePlans?: boolean | TenantCountOutputTypeCountQuestionnairePlansArgs;
17883
18965
  documentReviews?: boolean | TenantCountOutputTypeCountDocumentReviewsArgs;
18966
+ approvalStageProgress?: boolean | TenantCountOutputTypeCountApprovalStageProgressArgs;
18967
+ documentApprovals?: boolean | TenantCountOutputTypeCountDocumentApprovalsArgs;
17884
18968
  organizations?: boolean | TenantCountOutputTypeCountOrganizationsArgs;
17885
18969
  };
17886
18970
  /**
@@ -18240,6 +19324,18 @@ export type TenantCountOutputTypeCountQuestionnairePlansArgs<ExtArgs extends run
18240
19324
  export type TenantCountOutputTypeCountDocumentReviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
18241
19325
  where?: Prisma.DocumentReviewWhereInput;
18242
19326
  };
19327
+ /**
19328
+ * TenantCountOutputType without action
19329
+ */
19330
+ export type TenantCountOutputTypeCountApprovalStageProgressArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
19331
+ where?: Prisma.ApprovalStageProgressWhereInput;
19332
+ };
19333
+ /**
19334
+ * TenantCountOutputType without action
19335
+ */
19336
+ export type TenantCountOutputTypeCountDocumentApprovalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
19337
+ where?: Prisma.DocumentApprovalWhereInput;
19338
+ };
18243
19339
  /**
18244
19340
  * TenantCountOutputType without action
18245
19341
  */
@@ -18311,6 +19407,8 @@ export type TenantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
18311
19407
  workflowBlockers?: boolean | Prisma.Tenant$workflowBlockersArgs<ExtArgs>;
18312
19408
  questionnairePlans?: boolean | Prisma.Tenant$questionnairePlansArgs<ExtArgs>;
18313
19409
  documentReviews?: boolean | Prisma.Tenant$documentReviewsArgs<ExtArgs>;
19410
+ approvalStageProgress?: boolean | Prisma.Tenant$approvalStageProgressArgs<ExtArgs>;
19411
+ documentApprovals?: boolean | Prisma.Tenant$documentApprovalsArgs<ExtArgs>;
18314
19412
  organizations?: boolean | Prisma.Tenant$organizationsArgs<ExtArgs>;
18315
19413
  _count?: boolean | Prisma.TenantCountOutputTypeDefaultArgs<ExtArgs>;
18316
19414
  }, ExtArgs["result"]["tenant"]>;
@@ -18382,6 +19480,8 @@ export type TenantInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
18382
19480
  workflowBlockers?: boolean | Prisma.Tenant$workflowBlockersArgs<ExtArgs>;
18383
19481
  questionnairePlans?: boolean | Prisma.Tenant$questionnairePlansArgs<ExtArgs>;
18384
19482
  documentReviews?: boolean | Prisma.Tenant$documentReviewsArgs<ExtArgs>;
19483
+ approvalStageProgress?: boolean | Prisma.Tenant$approvalStageProgressArgs<ExtArgs>;
19484
+ documentApprovals?: boolean | Prisma.Tenant$documentApprovalsArgs<ExtArgs>;
18385
19485
  organizations?: boolean | Prisma.Tenant$organizationsArgs<ExtArgs>;
18386
19486
  _count?: boolean | Prisma.TenantCountOutputTypeDefaultArgs<ExtArgs>;
18387
19487
  };
@@ -18446,6 +19546,8 @@ export type $TenantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
18446
19546
  workflowBlockers: Prisma.$WorkflowBlockerPayload<ExtArgs>[];
18447
19547
  questionnairePlans: Prisma.$QuestionnairePlanPayload<ExtArgs>[];
18448
19548
  documentReviews: Prisma.$DocumentReviewPayload<ExtArgs>[];
19549
+ approvalStageProgress: Prisma.$ApprovalStageProgressPayload<ExtArgs>[];
19550
+ documentApprovals: Prisma.$DocumentApprovalPayload<ExtArgs>[];
18449
19551
  organizations: Prisma.$OrganizationPayload<ExtArgs>[];
18450
19552
  };
18451
19553
  scalars: runtime.Types.Extensions.GetPayloadResult<{
@@ -18790,6 +19892,8 @@ export interface Prisma__TenantClient<T, Null = never, ExtArgs extends runtime.T
18790
19892
  workflowBlockers<T extends Prisma.Tenant$workflowBlockersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$workflowBlockersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
18791
19893
  questionnairePlans<T extends Prisma.Tenant$questionnairePlansArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$questionnairePlansArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuestionnairePlanPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
18792
19894
  documentReviews<T extends Prisma.Tenant$documentReviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$documentReviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
19895
+ approvalStageProgress<T extends Prisma.Tenant$approvalStageProgressArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$approvalStageProgressArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalStageProgressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
19896
+ documentApprovals<T extends Prisma.Tenant$documentApprovalsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$documentApprovalsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentApprovalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
18793
19897
  organizations<T extends Prisma.Tenant$organizationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$organizationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
18794
19898
  /**
18795
19899
  * Attaches callbacks for the resolution and/or rejection of the Promise.
@@ -20483,6 +21587,52 @@ export type Tenant$documentReviewsArgs<ExtArgs extends runtime.Types.Extensions.
20483
21587
  skip?: number;
20484
21588
  distinct?: Prisma.DocumentReviewScalarFieldEnum | Prisma.DocumentReviewScalarFieldEnum[];
20485
21589
  };
21590
+ /**
21591
+ * Tenant.approvalStageProgress
21592
+ */
21593
+ export type Tenant$approvalStageProgressArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
21594
+ /**
21595
+ * Select specific fields to fetch from the ApprovalStageProgress
21596
+ */
21597
+ select?: Prisma.ApprovalStageProgressSelect<ExtArgs> | null;
21598
+ /**
21599
+ * Omit specific fields from the ApprovalStageProgress
21600
+ */
21601
+ omit?: Prisma.ApprovalStageProgressOmit<ExtArgs> | null;
21602
+ /**
21603
+ * Choose, which related nodes to fetch as well
21604
+ */
21605
+ include?: Prisma.ApprovalStageProgressInclude<ExtArgs> | null;
21606
+ where?: Prisma.ApprovalStageProgressWhereInput;
21607
+ orderBy?: Prisma.ApprovalStageProgressOrderByWithRelationInput | Prisma.ApprovalStageProgressOrderByWithRelationInput[];
21608
+ cursor?: Prisma.ApprovalStageProgressWhereUniqueInput;
21609
+ take?: number;
21610
+ skip?: number;
21611
+ distinct?: Prisma.ApprovalStageProgressScalarFieldEnum | Prisma.ApprovalStageProgressScalarFieldEnum[];
21612
+ };
21613
+ /**
21614
+ * Tenant.documentApprovals
21615
+ */
21616
+ export type Tenant$documentApprovalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
21617
+ /**
21618
+ * Select specific fields to fetch from the DocumentApproval
21619
+ */
21620
+ select?: Prisma.DocumentApprovalSelect<ExtArgs> | null;
21621
+ /**
21622
+ * Omit specific fields from the DocumentApproval
21623
+ */
21624
+ omit?: Prisma.DocumentApprovalOmit<ExtArgs> | null;
21625
+ /**
21626
+ * Choose, which related nodes to fetch as well
21627
+ */
21628
+ include?: Prisma.DocumentApprovalInclude<ExtArgs> | null;
21629
+ where?: Prisma.DocumentApprovalWhereInput;
21630
+ orderBy?: Prisma.DocumentApprovalOrderByWithRelationInput | Prisma.DocumentApprovalOrderByWithRelationInput[];
21631
+ cursor?: Prisma.DocumentApprovalWhereUniqueInput;
21632
+ take?: number;
21633
+ skip?: number;
21634
+ distinct?: Prisma.DocumentApprovalScalarFieldEnum | Prisma.DocumentApprovalScalarFieldEnum[];
21635
+ };
20486
21636
  /**
20487
21637
  * Tenant.organizations
20488
21638
  */