@dynamatix/gb-schemas 1.2.7 → 1.2.8
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/applicants/applicant-commitment.model.d.ts +6 -6
- package/dist/applicants/applicant.model.d.ts +36 -36
- package/dist/applications/application-mortgage.model.d.ts +1105 -154
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.js +131 -27
- package/dist/applications/application.model.d.ts +24 -24
- package/dist/applications/application.model.js +2 -2
- package/dist/applications/productfeatures.model.d.ts +6 -6
- package/dist/properties/index.d.ts +1 -1
- package/dist/properties/index.d.ts.map +1 -1
- package/dist/properties/index.js +1 -1
- package/dist/properties/property.model.d.ts +1089 -259
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/property.model.js +102 -111
- package/dist/properties/security.model.d.ts +279 -0
- package/dist/properties/security.model.d.ts.map +1 -0
- package/dist/properties/security.model.js +149 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-mortgage.model.d.ts","sourceRoot":"","sources":["../../applications/application-mortgage.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application-mortgage.model.d.ts","sourceRoot":"","sources":["../../applications/application-mortgage.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAoJ/C,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AAC7E,eAAe,aAAa,CAAC"}
|
|
@@ -1,31 +1,135 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
|
+
import { Pound } from "../value-objects/pound";
|
|
2
3
|
const mortgageSchema = new mongoose.Schema({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
4
|
+
applicationId: {
|
|
5
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
6
|
+
ref: "Application",
|
|
7
|
+
description: "Reference to the application this mortgage belongs to",
|
|
8
|
+
},
|
|
9
|
+
repaymentTypeLid: {
|
|
10
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
11
|
+
ref: "Lookup",
|
|
12
|
+
default: null,
|
|
13
|
+
description: "Lookup ID representing the type of repayment (e.g., interest-only, repayment)",
|
|
14
|
+
},
|
|
15
|
+
landerName: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "",
|
|
18
|
+
required: true,
|
|
19
|
+
maxlength: 70,
|
|
20
|
+
description: "Name of the lender providing the mortgage",
|
|
21
|
+
},
|
|
22
|
+
propertyValue: {
|
|
23
|
+
type: Pound,
|
|
24
|
+
required: true,
|
|
25
|
+
description: "Current value of the mortgaged property",
|
|
26
|
+
},
|
|
27
|
+
mortgageTypeLid: {
|
|
28
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
29
|
+
ref: "Lookup",
|
|
30
|
+
default: null,
|
|
31
|
+
description: "Lookup ID representing the type of mortgage (e.g., residential, BTL)",
|
|
32
|
+
},
|
|
33
|
+
fixedTerm: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: 0,
|
|
36
|
+
maxlength: 50,
|
|
37
|
+
required: true,
|
|
38
|
+
description: "Length of the fixed term period",
|
|
39
|
+
},
|
|
40
|
+
originalLoanAmount: {
|
|
41
|
+
type: Pound,
|
|
42
|
+
default: 0,
|
|
43
|
+
required: true,
|
|
44
|
+
description: "Original amount of the mortgage loan",
|
|
45
|
+
},
|
|
46
|
+
outstandingBalance: {
|
|
47
|
+
type: Pound,
|
|
48
|
+
default: 0,
|
|
49
|
+
required: true,
|
|
50
|
+
description: "Current outstanding balance on the mortgage",
|
|
51
|
+
},
|
|
52
|
+
startDate: {
|
|
53
|
+
type: Date,
|
|
54
|
+
default: null,
|
|
55
|
+
required: true,
|
|
56
|
+
description: "Start date of the mortgage",
|
|
57
|
+
},
|
|
58
|
+
monthlyPayment: {
|
|
59
|
+
type: Pound,
|
|
60
|
+
default: 0,
|
|
61
|
+
required: true,
|
|
62
|
+
description: "Monthly payment amount for the mortgage",
|
|
63
|
+
},
|
|
64
|
+
furtherAdvances: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
required: true,
|
|
67
|
+
get: (value) => (value ? "Yes" : "No"),
|
|
68
|
+
description: "Indicates if further advances have been taken",
|
|
69
|
+
},
|
|
70
|
+
furtherAdvanceDetails: {
|
|
71
|
+
type: String,
|
|
72
|
+
default: "",
|
|
73
|
+
maxlength: 100,
|
|
74
|
+
required: true,
|
|
75
|
+
description: "Details of any further advances taken",
|
|
76
|
+
},
|
|
77
|
+
accountUpToDate: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
required: true,
|
|
80
|
+
get: (value) => (value ? "Yes" : "No"),
|
|
81
|
+
description: "Flag indicating if the account is up to date",
|
|
82
|
+
},
|
|
83
|
+
accountUpToDateFailDetails: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: "",
|
|
86
|
+
maxlength: 100,
|
|
87
|
+
required: true,
|
|
88
|
+
description: "Details if the account is not up to date",
|
|
89
|
+
},
|
|
90
|
+
accountInArrears: {
|
|
91
|
+
type: Boolean,
|
|
92
|
+
required: true,
|
|
93
|
+
get: (value) => (value ? "Yes" : "No"),
|
|
94
|
+
description: "Indicates if the account is currently in arrears",
|
|
95
|
+
},
|
|
96
|
+
accountInArrearsDetails: {
|
|
97
|
+
type: String,
|
|
98
|
+
default: "",
|
|
99
|
+
maxlength: 100,
|
|
100
|
+
required: true,
|
|
101
|
+
description: "Details of account arrears, if any",
|
|
102
|
+
},
|
|
103
|
+
doHaveSharedResponsibility: {
|
|
104
|
+
type: Boolean,
|
|
105
|
+
default: false,
|
|
106
|
+
get: (value) => (value ? "Yes" : "No"),
|
|
107
|
+
description: "Flag indicating if the mortgage responsibility is shared",
|
|
108
|
+
},
|
|
109
|
+
sharedMortgage: {
|
|
110
|
+
type: String,
|
|
111
|
+
default: "",
|
|
112
|
+
required: true,
|
|
113
|
+
description: "Details about shared mortgage responsibility",
|
|
114
|
+
},
|
|
115
|
+
}, {
|
|
116
|
+
timestamps: true,
|
|
117
|
+
toJSON: { virtuals: true },
|
|
118
|
+
toObject: { virtuals: true },
|
|
29
119
|
});
|
|
30
|
-
const
|
|
120
|
+
const virtualRepaymentType = mortgageSchema.virtual("repaymentType", {
|
|
121
|
+
ref: "Lookup",
|
|
122
|
+
localField: "repaymentTypeLid",
|
|
123
|
+
foreignField: "_id",
|
|
124
|
+
justOne: true,
|
|
125
|
+
});
|
|
126
|
+
virtualRepaymentType.description = "Populated lookup value for repayment type";
|
|
127
|
+
const virtualMortgageType = mortgageSchema.virtual("mortgageType", {
|
|
128
|
+
ref: "Lookup",
|
|
129
|
+
localField: "mortgageTypeLid",
|
|
130
|
+
foreignField: "_id",
|
|
131
|
+
justOne: true,
|
|
132
|
+
});
|
|
133
|
+
virtualMortgageType.description = "Populated lookup value for mortgage type";
|
|
134
|
+
const MortgageModel = mongoose.model("Application_Mortgage", mortgageSchema);
|
|
31
135
|
export default MortgageModel;
|
|
@@ -39,16 +39,18 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
39
39
|
isValuationFeePaid: string;
|
|
40
40
|
withdrawalReason: string;
|
|
41
41
|
withdrawalReasonCode: string;
|
|
42
|
-
|
|
42
|
+
securityId: mongoose.Types.ObjectId;
|
|
43
43
|
solicitorId: mongoose.Types.ObjectId;
|
|
44
44
|
isActive: string;
|
|
45
45
|
isUkResident: string;
|
|
46
46
|
newAuditRecordsCount: string;
|
|
47
|
-
|
|
47
|
+
propertyIds: mongoose.Types.ObjectId[];
|
|
48
48
|
selectedProduct?: string | null | undefined;
|
|
49
49
|
riskRating?: string | null | undefined;
|
|
50
50
|
productFeatures?: {
|
|
51
51
|
name: string;
|
|
52
|
+
fixedTerm: string;
|
|
53
|
+
repaymentType: string;
|
|
52
54
|
ltv: string;
|
|
53
55
|
reimbursementPerPound: string;
|
|
54
56
|
stressedPayment: string;
|
|
@@ -60,12 +62,10 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
60
62
|
reversionRateWithoutBaseRate: string;
|
|
61
63
|
totalReversionRate: string;
|
|
62
64
|
initialRate: string;
|
|
63
|
-
fixedTerm: string;
|
|
64
65
|
fixedTermEndDate: string;
|
|
65
66
|
baseRate: string;
|
|
66
67
|
productRate: string;
|
|
67
68
|
apr: string;
|
|
68
|
-
repaymentType: string;
|
|
69
69
|
applicationCategory: string;
|
|
70
70
|
securityType: string;
|
|
71
71
|
erc: string;
|
|
@@ -227,16 +227,18 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
227
227
|
isValuationFeePaid: string;
|
|
228
228
|
withdrawalReason: string;
|
|
229
229
|
withdrawalReasonCode: string;
|
|
230
|
-
|
|
230
|
+
securityId: mongoose.Types.ObjectId;
|
|
231
231
|
solicitorId: mongoose.Types.ObjectId;
|
|
232
232
|
isActive: string;
|
|
233
233
|
isUkResident: string;
|
|
234
234
|
newAuditRecordsCount: string;
|
|
235
|
-
|
|
235
|
+
propertyIds: mongoose.Types.ObjectId[];
|
|
236
236
|
selectedProduct?: string | null | undefined;
|
|
237
237
|
riskRating?: string | null | undefined;
|
|
238
238
|
productFeatures?: {
|
|
239
239
|
name: string;
|
|
240
|
+
fixedTerm: string;
|
|
241
|
+
repaymentType: string;
|
|
240
242
|
ltv: string;
|
|
241
243
|
reimbursementPerPound: string;
|
|
242
244
|
stressedPayment: string;
|
|
@@ -248,12 +250,10 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
248
250
|
reversionRateWithoutBaseRate: string;
|
|
249
251
|
totalReversionRate: string;
|
|
250
252
|
initialRate: string;
|
|
251
|
-
fixedTerm: string;
|
|
252
253
|
fixedTermEndDate: string;
|
|
253
254
|
baseRate: string;
|
|
254
255
|
productRate: string;
|
|
255
256
|
apr: string;
|
|
256
|
-
repaymentType: string;
|
|
257
257
|
applicationCategory: string;
|
|
258
258
|
securityType: string;
|
|
259
259
|
erc: string;
|
|
@@ -415,16 +415,18 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
415
415
|
isValuationFeePaid: string;
|
|
416
416
|
withdrawalReason: string;
|
|
417
417
|
withdrawalReasonCode: string;
|
|
418
|
-
|
|
418
|
+
securityId: mongoose.Types.ObjectId;
|
|
419
419
|
solicitorId: mongoose.Types.ObjectId;
|
|
420
420
|
isActive: string;
|
|
421
421
|
isUkResident: string;
|
|
422
422
|
newAuditRecordsCount: string;
|
|
423
|
-
|
|
423
|
+
propertyIds: mongoose.Types.ObjectId[];
|
|
424
424
|
selectedProduct?: string | null | undefined;
|
|
425
425
|
riskRating?: string | null | undefined;
|
|
426
426
|
productFeatures?: {
|
|
427
427
|
name: string;
|
|
428
|
+
fixedTerm: string;
|
|
429
|
+
repaymentType: string;
|
|
428
430
|
ltv: string;
|
|
429
431
|
reimbursementPerPound: string;
|
|
430
432
|
stressedPayment: string;
|
|
@@ -436,12 +438,10 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
436
438
|
reversionRateWithoutBaseRate: string;
|
|
437
439
|
totalReversionRate: string;
|
|
438
440
|
initialRate: string;
|
|
439
|
-
fixedTerm: string;
|
|
440
441
|
fixedTermEndDate: string;
|
|
441
442
|
baseRate: string;
|
|
442
443
|
productRate: string;
|
|
443
444
|
apr: string;
|
|
444
|
-
repaymentType: string;
|
|
445
445
|
applicationCategory: string;
|
|
446
446
|
securityType: string;
|
|
447
447
|
erc: string;
|
|
@@ -615,16 +615,18 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
615
615
|
isValuationFeePaid: string;
|
|
616
616
|
withdrawalReason: string;
|
|
617
617
|
withdrawalReasonCode: string;
|
|
618
|
-
|
|
618
|
+
securityId: mongoose.Types.ObjectId;
|
|
619
619
|
solicitorId: mongoose.Types.ObjectId;
|
|
620
620
|
isActive: string;
|
|
621
621
|
isUkResident: string;
|
|
622
622
|
newAuditRecordsCount: string;
|
|
623
|
-
|
|
623
|
+
propertyIds: mongoose.Types.ObjectId[];
|
|
624
624
|
selectedProduct?: string | null | undefined;
|
|
625
625
|
riskRating?: string | null | undefined;
|
|
626
626
|
productFeatures?: {
|
|
627
627
|
name: string;
|
|
628
|
+
fixedTerm: string;
|
|
629
|
+
repaymentType: string;
|
|
628
630
|
ltv: string;
|
|
629
631
|
reimbursementPerPound: string;
|
|
630
632
|
stressedPayment: string;
|
|
@@ -636,12 +638,10 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
636
638
|
reversionRateWithoutBaseRate: string;
|
|
637
639
|
totalReversionRate: string;
|
|
638
640
|
initialRate: string;
|
|
639
|
-
fixedTerm: string;
|
|
640
641
|
fixedTermEndDate: string;
|
|
641
642
|
baseRate: string;
|
|
642
643
|
productRate: string;
|
|
643
644
|
apr: string;
|
|
644
|
-
repaymentType: string;
|
|
645
645
|
applicationCategory: string;
|
|
646
646
|
securityType: string;
|
|
647
647
|
erc: string;
|
|
@@ -803,16 +803,18 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
803
803
|
isValuationFeePaid: string;
|
|
804
804
|
withdrawalReason: string;
|
|
805
805
|
withdrawalReasonCode: string;
|
|
806
|
-
|
|
806
|
+
securityId: mongoose.Types.ObjectId;
|
|
807
807
|
solicitorId: mongoose.Types.ObjectId;
|
|
808
808
|
isActive: string;
|
|
809
809
|
isUkResident: string;
|
|
810
810
|
newAuditRecordsCount: string;
|
|
811
|
-
|
|
811
|
+
propertyIds: mongoose.Types.ObjectId[];
|
|
812
812
|
selectedProduct?: string | null | undefined;
|
|
813
813
|
riskRating?: string | null | undefined;
|
|
814
814
|
productFeatures?: {
|
|
815
815
|
name: string;
|
|
816
|
+
fixedTerm: string;
|
|
817
|
+
repaymentType: string;
|
|
816
818
|
ltv: string;
|
|
817
819
|
reimbursementPerPound: string;
|
|
818
820
|
stressedPayment: string;
|
|
@@ -824,12 +826,10 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
824
826
|
reversionRateWithoutBaseRate: string;
|
|
825
827
|
totalReversionRate: string;
|
|
826
828
|
initialRate: string;
|
|
827
|
-
fixedTerm: string;
|
|
828
829
|
fixedTermEndDate: string;
|
|
829
830
|
baseRate: string;
|
|
830
831
|
productRate: string;
|
|
831
832
|
apr: string;
|
|
832
|
-
repaymentType: string;
|
|
833
833
|
applicationCategory: string;
|
|
834
834
|
securityType: string;
|
|
835
835
|
erc: string;
|
|
@@ -991,16 +991,18 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
991
991
|
isValuationFeePaid: string;
|
|
992
992
|
withdrawalReason: string;
|
|
993
993
|
withdrawalReasonCode: string;
|
|
994
|
-
|
|
994
|
+
securityId: mongoose.Types.ObjectId;
|
|
995
995
|
solicitorId: mongoose.Types.ObjectId;
|
|
996
996
|
isActive: string;
|
|
997
997
|
isUkResident: string;
|
|
998
998
|
newAuditRecordsCount: string;
|
|
999
|
-
|
|
999
|
+
propertyIds: mongoose.Types.ObjectId[];
|
|
1000
1000
|
selectedProduct?: string | null | undefined;
|
|
1001
1001
|
riskRating?: string | null | undefined;
|
|
1002
1002
|
productFeatures?: {
|
|
1003
1003
|
name: string;
|
|
1004
|
+
fixedTerm: string;
|
|
1005
|
+
repaymentType: string;
|
|
1004
1006
|
ltv: string;
|
|
1005
1007
|
reimbursementPerPound: string;
|
|
1006
1008
|
stressedPayment: string;
|
|
@@ -1012,12 +1014,10 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
1012
1014
|
reversionRateWithoutBaseRate: string;
|
|
1013
1015
|
totalReversionRate: string;
|
|
1014
1016
|
initialRate: string;
|
|
1015
|
-
fixedTerm: string;
|
|
1016
1017
|
fixedTermEndDate: string;
|
|
1017
1018
|
baseRate: string;
|
|
1018
1019
|
productRate: string;
|
|
1019
1020
|
apr: string;
|
|
1020
|
-
repaymentType: string;
|
|
1021
1021
|
applicationCategory: string;
|
|
1022
1022
|
securityType: string;
|
|
1023
1023
|
erc: string;
|
|
@@ -47,7 +47,7 @@ const applicationSchema = new mongoose.Schema({
|
|
|
47
47
|
withdrawalReasonCode: { type: String, default: "" },
|
|
48
48
|
productId: { type: mongoose.Schema.Types.ObjectId, ref: "Product", required: false },
|
|
49
49
|
product: { type: String },
|
|
50
|
-
|
|
50
|
+
securityId: { type: mongoose.Schema.Types.ObjectId, ref: "Security", required: true },
|
|
51
51
|
solicitorId: { type: mongoose.Schema.Types.ObjectId, ref: "Solicitor", required: true },
|
|
52
52
|
applicants: [
|
|
53
53
|
{ type: mongoose.Schema.Types.ObjectId, ref: "Applicant" }
|
|
@@ -62,7 +62,7 @@ const applicationSchema = new mongoose.Schema({
|
|
|
62
62
|
companyId: { type: mongoose.Schema.Types.ObjectId, ref: "ApplicationCompany" },
|
|
63
63
|
rationaleId: { type: mongoose.Schema.Types.ObjectId, ref: "ApplicationRationale" },
|
|
64
64
|
newAuditRecordsCount: { type: String, default: 0 }, // Ensure it is a Number
|
|
65
|
-
|
|
65
|
+
propertyIds: [{ type: mongoose.Schema.Types.ObjectId, ref: "Property" }]
|
|
66
66
|
}, {
|
|
67
67
|
timestamps: true,
|
|
68
68
|
toJSON: { virtuals: true },
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
2
|
declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
3
3
|
name: string;
|
|
4
|
+
fixedTerm: string;
|
|
5
|
+
repaymentType: string;
|
|
4
6
|
ltv: string;
|
|
5
7
|
reimbursementPerPound: string;
|
|
6
8
|
stressedPayment: string;
|
|
@@ -12,12 +14,10 @@ declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
12
14
|
reversionRateWithoutBaseRate: string;
|
|
13
15
|
totalReversionRate: string;
|
|
14
16
|
initialRate: string;
|
|
15
|
-
fixedTerm: string;
|
|
16
17
|
fixedTermEndDate: string;
|
|
17
18
|
baseRate: string;
|
|
18
19
|
productRate: string;
|
|
19
20
|
apr: string;
|
|
20
|
-
repaymentType: string;
|
|
21
21
|
applicationCategory: string;
|
|
22
22
|
securityType: string;
|
|
23
23
|
erc: string;
|
|
@@ -121,6 +121,8 @@ declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
121
121
|
} | null | undefined;
|
|
122
122
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
123
123
|
name: string;
|
|
124
|
+
fixedTerm: string;
|
|
125
|
+
repaymentType: string;
|
|
124
126
|
ltv: string;
|
|
125
127
|
reimbursementPerPound: string;
|
|
126
128
|
stressedPayment: string;
|
|
@@ -132,12 +134,10 @@ declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
132
134
|
reversionRateWithoutBaseRate: string;
|
|
133
135
|
totalReversionRate: string;
|
|
134
136
|
initialRate: string;
|
|
135
|
-
fixedTerm: string;
|
|
136
137
|
fixedTermEndDate: string;
|
|
137
138
|
baseRate: string;
|
|
138
139
|
productRate: string;
|
|
139
140
|
apr: string;
|
|
140
|
-
repaymentType: string;
|
|
141
141
|
applicationCategory: string;
|
|
142
142
|
securityType: string;
|
|
143
143
|
erc: string;
|
|
@@ -241,6 +241,8 @@ declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
241
241
|
} | null | undefined;
|
|
242
242
|
}>> & mongoose.FlatRecord<{
|
|
243
243
|
name: string;
|
|
244
|
+
fixedTerm: string;
|
|
245
|
+
repaymentType: string;
|
|
244
246
|
ltv: string;
|
|
245
247
|
reimbursementPerPound: string;
|
|
246
248
|
stressedPayment: string;
|
|
@@ -252,12 +254,10 @@ declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
252
254
|
reversionRateWithoutBaseRate: string;
|
|
253
255
|
totalReversionRate: string;
|
|
254
256
|
initialRate: string;
|
|
255
|
-
fixedTerm: string;
|
|
256
257
|
fixedTermEndDate: string;
|
|
257
258
|
baseRate: string;
|
|
258
259
|
productRate: string;
|
|
259
260
|
apr: string;
|
|
260
|
-
repaymentType: string;
|
|
261
261
|
applicationCategory: string;
|
|
262
262
|
securityType: string;
|
|
263
263
|
erc: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../properties/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../properties/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/properties/index.js
CHANGED