@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.
Files changed (31) hide show
  1. package/dist/generated/client/browser.d.ts +20 -0
  2. package/dist/generated/client/client.d.ts +20 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +174 -84
  4. package/dist/generated/client/enums.d.ts +34 -0
  5. package/dist/generated/client/enums.js +31 -0
  6. package/dist/generated/client/internal/class.d.ts +44 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +389 -5
  9. package/dist/generated/client/internal/prismaNamespace.js +96 -0
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +104 -0
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +96 -0
  12. package/dist/generated/client/models/DocumentationPhase.d.ts +231 -1
  13. package/dist/generated/client/models/DocumentationPlan.d.ts +1555 -0
  14. package/dist/generated/client/models/DocumentationPlan.js +1 -0
  15. package/dist/generated/client/models/DocumentationPlanStep.d.ts +1220 -0
  16. package/dist/generated/client/models/DocumentationPlanStep.js +1 -0
  17. package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +0 -3
  18. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +585 -1
  19. package/dist/generated/client/models/QuestionnairePhase.d.ts +413 -1
  20. package/dist/generated/client/models/QuestionnairePlan.d.ts +1844 -0
  21. package/dist/generated/client/models/QuestionnairePlan.js +1 -0
  22. package/dist/generated/client/models/QuestionnairePlanQuestion.d.ts +1444 -0
  23. package/dist/generated/client/models/QuestionnairePlanQuestion.js +1 -0
  24. package/dist/generated/client/models/Tenant.d.ts +1208 -118
  25. package/dist/generated/client/models/index.d.ts +4 -0
  26. package/dist/generated/client/models/index.js +4 -0
  27. package/dist/generated/client/models.d.ts +4 -0
  28. package/dist/src/prisma/tenant.js +4 -0
  29. package/package.json +1 -1
  30. package/prisma/migrations/20260114034523_add_documentation_plan/migration.sql +52 -0
  31. package/prisma/schema.prisma +210 -8
@@ -140,6 +140,26 @@ export type PropertyUnit = Prisma.PropertyUnitModel;
140
140
  *
141
141
  */
142
142
  export type PropertyAmenity = Prisma.PropertyAmenityModel;
143
+ /**
144
+ * Model DocumentationPlan
145
+ *
146
+ */
147
+ export type DocumentationPlan = Prisma.DocumentationPlanModel;
148
+ /**
149
+ * Model DocumentationPlanStep
150
+ *
151
+ */
152
+ export type DocumentationPlanStep = Prisma.DocumentationPlanStepModel;
153
+ /**
154
+ * Model QuestionnairePlan
155
+ *
156
+ */
157
+ export type QuestionnairePlan = Prisma.QuestionnairePlanModel;
158
+ /**
159
+ * Model QuestionnairePlanQuestion
160
+ *
161
+ */
162
+ export type QuestionnairePlanQuestion = Prisma.QuestionnairePlanQuestionModel;
143
163
  /**
144
164
  * Model PaymentPlan
145
165
  *
@@ -157,6 +157,26 @@ export type PropertyUnit = Prisma.PropertyUnitModel;
157
157
  *
158
158
  */
159
159
  export type PropertyAmenity = Prisma.PropertyAmenityModel;
