@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
@@ -161,6 +161,16 @@ export type DocumentationPlan = Prisma.DocumentationPlanModel;
161
161
  *
162
162
  */
163
163
  export type DocumentationPlanStep = Prisma.DocumentationPlanStepModel;
164
+ /**
165
+ * Model DocumentDefinition
166
+ *
167
+ */
168
+ export type DocumentDefinition = Prisma.DocumentDefinitionModel;
169
+ /**
170
+ * Model ApprovalStage
171
+ *
172
+ */
173
+ export type ApprovalStage = Prisma.ApprovalStageModel;
164
174
  /**
165
175
  * Model QuestionnairePlan
166
176
  *
@@ -293,6 +303,16 @@ export type ApplicationDocument = Prisma.ApplicationDocumentModel;
293
303
  *
294
304
  */
295
305
  export type DocumentReview = Prisma.DocumentReviewModel;
306
+ /**
307
+ * Model ApprovalStageProgress
308
+ *
309
+ */
310
+ export type ApprovalStageProgress = Prisma.ApprovalStageProgressModel;
311
+ /**
312
+ * Model DocumentApproval
313
+ *
314
+ */
315
+ export type DocumentApproval = Prisma.DocumentApprovalModel;
296
316
  /**
297
317
  * Model DocumentTemplate
298
318
  *
@@ -178,6 +178,16 @@ export type DocumentationPlan = Prisma.DocumentationPlanModel;
178
178
  *
179
179
  */
180
180
  export type DocumentationPlanStep = Prisma.DocumentationPlanStepModel;
181
+ /**
182
+ * Model DocumentDefinition
183
+ *
184
+ */
185
+ export type DocumentDefinition = Prisma.DocumentDefinitionModel;
186
+ /**
187
+ * Model ApprovalStage
188
+ *
189
+ */
190
+ export type ApprovalStage = Prisma.ApprovalStageModel;
181
191
  /**
182
192
  * Model QuestionnairePlan
183
193
  *
@@ -310,6 +320,16 @@ export type ApplicationDocument = Prisma.ApplicationDocumentModel;
310
320
  *
311
321
  */
312
322
  export type DocumentReview = Prisma.DocumentReviewModel;
