@valentine-efagene/qshelter-common 2.0.103 → 2.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/browser.d.ts +10 -0
- package/dist/generated/client/client.d.ts +10 -0
- package/dist/generated/client/commonInputTypes.d.ts +90 -0
- package/dist/generated/client/enums.d.ts +34 -0
- package/dist/generated/client/enums.js +31 -0
- package/dist/generated/client/internal/class.d.ts +22 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +208 -1
- package/dist/generated/client/internal/prismaNamespace.js +57 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +61 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +57 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +299 -1
- package/dist/generated/client/models/QuestionnairePhase.d.ts +413 -1
- package/dist/generated/client/models/QuestionnairePlan.d.ts +1844 -0
- package/dist/generated/client/models/QuestionnairePlan.js +1 -0
- package/dist/generated/client/models/QuestionnairePlanQuestion.d.ts +1444 -0
- package/dist/generated/client/models/QuestionnairePlanQuestion.js +1 -0
- package/dist/generated/client/models/Tenant.d.ts +549 -0
- package/dist/generated/client/models/index.d.ts +2 -0
- package/dist/generated/client/models/index.js +2 -0
- package/dist/generated/client/models.d.ts +2 -0
- package/dist/src/prisma/tenant.js +2 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +138 -0
|
@@ -260,6 +260,8 @@ export declare const ModelName: {
|
|
|
260
260
|
readonly PropertyAmenity: "PropertyAmenity";
|
|
261
261
|
readonly DocumentationPlan: "DocumentationPlan";
|
|
262
262
|
readonly DocumentationPlanStep: "DocumentationPlanStep";
|
|
263
|
+
readonly QuestionnairePlan: "QuestionnairePlan";
|
|
264
|
+
readonly QuestionnairePlanQuestion: "QuestionnairePlanQuestion";
|
|
263
265
|
readonly PaymentPlan: "PaymentPlan";
|
|
264
266
|
readonly PropertyPaymentMethod: "PropertyPaymentMethod";
|
|
265
267
|
readonly PropertyPaymentMethodLink: "PropertyPaymentMethodLink";
|
|
@@ -309,7 +311,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
309
311
|
omit: GlobalOmitOptions;
|
|
310
312
|
};
|
|
311
313
|
meta: {
|
|
312
|
-
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenantMembership" | "tenant" | "apiKey" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "documentationPlan" | "documentationPlanStep" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "phaseEventAttachment" | "paymentMethodPhaseStep" | "stepEventAttachment" | "paymentMethodPhaseDocument" | "paymentMethodPhaseField" | "application" | "applicationRefund" | "applicationPhase" | "questionnairePhase" | "documentationPhase" | "paymentPhase" | "questionnaireField" | "applicationEvent" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "paymentInstallment" | "applicationPayment" | "applicationDocument" | "documentTemplate" | "offerLetter" | "applicationTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "workflowEvent" | "eventHandlerExecution" | "domainEvent" | "propertyTransferRequest" | "approvalRequest" | "workflowBlocker";
|
|
314
|
+
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenantMembership" | "tenant" | "apiKey" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "documentationPlan" | "documentationPlanStep" | "questionnairePlan" | "questionnairePlanQuestion" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "phaseEventAttachment" | "paymentMethodPhaseStep" | "stepEventAttachment" | "paymentMethodPhaseDocument" | "paymentMethodPhaseField" | "application" | "applicationRefund" | "applicationPhase" | "questionnairePhase" | "documentationPhase" | "paymentPhase" | "questionnaireField" | "applicationEvent" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "paymentInstallment" | "applicationPayment" | "applicationDocument" | "documentTemplate" | "offerLetter" | "applicationTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "workflowEvent" | "eventHandlerExecution" | "domainEvent" | "propertyTransferRequest" | "approvalRequest" | "workflowBlocker";
|
|
313
315
|
txIsolationLevel: TransactionIsolationLevel;
|
|
314
316
|
};
|
|
315
317
|
model: {
|
|
@@ -2227,6 +2229,138 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
2227
2229
|
};
|
|
2228
2230
|
};
|
|
2229
2231
|
};
|
|
2232
|
+
QuestionnairePlan: {
|
|
2233
|
+
payload: Prisma.$QuestionnairePlanPayload<ExtArgs>;
|
|
2234
|
+
fields: Prisma.QuestionnairePlanFieldRefs;
|
|
2235
|
+
operations: {
|
|
2236
|
+
findUnique: {
|
|
2237
|
+
args: Prisma.QuestionnairePlanFindUniqueArgs<ExtArgs>;
|
|
2238
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanPayload> | null;
|
|
2239
|
+
};
|
|
2240
|
+
findUniqueOrThrow: {
|
|
2241
|
+
args: Prisma.QuestionnairePlanFindUniqueOrThrowArgs<ExtArgs>;
|
|
2242
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanPayload>;
|
|
2243
|
+
};
|
|
2244
|
+
findFirst: {
|
|
2245
|
+
args: Prisma.QuestionnairePlanFindFirstArgs<ExtArgs>;
|
|
2246
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanPayload> | null;
|
|
2247
|
+
};
|
|
2248
|
+
findFirstOrThrow: {
|
|
2249
|
+
args: Prisma.QuestionnairePlanFindFirstOrThrowArgs<ExtArgs>;
|
|
2250
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanPayload>;
|
|
2251
|
+
};
|
|
2252
|
+
findMany: {
|
|
2253
|
+
args: Prisma.QuestionnairePlanFindManyArgs<ExtArgs>;
|
|
2254
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanPayload>[];
|
|
2255
|
+
};
|
|
2256
|
+
create: {
|
|
2257
|
+
args: Prisma.QuestionnairePlanCreateArgs<ExtArgs>;
|
|
2258
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanPayload>;
|
|
2259
|
+
};
|
|
2260
|
+
createMany: {
|
|
2261
|
+
args: Prisma.QuestionnairePlanCreateManyArgs<ExtArgs>;
|
|
2262
|
+
result: BatchPayload;
|
|
2263
|
+
};
|
|
2264
|
+
delete: {
|
|
2265
|
+
args: Prisma.QuestionnairePlanDeleteArgs<ExtArgs>;
|
|
2266
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanPayload>;
|
|
2267
|
+
};
|
|
2268
|
+
update: {
|
|
2269
|
+
args: Prisma.QuestionnairePlanUpdateArgs<ExtArgs>;
|
|
2270
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanPayload>;
|
|
2271
|
+
};
|
|
2272
|
+
deleteMany: {
|
|
2273
|
+
args: Prisma.QuestionnairePlanDeleteManyArgs<ExtArgs>;
|
|
2274
|
+
result: BatchPayload;
|
|
2275
|
+
};
|
|
2276
|
+
updateMany: {
|
|
2277
|
+
args: Prisma.QuestionnairePlanUpdateManyArgs<ExtArgs>;
|
|
2278
|
+
result: BatchPayload;
|
|
2279
|
+
};
|
|
2280
|
+
upsert: {
|
|
2281
|
+
args: Prisma.QuestionnairePlanUpsertArgs<ExtArgs>;
|
|
2282
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanPayload>;
|
|
2283
|
+
};
|
|
2284
|
+
aggregate: {
|
|
2285
|
+
args: Prisma.QuestionnairePlanAggregateArgs<ExtArgs>;
|
|
2286
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateQuestionnairePlan>;
|
|
2287
|
+
};
|
|
2288
|
+
groupBy: {
|
|
2289
|
+
args: Prisma.QuestionnairePlanGroupByArgs<ExtArgs>;
|
|
2290
|
+
result: runtime.Types.Utils.Optional<Prisma.QuestionnairePlanGroupByOutputType>[];
|
|
2291
|
+
};
|
|
2292
|
+
count: {
|
|
2293
|
+
args: Prisma.QuestionnairePlanCountArgs<ExtArgs>;
|
|
2294
|
+
result: runtime.Types.Utils.Optional<Prisma.QuestionnairePlanCountAggregateOutputType> | number;
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
};
|
|
2298
|
+
QuestionnairePlanQuestion: {
|
|
2299
|
+
payload: Prisma.$QuestionnairePlanQuestionPayload<ExtArgs>;
|
|
2300
|
+
fields: Prisma.QuestionnairePlanQuestionFieldRefs;
|
|
2301
|
+
operations: {
|
|
2302
|
+
findUnique: {
|
|
2303
|
+
args: Prisma.QuestionnairePlanQuestionFindUniqueArgs<ExtArgs>;
|
|
2304
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanQuestionPayload> | null;
|
|
2305
|
+
};
|
|
2306
|
+
findUniqueOrThrow: {
|
|
2307
|
+
args: Prisma.QuestionnairePlanQuestionFindUniqueOrThrowArgs<ExtArgs>;
|
|
2308
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanQuestionPayload>;
|
|
2309
|
+
};
|
|
2310
|
+
findFirst: {
|
|
2311
|
+
args: Prisma.QuestionnairePlanQuestionFindFirstArgs<ExtArgs>;
|
|
2312
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanQuestionPayload> | null;
|
|
2313
|
+
};
|
|
2314
|
+
findFirstOrThrow: {
|
|
2315
|
+
args: Prisma.QuestionnairePlanQuestionFindFirstOrThrowArgs<ExtArgs>;
|
|
2316
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanQuestionPayload>;
|
|
2317
|
+
};
|
|
2318
|
+
findMany: {
|
|
2319
|
+
args: Prisma.QuestionnairePlanQuestionFindManyArgs<ExtArgs>;
|
|
2320
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanQuestionPayload>[];
|
|
2321
|
+
};
|
|
2322
|
+
create: {
|
|
2323
|
+
args: Prisma.QuestionnairePlanQuestionCreateArgs<ExtArgs>;
|
|
2324
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanQuestionPayload>;
|
|
2325
|
+
};
|
|
2326
|
+
createMany: {
|
|
2327
|
+
args: Prisma.QuestionnairePlanQuestionCreateManyArgs<ExtArgs>;
|
|
2328
|
+
result: BatchPayload;
|
|
2329
|
+
};
|
|
2330
|
+
delete: {
|
|
2331
|
+
args: Prisma.QuestionnairePlanQuestionDeleteArgs<ExtArgs>;
|
|
2332
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanQuestionPayload>;
|
|
2333
|
+
};
|
|
2334
|
+
update: {
|
|
2335
|
+
args: Prisma.QuestionnairePlanQuestionUpdateArgs<ExtArgs>;
|
|
2336
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanQuestionPayload>;
|
|
2337
|
+
};
|
|
2338
|
+
deleteMany: {
|
|
2339
|
+
args: Prisma.QuestionnairePlanQuestionDeleteManyArgs<ExtArgs>;
|
|
2340
|
+
result: BatchPayload;
|
|
2341
|
+
};
|
|
2342
|
+
updateMany: {
|
|
2343
|
+
args: Prisma.QuestionnairePlanQuestionUpdateManyArgs<ExtArgs>;
|
|
2344
|
+
result: BatchPayload;
|
|
2345
|
+
};
|
|
2346
|
+
upsert: {
|
|
2347
|
+
args: Prisma.QuestionnairePlanQuestionUpsertArgs<ExtArgs>;
|
|
2348
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$QuestionnairePlanQuestionPayload>;
|
|
2349
|
+
};
|
|
2350
|
+
aggregate: {
|
|
2351
|
+
args: Prisma.QuestionnairePlanQuestionAggregateArgs<ExtArgs>;
|
|
2352
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateQuestionnairePlanQuestion>;
|
|
2353
|
+
};
|
|
2354
|
+
groupBy: {
|
|
2355
|
+
args: Prisma.QuestionnairePlanQuestionGroupByArgs<ExtArgs>;
|
|
2356
|
+
result: runtime.Types.Utils.Optional<Prisma.QuestionnairePlanQuestionGroupByOutputType>[];
|
|
2357
|
+
};
|
|
2358
|
+
count: {
|
|
2359
|
+
args: Prisma.QuestionnairePlanQuestionCountArgs<ExtArgs>;
|
|
2360
|
+
result: runtime.Types.Utils.Optional<Prisma.QuestionnairePlanQuestionCountAggregateOutputType> | number;
|
|
2361
|
+
};
|
|
2362
|
+
};
|
|
2363
|
+
};
|
|
2230
2364
|
PaymentPlan: {
|
|
2231
2365
|
payload: Prisma.$PaymentPlanPayload<ExtArgs>;
|
|
2232
2366
|
fields: Prisma.PaymentPlanFieldRefs;
|
|
@@ -5041,6 +5175,41 @@ export declare const DocumentationPlanStepScalarFieldEnum: {
|
|
|
5041
5175
|
readonly updatedAt: "updatedAt";
|
|
5042
5176
|
};
|
|
5043
5177
|
export type DocumentationPlanStepScalarFieldEnum = (typeof DocumentationPlanStepScalarFieldEnum)[keyof typeof DocumentationPlanStepScalarFieldEnum];
|
|
5178
|
+
export declare const QuestionnairePlanScalarFieldEnum: {
|
|
5179
|
+
readonly id: "id";
|
|
5180
|
+
readonly tenantId: "tenantId";
|
|
5181
|
+
readonly name: "name";
|
|
5182
|
+
readonly description: "description";
|
|
5183
|
+
readonly version: "version";
|
|
5184
|
+
readonly isActive: "isActive";
|
|
5185
|
+
readonly passingScore: "passingScore";
|
|
5186
|
+
readonly scoringStrategy: "scoringStrategy";
|
|
5187
|
+
readonly autoDecisionEnabled: "autoDecisionEnabled";
|
|
5188
|
+
readonly estimatedMinutes: "estimatedMinutes";
|
|
5189
|
+
readonly category: "category";
|
|
5190
|
+
readonly createdAt: "createdAt";
|
|
5191
|
+
readonly updatedAt: "updatedAt";
|
|
5192
|
+
};
|
|
5193
|
+
export type QuestionnairePlanScalarFieldEnum = (typeof QuestionnairePlanScalarFieldEnum)[keyof typeof QuestionnairePlanScalarFieldEnum];
|
|
5194
|
+
export declare const QuestionnairePlanQuestionScalarFieldEnum: {
|
|
5195
|
+
readonly id: "id";
|
|
5196
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
5197
|
+
readonly questionKey: "questionKey";
|
|
5198
|
+
readonly questionText: "questionText";
|
|
5199
|
+
readonly helpText: "helpText";
|
|
5200
|
+
readonly questionType: "questionType";
|
|
5201
|
+
readonly order: "order";
|
|
5202
|
+
readonly isRequired: "isRequired";
|
|
5203
|
+
readonly validationRules: "validationRules";
|
|
5204
|
+
readonly options: "options";
|
|
5205
|
+
readonly scoreWeight: "scoreWeight";
|
|
5206
|
+
readonly scoringRules: "scoringRules";
|
|
5207
|
+
readonly showIf: "showIf";
|
|
5208
|
+
readonly category: "category";
|
|
5209
|
+
readonly createdAt: "createdAt";
|
|
5210
|
+
readonly updatedAt: "updatedAt";
|
|
5211
|
+
};
|
|
5212
|
+
export type QuestionnairePlanQuestionScalarFieldEnum = (typeof QuestionnairePlanQuestionScalarFieldEnum)[keyof typeof QuestionnairePlanQuestionScalarFieldEnum];
|
|
5044
5213
|
export declare const PaymentPlanScalarFieldEnum: {
|
|
5045
5214
|
readonly id: "id";
|
|
5046
5215
|
readonly tenantId: "tenantId";
|
|
@@ -5091,6 +5260,7 @@ export declare const PropertyPaymentMethodPhaseScalarFieldEnum: {
|
|
|
5091
5260
|
readonly paymentMethodId: "paymentMethodId";
|
|
5092
5261
|
readonly paymentPlanId: "paymentPlanId";
|
|
5093
5262
|
readonly documentationPlanId: "documentationPlanId";
|
|
5263
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
5094
5264
|
readonly name: "name";
|
|
5095
5265
|
readonly description: "description";
|
|
5096
5266
|
readonly phaseCategory: "phaseCategory";
|
|
@@ -5250,8 +5420,13 @@ export declare const QuestionnairePhaseScalarFieldEnum: {
|
|
|
5250
5420
|
readonly id: "id";
|
|
5251
5421
|
readonly tenantId: "tenantId";
|
|
5252
5422
|
readonly phaseId: "phaseId";
|
|
5423
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
5253
5424
|
readonly completedFieldsCount: "completedFieldsCount";
|
|
5254
5425
|
readonly totalFieldsCount: "totalFieldsCount";
|
|
5426
|
+
readonly totalScore: "totalScore";
|
|
5427
|
+
readonly passingScore: "passingScore";
|
|
5428
|
+
readonly passed: "passed";
|
|
5429
|
+
readonly scoredAt: "scoredAt";
|
|
5255
5430
|
readonly underwritingScore: "underwritingScore";
|
|
5256
5431
|
readonly debtToIncomeRatio: "debtToIncomeRatio";
|
|
5257
5432
|
readonly underwritingDecision: "underwritingDecision";
|
|
@@ -5996,6 +6171,22 @@ export declare const DocumentationPlanStepOrderByRelevanceFieldEnum: {
|
|
|
5996
6171
|
readonly documentType: "documentType";
|
|
5997
6172
|
};
|
|
5998
6173
|
export type DocumentationPlanStepOrderByRelevanceFieldEnum = (typeof DocumentationPlanStepOrderByRelevanceFieldEnum)[keyof typeof DocumentationPlanStepOrderByRelevanceFieldEnum];
|
|
6174
|
+
export declare const QuestionnairePlanOrderByRelevanceFieldEnum: {
|
|
6175
|
+
readonly id: "id";
|
|
6176
|
+
readonly tenantId: "tenantId";
|
|
6177
|
+
readonly name: "name";
|
|
6178
|
+
readonly description: "description";
|
|
6179
|
+
};
|
|
6180
|
+
export type QuestionnairePlanOrderByRelevanceFieldEnum = (typeof QuestionnairePlanOrderByRelevanceFieldEnum)[keyof typeof QuestionnairePlanOrderByRelevanceFieldEnum];
|
|
6181
|
+
export declare const QuestionnairePlanQuestionOrderByRelevanceFieldEnum: {
|
|
6182
|
+
readonly id: "id";
|
|
6183
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
6184
|
+
readonly questionKey: "questionKey";
|
|
6185
|
+
readonly questionText: "questionText";
|
|
6186
|
+
readonly helpText: "helpText";
|
|
6187
|
+
readonly category: "category";
|
|
6188
|
+
};
|
|
6189
|
+
export type QuestionnairePlanQuestionOrderByRelevanceFieldEnum = (typeof QuestionnairePlanQuestionOrderByRelevanceFieldEnum)[keyof typeof QuestionnairePlanQuestionOrderByRelevanceFieldEnum];
|
|
5999
6190
|
export declare const PaymentPlanOrderByRelevanceFieldEnum: {
|
|
6000
6191
|
readonly id: "id";
|
|
6001
6192
|
readonly tenantId: "tenantId";
|
|
@@ -6022,6 +6213,7 @@ export declare const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum: {
|
|
|
6022
6213
|
readonly paymentMethodId: "paymentMethodId";
|
|
6023
6214
|
readonly paymentPlanId: "paymentPlanId";
|
|
6024
6215
|
readonly documentationPlanId: "documentationPlanId";
|
|
6216
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
6025
6217
|
readonly name: "name";
|
|
6026
6218
|
readonly description: "description";
|
|
6027
6219
|
};
|
|
@@ -6111,6 +6303,7 @@ export declare const QuestionnairePhaseOrderByRelevanceFieldEnum: {
|
|
|
6111
6303
|
readonly id: "id";
|
|
6112
6304
|
readonly tenantId: "tenantId";
|
|
6113
6305
|
readonly phaseId: "phaseId";
|
|
6306
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
6114
6307
|
readonly underwritingDecision: "underwritingDecision";
|
|
6115
6308
|
readonly underwritingNotes: "underwritingNotes";
|
|
6116
6309
|
};
|
|
@@ -6412,6 +6605,18 @@ export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'In
|
|
|
6412
6605
|
* Reference to a field of type 'StepType'
|
|
6413
6606
|
*/
|
|
6414
6607
|
export type EnumStepTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'StepType'>;
|
|
6608
|
+
/**
|
|
6609
|
+
* Reference to a field of type 'ScoringStrategy'
|
|
6610
|
+
*/
|
|
6611
|
+
export type EnumScoringStrategyFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ScoringStrategy'>;
|
|
6612
|
+
/**
|
|
6613
|
+
* Reference to a field of type 'QuestionnaireCategory'
|
|
6614
|
+
*/
|
|
6615
|
+
export type EnumQuestionnaireCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QuestionnaireCategory'>;
|
|
6616
|
+
/**
|
|
6617
|
+
* Reference to a field of type 'QuestionType'
|
|
6618
|
+
*/
|
|
6619
|
+
export type EnumQuestionTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QuestionType'>;
|
|
6415
6620
|
/**
|
|
6416
6621
|
* Reference to a field of type 'PaymentFrequency'
|
|
6417
6622
|
*/
|
|
@@ -6679,6 +6884,8 @@ export type GlobalOmitConfig = {
|
|
|
6679
6884
|
propertyAmenity?: Prisma.PropertyAmenityOmit;
|
|
6680
6885
|
documentationPlan?: Prisma.DocumentationPlanOmit;
|
|
6681
6886
|
documentationPlanStep?: Prisma.DocumentationPlanStepOmit;
|
|
6887
|
+
questionnairePlan?: Prisma.QuestionnairePlanOmit;
|
|
6888
|
+
questionnairePlanQuestion?: Prisma.QuestionnairePlanQuestionOmit;
|
|
6682
6889
|
paymentPlan?: Prisma.PaymentPlanOmit;
|
|
6683
6890
|
propertyPaymentMethod?: Prisma.PropertyPaymentMethodOmit;
|
|
6684
6891
|
propertyPaymentMethodLink?: Prisma.PropertyPaymentMethodLinkOmit;
|
|
@@ -96,6 +96,8 @@ export const ModelName = {
|
|
|
96
96
|
PropertyAmenity: 'PropertyAmenity',
|
|
97
97
|
DocumentationPlan: 'DocumentationPlan',
|
|
98
98
|
DocumentationPlanStep: 'DocumentationPlanStep',
|
|
99
|
+
QuestionnairePlan: 'QuestionnairePlan',
|
|
100
|
+
QuestionnairePlanQuestion: 'QuestionnairePlanQuestion',
|
|
99
101
|
PaymentPlan: 'PaymentPlan',
|
|
100
102
|
PropertyPaymentMethod: 'PropertyPaymentMethod',
|
|
101
103
|
PropertyPaymentMethodLink: 'PropertyPaymentMethodLink',
|
|
@@ -452,6 +454,39 @@ export const DocumentationPlanStepScalarFieldEnum = {
|
|
|
452
454
|
createdAt: 'createdAt',
|
|
453
455
|
updatedAt: 'updatedAt'
|
|
454
456
|
};
|
|
457
|
+
export const QuestionnairePlanScalarFieldEnum = {
|
|
458
|
+
id: 'id',
|
|
459
|
+
tenantId: 'tenantId',
|
|
460
|
+
name: 'name',
|
|
461
|
+
description: 'description',
|
|
462
|
+
version: 'version',
|
|
463
|
+
isActive: 'isActive',
|
|
464
|
+
passingScore: 'passingScore',
|
|
465
|
+
scoringStrategy: 'scoringStrategy',
|
|
466
|
+
autoDecisionEnabled: 'autoDecisionEnabled',
|
|
467
|
+
estimatedMinutes: 'estimatedMinutes',
|
|
468
|
+
category: 'category',
|
|
469
|
+
createdAt: 'createdAt',
|
|
470
|
+
updatedAt: 'updatedAt'
|
|
471
|
+
};
|
|
472
|
+
export const QuestionnairePlanQuestionScalarFieldEnum = {
|
|
473
|
+
id: 'id',
|
|
474
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
475
|
+
questionKey: 'questionKey',
|
|
476
|
+
questionText: 'questionText',
|
|
477
|
+
helpText: 'helpText',
|
|
478
|
+
questionType: 'questionType',
|
|
479
|
+
order: 'order',
|
|
480
|
+
isRequired: 'isRequired',
|
|
481
|
+
validationRules: 'validationRules',
|
|
482
|
+
options: 'options',
|
|
483
|
+
scoreWeight: 'scoreWeight',
|
|
484
|
+
scoringRules: 'scoringRules',
|
|
485
|
+
showIf: 'showIf',
|
|
486
|
+
category: 'category',
|
|
487
|
+
createdAt: 'createdAt',
|
|
488
|
+
updatedAt: 'updatedAt'
|
|
489
|
+
};
|
|
455
490
|
export const PaymentPlanScalarFieldEnum = {
|
|
456
491
|
id: 'id',
|
|
457
492
|
tenantId: 'tenantId',
|
|
@@ -499,6 +534,7 @@ export const PropertyPaymentMethodPhaseScalarFieldEnum = {
|
|
|
499
534
|
paymentMethodId: 'paymentMethodId',
|
|
500
535
|
paymentPlanId: 'paymentPlanId',
|
|
501
536
|
documentationPlanId: 'documentationPlanId',
|
|
537
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
502
538
|
name: 'name',
|
|
503
539
|
description: 'description',
|
|
504
540
|
phaseCategory: 'phaseCategory',
|
|
@@ -649,8 +685,13 @@ export const QuestionnairePhaseScalarFieldEnum = {
|
|
|
649
685
|
id: 'id',
|
|
650
686
|
tenantId: 'tenantId',
|
|
651
687
|
phaseId: 'phaseId',
|
|
688
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
652
689
|
completedFieldsCount: 'completedFieldsCount',
|
|
653
690
|
totalFieldsCount: 'totalFieldsCount',
|
|
691
|
+
totalScore: 'totalScore',
|
|
692
|
+
passingScore: 'passingScore',
|
|
693
|
+
passed: 'passed',
|
|
694
|
+
scoredAt: 'scoredAt',
|
|
654
695
|
underwritingScore: 'underwritingScore',
|
|
655
696
|
debtToIncomeRatio: 'debtToIncomeRatio',
|
|
656
697
|
underwritingDecision: 'underwritingDecision',
|
|
@@ -1335,6 +1376,20 @@ export const DocumentationPlanStepOrderByRelevanceFieldEnum = {
|
|
|
1335
1376
|
name: 'name',
|
|
1336
1377
|
documentType: 'documentType'
|
|
1337
1378
|
};
|
|
1379
|
+
export const QuestionnairePlanOrderByRelevanceFieldEnum = {
|
|
1380
|
+
id: 'id',
|
|
1381
|
+
tenantId: 'tenantId',
|
|
1382
|
+
name: 'name',
|
|
1383
|
+
description: 'description'
|
|
1384
|
+
};
|
|
1385
|
+
export const QuestionnairePlanQuestionOrderByRelevanceFieldEnum = {
|
|
1386
|
+
id: 'id',
|
|
1387
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
1388
|
+
questionKey: 'questionKey',
|
|
1389
|
+
questionText: 'questionText',
|
|
1390
|
+
helpText: 'helpText',
|
|
1391
|
+
category: 'category'
|
|
1392
|
+
};
|
|
1338
1393
|
export const PaymentPlanOrderByRelevanceFieldEnum = {
|
|
1339
1394
|
id: 'id',
|
|
1340
1395
|
tenantId: 'tenantId',
|
|
@@ -1358,6 +1413,7 @@ export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
|
|
|
1358
1413
|
paymentMethodId: 'paymentMethodId',
|
|
1359
1414
|
paymentPlanId: 'paymentPlanId',
|
|
1360
1415
|
documentationPlanId: 'documentationPlanId',
|
|
1416
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
1361
1417
|
name: 'name',
|
|
1362
1418
|
description: 'description'
|
|
1363
1419
|
};
|
|
@@ -1438,6 +1494,7 @@ export const QuestionnairePhaseOrderByRelevanceFieldEnum = {
|
|
|
1438
1494
|
id: 'id',
|
|
1439
1495
|
tenantId: 'tenantId',
|
|
1440
1496
|
phaseId: 'phaseId',
|
|
1497
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
1441
1498
|
underwritingDecision: 'underwritingDecision',
|
|
1442
1499
|
underwritingNotes: 'underwritingNotes'
|
|
1443
1500
|
};
|
|
@@ -55,6 +55,8 @@ export declare const ModelName: {
|
|
|
55
55
|
readonly PropertyAmenity: "PropertyAmenity";
|
|
56
56
|
readonly DocumentationPlan: "DocumentationPlan";
|
|
57
57
|
readonly DocumentationPlanStep: "DocumentationPlanStep";
|
|
58
|
+
readonly QuestionnairePlan: "QuestionnairePlan";
|
|
59
|
+
readonly QuestionnairePlanQuestion: "QuestionnairePlanQuestion";
|
|
58
60
|
readonly PaymentPlan: "PaymentPlan";
|
|
59
61
|
readonly PropertyPaymentMethod: "PropertyPaymentMethod";
|
|
60
62
|
readonly PropertyPaymentMethodLink: "PropertyPaymentMethodLink";
|
|
@@ -439,6 +441,41 @@ export declare const DocumentationPlanStepScalarFieldEnum: {
|
|
|
439
441
|
readonly updatedAt: "updatedAt";
|
|
440
442
|
};
|
|
441
443
|
export type DocumentationPlanStepScalarFieldEnum = (typeof DocumentationPlanStepScalarFieldEnum)[keyof typeof DocumentationPlanStepScalarFieldEnum];
|
|
444
|
+
export declare const QuestionnairePlanScalarFieldEnum: {
|
|
445
|
+
readonly id: "id";
|
|
446
|
+
readonly tenantId: "tenantId";
|
|
447
|
+
readonly name: "name";
|
|
448
|
+
readonly description: "description";
|
|
449
|
+
readonly version: "version";
|
|
450
|
+
readonly isActive: "isActive";
|
|
451
|
+
readonly passingScore: "passingScore";
|
|
452
|
+
readonly scoringStrategy: "scoringStrategy";
|
|
453
|
+
readonly autoDecisionEnabled: "autoDecisionEnabled";
|
|
454
|
+
readonly estimatedMinutes: "estimatedMinutes";
|
|
455
|
+
readonly category: "category";
|
|
456
|
+
readonly createdAt: "createdAt";
|
|
457
|
+
readonly updatedAt: "updatedAt";
|
|
458
|
+
};
|
|
459
|
+
export type QuestionnairePlanScalarFieldEnum = (typeof QuestionnairePlanScalarFieldEnum)[keyof typeof QuestionnairePlanScalarFieldEnum];
|
|
460
|
+
export declare const QuestionnairePlanQuestionScalarFieldEnum: {
|
|
461
|
+
readonly id: "id";
|
|
462
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
463
|
+
readonly questionKey: "questionKey";
|
|
464
|
+
readonly questionText: "questionText";
|
|
465
|
+
readonly helpText: "helpText";
|
|
466
|
+
readonly questionType: "questionType";
|
|
467
|
+
readonly order: "order";
|
|
468
|
+
readonly isRequired: "isRequired";
|
|
469
|
+
readonly validationRules: "validationRules";
|
|
470
|
+
readonly options: "options";
|
|
471
|
+
readonly scoreWeight: "scoreWeight";
|
|
472
|
+
readonly scoringRules: "scoringRules";
|
|
473
|
+
readonly showIf: "showIf";
|
|
474
|
+
readonly category: "category";
|
|
475
|
+
readonly createdAt: "createdAt";
|
|
476
|
+
readonly updatedAt: "updatedAt";
|
|
477
|
+
};
|
|
478
|
+
export type QuestionnairePlanQuestionScalarFieldEnum = (typeof QuestionnairePlanQuestionScalarFieldEnum)[keyof typeof QuestionnairePlanQuestionScalarFieldEnum];
|
|
442
479
|
export declare const PaymentPlanScalarFieldEnum: {
|
|
443
480
|
readonly id: "id";
|
|
444
481
|
readonly tenantId: "tenantId";
|
|
@@ -489,6 +526,7 @@ export declare const PropertyPaymentMethodPhaseScalarFieldEnum: {
|
|
|
489
526
|
readonly paymentMethodId: "paymentMethodId";
|
|
490
527
|
readonly paymentPlanId: "paymentPlanId";
|
|
491
528
|
readonly documentationPlanId: "documentationPlanId";
|
|
529
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
492
530
|
readonly name: "name";
|
|
493
531
|
readonly description: "description";
|
|
494
532
|
readonly phaseCategory: "phaseCategory";
|
|
@@ -648,8 +686,13 @@ export declare const QuestionnairePhaseScalarFieldEnum: {
|
|
|
648
686
|
readonly id: "id";
|
|
649
687
|
readonly tenantId: "tenantId";
|
|
650
688
|
readonly phaseId: "phaseId";
|
|
689
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
651
690
|
readonly completedFieldsCount: "completedFieldsCount";
|
|
652
691
|
readonly totalFieldsCount: "totalFieldsCount";
|
|
692
|
+
readonly totalScore: "totalScore";
|
|
693
|
+
readonly passingScore: "passingScore";
|
|
694
|
+
readonly passed: "passed";
|
|
695
|
+
readonly scoredAt: "scoredAt";
|
|
653
696
|
readonly underwritingScore: "underwritingScore";
|
|
654
697
|
readonly debtToIncomeRatio: "debtToIncomeRatio";
|
|
655
698
|
readonly underwritingDecision: "underwritingDecision";
|
|
@@ -1394,6 +1437,22 @@ export declare const DocumentationPlanStepOrderByRelevanceFieldEnum: {
|
|
|
1394
1437
|
readonly documentType: "documentType";
|
|
1395
1438
|
};
|
|
1396
1439
|
export type DocumentationPlanStepOrderByRelevanceFieldEnum = (typeof DocumentationPlanStepOrderByRelevanceFieldEnum)[keyof typeof DocumentationPlanStepOrderByRelevanceFieldEnum];
|
|
1440
|
+
export declare const QuestionnairePlanOrderByRelevanceFieldEnum: {
|
|
1441
|
+
readonly id: "id";
|
|
1442
|
+
readonly tenantId: "tenantId";
|
|
1443
|
+
readonly name: "name";
|
|
1444
|
+
readonly description: "description";
|
|
1445
|
+
};
|
|
1446
|
+
export type QuestionnairePlanOrderByRelevanceFieldEnum = (typeof QuestionnairePlanOrderByRelevanceFieldEnum)[keyof typeof QuestionnairePlanOrderByRelevanceFieldEnum];
|
|
1447
|
+
export declare const QuestionnairePlanQuestionOrderByRelevanceFieldEnum: {
|
|
1448
|
+
readonly id: "id";
|
|
1449
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
1450
|
+
readonly questionKey: "questionKey";
|
|
1451
|
+
readonly questionText: "questionText";
|
|
1452
|
+
readonly helpText: "helpText";
|
|
1453
|
+
readonly category: "category";
|
|
1454
|
+
};
|
|
1455
|
+
export type QuestionnairePlanQuestionOrderByRelevanceFieldEnum = (typeof QuestionnairePlanQuestionOrderByRelevanceFieldEnum)[keyof typeof QuestionnairePlanQuestionOrderByRelevanceFieldEnum];
|
|
1397
1456
|
export declare const PaymentPlanOrderByRelevanceFieldEnum: {
|
|
1398
1457
|
readonly id: "id";
|
|
1399
1458
|
readonly tenantId: "tenantId";
|
|
@@ -1420,6 +1479,7 @@ export declare const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum: {
|
|
|
1420
1479
|
readonly paymentMethodId: "paymentMethodId";
|
|
1421
1480
|
readonly paymentPlanId: "paymentPlanId";
|
|
1422
1481
|
readonly documentationPlanId: "documentationPlanId";
|
|
1482
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
1423
1483
|
readonly name: "name";
|
|
1424
1484
|
readonly description: "description";
|
|
1425
1485
|
};
|
|
@@ -1509,6 +1569,7 @@ export declare const QuestionnairePhaseOrderByRelevanceFieldEnum: {
|
|
|
1509
1569
|
readonly id: "id";
|
|
1510
1570
|
readonly tenantId: "tenantId";
|
|
1511
1571
|
readonly phaseId: "phaseId";
|
|
1572
|
+
readonly questionnairePlanId: "questionnairePlanId";
|
|
1512
1573
|
readonly underwritingDecision: "underwritingDecision";
|
|
1513
1574
|
readonly underwritingNotes: "underwritingNotes";
|
|
1514
1575
|
};
|
|
@@ -68,6 +68,8 @@ export const ModelName = {
|
|
|
68
68
|
PropertyAmenity: 'PropertyAmenity',
|
|
69
69
|
DocumentationPlan: 'DocumentationPlan',
|
|
70
70
|
DocumentationPlanStep: 'DocumentationPlanStep',
|
|
71
|
+
QuestionnairePlan: 'QuestionnairePlan',
|
|
72
|
+
QuestionnairePlanQuestion: 'QuestionnairePlanQuestion',
|
|
71
73
|
PaymentPlan: 'PaymentPlan',
|
|
72
74
|
PropertyPaymentMethod: 'PropertyPaymentMethod',
|
|
73
75
|
PropertyPaymentMethodLink: 'PropertyPaymentMethodLink',
|
|
@@ -424,6 +426,39 @@ export const DocumentationPlanStepScalarFieldEnum = {
|
|
|
424
426
|
createdAt: 'createdAt',
|
|
425
427
|
updatedAt: 'updatedAt'
|
|
426
428
|
};
|
|
429
|
+
export const QuestionnairePlanScalarFieldEnum = {
|
|
430
|
+
id: 'id',
|
|
431
|
+
tenantId: 'tenantId',
|
|
432
|
+
name: 'name',
|
|
433
|
+
description: 'description',
|
|
434
|
+
version: 'version',
|
|
435
|
+
isActive: 'isActive',
|
|
436
|
+
passingScore: 'passingScore',
|
|
437
|
+
scoringStrategy: 'scoringStrategy',
|
|
438
|
+
autoDecisionEnabled: 'autoDecisionEnabled',
|
|
439
|
+
estimatedMinutes: 'estimatedMinutes',
|
|
440
|
+
category: 'category',
|
|
441
|
+
createdAt: 'createdAt',
|
|
442
|
+
updatedAt: 'updatedAt'
|
|
443
|
+
};
|
|
444
|
+
export const QuestionnairePlanQuestionScalarFieldEnum = {
|
|
445
|
+
id: 'id',
|
|
446
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
447
|
+
questionKey: 'questionKey',
|
|
448
|
+
questionText: 'questionText',
|
|
449
|
+
helpText: 'helpText',
|
|
450
|
+
questionType: 'questionType',
|
|
451
|
+
order: 'order',
|
|
452
|
+
isRequired: 'isRequired',
|
|
453
|
+
validationRules: 'validationRules',
|
|
454
|
+
options: 'options',
|
|
455
|
+
scoreWeight: 'scoreWeight',
|
|
456
|
+
scoringRules: 'scoringRules',
|
|
457
|
+
showIf: 'showIf',
|
|
458
|
+
category: 'category',
|
|
459
|
+
createdAt: 'createdAt',
|
|
460
|
+
updatedAt: 'updatedAt'
|
|
461
|
+
};
|
|
427
462
|
export const PaymentPlanScalarFieldEnum = {
|
|
428
463
|
id: 'id',
|
|
429
464
|
tenantId: 'tenantId',
|
|
@@ -471,6 +506,7 @@ export const PropertyPaymentMethodPhaseScalarFieldEnum = {
|
|
|
471
506
|
paymentMethodId: 'paymentMethodId',
|
|
472
507
|
paymentPlanId: 'paymentPlanId',
|
|
473
508
|
documentationPlanId: 'documentationPlanId',
|
|
509
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
474
510
|
name: 'name',
|
|
475
511
|
description: 'description',
|
|
476
512
|
phaseCategory: 'phaseCategory',
|
|
@@ -621,8 +657,13 @@ export const QuestionnairePhaseScalarFieldEnum = {
|
|
|
621
657
|
id: 'id',
|
|
622
658
|
tenantId: 'tenantId',
|
|
623
659
|
phaseId: 'phaseId',
|
|
660
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
624
661
|
completedFieldsCount: 'completedFieldsCount',
|
|
625
662
|
totalFieldsCount: 'totalFieldsCount',
|
|
663
|
+
totalScore: 'totalScore',
|
|
664
|
+
passingScore: 'passingScore',
|
|
665
|
+
passed: 'passed',
|
|
666
|
+
scoredAt: 'scoredAt',
|
|
626
667
|
underwritingScore: 'underwritingScore',
|
|
627
668
|
debtToIncomeRatio: 'debtToIncomeRatio',
|
|
628
669
|
underwritingDecision: 'underwritingDecision',
|
|
@@ -1307,6 +1348,20 @@ export const DocumentationPlanStepOrderByRelevanceFieldEnum = {
|
|
|
1307
1348
|
name: 'name',
|
|
1308
1349
|
documentType: 'documentType'
|
|
1309
1350
|
};
|
|
1351
|
+
export const QuestionnairePlanOrderByRelevanceFieldEnum = {
|
|
1352
|
+
id: 'id',
|
|
1353
|
+
tenantId: 'tenantId',
|
|
1354
|
+
name: 'name',
|
|
1355
|
+
description: 'description'
|
|
1356
|
+
};
|
|
1357
|
+
export const QuestionnairePlanQuestionOrderByRelevanceFieldEnum = {
|
|
1358
|
+
id: 'id',
|
|
1359
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
1360
|
+
questionKey: 'questionKey',
|
|
1361
|
+
questionText: 'questionText',
|
|
1362
|
+
helpText: 'helpText',
|
|
1363
|
+
category: 'category'
|
|
1364
|
+
};
|
|
1310
1365
|
export const PaymentPlanOrderByRelevanceFieldEnum = {
|
|
1311
1366
|
id: 'id',
|
|
1312
1367
|
tenantId: 'tenantId',
|
|
@@ -1330,6 +1385,7 @@ export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
|
|
|
1330
1385
|
paymentMethodId: 'paymentMethodId',
|
|
1331
1386
|
paymentPlanId: 'paymentPlanId',
|
|
1332
1387
|
documentationPlanId: 'documentationPlanId',
|
|
1388
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
1333
1389
|
name: 'name',
|
|
1334
1390
|
description: 'description'
|
|
1335
1391
|
};
|
|
@@ -1410,6 +1466,7 @@ export const QuestionnairePhaseOrderByRelevanceFieldEnum = {
|
|
|
1410
1466
|
id: 'id',
|
|
1411
1467
|
tenantId: 'tenantId',
|
|
1412
1468
|
phaseId: 'phaseId',
|
|
1469
|
+
questionnairePlanId: 'questionnairePlanId',
|
|
1413
1470
|
underwritingDecision: 'underwritingDecision',
|
|
1414
1471
|
underwritingNotes: 'underwritingNotes'
|
|
1415
1472
|
};
|