@valentine-efagene/qshelter-common 2.0.138 → 2.0.140
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.
- package/dist/generated/client/browser.d.ts +17 -17
- package/dist/generated/client/client.d.ts +17 -17
- package/dist/generated/client/commonInputTypes.d.ts +142 -202
- package/dist/generated/client/enums.d.ts +23 -0
- package/dist/generated/client/enums.js +21 -1
- package/dist/generated/client/internal/class.d.ts +37 -37
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +348 -377
- package/dist/generated/client/internal/prismaNamespace.js +91 -116
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +97 -122
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +91 -116
- package/dist/generated/client/models/ApplicationDocument.d.ts +290 -1
- package/dist/generated/client/models/ApprovalStage.d.ts +1605 -0
- package/dist/generated/client/models/ApprovalStage.js +1 -0
- package/dist/generated/client/models/ApprovalStageProgress.d.ts +2329 -0
- package/dist/generated/client/models/ApprovalStageProgress.js +1 -0
- package/dist/generated/client/models/DocumentApproval.d.ts +1611 -0
- package/dist/generated/client/models/DocumentApproval.js +1 -0
- package/dist/generated/client/models/DocumentDefinition.d.ts +1475 -0
- package/dist/generated/client/models/DocumentDefinition.js +1 -0
- package/dist/generated/client/models/DocumentReview.d.ts +0 -3
- package/dist/generated/client/models/DocumentationPhase.d.ts +215 -629
- package/dist/generated/client/models/DocumentationPlan.d.ts +188 -57
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +3 -0
- package/dist/generated/client/models/Tenant.d.ts +640 -1203
- package/dist/generated/client/models/User.d.ts +414 -817
- package/dist/generated/client/models/index.d.ts +4 -4
- package/dist/generated/client/models/index.js +4 -4
- package/dist/generated/client/models.d.ts +4 -4
- package/dist/src/utils/documentation-enums.d.ts +10 -1
- package/dist/src/utils/documentation-enums.js +8 -0
- package/package.json +1 -1
- package/prisma/migrations/20260119190336_add_document_approval_workflow/migration.sql +134 -0
- package/prisma/schema.prisma +229 -214
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
-
import type * as $Enums from "../enums.js";
|
|
3
2
|
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
3
|
/**
|
|
5
4
|
* Model DocumentationPhase
|
|
@@ -14,18 +13,14 @@ export type AggregateDocumentationPhase = {
|
|
|
14
13
|
_max: DocumentationPhaseMaxAggregateOutputType | null;
|
|
15
14
|
};
|
|
16
15
|
export type DocumentationPhaseAvgAggregateOutputType = {
|
|
16
|
+
currentStageOrder: number | null;
|
|
17
17
|
approvedDocumentsCount: number | null;
|
|
18
18
|
requiredDocumentsCount: number | null;
|
|
19
|
-
completedStepsCount: number | null;
|
|
20
|
-
totalStepsCount: number | null;
|
|
21
|
-
minimumCompletionPercentage: number | null;
|
|
22
19
|
};
|
|
23
20
|
export type DocumentationPhaseSumAggregateOutputType = {
|
|
21
|
+
currentStageOrder: number | null;
|
|
24
22
|
approvedDocumentsCount: number | null;
|
|
25
23
|
requiredDocumentsCount: number | null;
|
|
26
|
-
completedStepsCount: number | null;
|
|
27
|
-
totalStepsCount: number | null;
|
|
28
|
-
minimumCompletionPercentage: number | null;
|
|
29
24
|
};
|
|
30
25
|
export type DocumentationPhaseMinAggregateOutputType = {
|
|
31
26
|
id: string | null;
|
|
@@ -33,13 +28,9 @@ export type DocumentationPhaseMinAggregateOutputType = {
|
|
|
33
28
|
phaseId: string | null;
|
|
34
29
|
documentationPlanId: string | null;
|
|
35
30
|
sourceQuestionnairePhaseId: string | null;
|
|
36
|
-
|
|
31
|
+
currentStageOrder: number | null;
|
|
37
32
|
approvedDocumentsCount: number | null;
|
|
38
33
|
requiredDocumentsCount: number | null;
|
|
39
|
-
completedStepsCount: number | null;
|
|
40
|
-
totalStepsCount: number | null;
|
|
41
|
-
minimumCompletionPercentage: number | null;
|
|
42
|
-
completionCriterion: $Enums.CompletionCriterion | null;
|
|
43
34
|
createdAt: Date | null;
|
|
44
35
|
updatedAt: Date | null;
|
|
45
36
|
};
|
|
@@ -49,13 +40,9 @@ export type DocumentationPhaseMaxAggregateOutputType = {
|
|
|
49
40
|
phaseId: string | null;
|
|
50
41
|
documentationPlanId: string | null;
|
|
51
42
|
sourceQuestionnairePhaseId: string | null;
|
|
52
|
-
|
|
43
|
+
currentStageOrder: number | null;
|
|
53
44
|
approvedDocumentsCount: number | null;
|
|
54
45
|
requiredDocumentsCount: number | null;
|
|
55
|
-
completedStepsCount: number | null;
|
|
56
|
-
totalStepsCount: number | null;
|
|
57
|
-
minimumCompletionPercentage: number | null;
|
|
58
|
-
completionCriterion: $Enums.CompletionCriterion | null;
|
|
59
46
|
createdAt: Date | null;
|
|
60
47
|
updatedAt: Date | null;
|
|
61
48
|
};
|
|
@@ -65,32 +52,24 @@ export type DocumentationPhaseCountAggregateOutputType = {
|
|
|
65
52
|
phaseId: number;
|
|
66
53
|
documentationPlanId: number;
|
|
67
54
|
sourceQuestionnairePhaseId: number;
|
|
68
|
-
|
|
55
|
+
currentStageOrder: number;
|
|
69
56
|
approvedDocumentsCount: number;
|
|
70
57
|
requiredDocumentsCount: number;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
minimumCompletionPercentage: number;
|
|
74
|
-
completionCriterion: number;
|
|
75
|
-
stepDefinitionsSnapshot: number;
|
|
76
|
-
requiredDocumentSnapshot: number;
|
|
58
|
+
documentDefinitionsSnapshot: number;
|
|
59
|
+
approvalStagesSnapshot: number;
|
|
77
60
|
createdAt: number;
|
|
78
61
|
updatedAt: number;
|
|
79
62
|
_all: number;
|
|
80
63
|
};
|
|
81
64
|
export type DocumentationPhaseAvgAggregateInputType = {
|
|
65
|
+
currentStageOrder?: true;
|
|
82
66
|
approvedDocumentsCount?: true;
|
|
83
67
|
requiredDocumentsCount?: true;
|
|
84
|
-
completedStepsCount?: true;
|
|
85
|
-
totalStepsCount?: true;
|
|
86
|
-
minimumCompletionPercentage?: true;
|
|
87
68
|
};
|
|
88
69
|
export type DocumentationPhaseSumAggregateInputType = {
|
|
70
|
+
currentStageOrder?: true;
|
|
89
71
|
approvedDocumentsCount?: true;
|
|
90
72
|
requiredDocumentsCount?: true;
|
|
91
|
-
completedStepsCount?: true;
|
|
92
|
-
totalStepsCount?: true;
|
|
93
|
-
minimumCompletionPercentage?: true;
|
|
94
73
|
};
|
|
95
74
|
export type DocumentationPhaseMinAggregateInputType = {
|
|
96
75
|
id?: true;
|
|
@@ -98,13 +77,9 @@ export type DocumentationPhaseMinAggregateInputType = {
|
|
|
98
77
|
phaseId?: true;
|
|
99
78
|
documentationPlanId?: true;
|
|
100
79
|
sourceQuestionnairePhaseId?: true;
|
|
101
|
-
|
|
80
|
+
currentStageOrder?: true;
|
|
102
81
|
approvedDocumentsCount?: true;
|
|
103
82
|
requiredDocumentsCount?: true;
|
|
104
|
-
completedStepsCount?: true;
|
|
105
|
-
totalStepsCount?: true;
|
|
106
|
-
minimumCompletionPercentage?: true;
|
|
107
|
-
completionCriterion?: true;
|
|
108
83
|
createdAt?: true;
|
|
109
84
|
updatedAt?: true;
|
|
110
85
|
};
|
|
@@ -114,13 +89,9 @@ export type DocumentationPhaseMaxAggregateInputType = {
|
|
|
114
89
|
phaseId?: true;
|
|
115
90
|
documentationPlanId?: true;
|
|
116
91
|
sourceQuestionnairePhaseId?: true;
|
|
117
|
-
|
|
92
|
+
currentStageOrder?: true;
|
|
118
93
|
approvedDocumentsCount?: true;
|
|
119
94
|
requiredDocumentsCount?: true;
|
|
120
|
-
completedStepsCount?: true;
|
|
121
|
-
totalStepsCount?: true;
|
|
122
|
-
minimumCompletionPercentage?: true;
|
|
123
|
-
completionCriterion?: true;
|
|
124
95
|
createdAt?: true;
|
|
125
96
|
updatedAt?: true;
|
|
126
97
|
};
|
|
@@ -130,15 +101,11 @@ export type DocumentationPhaseCountAggregateInputType = {
|
|
|
130
101
|
phaseId?: true;
|
|
131
102
|
documentationPlanId?: true;
|
|
132
103
|
sourceQuestionnairePhaseId?: true;
|
|
133
|
-
|
|
104
|
+
currentStageOrder?: true;
|
|
134
105
|
approvedDocumentsCount?: true;
|
|
135
106
|
requiredDocumentsCount?: true;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
minimumCompletionPercentage?: true;
|
|
139
|
-
completionCriterion?: true;
|
|
140
|
-
stepDefinitionsSnapshot?: true;
|
|
141
|
-
requiredDocumentSnapshot?: true;
|
|
107
|
+
documentDefinitionsSnapshot?: true;
|
|
108
|
+
approvalStagesSnapshot?: true;
|
|
142
109
|
createdAt?: true;
|
|
143
110
|
updatedAt?: true;
|
|
144
111
|
_all?: true;
|
|
@@ -225,15 +192,11 @@ export type DocumentationPhaseGroupByOutputType = {
|
|
|
225
192
|
phaseId: string;
|
|
226
193
|
documentationPlanId: string | null;
|
|
227
194
|
sourceQuestionnairePhaseId: string | null;
|
|
228
|
-
|
|
195
|
+
currentStageOrder: number;
|
|
229
196
|
approvedDocumentsCount: number;
|
|
230
197
|
requiredDocumentsCount: number;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
minimumCompletionPercentage: number | null;
|
|
234
|
-
completionCriterion: $Enums.CompletionCriterion | null;
|
|
235
|
-
stepDefinitionsSnapshot: runtime.JsonValue | null;
|
|
236
|
-
requiredDocumentSnapshot: runtime.JsonValue | null;
|
|
198
|
+
documentDefinitionsSnapshot: runtime.JsonValue | null;
|
|
199
|
+
approvalStagesSnapshot: runtime.JsonValue | null;
|
|
237
200
|
createdAt: Date;
|
|
238
201
|
updatedAt: Date;
|
|
239
202
|
_count: DocumentationPhaseCountAggregateOutputType | null;
|
|
@@ -254,23 +217,18 @@ export type DocumentationPhaseWhereInput = {
|
|
|
254
217
|
phaseId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
255
218
|
documentationPlanId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
256
219
|
sourceQuestionnairePhaseId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
257
|
-
|
|
220
|
+
currentStageOrder?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
258
221
|
approvedDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
259
222
|
requiredDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"DocumentationPhase"> | number | null;
|
|
263
|
-
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"DocumentationPhase"> | $Enums.CompletionCriterion | null;
|
|
264
|
-
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
265
|
-
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
223
|
+
documentDefinitionsSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
224
|
+
approvalStagesSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
266
225
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
267
226
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
268
227
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
269
228
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
270
229
|
documentationPlan?: Prisma.XOR<Prisma.DocumentationPlanNullableScalarRelationFilter, Prisma.DocumentationPlanWhereInput> | null;
|
|
271
230
|
sourceQuestionnairePhase?: Prisma.XOR<Prisma.QuestionnairePhaseNullableScalarRelationFilter, Prisma.QuestionnairePhaseWhereInput> | null;
|
|
272
|
-
|
|
273
|
-
steps?: Prisma.DocumentationStepListRelationFilter;
|
|
231
|
+
stageProgress?: Prisma.ApprovalStageProgressListRelationFilter;
|
|
274
232
|
};
|
|
275
233
|
export type DocumentationPhaseOrderByWithRelationInput = {
|
|
276
234
|
id?: Prisma.SortOrder;
|
|
@@ -278,23 +236,18 @@ export type DocumentationPhaseOrderByWithRelationInput = {
|
|
|
278
236
|
phaseId?: Prisma.SortOrder;
|
|
279
237
|
documentationPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
280
238
|
sourceQuestionnairePhaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
|
-
|
|
239
|
+
currentStageOrder?: Prisma.SortOrder;
|
|
282
240
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
283
241
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
287
|
-
completionCriterion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
288
|
-
stepDefinitionsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
289
|
-
requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
242
|
+
documentDefinitionsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
243
|
+
approvalStagesSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
290
244
|
createdAt?: Prisma.SortOrder;
|
|
291
245
|
updatedAt?: Prisma.SortOrder;
|
|
292
246
|
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
293
247
|
phase?: Prisma.ApplicationPhaseOrderByWithRelationInput;
|
|
294
248
|
documentationPlan?: Prisma.DocumentationPlanOrderByWithRelationInput;
|
|
295
249
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseOrderByWithRelationInput;
|
|
296
|
-
|
|
297
|
-
steps?: Prisma.DocumentationStepOrderByRelationAggregateInput;
|
|
250
|
+
stageProgress?: Prisma.ApprovalStageProgressOrderByRelationAggregateInput;
|
|
298
251
|
_relevance?: Prisma.DocumentationPhaseOrderByRelevanceInput;
|
|
299
252
|
};
|
|
300
253
|
export type DocumentationPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -306,23 +259,18 @@ export type DocumentationPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
306
259
|
tenantId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
307
260
|
documentationPlanId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
308
261
|
sourceQuestionnairePhaseId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
309
|
-
|
|
262
|
+
currentStageOrder?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
310
263
|
approvedDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
311
264
|
requiredDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"DocumentationPhase"> | number | null;
|
|
315
|
-
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"DocumentationPhase"> | $Enums.CompletionCriterion | null;
|
|
316
|
-
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
317
|
-
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
265
|
+
documentDefinitionsSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
266
|
+
approvalStagesSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
318
267
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
319
268
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
320
269
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
321
270
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
322
271
|
documentationPlan?: Prisma.XOR<Prisma.DocumentationPlanNullableScalarRelationFilter, Prisma.DocumentationPlanWhereInput> | null;
|
|
323
272
|
sourceQuestionnairePhase?: Prisma.XOR<Prisma.QuestionnairePhaseNullableScalarRelationFilter, Prisma.QuestionnairePhaseWhereInput> | null;
|
|
324
|
-
|
|
325
|
-
steps?: Prisma.DocumentationStepListRelationFilter;
|
|
273
|
+
stageProgress?: Prisma.ApprovalStageProgressListRelationFilter;
|
|
326
274
|
}, "id" | "phaseId">;
|
|
327
275
|
export type DocumentationPhaseOrderByWithAggregationInput = {
|
|
328
276
|
id?: Prisma.SortOrder;
|
|
@@ -330,15 +278,11 @@ export type DocumentationPhaseOrderByWithAggregationInput = {
|
|
|
330
278
|
phaseId?: Prisma.SortOrder;
|
|
331
279
|
documentationPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
332
280
|
sourceQuestionnairePhaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
333
|
-
|
|
281
|
+
currentStageOrder?: Prisma.SortOrder;
|
|
334
282
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
335
283
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
339
|
-
completionCriterion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
340
|
-
stepDefinitionsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
341
|
-
requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
284
|
+
documentDefinitionsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
285
|
+
approvalStagesSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
342
286
|
createdAt?: Prisma.SortOrder;
|
|
343
287
|
updatedAt?: Prisma.SortOrder;
|
|
344
288
|
_count?: Prisma.DocumentationPhaseCountOrderByAggregateInput;
|
|
@@ -356,36 +300,28 @@ export type DocumentationPhaseScalarWhereWithAggregatesInput = {
|
|
|
356
300
|
phaseId?: Prisma.StringWithAggregatesFilter<"DocumentationPhase"> | string;
|
|
357
301
|
documentationPlanId?: Prisma.StringNullableWithAggregatesFilter<"DocumentationPhase"> | string | null;
|
|
358
302
|
sourceQuestionnairePhaseId?: Prisma.StringNullableWithAggregatesFilter<"DocumentationPhase"> | string | null;
|
|
359
|
-
|
|
303
|
+
currentStageOrder?: Prisma.IntWithAggregatesFilter<"DocumentationPhase"> | number;
|
|
360
304
|
approvedDocumentsCount?: Prisma.IntWithAggregatesFilter<"DocumentationPhase"> | number;
|
|
361
305
|
requiredDocumentsCount?: Prisma.IntWithAggregatesFilter<"DocumentationPhase"> | number;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
minimumCompletionPercentage?: Prisma.FloatNullableWithAggregatesFilter<"DocumentationPhase"> | number | null;
|
|
365
|
-
completionCriterion?: Prisma.EnumCompletionCriterionNullableWithAggregatesFilter<"DocumentationPhase"> | $Enums.CompletionCriterion | null;
|
|
366
|
-
stepDefinitionsSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"DocumentationPhase">;
|
|
367
|
-
requiredDocumentSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"DocumentationPhase">;
|
|
306
|
+
documentDefinitionsSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"DocumentationPhase">;
|
|
307
|
+
approvalStagesSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"DocumentationPhase">;
|
|
368
308
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DocumentationPhase"> | Date | string;
|
|
369
309
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DocumentationPhase"> | Date | string;
|
|
370
310
|
};
|
|
371
311
|
export type DocumentationPhaseCreateInput = {
|
|
372
312
|
id?: string;
|
|
313
|
+
currentStageOrder?: number;
|
|
373
314
|
approvedDocumentsCount?: number;
|
|
374
315
|
requiredDocumentsCount?: number;
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
minimumCompletionPercentage?: number | null;
|
|
378
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
379
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
380
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
316
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
317
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
381
318
|
createdAt?: Date | string;
|
|
382
319
|
updatedAt?: Date | string;
|
|
383
320
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
384
321
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
385
322
|
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
386
323
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutDependentDocumentationPhasesInput;
|
|
387
|
-
|
|
388
|
-
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
324
|
+
stageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutDocumentationPhaseInput;
|
|
389
325
|
};
|
|
390
326
|
export type DocumentationPhaseUncheckedCreateInput = {
|
|
391
327
|
id?: string;
|
|
@@ -393,37 +329,29 @@ export type DocumentationPhaseUncheckedCreateInput = {
|
|
|
393
329
|
phaseId: string;
|
|
394
330
|
documentationPlanId?: string | null;
|
|
395
331
|
sourceQuestionnairePhaseId?: string | null;
|
|
396
|
-
|
|
332
|
+
currentStageOrder?: number;
|
|
397
333
|
approvedDocumentsCount?: number;
|
|
398
334
|
requiredDocumentsCount?: number;
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
minimumCompletionPercentage?: number | null;
|
|
402
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
403
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
404
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
335
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
336
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
405
337
|
createdAt?: Date | string;
|
|
406
338
|
updatedAt?: Date | string;
|
|
407
|
-
|
|
339
|
+
stageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutDocumentationPhaseInput;
|
|
408
340
|
};
|
|
409
341
|
export type DocumentationPhaseUpdateInput = {
|
|
410
342
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
343
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
411
344
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
412
345
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
416
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
417
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
418
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
346
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
347
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
419
348
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
420
349
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
421
350
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
422
351
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
423
352
|
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
424
353
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutDependentDocumentationPhasesNestedInput;
|
|
425
|
-
|
|
426
|
-
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
354
|
+
stageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
427
355
|
};
|
|
428
356
|
export type DocumentationPhaseUncheckedUpdateInput = {
|
|
429
357
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -431,18 +359,14 @@ export type DocumentationPhaseUncheckedUpdateInput = {
|
|
|
431
359
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
432
360
|
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
433
361
|
sourceQuestionnairePhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
434
|
-
|
|
362
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
435
363
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
436
364
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
440
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
441
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
442
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
365
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
366
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
443
367
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
444
368
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
445
|
-
|
|
369
|
+
stageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
446
370
|
};
|
|
447
371
|
export type DocumentationPhaseCreateManyInput = {
|
|
448
372
|
id?: string;
|
|
@@ -450,28 +374,21 @@ export type DocumentationPhaseCreateManyInput = {
|
|
|
450
374
|
phaseId: string;
|
|
451
375
|
documentationPlanId?: string | null;
|
|
452
376
|
sourceQuestionnairePhaseId?: string | null;
|
|
453
|
-
|
|
377
|
+
currentStageOrder?: number;
|
|
454
378
|
approvedDocumentsCount?: number;
|
|
455
379
|
requiredDocumentsCount?: number;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
minimumCompletionPercentage?: number | null;
|
|
459
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
460
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
461
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
380
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
381
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
462
382
|
createdAt?: Date | string;
|
|
463
383
|
updatedAt?: Date | string;
|
|
464
384
|
};
|
|
465
385
|
export type DocumentationPhaseUpdateManyMutationInput = {
|
|
466
386
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
387
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
467
388
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
468
389
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
472
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
473
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
474
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
390
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
391
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
475
392
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
476
393
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
477
394
|
};
|
|
@@ -481,15 +398,11 @@ export type DocumentationPhaseUncheckedUpdateManyInput = {
|
|
|
481
398
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
482
399
|
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
483
400
|
sourceQuestionnairePhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
484
|
-
|
|
401
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
485
402
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
486
403
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
490
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
491
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
492
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
404
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
405
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
493
406
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
494
407
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
495
408
|
};
|
|
@@ -516,24 +429,18 @@ export type DocumentationPhaseCountOrderByAggregateInput = {
|
|
|
516
429
|
phaseId?: Prisma.SortOrder;
|
|
517
430
|
documentationPlanId?: Prisma.SortOrder;
|
|
518
431
|
sourceQuestionnairePhaseId?: Prisma.SortOrder;
|
|
519
|
-
|
|
432
|
+
currentStageOrder?: Prisma.SortOrder;
|
|
520
433
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
521
434
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
525
|
-
completionCriterion?: Prisma.SortOrder;
|
|
526
|
-
stepDefinitionsSnapshot?: Prisma.SortOrder;
|
|
527
|
-
requiredDocumentSnapshot?: Prisma.SortOrder;
|
|
435
|
+
documentDefinitionsSnapshot?: Prisma.SortOrder;
|
|
436
|
+
approvalStagesSnapshot?: Prisma.SortOrder;
|
|
528
437
|
createdAt?: Prisma.SortOrder;
|
|
529
438
|
updatedAt?: Prisma.SortOrder;
|
|
530
439
|
};
|
|
531
440
|
export type DocumentationPhaseAvgOrderByAggregateInput = {
|
|
441
|
+
currentStageOrder?: Prisma.SortOrder;
|
|
532
442
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
533
443
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
534
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
535
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
536
|
-
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
537
444
|
};
|
|
538
445
|
export type DocumentationPhaseMaxOrderByAggregateInput = {
|
|
539
446
|
id?: Prisma.SortOrder;
|
|
@@ -541,13 +448,9 @@ export type DocumentationPhaseMaxOrderByAggregateInput = {
|
|
|
541
448
|
phaseId?: Prisma.SortOrder;
|
|
542
449
|
documentationPlanId?: Prisma.SortOrder;
|
|
543
450
|
sourceQuestionnairePhaseId?: Prisma.SortOrder;
|
|
544
|
-
|
|
451
|
+
currentStageOrder?: Prisma.SortOrder;
|
|
545
452
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
546
453
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
547
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
548
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
549
|
-
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
550
|
-
completionCriterion?: Prisma.SortOrder;
|
|
551
454
|
createdAt?: Prisma.SortOrder;
|
|
552
455
|
updatedAt?: Prisma.SortOrder;
|
|
553
456
|
};
|
|
@@ -557,22 +460,16 @@ export type DocumentationPhaseMinOrderByAggregateInput = {
|
|
|
557
460
|
phaseId?: Prisma.SortOrder;
|
|
558
461
|
documentationPlanId?: Prisma.SortOrder;
|
|
559
462
|
sourceQuestionnairePhaseId?: Prisma.SortOrder;
|
|
560
|
-
|
|
463
|
+
currentStageOrder?: Prisma.SortOrder;
|
|
561
464
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
562
465
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
563
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
564
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
565
|
-
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
566
|
-
completionCriterion?: Prisma.SortOrder;
|
|
567
466
|
createdAt?: Prisma.SortOrder;
|
|
568
467
|
updatedAt?: Prisma.SortOrder;
|
|
569
468
|
};
|
|
570
469
|
export type DocumentationPhaseSumOrderByAggregateInput = {
|
|
470
|
+
currentStageOrder?: Prisma.SortOrder;
|
|
571
471
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
572
472
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
573
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
574
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
575
|
-
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
576
473
|
};
|
|
577
474
|
export type DocumentationPhaseScalarRelationFilter = {
|
|
578
475
|
is?: Prisma.DocumentationPhaseWhereInput;
|
|
@@ -720,91 +617,45 @@ export type DocumentationPhaseUncheckedUpdateManyWithoutSourceQuestionnairePhase
|
|
|
720
617
|
updateMany?: Prisma.DocumentationPhaseUpdateManyWithWhereWithoutSourceQuestionnairePhaseInput | Prisma.DocumentationPhaseUpdateManyWithWhereWithoutSourceQuestionnairePhaseInput[];
|
|
721
618
|
deleteMany?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
722
619
|
};
|
|
723
|
-
export type
|
|
724
|
-
create?: Prisma.XOR<Prisma.
|
|
725
|
-
connectOrCreate?: Prisma.
|
|
620
|
+
export type DocumentationPhaseCreateNestedOneWithoutStageProgressInput = {
|
|
621
|
+
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutStageProgressInput, Prisma.DocumentationPhaseUncheckedCreateWithoutStageProgressInput>;
|
|
622
|
+
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutStageProgressInput;
|
|
726
623
|
connect?: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
727
624
|
};
|
|
728
|
-
export type
|
|
729
|
-
create?: Prisma.XOR<Prisma.
|
|
730
|
-
connectOrCreate?: Prisma.
|
|
731
|
-
|
|
732
|
-
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
733
|
-
};
|
|
734
|
-
export type DocumentationPhaseUncheckedCreateNestedManyWithoutCurrentStepInput = {
|
|
735
|
-
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutCurrentStepInput, Prisma.DocumentationPhaseUncheckedCreateWithoutCurrentStepInput> | Prisma.DocumentationPhaseCreateWithoutCurrentStepInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutCurrentStepInput[];
|
|
736
|
-
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutCurrentStepInput | Prisma.DocumentationPhaseCreateOrConnectWithoutCurrentStepInput[];
|
|
737
|
-
createMany?: Prisma.DocumentationPhaseCreateManyCurrentStepInputEnvelope;
|
|
738
|
-
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
739
|
-
};
|
|
740
|
-
export type DocumentationPhaseUpdateOneRequiredWithoutStepsNestedInput = {
|
|
741
|
-
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutStepsInput, Prisma.DocumentationPhaseUncheckedCreateWithoutStepsInput>;
|
|
742
|
-
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutStepsInput;
|
|
743
|
-
upsert?: Prisma.DocumentationPhaseUpsertWithoutStepsInput;
|
|
625
|
+
export type DocumentationPhaseUpdateOneRequiredWithoutStageProgressNestedInput = {
|
|
626
|
+
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutStageProgressInput, Prisma.DocumentationPhaseUncheckedCreateWithoutStageProgressInput>;
|
|
627
|
+
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutStageProgressInput;
|
|
628
|
+
upsert?: Prisma.DocumentationPhaseUpsertWithoutStageProgressInput;
|
|
744
629
|
connect?: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
745
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.
|
|
746
|
-
};
|
|
747
|
-
export type DocumentationPhaseUpdateManyWithoutCurrentStepNestedInput = {
|
|
748
|
-
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutCurrentStepInput, Prisma.DocumentationPhaseUncheckedCreateWithoutCurrentStepInput> | Prisma.DocumentationPhaseCreateWithoutCurrentStepInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutCurrentStepInput[];
|
|
749
|
-
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutCurrentStepInput | Prisma.DocumentationPhaseCreateOrConnectWithoutCurrentStepInput[];
|
|
750
|
-
upsert?: Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutCurrentStepInput | Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutCurrentStepInput[];
|
|
751
|
-
createMany?: Prisma.DocumentationPhaseCreateManyCurrentStepInputEnvelope;
|
|
752
|
-
set?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
753
|
-
disconnect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
754
|
-
delete?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
755
|
-
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
756
|
-
update?: Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutCurrentStepInput | Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutCurrentStepInput[];
|
|
757
|
-
updateMany?: Prisma.DocumentationPhaseUpdateManyWithWhereWithoutCurrentStepInput | Prisma.DocumentationPhaseUpdateManyWithWhereWithoutCurrentStepInput[];
|
|
758
|
-
deleteMany?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
759
|
-
};
|
|
760
|
-
export type DocumentationPhaseUncheckedUpdateManyWithoutCurrentStepNestedInput = {
|
|
761
|
-
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutCurrentStepInput, Prisma.DocumentationPhaseUncheckedCreateWithoutCurrentStepInput> | Prisma.DocumentationPhaseCreateWithoutCurrentStepInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutCurrentStepInput[];
|
|
762
|
-
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutCurrentStepInput | Prisma.DocumentationPhaseCreateOrConnectWithoutCurrentStepInput[];
|
|
763
|
-
upsert?: Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutCurrentStepInput | Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutCurrentStepInput[];
|
|
764
|
-
createMany?: Prisma.DocumentationPhaseCreateManyCurrentStepInputEnvelope;
|
|
765
|
-
set?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
766
|
-
disconnect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
767
|
-
delete?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
768
|
-
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
769
|
-
update?: Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutCurrentStepInput | Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutCurrentStepInput[];
|
|
770
|
-
updateMany?: Prisma.DocumentationPhaseUpdateManyWithWhereWithoutCurrentStepInput | Prisma.DocumentationPhaseUpdateManyWithWhereWithoutCurrentStepInput[];
|
|
771
|
-
deleteMany?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
630
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DocumentationPhaseUpdateToOneWithWhereWithoutStageProgressInput, Prisma.DocumentationPhaseUpdateWithoutStageProgressInput>, Prisma.DocumentationPhaseUncheckedUpdateWithoutStageProgressInput>;
|
|
772
631
|
};
|
|
773
632
|
export type DocumentationPhaseCreateWithoutTenantInput = {
|
|
774
633
|
id?: string;
|
|
634
|
+
currentStageOrder?: number;
|
|
775
635
|
approvedDocumentsCount?: number;
|
|
776
636
|
requiredDocumentsCount?: number;
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
minimumCompletionPercentage?: number | null;
|
|
780
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
781
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
782
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
637
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
638
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
783
639
|
createdAt?: Date | string;
|
|
784
640
|
updatedAt?: Date | string;
|
|
785
641
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
786
642
|
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
787
643
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutDependentDocumentationPhasesInput;
|
|
788
|
-
|
|
789
|
-
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
644
|
+
stageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutDocumentationPhaseInput;
|
|
790
645
|
};
|
|
791
646
|
export type DocumentationPhaseUncheckedCreateWithoutTenantInput = {
|
|
792
647
|
id?: string;
|
|
793
648
|
phaseId: string;
|
|
794
649
|
documentationPlanId?: string | null;
|
|
795
650
|
sourceQuestionnairePhaseId?: string | null;
|
|
796
|
-
|
|
651
|
+
currentStageOrder?: number;
|
|
797
652
|
approvedDocumentsCount?: number;
|
|
798
653
|
requiredDocumentsCount?: number;
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
minimumCompletionPercentage?: number | null;
|
|
802
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
803
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
804
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
654
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
655
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
805
656
|
createdAt?: Date | string;
|
|
806
657
|
updatedAt?: Date | string;
|
|
807
|
-
|
|
658
|
+
stageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutDocumentationPhaseInput;
|
|
808
659
|
};
|
|
809
660
|
export type DocumentationPhaseCreateOrConnectWithoutTenantInput = {
|
|
810
661
|
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
@@ -836,53 +687,41 @@ export type DocumentationPhaseScalarWhereInput = {
|
|
|
836
687
|
phaseId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
837
688
|
documentationPlanId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
838
689
|
sourceQuestionnairePhaseId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
839
|
-
|
|
690
|
+
currentStageOrder?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
840
691
|
approvedDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
841
692
|
requiredDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"DocumentationPhase"> | number | null;
|
|
845
|
-
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"DocumentationPhase"> | $Enums.CompletionCriterion | null;
|
|
846
|
-
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
847
|
-
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
693
|
+
documentDefinitionsSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
694
|
+
approvalStagesSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
848
695
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
849
696
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
850
697
|
};
|
|
851
698
|
export type DocumentationPhaseCreateWithoutDocumentationPlanInput = {
|
|
852
699
|
id?: string;
|
|
700
|
+
currentStageOrder?: number;
|
|
853
701
|
approvedDocumentsCount?: number;
|
|
854
702
|
requiredDocumentsCount?: number;
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
minimumCompletionPercentage?: number | null;
|
|
858
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
859
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
860
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
703
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
704
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
861
705
|
createdAt?: Date | string;
|
|
862
706
|
updatedAt?: Date | string;
|
|
863
707
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
864
708
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
865
709
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutDependentDocumentationPhasesInput;
|
|
866
|
-
|
|
867
|
-
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
710
|
+
stageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutDocumentationPhaseInput;
|
|
868
711
|
};
|
|
869
712
|
export type DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput = {
|
|
870
713
|
id?: string;
|
|
871
714
|
tenantId: string;
|
|
872
715
|
phaseId: string;
|
|
873
716
|
sourceQuestionnairePhaseId?: string | null;
|
|
874
|
-
|
|
717
|
+
currentStageOrder?: number;
|
|
875
718
|
approvedDocumentsCount?: number;
|
|
876
719
|
requiredDocumentsCount?: number;
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
minimumCompletionPercentage?: number | null;
|
|
880
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
881
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
882
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
720
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
721
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
883
722
|
createdAt?: Date | string;
|
|
884
723
|
updatedAt?: Date | string;
|
|
885
|
-
|
|
724
|
+
stageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutDocumentationPhaseInput;
|
|
886
725
|
};
|
|
887
726
|
export type DocumentationPhaseCreateOrConnectWithoutDocumentationPlanInput = {
|
|
888
727
|
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
@@ -907,39 +746,31 @@ export type DocumentationPhaseUpdateManyWithWhereWithoutDocumentationPlanInput =
|
|
|
907
746
|
};
|
|
908
747
|
export type DocumentationPhaseCreateWithoutPhaseInput = {
|
|
909
748
|
id?: string;
|
|
749
|
+
currentStageOrder?: number;
|
|
910
750
|
approvedDocumentsCount?: number;
|
|
911
751
|
requiredDocumentsCount?: number;
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
minimumCompletionPercentage?: number | null;
|
|
915
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
916
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
917
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
752
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
753
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
918
754
|
createdAt?: Date | string;
|
|
919
755
|
updatedAt?: Date | string;
|
|
920
756
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
921
757
|
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
922
758
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutDependentDocumentationPhasesInput;
|
|
923
|
-
|
|
924
|
-
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
759
|
+
stageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutDocumentationPhaseInput;
|
|
925
760
|
};
|
|
926
761
|
export type DocumentationPhaseUncheckedCreateWithoutPhaseInput = {
|
|
927
762
|
id?: string;
|
|
928
763
|
tenantId: string;
|
|
929
764
|
documentationPlanId?: string | null;
|
|
930
765
|
sourceQuestionnairePhaseId?: string | null;
|
|
931
|
-
|
|
766
|
+
currentStageOrder?: number;
|
|
932
767
|
approvedDocumentsCount?: number;
|
|
933
768
|
requiredDocumentsCount?: number;
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
minimumCompletionPercentage?: number | null;
|
|
937
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
938
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
939
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
769
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
770
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
940
771
|
createdAt?: Date | string;
|
|
941
772
|
updatedAt?: Date | string;
|
|
942
|
-
|
|
773
|
+
stageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutDocumentationPhaseInput;
|
|
943
774
|
};
|
|
944
775
|
export type DocumentationPhaseCreateOrConnectWithoutPhaseInput = {
|
|
945
776
|
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
@@ -956,75 +787,59 @@ export type DocumentationPhaseUpdateToOneWithWhereWithoutPhaseInput = {
|
|
|
956
787
|
};
|
|
957
788
|
export type DocumentationPhaseUpdateWithoutPhaseInput = {
|
|
958
789
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
790
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
959
791
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
960
792
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
964
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
965
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
966
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
793
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
794
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
967
795
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
968
796
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
969
797
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
970
798
|
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
971
799
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutDependentDocumentationPhasesNestedInput;
|
|
972
|
-
|
|
973
|
-
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
800
|
+
stageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
974
801
|
};
|
|
975
802
|
export type DocumentationPhaseUncheckedUpdateWithoutPhaseInput = {
|
|
976
803
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
977
804
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
978
805
|
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
979
806
|
sourceQuestionnairePhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
980
|
-
|
|
807
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
981
808
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
982
809
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
986
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
987
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
988
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
810
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
811
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
989
812
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
990
813
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
991
|
-
|
|
814
|
+
stageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
992
815
|
};
|
|
993
816
|
export type DocumentationPhaseCreateWithoutSourceQuestionnairePhaseInput = {
|
|
994
817
|
id?: string;
|
|
818
|
+
currentStageOrder?: number;
|
|
995
819
|
approvedDocumentsCount?: number;
|
|
996
820
|
requiredDocumentsCount?: number;
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
minimumCompletionPercentage?: number | null;
|
|
1000
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1001
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1002
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
821
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
822
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1003
823
|
createdAt?: Date | string;
|
|
1004
824
|
updatedAt?: Date | string;
|
|
1005
825
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
1006
826
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
1007
827
|
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
1008
|
-
|
|
1009
|
-
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
828
|
+
stageProgress?: Prisma.ApprovalStageProgressCreateNestedManyWithoutDocumentationPhaseInput;
|
|
1010
829
|
};
|
|
1011
830
|
export type DocumentationPhaseUncheckedCreateWithoutSourceQuestionnairePhaseInput = {
|
|
1012
831
|
id?: string;
|
|
1013
832
|
tenantId: string;
|
|
1014
833
|
phaseId: string;
|
|
1015
834
|
documentationPlanId?: string | null;
|
|
1016
|
-
|
|
835
|
+
currentStageOrder?: number;
|
|
1017
836
|
approvedDocumentsCount?: number;
|
|
1018
837
|
requiredDocumentsCount?: number;
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
minimumCompletionPercentage?: number | null;
|
|
1022
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1023
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1024
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
838
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
839
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1025
840
|
createdAt?: Date | string;
|
|
1026
841
|
updatedAt?: Date | string;
|
|
1027
|
-
|
|
842
|
+
stageProgress?: Prisma.ApprovalStageProgressUncheckedCreateNestedManyWithoutDocumentationPhaseInput;
|
|
1028
843
|
};
|
|
1029
844
|
export type DocumentationPhaseCreateOrConnectWithoutSourceQuestionnairePhaseInput = {
|
|
1030
845
|
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
@@ -1047,215 +862,126 @@ export type DocumentationPhaseUpdateManyWithWhereWithoutSourceQuestionnairePhase
|
|
|
1047
862
|
where: Prisma.DocumentationPhaseScalarWhereInput;
|
|
1048
863
|
data: Prisma.XOR<Prisma.DocumentationPhaseUpdateManyMutationInput, Prisma.DocumentationPhaseUncheckedUpdateManyWithoutSourceQuestionnairePhaseInput>;
|
|
1049
864
|
};
|
|
1050
|
-
export type
|
|
1051
|
-
id?: string;
|
|
1052
|
-
approvedDocumentsCount?: number;
|
|
1053
|
-
requiredDocumentsCount?: number;
|
|
1054
|
-
completedStepsCount?: number;
|
|
1055
|
-
totalStepsCount?: number;
|
|
1056
|
-
minimumCompletionPercentage?: number | null;
|
|
1057
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1058
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1059
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1060
|
-
createdAt?: Date | string;
|
|
1061
|
-
updatedAt?: Date | string;
|
|
1062
|
-
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
1063
|
-
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
1064
|
-
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
1065
|
-
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutDependentDocumentationPhasesInput;
|
|
1066
|
-
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
1067
|
-
};
|
|
1068
|
-
export type DocumentationPhaseUncheckedCreateWithoutStepsInput = {
|
|
1069
|
-
id?: string;
|
|
1070
|
-
tenantId: string;
|
|
1071
|
-
phaseId: string;
|
|
1072
|
-
documentationPlanId?: string | null;
|
|
1073
|
-
sourceQuestionnairePhaseId?: string | null;
|
|
1074
|
-
currentStepId?: string | null;
|
|
1075
|
-
approvedDocumentsCount?: number;
|
|
1076
|
-
requiredDocumentsCount?: number;
|
|
1077
|
-
completedStepsCount?: number;
|
|
1078
|
-
totalStepsCount?: number;
|
|
1079
|
-
minimumCompletionPercentage?: number | null;
|
|
1080
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1081
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1082
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1083
|
-
createdAt?: Date | string;
|
|
1084
|
-
updatedAt?: Date | string;
|
|
1085
|
-
};
|
|
1086
|
-
export type DocumentationPhaseCreateOrConnectWithoutStepsInput = {
|
|
1087
|
-
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
1088
|
-
create: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutStepsInput, Prisma.DocumentationPhaseUncheckedCreateWithoutStepsInput>;
|
|
1089
|
-
};
|
|
1090
|
-
export type DocumentationPhaseCreateWithoutCurrentStepInput = {
|
|
865
|
+
export type DocumentationPhaseCreateWithoutStageProgressInput = {
|
|
1091
866
|
id?: string;
|
|
867
|
+
currentStageOrder?: number;
|
|
1092
868
|
approvedDocumentsCount?: number;
|
|
1093
869
|
requiredDocumentsCount?: number;
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
minimumCompletionPercentage?: number | null;
|
|
1097
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1098
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1099
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
870
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
871
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1100
872
|
createdAt?: Date | string;
|
|
1101
873
|
updatedAt?: Date | string;
|
|
1102
874
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
1103
875
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
1104
876
|
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
1105
877
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutDependentDocumentationPhasesInput;
|
|
1106
|
-
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
1107
878
|
};
|
|
1108
|
-
export type
|
|
879
|
+
export type DocumentationPhaseUncheckedCreateWithoutStageProgressInput = {
|
|
1109
880
|
id?: string;
|
|
1110
881
|
tenantId: string;
|
|
1111
882
|
phaseId: string;
|
|
1112
883
|
documentationPlanId?: string | null;
|
|
1113
884
|
sourceQuestionnairePhaseId?: string | null;
|
|
885
|
+
currentStageOrder?: number;
|
|
1114
886
|
approvedDocumentsCount?: number;
|
|
1115
887
|
requiredDocumentsCount?: number;
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
minimumCompletionPercentage?: number | null;
|
|
1119
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1120
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1121
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
888
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
889
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1122
890
|
createdAt?: Date | string;
|
|
1123
891
|
updatedAt?: Date | string;
|
|
1124
|
-
steps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutDocumentationPhaseInput;
|
|
1125
892
|
};
|
|
1126
|
-
export type
|
|
893
|
+
export type DocumentationPhaseCreateOrConnectWithoutStageProgressInput = {
|
|
1127
894
|
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
1128
|
-
create: Prisma.XOR<Prisma.
|
|
1129
|
-
};
|
|
1130
|
-
export type DocumentationPhaseCreateManyCurrentStepInputEnvelope = {
|
|
1131
|
-
data: Prisma.DocumentationPhaseCreateManyCurrentStepInput | Prisma.DocumentationPhaseCreateManyCurrentStepInput[];
|
|
1132
|
-
skipDuplicates?: boolean;
|
|
895
|
+
create: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutStageProgressInput, Prisma.DocumentationPhaseUncheckedCreateWithoutStageProgressInput>;
|
|
1133
896
|
};
|
|
1134
|
-
export type
|
|
1135
|
-
update: Prisma.XOR<Prisma.
|
|
1136
|
-
create: Prisma.XOR<Prisma.
|
|
897
|
+
export type DocumentationPhaseUpsertWithoutStageProgressInput = {
|
|
898
|
+
update: Prisma.XOR<Prisma.DocumentationPhaseUpdateWithoutStageProgressInput, Prisma.DocumentationPhaseUncheckedUpdateWithoutStageProgressInput>;
|
|
899
|
+
create: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutStageProgressInput, Prisma.DocumentationPhaseUncheckedCreateWithoutStageProgressInput>;
|
|
1137
900
|
where?: Prisma.DocumentationPhaseWhereInput;
|
|
1138
901
|
};
|
|
1139
|
-
export type
|
|
902
|
+
export type DocumentationPhaseUpdateToOneWithWhereWithoutStageProgressInput = {
|
|
1140
903
|
where?: Prisma.DocumentationPhaseWhereInput;
|
|
1141
|
-
data: Prisma.XOR<Prisma.
|
|
904
|
+
data: Prisma.XOR<Prisma.DocumentationPhaseUpdateWithoutStageProgressInput, Prisma.DocumentationPhaseUncheckedUpdateWithoutStageProgressInput>;
|
|
1142
905
|
};
|
|
1143
|
-
export type
|
|
906
|
+
export type DocumentationPhaseUpdateWithoutStageProgressInput = {
|
|
1144
907
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
908
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1145
909
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1146
910
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1150
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1151
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1152
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
911
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
912
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1153
913
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1154
914
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1155
915
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
1156
916
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
1157
917
|
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
1158
918
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutDependentDocumentationPhasesNestedInput;
|
|
1159
|
-
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
1160
919
|
};
|
|
1161
|
-
export type
|
|
920
|
+
export type DocumentationPhaseUncheckedUpdateWithoutStageProgressInput = {
|
|
1162
921
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1163
922
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1164
923
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1165
924
|
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1166
925
|
sourceQuestionnairePhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1167
|
-
|
|
926
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1168
927
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1169
928
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1173
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1174
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1175
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
929
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
930
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1176
931
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1177
932
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1178
933
|
};
|
|
1179
|
-
export type DocumentationPhaseUpsertWithWhereUniqueWithoutCurrentStepInput = {
|
|
1180
|
-
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
1181
|
-
update: Prisma.XOR<Prisma.DocumentationPhaseUpdateWithoutCurrentStepInput, Prisma.DocumentationPhaseUncheckedUpdateWithoutCurrentStepInput>;
|
|
1182
|
-
create: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutCurrentStepInput, Prisma.DocumentationPhaseUncheckedCreateWithoutCurrentStepInput>;
|
|
1183
|
-
};
|
|
1184
|
-
export type DocumentationPhaseUpdateWithWhereUniqueWithoutCurrentStepInput = {
|
|
1185
|
-
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
1186
|
-
data: Prisma.XOR<Prisma.DocumentationPhaseUpdateWithoutCurrentStepInput, Prisma.DocumentationPhaseUncheckedUpdateWithoutCurrentStepInput>;
|
|
1187
|
-
};
|
|
1188
|
-
export type DocumentationPhaseUpdateManyWithWhereWithoutCurrentStepInput = {
|
|
1189
|
-
where: Prisma.DocumentationPhaseScalarWhereInput;
|
|
1190
|
-
data: Prisma.XOR<Prisma.DocumentationPhaseUpdateManyMutationInput, Prisma.DocumentationPhaseUncheckedUpdateManyWithoutCurrentStepInput>;
|
|
1191
|
-
};
|
|
1192
934
|
export type DocumentationPhaseCreateManyTenantInput = {
|
|
1193
935
|
id?: string;
|
|
1194
936
|
phaseId: string;
|
|
1195
937
|
documentationPlanId?: string | null;
|
|
1196
938
|
sourceQuestionnairePhaseId?: string | null;
|
|
1197
|
-
|
|
939
|
+
currentStageOrder?: number;
|
|
1198
940
|
approvedDocumentsCount?: number;
|
|
1199
941
|
requiredDocumentsCount?: number;
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
minimumCompletionPercentage?: number | null;
|
|
1203
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1204
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1205
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
942
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
943
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1206
944
|
createdAt?: Date | string;
|
|
1207
945
|
updatedAt?: Date | string;
|
|
1208
946
|
};
|
|
1209
947
|
export type DocumentationPhaseUpdateWithoutTenantInput = {
|
|
1210
948
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
949
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1211
950
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1212
951
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1216
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1217
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1218
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
952
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
953
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1219
954
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1220
955
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1221
956
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
1222
957
|
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
1223
958
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutDependentDocumentationPhasesNestedInput;
|
|
1224
|
-
|
|
1225
|
-
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
959
|
+
stageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1226
960
|
};
|
|
1227
961
|
export type DocumentationPhaseUncheckedUpdateWithoutTenantInput = {
|
|
1228
962
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1229
963
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1230
964
|
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1231
965
|
sourceQuestionnairePhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1232
|
-
|
|
966
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1233
967
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1234
968
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1238
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1239
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1240
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
969
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
970
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1241
971
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1242
972
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1243
|
-
|
|
973
|
+
stageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1244
974
|
};
|
|
1245
975
|
export type DocumentationPhaseUncheckedUpdateManyWithoutTenantInput = {
|
|
1246
976
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1247
977
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1248
978
|
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1249
979
|
sourceQuestionnairePhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1250
|
-
|
|
980
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1251
981
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1252
982
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1256
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1257
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1258
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
983
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
984
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1259
985
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1260
986
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1261
987
|
};
|
|
@@ -1264,68 +990,52 @@ export type DocumentationPhaseCreateManyDocumentationPlanInput = {
|
|
|
1264
990
|
tenantId: string;
|
|
1265
991
|
phaseId: string;
|
|
1266
992
|
sourceQuestionnairePhaseId?: string | null;
|
|
1267
|
-
|
|
993
|
+
currentStageOrder?: number;
|
|
1268
994
|
approvedDocumentsCount?: number;
|
|
1269
995
|
requiredDocumentsCount?: number;
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
minimumCompletionPercentage?: number | null;
|
|
1273
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1274
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1275
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
996
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
997
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1276
998
|
createdAt?: Date | string;
|
|
1277
999
|
updatedAt?: Date | string;
|
|
1278
1000
|
};
|
|
1279
1001
|
export type DocumentationPhaseUpdateWithoutDocumentationPlanInput = {
|
|
1280
1002
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1003
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1281
1004
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1282
1005
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1286
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1287
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1288
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1006
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1007
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1289
1008
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1290
1009
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1291
1010
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
1292
1011
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
1293
1012
|
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutDependentDocumentationPhasesNestedInput;
|
|
1294
|
-
|
|
1295
|
-
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1013
|
+
stageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1296
1014
|
};
|
|
1297
1015
|
export type DocumentationPhaseUncheckedUpdateWithoutDocumentationPlanInput = {
|
|
1298
1016
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1299
1017
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1300
1018
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1301
1019
|
sourceQuestionnairePhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1302
|
-
|
|
1020
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1303
1021
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1304
1022
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1308
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1309
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1310
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1023
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1024
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1311
1025
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1312
1026
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1313
|
-
|
|
1027
|
+
stageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1314
1028
|
};
|
|
1315
1029
|
export type DocumentationPhaseUncheckedUpdateManyWithoutDocumentationPlanInput = {
|
|
1316
1030
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1317
1031
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1318
1032
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1319
1033
|
sourceQuestionnairePhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1320
|
-
|
|
1034
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1321
1035
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1322
1036
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1326
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1327
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1328
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1037
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1038
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1329
1039
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1330
1040
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1331
1041
|
};
|
|
@@ -1334,138 +1044,52 @@ export type DocumentationPhaseCreateManySourceQuestionnairePhaseInput = {
|
|
|
1334
1044
|
tenantId: string;
|
|
1335
1045
|
phaseId: string;
|
|
1336
1046
|
documentationPlanId?: string | null;
|
|
1337
|
-
|
|
1047
|
+
currentStageOrder?: number;
|
|
1338
1048
|
approvedDocumentsCount?: number;
|
|
1339
1049
|
requiredDocumentsCount?: number;
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
minimumCompletionPercentage?: number | null;
|
|
1343
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1344
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1345
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1050
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1051
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1346
1052
|
createdAt?: Date | string;
|
|
1347
1053
|
updatedAt?: Date | string;
|
|
1348
1054
|
};
|
|
1349
1055
|
export type DocumentationPhaseUpdateWithoutSourceQuestionnairePhaseInput = {
|
|
1350
1056
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1057
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1351
1058
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1352
1059
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1356
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1357
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1358
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1060
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1061
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1359
1062
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1360
1063
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1361
1064
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
1362
1065
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
1363
1066
|
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
1364
|
-
|
|
1365
|
-
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1067
|
+
stageProgress?: Prisma.ApprovalStageProgressUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1366
1068
|
};
|
|
1367
1069
|
export type DocumentationPhaseUncheckedUpdateWithoutSourceQuestionnairePhaseInput = {
|
|
1368
1070
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1369
1071
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1370
1072
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1371
1073
|
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1372
|
-
|
|
1074
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1373
1075
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1374
1076
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1378
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1379
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1380
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1077
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1078
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1381
1079
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1382
1080
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1383
|
-
|
|
1081
|
+
stageProgress?: Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1384
1082
|
};
|
|
1385
1083
|
export type DocumentationPhaseUncheckedUpdateManyWithoutSourceQuestionnairePhaseInput = {
|
|
1386
1084
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1387
1085
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1388
1086
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1389
1087
|
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1390
|
-
|
|
1391
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1392
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1393
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1394
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1395
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1396
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1397
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1398
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1399
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1400
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1401
|
-
};
|
|
1402
|
-
export type DocumentationPhaseCreateManyCurrentStepInput = {
|
|
1403
|
-
id?: string;
|
|
1404
|
-
tenantId: string;
|
|
1405
|
-
phaseId: string;
|
|
1406
|
-
documentationPlanId?: string | null;
|
|
1407
|
-
sourceQuestionnairePhaseId?: string | null;
|
|
1408
|
-
approvedDocumentsCount?: number;
|
|
1409
|
-
requiredDocumentsCount?: number;
|
|
1410
|
-
completedStepsCount?: number;
|
|
1411
|
-
totalStepsCount?: number;
|
|
1412
|
-
minimumCompletionPercentage?: number | null;
|
|
1413
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1414
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1415
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1416
|
-
createdAt?: Date | string;
|
|
1417
|
-
updatedAt?: Date | string;
|
|
1418
|
-
};
|
|
1419
|
-
export type DocumentationPhaseUpdateWithoutCurrentStepInput = {
|
|
1420
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1421
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1422
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1423
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1424
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1425
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1426
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1427
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1428
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1429
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1430
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1431
|
-
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
1432
|
-
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
1433
|
-
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
1434
|
-
sourceQuestionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutDependentDocumentationPhasesNestedInput;
|
|
1435
|
-
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1436
|
-
};
|
|
1437
|
-
export type DocumentationPhaseUncheckedUpdateWithoutCurrentStepInput = {
|
|
1438
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1439
|
-
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1440
|
-
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1441
|
-
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1442
|
-
sourceQuestionnairePhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1443
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1444
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1445
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1446
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1447
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1448
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1449
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1450
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1451
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1452
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1453
|
-
steps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1454
|
-
};
|
|
1455
|
-
export type DocumentationPhaseUncheckedUpdateManyWithoutCurrentStepInput = {
|
|
1456
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1457
|
-
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1458
|
-
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1459
|
-
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1460
|
-
sourceQuestionnairePhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1088
|
+
currentStageOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1461
1089
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1462
1090
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1466
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1467
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1468
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1091
|
+
documentDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1092
|
+
approvalStagesSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1469
1093
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1470
1094
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1471
1095
|
};
|
|
@@ -1473,10 +1097,10 @@ export type DocumentationPhaseUncheckedUpdateManyWithoutCurrentStepInput = {
|
|
|
1473
1097
|
* Count Type DocumentationPhaseCountOutputType
|
|
1474
1098
|
*/
|
|
1475
1099
|
export type DocumentationPhaseCountOutputType = {
|
|
1476
|
-
|
|
1100
|
+
stageProgress: number;
|
|
1477
1101
|
};
|
|
1478
1102
|
export type DocumentationPhaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1479
|
-
|
|
1103
|
+
stageProgress?: boolean | DocumentationPhaseCountOutputTypeCountStageProgressArgs;
|
|
1480
1104
|
};
|
|
1481
1105
|
/**
|
|
1482
1106
|
* DocumentationPhaseCountOutputType without action
|
|
@@ -1490,8 +1114,8 @@ export type DocumentationPhaseCountOutputTypeDefaultArgs<ExtArgs extends runtime
|
|
|
1490
1114
|
/**
|
|
1491
1115
|
* DocumentationPhaseCountOutputType without action
|
|
1492
1116
|
*/
|
|
1493
|
-
export type
|
|
1494
|
-
where?: Prisma.
|
|
1117
|
+
export type DocumentationPhaseCountOutputTypeCountStageProgressArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1118
|
+
where?: Prisma.ApprovalStageProgressWhereInput;
|
|
1495
1119
|
};
|
|
1496
1120
|
export type DocumentationPhaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1497
1121
|
id?: boolean;
|
|
@@ -1499,23 +1123,18 @@ export type DocumentationPhaseSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1499
1123
|
phaseId?: boolean;
|
|
1500
1124
|
documentationPlanId?: boolean;
|
|
1501
1125
|
sourceQuestionnairePhaseId?: boolean;
|
|
1502
|
-
|
|
1126
|
+
currentStageOrder?: boolean;
|
|
1503
1127
|
approvedDocumentsCount?: boolean;
|
|
1504
1128
|
requiredDocumentsCount?: boolean;
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
minimumCompletionPercentage?: boolean;
|
|
1508
|
-
completionCriterion?: boolean;
|
|
1509
|
-
stepDefinitionsSnapshot?: boolean;
|
|
1510
|
-
requiredDocumentSnapshot?: boolean;
|
|
1129
|
+
documentDefinitionsSnapshot?: boolean;
|
|
1130
|
+
approvalStagesSnapshot?: boolean;
|
|
1511
1131
|
createdAt?: boolean;
|
|
1512
1132
|
updatedAt?: boolean;
|
|
1513
1133
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1514
1134
|
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
1515
1135
|
documentationPlan?: boolean | Prisma.DocumentationPhase$documentationPlanArgs<ExtArgs>;
|
|
1516
1136
|
sourceQuestionnairePhase?: boolean | Prisma.DocumentationPhase$sourceQuestionnairePhaseArgs<ExtArgs>;
|
|
1517
|
-
|
|
1518
|
-
steps?: boolean | Prisma.DocumentationPhase$stepsArgs<ExtArgs>;
|
|
1137
|
+
stageProgress?: boolean | Prisma.DocumentationPhase$stageProgressArgs<ExtArgs>;
|
|
1519
1138
|
_count?: boolean | Prisma.DocumentationPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1520
1139
|
}, ExtArgs["result"]["documentationPhase"]>;
|
|
1521
1140
|
export type DocumentationPhaseSelectScalar = {
|
|
@@ -1524,26 +1143,21 @@ export type DocumentationPhaseSelectScalar = {
|
|
|
1524
1143
|
phaseId?: boolean;
|
|
1525
1144
|
documentationPlanId?: boolean;
|
|
1526
1145
|
sourceQuestionnairePhaseId?: boolean;
|
|
1527
|
-
|
|
1146
|
+
currentStageOrder?: boolean;
|
|
1528
1147
|
approvedDocumentsCount?: boolean;
|
|
1529
1148
|
requiredDocumentsCount?: boolean;
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
minimumCompletionPercentage?: boolean;
|
|
1533
|
-
completionCriterion?: boolean;
|
|
1534
|
-
stepDefinitionsSnapshot?: boolean;
|
|
1535
|
-
requiredDocumentSnapshot?: boolean;
|
|
1149
|
+
documentDefinitionsSnapshot?: boolean;
|
|
1150
|
+
approvalStagesSnapshot?: boolean;
|
|
1536
1151
|
createdAt?: boolean;
|
|
1537
1152
|
updatedAt?: boolean;
|
|
1538
1153
|
};
|
|
1539
|
-
export type DocumentationPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "phaseId" | "documentationPlanId" | "sourceQuestionnairePhaseId" | "
|
|
1154
|
+
export type DocumentationPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "phaseId" | "documentationPlanId" | "sourceQuestionnairePhaseId" | "currentStageOrder" | "approvedDocumentsCount" | "requiredDocumentsCount" | "documentDefinitionsSnapshot" | "approvalStagesSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationPhase"]>;
|
|
1540
1155
|
export type DocumentationPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1541
1156
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1542
1157
|
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
1543
1158
|
documentationPlan?: boolean | Prisma.DocumentationPhase$documentationPlanArgs<ExtArgs>;
|
|
1544
1159
|
sourceQuestionnairePhase?: boolean | Prisma.DocumentationPhase$sourceQuestionnairePhaseArgs<ExtArgs>;
|
|
1545
|
-
|
|
1546
|
-
steps?: boolean | Prisma.DocumentationPhase$stepsArgs<ExtArgs>;
|
|
1160
|
+
stageProgress?: boolean | Prisma.DocumentationPhase$stageProgressArgs<ExtArgs>;
|
|
1547
1161
|
_count?: boolean | Prisma.DocumentationPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1548
1162
|
};
|
|
1549
1163
|
export type $DocumentationPhasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -1553,8 +1167,7 @@ export type $DocumentationPhasePayload<ExtArgs extends runtime.Types.Extensions.
|
|
|
1553
1167
|
phase: Prisma.$ApplicationPhasePayload<ExtArgs>;
|
|
1554
1168
|
documentationPlan: Prisma.$DocumentationPlanPayload<ExtArgs> | null;
|
|
1555
1169
|
sourceQuestionnairePhase: Prisma.$QuestionnairePhasePayload<ExtArgs> | null;
|
|
1556
|
-
|
|
1557
|
-
steps: Prisma.$DocumentationStepPayload<ExtArgs>[];
|
|
1170
|
+
stageProgress: Prisma.$ApprovalStageProgressPayload<ExtArgs>[];
|
|
1558
1171
|
};
|
|
1559
1172
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1560
1173
|
id: string;
|
|
@@ -1562,15 +1175,11 @@ export type $DocumentationPhasePayload<ExtArgs extends runtime.Types.Extensions.
|
|
|
1562
1175
|
phaseId: string;
|
|
1563
1176
|
documentationPlanId: string | null;
|
|
1564
1177
|
sourceQuestionnairePhaseId: string | null;
|
|
1565
|
-
|
|
1178
|
+
currentStageOrder: number;
|
|
1566
1179
|
approvedDocumentsCount: number;
|
|
1567
1180
|
requiredDocumentsCount: number;
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
minimumCompletionPercentage: number | null;
|
|
1571
|
-
completionCriterion: $Enums.CompletionCriterion | null;
|
|
1572
|
-
stepDefinitionsSnapshot: runtime.JsonValue | null;
|
|
1573
|
-
requiredDocumentSnapshot: runtime.JsonValue | null;
|
|
1181
|
+
documentDefinitionsSnapshot: runtime.JsonValue | null;
|
|
1182
|
+
approvalStagesSnapshot: runtime.JsonValue | null;
|
|
1574
1183
|
createdAt: Date;
|
|
1575
1184
|
updatedAt: Date;
|
|
1576
1185
|
}, ExtArgs["result"]["documentationPhase"]>;
|
|
@@ -1854,8 +1463,7 @@ export interface Prisma__DocumentationPhaseClient<T, Null = never, ExtArgs exten
|
|
|
1854
1463
|
phase<T extends Prisma.ApplicationPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationPhaseClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1855
1464
|
documentationPlan<T extends Prisma.DocumentationPhase$documentationPlanArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$documentationPlanArgs<ExtArgs>>): Prisma.Prisma__DocumentationPlanClient<runtime.Types.Result.GetResult<Prisma.$DocumentationPlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1856
1465
|
sourceQuestionnairePhase<T extends Prisma.DocumentationPhase$sourceQuestionnairePhaseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$sourceQuestionnairePhaseArgs<ExtArgs>>): Prisma.Prisma__QuestionnairePhaseClient<runtime.Types.Result.GetResult<Prisma.$QuestionnairePhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1857
|
-
|
|
1858
|
-
steps<T extends Prisma.DocumentationPhase$stepsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$stepsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentationStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1466
|
+
stageProgress<T extends Prisma.DocumentationPhase$stageProgressArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$stageProgressArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalStageProgressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1859
1467
|
/**
|
|
1860
1468
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1861
1469
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1886,15 +1494,11 @@ export interface DocumentationPhaseFieldRefs {
|
|
|
1886
1494
|
readonly phaseId: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1887
1495
|
readonly documentationPlanId: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1888
1496
|
readonly sourceQuestionnairePhaseId: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1889
|
-
readonly
|
|
1497
|
+
readonly currentStageOrder: Prisma.FieldRef<"DocumentationPhase", 'Int'>;
|
|
1890
1498
|
readonly approvedDocumentsCount: Prisma.FieldRef<"DocumentationPhase", 'Int'>;
|
|
1891
1499
|
readonly requiredDocumentsCount: Prisma.FieldRef<"DocumentationPhase", 'Int'>;
|
|
1892
|
-
readonly
|
|
1893
|
-
readonly
|
|
1894
|
-
readonly minimumCompletionPercentage: Prisma.FieldRef<"DocumentationPhase", 'Float'>;
|
|
1895
|
-
readonly completionCriterion: Prisma.FieldRef<"DocumentationPhase", 'CompletionCriterion'>;
|
|
1896
|
-
readonly stepDefinitionsSnapshot: Prisma.FieldRef<"DocumentationPhase", 'Json'>;
|
|
1897
|
-
readonly requiredDocumentSnapshot: Prisma.FieldRef<"DocumentationPhase", 'Json'>;
|
|
1500
|
+
readonly documentDefinitionsSnapshot: Prisma.FieldRef<"DocumentationPhase", 'Json'>;
|
|
1501
|
+
readonly approvalStagesSnapshot: Prisma.FieldRef<"DocumentationPhase", 'Json'>;
|
|
1898
1502
|
readonly createdAt: Prisma.FieldRef<"DocumentationPhase", 'DateTime'>;
|
|
1899
1503
|
readonly updatedAt: Prisma.FieldRef<"DocumentationPhase", 'DateTime'>;
|
|
1900
1504
|
}
|
|
@@ -2261,45 +1865,27 @@ export type DocumentationPhase$sourceQuestionnairePhaseArgs<ExtArgs extends runt
|
|
|
2261
1865
|
where?: Prisma.QuestionnairePhaseWhereInput;
|
|
2262
1866
|
};
|
|
2263
1867
|
/**
|
|
2264
|
-
* DocumentationPhase.
|
|
2265
|
-
*/
|
|
2266
|
-
export type DocumentationPhase$currentStepArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2267
|
-
/**
|
|
2268
|
-
* Select specific fields to fetch from the DocumentationStep
|
|
2269
|
-
*/
|
|
2270
|
-
select?: Prisma.DocumentationStepSelect<ExtArgs> | null;
|
|
2271
|
-
/**
|
|
2272
|
-
* Omit specific fields from the DocumentationStep
|
|
2273
|
-
*/
|
|
2274
|
-
omit?: Prisma.DocumentationStepOmit<ExtArgs> | null;
|
|
2275
|
-
/**
|
|
2276
|
-
* Choose, which related nodes to fetch as well
|
|
2277
|
-
*/
|
|
2278
|
-
include?: Prisma.DocumentationStepInclude<ExtArgs> | null;
|
|
2279
|
-
where?: Prisma.DocumentationStepWhereInput;
|
|
2280
|
-
};
|
|
2281
|
-
/**
|
|
2282
|
-
* DocumentationPhase.steps
|
|
1868
|
+
* DocumentationPhase.stageProgress
|
|
2283
1869
|
*/
|
|
2284
|
-
export type DocumentationPhase$
|
|
1870
|
+
export type DocumentationPhase$stageProgressArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2285
1871
|
/**
|
|
2286
|
-
* Select specific fields to fetch from the
|
|
1872
|
+
* Select specific fields to fetch from the ApprovalStageProgress
|
|
2287
1873
|
*/
|
|
2288
|
-
select?: Prisma.
|
|
1874
|
+
select?: Prisma.ApprovalStageProgressSelect<ExtArgs> | null;
|
|
2289
1875
|
/**
|
|
2290
|
-
* Omit specific fields from the
|
|
1876
|
+
* Omit specific fields from the ApprovalStageProgress
|
|
2291
1877
|
*/
|
|
2292
|
-
omit?: Prisma.
|
|
1878
|
+
omit?: Prisma.ApprovalStageProgressOmit<ExtArgs> | null;
|
|
2293
1879
|
/**
|
|
2294
1880
|
* Choose, which related nodes to fetch as well
|
|
2295
1881
|
*/
|
|
2296
|
-
include?: Prisma.
|
|
2297
|
-
where?: Prisma.
|
|
2298
|
-
orderBy?: Prisma.
|
|
2299
|
-
cursor?: Prisma.
|
|
1882
|
+
include?: Prisma.ApprovalStageProgressInclude<ExtArgs> | null;
|
|
1883
|
+
where?: Prisma.ApprovalStageProgressWhereInput;
|
|
1884
|
+
orderBy?: Prisma.ApprovalStageProgressOrderByWithRelationInput | Prisma.ApprovalStageProgressOrderByWithRelationInput[];
|
|
1885
|
+
cursor?: Prisma.ApprovalStageProgressWhereUniqueInput;
|
|
2300
1886
|
take?: number;
|
|
2301
1887
|
skip?: number;
|
|
2302
|
-
distinct?: Prisma.
|
|
1888
|
+
distinct?: Prisma.ApprovalStageProgressScalarFieldEnum | Prisma.ApprovalStageProgressScalarFieldEnum[];
|
|
2303
1889
|
};
|
|
2304
1890
|
/**
|
|
2305
1891
|
* DocumentationPhase without action
|