@valentine-efagene/qshelter-common 2.0.84 → 2.0.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/generated/client/browser.d.ts +25 -0
  2. package/dist/generated/client/client.d.ts +25 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +30 -0
  4. package/dist/generated/client/enums.d.ts +18 -0
  5. package/dist/generated/client/enums.js +17 -0
  6. package/dist/generated/client/internal/class.d.ts +55 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +469 -42
  9. package/dist/generated/client/internal/prismaNamespace.js +118 -40
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +129 -41
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +118 -40
  12. package/dist/generated/client/models/Contract.d.ts +303 -1574
  13. package/dist/generated/client/models/ContractInstallment.d.ts +77 -77
  14. package/dist/generated/client/models/ContractPhase.d.ts +339 -1376
  15. package/dist/generated/client/models/DocumentationPhase.d.ts +1649 -0
  16. package/dist/generated/client/models/DocumentationPhase.js +1 -0
  17. package/dist/generated/client/models/DocumentationStep.d.ts +126 -387
  18. package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +1378 -0
  19. package/dist/generated/client/models/PaymentMethodPhaseField.js +1 -0
  20. package/dist/generated/client/models/PaymentPhase.d.ts +1566 -0
  21. package/dist/generated/client/models/PaymentPhase.js +1 -0
  22. package/dist/generated/client/models/PaymentPlan.d.ts +53 -53
  23. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +171 -0
  24. package/dist/generated/client/models/PropertyTransferRequest.d.ts +196 -70
  25. package/dist/generated/client/models/QuestionnaireField.d.ts +1495 -0
  26. package/dist/generated/client/models/QuestionnaireField.js +1 -0
  27. package/dist/generated/client/models/QuestionnairePhase.d.ts +1383 -0
  28. package/dist/generated/client/models/QuestionnairePhase.js +1 -0
  29. package/dist/generated/client/models.d.ts +5 -0
  30. package/package.json +1 -1
  31. package/prisma/migrations/20260109132751_update_transfer_flow/migration.sql +343 -0
  32. package/prisma/schema.prisma +304 -98
@@ -281,6 +281,7 @@ export type PropertyPaymentMethodPhaseWhereInput = {
281
281
  paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
282
282
  steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
283
283
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
284
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
284
285
  };
285
286
  export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
286
287
  id?: Prisma.SortOrder;
@@ -305,6 +306,7 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
305
306
  paymentPlan?: Prisma.PaymentPlanOrderByWithRelationInput;
306
307
  steps?: Prisma.PaymentMethodPhaseStepOrderByRelationAggregateInput;
307
308
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentOrderByRelationAggregateInput;
309
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldOrderByRelationAggregateInput;
308
310
  _relevance?: Prisma.PropertyPaymentMethodPhaseOrderByRelevanceInput;
309
311
  };
310
312
  export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
@@ -333,6 +335,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
333
335
  paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
334
336
  steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
335
337
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
338
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
336
339
  }, "id">;
337
340
  export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
338
341
  id?: Prisma.SortOrder;
@@ -403,6 +406,7 @@ export type PropertyPaymentMethodPhaseCreateInput = {
403
406
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
404
407
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
405
408
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
409
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
406
410
  };
407
411
  export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
408
412
  id?: string;
@@ -425,6 +429,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
425
429
  updatedAt?: Date | string;
426
430
  steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
427
431
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
432
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
428
433
  };
429
434
  export type PropertyPaymentMethodPhaseUpdateInput = {
430
435
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -447,6 +452,7 @@ export type PropertyPaymentMethodPhaseUpdateInput = {
447
452
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
448
453
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
449
454
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
455
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
450
456
  };
451
457
  export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
452
458
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -469,6 +475,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
469
475
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
470
476
  steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
471
477
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
478
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
472
479
  };
473
480
  export type PropertyPaymentMethodPhaseCreateManyInput = {
474
481
  id?: string;
@@ -725,6 +732,18 @@ export type PropertyPaymentMethodPhaseUpdateOneRequiredWithoutRequiredDocumentsN
725
732
  connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
726
733
  update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutRequiredDocumentsInput, Prisma.PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput>, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInput>;
727
734
  };
