@valentine-efagene/qshelter-common 2.0.137 → 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 (36) 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 +163 -73
  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 +405 -6
  9. package/dist/generated/client/internal/prismaNamespace.js +112 -1
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +120 -1
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +112 -1
  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 +271 -40
  24. package/dist/generated/client/models/DocumentationPlanStep.d.ts +34 -1
  25. package/dist/generated/client/models/DocumentationStep.d.ts +64 -1
  26. package/dist/generated/client/models/Tenant.d.ts +1281 -131
  27. package/dist/generated/client/models/User.d.ts +824 -0
  28. package/dist/generated/client/models/index.d.ts +4 -0
  29. package/dist/generated/client/models/index.js +4 -0
  30. package/dist/generated/client/models.d.ts +4 -0
  31. package/dist/src/utils/documentation-enums.d.ts +10 -1
  32. package/dist/src/utils/documentation-enums.js +8 -0
  33. package/package.json +1 -1
  34. package/prisma/migrations/20260119180401_add_document_name_remove_required_doc_types/migration.sql +14 -0
  35. package/prisma/migrations/20260119190336_add_document_approval_workflow/migration.sql +134 -0
  36. package/prisma/schema.prisma +253 -12
@@ -26,6 +26,7 @@ export type DocumentationStepMinAggregateOutputType = {
26
26
  tenantId: string | null;
27
27
  documentationPhaseId: string | null;
28
28
  name: string | null;
29
+ documentName: string | null;
29
30
  description: string | null;
30
31
  stepType: $Enums.StepType | null;
31
32
  order: number | null;
@@ -57,6 +58,7 @@ export type DocumentationStepMaxAggregateOutputType = {
57
58
  tenantId: string | null;
58
59
  documentationPhaseId: string | null;
59
60
  name: string | null;
61
+ documentName: string | null;
60
62
  description: string | null;
61
63
  stepType: $Enums.StepType | null;
62
64
  order: number | null;
@@ -88,6 +90,7 @@ export type DocumentationStepCountAggregateOutputType = {
88
90
  tenantId: number;
89
91
  documentationPhaseId: number;
90
92
  name: number;
93
+ documentName: number;
91
94
  description: number;
92
95
  stepType: number;
93
96
  order: number;
@@ -131,6 +134,7 @@ export type DocumentationStepMinAggregateInputType = {
131
134
  tenantId?: true;
132
135
  documentationPhaseId?: true;
133
136
  name?: true;
137
+ documentName?: true;
134
138
  description?: true;
135
139
  stepType?: true;
136
140
  order?: true;
@@ -162,6 +166,7 @@ export type DocumentationStepMaxAggregateInputType = {
162
166
  tenantId?: true;
163
167
  documentationPhaseId?: true;
164
168
  name?: true;
169
+ documentName?: true;
165
170
  description?: true;
166
171
  stepType?: true;
167
172
  order?: true;
@@ -193,6 +198,7 @@ export type DocumentationStepCountAggregateInputType = {
193
198
  tenantId?: true;
194
199
  documentationPhaseId?: true;
195
200
  name?: true;
201
+ documentName?: true;
196
202
  description?: true;
197
203
  stepType?: true;
198
204
  order?: true;
@@ -304,6 +310,7 @@ export type DocumentationStepGroupByOutputType = {
304
310
  tenantId: string;
305
311
  documentationPhaseId: string;
306
312
  name: string;
313
+ documentName: string | null;
307
314
  description: string | null;
308
315
  stepType: $Enums.StepType;
309
316
  order: number;
@@ -349,6 +356,7 @@ export type DocumentationStepWhereInput = {
349
356
  tenantId?: Prisma.StringFilter<"DocumentationStep"> | string;
350
357
  documentationPhaseId?: Prisma.StringFilter<"DocumentationStep"> | string;
351
358
  name?: Prisma.StringFilter<"DocumentationStep"> | string;
359
+ documentName?: Prisma.StringNullableFilter<"DocumentationStep"> | string | null;
352
360
  description?: Prisma.StringNullableFilter<"DocumentationStep"> | string | null;
353
361
  stepType?: Prisma.EnumStepTypeFilter<"DocumentationStep"> | $Enums.StepType;
354
362
  order?: Prisma.IntFilter<"DocumentationStep"> | number;
@@ -390,6 +398,7 @@ export type DocumentationStepOrderByWithRelationInput = {
390
398
  tenantId?: Prisma.SortOrder;
391
399
  documentationPhaseId?: Prisma.SortOrder;
392
400
  name?: Prisma.SortOrder;
401
+ documentName?: Prisma.SortOrderInput | Prisma.SortOrder;
393
402
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
394
403
  stepType?: Prisma.SortOrder;
395
404
  order?: Prisma.SortOrder;
@@ -435,6 +444,7 @@ export type DocumentationStepWhereUniqueInput = Prisma.AtLeast<{
435
444
  tenantId?: Prisma.StringFilter<"DocumentationStep"> | string;
436
445
  documentationPhaseId?: Prisma.StringFilter<"DocumentationStep"> | string;
437
446
  name?: Prisma.StringFilter<"DocumentationStep"> | string;
447
+ documentName?: Prisma.StringNullableFilter<"DocumentationStep"> | string | null;
438
448
  description?: Prisma.StringNullableFilter<"DocumentationStep"> | string | null;
439
449
  stepType?: Prisma.EnumStepTypeFilter<"DocumentationStep"> | $Enums.StepType;
440
450
  order?: Prisma.IntFilter<"DocumentationStep"> | number;
@@ -476,6 +486,7 @@ export type DocumentationStepOrderByWithAggregationInput = {
476
486
  tenantId?: Prisma.SortOrder;
477
487
  documentationPhaseId?: Prisma.SortOrder;
478
488
  name?: Prisma.SortOrder;
489
+ documentName?: Prisma.SortOrderInput | Prisma.SortOrder;
479
490
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
480
491
  stepType?: Prisma.SortOrder;
481
492
  order?: Prisma.SortOrder;
@@ -518,6 +529,7 @@ export type DocumentationStepScalarWhereWithAggregatesInput = {
518
529
  tenantId?: Prisma.StringWithAggregatesFilter<"DocumentationStep"> | string;
519
530
  documentationPhaseId?: Prisma.StringWithAggregatesFilter<"DocumentationStep"> | string;
520
531
  name?: Prisma.StringWithAggregatesFilter<"DocumentationStep"> | string;
532
+ documentName?: Prisma.StringNullableWithAggregatesFilter<"DocumentationStep"> | string | null;
521
533
  description?: Prisma.StringNullableWithAggregatesFilter<"DocumentationStep"> | string | null;
522
534
  stepType?: Prisma.EnumStepTypeWithAggregatesFilter<"DocumentationStep"> | $Enums.StepType;
523
535
  order?: Prisma.IntWithAggregatesFilter<"DocumentationStep"> | number;
@@ -550,6 +562,7 @@ export type DocumentationStepScalarWhereWithAggregatesInput = {
550
562
  export type DocumentationStepCreateInput = {
551
563
  id?: string;
552
564
  name: string;
565
+ documentName?: string | null;
553
566
  description?: string | null;
554
567
  stepType: $Enums.StepType;
555
568
  order: number;
@@ -589,6 +602,7 @@ export type DocumentationStepUncheckedCreateInput = {
589
602
  tenantId: string;
590
603
  documentationPhaseId: string;
591
604
  name: string;
605
+ documentName?: string | null;
592
606
  description?: string | null;
593
607
  stepType: $Enums.StepType;
594
608
  order: number;
@@ -624,6 +638,7 @@ export type DocumentationStepUncheckedCreateInput = {
624
638
  export type DocumentationStepUpdateInput = {
625
639
  id?: Prisma.StringFieldUpdateOperationsInput | string;
626
640
  name?: Prisma.StringFieldUpdateOperationsInput | string;
641
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
627
642
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
628
643
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
629
644
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -663,6 +678,7 @@ export type DocumentationStepUncheckedUpdateInput = {
663
678
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
664
679
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
665
680
  name?: Prisma.StringFieldUpdateOperationsInput | string;
681
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
666
682
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
667
683
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
668
684
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -700,6 +716,7 @@ export type DocumentationStepCreateManyInput = {
700
716
  tenantId: string;
701
717
  documentationPhaseId: string;
702
718
  name: string;
719
+ documentName?: string | null;
703
720
  description?: string | null;
704
721
  stepType: $Enums.StepType;
705
722
  order: number;
@@ -732,6 +749,7 @@ export type DocumentationStepCreateManyInput = {
732
749
  export type DocumentationStepUpdateManyMutationInput = {
733
750
  id?: Prisma.StringFieldUpdateOperationsInput | string;
734
751
  name?: Prisma.StringFieldUpdateOperationsInput | string;
752
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
735
753
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
736
754
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
737
755
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -764,6 +782,7 @@ export type DocumentationStepUncheckedUpdateManyInput = {
764
782
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
765
783
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
766
784
  name?: Prisma.StringFieldUpdateOperationsInput | string;
785
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
767
786
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
768
787
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
769
788
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -815,6 +834,7 @@ export type DocumentationStepCountOrderByAggregateInput = {
815
834
  tenantId?: Prisma.SortOrder;
816
835
  documentationPhaseId?: Prisma.SortOrder;
817
836
  name?: Prisma.SortOrder;
837
+ documentName?: Prisma.SortOrder;
818
838
  description?: Prisma.SortOrder;
819
839
  stepType?: Prisma.SortOrder;
820
840
  order?: Prisma.SortOrder;
@@ -853,6 +873,7 @@ export type DocumentationStepMaxOrderByAggregateInput = {
853
873
  tenantId?: Prisma.SortOrder;
854
874
  documentationPhaseId?: Prisma.SortOrder;
855
875
  name?: Prisma.SortOrder;
876
+ documentName?: Prisma.SortOrder;
856
877
  description?: Prisma.SortOrder;
857
878
  stepType?: Prisma.SortOrder;
858
879
  order?: Prisma.SortOrder;
@@ -884,6 +905,7 @@ export type DocumentationStepMinOrderByAggregateInput = {
884
905
  tenantId?: Prisma.SortOrder;
885
906
  documentationPhaseId?: Prisma.SortOrder;
886
907
  name?: Prisma.SortOrder;
908
+ documentName?: Prisma.SortOrder;
887
909
  description?: Prisma.SortOrder;
888
910
  stepType?: Prisma.SortOrder;
889
911
  order?: Prisma.SortOrder;
@@ -1114,6 +1136,7 @@ export type DocumentationStepUpdateOneRequiredWithoutApprovalsNestedInput = {
1114
1136
  export type DocumentationStepCreateWithoutAssigneeInput = {
1115
1137
  id?: string;
1116
1138
  name: string;
1139
+ documentName?: string | null;
1117
1140
  description?: string | null;
1118
1141
  stepType: $Enums.StepType;
1119
1142
  order: number;
@@ -1152,6 +1175,7 @@ export type DocumentationStepUncheckedCreateWithoutAssigneeInput = {
1152
1175
  tenantId: string;
1153
1176
  documentationPhaseId: string;
1154
1177
  name: string;
1178
+ documentName?: string | null;
1155
1179
  description?: string | null;
1156
1180
  stepType: $Enums.StepType;
1157
1181
  order: number;
@@ -1194,6 +1218,7 @@ export type DocumentationStepCreateManyAssigneeInputEnvelope = {
1194
1218
  export type DocumentationStepCreateWithoutGateActedByInput = {
1195
1219
  id?: string;
1196
1220
  name: string;
1221
+ documentName?: string | null;
1197
1222
  description?: string | null;
1198
1223
  stepType: $Enums.StepType;
1199
1224
  order: number;
@@ -1232,6 +1257,7 @@ export type DocumentationStepUncheckedCreateWithoutGateActedByInput = {
1232
1257
  tenantId: string;
1233
1258
  documentationPhaseId: string;
1234
1259
  name: string;
1260
+ documentName?: string | null;
1235
1261
  description?: string | null;
1236
1262
  stepType: $Enums.StepType;
1237
1263
  order: number;
@@ -1292,6 +1318,7 @@ export type DocumentationStepScalarWhereInput = {
1292
1318
  tenantId?: Prisma.StringFilter<"DocumentationStep"> | string;
1293
1319
  documentationPhaseId?: Prisma.StringFilter<"DocumentationStep"> | string;
1294
1320
  name?: Prisma.StringFilter<"DocumentationStep"> | string;
1321
+ documentName?: Prisma.StringNullableFilter<"DocumentationStep"> | string | null;
1295
1322
  description?: Prisma.StringNullableFilter<"DocumentationStep"> | string | null;
1296
1323
  stepType?: Prisma.EnumStepTypeFilter<"DocumentationStep"> | $Enums.StepType;
1297
1324
  order?: Prisma.IntFilter<"DocumentationStep"> | number;
@@ -1337,6 +1364,7 @@ export type DocumentationStepUpdateManyWithWhereWithoutGateActedByInput = {
1337
1364
  export type DocumentationStepCreateWithoutTenantInput = {
1338
1365
  id?: string;
1339
1366
  name: string;
1367
+ documentName?: string | null;
1340
1368
  description?: string | null;
1341
1369
  stepType: $Enums.StepType;
1342
1370
  order: number;
@@ -1374,6 +1402,7 @@ export type DocumentationStepUncheckedCreateWithoutTenantInput = {
1374
1402
  id?: string;
1375
1403
  documentationPhaseId: string;
1376
1404
  name: string;
1405
+ documentName?: string | null;
1377
1406
  description?: string | null;
1378
1407
  stepType: $Enums.StepType;
1379
1408
  order: number;
@@ -1430,6 +1459,7 @@ export type DocumentationStepUpdateManyWithWhereWithoutTenantInput = {
1430
1459
  export type DocumentationStepCreateWithoutCurrentForPhaseInput = {
1431
1460
  id?: string;
1432
1461
  name: string;
1462
+ documentName?: string | null;
1433
1463
  description?: string | null;
1434
1464
  stepType: $Enums.StepType;
1435
1465
  order: number;
@@ -1468,6 +1498,7 @@ export type DocumentationStepUncheckedCreateWithoutCurrentForPhaseInput = {
1468
1498
  tenantId: string;
1469
1499
  documentationPhaseId: string;
1470
1500
  name: string;
1501
+ documentName?: string | null;
1471
1502
  description?: string | null;
1472
1503
  stepType: $Enums.StepType;
1473
1504
  order: number;
@@ -1506,6 +1537,7 @@ export type DocumentationStepCreateOrConnectWithoutCurrentForPhaseInput = {
1506
1537
  export type DocumentationStepCreateWithoutDocumentationPhaseInput = {
1507
1538
  id?: string;
1508
1539
  name: string;
1540
+ documentName?: string | null;
1509
1541
  description?: string | null;
1510
1542
  stepType: $Enums.StepType;
1511
1543
  order: number;
@@ -1543,6 +1575,7 @@ export type DocumentationStepUncheckedCreateWithoutDocumentationPhaseInput = {
1543
1575
  id?: string;
1544
1576
  tenantId: string;
1545
1577
  name: string;
1578
+ documentName?: string | null;
1546
1579
  description?: string | null;
1547
1580
  stepType: $Enums.StepType;
1548
1581
  order: number;
@@ -1595,6 +1628,7 @@ export type DocumentationStepUpdateToOneWithWhereWithoutCurrentForPhaseInput = {
1595
1628
  export type DocumentationStepUpdateWithoutCurrentForPhaseInput = {
1596
1629
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1597
1630
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1631
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1598
1632
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1599
1633
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
1600
1634
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -1633,6 +1667,7 @@ export type DocumentationStepUncheckedUpdateWithoutCurrentForPhaseInput = {
1633
1667
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1634
1668
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
1635
1669
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1670
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1636
1671
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1637
1672
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
1638
1673
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -1680,6 +1715,7 @@ export type DocumentationStepUpdateManyWithWhereWithoutDocumentationPhaseInput =
1680
1715
  export type DocumentationStepCreateWithoutRequiredDocumentsInput = {
1681
1716
  id?: string;
1682
1717
  name: string;
1718
+ documentName?: string | null;
1683
1719
  description?: string | null;
1684
1720
  stepType: $Enums.StepType;
1685
1721
  order: number;
@@ -1718,6 +1754,7 @@ export type DocumentationStepUncheckedCreateWithoutRequiredDocumentsInput = {
1718
1754
  tenantId: string;
1719
1755
  documentationPhaseId: string;
1720
1756
  name: string;
1757
+ documentName?: string | null;
1721
1758
  description?: string | null;
1722
1759
  stepType: $Enums.StepType;
1723
1760
  order: number;
@@ -1765,6 +1802,7 @@ export type DocumentationStepUpdateToOneWithWhereWithoutRequiredDocumentsInput =
1765
1802
  export type DocumentationStepUpdateWithoutRequiredDocumentsInput = {
1766
1803
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1767
1804
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1805
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1768
1806
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1769
1807
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
1770
1808
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -1803,6 +1841,7 @@ export type DocumentationStepUncheckedUpdateWithoutRequiredDocumentsInput = {
1803
1841
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1804
1842
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
1805
1843
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1844
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1806
1845
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1807
1846
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
1808
1847
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -1837,6 +1876,7 @@ export type DocumentationStepUncheckedUpdateWithoutRequiredDocumentsInput = {
1837
1876
  export type DocumentationStepCreateWithoutApprovalsInput = {
1838
1877
  id?: string;
1839
1878
  name: string;
1879
+ documentName?: string | null;
1840
1880
  description?: string | null;
1841
1881
  stepType: $Enums.StepType;
1842
1882
  order: number;
@@ -1875,6 +1915,7 @@ export type DocumentationStepUncheckedCreateWithoutApprovalsInput = {
1875
1915
  tenantId: string;
1876
1916
  documentationPhaseId: string;
1877
1917
  name: string;
1918
+ documentName?: string | null;
1878
1919
  description?: string | null;
1879
1920
  stepType: $Enums.StepType;
1880
1921
  order: number;
@@ -1922,6 +1963,7 @@ export type DocumentationStepUpdateToOneWithWhereWithoutApprovalsInput = {
1922
1963
  export type DocumentationStepUpdateWithoutApprovalsInput = {
1923
1964
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1924
1965
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1966
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1925
1967
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1926
1968
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
1927
1969
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -1960,6 +2002,7 @@ export type DocumentationStepUncheckedUpdateWithoutApprovalsInput = {
1960
2002
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1961
2003
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
1962
2004
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2005
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1963
2006
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1964
2007
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
1965
2008
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -1996,6 +2039,7 @@ export type DocumentationStepCreateManyAssigneeInput = {
1996
2039
  tenantId: string;
1997
2040
  documentationPhaseId: string;
1998
2041
  name: string;
2042
+ documentName?: string | null;
1999
2043
  description?: string | null;
2000
2044
  stepType: $Enums.StepType;
2001
2045
  order: number;
@@ -2029,6 +2073,7 @@ export type DocumentationStepCreateManyGateActedByInput = {
2029
2073
  tenantId: string;
2030
2074
  documentationPhaseId: string;
2031
2075
  name: string;
2076
+ documentName?: string | null;
2032
2077
  description?: string | null;
2033
2078
  stepType: $Enums.StepType;
2034
2079
  order: number;
@@ -2060,6 +2105,7 @@ export type DocumentationStepCreateManyGateActedByInput = {
2060
2105
  export type DocumentationStepUpdateWithoutAssigneeInput = {
2061
2106
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2062
2107
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2108
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2063
2109
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2064
2110
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2065
2111
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2098,6 +2144,7 @@ export type DocumentationStepUncheckedUpdateWithoutAssigneeInput = {
2098
2144
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2099
2145
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
2100
2146
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2147
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2101
2148
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2102
2149
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2103
2150
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2134,6 +2181,7 @@ export type DocumentationStepUncheckedUpdateManyWithoutAssigneeInput = {
2134
2181
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2135
2182
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
2136
2183
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2184
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2137
2185
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2138
2186
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2139
2187
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2165,6 +2213,7 @@ export type DocumentationStepUncheckedUpdateManyWithoutAssigneeInput = {
2165
2213
  export type DocumentationStepUpdateWithoutGateActedByInput = {
2166
2214
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2167
2215
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2216
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2168
2217
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2169
2218
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2170
2219
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2203,6 +2252,7 @@ export type DocumentationStepUncheckedUpdateWithoutGateActedByInput = {
2203
2252
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2204
2253
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
2205
2254
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2255
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2206
2256
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2207
2257
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2208
2258
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2239,6 +2289,7 @@ export type DocumentationStepUncheckedUpdateManyWithoutGateActedByInput = {
2239
2289
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2240
2290
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
2241
2291
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2292
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2242
2293
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2243
2294
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2244
2295
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2271,6 +2322,7 @@ export type DocumentationStepCreateManyTenantInput = {
2271
2322
  id?: string;
2272
2323
  documentationPhaseId: string;
2273
2324
  name: string;
2325
+ documentName?: string | null;
2274
2326
  description?: string | null;
2275
2327
  stepType: $Enums.StepType;
2276
2328
  order: number;
@@ -2303,6 +2355,7 @@ export type DocumentationStepCreateManyTenantInput = {
2303
2355
  export type DocumentationStepUpdateWithoutTenantInput = {
2304
2356
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2305
2357
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2358
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2306
2359
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2307
2360
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2308
2361
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2340,6 +2393,7 @@ export type DocumentationStepUncheckedUpdateWithoutTenantInput = {
2340
2393
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2341
2394
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
2342
2395
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2396
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2343
2397
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2344
2398
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2345
2399
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2376,6 +2430,7 @@ export type DocumentationStepUncheckedUpdateManyWithoutTenantInput = {
2376
2430
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2377
2431
  documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
2378
2432
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2433
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2379
2434
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2380
2435
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2381
2436
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2409,6 +2464,7 @@ export type DocumentationStepCreateManyDocumentationPhaseInput = {
2409
2464
  id?: string;
2410
2465
  tenantId: string;
2411
2466
  name: string;
2467
+ documentName?: string | null;
2412
2468
  description?: string | null;
2413
2469
  stepType: $Enums.StepType;
2414
2470
  order: number;
@@ -2441,6 +2497,7 @@ export type DocumentationStepCreateManyDocumentationPhaseInput = {
2441
2497
  export type DocumentationStepUpdateWithoutDocumentationPhaseInput = {
2442
2498
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2443
2499
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2500
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2444
2501
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2445
2502
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2446
2503
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2478,6 +2535,7 @@ export type DocumentationStepUncheckedUpdateWithoutDocumentationPhaseInput = {
2478
2535
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2479
2536
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2480
2537
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2538
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2481
2539
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2482
2540
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2483
2541
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2514,6 +2572,7 @@ export type DocumentationStepUncheckedUpdateManyWithoutDocumentationPhaseInput =
2514
2572
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2515
2573
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2516
2574
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2575
+ documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2517
2576
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2518
2577
  stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
2519
2578
  order?: Prisma.IntFieldUpdateOperationsInput | number;
@@ -2588,6 +2647,7 @@ export type DocumentationStepSelect<ExtArgs extends runtime.Types.Extensions.Int
2588
2647
  tenantId?: boolean;
2589
2648
  documentationPhaseId?: boolean;
2590
2649
  name?: boolean;
2650
+ documentName?: boolean;
2591
2651
  description?: boolean;
2592
2652
  stepType?: boolean;
2593
2653
  order?: boolean;
@@ -2630,6 +2690,7 @@ export type DocumentationStepSelectScalar = {
2630
2690
  tenantId?: boolean;
2631
2691
  documentationPhaseId?: boolean;
2632
2692
  name?: boolean;
2693
+ documentName?: boolean;
2633
2694
  description?: boolean;
2634
2695
  stepType?: boolean;
2635
2696
  order?: boolean;
@@ -2659,7 +2720,7 @@ export type DocumentationStepSelectScalar = {
2659
2720
  createdAt?: boolean;
2660
2721
  updatedAt?: boolean;
2661
2722
  };
2662
- export type DocumentationStepOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "documentationPhaseId" | "name" | "description" | "stepType" | "order" | "status" | "actionReason" | "submissionCount" | "lastSubmittedAt" | "metadata" | "requiresManualReview" | "condition" | "reviewRequirements" | "reviewOrder" | "assigneeId" | "gateActor" | "gateAction" | "gateRoleId" | "gateInstructions" | "allowReject" | "rejectBehavior" | "requiresComment" | "gateActedAt" | "gateActedById" | "gateDecision" | "gateComment" | "dueDate" | "completedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationStep"]>;
2723
+ export type DocumentationStepOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "documentationPhaseId" | "name" | "documentName" | "description" | "stepType" | "order" | "status" | "actionReason" | "submissionCount" | "lastSubmittedAt" | "metadata" | "requiresManualReview" | "condition" | "reviewRequirements" | "reviewOrder" | "assigneeId" | "gateActor" | "gateAction" | "gateRoleId" | "gateInstructions" | "allowReject" | "rejectBehavior" | "requiresComment" | "gateActedAt" | "gateActedById" | "gateDecision" | "gateComment" | "dueDate" | "completedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationStep"]>;
2663
2724
  export type DocumentationStepInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2664
2725
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
2665
2726
  documentationPhase?: boolean | Prisma.DocumentationPhaseDefaultArgs<ExtArgs>;
@@ -2686,6 +2747,7 @@ export type $DocumentationStepPayload<ExtArgs extends runtime.Types.Extensions.I
2686
2747
  tenantId: string;
2687
2748
  documentationPhaseId: string;
2688
2749
  name: string;
2750
+ documentName: string | null;
2689
2751
  description: string | null;
2690
2752
  stepType: $Enums.StepType;
2691
2753
  order: number;
@@ -3027,6 +3089,7 @@ export interface DocumentationStepFieldRefs {
3027
3089
  readonly tenantId: Prisma.FieldRef<"DocumentationStep", 'String'>;
3028
3090
  readonly documentationPhaseId: Prisma.FieldRef<"DocumentationStep", 'String'>;
3029
3091
  readonly name: Prisma.FieldRef<"DocumentationStep", 'String'>;
3092
+ readonly documentName: Prisma.FieldRef<"DocumentationStep", 'String'>;
3030
3093
  readonly description: Prisma.FieldRef<"DocumentationStep", 'String'>;
3031
3094
  readonly stepType: Prisma.FieldRef<"DocumentationStep", 'StepType'>;
3032
3095
  readonly order: Prisma.FieldRef<"DocumentationStep", 'Int'>;