@valentine-efagene/qshelter-common 2.0.141 → 2.0.142
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 +5 -0
- package/dist/generated/client/client.d.ts +5 -0
- package/dist/generated/client/commonInputTypes.d.ts +30 -30
- package/dist/generated/client/internal/class.d.ts +11 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +93 -5
- package/dist/generated/client/internal/prismaNamespace.js +19 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +21 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +19 -0
- package/dist/generated/client/models/DocumentReview.d.ts +0 -3
- package/dist/generated/client/models/QuestionnairePhase.d.ts +171 -0
- package/dist/generated/client/models/QuestionnairePhaseReview.d.ts +1476 -0
- package/dist/generated/client/models/QuestionnairePhaseReview.js +1 -0
- package/dist/generated/client/models/Tenant.d.ts +563 -0
- package/dist/generated/client/models/User.d.ts +399 -0
- package/dist/generated/client/models/index.d.ts +1 -0
- package/dist/generated/client/models/index.js +1 -0
- package/dist/generated/client/models.d.ts +1 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +46 -6
|
@@ -284,6 +284,7 @@ export type QuestionnairePhaseWhereInput = {
|
|
|
284
284
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
285
285
|
questionnairePlan?: Prisma.XOR<Prisma.QuestionnairePlanNullableScalarRelationFilter, Prisma.QuestionnairePlanWhereInput> | null;
|
|
286
286
|
fields?: Prisma.QuestionnaireFieldListRelationFilter;
|
|
287
|
+
reviews?: Prisma.QuestionnairePhaseReviewListRelationFilter;
|
|
287
288
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseListRelationFilter;
|
|
288
289
|
};
|
|
289
290
|
export type QuestionnairePhaseOrderByWithRelationInput = {
|
|
@@ -308,6 +309,7 @@ export type QuestionnairePhaseOrderByWithRelationInput = {
|
|
|
308
309
|
phase?: Prisma.ApplicationPhaseOrderByWithRelationInput;
|
|
309
310
|
questionnairePlan?: Prisma.QuestionnairePlanOrderByWithRelationInput;
|
|
310
311
|
fields?: Prisma.QuestionnaireFieldOrderByRelationAggregateInput;
|
|
312
|
+
reviews?: Prisma.QuestionnairePhaseReviewOrderByRelationAggregateInput;
|
|
311
313
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseOrderByRelationAggregateInput;
|
|
312
314
|
_relevance?: Prisma.QuestionnairePhaseOrderByRelevanceInput;
|
|
313
315
|
};
|
|
@@ -336,6 +338,7 @@ export type QuestionnairePhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
336
338
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
337
339
|
questionnairePlan?: Prisma.XOR<Prisma.QuestionnairePlanNullableScalarRelationFilter, Prisma.QuestionnairePlanWhereInput> | null;
|
|
338
340
|
fields?: Prisma.QuestionnaireFieldListRelationFilter;
|
|
341
|
+
reviews?: Prisma.QuestionnairePhaseReviewListRelationFilter;
|
|
339
342
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseListRelationFilter;
|
|
340
343
|
}, "id" | "phaseId">;
|
|
341
344
|
export type QuestionnairePhaseOrderByWithAggregationInput = {
|
|
@@ -403,6 +406,7 @@ export type QuestionnairePhaseCreateInput = {
|
|
|
403
406
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
404
407
|
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
405
408
|
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
409
|
+
reviews?: Prisma.QuestionnairePhaseReviewCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
406
410
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
407
411
|
};
|
|
408
412
|
export type QuestionnairePhaseUncheckedCreateInput = {
|
|
@@ -424,6 +428,7 @@ export type QuestionnairePhaseUncheckedCreateInput = {
|
|
|
424
428
|
createdAt?: Date | string;
|
|
425
429
|
updatedAt?: Date | string;
|
|
426
430
|
fields?: Prisma.QuestionnaireFieldUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
431
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
427
432
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
428
433
|
};
|
|
429
434
|
export type QuestionnairePhaseUpdateInput = {
|
|
@@ -445,6 +450,7 @@ export type QuestionnairePhaseUpdateInput = {
|
|
|
445
450
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
446
451
|
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutQuestionnairePhasesNestedInput;
|
|
447
452
|
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
453
|
+
reviews?: Prisma.QuestionnairePhaseReviewUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
448
454
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
449
455
|
};
|
|
450
456
|
export type QuestionnairePhaseUncheckedUpdateInput = {
|
|
@@ -466,6 +472,7 @@ export type QuestionnairePhaseUncheckedUpdateInput = {
|
|
|
466
472
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
467
473
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
468
474
|
fields?: Prisma.QuestionnaireFieldUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
475
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
469
476
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
470
477
|
};
|
|
471
478
|
export type QuestionnairePhaseCreateManyInput = {
|
|
@@ -718,6 +725,18 @@ export type QuestionnairePhaseUncheckedUpdateOneWithoutPhaseNestedInput = {
|
|
|
718
725
|
connect?: Prisma.QuestionnairePhaseWhereUniqueInput;
|
|
719
726
|
update?: Prisma.XOR<Prisma.XOR<Prisma.QuestionnairePhaseUpdateToOneWithWhereWithoutPhaseInput, Prisma.QuestionnairePhaseUpdateWithoutPhaseInput>, Prisma.QuestionnairePhaseUncheckedUpdateWithoutPhaseInput>;
|
|
720
727
|
};
|
|
728
|
+
export type QuestionnairePhaseCreateNestedOneWithoutReviewsInput = {
|
|
729
|
+
create?: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutReviewsInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutReviewsInput>;
|
|
730
|
+
connectOrCreate?: Prisma.QuestionnairePhaseCreateOrConnectWithoutReviewsInput;
|
|
731
|
+
connect?: Prisma.QuestionnairePhaseWhereUniqueInput;
|
|
732
|
+
};
|
|
733
|
+
export type QuestionnairePhaseUpdateOneRequiredWithoutReviewsNestedInput = {
|
|
734
|
+
create?: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutReviewsInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutReviewsInput>;
|
|
735
|
+
connectOrCreate?: Prisma.QuestionnairePhaseCreateOrConnectWithoutReviewsInput;
|
|
736
|
+
upsert?: Prisma.QuestionnairePhaseUpsertWithoutReviewsInput;
|
|
737
|
+
connect?: Prisma.QuestionnairePhaseWhereUniqueInput;
|
|
738
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.QuestionnairePhaseUpdateToOneWithWhereWithoutReviewsInput, Prisma.QuestionnairePhaseUpdateWithoutReviewsInput>, Prisma.QuestionnairePhaseUncheckedUpdateWithoutReviewsInput>;
|
|
739
|
+
};
|
|
721
740
|
export type QuestionnairePhaseCreateNestedOneWithoutDependentDocumentationPhasesInput = {
|
|
722
741
|
create?: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutDependentDocumentationPhasesInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutDependentDocumentationPhasesInput>;
|
|
723
742
|
connectOrCreate?: Prisma.QuestionnairePhaseCreateOrConnectWithoutDependentDocumentationPhasesInput;
|
|
@@ -762,6 +781,7 @@ export type QuestionnairePhaseCreateWithoutTenantInput = {
|
|
|
762
781
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
763
782
|
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
764
783
|
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
784
|
+
reviews?: Prisma.QuestionnairePhaseReviewCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
765
785
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
766
786
|
};
|
|
767
787
|
export type QuestionnairePhaseUncheckedCreateWithoutTenantInput = {
|
|
@@ -782,6 +802,7 @@ export type QuestionnairePhaseUncheckedCreateWithoutTenantInput = {
|
|
|
782
802
|
createdAt?: Date | string;
|
|
783
803
|
updatedAt?: Date | string;
|
|
784
804
|
fields?: Prisma.QuestionnaireFieldUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
805
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
785
806
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
786
807
|
};
|
|
787
808
|
export type QuestionnairePhaseCreateOrConnectWithoutTenantInput = {
|
|
@@ -845,6 +866,7 @@ export type QuestionnairePhaseCreateWithoutQuestionnairePlanInput = {
|
|
|
845
866
|
tenant: Prisma.TenantCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
846
867
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
847
868
|
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
869
|
+
reviews?: Prisma.QuestionnairePhaseReviewCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
848
870
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
849
871
|
};
|
|
850
872
|
export type QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput = {
|
|
@@ -865,6 +887,7 @@ export type QuestionnairePhaseUncheckedCreateWithoutQuestionnairePlanInput = {
|
|
|
865
887
|
createdAt?: Date | string;
|
|
866
888
|
updatedAt?: Date | string;
|
|
867
889
|
fields?: Prisma.QuestionnaireFieldUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
890
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
868
891
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
869
892
|
};
|
|
870
893
|
export type QuestionnairePhaseCreateOrConnectWithoutQuestionnairePlanInput = {
|
|
@@ -906,6 +929,7 @@ export type QuestionnairePhaseCreateWithoutPhaseInput = {
|
|
|
906
929
|
tenant: Prisma.TenantCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
907
930
|
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
908
931
|
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
932
|
+
reviews?: Prisma.QuestionnairePhaseReviewCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
909
933
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
910
934
|
};
|
|
911
935
|
export type QuestionnairePhaseUncheckedCreateWithoutPhaseInput = {
|
|
@@ -926,6 +950,7 @@ export type QuestionnairePhaseUncheckedCreateWithoutPhaseInput = {
|
|
|
926
950
|
createdAt?: Date | string;
|
|
927
951
|
updatedAt?: Date | string;
|
|
928
952
|
fields?: Prisma.QuestionnaireFieldUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
953
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
929
954
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
930
955
|
};
|
|
931
956
|
export type QuestionnairePhaseCreateOrConnectWithoutPhaseInput = {
|
|
@@ -959,6 +984,7 @@ export type QuestionnairePhaseUpdateWithoutPhaseInput = {
|
|
|
959
984
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutQuestionnairePhasesNestedInput;
|
|
960
985
|
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutQuestionnairePhasesNestedInput;
|
|
961
986
|
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
987
|
+
reviews?: Prisma.QuestionnairePhaseReviewUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
962
988
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
963
989
|
};
|
|
964
990
|
export type QuestionnairePhaseUncheckedUpdateWithoutPhaseInput = {
|
|
@@ -979,6 +1005,104 @@ export type QuestionnairePhaseUncheckedUpdateWithoutPhaseInput = {
|
|
|
979
1005
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
980
1006
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
981
1007
|
fields?: Prisma.QuestionnaireFieldUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1008
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1009
|
+
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
1010
|
+
};
|
|
1011
|
+
export type QuestionnairePhaseCreateWithoutReviewsInput = {
|
|
1012
|
+
id?: string;
|
|
1013
|
+
completedFieldsCount?: number;
|
|
1014
|
+
totalFieldsCount?: number;
|
|
1015
|
+
totalScore?: number | null;
|
|
1016
|
+
passingScore?: number | null;
|
|
1017
|
+
passed?: boolean | null;
|
|
1018
|
+
scoredAt?: Date | string | null;
|
|
1019
|
+
underwritingScore?: number | null;
|
|
1020
|
+
debtToIncomeRatio?: number | null;
|
|
1021
|
+
underwritingDecision?: string | null;
|
|
1022
|
+
underwritingNotes?: string | null;
|
|
1023
|
+
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1024
|
+
createdAt?: Date | string;
|
|
1025
|
+
updatedAt?: Date | string;
|
|
1026
|
+
tenant: Prisma.TenantCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
1027
|
+
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
1028
|
+
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
1029
|
+
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
1030
|
+
dependentDocumentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
1031
|
+
};
|
|
1032
|
+
export type QuestionnairePhaseUncheckedCreateWithoutReviewsInput = {
|
|
1033
|
+
id?: string;
|
|
1034
|
+
tenantId: string;
|
|
1035
|
+
phaseId: string;
|
|
1036
|
+
questionnairePlanId?: string | null;
|
|
1037
|
+
completedFieldsCount?: number;
|
|
1038
|
+
totalFieldsCount?: number;
|
|
1039
|
+
totalScore?: number | null;
|
|
1040
|
+
passingScore?: number | null;
|
|
1041
|
+
passed?: boolean | null;
|
|
1042
|
+
scoredAt?: Date | string | null;
|
|
1043
|
+
underwritingScore?: number | null;
|
|
1044
|
+
debtToIncomeRatio?: number | null;
|
|
1045
|
+
underwritingDecision?: string | null;
|
|
1046
|
+
underwritingNotes?: string | null;
|
|
1047
|
+
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1048
|
+
createdAt?: Date | string;
|
|
1049
|
+
updatedAt?: Date | string;
|
|
1050
|
+
fields?: Prisma.QuestionnaireFieldUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
1051
|
+
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
1052
|
+
};
|
|
1053
|
+
export type QuestionnairePhaseCreateOrConnectWithoutReviewsInput = {
|
|
1054
|
+
where: Prisma.QuestionnairePhaseWhereUniqueInput;
|
|
1055
|
+
create: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutReviewsInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutReviewsInput>;
|
|
1056
|
+
};
|
|
1057
|
+
export type QuestionnairePhaseUpsertWithoutReviewsInput = {
|
|
1058
|
+
update: Prisma.XOR<Prisma.QuestionnairePhaseUpdateWithoutReviewsInput, Prisma.QuestionnairePhaseUncheckedUpdateWithoutReviewsInput>;
|
|
1059
|
+
create: Prisma.XOR<Prisma.QuestionnairePhaseCreateWithoutReviewsInput, Prisma.QuestionnairePhaseUncheckedCreateWithoutReviewsInput>;
|
|
1060
|
+
where?: Prisma.QuestionnairePhaseWhereInput;
|
|
1061
|
+
};
|
|
1062
|
+
export type QuestionnairePhaseUpdateToOneWithWhereWithoutReviewsInput = {
|
|
1063
|
+
where?: Prisma.QuestionnairePhaseWhereInput;
|
|
1064
|
+
data: Prisma.XOR<Prisma.QuestionnairePhaseUpdateWithoutReviewsInput, Prisma.QuestionnairePhaseUncheckedUpdateWithoutReviewsInput>;
|
|
1065
|
+
};
|
|
1066
|
+
export type QuestionnairePhaseUpdateWithoutReviewsInput = {
|
|
1067
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1068
|
+
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1069
|
+
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1070
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1071
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1072
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1073
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1074
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1075
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1076
|
+
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1077
|
+
underwritingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1078
|
+
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1079
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1080
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1081
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutQuestionnairePhasesNestedInput;
|
|
1082
|
+
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
1083
|
+
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutQuestionnairePhasesNestedInput;
|
|
1084
|
+
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1085
|
+
dependentDocumentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
1086
|
+
};
|
|
1087
|
+
export type QuestionnairePhaseUncheckedUpdateWithoutReviewsInput = {
|
|
1088
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1089
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1090
|
+
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1091
|
+
questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1092
|
+
completedFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1093
|
+
totalFieldsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1094
|
+
totalScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1095
|
+
passingScore?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1096
|
+
passed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1097
|
+
scoredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1098
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1099
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1100
|
+
underwritingDecision?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1101
|
+
underwritingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1102
|
+
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1103
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1104
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1105
|
+
fields?: Prisma.QuestionnaireFieldUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
982
1106
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
983
1107
|
};
|
|
984
1108
|
export type QuestionnairePhaseCreateWithoutDependentDocumentationPhasesInput = {
|
|
@@ -1000,6 +1124,7 @@ export type QuestionnairePhaseCreateWithoutDependentDocumentationPhasesInput = {
|
|
|
1000
1124
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
1001
1125
|
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
1002
1126
|
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
1127
|
+
reviews?: Prisma.QuestionnairePhaseReviewCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
1003
1128
|
};
|
|
1004
1129
|
export type QuestionnairePhaseUncheckedCreateWithoutDependentDocumentationPhasesInput = {
|
|
1005
1130
|
id?: string;
|
|
@@ -1020,6 +1145,7 @@ export type QuestionnairePhaseUncheckedCreateWithoutDependentDocumentationPhases
|
|
|
1020
1145
|
createdAt?: Date | string;
|
|
1021
1146
|
updatedAt?: Date | string;
|
|
1022
1147
|
fields?: Prisma.QuestionnaireFieldUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
1148
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
1023
1149
|
};
|
|
1024
1150
|
export type QuestionnairePhaseCreateOrConnectWithoutDependentDocumentationPhasesInput = {
|
|
1025
1151
|
where: Prisma.QuestionnairePhaseWhereUniqueInput;
|
|
@@ -1053,6 +1179,7 @@ export type QuestionnairePhaseUpdateWithoutDependentDocumentationPhasesInput = {
|
|
|
1053
1179
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
1054
1180
|
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutQuestionnairePhasesNestedInput;
|
|
1055
1181
|
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1182
|
+
reviews?: Prisma.QuestionnairePhaseReviewUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1056
1183
|
};
|
|
1057
1184
|
export type QuestionnairePhaseUncheckedUpdateWithoutDependentDocumentationPhasesInput = {
|
|
1058
1185
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1073,6 +1200,7 @@ export type QuestionnairePhaseUncheckedUpdateWithoutDependentDocumentationPhases
|
|
|
1073
1200
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1074
1201
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1075
1202
|
fields?: Prisma.QuestionnaireFieldUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1203
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1076
1204
|
};
|
|
1077
1205
|
export type QuestionnairePhaseCreateWithoutFieldsInput = {
|
|
1078
1206
|
id?: string;
|
|
@@ -1092,6 +1220,7 @@ export type QuestionnairePhaseCreateWithoutFieldsInput = {
|
|
|
1092
1220
|
tenant: Prisma.TenantCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
1093
1221
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
1094
1222
|
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutQuestionnairePhasesInput;
|
|
1223
|
+
reviews?: Prisma.QuestionnairePhaseReviewCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
1095
1224
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
1096
1225
|
};
|
|
1097
1226
|
export type QuestionnairePhaseUncheckedCreateWithoutFieldsInput = {
|
|
@@ -1112,6 +1241,7 @@ export type QuestionnairePhaseUncheckedCreateWithoutFieldsInput = {
|
|
|
1112
1241
|
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1113
1242
|
createdAt?: Date | string;
|
|
1114
1243
|
updatedAt?: Date | string;
|
|
1244
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
1115
1245
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutSourceQuestionnairePhaseInput;
|
|
1116
1246
|
};
|
|
1117
1247
|
export type QuestionnairePhaseCreateOrConnectWithoutFieldsInput = {
|
|
@@ -1145,6 +1275,7 @@ export type QuestionnairePhaseUpdateWithoutFieldsInput = {
|
|
|
1145
1275
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutQuestionnairePhasesNestedInput;
|
|
1146
1276
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
1147
1277
|
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutQuestionnairePhasesNestedInput;
|
|
1278
|
+
reviews?: Prisma.QuestionnairePhaseReviewUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1148
1279
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
1149
1280
|
};
|
|
1150
1281
|
export type QuestionnairePhaseUncheckedUpdateWithoutFieldsInput = {
|
|
@@ -1165,6 +1296,7 @@ export type QuestionnairePhaseUncheckedUpdateWithoutFieldsInput = {
|
|
|
1165
1296
|
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1166
1297
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1167
1298
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1299
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1168
1300
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
1169
1301
|
};
|
|
1170
1302
|
export type QuestionnairePhaseCreateManyTenantInput = {
|
|
@@ -1203,6 +1335,7 @@ export type QuestionnairePhaseUpdateWithoutTenantInput = {
|
|
|
1203
1335
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
1204
1336
|
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutQuestionnairePhasesNestedInput;
|
|
1205
1337
|
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1338
|
+
reviews?: Prisma.QuestionnairePhaseReviewUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1206
1339
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
1207
1340
|
};
|
|
1208
1341
|
export type QuestionnairePhaseUncheckedUpdateWithoutTenantInput = {
|
|
@@ -1223,6 +1356,7 @@ export type QuestionnairePhaseUncheckedUpdateWithoutTenantInput = {
|
|
|
1223
1356
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1224
1357
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1225
1358
|
fields?: Prisma.QuestionnaireFieldUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1359
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1226
1360
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
1227
1361
|
};
|
|
1228
1362
|
export type QuestionnairePhaseUncheckedUpdateManyWithoutTenantInput = {
|
|
@@ -1279,6 +1413,7 @@ export type QuestionnairePhaseUpdateWithoutQuestionnairePlanInput = {
|
|
|
1279
1413
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutQuestionnairePhasesNestedInput;
|
|
1280
1414
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
1281
1415
|
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1416
|
+
reviews?: Prisma.QuestionnairePhaseReviewUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1282
1417
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
1283
1418
|
};
|
|
1284
1419
|
export type QuestionnairePhaseUncheckedUpdateWithoutQuestionnairePlanInput = {
|
|
@@ -1299,6 +1434,7 @@ export type QuestionnairePhaseUncheckedUpdateWithoutQuestionnairePlanInput = {
|
|
|
1299
1434
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1300
1435
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1301
1436
|
fields?: Prisma.QuestionnaireFieldUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1437
|
+
reviews?: Prisma.QuestionnairePhaseReviewUncheckedUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
1302
1438
|
dependentDocumentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutSourceQuestionnairePhaseNestedInput;
|
|
1303
1439
|
};
|
|
1304
1440
|
export type QuestionnairePhaseUncheckedUpdateManyWithoutQuestionnairePlanInput = {
|
|
@@ -1324,10 +1460,12 @@ export type QuestionnairePhaseUncheckedUpdateManyWithoutQuestionnairePlanInput =
|
|
|
1324
1460
|
*/
|
|
1325
1461
|
export type QuestionnairePhaseCountOutputType = {
|
|
1326
1462
|
fields: number;
|
|
1463
|
+
reviews: number;
|
|
1327
1464
|
dependentDocumentationPhases: number;
|
|
1328
1465
|
};
|
|
1329
1466
|
export type QuestionnairePhaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1330
1467
|
fields?: boolean | QuestionnairePhaseCountOutputTypeCountFieldsArgs;
|
|
1468
|
+
reviews?: boolean | QuestionnairePhaseCountOutputTypeCountReviewsArgs;
|
|
1331
1469
|
dependentDocumentationPhases?: boolean | QuestionnairePhaseCountOutputTypeCountDependentDocumentationPhasesArgs;
|
|
1332
1470
|
};
|
|
1333
1471
|
/**
|
|
@@ -1345,6 +1483,12 @@ export type QuestionnairePhaseCountOutputTypeDefaultArgs<ExtArgs extends runtime
|
|
|
1345
1483
|
export type QuestionnairePhaseCountOutputTypeCountFieldsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1346
1484
|
where?: Prisma.QuestionnaireFieldWhereInput;
|
|
1347
1485
|
};
|
|
1486
|
+
/**
|
|
1487
|
+
* QuestionnairePhaseCountOutputType without action
|
|
1488
|
+
*/
|
|
1489
|
+
export type QuestionnairePhaseCountOutputTypeCountReviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1490
|
+
where?: Prisma.QuestionnairePhaseReviewWhereInput;
|
|
1491
|
+
};
|
|
1348
1492
|
/**
|
|
1349
1493
|
* QuestionnairePhaseCountOutputType without action
|
|
1350
1494
|
*/
|
|
@@ -1373,6 +1517,7 @@ export type QuestionnairePhaseSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1373
1517
|
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
1374
1518
|
questionnairePlan?: boolean | Prisma.QuestionnairePhase$questionnairePlanArgs<ExtArgs>;
|
|
1375
1519
|
fields?: boolean | Prisma.QuestionnairePhase$fieldsArgs<ExtArgs>;
|
|
1520
|
+
reviews?: boolean | Prisma.QuestionnairePhase$reviewsArgs<ExtArgs>;
|
|
1376
1521
|
dependentDocumentationPhases?: boolean | Prisma.QuestionnairePhase$dependentDocumentationPhasesArgs<ExtArgs>;
|
|
1377
1522
|
_count?: boolean | Prisma.QuestionnairePhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1378
1523
|
}, ExtArgs["result"]["questionnairePhase"]>;
|
|
@@ -1401,6 +1546,7 @@ export type QuestionnairePhaseInclude<ExtArgs extends runtime.Types.Extensions.I
|
|
|
1401
1546
|
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
1402
1547
|
questionnairePlan?: boolean | Prisma.QuestionnairePhase$questionnairePlanArgs<ExtArgs>;
|
|
1403
1548
|
fields?: boolean | Prisma.QuestionnairePhase$fieldsArgs<ExtArgs>;
|
|
1549
|
+
reviews?: boolean | Prisma.QuestionnairePhase$reviewsArgs<ExtArgs>;
|
|
1404
1550
|
dependentDocumentationPhases?: boolean | Prisma.QuestionnairePhase$dependentDocumentationPhasesArgs<ExtArgs>;
|
|
1405
1551
|
_count?: boolean | Prisma.QuestionnairePhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1406
1552
|
};
|
|
@@ -1411,6 +1557,7 @@ export type $QuestionnairePhasePayload<ExtArgs extends runtime.Types.Extensions.
|
|
|
1411
1557
|
phase: Prisma.$ApplicationPhasePayload<ExtArgs>;
|
|
1412
1558
|
questionnairePlan: Prisma.$QuestionnairePlanPayload<ExtArgs> | null;
|
|
1413
1559
|
fields: Prisma.$QuestionnaireFieldPayload<ExtArgs>[];
|
|
1560
|
+
reviews: Prisma.$QuestionnairePhaseReviewPayload<ExtArgs>[];
|
|
1414
1561
|
dependentDocumentationPhases: Prisma.$DocumentationPhasePayload<ExtArgs>[];
|
|
1415
1562
|
};
|
|
1416
1563
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
@@ -1712,6 +1859,7 @@ export interface Prisma__QuestionnairePhaseClient<T, Null = never, ExtArgs exten
|
|
|
1712
1859
|
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>;
|
|
1713
1860
|
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>;
|
|
1714
1861
|
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>;
|
|
1862
|
+
reviews<T extends Prisma.QuestionnairePhase$reviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.QuestionnairePhase$reviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuestionnairePhaseReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1715
1863
|
dependentDocumentationPhases<T extends Prisma.QuestionnairePhase$dependentDocumentationPhasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.QuestionnairePhase$dependentDocumentationPhasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentationPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1716
1864
|
/**
|
|
1717
1865
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -2123,6 +2271,29 @@ export type QuestionnairePhase$fieldsArgs<ExtArgs extends runtime.Types.Extensio
|
|
|
2123
2271
|
skip?: number;
|
|
2124
2272
|
distinct?: Prisma.QuestionnaireFieldScalarFieldEnum | Prisma.QuestionnaireFieldScalarFieldEnum[];
|
|
2125
2273
|
};
|
|
2274
|
+
/**
|
|
2275
|
+
* QuestionnairePhase.reviews
|
|
2276
|
+
*/
|
|
2277
|
+
export type QuestionnairePhase$reviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2278
|
+
/**
|
|
2279
|
+
* Select specific fields to fetch from the QuestionnairePhaseReview
|
|
2280
|
+
*/
|
|
2281
|
+
select?: Prisma.QuestionnairePhaseReviewSelect<ExtArgs> | null;
|
|
2282
|
+
/**
|
|
2283
|
+
* Omit specific fields from the QuestionnairePhaseReview
|
|
2284
|
+
*/
|
|
2285
|
+
omit?: Prisma.QuestionnairePhaseReviewOmit<ExtArgs> | null;
|
|
2286
|
+
/**
|
|
2287
|
+
* Choose, which related nodes to fetch as well
|
|
2288
|
+
*/
|
|
2289
|
+
include?: Prisma.QuestionnairePhaseReviewInclude<ExtArgs> | null;
|
|
2290
|
+
where?: Prisma.QuestionnairePhaseReviewWhereInput;
|
|
2291
|
+
orderBy?: Prisma.QuestionnairePhaseReviewOrderByWithRelationInput | Prisma.QuestionnairePhaseReviewOrderByWithRelationInput[];
|
|
2292
|
+
cursor?: Prisma.QuestionnairePhaseReviewWhereUniqueInput;
|
|
2293
|
+
take?: number;
|
|
2294
|
+
skip?: number;
|
|
2295
|
+
distinct?: Prisma.QuestionnairePhaseReviewScalarFieldEnum | Prisma.QuestionnairePhaseReviewScalarFieldEnum[];
|
|
2296
|
+
};
|
|
2126
2297
|
/**
|
|
2127
2298
|
* QuestionnairePhase.dependentDocumentationPhases
|
|
2128
2299
|
*/
|