@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.
- package/dist/generated/client/browser.d.ts +25 -0
- package/dist/generated/client/client.d.ts +25 -0
- package/dist/generated/client/commonInputTypes.d.ts +30 -0
- package/dist/generated/client/enums.d.ts +18 -0
- package/dist/generated/client/enums.js +17 -0
- package/dist/generated/client/internal/class.d.ts +55 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +469 -42
- package/dist/generated/client/internal/prismaNamespace.js +118 -40
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +129 -41
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +118 -40
- package/dist/generated/client/models/Contract.d.ts +303 -1574
- package/dist/generated/client/models/ContractInstallment.d.ts +77 -77
- package/dist/generated/client/models/ContractPhase.d.ts +339 -1376
- package/dist/generated/client/models/DocumentationPhase.d.ts +1649 -0
- package/dist/generated/client/models/DocumentationPhase.js +1 -0
- package/dist/generated/client/models/DocumentationStep.d.ts +126 -387
- package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +1378 -0
- package/dist/generated/client/models/PaymentMethodPhaseField.js +1 -0
- package/dist/generated/client/models/PaymentPhase.d.ts +1566 -0
- package/dist/generated/client/models/PaymentPhase.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +53 -53
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +171 -0
- package/dist/generated/client/models/PropertyTransferRequest.d.ts +196 -70
- package/dist/generated/client/models/QuestionnaireField.d.ts +1495 -0
- package/dist/generated/client/models/QuestionnaireField.js +1 -0
- package/dist/generated/client/models/QuestionnairePhase.d.ts +1383 -0
- package/dist/generated/client/models/QuestionnairePhase.js +1 -0
- package/dist/generated/client/models.d.ts +5 -0
- package/package.json +1 -1
- package/prisma/migrations/20260109132751_update_transfer_flow/migration.sql +343 -0
- package/prisma/schema.prisma +304 -98
|
@@ -72,9 +72,14 @@ export const ModelName = {
|
|
|
72
72
|
PaymentMethodPhaseStep: 'PaymentMethodPhaseStep',
|
|
73
73
|
StepEventAttachment: 'StepEventAttachment',
|
|
74
74
|
PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
|
|
75
|
+
PaymentMethodPhaseField: 'PaymentMethodPhaseField',
|
|
75
76
|
Contract: 'Contract',
|
|
76
77
|
ContractRefund: 'ContractRefund',
|
|
77
78
|
ContractPhase: 'ContractPhase',
|
|
79
|
+
QuestionnairePhase: 'QuestionnairePhase',
|
|
80
|
+
DocumentationPhase: 'DocumentationPhase',
|
|
81
|
+
PaymentPhase: 'PaymentPhase',
|
|
82
|
+
QuestionnaireField: 'QuestionnaireField',
|
|
78
83
|
ContractEvent: 'ContractEvent',
|
|
79
84
|
DocumentationStep: 'DocumentationStep',
|
|
80
85
|
DocumentationStepDocument: 'DocumentationStepDocument',
|
|
@@ -451,6 +456,22 @@ export const PaymentMethodPhaseDocumentScalarFieldEnum = {
|
|
|
451
456
|
metadata: 'metadata',
|
|
452
457
|
createdAt: 'createdAt'
|
|
453
458
|
};
|
|
459
|
+
export const PaymentMethodPhaseFieldScalarFieldEnum = {
|
|
460
|
+
id: 'id',
|
|
461
|
+
phaseId: 'phaseId',
|
|
462
|
+
name: 'name',
|
|
463
|
+
label: 'label',
|
|
464
|
+
description: 'description',
|
|
465
|
+
placeholder: 'placeholder',
|
|
466
|
+
fieldType: 'fieldType',
|
|
467
|
+
isRequired: 'isRequired',
|
|
468
|
+
order: 'order',
|
|
469
|
+
validation: 'validation',
|
|
470
|
+
displayCondition: 'displayCondition',
|
|
471
|
+
defaultValue: 'defaultValue',
|
|
472
|
+
createdAt: 'createdAt',
|
|
473
|
+
updatedAt: 'updatedAt'
|
|
474
|
+
};
|
|
454
475
|
export const ContractScalarFieldEnum = {
|
|
455
476
|
id: 'id',
|
|
456
477
|
tenantId: 'tenantId',
|
|
@@ -463,21 +484,7 @@ export const ContractScalarFieldEnum = {
|
|
|
463
484
|
description: 'description',
|
|
464
485
|
contractType: 'contractType',
|
|
465
486
|
totalAmount: 'totalAmount',
|
|
466
|
-
downPayment: 'downPayment',
|
|
467
|
-
downPaymentPaid: 'downPaymentPaid',
|
|
468
|
-
principal: 'principal',
|
|
469
|
-
interestRate: 'interestRate',
|
|
470
|
-
termMonths: 'termMonths',
|
|
471
|
-
periodicPayment: 'periodicPayment',
|
|
472
|
-
totalPaidToDate: 'totalPaidToDate',
|
|
473
|
-
totalInterestPaid: 'totalInterestPaid',
|
|
474
|
-
monthlyIncome: 'monthlyIncome',
|
|
475
|
-
monthlyExpenses: 'monthlyExpenses',
|
|
476
|
-
preApprovalAnswers: 'preApprovalAnswers',
|
|
477
|
-
underwritingScore: 'underwritingScore',
|
|
478
|
-
debtToIncomeRatio: 'debtToIncomeRatio',
|
|
479
487
|
status: 'status',
|
|
480
|
-
state: 'state',
|
|
481
488
|
currentPhaseId: 'currentPhaseId',
|
|
482
489
|
nextPaymentDueDate: 'nextPaymentDueDate',
|
|
483
490
|
lastReminderSentAt: 'lastReminderSentAt',
|
|
@@ -517,37 +524,82 @@ export const ContractRefundScalarFieldEnum = {
|
|
|
517
524
|
export const ContractPhaseScalarFieldEnum = {
|
|
518
525
|
id: 'id',
|
|
519
526
|
contractId: 'contractId',
|
|
520
|
-
paymentPlanId: 'paymentPlanId',
|
|
521
527
|
name: 'name',
|
|
522
528
|
description: 'description',
|
|
523
529
|
phaseCategory: 'phaseCategory',
|
|
524
530
|
phaseType: 'phaseType',
|
|
525
531
|
order: 'order',
|
|
526
532
|
status: 'status',
|
|
527
|
-
currentStepId: 'currentStepId',
|
|
528
|
-
totalAmount: 'totalAmount',
|
|
529
|
-
paidAmount: 'paidAmount',
|
|
530
|
-
remainingAmount: 'remainingAmount',
|
|
531
|
-
interestRate: 'interestRate',
|
|
532
|
-
collectFunds: 'collectFunds',
|
|
533
|
-
approvedDocumentsCount: 'approvedDocumentsCount',
|
|
534
|
-
requiredDocumentsCount: 'requiredDocumentsCount',
|
|
535
|
-
completedStepsCount: 'completedStepsCount',
|
|
536
|
-
totalStepsCount: 'totalStepsCount',
|
|
537
533
|
dueDate: 'dueDate',
|
|
538
534
|
startDate: 'startDate',
|
|
539
535
|
endDate: 'endDate',
|
|
540
536
|
activatedAt: 'activatedAt',
|
|
541
537
|
completedAt: 'completedAt',
|
|
542
538
|
requiresPreviousPhaseCompletion: 'requiresPreviousPhaseCompletion',
|
|
539
|
+
createdAt: 'createdAt',
|
|
540
|
+
updatedAt: 'updatedAt'
|
|
541
|
+
};
|
|
542
|
+
export const QuestionnairePhaseScalarFieldEnum = {
|
|
543
|
+
id: 'id',
|
|
544
|
+
phaseId: 'phaseId',
|
|
545
|
+
completedFieldsCount: 'completedFieldsCount',
|
|
546
|
+
totalFieldsCount: 'totalFieldsCount',
|
|
547
|
+
underwritingScore: 'underwritingScore',
|
|
548
|
+
debtToIncomeRatio: 'debtToIncomeRatio',
|
|
549
|
+
underwritingDecision: 'underwritingDecision',
|
|
550
|
+
underwritingNotes: 'underwritingNotes',
|
|
551
|
+
fieldsSnapshot: 'fieldsSnapshot',
|
|
552
|
+
createdAt: 'createdAt',
|
|
553
|
+
updatedAt: 'updatedAt'
|
|
554
|
+
};
|
|
555
|
+
export const DocumentationPhaseScalarFieldEnum = {
|
|
556
|
+
id: 'id',
|
|
557
|
+
phaseId: 'phaseId',
|
|
558
|
+
currentStepId: 'currentStepId',
|
|
559
|
+
approvedDocumentsCount: 'approvedDocumentsCount',
|
|
560
|
+
requiredDocumentsCount: 'requiredDocumentsCount',
|
|
561
|
+
completedStepsCount: 'completedStepsCount',
|
|
562
|
+
totalStepsCount: 'totalStepsCount',
|
|
543
563
|
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
544
564
|
completionCriterion: 'completionCriterion',
|
|
545
|
-
paymentPlanSnapshot: 'paymentPlanSnapshot',
|
|
546
565
|
stepDefinitionsSnapshot: 'stepDefinitionsSnapshot',
|
|
547
566
|
requiredDocumentSnapshot: 'requiredDocumentSnapshot',
|
|
548
567
|
createdAt: 'createdAt',
|
|
549
568
|
updatedAt: 'updatedAt'
|
|
550
569
|
};
|
|
570
|
+
export const PaymentPhaseScalarFieldEnum = {
|
|
571
|
+
id: 'id',
|
|
572
|
+
phaseId: 'phaseId',
|
|
573
|
+
paymentPlanId: 'paymentPlanId',
|
|
574
|
+
totalAmount: 'totalAmount',
|
|
575
|
+
paidAmount: 'paidAmount',
|
|
576
|
+
interestRate: 'interestRate',
|
|
577
|
+
collectFunds: 'collectFunds',
|
|
578
|
+
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
579
|
+
paymentPlanSnapshot: 'paymentPlanSnapshot',
|
|
580
|
+
createdAt: 'createdAt',
|
|
581
|
+
updatedAt: 'updatedAt'
|
|
582
|
+
};
|
|
583
|
+
export const QuestionnaireFieldScalarFieldEnum = {
|
|
584
|
+
id: 'id',
|
|
585
|
+
questionnairePhaseId: 'questionnairePhaseId',
|
|
586
|
+
name: 'name',
|
|
587
|
+
label: 'label',
|
|
588
|
+
description: 'description',
|
|
589
|
+
placeholder: 'placeholder',
|
|
590
|
+
fieldType: 'fieldType',
|
|
591
|
+
isRequired: 'isRequired',
|
|
592
|
+
order: 'order',
|
|
593
|
+
validation: 'validation',
|
|
594
|
+
displayCondition: 'displayCondition',
|
|
595
|
+
defaultValue: 'defaultValue',
|
|
596
|
+
answer: 'answer',
|
|
597
|
+
isValid: 'isValid',
|
|
598
|
+
validationErrors: 'validationErrors',
|
|
599
|
+
submittedAt: 'submittedAt',
|
|
600
|
+
createdAt: 'createdAt',
|
|
601
|
+
updatedAt: 'updatedAt'
|
|
602
|
+
};
|
|
551
603
|
export const ContractEventScalarFieldEnum = {
|
|
552
604
|
id: 'id',
|
|
553
605
|
contractId: 'contractId',
|
|
@@ -563,7 +615,7 @@ export const ContractEventScalarFieldEnum = {
|
|
|
563
615
|
};
|
|
564
616
|
export const DocumentationStepScalarFieldEnum = {
|
|
565
617
|
id: 'id',
|
|
566
|
-
|
|
618
|
+
documentationPhaseId: 'documentationPhaseId',
|
|
567
619
|
name: 'name',
|
|
568
620
|
description: 'description',
|
|
569
621
|
stepType: 'stepType',
|
|
@@ -573,11 +625,6 @@ export const DocumentationStepScalarFieldEnum = {
|
|
|
573
625
|
submissionCount: 'submissionCount',
|
|
574
626
|
lastSubmittedAt: 'lastSubmittedAt',
|
|
575
627
|
metadata: 'metadata',
|
|
576
|
-
preApprovalAnswers: 'preApprovalAnswers',
|
|
577
|
-
underwritingScore: 'underwritingScore',
|
|
578
|
-
debtToIncomeRatio: 'debtToIncomeRatio',
|
|
579
|
-
underwritingDecision: 'underwritingDecision',
|
|
580
|
-
underwritingNotes: 'underwritingNotes',
|
|
581
628
|
assigneeId: 'assigneeId',
|
|
582
629
|
dueDate: 'dueDate',
|
|
583
630
|
completedAt: 'completedAt',
|
|
@@ -602,7 +649,7 @@ export const DocumentationStepApprovalScalarFieldEnum = {
|
|
|
602
649
|
};
|
|
603
650
|
export const ContractInstallmentScalarFieldEnum = {
|
|
604
651
|
id: 'id',
|
|
605
|
-
|
|
652
|
+
paymentPhaseId: 'paymentPhaseId',
|
|
606
653
|
installmentNumber: 'installmentNumber',
|
|
607
654
|
amount: 'amount',
|
|
608
655
|
principalAmount: 'principalAmount',
|
|
@@ -882,7 +929,9 @@ export const PropertyTransferRequestScalarFieldEnum = {
|
|
|
882
929
|
sourceTotalAmount: 'sourceTotalAmount',
|
|
883
930
|
targetTotalAmount: 'targetTotalAmount',
|
|
884
931
|
priceAdjustment: 'priceAdjustment',
|
|
885
|
-
|
|
932
|
+
refundedAmount: 'refundedAmount',
|
|
933
|
+
refundTransactionId: 'refundTransactionId',
|
|
934
|
+
refundedAt: 'refundedAt',
|
|
886
935
|
targetContractId: 'targetContractId',
|
|
887
936
|
createdAt: 'createdAt',
|
|
888
937
|
reviewedAt: 'reviewedAt',
|
|
@@ -1147,6 +1196,14 @@ export const PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum = {
|
|
|
1147
1196
|
description: 'description',
|
|
1148
1197
|
allowedMimeTypes: 'allowedMimeTypes'
|
|
1149
1198
|
};
|
|
1199
|
+
export const PaymentMethodPhaseFieldOrderByRelevanceFieldEnum = {
|
|
1200
|
+
id: 'id',
|
|
1201
|
+
phaseId: 'phaseId',
|
|
1202
|
+
name: 'name',
|
|
1203
|
+
label: 'label',
|
|
1204
|
+
description: 'description',
|
|
1205
|
+
placeholder: 'placeholder'
|
|
1206
|
+
};
|
|
1150
1207
|
export const ContractOrderByRelevanceFieldEnum = {
|
|
1151
1208
|
id: 'id',
|
|
1152
1209
|
tenantId: 'tenantId',
|
|
@@ -1181,11 +1238,33 @@ export const ContractRefundOrderByRelevanceFieldEnum = {
|
|
|
1181
1238
|
export const ContractPhaseOrderByRelevanceFieldEnum = {
|
|
1182
1239
|
id: 'id',
|
|
1183
1240
|
contractId: 'contractId',
|
|
1184
|
-
paymentPlanId: 'paymentPlanId',
|
|
1185
1241
|
name: 'name',
|
|
1186
|
-
description: 'description'
|
|
1242
|
+
description: 'description'
|
|
1243
|
+
};
|
|
1244
|
+
export const QuestionnairePhaseOrderByRelevanceFieldEnum = {
|
|
1245
|
+
id: 'id',
|
|
1246
|
+
phaseId: 'phaseId',
|
|
1247
|
+
underwritingDecision: 'underwritingDecision',
|
|
1248
|
+
underwritingNotes: 'underwritingNotes'
|
|
1249
|
+
};
|
|
1250
|
+
export const DocumentationPhaseOrderByRelevanceFieldEnum = {
|
|
1251
|
+
id: 'id',
|
|
1252
|
+
phaseId: 'phaseId',
|
|
1187
1253
|
currentStepId: 'currentStepId'
|
|
1188
1254
|
};
|
|
1255
|
+
export const PaymentPhaseOrderByRelevanceFieldEnum = {
|
|
1256
|
+
id: 'id',
|
|
1257
|
+
phaseId: 'phaseId',
|
|
1258
|
+
paymentPlanId: 'paymentPlanId'
|
|
1259
|
+
};
|
|
1260
|
+
export const QuestionnaireFieldOrderByRelevanceFieldEnum = {
|
|
1261
|
+
id: 'id',
|
|
1262
|
+
questionnairePhaseId: 'questionnairePhaseId',
|
|
1263
|
+
name: 'name',
|
|
1264
|
+
label: 'label',
|
|
1265
|
+
description: 'description',
|
|
1266
|
+
placeholder: 'placeholder'
|
|
1267
|
+
};
|
|
1189
1268
|
export const ContractEventOrderByRelevanceFieldEnum = {
|
|
1190
1269
|
id: 'id',
|
|
1191
1270
|
contractId: 'contractId',
|
|
@@ -1196,12 +1275,10 @@ export const ContractEventOrderByRelevanceFieldEnum = {
|
|
|
1196
1275
|
};
|
|
1197
1276
|
export const DocumentationStepOrderByRelevanceFieldEnum = {
|
|
1198
1277
|
id: 'id',
|
|
1199
|
-
|
|
1278
|
+
documentationPhaseId: 'documentationPhaseId',
|
|
1200
1279
|
name: 'name',
|
|
1201
1280
|
description: 'description',
|
|
1202
1281
|
actionReason: 'actionReason',
|
|
1203
|
-
underwritingDecision: 'underwritingDecision',
|
|
1204
|
-
underwritingNotes: 'underwritingNotes',
|
|
1205
1282
|
assigneeId: 'assigneeId'
|
|
1206
1283
|
};
|
|
1207
1284
|
export const DocumentationStepDocumentOrderByRelevanceFieldEnum = {
|
|
@@ -1217,7 +1294,7 @@ export const DocumentationStepApprovalOrderByRelevanceFieldEnum = {
|
|
|
1217
1294
|
};
|
|
1218
1295
|
export const ContractInstallmentOrderByRelevanceFieldEnum = {
|
|
1219
1296
|
id: 'id',
|
|
1220
|
-
|
|
1297
|
+
paymentPhaseId: 'paymentPhaseId'
|
|
1221
1298
|
};
|
|
1222
1299
|
export const ContractPaymentOrderByRelevanceFieldEnum = {
|
|
1223
1300
|
id: 'id',
|
|
@@ -1365,6 +1442,7 @@ export const PropertyTransferRequestOrderByRelevanceFieldEnum = {
|
|
|
1365
1442
|
reason: 'reason',
|
|
1366
1443
|
reviewNotes: 'reviewNotes',
|
|
1367
1444
|
priceAdjustmentHandling: 'priceAdjustmentHandling',
|
|
1445
|
+
refundTransactionId: 'refundTransactionId',
|
|
1368
1446
|
targetContractId: 'targetContractId'
|
|
1369
1447
|
};
|
|
1370
1448
|
export const ApprovalRequestOrderByRelevanceFieldEnum = {
|