735
+ export type PropertyPaymentMethodPhaseCreateNestedOneWithoutQuestionnaireFieldsInput = {
736
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsInput>;
737
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnaireFieldsInput;
738
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
739
+ };
740
+ export type PropertyPaymentMethodPhaseUpdateOneRequiredWithoutQuestionnaireFieldsNestedInput = {
741
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsInput>;
742
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnaireFieldsInput;
743
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithoutQuestionnaireFieldsInput;
744
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
745
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutQuestionnaireFieldsInput, Prisma.PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput>, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsInput>;
746
+ };
728
747
  export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
729
748
  id?: string;
730
749
  name: string;
@@ -745,6 +764,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
745
764
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
746
765
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
747
766
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
767
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
748
768
  };
749
769
  export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
750
770
  id?: string;
@@ -766,6 +786,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
766
786
  updatedAt?: Date | string;
767
787
  steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
768
788
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
789
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
769
790
  };
770
791
  export type PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput = {
771
792
  where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
@@ -831,6 +852,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
831
852
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
832
853
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
833
854
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
855
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
834
856
  };
835
857
  export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput = {
836
858
  id?: string;
@@ -852,6 +874,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput =
852
874
  updatedAt?: Date | string;
853
875
  steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
854
876
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
877
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
855
878
  };