323
+ /**
324
+ * Model ApprovalStageProgress
325
+ *
326
+ */
327
+ export type ApprovalStageProgress = Prisma.ApprovalStageProgressModel;
328
+ /**
329
+ * Model DocumentApproval
330
+ *
331
+ */
332
+ export type DocumentApproval = Prisma.DocumentApprovalModel;
313
333
  /**
314
334
  * Model DocumentTemplate
315
335
  *
@@ -443,6 +443,51 @@ export type EnumGateRejectBehaviorNullableWithAggregatesFilter<$PrismaModel = ne
443
443
  _min?: Prisma.NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel>;
444
444
  _max?: Prisma.NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel>;
445
445
  };
446
+ export type EnumUploadedByFilter<$PrismaModel = never> = {
447
+ equals?: $Enums.UploadedBy | Prisma.EnumUploadedByFieldRefInput<$PrismaModel>;
448
+ in?: $Enums.UploadedBy[];
449
+ notIn?: $Enums.UploadedBy[];
450
+ not?: Prisma.NestedEnumUploadedByFilter<$PrismaModel> | $Enums.UploadedBy;
451
+ };
452
+ export type EnumUploadedByWithAggregatesFilter<$PrismaModel = never> = {
453
+ equals?: $Enums.UploadedBy | Prisma.EnumUploadedByFieldRefInput<$PrismaModel>;
454
+ in?: $Enums.UploadedBy[];
455
+ notIn?: $Enums.UploadedBy[];
456
+ not?: Prisma.NestedEnumUploadedByWithAggregatesFilter<$PrismaModel> | $Enums.UploadedBy;
457
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
458
+ _min?: Prisma.NestedEnumUploadedByFilter<$PrismaModel>;
459
+ _max?: Prisma.NestedEnumUploadedByFilter<$PrismaModel>;
460
+ };
461
+ export type EnumReviewPartyFilter<$PrismaModel = never> = {
462
+ equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
463
+ in?: $Enums.ReviewParty[];
464
+ notIn?: $Enums.ReviewParty[];
465
+ not?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel> | $Enums.ReviewParty;
466
+ };
467
+ export type EnumRejectionBehaviorFilter<$PrismaModel = never> = {
468
+ equals?: $Enums.RejectionBehavior | Prisma.EnumRejectionBehaviorFieldRefInput<$PrismaModel>;
469
+ in?: $Enums.RejectionBehavior[];
470
+ notIn?: $Enums.RejectionBehavior[];
471
+ not?: Prisma.NestedEnumRejectionBehaviorFilter<$PrismaModel> | $Enums.RejectionBehavior;
472
+ };
473
+ export type EnumReviewPartyWithAggregatesFilter<$PrismaModel = never> = {
474
+ equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
475
+ in?: $Enums.ReviewParty[];
476
+ notIn?: $Enums.ReviewParty[];
477
+ not?: Prisma.NestedEnumReviewPartyWithAggregatesFilter<$PrismaModel> | $Enums.ReviewParty;
478
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
479
+ _min?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
480
+ _max?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
481
+ };
482
+ export type EnumRejectionBehaviorWithAggregatesFilter<$PrismaModel = never> = {
483
+ equals?: $Enums.RejectionBehavior | Prisma.EnumRejectionBehaviorFieldRefInput<$PrismaModel>;
484
+ in?: $Enums.RejectionBehavior[];
485
+ notIn?: $Enums.RejectionBehavior[];
486
+ not?: Prisma.NestedEnumRejectionBehaviorWithAggregatesFilter<$PrismaModel> | $Enums.RejectionBehavior;
487
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
488
+ _min?: Prisma.NestedEnumRejectionBehaviorFilter<$PrismaModel>;
489
+ _max?: Prisma.NestedEnumRejectionBehaviorFilter<$PrismaModel>;
490
+ };
446
491
  export type EnumScoringStrategyFilter<$PrismaModel = never> = {
447
492
  equals?: $Enums.ScoringStrategy | Prisma.EnumScoringStrategyFieldRefInput<$PrismaModel>;
448
493
  in?: $Enums.ScoringStrategy[];
@@ -784,27 +829,12 @@ export type EnumDocumentStatusWithAggregatesFilter<$PrismaModel = never> = {
784
829
  _min?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
785
830
  _max?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
786
831
  };
787
- export type EnumReviewPartyFilter<$PrismaModel = never> = {
788
- equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
789
- in?: $Enums.ReviewParty[];
790
- notIn?: $Enums.ReviewParty[];
791
- not?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel> | $Enums.ReviewParty;
792
- };
793
832
  export type EnumReviewDecisionFilter<$PrismaModel = never> = {
794
833
  equals?: $Enums.ReviewDecision | Prisma.EnumReviewDecisionFieldRefInput<$PrismaModel>;
795
834
  in?: $Enums.ReviewDecision[];
796
835
  notIn?: $Enums.ReviewDecision[];
797
836
  not?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel> | $Enums.ReviewDecision;
798
837
  };
799
- export type EnumReviewPartyWithAggregatesFilter<$PrismaModel = never> = {
800
- equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
801
- in?: $Enums.ReviewParty[];
802
- notIn?: $Enums.ReviewParty[];
803
- not?: Prisma.NestedEnumReviewPartyWithAggregatesFilter<$PrismaModel> | $Enums.ReviewParty;
804
- _count?: Prisma.NestedIntFilter<$PrismaModel>;
805
- _min?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
806
- _max?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
807
- };
808
838
  export type EnumReviewDecisionWithAggregatesFilter<$PrismaModel = never> = {
809
839
  equals?: $Enums.ReviewDecision | Prisma.EnumReviewDecisionFieldRefInput<$PrismaModel>;
810
840
  in?: $Enums.ReviewDecision[];
@@ -814,6 +844,21 @@ export type EnumReviewDecisionWithAggregatesFilter<$PrismaModel = never> = {
814
844
  _min?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel>;
815
845
  _max?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel>;
816
846
  };
847
+ export type EnumStageStatusFilter<$PrismaModel = never> = {
848
+ equals?: $Enums.StageStatus | Prisma.EnumStageStatusFieldRefInput<$PrismaModel>;
849
+ in?: $Enums.StageStatus[];
850
+ notIn?: $Enums.StageStatus[];
851
+ not?: Prisma.NestedEnumStageStatusFilter<$PrismaModel> | $Enums.StageStatus;
852
+ };
853
+ export type EnumStageStatusWithAggregatesFilter<$PrismaModel = never> = {
854
+ equals?: $Enums.StageStatus | Prisma.EnumStageStatusFieldRefInput<$PrismaModel>;
855
+ in?: $Enums.StageStatus[];
856
+ notIn?: $Enums.StageStatus[];
857
+ not?: Prisma.NestedEnumStageStatusWithAggregatesFilter<$PrismaModel> | $Enums.StageStatus;
858
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
859
+ _min?: Prisma.NestedEnumStageStatusFilter<$PrismaModel>;
860
+ _max?: Prisma.NestedEnumStageStatusFilter<$PrismaModel>;
861
+ };
817
862
  export type EnumOfferLetterTypeFilter<$PrismaModel = never> = {
818
863
  equals?: $Enums.OfferLetterType | Prisma.EnumOfferLetterTypeFieldRefInput<$PrismaModel>;
819
864
  in?: $Enums.OfferLetterType[];
@@ -1497,6 +1542,51 @@ export type NestedEnumGateRejectBehaviorNullableWithAggregatesFilter<$PrismaMode
1497
1542
  _min?: Prisma.NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel>;
1498
1543
  _max?: Prisma.NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel>;
1499
1544
  };
1545
+ export type NestedEnumUploadedByFilter<$PrismaModel = never> = {
1546
+ equals?: $Enums.UploadedBy | Prisma.EnumUploadedByFieldRefInput<$PrismaModel>;
1547
+ in?: $Enums.UploadedBy[];
1548
+ notIn?: $Enums.UploadedBy[];
1549
+ not?: Prisma.NestedEnumUploadedByFilter<$PrismaModel> | $Enums.UploadedBy;
1550
+ };
1551
+ export type NestedEnumUploadedByWithAggregatesFilter<$PrismaModel = never> = {
1552
+ equals?: $Enums.UploadedBy | Prisma.EnumUploadedByFieldRefInput<$PrismaModel>;
1553
+ in?: $Enums.UploadedBy[];
1554
+ notIn?: $Enums.UploadedBy[];
1555
+ not?: Prisma.NestedEnumUploadedByWithAggregatesFilter<$PrismaModel> | $Enums.UploadedBy;
1556
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1557
+ _min?: Prisma.NestedEnumUploadedByFilter<$PrismaModel>;
1558
+ _max?: Prisma.NestedEnumUploadedByFilter<$PrismaModel>;
1559
+ };
1560
+ export type NestedEnumReviewPartyFilter<$PrismaModel = never> = {
1561
+ equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
1562
+ in?: $Enums.ReviewParty[];
1563
+ notIn?: $Enums.ReviewParty[];
1564
+ not?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel> | $Enums.ReviewParty;
1565
+ };
1566
+ export type NestedEnumRejectionBehaviorFilter<$PrismaModel = never> = {
1567
+ equals?: $Enums.RejectionBehavior | Prisma.EnumRejectionBehaviorFieldRefInput<$PrismaModel>;
1568
+ in?: $Enums.RejectionBehavior[];
1569
+ notIn?: $Enums.RejectionBehavior[];
1570
+ not?: Prisma.NestedEnumRejectionBehaviorFilter<$PrismaModel> | $Enums.RejectionBehavior;
1571
+ };
1572
+ export type NestedEnumReviewPartyWithAggregatesFilter<$PrismaModel = never> = {
1573
+ equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
1574
+ in?: $Enums.ReviewParty[];
1575
+ notIn?: $Enums.ReviewParty[];
1576
+ not?: Prisma.NestedEnumReviewPartyWithAggregatesFilter<$PrismaModel> | $Enums.ReviewParty;
1577
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1578
+ _min?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
1579
+ _max?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
1580
+ };
1581
+ export type NestedEnumRejectionBehaviorWithAggregatesFilter<$PrismaModel = never> = {
1582
+ equals?: $Enums.RejectionBehavior | Prisma.EnumRejectionBehaviorFieldRefInput<$PrismaModel>;
1583
+ in?: $Enums.RejectionBehavior[];
1584
+ notIn?: $Enums.RejectionBehavior[];
1585
+ not?: Prisma.NestedEnumRejectionBehaviorWithAggregatesFilter<$PrismaModel> | $Enums.RejectionBehavior;
1586
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1587
+ _min?: Prisma.NestedEnumRejectionBehaviorFilter<$PrismaModel>;
1588
+ _max?: Prisma.NestedEnumRejectionBehaviorFilter<$PrismaModel>;
1589
+ };
1500
1590
  export type NestedEnumScoringStrategyFilter<$PrismaModel = never> = {
1501
1591
  equals?: $Enums.ScoringStrategy | Prisma.EnumScoringStrategyFieldRefInput<$PrismaModel>;
1502
1592
  in?: $Enums.ScoringStrategy[];
@@ -1838,27 +1928,12 @@ export type NestedEnumDocumentStatusWithAggregatesFilter<$PrismaModel = never> =
1838
1928
  _min?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
1839
1929
  _max?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
1840
1930
  };
1841
- export type NestedEnumReviewPartyFilter<$PrismaModel = never> = {
1842
- equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
1843
- in?: $Enums.ReviewParty[];
1844
- notIn?: $Enums.ReviewParty[];
1845
- not?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel> | $Enums.ReviewParty;
1846
- };
1847
1931
  export type NestedEnumReviewDecisionFilter<$PrismaModel = never> = {
1848
1932
  equals?: $Enums.ReviewDecision | Prisma.EnumReviewDecisionFieldRefInput<$PrismaModel>;
1849
1933
  in?: $Enums.ReviewDecision[];
1850
1934
  notIn?: $Enums.ReviewDecision[];
1851
1935
  not?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel> | $Enums.ReviewDecision;
1852
1936
  };
1853
- export type NestedEnumReviewPartyWithAggregatesFilter<$PrismaModel = never> = {
1854
- equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
1855
- in?: $Enums.ReviewParty[];
1856
- notIn?: $Enums.ReviewParty[];
1857
- not?: Prisma.NestedEnumReviewPartyWithAggregatesFilter<$PrismaModel> | $Enums.ReviewParty;
1858
- _count?: Prisma.NestedIntFilter<$PrismaModel>;
1859
- _min?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
1860
- _max?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
1861
- };
1862
1937
  export type NestedEnumReviewDecisionWithAggregatesFilter<$PrismaModel = never> = {
1863
1938
  equals?: $Enums.ReviewDecision | Prisma.EnumReviewDecisionFieldRefInput<$PrismaModel>;
1864
1939
  in?: $Enums.ReviewDecision[];
@@ -1868,6 +1943,21 @@ export type NestedEnumReviewDecisionWithAggregatesFilter<$PrismaModel = never> =
1868
1943
  _min?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel>;
1869
1944
  _max?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel>;
1870
1945
  };
1946
+ export type NestedEnumStageStatusFilter<$PrismaModel = never> = {
1947
+ equals?: $Enums.StageStatus | Prisma.EnumStageStatusFieldRefInput<$PrismaModel>;
1948
+ in?: $Enums.StageStatus[];
1949
+ notIn?: $Enums.StageStatus[];
1950
+ not?: Prisma.NestedEnumStageStatusFilter<$PrismaModel> | $Enums.StageStatus;
1951
+ };
1952
+ export type NestedEnumStageStatusWithAggregatesFilter<$PrismaModel = never> = {
1953
+ equals?: $Enums.StageStatus | Prisma.EnumStageStatusFieldRefInput<$PrismaModel>;
1954
+ in?: $Enums.StageStatus[];
1955
+ notIn?: $Enums.StageStatus[];
1956
+ not?: Prisma.NestedEnumStageStatusWithAggregatesFilter<$PrismaModel> | $Enums.StageStatus;
1957
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1958
+ _min?: Prisma.NestedEnumStageStatusFilter<$PrismaModel>;
1959
+ _max?: Prisma.NestedEnumStageStatusFilter<$PrismaModel>;
1960
+ };
1871
1961
  export type NestedEnumOfferLetterTypeFilter<$PrismaModel = never> = {
1872
1962
  equals?: $Enums.OfferLetterType | Prisma.EnumOfferLetterTypeFieldRefInput<$PrismaModel>;
1873
1963
  in?: $Enums.OfferLetterType[];
@@ -249,8 +249,31 @@ export declare const DocumentStatus: {
249
249
  readonly REJECTED: "REJECTED";
250
250
  readonly EXPIRED: "EXPIRED";
251
251
  readonly CANCELLED: "CANCELLED";
252
+ readonly NEEDS_REUPLOAD: "NEEDS_REUPLOAD";
252
253
  };
253
254
  export type DocumentStatus = (typeof DocumentStatus)[keyof typeof DocumentStatus];
255
+ export declare const StageStatus: {
256
+ readonly PENDING: "PENDING";
257
+ readonly IN_PROGRESS: "IN_PROGRESS";
258
+ readonly AWAITING_TRANSITION: "AWAITING_TRANSITION";
259
+ readonly COMPLETED: "COMPLETED";
260
+ };
261
+ export type StageStatus = (typeof StageStatus)[keyof typeof StageStatus];
262
+ export declare const UploadedBy: {
263
+ readonly CUSTOMER: "CUSTOMER";
264
+ readonly LENDER: "LENDER";
265
+ readonly DEVELOPER: "DEVELOPER";
266
+ readonly LEGAL: "LEGAL";
267
+ readonly INSURER: "INSURER";
268
+ readonly PLATFORM: "PLATFORM";
269
+ };
270
+ export type UploadedBy = (typeof UploadedBy)[keyof typeof UploadedBy];
271
+ export declare const RejectionBehavior: {
272
+ readonly CASCADE_BACK: "CASCADE_BACK";
273
+ readonly RESTART_CURRENT: "RESTART_CURRENT";
274
+ readonly RESTART_FROM_STAGE: "RESTART_FROM_STAGE";
275
+ };
276
+ export type RejectionBehavior = (typeof RejectionBehavior)[keyof typeof RejectionBehavior];
254
277
  export declare const OfferLetterType: {
255
278
  readonly PROVISIONAL: "PROVISIONAL";
256
279
  readonly FINAL: "FINAL";
@@ -230,7 +230,27 @@ export const DocumentStatus = {
230
230
  APPROVED: 'APPROVED',
231
231
  REJECTED: 'REJECTED',
232
232
  EXPIRED: 'EXPIRED',
233
- CANCELLED: 'CANCELLED'
233
+ CANCELLED: 'CANCELLED',
234
+ NEEDS_REUPLOAD: 'NEEDS_REUPLOAD'
235
+ };
236
+ export const StageStatus = {
237
+ PENDING: 'PENDING',
238
+ IN_PROGRESS: 'IN_PROGRESS',
239
+ AWAITING_TRANSITION: 'AWAITING_TRANSITION',
240
+ COMPLETED: 'COMPLETED'
241
+ };
242
+ export const UploadedBy = {
243
+ CUSTOMER: 'CUSTOMER',
244
+ LENDER: 'LENDER',
245
+ DEVELOPER: 'DEVELOPER',
246
+ LEGAL: 'LEGAL',
247
+ INSURER: 'INSURER',
248
+ PLATFORM: 'PLATFORM'
249
+ };
250
+ export const RejectionBehavior = {
251
+ CASCADE_BACK: 'CASCADE_BACK',
252
+ RESTART_CURRENT: 'RESTART_CURRENT',
253
+ RESTART_FROM_STAGE: 'RESTART_FROM_STAGE'
234
254
  };
235
255
  export const OfferLetterType = {
236
256
  PROVISIONAL: 'PROVISIONAL',
@@ -452,6 +452,28 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
452
452
  get documentationPlanStep(): Prisma.DocumentationPlanStepDelegate<ExtArgs, {
453
453
  omit: OmitOpts;
454
454
  }>;
455
+ /**
456
+ * `prisma.documentDefinition`: Exposes CRUD operations for the **DocumentDefinition** model.
457
+ * Example usage:
458
+ * ```ts
459
+ * // Fetch zero or more DocumentDefinitions
460
+ * const documentDefinitions = await prisma.documentDefinition.findMany()
461
+ * ```
462
+ */
463
+ get documentDefinition(): Prisma.DocumentDefinitionDelegate<ExtArgs, {
464
+ omit: OmitOpts;
465
+ }>;
466
+ /**
467
+ * `prisma.approvalStage`: Exposes CRUD operations for the **ApprovalStage** model.
468
+ * Example usage:
469
+ * ```ts
470
+ * // Fetch zero or more ApprovalStages
471
+ * const approvalStages = await prisma.approvalStage.findMany()
472
+ * ```
473
+ */
474
+ get approvalStage(): Prisma.ApprovalStageDelegate<ExtArgs, {
475
+ omit: OmitOpts;
476
+ }>;
455
477
  /**
456
478
  * `prisma.questionnairePlan`: Exposes CRUD operations for the **QuestionnairePlan** model.
457
479
  * Example usage:
@@ -738,6 +760,28 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
738
760
  get documentReview(): Prisma.DocumentReviewDelegate<ExtArgs, {
739
761
  omit: OmitOpts;
740
762
  }>;
763
+ /**
764
+ * `prisma.approvalStageProgress`: Exposes CRUD operations for the **ApprovalStageProgress** model.
765
+ * Example usage:
766
+ * ```ts
767
+ * // Fetch zero or more ApprovalStageProgresses
768
+ * const approvalStageProgresses = await prisma.approvalStageProgress.findMany()
769
+ * ```
770
+ */
771
+ get approvalStageProgress(): Prisma.ApprovalStageProgressDelegate<ExtArgs, {
772
+ omit: OmitOpts;
773
+ }>;
774
+ /**
775
+ * `prisma.documentApproval`: Exposes CRUD operations for the **DocumentApproval** model.
776
+ * Example usage:
777
+ * ```ts
778
+ * // Fetch zero or more DocumentApprovals
779
+ * const documentApprovals = await prisma.documentApproval.findMany()
780
+ * ```
781
+ */
782
+ get documentApproval(): Prisma.DocumentApprovalDelegate<ExtArgs, {
783
+ omit: OmitOpts;
784
+ }>;
741
785
  /**
742
786
  * `prisma.documentTemplate`: Exposes CRUD operations for the **DocumentTemplate** model.
743
787
  * Example usage: