@valentine-efagene/qshelter-common 2.0.102 → 2.0.104
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 +20 -0
- package/dist/generated/client/client.d.ts +20 -0
- package/dist/generated/client/commonInputTypes.d.ts +174 -84
- package/dist/generated/client/enums.d.ts +34 -0
- package/dist/generated/client/enums.js +31 -0
- package/dist/generated/client/internal/class.d.ts +44 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +389 -5
- package/dist/generated/client/internal/prismaNamespace.js +96 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +104 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +96 -0
- package/dist/generated/client/models/DocumentationPhase.d.ts +231 -1
- package/dist/generated/client/models/DocumentationPlan.d.ts +1555 -0
- package/dist/generated/client/models/DocumentationPlan.js +1 -0
- package/dist/generated/client/models/DocumentationPlanStep.d.ts +1220 -0
- package/dist/generated/client/models/DocumentationPlanStep.js +1 -0
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +0 -3
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +585 -1
- package/dist/generated/client/models/QuestionnairePhase.d.ts +413 -1
- package/dist/generated/client/models/QuestionnairePlan.d.ts +1844 -0
- package/dist/generated/client/models/QuestionnairePlan.js +1 -0
- package/dist/generated/client/models/QuestionnairePlanQuestion.d.ts +1444 -0
- package/dist/generated/client/models/QuestionnairePlanQuestion.js +1 -0
- package/dist/generated/client/models/Tenant.d.ts +1208 -118
- package/dist/generated/client/models/index.d.ts +4 -0
- package/dist/generated/client/models/index.js +4 -0
- package/dist/generated/client/models.d.ts +4 -0
- package/dist/src/prisma/tenant.js +4 -0
- package/package.json +1 -1
- package/prisma/migrations/20260114034523_add_documentation_plan/migration.sql +52 -0
- package/prisma/schema.prisma +210 -8
|
@@ -15,12 +15,16 @@ export type AggregateQuestionnairePhase = {
|
|
|
15
15
|
export type QuestionnairePhaseAvgAggregateOutputType = {
|
|
16
16
|
completedFieldsCount: number | null;
|
|
17
17
|
totalFieldsCount: number | null;
|
|
18
|
+
totalScore: number | null;
|
|
19
|
+
passingScore: number | null;
|
|
18
20
|
underwritingScore: number | null;
|
|
19
21
|
debtToIncomeRatio: number | null;
|
|
20
22
|
};
|
|
21
23
|
export type QuestionnairePhaseSumAggregateOutputType = {
|
|
22
24
|
completedFieldsCount: number | null;
|
|
23
25
|
totalFieldsCount: number | null;
|
|
26
|
+
totalScore: number | null;
|
|
27
|
+
passingScore: number | null;
|
|
24
28
|
underwritingScore: number | null;
|
|
25
29
|
debtToIncomeRatio: number | null;
|
|
26
30
|
};
|
|
@@ -28,8 +32,13 @@ export type QuestionnairePhaseMinAggregateOutputType = {
|
|
|
28
32
|
id: string | null;
|
|
29
33
|
tenantId: string | null;
|
|
30
34
|
phaseId: string | null;
|
|
35
|
+
questionnairePlanId: string | null;
|
|
31
36
|
completedFieldsCount: number | null;
|
|
32
37
|
totalFieldsCount: number | null;
|
|
38
|
+
totalScore: number | null;
|
|
39
|
+
passingScore: number | null;
|
|
40
|
+
passed: boolean | null;
|
|
41
|
+
scoredAt: Date | null;
|
|
33
42
|
underwritingScore: number | null;
|
|
34
43
|
debtToIncomeRatio: number | null;
|
|
35
44
|
underwritingDecision: string | null;
|
|
@@ -41,8 +50,13 @@ export type QuestionnairePhaseMaxAggregateOutputType = {
|
|
|
41
50
|
id: string | null;
|
|
42
51
|
tenantId: string | null;
|
|
43
52
|
phaseId: string | null;
|
|
53
|
+
questionnairePlanId: string | null;
|
|
44
54
|
completedFieldsCount: number | null;
|
|
45
55
|
totalFieldsCount: number | null;
|
|
56
|
+
totalScore: number | null;
|
|
57
|
+
passingScore: number | null;
|
|
58
|
+
passed: boolean | null;
|
|
59
|
+
scoredAt: Date | null;
|
|
46
60
|
underwritingScore: number | null;
|
|
47
61
|
debtToIncomeRatio: number | null;
|
|
48
62
|
underwritingDecision: string | null;
|
|
@@ -54,8 +68,13 @@ export type QuestionnairePhaseCountAggregateOutputType = {
|
|
|
54
68
|
id: number;
|
|
55
69
|
tenantId: number;
|
|
56
70
|
phaseId: number;
|
|
71
|
+
questionnairePlanId: number;
|
|
57
72
|
completedFieldsCount: number;
|
|
58
73
|
totalFieldsCount: number;
|
|
74
|
+
totalScore: number;
|
|
75
|
+
passingScore: number;
|
|
76
|
+
passed: number;
|
|
77
|
+
scoredAt: number;
|
|
59
78
|
underwritingScore: number;
|
|
60
79
|
debtToIncomeRatio: number;
|
|
61
80
|
underwritingDecision: number;
|
|
@@ -68,12 +87,16 @@ export type QuestionnairePhaseCountAggregateOutputType = {
|
|
|
68
87
|
export type QuestionnairePhaseAvgAggregateInputType = {
|
|
69
88
|
completedFieldsCount?: true;
|
|
70
89
|
totalFieldsCount?: true;
|
|
90
|
+
totalScore?: true;
|
|
91
|
+
passingScore?: true;
|
|
71
92
|
underwritingScore?: true;
|
|
72
93
|
debtToIncomeRatio?: true;
|
|
73
94
|
};
|
|
74
95
|
export type QuestionnairePhaseSumAggregateInputType = {
|
|
75
96
|
completedFieldsCount?: true;
|
|
76
97
|
totalFieldsCount?: true;
|
|
98
|
+
totalScore?: true;
|
|
99
|
+
passingScore?: true;
|
|
77
100
|
underwritingScore?: true;
|
|
78
101
|
debtToIncomeRatio?: true;
|
|
79
102
|
};
|
|
@@ -81,8 +104,13 @@ export type QuestionnairePhaseMinAggregateInputType = {
|
|
|
81
104
|
id?: true;
|
|
82
105
|
tenantId?: true;
|
|
83
106
|
phaseId?: true;
|
|
107
|
+
questionnairePlanId?: true;
|
|
84
108
|
completedFieldsCount?: true;
|
|
85
109
|
totalFieldsCount?: true;
|
|
110
|
+
totalScore?: true;
|
|
111
|
+
passingScore?: true;
|
|
112
|
+
passed?: true;
|
|
113
|
+
scoredAt?: true;
|
|
86
114
|
underwritingScore?: true;
|
|
87
115
|
debtToIncomeRatio?: true;
|
|
88
116
|
underwritingDecision?: true;
|
|
@@ -94,8 +122,13 @@ export type QuestionnairePhaseMaxAggregateInputType = {
|
|
|
94
122
|
id?: true;
|
|
95
123
|
tenantId?: true;
|
|
96
124
|
phaseId?: true;
|
|
125
|
+
questionnairePlanId?: true;
|
|
97
126
|
completedFieldsCount?: true;
|
|
98
127
|
totalFieldsCount?: true;
|
|
128
|
+
totalScore?: true;
|
|
129
|
+
passingScore?: true;
|
|
130
|
+
passed?: true;
|
|
131
|
+
scoredAt?: true;
|
|
99
132
|
underwritingScore?: true;
|
|
100
133
|
debtToIncomeRatio?: true;
|
|
101
134
|
underwritingDecision?: true;
|
|
@@ -107,8 +140,13 @@ export type QuestionnairePhaseCountAggregateInputType = {
|
|
|
107
140
|
id?: true;
|
|
108
141
|
tenantId?: true;
|
|
109
142
|
phaseId?: true;
|
|
143
|
+
questionnairePlanId?: true;
|
|
110
144
|
completedFieldsCount?: true;
|
|
111
145
|
totalFieldsCount?: true;
|
|
146
|
+
totalScore?: true;
|
|
147
|
+
passingScore?: true;
|
|
148
|
+
passed?: true;
|
|
149
|
+
scoredAt?: true;
|
|
112
150
|
underwritingScore?: true;
|
|
113
151
|
debtToIncomeRatio?: true;
|
|
114
152
|
underwritingDecision?: true;
|
|
@@ -198,8 +236,13 @@ export type QuestionnairePhaseGroupByOutputType = {
|
|
|
198
236
|
id: string;
|
|
199
237
|
tenantId: string;
|
|
200
238
|
phaseId: string;
|
|
239
|
+
questionnairePlanId: string | null;
|
|
201
240
|
completedFieldsCount: number;
|
|
202
241
|
totalFieldsCount: number;
|
|
242
|
+
totalScore: number | null;
|
|
243
|
+
passingScore: number | null;
|
|
244
|
+
passed: boolean | null;
|
|
245
|
+
scoredAt: Date | null;
|
|
203
246
|
underwritingScore: number | null;
|
|
204
247
|
debtToIncomeRatio: number | null;
|
|
205
248
|
underwritingDecision: string | null;
|
|
@@ -223,8 +266,13 @@ export type QuestionnairePhaseWhereInput = {
|
|
|
223
266
|
id?: Prisma.StringFilter<"QuestionnairePhase"> | string;
|
|
224
267
|
tenantId?: Prisma.StringFilter<"QuestionnairePhase"> | string;
|
|
225
268
|
phaseId?: Prisma.StringFilter<"QuestionnairePhase"> | string;
|
|
269
|
+
questionnairePlanId?: Prisma.StringNullableFilter<"QuestionnairePhase"> | string | null;
|
|
226
270
|
completedFieldsCount?: Prisma.IntFilter<"QuestionnairePhase"> | number;
|
|
227
271
|
totalFieldsCount?: Prisma.IntFilter<"QuestionnairePhase"> | number;
|
|
272
|
+
totalScore?: Prisma.IntNullableFilter<"QuestionnairePhase"> | number | null;
|
|
273
|
+
passingScore?: Prisma.IntNullableFilter<"QuestionnairePhase"> | number | null;
|
|
274
|
+
passed?: Prisma.BoolNullableFilter<"QuestionnairePhase"> | boolean | null;
|
|
275
|
+
scoredAt?: Prisma.DateTimeNullableFilter<"QuestionnairePhase"> | Date | string | null;
|
|
228
276
|
underwritingScore?: Prisma.FloatNullableFilter<"QuestionnairePhase"> | number | null;
|
|
229
277
|
debtToIncomeRatio?: Prisma.FloatNullableFilter<"QuestionnairePhase"> | number | null;
|
|
230
278
|
underwritingDecision?: Prisma.StringNullableFilter<"QuestionnairePhase"> | string | null;
|
|
@@ -234,14 +282,20 @@ export type QuestionnairePhaseWhereInput = {
|
|
|
234
282
|
updatedAt?: Prisma.DateTimeFilter<"QuestionnairePhase"> | Date | string;
|
|
235
283
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
236
284
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
285
|
+
questionnairePlan?: Prisma.XOR<Prisma.QuestionnairePlanNullableScalarRelationFilter, Prisma.QuestionnairePlanWhereInput> | null;
|
|
237
286
|
fields?: Prisma.QuestionnaireFieldListRelationFilter;
|
|
238
287
|
};
|
|
239
288
|
export type QuestionnairePhaseOrderByWithRelationInput = {
|
|
240
289
|
id?: Prisma.SortOrder;
|
|
241
290
|
tenantId?: Prisma.SortOrder;
|
|
242
291
|
phaseId?: Prisma.SortOrder;
|
|
292
|
+
questionnairePlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
243
293
|
completedFieldsCount?: Prisma.SortOrder;
|
|
244
294
|
totalFieldsCount?: Prisma.SortOrder;
|
|
295
|
+
totalScore?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
296
|
+
passingScore?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
297
|
+
passed?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
298
|
+
scoredAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
245
299
|
underwritingScore?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
246
300
|
debtToIncomeRatio?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
247
301
|
underwritingDecision?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -251,6 +305,7 @@ export type QuestionnairePhaseOrderByWithRelationInput = {
|
|
|
251
305
|
updatedAt?: Prisma.SortOrder;
|
|
252
306
|
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
253
307
|
phase?: Prisma.ApplicationPhaseOrderByWithRelationInput;
|
|
308
|
+
questionnairePlan?: Prisma.QuestionnairePlanOrderByWithRelationInput;
|
|
254
309
|
fields?: Prisma.QuestionnaireFieldOrderByRelationAggregateInput;
|
|
255
310
|
_relevance?: Prisma.QuestionnairePhaseOrderByRelevanceInput;
|
|
256
311
|
};
|
|
@@ -261,8 +316,13 @@ export type QuestionnairePhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
261
316
|
OR?: Prisma.QuestionnairePhaseWhereInput[];
|
|
262
317
|
NOT?: Prisma.QuestionnairePhaseWhereInput | Prisma.QuestionnairePhaseWhereInput[];
|
|
263
318
|
tenantId?: Prisma.StringFilter<"QuestionnairePhase"> | string;
|
|
319
|
+
questionnairePlanId?: Prisma.StringNullableFilter<"QuestionnairePhase"> | string | null;
|
|
264
320
|
completedFieldsCount?: Prisma.IntFilter<"QuestionnairePhase"> | number;
|
|
265
321
|
totalFieldsCount?: Prisma.IntFilter<"QuestionnairePhase"> | number;
|
|
322
|
+
totalScore?: Prisma.IntNullableFilter<"QuestionnairePhase"> | number | null;
|
|
323
|
+
passingScore?: Prisma.IntNullableFilter<"QuestionnairePhase"> | number | null;
|
|
324
|
+
passed?: Prisma.BoolNullableFilter<"QuestionnairePhase"> | boolean | null;
|
|
325
|
+
scoredAt?: Prisma.DateTimeNullableFilter<"QuestionnairePhase"> | Date | string | null;
|
|
266
326
|
underwritingScore?: Prisma.FloatNullableFilter<"QuestionnairePhase"> | number | null;
|
|
267
327
|
debtToIncomeRatio?: Prisma.FloatNullableFilter<"QuestionnairePhase"> | number | null;
|
|
268
328
|
underwritingDecision?: Prisma.StringNullableFilter<"QuestionnairePhase"> | string | null;
|
|
@@ -272,14 +332,20 @@ export type QuestionnairePhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
272
332
|
updatedAt?: Prisma.DateTimeFilter<"QuestionnairePhase"> | Date | string;
|
|
273
333
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
274
334
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
335
|
+
questionnairePlan?: Prisma.XOR<Prisma.QuestionnairePlanNullableScalarRelationFilter, Prisma.QuestionnairePlanWhereInput> | null;
|
|
275
336
|
fields?: Prisma.QuestionnaireFieldListRelationFilter;
|
|
276
337
|
}, "id" | "phaseId">;
|
|
277
338
|
export type QuestionnairePhaseOrderByWithAggregationInput = {
|
|
278
339
|
id?: Prisma.SortOrder;
|
|
279
340
|
tenantId?: Prisma.SortOrder;
|
|
280
341
|
phaseId?: Prisma.SortOrder;
|
|
342
|
+
questionnairePlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
343
|
completedFieldsCount?: Prisma.SortOrder;
|
|
282
344
|
totalFieldsCount?: Prisma.SortOrder;
|
|
345
|
+
totalScore?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
346
|
+
passingScore?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
347
|
+
passed?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
348
|
+
scoredAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
283
349
|
underwritingScore?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
284
350
|
debtToIncomeRatio?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
285
351
|
underwritingDecision?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -300,8 +366,13 @@ export type QuestionnairePhaseScalarWhereWithAggregatesInput = {
|
|
|
300
366
|
id?: Prisma.StringWithAggregatesFilter<"QuestionnairePhase"> | string;
|
|
301
367
|
tenantId?: Prisma.StringWithAggregatesFilter<"QuestionnairePhase"> | string;
|
|
302
368
|
phaseId?: Prisma.StringWithAggregatesFilter<"QuestionnairePhase"> | string;
|
|
369
|
+
questionnairePlanId?: Prisma.StringNullableWithAggregatesFilter<"QuestionnairePhase"> | string | null;
|
|
303
370
|
completedFieldsCount?: Prisma.IntWithAggregatesFilter<"QuestionnairePhase"> | number;
|
|
304
371
|
totalFieldsCount?: Prisma.IntWithAggregatesFilter<"QuestionnairePhase"> | number;
|
|
372
|
+
totalScore?: Prisma.IntNullableWithAggregatesFilter<"QuestionnairePhase"> | number | null;
|
|
373
|
+
passingScore?: Prisma.IntNullableWithAggregatesFilter<"QuestionnairePhase"> | number | null;
|
|
374
|
+
passed?: Prisma.BoolNullableWithAggregatesFilter<"QuestionnairePhase"> | boolean | null;
|
|
375
|
+
scoredAt?: Prisma.DateTimeNullableWithAggregatesFilter<"QuestionnairePhase"> | Date | string | null;
|
|
305
376
|
underwritingScore?: Prisma.FloatNullableWithAggregatesFilter<"QuestionnairePhase"> | number | null;
|
|
306
377
|
debtToIncomeRatio?: Prisma.FloatNullableWithAggregatesFilter<"QuestionnairePhase"> | number | null;
|
|
307
378
|
underwritingDecision?: Prisma.StringNullableWithAggregatesFilter<"QuestionnairePhase"> | string | null;
|
|
@@ -314,6 +385,10 @@ export type QuestionnairePhaseCreateInput = {
|
|
|
314
385
|
id?: string;
|
|
315
386
|
completedFieldsCount?: number;
|
|
316
387
|
totalFieldsCount?: number;
|
|
388
|
+
totalScore?: number | null;
|
|
389
|
+
passingScore?: number | null;
|
|
390
|
+
passed?: boolean | null;
|
|
391
|
+
scoredAt?: Date | string | null;
|
|
317
392
|
underwritingScore?: number | null;
|
|
318
393
|
debtToIncomeRatio?: number | null;
|
|
319
394
|
underwritingDecision?: string | null;
|
|
@@ -323,14 +398,20 @@ export type QuestionnairePhaseCreateInput = {
|
|
|
323
398
|
updatedAt?: Date | string;
|
|
324
399
|
tenant: Prisma.TenantCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
325
400
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
401
|
+
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
326
402
|
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
327
403
|
};
|
|
328
404
|
export type QuestionnairePhaseUncheckedCreateInput = {
|
|
329
405
|
id?: string;
|
|
330
406
|
tenantId: string;
|
|
331
407
|
phaseId: string;
|
|
408
|
+
questionnairePlanId?: string | null;
|
|
332
409
|
completedFieldsCount?: number;
|
|
333
410
|
totalFieldsCount?: number;
|
|
411
|
+
totalScore?: number | null;
|
|
412
|
+
passingScore?: number | null;
|
|
413
|
+
passed?: boolean | null;
|
|
414
|
+
scoredAt?: Date | string | null;
|
|
334
415
|
underwritingScore?: number | null;
|
|
335
416
|
debtToIncomeRatio?: number | null;
|
|
336
417
|
underwritingDecision?: string | null;
|
|
@@ -344,6 +425,10 @@ export type QuestionnairePhaseUpdateInput = {
|
|
|
344
425
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
345
426
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
346
427
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
428
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
429
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
430
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
431
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
347
432
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
348
433
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
349
434
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -353,14 +438,20 @@ export type QuestionnairePhaseUpdateInput = {
|
|
|
353
438
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
354
439
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutQuestionnairePhasesNestedInput;
|
|
355
440
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
441
|
+
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutQuestionnairePhasesNestedInput;
|
|
356
442
|
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
357
443
|
};
|
|
358
444
|
export type QuestionnairePhaseUncheckedUpdateInput = {
|
|
359
445
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
360
446
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
361
447
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
448
|
+
questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
362
449
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
363
450
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
451
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
452
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
453
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
454
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
364
455
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
365
456
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
366
457
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -374,8 +465,13 @@ export type QuestionnairePhaseCreateManyInput = {
|
|
|
374
465
|
id?: string;
|
|
375
466
|
tenantId: string;
|
|
376
467
|
phaseId: string;
|
|
468
|
+
questionnairePlanId?: string | null;
|
|
377
469
|
completedFieldsCount?: number;
|
|
378
470
|
totalFieldsCount?: number;
|
|
471
|
+
totalScore?: number | null;
|
|
472
|
+
passingScore?: number | null;
|
|
473
|
+
passed?: boolean | null;
|
|
474
|
+
scoredAt?: Date | string | null;
|
|
379
475
|
underwritingScore?: number | null;
|
|
380
476
|
debtToIncomeRatio?: number | null;
|
|
381
477
|
underwritingDecision?: string | null;
|
|
@@ -388,6 +484,10 @@ export type QuestionnairePhaseUpdateManyMutationInput = {
|
|
|
388
484
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
389
485
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
390
486
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
487
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
488
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
489
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
490
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
391
491
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
392
492
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
393
493
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -400,8 +500,13 @@ export type QuestionnairePhaseUncheckedUpdateManyInput = {
|
|
|
400
500
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
501
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
402
502
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
503
|
+
questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
403
504
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
404
505
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
506
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
507
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
508
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
509
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
405
510
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
406
511
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
407
512
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -431,8 +536,13 @@ export type QuestionnairePhaseCountOrderByAggregateInput = {
|
|
|
431
536
|
id?: Prisma.SortOrder;
|
|
432
537
|
tenantId?: Prisma.SortOrder;
|
|
433
538
|
phaseId?: Prisma.SortOrder;
|
|
539
|
+
questionnairePlanId?: Prisma.SortOrder;
|
|
434
540
|
completedFieldsCount?: Prisma.SortOrder;
|
|
435
541
|
totalFieldsCount?: Prisma.SortOrder;
|
|
542
|
+
totalScore?: Prisma.SortOrder;
|
|
543
|
+
passingScore?: Prisma.SortOrder;
|
|
544
|
+
passed?: Prisma.SortOrder;
|
|
545
|
+
scoredAt?: Prisma.SortOrder;
|
|
436
546
|
underwritingScore?: Prisma.SortOrder;
|
|
437
547
|
debtToIncomeRatio?: Prisma.SortOrder;
|
|
438
548
|
underwritingDecision?: Prisma.SortOrder;
|
|
@@ -444,6 +554,8 @@ export type QuestionnairePhaseCountOrderByAggregateInput = {
|
|
|
444
554
|
export type QuestionnairePhaseAvgOrderByAggregateInput = {
|
|
445
555
|
completedFieldsCount?: Prisma.SortOrder;
|
|
446
556
|
totalFieldsCount?: Prisma.SortOrder;
|
|
557
|
+
totalScore?: Prisma.SortOrder;
|
|
558
|
+
passingScore?: Prisma.SortOrder;
|
|
447
559
|
underwritingScore?: Prisma.SortOrder;
|
|
448
560
|
debtToIncomeRatio?: Prisma.SortOrder;
|
|
449
561
|
};
|
|
@@ -451,8 +563,13 @@ export type QuestionnairePhaseMaxOrderByAggregateInput = {
|
|
|
451
563
|
id?: Prisma.SortOrder;
|
|
452
564
|
tenantId?: Prisma.SortOrder;
|
|
453
565
|
phaseId?: Prisma.SortOrder;
|
|
566
|
+
questionnairePlanId?: Prisma.SortOrder;
|
|
454
567
|
completedFieldsCount?: Prisma.SortOrder;
|
|
455
568
|
totalFieldsCount?: Prisma.SortOrder;
|
|
569
|
+
totalScore?: Prisma.SortOrder;
|
|
570
|
+
passingScore?: Prisma.SortOrder;
|
|
571
|
+
passed?: Prisma.SortOrder;
|
|
572
|
+
scoredAt?: Prisma.SortOrder;
|
|
456
573
|
underwritingScore?: Prisma.SortOrder;
|
|
457
574
|
debtToIncomeRatio?: Prisma.SortOrder;
|
|
458
575
|
underwritingDecision?: Prisma.SortOrder;
|
|
@@ -464,8 +581,13 @@ export type QuestionnairePhaseMinOrderByAggregateInput = {
|
|
|
464
581
|
id?: Prisma.SortOrder;
|
|
465
582
|
tenantId?: Prisma.SortOrder;
|
|
466
583
|
phaseId?: Prisma.SortOrder;
|
|
584
|
+
questionnairePlanId?: Prisma.SortOrder;
|
|
467
585
|
completedFieldsCount?: Prisma.SortOrder;
|
|
468
586
|
totalFieldsCount?: Prisma.SortOrder;
|
|
587
|
+
totalScore?: Prisma.SortOrder;
|
|
588
|
+
passingScore?: Prisma.SortOrder;
|
|
589
|
+
passed?: Prisma.SortOrder;
|
|
590
|
+
scoredAt?: Prisma.SortOrder;
|
|
469
591
|
underwritingScore?: Prisma.SortOrder;
|
|
470
592
|
debtToIncomeRatio?: Prisma.SortOrder;
|
|
471
593
|
underwritingDecision?: Prisma.SortOrder;
|
|
@@ -476,6 +598,8 @@ export type QuestionnairePhaseMinOrderByAggregateInput = {
|
|
|
476
598
|
export type QuestionnairePhaseSumOrderByAggregateInput = {
|
|
477
599
|
completedFieldsCount?: Prisma.SortOrder;
|
|
478
600
|
totalFieldsCount?: Prisma.SortOrder;
|
|
601
|
+
totalScore?: Prisma.SortOrder;
|
|
602
|
+
passingScore?: Prisma.SortOrder;
|
|
479
603
|
underwritingScore?: Prisma.SortOrder;
|
|
480
604
|
debtToIncomeRatio?: Prisma.SortOrder;
|
|
481
605
|
};
|
|
@@ -521,6 +645,44 @@ export type QuestionnairePhaseUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
|
521
645
|
updateMany?: Prisma.QuestionnairePhaseUpdateManyWithWhereWithoutTenantInput | Prisma.QuestionnairePhaseUpdateManyWithWhereWithoutTenantInput[];
|
|
522
646
|
deleteMany?: Prisma.QuestionnairePhaseScalarWhereInput | Prisma.QuestionnairePhaseScalarWhereInput[];
|
|
523
647
|
};
|
|
648
|
+
export type QuestionnairePhaseCreateNestedManyWithoutQuestionnairePlanInput = {
|
|
649
|
+
create?: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutQuestionnairePlanInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput> | Prisma.QuestionnairePhaseCreateWithoutQuestionnairePlanInput[] | Prisma.QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput[];
|
|
650
|
+
connectOrCreate?: Prisma.QuestionnairePhaseCreateOrConnectWithoutQuestionnairePlanInput | Prisma.QuestionnairePhaseCreateOrConnectWithoutQuestionnairePlanInput[];
|
|
651
|
+
createMany?: Prisma.QuestionnairePhaseCreateManyQuestionnairePlanInputEnvelope;
|
|
652
|
+
connect?: Prisma.QuestionnairePhaseWhereUniqueInput | Prisma.QuestionnairePhaseWhereUniqueInput[];
|
|
653
|
+
};
|
|
654
|
+
export type QuestionnairePhaseUncheckedCreateNestedManyWithoutQuestionnairePlanInput = {
|
|
655
|
+
create?: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutQuestionnairePlanInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput> | Prisma.QuestionnairePhaseCreateWithoutQuestionnairePlanInput[] | Prisma.QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput[];
|
|
656
|
+
connectOrCreate?: Prisma.QuestionnairePhaseCreateOrConnectWithoutQuestionnairePlanInput | Prisma.QuestionnairePhaseCreateOrConnectWithoutQuestionnairePlanInput[];
|
|
657
|
+
createMany?: Prisma.QuestionnairePhaseCreateManyQuestionnairePlanInputEnvelope;
|
|
658
|
+
connect?: Prisma.QuestionnairePhaseWhereUniqueInput | Prisma.QuestionnairePhaseWhereUniqueInput[];
|
|
659
|
+
};
|
|
660
|
+
export type QuestionnairePhaseUpdateManyWithoutQuestionnairePlanNestedInput = {
|
|
661
|
+
create?: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutQuestionnairePlanInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput> | Prisma.QuestionnairePhaseCreateWithoutQuestionnairePlanInput[] | Prisma.QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput[];
|
|
662
|
+
connectOrCreate?: Prisma.QuestionnairePhaseCreateOrConnectWithoutQuestionnairePlanInput | Prisma.QuestionnairePhaseCreateOrConnectWithoutQuestionnairePlanInput[];
|
|
663
|
+
upsert?: Prisma.QuestionnairePhaseUpsertWithWhereUniqueWithoutQuestionnairePlanInput | Prisma.QuestionnairePhaseUpsertWithWhereUniqueWithoutQuestionnairePlanInput[];
|
|
664
|
+
createMany?: Prisma.QuestionnairePhaseCreateManyQuestionnairePlanInputEnvelope;
|
|
665
|
+
set?: Prisma.QuestionnairePhaseWhereUniqueInput | Prisma.QuestionnairePhaseWhereUniqueInput[];
|
|
666
|
+
disconnect?: Prisma.QuestionnairePhaseWhereUniqueInput | Prisma.QuestionnairePhaseWhereUniqueInput[];
|
|
667
|
+
delete?: Prisma.QuestionnairePhaseWhereUniqueInput | Prisma.QuestionnairePhaseWhereUniqueInput[];
|
|
668
|
+
connect?: Prisma.QuestionnairePhaseWhereUniqueInput | Prisma.QuestionnairePhaseWhereUniqueInput[];
|
|
669
|
+
update?: Prisma.QuestionnairePhaseUpdateWithWhereUniqueWithoutQuestionnairePlanInput | Prisma.QuestionnairePhaseUpdateWithWhereUniqueWithoutQuestionnairePlanInput[];
|
|
670
|
+
updateMany?: Prisma.QuestionnairePhaseUpdateManyWithWhereWithoutQuestionnairePlanInput | Prisma.QuestionnairePhaseUpdateManyWithWhereWithoutQuestionnairePlanInput[];
|
|
671
|
+
deleteMany?: Prisma.QuestionnairePhaseScalarWhereInput | Prisma.QuestionnairePhaseScalarWhereInput[];
|
|
672
|
+
};
|
|
673
|
+
export type QuestionnairePhaseUncheckedUpdateManyWithoutQuestionnairePlanNestedInput = {
|
|
674
|
+
create?: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutQuestionnairePlanInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput> | Prisma.QuestionnairePhaseCreateWithoutQuestionnairePlanInput[] | Prisma.QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput[];
|
|
675
|
+
connectOrCreate?: Prisma.QuestionnairePhaseCreateOrConnectWithoutQuestionnairePlanInput | Prisma.QuestionnairePhaseCreateOrConnectWithoutQuestionnairePlanInput[];
|
|
676
|
+
upsert?: Prisma.QuestionnairePhaseUpsertWithWhereUniqueWithoutQuestionnairePlanInput | Prisma.QuestionnairePhaseUpsertWithWhereUniqueWithoutQuestionnairePlanInput[];
|
|
677
|
+
createMany?: Prisma.QuestionnairePhaseCreateManyQuestionnairePlanInputEnvelope;
|
|
678
|
+
set?: Prisma.QuestionnairePhaseWhereUniqueInput | Prisma.QuestionnairePhaseWhereUniqueInput[];
|
|
679
|
+
disconnect?: Prisma.QuestionnairePhaseWhereUniqueInput | Prisma.QuestionnairePhaseWhereUniqueInput[];
|
|
680
|
+
delete?: Prisma.QuestionnairePhaseWhereUniqueInput | Prisma.QuestionnairePhaseWhereUniqueInput[];
|
|
681
|
+
connect?: Prisma.QuestionnairePhaseWhereUniqueInput | Prisma.QuestionnairePhaseWhereUniqueInput[];
|
|
682
|
+
update?: Prisma.QuestionnairePhaseUpdateWithWhereUniqueWithoutQuestionnairePlanInput | Prisma.QuestionnairePhaseUpdateWithWhereUniqueWithoutQuestionnairePlanInput[];
|
|
683
|
+
updateMany?: Prisma.QuestionnairePhaseUpdateManyWithWhereWithoutQuestionnairePlanInput | Prisma.QuestionnairePhaseUpdateManyWithWhereWithoutQuestionnairePlanInput[];
|
|
684
|
+
deleteMany?: Prisma.QuestionnairePhaseScalarWhereInput | Prisma.QuestionnairePhaseScalarWhereInput[];
|
|
685
|
+
};
|
|
524
686
|
export type QuestionnairePhaseCreateNestedOneWithoutPhaseInput = {
|
|
525
687
|
create?: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutPhaseInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutPhaseInput>;
|
|
526
688
|
connectOrCreate?: Prisma.QuestionnairePhaseCreateOrConnectWithoutPhaseInput;
|
|
@@ -565,6 +727,10 @@ export type QuestionnairePhaseCreateWithoutTenantInput = {
|
|
|
565
727
|
id?: string;
|
|
566
728
|
completedFieldsCount?: number;
|
|
567
729
|
totalFieldsCount?: number;
|
|
730
|
+
totalScore?: number | null;
|
|
731
|
+
passingScore?: number | null;
|
|
732
|
+
passed?: boolean | null;
|
|
733
|
+
scoredAt?: Date | string | null;
|
|
568
734
|
underwritingScore?: number | null;
|
|
569
735
|
debtToIncomeRatio?: number | null;
|
|
570
736
|
underwritingDecision?: string | null;
|
|
@@ -573,13 +739,19 @@ export type QuestionnairePhaseCreateWithoutTenantInput = {
|
|
|
573
739
|
createdAt?: Date | string;
|
|
574
740
|
updatedAt?: Date | string;
|
|
575
741
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
742
|
+
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
576
743
|
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
577
744
|
};
|
|
578
745
|
export type QuestionnairePhaseUncheckedCreateWithoutTenantInput = {
|
|
579
746
|
id?: string;
|
|
580
747
|
phaseId: string;
|
|
748
|
+
questionnairePlanId?: string | null;
|
|
581
749
|
completedFieldsCount?: number;
|
|
582
750
|
totalFieldsCount?: number;
|
|
751
|
+
totalScore?: number | null;
|
|
752
|
+
passingScore?: number | null;
|
|
753
|
+
passed?: boolean | null;
|
|
754
|
+
scoredAt?: Date | string | null;
|
|
583
755
|
underwritingScore?: number | null;
|
|
584
756
|
debtToIncomeRatio?: number | null;
|
|
585
757
|
underwritingDecision?: string | null;
|
|
@@ -617,8 +789,13 @@ export type QuestionnairePhaseScalarWhereInput = {
|
|
|
617
789
|
id?: Prisma.StringFilter<"QuestionnairePhase"> | string;
|
|
618
790
|
tenantId?: Prisma.StringFilter<"QuestionnairePhase"> | string;
|
|
619
791
|
phaseId?: Prisma.StringFilter<"QuestionnairePhase"> | string;
|
|
792
|
+
questionnairePlanId?: Prisma.StringNullableFilter<"QuestionnairePhase"> | string | null;
|
|
620
793
|
completedFieldsCount?: Prisma.IntFilter<"QuestionnairePhase"> | number;
|
|
621
794
|
totalFieldsCount?: Prisma.IntFilter<"QuestionnairePhase"> | number;
|
|
795
|
+
totalScore?: Prisma.IntNullableFilter<"QuestionnairePhase"> | number | null;
|
|
796
|
+
passingScore?: Prisma.IntNullableFilter<"QuestionnairePhase"> | number | null;
|
|
797
|
+
passed?: Prisma.BoolNullableFilter<"QuestionnairePhase"> | boolean | null;
|
|
798
|
+
scoredAt?: Prisma.DateTimeNullableFilter<"QuestionnairePhase"> | Date | string | null;
|
|
622
799
|
underwritingScore?: Prisma.FloatNullableFilter<"QuestionnairePhase"> | number | null;
|
|
623
800
|
debtToIncomeRatio?: Prisma.FloatNullableFilter<"QuestionnairePhase"> | number | null;
|
|
624
801
|
underwritingDecision?: Prisma.StringNullableFilter<"QuestionnairePhase"> | string | null;
|
|
@@ -627,10 +804,73 @@ export type QuestionnairePhaseScalarWhereInput = {
|
|
|
627
804
|
createdAt?: Prisma.DateTimeFilter<"QuestionnairePhase"> | Date | string;
|
|
628
805
|
updatedAt?: Prisma.DateTimeFilter<"QuestionnairePhase"> | Date | string;
|
|
629
806
|
};
|
|
807
|
+
export type QuestionnairePhaseCreateWithoutQuestionnairePlanInput = {
|
|
808
|
+
id?: string;
|
|
809
|
+
completedFieldsCount?: number;
|
|
810
|
+
totalFieldsCount?: number;
|
|
811
|
+
totalScore?: number | null;
|
|
812
|
+
passingScore?: number | null;
|
|
813
|
+
passed?: boolean | null;
|
|
814
|
+
scoredAt?: Date | string | null;
|
|
815
|
+
underwritingScore?: number | null;
|
|
816
|
+
debtToIncomeRatio?: number | null;
|
|
817
|
+
underwritingDecision?: string | null;
|
|
818
|
+
underwritingNotes?: string | null;
|
|
819
|
+
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
820
|
+
createdAt?: Date | string;
|
|
821
|
+
updatedAt?: Date | string;
|
|
822
|
+
tenant: Prisma.TenantCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
823
|
+
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
824
|
+
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
825
|
+
};
|
|
826
|
+
export type QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput = {
|
|
827
|
+
id?: string;
|
|
828
|
+
tenantId: string;
|
|
829
|
+
phaseId: string;
|
|
830
|
+
completedFieldsCount?: number;
|
|
831
|
+
totalFieldsCount?: number;
|
|
832
|
+
totalScore?: number | null;
|
|
833
|
+
passingScore?: number | null;
|
|
834
|
+
passed?: boolean | null;
|
|
835
|
+
scoredAt?: Date | string | null;
|
|
836
|
+
underwritingScore?: number | null;
|
|
837
|
+
debtToIncomeRatio?: number | null;
|
|
838
|
+
underwritingDecision?: string | null;
|
|
839
|
+
underwritingNotes?: string | null;
|
|
840
|
+
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
841
|
+
createdAt?: Date | string;
|
|
842
|
+
updatedAt?: Date | string;
|
|
843
|
+
fields?: Prisma.QuestionnaireFieldUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
844
|
+
};
|
|
845
|
+
export type QuestionnairePhaseCreateOrConnectWithoutQuestionnairePlanInput = {
|
|
846
|
+
where: Prisma.QuestionnairePhaseWhereUniqueInput;
|
|
847
|
+
create: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutQuestionnairePlanInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput>;
|
|
848
|
+
};
|
|
849
|
+
export type QuestionnairePhaseCreateManyQuestionnairePlanInputEnvelope = {
|
|
850
|
+
data: Prisma.QuestionnairePhaseCreateManyQuestionnairePlanInput | Prisma.QuestionnairePhaseCreateManyQuestionnairePlanInput[];
|
|
851
|
+
skipDuplicates?: boolean;
|
|
852
|
+
};
|
|
853
|
+
export type QuestionnairePhaseUpsertWithWhereUniqueWithoutQuestionnairePlanInput = {
|
|
854
|
+
where: Prisma.QuestionnairePhaseWhereUniqueInput;
|
|
855
|
+
update: Prisma.XOR<Prisma.QuestionnairePhaseUpdateWithoutQuestionnairePlanInput, Prisma.QuestionnairePhaseUncheckedUpdateWithoutQuestionnairePlanInput>;
|
|
856
|
+
create: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutQuestionnairePlanInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput>;
|
|
857
|
+
};
|
|
858
|
+
export type QuestionnairePhaseUpdateWithWhereUniqueWithoutQuestionnairePlanInput = {
|
|
859
|
+
where: Prisma.QuestionnairePhaseWhereUniqueInput;
|
|
860
|
+
data: Prisma.XOR<Prisma.QuestionnairePhaseUpdateWithoutQuestionnairePlanInput, Prisma.QuestionnairePhaseUncheckedUpdateWithoutQuestionnairePlanInput>;
|
|
861
|
+
};
|
|
862
|
+
export type QuestionnairePhaseUpdateManyWithWhereWithoutQuestionnairePlanInput = {
|
|
863
|
+
where: Prisma.QuestionnairePhaseScalarWhereInput;
|
|
864
|
+
data: Prisma.XOR<Prisma.QuestionnairePhaseUpdateManyMutationInput, Prisma.QuestionnairePhaseUncheckedUpdateManyWithoutQuestionnairePlanInput>;
|
|
865
|
+
};
|
|
630
866
|
export type QuestionnairePhaseCreateWithoutPhaseInput = {
|
|
631
867
|
id?: string;
|
|
632
868
|
completedFieldsCount?: number;
|
|
633
869
|
totalFieldsCount?: number;
|
|
870
|
+
totalScore?: number | null;
|
|
871
|
+
passingScore?: number | null;
|
|
872
|
+
passed?: boolean | null;
|
|
873
|
+
scoredAt?: Date | string | null;
|
|
634
874
|
underwritingScore?: number | null;
|
|
635
875
|
debtToIncomeRatio?: number | null;
|
|
636
876
|
underwritingDecision?: string | null;
|
|
@@ -639,13 +879,19 @@ export type QuestionnairePhaseCreateWithoutPhaseInput = {
|
|
|
639
879
|
createdAt?: Date | string;
|
|
640
880
|
updatedAt?: Date | string;
|
|
641
881
|
tenant: Prisma.TenantCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
882
|
+
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
642
883
|
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
643
884
|
};
|
|
644
885
|
export type QuestionnairePhaseUncheckedCreateWithoutPhaseInput = {
|
|
645
886
|
id?: string;
|
|
646
887
|
tenantId: string;
|
|
888
|
+
questionnairePlanId?: string | null;
|
|
647
889
|
completedFieldsCount?: number;
|
|
648
890
|
totalFieldsCount?: number;
|
|
891
|
+
totalScore?: number | null;
|
|
892
|
+
passingScore?: number | null;
|
|
893
|
+
passed?: boolean | null;
|
|
894
|
+
scoredAt?: Date | string | null;
|
|
649
895
|
underwritingScore?: number | null;
|
|
650
896
|
debtToIncomeRatio?: number | null;
|
|
651
897
|
underwritingDecision?: string | null;
|
|
@@ -672,6 +918,10 @@ export type QuestionnairePhaseUpdateWithoutPhaseInput = {
|
|
|
672
918
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
673
919
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
674
920
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
921
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
922
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
923
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
924
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
675
925
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
676
926
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
677
927
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -680,13 +930,19 @@ export type QuestionnairePhaseUpdateWithoutPhaseInput = {
|
|
|
680
930
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
681
931
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
682
932
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutQuestionnairePhasesNestedInput;
|
|
933
|
+
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutQuestionnairePhasesNestedInput;
|
|
683
934
|
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
684
935
|
};
|
|
685
936
|
export type QuestionnairePhaseUncheckedUpdateWithoutPhaseInput = {
|
|
686
937
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
687
938
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
939
|
+
questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
688
940
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
689
941
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
942
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
943
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
944
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
945
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
690
946
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
691
947
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
692
948
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -700,6 +956,10 @@ export type QuestionnairePhaseCreateWithoutFieldsInput = {
|
|
|
700
956
|
id?: string;
|
|
701
957
|
completedFieldsCount?: number;
|
|
702
958
|
totalFieldsCount?: number;
|
|
959
|
+
totalScore?: number | null;
|
|
960
|
+
passingScore?: number | null;
|
|
961
|
+
passed?: boolean | null;
|
|
962
|
+
scoredAt?: Date | string | null;
|
|
703
963
|
underwritingScore?: number | null;
|
|
704
964
|
debtToIncomeRatio?: number | null;
|
|
705
965
|
underwritingDecision?: string | null;
|
|
@@ -709,13 +969,19 @@ export type QuestionnairePhaseCreateWithoutFieldsInput = {
|
|
|
709
969
|
updatedAt?: Date | string;
|
|
710
970
|
tenant: Prisma.TenantCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
711
971
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
972
|
+
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
712
973
|
};
|
|
713
974
|
export type QuestionnairePhaseUncheckedCreateWithoutFieldsInput = {
|
|
714
975
|
id?: string;
|
|
715
976
|
tenantId: string;
|
|
716
977
|
phaseId: string;
|
|
978
|
+
questionnairePlanId?: string | null;
|
|
717
979
|
completedFieldsCount?: number;
|
|
718
980
|
totalFieldsCount?: number;
|
|
981
|
+
totalScore?: number | null;
|
|
982
|
+
passingScore?: number | null;
|
|
983
|
+
passed?: boolean | null;
|
|
984
|
+
scoredAt?: Date | string | null;
|
|
719
985
|
underwritingScore?: number | null;
|
|
720
986
|
debtToIncomeRatio?: number | null;
|
|
721
987
|
underwritingDecision?: string | null;
|
|
@@ -741,6 +1007,10 @@ export type QuestionnairePhaseUpdateWithoutFieldsInput = {
|
|
|
741
1007
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
742
1008
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
743
1009
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1010
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1011
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1012
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1013
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
744
1014
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
745
1015
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
746
1016
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -750,13 +1020,19 @@ export type QuestionnairePhaseUpdateWithoutFieldsInput = {
|
|
|
750
1020
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
751
1021
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutQuestionnairePhasesNestedInput;
|
|
752
1022
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
1023
|
+
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutQuestionnairePhasesNestedInput;
|
|
753
1024
|
};
|
|
754
1025
|
export type QuestionnairePhaseUncheckedUpdateWithoutFieldsInput = {
|
|
755
1026
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
756
1027
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
757
1028
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1029
|
+
questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
758
1030
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
759
1031
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1032
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1033
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1034
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1035
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
760
1036
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
761
1037
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
762
1038
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -768,8 +1044,13 @@ export type QuestionnairePhaseUncheckedUpdateWithoutFieldsInput = {
|
|
|
768
1044
|
export type QuestionnairePhaseCreateManyTenantInput = {
|
|
769
1045
|
id?: string;
|
|
770
1046
|
phaseId: string;
|
|
1047
|
+
questionnairePlanId?: string | null;
|
|
771
1048
|
completedFieldsCount?: number;
|
|
772
1049
|
totalFieldsCount?: number;
|
|
1050
|
+
totalScore?: number | null;
|
|
1051
|
+
passingScore?: number | null;
|
|
1052
|
+
passed?: boolean | null;
|
|
1053
|
+
scoredAt?: Date | string | null;
|
|
773
1054
|
underwritingScore?: number | null;
|
|
774
1055
|
debtToIncomeRatio?: number | null;
|
|
775
1056
|
underwritingDecision?: string | null;
|
|
@@ -782,6 +1063,10 @@ export type QuestionnairePhaseUpdateWithoutTenantInput = {
|
|
|
782
1063
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
783
1064
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
784
1065
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1066
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1067
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1068
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1069
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
785
1070
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
786
1071
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
787
1072
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -790,13 +1075,19 @@ export type QuestionnairePhaseUpdateWithoutTenantInput = {
|
|
|
790
1075
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
791
1076
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
792
1077
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
1078
|
+
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutQuestionnairePhasesNestedInput;
|
|
793
1079
|
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
794
1080
|
};
|
|
795
1081
|
export type QuestionnairePhaseUncheckedUpdateWithoutTenantInput = {
|
|
796
1082
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
797
1083
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1084
|
+
questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
798
1085
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
799
1086
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1087
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1088
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1089
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1090
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
800
1091
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
801
1092
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
802
1093
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -809,8 +1100,87 @@ export type QuestionnairePhaseUncheckedUpdateWithoutTenantInput = {
|
|
|
809
1100
|
export type QuestionnairePhaseUncheckedUpdateManyWithoutTenantInput = {
|
|
810
1101
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
811
1102
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1103
|
+
questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1104
|
+
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1105
|
+
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1106
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1107
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1108
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1109
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1110
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1111
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1112
|
+
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1113
|
+
underwritingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1114
|
+
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1115
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1116
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1117
|
+
};
|
|
1118
|
+
export type QuestionnairePhaseCreateManyQuestionnairePlanInput = {
|
|
1119
|
+
id?: string;
|
|
1120
|
+
tenantId: string;
|
|
1121
|
+
phaseId: string;
|
|
1122
|
+
completedFieldsCount?: number;
|
|
1123
|
+
totalFieldsCount?: number;
|
|
1124
|
+
totalScore?: number | null;
|
|
1125
|
+
passingScore?: number | null;
|
|
1126
|
+
passed?: boolean | null;
|
|
1127
|
+
scoredAt?: Date | string | null;
|
|
1128
|
+
underwritingScore?: number | null;
|
|
1129
|
+
debtToIncomeRatio?: number | null;
|
|
1130
|
+
underwritingDecision?: string | null;
|
|
1131
|
+
underwritingNotes?: string | null;
|
|
1132
|
+
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1133
|
+
createdAt?: Date | string;
|
|
1134
|
+
updatedAt?: Date | string;
|
|
1135
|
+
};
|
|
1136
|
+
export type QuestionnairePhaseUpdateWithoutQuestionnairePlanInput = {
|
|
1137
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1138
|
+
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1139
|
+
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1140
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1141
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1142
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1143
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1144
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1145
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1146
|
+
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1147
|
+
underwritingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1148
|
+
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1149
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1150
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1151
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutQuestionnairePhasesNestedInput;
|
|
1152
|
+
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
1153
|
+
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1154
|
+
};
|
|
1155
|
+
export type QuestionnairePhaseUncheckedUpdateWithoutQuestionnairePlanInput = {
|
|
1156
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1157
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1158
|
+
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
812
1159
|
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
813
1160
|
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1161
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1162
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1163
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1164
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1165
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1166
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1167
|
+
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1168
|
+
underwritingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1169
|
+
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1170
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1171
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1172
|
+
fields?: Prisma.QuestionnaireFieldUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1173
|
+
};
|
|
1174
|
+
export type QuestionnairePhaseUncheckedUpdateManyWithoutQuestionnairePlanInput = {
|
|
1175
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1176
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1177
|
+
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1178
|
+
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1179
|
+
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1180
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1181
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1182
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1183
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
814
1184
|
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
815
1185
|
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
816
1186
|
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -847,8 +1217,13 @@ export type QuestionnairePhaseSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
847
1217
|
id?: boolean;
|
|
848
1218
|
tenantId?: boolean;
|
|
849
1219
|
phaseId?: boolean;
|
|
1220
|
+
questionnairePlanId?: boolean;
|
|
850
1221
|
completedFieldsCount?: boolean;
|
|
851
1222
|
totalFieldsCount?: boolean;
|
|
1223
|
+
totalScore?: boolean;
|
|
1224
|
+
passingScore?: boolean;
|
|
1225
|
+
passed?: boolean;
|
|
1226
|
+
scoredAt?: boolean;
|
|
852
1227
|
underwritingScore?: boolean;
|
|
853
1228
|
debtToIncomeRatio?: boolean;
|
|
854
1229
|
underwritingDecision?: boolean;
|
|
@@ -858,6 +1233,7 @@ export type QuestionnairePhaseSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
858
1233
|
updatedAt?: boolean;
|
|
859
1234
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
860
1235
|
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
1236
|
+
questionnairePlan?: boolean | Prisma.QuestionnairePhase$questionnairePlanArgs<ExtArgs>;
|
|
861
1237
|
fields?: boolean | Prisma.QuestionnairePhase$fieldsArgs<ExtArgs>;
|
|
862
1238
|
_count?: boolean | Prisma.QuestionnairePhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
863
1239
|
}, ExtArgs["result"]["questionnairePhase"]>;
|
|
@@ -865,8 +1241,13 @@ export type QuestionnairePhaseSelectScalar = {
|
|
|
865
1241
|
id?: boolean;
|
|
866
1242
|
tenantId?: boolean;
|
|
867
1243
|
phaseId?: boolean;
|
|
1244
|
+
questionnairePlanId?: boolean;
|
|
868
1245
|
completedFieldsCount?: boolean;
|
|
869
1246
|
totalFieldsCount?: boolean;
|
|
1247
|
+
totalScore?: boolean;
|
|
1248
|
+
passingScore?: boolean;
|
|
1249
|
+
passed?: boolean;
|
|
1250
|
+
scoredAt?: boolean;
|
|
870
1251
|
underwritingScore?: boolean;
|
|
871
1252
|
debtToIncomeRatio?: boolean;
|
|
872
1253
|
underwritingDecision?: boolean;
|
|
@@ -875,10 +1256,11 @@ export type QuestionnairePhaseSelectScalar = {
|
|
|
875
1256
|
createdAt?: boolean;
|
|
876
1257
|
updatedAt?: boolean;
|
|
877
1258
|
};
|
|
878
|
-
export type QuestionnairePhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "phaseId" | "completedFieldsCount" | "totalFieldsCount" | "underwritingScore" | "debtToIncomeRatio" | "underwritingDecision" | "underwritingNotes" | "fieldsSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["questionnairePhase"]>;
|
|
1259
|
+
export type QuestionnairePhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "phaseId" | "questionnairePlanId" | "completedFieldsCount" | "totalFieldsCount" | "totalScore" | "passingScore" | "passed" | "scoredAt" | "underwritingScore" | "debtToIncomeRatio" | "underwritingDecision" | "underwritingNotes" | "fieldsSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["questionnairePhase"]>;
|
|
879
1260
|
export type QuestionnairePhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
880
1261
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
881
1262
|
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
1263
|
+
questionnairePlan?: boolean | Prisma.QuestionnairePhase$questionnairePlanArgs<ExtArgs>;
|
|
882
1264
|
fields?: boolean | Prisma.QuestionnairePhase$fieldsArgs<ExtArgs>;
|
|
883
1265
|
_count?: boolean | Prisma.QuestionnairePhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
884
1266
|
};
|
|
@@ -887,14 +1269,20 @@ export type $QuestionnairePhasePayload<ExtArgs extends runtime.Types.Extensions.
|
|
|
887
1269
|
objects: {
|
|
888
1270
|
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
889
1271
|
phase: Prisma.$ApplicationPhasePayload<ExtArgs>;
|
|
1272
|
+
questionnairePlan: Prisma.$QuestionnairePlanPayload<ExtArgs> | null;
|
|
890
1273
|
fields: Prisma.$QuestionnaireFieldPayload<ExtArgs>[];
|
|
891
1274
|
};
|
|
892
1275
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
893
1276
|
id: string;
|
|
894
1277
|
tenantId: string;
|
|
895
1278
|
phaseId: string;
|
|
1279
|
+
questionnairePlanId: string | null;
|
|
896
1280
|
completedFieldsCount: number;
|
|
897
1281
|
totalFieldsCount: number;
|
|
1282
|
+
totalScore: number | null;
|
|
1283
|
+
passingScore: number | null;
|
|
1284
|
+
passed: boolean | null;
|
|
1285
|
+
scoredAt: Date | null;
|
|
898
1286
|
underwritingScore: number | null;
|
|
899
1287
|
debtToIncomeRatio: number | null;
|
|
900
1288
|
underwritingDecision: string | null;
|
|
@@ -1181,6 +1569,7 @@ export interface Prisma__QuestionnairePhaseClient<T, Null = never, ExtArgs exten
|
|
|
1181
1569
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1182
1570
|
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1183
1571
|
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>;
|
|
1572
|
+
questionnairePlan<T extends Prisma.QuestionnairePhase$questionnairePlanArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.QuestionnairePhase$questionnairePlanArgs<ExtArgs>>): Prisma.Prisma__QuestionnairePlanClient<runtime.Types.Result.GetResult<Prisma.$QuestionnairePlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1184
1573
|
fields<T extends Prisma.QuestionnairePhase$fieldsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.QuestionnairePhase$fieldsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuestionnaireFieldPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1185
1574
|
/**
|
|
1186
1575
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -1210,8 +1599,13 @@ export interface QuestionnairePhaseFieldRefs {
|
|
|
1210
1599
|
readonly id: Prisma.FieldRef<"QuestionnairePhase", 'String'>;
|
|
1211
1600
|
readonly tenantId: Prisma.FieldRef<"QuestionnairePhase", 'String'>;
|
|
1212
1601
|
readonly phaseId: Prisma.FieldRef<"QuestionnairePhase", 'String'>;
|
|
1602
|
+
readonly questionnairePlanId: Prisma.FieldRef<"QuestionnairePhase", 'String'>;
|
|
1213
1603
|
readonly completedFieldsCount: Prisma.FieldRef<"QuestionnairePhase", 'Int'>;
|
|
1214
1604
|
readonly totalFieldsCount: Prisma.FieldRef<"QuestionnairePhase", 'Int'>;
|
|
1605
|
+
readonly totalScore: Prisma.FieldRef<"QuestionnairePhase", 'Int'>;
|
|
1606
|
+
readonly passingScore: Prisma.FieldRef<"QuestionnairePhase", 'Int'>;
|
|
1607
|
+
readonly passed: Prisma.FieldRef<"QuestionnairePhase", 'Boolean'>;
|
|
1608
|
+
readonly scoredAt: Prisma.FieldRef<"QuestionnairePhase", 'DateTime'>;
|
|
1215
1609
|
readonly underwritingScore: Prisma.FieldRef<"QuestionnairePhase", 'Float'>;
|
|
1216
1610
|
readonly debtToIncomeRatio: Prisma.FieldRef<"QuestionnairePhase", 'Float'>;
|
|
1217
1611
|
readonly underwritingDecision: Prisma.FieldRef<"QuestionnairePhase", 'String'>;
|
|
@@ -1546,6 +1940,24 @@ export type QuestionnairePhaseDeleteManyArgs<ExtArgs extends runtime.Types.Exten
|
|
|
1546
1940
|
*/
|
|
1547
1941
|
limit?: number;
|
|
1548
1942
|
};
|
|
1943
|
+
/**
|
|
1944
|
+
* QuestionnairePhase.questionnairePlan
|
|
1945
|
+
*/
|
|
1946
|
+
export type QuestionnairePhase$questionnairePlanArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1947
|
+
/**
|
|
1948
|
+
* Select specific fields to fetch from the QuestionnairePlan
|
|
1949
|
+
*/
|
|
1950
|
+
select?: Prisma.QuestionnairePlanSelect<ExtArgs> | null;
|
|
1951
|
+
/**
|
|
1952
|
+
* Omit specific fields from the QuestionnairePlan
|
|
1953
|
+
*/
|
|
1954
|
+
omit?: Prisma.QuestionnairePlanOmit<ExtArgs> | null;
|
|
1955
|
+
/**
|
|
1956
|
+
* Choose, which related nodes to fetch as well
|
|
1957
|
+
*/
|
|
1958
|
+
include?: Prisma.QuestionnairePlanInclude<ExtArgs> | null;
|
|
1959
|
+
where?: Prisma.QuestionnairePlanWhereInput;
|
|
1960
|
+
};
|
|
1549
1961
|
/**
|
|
1550
1962
|
* QuestionnairePhase.fields
|
|
1551
1963
|
*/
|