856
879
  export type PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput = {
857
880
  where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
@@ -894,6 +917,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutStepsInput = {
894
917
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
895
918
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
896
919
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
920
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
897
921
  };
898
922
  export type PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput = {
899
923
  id?: string;
@@ -915,6 +939,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput = {
915
939
  createdAt?: Date | string;
916
940
  updatedAt?: Date | string;
917
941
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
942
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
918
943
  };
919
944
  export type PropertyPaymentMethodPhaseCreateOrConnectWithoutStepsInput = {
920
945
  where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
@@ -949,6 +974,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutStepsInput = {
949
974
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
950
975
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
951
976
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
977
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
952
978
  };
953
979
  export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput = {
954
980
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -970,6 +996,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput = {
970
996
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
971
997
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
972
998
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
999
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
973
1000
  };
974
1001
  export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
975
1002
  id?: string;
@@ -991,6 +1018,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
991
1018
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
992
1019
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
993
1020
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1021
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
994
1022
  };
995
1023
  export type PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInput = {
996
1024
  id?: string;
@@ -1012,6 +1040,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInp
1012
1040
  createdAt?: Date | string;
1013
1041
  updatedAt?: Date | string;
1014
1042
  steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
1043
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
1015
1044
  };
1016
1045
  export type PropertyPaymentMethodPhaseCreateOrConnectWithoutRequiredDocumentsInput = {
1017
1046
  where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
@@ -1046,6 +1075,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput = {
1046
1075
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1047
1076
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1048
1077
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1078
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1049
1079
  };
1050
1080
  export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInput = {
1051
1081
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1067,6 +1097,108 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInp
1067
1097
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1068
1098
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1069
1099
  steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
1100
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
1101
+ };
1102
+ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput = {
1103
+ id?: string;
1104
+ name: string;
1105
+ description?: string | null;
1106
+ phaseCategory: $Enums.PhaseCategory;
1107
+ phaseType: $Enums.PhaseType;
1108
+ order: number;
1109
+ interestRate?: number | null;
1110
+ percentOfPrice?: number | null;
1111
+ collectFunds?: boolean | null;
1112
+ requiresPreviousPhaseCompletion?: boolean;
1113
+ minimumCompletionPercentage?: number | null;
1114
+ completionCriterion?: $Enums.CompletionCriterion | null;
1115
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1116
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1117
+ createdAt?: Date | string;
1118
+ updatedAt?: Date | string;
1119
+ paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1120
+ paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1121
+ steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1122
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1123
+ };
1124
+ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsInput = {
1125
+ id?: string;
1126
+ paymentMethodId: string;
1127
+ paymentPlanId?: string | null;
1128
+ name: string;
1129
+ description?: string | null;
1130
+ phaseCategory: $Enums.PhaseCategory;
1131
+ phaseType: $Enums.PhaseType;
1132
+ order: number;
1133
+ interestRate?: number | null;
1134
+ percentOfPrice?: number | null;
1135
+ collectFunds?: boolean | null;
1136
+ requiresPreviousPhaseCompletion?: boolean;
1137
+ minimumCompletionPercentage?: number | null;
1138
+ completionCriterion?: $Enums.CompletionCriterion | null;
1139
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1140
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1141
+ createdAt?: Date | string;
1142
+ updatedAt?: Date | string;
1143
+ steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
1144
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
1145
+ };
1146
+ export type PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnaireFieldsInput = {
1147
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1148
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsInput>;
1149
+ };
1150
+ export type PropertyPaymentMethodPhaseUpsertWithoutQuestionnaireFieldsInput = {
1151
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsInput>;
1152
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsInput>;
1153
+ where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
1154
+ };
1155
+ export type PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutQuestionnaireFieldsInput = {
1156
+ where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
1157
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsInput>;
1158
+ };
1159
+ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput = {
1160
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1161
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1162
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1163
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1164
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1165
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1166
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1167
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1168
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1169
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1170
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1171
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1172
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1173
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1174
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1175
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1176
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1177
+ paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1178
+ steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1179
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1180
+ };
1181
+ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsInput = {
1182
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1183
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1184
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1185
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1186
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1187
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1188
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1189
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1190
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1191
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1192
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1193
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1194
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1195
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1196
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1197
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1198
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1199
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1200
+ steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
1201
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
1070
1202
  };
1071
1203
  export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInput = {
1072
1204
  id?: string;
@@ -1107,6 +1239,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput = {
1107
1239
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1108
1240
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1109
1241
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1242
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1110
1243
  };
1111
1244
  export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
1112
1245
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1128,6 +1261,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
1128
1261
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1129
1262
  steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
1130
1263
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
1264
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
1131
1265
  };
1132
1266
  export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput = {
1133
1267
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1187,6 +1321,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput = {
1187
1321
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1188
1322
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1189
1323
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1324
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1190
1325
  };
1191
1326
  export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput = {
1192
1327
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1208,6 +1343,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput =
1208
1343
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1209
1344
  steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
1210
1345
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
1346
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
1211
1347
  };
1212
1348
  export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInput = {
1213
1349
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1234,10 +1370,12 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInp
1234
1370
  export type PropertyPaymentMethodPhaseCountOutputType = {
1235
1371
  steps: number;
1236
1372
  requiredDocuments: number;
1373
+ questionnaireFields: number;
1237
1374
  };
1238
1375
  export type PropertyPaymentMethodPhaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1239
1376
  steps?: boolean | PropertyPaymentMethodPhaseCountOutputTypeCountStepsArgs;
1240
1377
  requiredDocuments?: boolean | PropertyPaymentMethodPhaseCountOutputTypeCountRequiredDocumentsArgs;
1378
+ questionnaireFields?: boolean | PropertyPaymentMethodPhaseCountOutputTypeCountQuestionnaireFieldsArgs;
1241
1379
  };
1242
1380
  /**
1243
1381
  * PropertyPaymentMethodPhaseCountOutputType without action
@@ -1260,6 +1398,12 @@ export type PropertyPaymentMethodPhaseCountOutputTypeCountStepsArgs<ExtArgs exte
1260
1398
  export type PropertyPaymentMethodPhaseCountOutputTypeCountRequiredDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1261
1399
  where?: Prisma.PaymentMethodPhaseDocumentWhereInput;
1262
1400
  };
1401
+ /**
1402
+ * PropertyPaymentMethodPhaseCountOutputType without action
1403
+ */
1404
+ export type PropertyPaymentMethodPhaseCountOutputTypeCountQuestionnaireFieldsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1405
+ where?: Prisma.PaymentMethodPhaseFieldWhereInput;
1406
+ };
1263
1407
  export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1264
1408
  id?: boolean;
1265
1409
  paymentMethodId?: boolean;
@@ -1283,6 +1427,7 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
1283
1427
  paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
1284
1428
  steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
1285
1429
  requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
1430
+ questionnaireFields?: boolean | Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>;
1286
1431
  _count?: boolean | Prisma.PropertyPaymentMethodPhaseCountOutputTypeDefaultArgs<ExtArgs>;
1287
1432
  }, ExtArgs["result"]["propertyPaymentMethodPhase"]>;
1288
1433
  export type PropertyPaymentMethodPhaseSelectScalar = {
@@ -1311,6 +1456,7 @@ export type PropertyPaymentMethodPhaseInclude<ExtArgs extends runtime.Types.Exte
1311
1456
  paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
1312
1457
  steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
1313
1458
  requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
1459
+ questionnaireFields?: boolean | Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>;
1314
1460
  _count?: boolean | Prisma.PropertyPaymentMethodPhaseCountOutputTypeDefaultArgs<ExtArgs>;
1315
1461
  };
1316
1462
  export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1320,6 +1466,7 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
1320
1466
  paymentPlan: Prisma.$PaymentPlanPayload<ExtArgs> | null;
1321
1467
  steps: Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>[];
1322
1468
  requiredDocuments: Prisma.$PaymentMethodPhaseDocumentPayload<ExtArgs>[];
1469
+ questionnaireFields: Prisma.$PaymentMethodPhaseFieldPayload<ExtArgs>[];
1323
1470
  };
1324
1471
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1325
1472
  id: string;
@@ -1621,6 +1768,7 @@ export interface Prisma__PropertyPaymentMethodPhaseClient<T, Null = never, ExtAr
1621
1768
  paymentPlan<T extends Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1622
1769
  steps<T extends Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1623
1770
  requiredDocuments<T extends Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodPhaseDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1771
+ questionnaireFields<T extends Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodPhaseFieldPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1624
1772
  /**
1625
1773
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1626
1774
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -2055,6 +2203,29 @@ export type PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs extends run
2055
2203
  skip?: number;
2056
2204
  distinct?: Prisma.PaymentMethodPhaseDocumentScalarFieldEnum | Prisma.PaymentMethodPhaseDocumentScalarFieldEnum[];
2057
2205
  };
2206
+ /**
2207
+ * PropertyPaymentMethodPhase.questionnaireFields
2208
+ */
2209
+ export type PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2210
+ /**
2211
+ * Select specific fields to fetch from the PaymentMethodPhaseField
2212
+ */
2213
+ select?: Prisma.PaymentMethodPhaseFieldSelect<ExtArgs> | null;
2214
+ /**
2215
+ * Omit specific fields from the PaymentMethodPhaseField
2216
+ */
2217
+ omit?: Prisma.PaymentMethodPhaseFieldOmit<ExtArgs> | null;
2218
+ /**
2219
+ * Choose, which related nodes to fetch as well
2220
+ */
2221
+ include?: Prisma.PaymentMethodPhaseFieldInclude<ExtArgs> | null;
2222
+ where?: Prisma.PaymentMethodPhaseFieldWhereInput;
2223
+ orderBy?: Prisma.PaymentMethodPhaseFieldOrderByWithRelationInput | Prisma.PaymentMethodPhaseFieldOrderByWithRelationInput[];
2224
+ cursor?: Prisma.PaymentMethodPhaseFieldWhereUniqueInput;
2225
+ take?: number;
2226
+ skip?: number;
2227
+ distinct?: Prisma.PaymentMethodPhaseFieldScalarFieldEnum | Prisma.PaymentMethodPhaseFieldScalarFieldEnum[];
2228
+ };
2058
2229
  /**
2059
2230
  * PropertyPaymentMethodPhase without action
2060
2231
  */