160
+ /**
161
+ * Model DocumentationPlan
162
+ *
163
+ */
164
+ export type DocumentationPlan = Prisma.DocumentationPlanModel;
165
+ /**
166
+ * Model DocumentationPlanStep
167
+ *
168
+ */
169
+ export type DocumentationPlanStep = Prisma.DocumentationPlanStepModel;
170
+ /**
171
+ * Model QuestionnairePlan
172
+ *
173
+ */
174
+ export type QuestionnairePlan = Prisma.QuestionnairePlanModel;
175
+ /**
176
+ * Model QuestionnairePlanQuestion
177
+ *
178
+ */
179
+ export type QuestionnairePlanQuestion = Prisma.QuestionnairePlanQuestionModel;
160
180
  /**
161
181
  * Model PaymentPlan
162
182
  *
@@ -276,6 +276,103 @@ export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
276
276
  _min?: Prisma.NestedIntNullableFilter<$PrismaModel>;
277
277
  _max?: Prisma.NestedIntNullableFilter<$PrismaModel>;
278
278
  };
279
+ export type JsonNullableFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>, Required<JsonNullableFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>;
280
+ export type JsonNullableFilterBase<$PrismaModel = never> = {
281
+ equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
282
+ path?: string;
283
+ mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
284
+ string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
285
+ string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
286
+ string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
287
+ array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
288
+ array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
289
+ array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
290
+ lt?: runtime.InputJsonValue;
291
+ lte?: runtime.InputJsonValue;
292
+ gt?: runtime.InputJsonValue;
293
+ gte?: runtime.InputJsonValue;
294
+ not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
295
+ };
296
+ export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>, Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>;
297
+ export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
298
+ equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
299
+ path?: string;
300
+ mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
301
+ string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
302
+ string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
303
+ string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
304
+ array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
305
+ array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
306
+ array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
307
+ lt?: runtime.InputJsonValue;
308
+ lte?: runtime.InputJsonValue;
309
+ gt?: runtime.InputJsonValue;
310
+ gte?: runtime.InputJsonValue;
311
+ not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
312
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
313
+ _min?: Prisma.NestedJsonNullableFilter<$PrismaModel>;
314
+ _max?: Prisma.NestedJsonNullableFilter<$PrismaModel>;
315
+ };
316
+ export type EnumStepTypeFilter<$PrismaModel = never> = {
317
+ equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
318
+ in?: $Enums.StepType[];
319
+ notIn?: $Enums.StepType[];
320
+ not?: Prisma.NestedEnumStepTypeFilter<$PrismaModel> | $Enums.StepType;
321
+ };
322
+ export type EnumStepTypeWithAggregatesFilter<$PrismaModel = never> = {
323
+ equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
324
+ in?: $Enums.StepType[];
325
+ notIn?: $Enums.StepType[];
326
+ not?: Prisma.NestedEnumStepTypeWithAggregatesFilter<$PrismaModel> | $Enums.StepType;
327
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
328
+ _min?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
329
+ _max?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
330
+ };
331
+ export type EnumScoringStrategyFilter<$PrismaModel = never> = {
332
+ equals?: $Enums.ScoringStrategy | Prisma.EnumScoringStrategyFieldRefInput<$PrismaModel>;
333
+ in?: $Enums.ScoringStrategy[];
334
+ notIn?: $Enums.ScoringStrategy[];
335
+ not?: Prisma.NestedEnumScoringStrategyFilter<$PrismaModel> | $Enums.ScoringStrategy;
336
+ };
337
+ export type EnumQuestionnaireCategoryFilter<$PrismaModel = never> = {
338
+ equals?: $Enums.QuestionnaireCategory | Prisma.EnumQuestionnaireCategoryFieldRefInput<$PrismaModel>;
339
+ in?: $Enums.QuestionnaireCategory[];
340
+ notIn?: $Enums.QuestionnaireCategory[];
341
+ not?: Prisma.NestedEnumQuestionnaireCategoryFilter<$PrismaModel> | $Enums.QuestionnaireCategory;
342
+ };
343
+ export type EnumScoringStrategyWithAggregatesFilter<$PrismaModel = never> = {
344
+ equals?: $Enums.ScoringStrategy | Prisma.EnumScoringStrategyFieldRefInput<$PrismaModel>;
345
+ in?: $Enums.ScoringStrategy[];
346
+ notIn?: $Enums.ScoringStrategy[];
347
+ not?: Prisma.NestedEnumScoringStrategyWithAggregatesFilter<$PrismaModel> | $Enums.ScoringStrategy;
348
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
349
+ _min?: Prisma.NestedEnumScoringStrategyFilter<$PrismaModel>;
350
+ _max?: Prisma.NestedEnumScoringStrategyFilter<$PrismaModel>;
351
+ };
352
+ export type EnumQuestionnaireCategoryWithAggregatesFilter<$PrismaModel = never> = {
353
+ equals?: $Enums.QuestionnaireCategory | Prisma.EnumQuestionnaireCategoryFieldRefInput<$PrismaModel>;
354
+ in?: $Enums.QuestionnaireCategory[];
355
+ notIn?: $Enums.QuestionnaireCategory[];
356
+ not?: Prisma.NestedEnumQuestionnaireCategoryWithAggregatesFilter<$PrismaModel> | $Enums.QuestionnaireCategory;
357
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
358
+ _min?: Prisma.NestedEnumQuestionnaireCategoryFilter<$PrismaModel>;
359
+ _max?: Prisma.NestedEnumQuestionnaireCategoryFilter<$PrismaModel>;
360
+ };
361
+ export type EnumQuestionTypeFilter<$PrismaModel = never> = {
362
+ equals?: $Enums.QuestionType | Prisma.EnumQuestionTypeFieldRefInput<$PrismaModel>;
363
+ in?: $Enums.QuestionType[];
364
+ notIn?: $Enums.QuestionType[];
365
+ not?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel> | $Enums.QuestionType;
366
+ };
367
+ export type EnumQuestionTypeWithAggregatesFilter<$PrismaModel = never> = {
368
+ equals?: $Enums.QuestionType | Prisma.EnumQuestionTypeFieldRefInput<$PrismaModel>;
369
+ in?: $Enums.QuestionType[];
370
+ notIn?: $Enums.QuestionType[];
371
+ not?: Prisma.NestedEnumQuestionTypeWithAggregatesFilter<$PrismaModel> | $Enums.QuestionType;
372
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
373
+ _min?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel>;
374
+ _max?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel>;
375
+ };
279
376
  export type EnumPaymentFrequencyFilter<$PrismaModel = never> = {
280
377
  equals?: $Enums.PaymentFrequency | Prisma.EnumPaymentFrequencyFieldRefInput<$PrismaModel>;
281
378
  in?: $Enums.PaymentFrequency[];
@@ -313,23 +410,6 @@ export type EnumCompletionCriterionNullableFilter<$PrismaModel = never> = {
313
410
  notIn?: $Enums.CompletionCriterion[] | null;
314
411
  not?: Prisma.NestedEnumCompletionCriterionNullableFilter<$PrismaModel> | $Enums.CompletionCriterion | null;
315
412
  };
316
- export type JsonNullableFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>, Required<JsonNullableFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>;
317
- export type JsonNullableFilterBase<$PrismaModel = never> = {
318
- equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
319
- path?: string;
320
- mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
321
- string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
322
- string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
323
- string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
324
- array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
325
- array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
326
- array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
327
- lt?: runtime.InputJsonValue;
328
- lte?: runtime.InputJsonValue;
329
- gt?: runtime.InputJsonValue;
330
- gte?: runtime.InputJsonValue;
331
- not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
332
- };
333
413
  export type EnumPhaseCategoryWithAggregatesFilter<$PrismaModel = never> = {
334
414
  equals?: $Enums.PhaseCategory | Prisma.EnumPhaseCategoryFieldRefInput<$PrismaModel>;
335
415
  in?: $Enums.PhaseCategory[];
@@ -364,26 +444,6 @@ export type EnumCompletionCriterionNullableWithAggregatesFilter<$PrismaModel = n
364
444
  _min?: Prisma.NestedEnumCompletionCriterionNullableFilter<$PrismaModel>;
365
445
  _max?: Prisma.NestedEnumCompletionCriterionNullableFilter<$PrismaModel>;
366
446
  };
367
- export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>, Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>;
368
- export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
369
- equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
370
- path?: string;
371
- mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
372
- string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
373
- string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
374
- string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
375
- array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
376
- array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
377
- array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
378
- lt?: runtime.InputJsonValue;
379
- lte?: runtime.InputJsonValue;
380
- gt?: runtime.InputJsonValue;
381
- gte?: runtime.InputJsonValue;
382
- not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
383
- _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
384
- _min?: Prisma.NestedJsonNullableFilter<$PrismaModel>;
385
- _max?: Prisma.NestedJsonNullableFilter<$PrismaModel>;
386
- };
387
447
  export type EnumPhaseTriggerFilter<$PrismaModel = never> = {
388
448
  equals?: $Enums.PhaseTrigger | Prisma.EnumPhaseTriggerFieldRefInput<$PrismaModel>;
389
449
  in?: $Enums.PhaseTrigger[];
@@ -399,21 +459,6 @@ export type EnumPhaseTriggerWithAggregatesFilter<$PrismaModel = never> = {
399
459
  _min?: Prisma.NestedEnumPhaseTriggerFilter<$PrismaModel>;
400
460
  _max?: Prisma.NestedEnumPhaseTriggerFilter<$PrismaModel>;
401
461
  };
402
- export type EnumStepTypeFilter<$PrismaModel = never> = {
403
- equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
404
- in?: $Enums.StepType[];
405
- notIn?: $Enums.StepType[];
406
- not?: Prisma.NestedEnumStepTypeFilter<$PrismaModel> | $Enums.StepType;
407
- };
408
- export type EnumStepTypeWithAggregatesFilter<$PrismaModel = never> = {
409
- equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
410
- in?: $Enums.StepType[];
411
- notIn?: $Enums.StepType[];
412
- not?: Prisma.NestedEnumStepTypeWithAggregatesFilter<$PrismaModel> | $Enums.StepType;
413
- _count?: Prisma.NestedIntFilter<$PrismaModel>;
414
- _min?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
415
- _max?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
416
- };
417
462
  export type EnumStepTriggerFilter<$PrismaModel = never> = {
418
463
  equals?: $Enums.StepTrigger | Prisma.EnumStepTriggerFieldRefInput<$PrismaModel>;
419
464
  in?: $Enums.StepTrigger[];
@@ -1145,6 +1190,83 @@ export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
1145
1190
  _min?: Prisma.NestedIntNullableFilter<$PrismaModel>;
1146
1191
  _max?: Prisma.NestedIntNullableFilter<$PrismaModel>;
1147
1192
  };
1193
+ export type NestedJsonNullableFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>, Required<NestedJsonNullableFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>;
1194
+ export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
1195
+ equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
1196
+ path?: string;
1197
+ mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
1198
+ string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
1199
+ string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
1200
+ string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
1201
+ array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
1202
+ array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
1203
+ array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
1204
+ lt?: runtime.InputJsonValue;
1205
+ lte?: runtime.InputJsonValue;
1206
+ gt?: runtime.InputJsonValue;
1207
+ gte?: runtime.InputJsonValue;
1208
+ not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
1209
+ };
1210
+ export type NestedEnumStepTypeFilter<$PrismaModel = never> = {
1211
+ equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
1212
+ in?: $Enums.StepType[];
1213
+ notIn?: $Enums.StepType[];
1214
+ not?: Prisma.NestedEnumStepTypeFilter<$PrismaModel> | $Enums.StepType;
1215
+ };
1216
+ export type NestedEnumStepTypeWithAggregatesFilter<$PrismaModel = never> = {
1217
+ equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
1218
+ in?: $Enums.StepType[];
1219
+ notIn?: $Enums.StepType[];
1220
+ not?: Prisma.NestedEnumStepTypeWithAggregatesFilter<$PrismaModel> | $Enums.StepType;
1221
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1222
+ _min?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
1223
+ _max?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
1224
+ };
1225
+ export type NestedEnumScoringStrategyFilter<$PrismaModel = never> = {
1226
+ equals?: $Enums.ScoringStrategy | Prisma.EnumScoringStrategyFieldRefInput<$PrismaModel>;
1227
+ in?: $Enums.ScoringStrategy[];
1228
+ notIn?: $Enums.ScoringStrategy[];
1229
+ not?: Prisma.NestedEnumScoringStrategyFilter<$PrismaModel> | $Enums.ScoringStrategy;
1230
+ };
1231
+ export type NestedEnumQuestionnaireCategoryFilter<$PrismaModel = never> = {
1232
+ equals?: $Enums.QuestionnaireCategory | Prisma.EnumQuestionnaireCategoryFieldRefInput<$PrismaModel>;
1233
+ in?: $Enums.QuestionnaireCategory[];
1234
+ notIn?: $Enums.QuestionnaireCategory[];
1235
+ not?: Prisma.NestedEnumQuestionnaireCategoryFilter<$PrismaModel> | $Enums.QuestionnaireCategory;
1236
+ };
1237
+ export type NestedEnumScoringStrategyWithAggregatesFilter<$PrismaModel = never> = {
1238
+ equals?: $Enums.ScoringStrategy | Prisma.EnumScoringStrategyFieldRefInput<$PrismaModel>;
1239
+ in?: $Enums.ScoringStrategy[];
1240
+ notIn?: $Enums.ScoringStrategy[];
1241
+ not?: Prisma.NestedEnumScoringStrategyWithAggregatesFilter<$PrismaModel> | $Enums.ScoringStrategy;
1242
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1243
+ _min?: Prisma.NestedEnumScoringStrategyFilter<$PrismaModel>;
1244
+ _max?: Prisma.NestedEnumScoringStrategyFilter<$PrismaModel>;
1245
+ };
1246
+ export type NestedEnumQuestionnaireCategoryWithAggregatesFilter<$PrismaModel = never> = {
1247
+ equals?: $Enums.QuestionnaireCategory | Prisma.EnumQuestionnaireCategoryFieldRefInput<$PrismaModel>;
1248
+ in?: $Enums.QuestionnaireCategory[];
1249
+ notIn?: $Enums.QuestionnaireCategory[];
1250
+ not?: Prisma.NestedEnumQuestionnaireCategoryWithAggregatesFilter<$PrismaModel> | $Enums.QuestionnaireCategory;
1251
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1252
+ _min?: Prisma.NestedEnumQuestionnaireCategoryFilter<$PrismaModel>;
1253
+ _max?: Prisma.NestedEnumQuestionnaireCategoryFilter<$PrismaModel>;
1254
+ };
1255
+ export type NestedEnumQuestionTypeFilter<$PrismaModel = never> = {
1256
+ equals?: $Enums.QuestionType | Prisma.EnumQuestionTypeFieldRefInput<$PrismaModel>;
1257
+ in?: $Enums.QuestionType[];
1258
+ notIn?: $Enums.QuestionType[];
1259
+ not?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel> | $Enums.QuestionType;
1260
+ };
1261
+ export type NestedEnumQuestionTypeWithAggregatesFilter<$PrismaModel = never> = {
1262
+ equals?: $Enums.QuestionType | Prisma.EnumQuestionTypeFieldRefInput<$PrismaModel>;
1263
+ in?: $Enums.QuestionType[];
1264
+ notIn?: $Enums.QuestionType[];
1265
+ not?: Prisma.NestedEnumQuestionTypeWithAggregatesFilter<$PrismaModel> | $Enums.QuestionType;
1266
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1267
+ _min?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel>;
1268
+ _max?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel>;
1269
+ };
1148
1270
  export type NestedEnumPaymentFrequencyFilter<$PrismaModel = never> = {
1149
1271
  equals?: $Enums.PaymentFrequency | Prisma.EnumPaymentFrequencyFieldRefInput<$PrismaModel>;
1150
1272
  in?: $Enums.PaymentFrequency[];
@@ -1216,23 +1338,6 @@ export type NestedEnumCompletionCriterionNullableWithAggregatesFilter<$PrismaMod
1216
1338
  _min?: Prisma.NestedEnumCompletionCriterionNullableFilter<$PrismaModel>;
1217
1339
  _max?: Prisma.NestedEnumCompletionCriterionNullableFilter<$PrismaModel>;
1218
1340
  };
1219
- export type NestedJsonNullableFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>, Required<NestedJsonNullableFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>;
1220
- export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
1221
- equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
1222
- path?: string;
1223
- mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
1224
- string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
1225
- string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
1226
- string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
1227
- array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
1228
- array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
1229
- array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
1230
- lt?: runtime.InputJsonValue;
1231
- lte?: runtime.InputJsonValue;
1232
- gt?: runtime.InputJsonValue;
1233
- gte?: runtime.InputJsonValue;
1234
- not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
1235
- };
1236
1341
  export type NestedEnumPhaseTriggerFilter<$PrismaModel = never> = {
1237
1342
  equals?: $Enums.PhaseTrigger | Prisma.EnumPhaseTriggerFieldRefInput<$PrismaModel>;
1238
1343
  in?: $Enums.PhaseTrigger[];
@@ -1248,21 +1353,6 @@ export type NestedEnumPhaseTriggerWithAggregatesFilter<$PrismaModel = never> = {
1248
1353
  _min?: Prisma.NestedEnumPhaseTriggerFilter<$PrismaModel>;
1249
1354
  _max?: Prisma.NestedEnumPhaseTriggerFilter<$PrismaModel>;
1250
1355
  };
1251
- export type NestedEnumStepTypeFilter<$PrismaModel = never> = {
1252
- equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
1253
- in?: $Enums.StepType[];
1254
- notIn?: $Enums.StepType[];
1255
- not?: Prisma.NestedEnumStepTypeFilter<$PrismaModel> | $Enums.StepType;
1256
- };
1257
- export type NestedEnumStepTypeWithAggregatesFilter<$PrismaModel = never> = {
1258
- equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
1259
- in?: $Enums.StepType[];
1260
- notIn?: $Enums.StepType[];
1261
- not?: Prisma.NestedEnumStepTypeWithAggregatesFilter<$PrismaModel> | $Enums.StepType;
1262
- _count?: Prisma.NestedIntFilter<$PrismaModel>;
1263
- _min?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
1264
- _max?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
1265
- };
1266
1356
  export type NestedEnumStepTriggerFilter<$PrismaModel = never> = {
1267
1357
  equals?: $Enums.StepTrigger | Prisma.EnumStepTriggerFieldRefInput<$PrismaModel>;
1268
1358
  in?: $Enums.StepTrigger[];
@@ -278,6 +278,40 @@ export declare const FieldType: {
278
278
  readonly FILE: "FILE";
279
279
  };
280
280
  export type FieldType = (typeof FieldType)[keyof typeof FieldType];
281
+ export declare const QuestionType: {
282
+ readonly TEXT: "TEXT";
283
+ readonly NUMBER: "NUMBER";
284
+ readonly CURRENCY: "CURRENCY";
285
+ readonly DATE: "DATE";
286
+ readonly SELECT: "SELECT";
287
+ readonly MULTI_SELECT: "MULTI_SELECT";
288
+ readonly RADIO: "RADIO";
289
+ readonly CHECKBOX: "CHECKBOX";
290
+ readonly FILE_UPLOAD: "FILE_UPLOAD";
291
+ readonly PHONE: "PHONE";
292
+ readonly EMAIL: "EMAIL";
293
+ readonly ADDRESS: "ADDRESS";
294
+ readonly PERCENTAGE: "PERCENTAGE";
295
+ readonly YEARS_MONTHS: "YEARS_MONTHS";
296
+ };
297
+ export type QuestionType = (typeof QuestionType)[keyof typeof QuestionType];
298
+ export declare const ScoringStrategy: {
299
+ readonly SUM: "SUM";
300
+ readonly AVERAGE: "AVERAGE";
301
+ readonly WEIGHTED_SUM: "WEIGHTED_SUM";
302
+ readonly MIN_ALL: "MIN_ALL";
303
+ readonly CUSTOM: "CUSTOM";
304
+ };
305
+ export type ScoringStrategy = (typeof ScoringStrategy)[keyof typeof ScoringStrategy];
306
+ export declare const QuestionnaireCategory: {
307
+ readonly PREQUALIFICATION: "PREQUALIFICATION";
308
+ readonly AFFORDABILITY: "AFFORDABILITY";
309
+ readonly PROPERTY_INTENT: "PROPERTY_INTENT";
310
+ readonly RISK_ASSESSMENT: "RISK_ASSESSMENT";
311
+ readonly COMPLIANCE: "COMPLIANCE";
312
+ readonly CUSTOM: "CUSTOM";
313
+ };
314
+ export type QuestionnaireCategory = (typeof QuestionnaireCategory)[keyof typeof QuestionnaireCategory];
281
315
  export declare const PaymentMethodChangeStatus: {
282
316
  readonly PENDING_DOCUMENTS: "PENDING_DOCUMENTS";
283
317
  readonly DOCUMENTS_SUBMITTED: "DOCUMENTS_SUBMITTED";
@@ -257,6 +257,37 @@ export const FieldType = {
257
257
  RADIO: 'RADIO',
258
258
  FILE: 'FILE'
259
259
  };
260
+ export const QuestionType = {
261
+ TEXT: 'TEXT',
262
+ NUMBER: 'NUMBER',
263
+ CURRENCY: 'CURRENCY',
264
+ DATE: 'DATE',
265
+ SELECT: 'SELECT',
266
+ MULTI_SELECT: 'MULTI_SELECT',
267
+ RADIO: 'RADIO',
268
+ CHECKBOX: 'CHECKBOX',
269
+ FILE_UPLOAD: 'FILE_UPLOAD',
270
+ PHONE: 'PHONE',
271
+ EMAIL: 'EMAIL',
272
+ ADDRESS: 'ADDRESS',
273
+ PERCENTAGE: 'PERCENTAGE',
274
+ YEARS_MONTHS: 'YEARS_MONTHS'
275
+ };
276
+ export const ScoringStrategy = {
277
+ SUM: 'SUM',
278
+ AVERAGE: 'AVERAGE',
279
+ WEIGHTED_SUM: 'WEIGHTED_SUM',
280
+ MIN_ALL: 'MIN_ALL',
281
+ CUSTOM: 'CUSTOM'
282
+ };
283
+ export const QuestionnaireCategory = {
284
+ PREQUALIFICATION: 'PREQUALIFICATION',
285
+ AFFORDABILITY: 'AFFORDABILITY',
286
+ PROPERTY_INTENT: 'PROPERTY_INTENT',
287
+ RISK_ASSESSMENT: 'RISK_ASSESSMENT',
288
+ COMPLIANCE: 'COMPLIANCE',
289
+ CUSTOM: 'CUSTOM'
290
+ };
260
291
  export const PaymentMethodChangeStatus = {
261
292
  PENDING_DOCUMENTS: 'PENDING_DOCUMENTS',
262
293
  DOCUMENTS_SUBMITTED: 'DOCUMENTS_SUBMITTED',
@@ -408,6 +408,50 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
408
408
  get propertyAmenity(): Prisma.PropertyAmenityDelegate<ExtArgs, {
409
409
  omit: OmitOpts;
410
410
  }>;
411
+ /**
412
+ * `prisma.documentationPlan`: Exposes CRUD operations for the **DocumentationPlan** model.
413
+ * Example usage:
414
+ * ```ts
415
+ * // Fetch zero or more DocumentationPlans
416
+ * const documentationPlans = await prisma.documentationPlan.findMany()
417
+ * ```
418
+ */
419
+ get documentationPlan(): Prisma.DocumentationPlanDelegate<ExtArgs, {
420
+ omit: OmitOpts;
421
+ }>;
422
+ /**
423
+ * `prisma.documentationPlanStep`: Exposes CRUD operations for the **DocumentationPlanStep** model.
424
+ * Example usage:
425
+ * ```ts
426
+ * // Fetch zero or more DocumentationPlanSteps
427
+ * const documentationPlanSteps = await prisma.documentationPlanStep.findMany()
428
+ * ```
429
+ */
430
+ get documentationPlanStep(): Prisma.DocumentationPlanStepDelegate<ExtArgs, {
431
+ omit: OmitOpts;
432
+ }>;
433
+ /**
434
+ * `prisma.questionnairePlan`: Exposes CRUD operations for the **QuestionnairePlan** model.
435
+ * Example usage:
436
+ * ```ts
437
+ * // Fetch zero or more QuestionnairePlans
438
+ * const questionnairePlans = await prisma.questionnairePlan.findMany()
439
+ * ```
440
+ */
441
+ get questionnairePlan(): Prisma.QuestionnairePlanDelegate<ExtArgs, {
442
+ omit: OmitOpts;
443
+ }>;
444
+ /**
445
+ * `prisma.questionnairePlanQuestion`: Exposes CRUD operations for the **QuestionnairePlanQuestion** model.
446
+ * Example usage:
447
+ * ```ts
448
+ * // Fetch zero or more QuestionnairePlanQuestions
449
+ * const questionnairePlanQuestions = await prisma.questionnairePlanQuestion.findMany()
450
+ * ```
451
+ */
452
+ get questionnairePlanQuestion(): Prisma.QuestionnairePlanQuestionDelegate<ExtArgs, {
453
+ omit: OmitOpts;
454
+ }>;
411
455
  /**
412
456
  * `prisma.paymentPlan`: Exposes CRUD operations for the **PaymentPlan** model.
413
457
  * Example usage: