@dynamatix/gb-schemas 2.3.339 → 2.3.340
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/README.md +308 -308
- package/dist/applicants/applicant-income-source.model.d.ts +26 -0
- package/dist/applicants/applicant-income-source.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income.model.d.ts +160 -0
- package/dist/applicants/applicant-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-other-income.model.d.ts +85 -0
- package/dist/applicants/applicant-other-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-risk-narrative.model.d.ts +6 -6
- package/dist/applicants/applicant-welcome-call.model.js +9 -9
- package/dist/applicants/applicant.model.d.ts +6 -6
- package/dist/applications/application-document.model.d.ts +158 -0
- package/dist/applications/application-document.model.d.ts.map +1 -0
- package/dist/applications/application-risk-narrative.model.d.ts +48 -36
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
- package/dist/applications/application-risk-narrative.model.js +8 -6
- package/dist/applications/application.model.d.ts +6 -0
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/application.model.js +1 -0
- package/dist/applications/document.model.d.ts +158 -0
- package/dist/applications/document.model.d.ts.map +1 -0
- package/dist/applications/productfeatures.model.d.ts +368 -0
- package/dist/applications/productfeatures.model.d.ts.map +1 -0
- package/dist/shared/document-type-model.d.ts +48 -0
- package/dist/shared/document-type-model.d.ts.map +1 -0
- package/package.json +87 -87
- package/dist/shared/audit-log.model.d.ts +0 -180
- package/dist/shared/audit-log.model.d.ts.map +0 -1
- package/dist/shared/audit-log.model.js +0 -43
- package/dist/shared/document.model.d.ts +0 -180
- package/dist/shared/document.model.d.ts.map +0 -1
- package/dist/shared/document.model.js +0 -40
- package/dist/shared/queue.model.d.ts +0 -180
- package/dist/shared/queue.model.d.ts.map +0 -1
- package/dist/shared/queue.model.js +0 -42
|
@@ -71,6 +71,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
71
71
|
productId: mongoose.Types.ObjectId;
|
|
72
72
|
securityId: mongoose.Types.ObjectId;
|
|
73
73
|
solicitorId: mongoose.Types.ObjectId;
|
|
74
|
+
riskNarrativeId: mongoose.Types.ObjectId;
|
|
74
75
|
directDebitId: mongoose.Types.ObjectId;
|
|
75
76
|
mortgageId: mongoose.Types.ObjectId;
|
|
76
77
|
companyId: mongoose.Types.ObjectId;
|
|
@@ -156,6 +157,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
156
157
|
productId: mongoose.Types.ObjectId;
|
|
157
158
|
securityId: mongoose.Types.ObjectId;
|
|
158
159
|
solicitorId: mongoose.Types.ObjectId;
|
|
160
|
+
riskNarrativeId: mongoose.Types.ObjectId;
|
|
159
161
|
directDebitId: mongoose.Types.ObjectId;
|
|
160
162
|
mortgageId: mongoose.Types.ObjectId;
|
|
161
163
|
companyId: mongoose.Types.ObjectId;
|
|
@@ -241,6 +243,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
241
243
|
productId: mongoose.Types.ObjectId;
|
|
242
244
|
securityId: mongoose.Types.ObjectId;
|
|
243
245
|
solicitorId: mongoose.Types.ObjectId;
|
|
246
|
+
riskNarrativeId: mongoose.Types.ObjectId;
|
|
244
247
|
directDebitId: mongoose.Types.ObjectId;
|
|
245
248
|
mortgageId: mongoose.Types.ObjectId;
|
|
246
249
|
companyId: mongoose.Types.ObjectId;
|
|
@@ -338,6 +341,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
338
341
|
productId: mongoose.Types.ObjectId;
|
|
339
342
|
securityId: mongoose.Types.ObjectId;
|
|
340
343
|
solicitorId: mongoose.Types.ObjectId;
|
|
344
|
+
riskNarrativeId: mongoose.Types.ObjectId;
|
|
341
345
|
directDebitId: mongoose.Types.ObjectId;
|
|
342
346
|
mortgageId: mongoose.Types.ObjectId;
|
|
343
347
|
companyId: mongoose.Types.ObjectId;
|
|
@@ -423,6 +427,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
423
427
|
productId: mongoose.Types.ObjectId;
|
|
424
428
|
securityId: mongoose.Types.ObjectId;
|
|
425
429
|
solicitorId: mongoose.Types.ObjectId;
|
|
430
|
+
riskNarrativeId: mongoose.Types.ObjectId;
|
|
426
431
|
directDebitId: mongoose.Types.ObjectId;
|
|
427
432
|
mortgageId: mongoose.Types.ObjectId;
|
|
428
433
|
companyId: mongoose.Types.ObjectId;
|
|
@@ -508,6 +513,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
508
513
|
productId: mongoose.Types.ObjectId;
|
|
509
514
|
securityId: mongoose.Types.ObjectId;
|
|
510
515
|
solicitorId: mongoose.Types.ObjectId;
|
|
516
|
+
riskNarrativeId: mongoose.Types.ObjectId;
|
|
511
517
|
directDebitId: mongoose.Types.ObjectId;
|
|
512
518
|
mortgageId: mongoose.Types.ObjectId;
|
|
513
519
|
companyId: mongoose.Types.ObjectId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAqQhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAC1E,eAAe,gBAAgB,CAAC"}
|
|
@@ -49,6 +49,7 @@ const applicationSchema = new mongoose.Schema({
|
|
|
49
49
|
product: { type: String },
|
|
50
50
|
securityId: { type: mongoose.Schema.Types.ObjectId, ref: "Security", default: null },
|
|
51
51
|
solicitorId: { type: mongoose.Schema.Types.ObjectId, ref: "Solicitor", default: null },
|
|
52
|
+
riskNarrativeId: { type: mongoose.Schema.Types.ObjectId, ref: "ApplicationRiskNarrative", default: null },
|
|
52
53
|
applicants: [
|
|
53
54
|
{ type: mongoose.Schema.Types.ObjectId, ref: "Applicant", default: null }
|
|
54
55
|
],
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
declare const DocumentModel: mongoose.Model<{
|
|
3
|
+
createdAt: NativeDate;
|
|
4
|
+
updatedAt: NativeDate;
|
|
5
|
+
} & {
|
|
6
|
+
documentId: string;
|
|
7
|
+
signers: any[];
|
|
8
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
9
|
+
data?: string | null | undefined;
|
|
10
|
+
owningEntityId?: string | null | undefined;
|
|
11
|
+
documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
12
|
+
documentTypeId?: mongoose.Types.ObjectId | null | undefined;
|
|
13
|
+
fileName?: string | null | undefined;
|
|
14
|
+
contentType?: string | null | undefined;
|
|
15
|
+
created?: string | null | undefined;
|
|
16
|
+
createdBy?: string | null | undefined;
|
|
17
|
+
isGenerated?: string | null | undefined;
|
|
18
|
+
envelopeId?: string | null | undefined;
|
|
19
|
+
documentType?: {
|
|
20
|
+
data?: any;
|
|
21
|
+
value?: string | null | undefined;
|
|
22
|
+
documentTypeId?: string | null | undefined;
|
|
23
|
+
displayName?: string | null | undefined;
|
|
24
|
+
} | null | undefined;
|
|
25
|
+
documentUrl?: string | null | undefined;
|
|
26
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
27
|
+
createdAt: NativeDate;
|
|
28
|
+
updatedAt: NativeDate;
|
|
29
|
+
} & {
|
|
30
|
+
documentId: string;
|
|
31
|
+
signers: any[];
|
|
32
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
33
|
+
data?: string | null | undefined;
|
|
34
|
+
owningEntityId?: string | null | undefined;
|
|
35
|
+
documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
36
|
+
documentTypeId?: mongoose.Types.ObjectId | null | undefined;
|
|
37
|
+
fileName?: string | null | undefined;
|
|
38
|
+
contentType?: string | null | undefined;
|
|
39
|
+
created?: string | null | undefined;
|
|
40
|
+
createdBy?: string | null | undefined;
|
|
41
|
+
isGenerated?: string | null | undefined;
|
|
42
|
+
envelopeId?: string | null | undefined;
|
|
43
|
+
documentType?: {
|
|
44
|
+
data?: any;
|
|
45
|
+
value?: string | null | undefined;
|
|
46
|
+
documentTypeId?: string | null | undefined;
|
|
47
|
+
displayName?: string | null | undefined;
|
|
48
|
+
} | null | undefined;
|
|
49
|
+
documentUrl?: string | null | undefined;
|
|
50
|
+
}> & {
|
|
51
|
+
createdAt: NativeDate;
|
|
52
|
+
updatedAt: NativeDate;
|
|
53
|
+
} & {
|
|
54
|
+
documentId: string;
|
|
55
|
+
signers: any[];
|
|
56
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
57
|
+
data?: string | null | undefined;
|
|
58
|
+
owningEntityId?: string | null | undefined;
|
|
59
|
+
documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
60
|
+
documentTypeId?: mongoose.Types.ObjectId | null | undefined;
|
|
61
|
+
fileName?: string | null | undefined;
|
|
62
|
+
contentType?: string | null | undefined;
|
|
63
|
+
created?: string | null | undefined;
|
|
64
|
+
createdBy?: string | null | undefined;
|
|
65
|
+
isGenerated?: string | null | undefined;
|
|
66
|
+
envelopeId?: string | null | undefined;
|
|
67
|
+
documentType?: {
|
|
68
|
+
data?: any;
|
|
69
|
+
value?: string | null | undefined;
|
|
70
|
+
documentTypeId?: string | null | undefined;
|
|
71
|
+
displayName?: string | null | undefined;
|
|
72
|
+
} | null | undefined;
|
|
73
|
+
documentUrl?: string | null | undefined;
|
|
74
|
+
} & {
|
|
75
|
+
_id: mongoose.Types.ObjectId;
|
|
76
|
+
} & {
|
|
77
|
+
__v: number;
|
|
78
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
79
|
+
timestamps: true;
|
|
80
|
+
}, {
|
|
81
|
+
createdAt: NativeDate;
|
|
82
|
+
updatedAt: NativeDate;
|
|
83
|
+
} & {
|
|
84
|
+
documentId: string;
|
|
85
|
+
signers: any[];
|
|
86
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
87
|
+
data?: string | null | undefined;
|
|
88
|
+
owningEntityId?: string | null | undefined;
|
|
89
|
+
documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
90
|
+
documentTypeId?: mongoose.Types.ObjectId | null | undefined;
|
|
91
|
+
fileName?: string | null | undefined;
|
|
92
|
+
contentType?: string | null | undefined;
|
|
93
|
+
created?: string | null | undefined;
|
|
94
|
+
createdBy?: string | null | undefined;
|
|
95
|
+
isGenerated?: string | null | undefined;
|
|
96
|
+
envelopeId?: string | null | undefined;
|
|
97
|
+
documentType?: {
|
|
98
|
+
data?: any;
|
|
99
|
+
value?: string | null | undefined;
|
|
100
|
+
documentTypeId?: string | null | undefined;
|
|
101
|
+
displayName?: string | null | undefined;
|
|
102
|
+
} | null | undefined;
|
|
103
|
+
documentUrl?: string | null | undefined;
|
|
104
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
105
|
+
createdAt: NativeDate;
|
|
106
|
+
updatedAt: NativeDate;
|
|
107
|
+
} & {
|
|
108
|
+
documentId: string;
|
|
109
|
+
signers: any[];
|
|
110
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
111
|
+
data?: string | null | undefined;
|
|
112
|
+
owningEntityId?: string | null | undefined;
|
|
113
|
+
documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
114
|
+
documentTypeId?: mongoose.Types.ObjectId | null | undefined;
|
|
115
|
+
fileName?: string | null | undefined;
|
|
116
|
+
contentType?: string | null | undefined;
|
|
117
|
+
created?: string | null | undefined;
|
|
118
|
+
createdBy?: string | null | undefined;
|
|
119
|
+
isGenerated?: string | null | undefined;
|
|
120
|
+
envelopeId?: string | null | undefined;
|
|
121
|
+
documentType?: {
|
|
122
|
+
data?: any;
|
|
123
|
+
value?: string | null | undefined;
|
|
124
|
+
documentTypeId?: string | null | undefined;
|
|
125
|
+
displayName?: string | null | undefined;
|
|
126
|
+
} | null | undefined;
|
|
127
|
+
documentUrl?: string | null | undefined;
|
|
128
|
+
}>> & mongoose.FlatRecord<{
|
|
129
|
+
createdAt: NativeDate;
|
|
130
|
+
updatedAt: NativeDate;
|
|
131
|
+
} & {
|
|
132
|
+
documentId: string;
|
|
133
|
+
signers: any[];
|
|
134
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
135
|
+
data?: string | null | undefined;
|
|
136
|
+
owningEntityId?: string | null | undefined;
|
|
137
|
+
documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
138
|
+
documentTypeId?: mongoose.Types.ObjectId | null | undefined;
|
|
139
|
+
fileName?: string | null | undefined;
|
|
140
|
+
contentType?: string | null | undefined;
|
|
141
|
+
created?: string | null | undefined;
|
|
142
|
+
createdBy?: string | null | undefined;
|
|
143
|
+
isGenerated?: string | null | undefined;
|
|
144
|
+
envelopeId?: string | null | undefined;
|
|
145
|
+
documentType?: {
|
|
146
|
+
data?: any;
|
|
147
|
+
value?: string | null | undefined;
|
|
148
|
+
documentTypeId?: string | null | undefined;
|
|
149
|
+
displayName?: string | null | undefined;
|
|
150
|
+
} | null | undefined;
|
|
151
|
+
documentUrl?: string | null | undefined;
|
|
152
|
+
}> & {
|
|
153
|
+
_id: mongoose.Types.ObjectId;
|
|
154
|
+
} & {
|
|
155
|
+
__v: number;
|
|
156
|
+
}>>;
|
|
157
|
+
export default DocumentModel;
|
|
158
|
+
//# sourceMappingURL=document.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document.model.d.ts","sourceRoot":"","sources":["../../applications/document.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoChC,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
3
|
+
name: string;
|
|
4
|
+
repaymentType: string;
|
|
5
|
+
ltv: string;
|
|
6
|
+
reimbursementPerPound: string;
|
|
7
|
+
stressedPayment: string;
|
|
8
|
+
stressedPaymentRate: string;
|
|
9
|
+
rentalCoverage: string;
|
|
10
|
+
clientAdvance: string;
|
|
11
|
+
repayment: string;
|
|
12
|
+
variableRepayment: string;
|
|
13
|
+
reversionRateWithoutBaseRate: string;
|
|
14
|
+
totalReversionRate: string;
|
|
15
|
+
initialRate: string;
|
|
16
|
+
fixedTerm: string;
|
|
17
|
+
fixedTermEndDate: string;
|
|
18
|
+
baseRate: string;
|
|
19
|
+
productRate: string;
|
|
20
|
+
apr: string;
|
|
21
|
+
applicationCategory: string;
|
|
22
|
+
securityType: string;
|
|
23
|
+
erc: string;
|
|
24
|
+
loanType: string;
|
|
25
|
+
maxLtvLimit: string;
|
|
26
|
+
reimbursement: string;
|
|
27
|
+
stressedApr: string;
|
|
28
|
+
stressedRate: string;
|
|
29
|
+
stressedRepayment: string;
|
|
30
|
+
liborFloorRate: string;
|
|
31
|
+
totalTermInMonths: string;
|
|
32
|
+
chargeType: string;
|
|
33
|
+
productCategory: string;
|
|
34
|
+
ercCode: string;
|
|
35
|
+
variableTerm: string;
|
|
36
|
+
totalFeePayable: string;
|
|
37
|
+
dipIssueDate: string;
|
|
38
|
+
estimatedCompletionDate: string;
|
|
39
|
+
dipExpiryDate: string;
|
|
40
|
+
fixedRepaymentUntillDate: string;
|
|
41
|
+
rentalReviewDate: string;
|
|
42
|
+
totalReimbursementWithFee: string;
|
|
43
|
+
finalRentPayment: string;
|
|
44
|
+
clientDeposit: string;
|
|
45
|
+
firstRentPayment: string;
|
|
46
|
+
fees: mongoose.Types.DocumentArray<{
|
|
47
|
+
description: string;
|
|
48
|
+
additionalData: any;
|
|
49
|
+
feeType: string;
|
|
50
|
+
feeAmount: string;
|
|
51
|
+
rate: string;
|
|
52
|
+
addedToLoan: string;
|
|
53
|
+
allowOverride: string;
|
|
54
|
+
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
55
|
+
description: string;
|
|
56
|
+
additionalData: any;
|
|
57
|
+
feeType: string;
|
|
58
|
+
feeAmount: string;
|
|
59
|
+
rate: string;
|
|
60
|
+
addedToLoan: string;
|
|
61
|
+
allowOverride: string;
|
|
62
|
+
}> & {
|
|
63
|
+
description: string;
|
|
64
|
+
additionalData: any;
|
|
65
|
+
feeType: string;
|
|
66
|
+
feeAmount: string;
|
|
67
|
+
rate: string;
|
|
68
|
+
addedToLoan: string;
|
|
69
|
+
allowOverride: string;
|
|
70
|
+
}>;
|
|
71
|
+
ercFeatures: any;
|
|
72
|
+
icr: string;
|
|
73
|
+
ufssProductCode: string;
|
|
74
|
+
ufssInterestRateCode: string;
|
|
75
|
+
calculations?: {
|
|
76
|
+
ltv: string;
|
|
77
|
+
rentalCoverageRatioRate: string;
|
|
78
|
+
bankContributionRate: string;
|
|
79
|
+
bankInitialShareRate: string;
|
|
80
|
+
totalAmountPayable: string;
|
|
81
|
+
fixedMonthlyPayment: string;
|
|
82
|
+
fixedMonthlyCapital: string;
|
|
83
|
+
fixedMonthlyInterest: string;
|
|
84
|
+
variableMonthlyPayment: string;
|
|
85
|
+
summaryTotal: string;
|
|
86
|
+
reimbursementPerPound: string;
|
|
87
|
+
stressedPayment: string;
|
|
88
|
+
stressedPaymentRate: string;
|
|
89
|
+
rentalCoverage: string;
|
|
90
|
+
rentalCoverageWithoutTopUp: string;
|
|
91
|
+
} | null | undefined;
|
|
92
|
+
cashflowPeriods?: {
|
|
93
|
+
totalNoOfPayments: string;
|
|
94
|
+
fixed?: {
|
|
95
|
+
from: string;
|
|
96
|
+
to: string;
|
|
97
|
+
instalmentAmount: string;
|
|
98
|
+
instalmentInterest: string;
|
|
99
|
+
instalmentCapitalRepaid: string;
|
|
100
|
+
otherCosts: string;
|
|
101
|
+
outstandingCapital: string;
|
|
102
|
+
} | null | undefined;
|
|
103
|
+
variable?: {
|
|
104
|
+
from: string;
|
|
105
|
+
to: string;
|
|
106
|
+
instalmentAmount: string;
|
|
107
|
+
instalmentInterest: string;
|
|
108
|
+
instalmentCapitalRepaid: string;
|
|
109
|
+
otherCosts: string;
|
|
110
|
+
outstandingCapital: string;
|
|
111
|
+
} | null | undefined;
|
|
112
|
+
total?: {
|
|
113
|
+
from: string;
|
|
114
|
+
to: string;
|
|
115
|
+
instalmentAmount: string;
|
|
116
|
+
instalmentInterest: string;
|
|
117
|
+
instalmentCapitalRepaid: string;
|
|
118
|
+
otherCosts: string;
|
|
119
|
+
outstandingCapital: string;
|
|
120
|
+
} | null | undefined;
|
|
121
|
+
} | null | undefined;
|
|
122
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
123
|
+
name: string;
|
|
124
|
+
repaymentType: string;
|
|
125
|
+
ltv: string;
|
|
126
|
+
reimbursementPerPound: string;
|
|
127
|
+
stressedPayment: string;
|
|
128
|
+
stressedPaymentRate: string;
|
|
129
|
+
rentalCoverage: string;
|
|
130
|
+
clientAdvance: string;
|
|
131
|
+
repayment: string;
|
|
132
|
+
variableRepayment: string;
|
|
133
|
+
reversionRateWithoutBaseRate: string;
|
|
134
|
+
totalReversionRate: string;
|
|
135
|
+
initialRate: string;
|
|
136
|
+
fixedTerm: string;
|
|
137
|
+
fixedTermEndDate: string;
|
|
138
|
+
baseRate: string;
|
|
139
|
+
productRate: string;
|
|
140
|
+
apr: string;
|
|
141
|
+
applicationCategory: string;
|
|
142
|
+
securityType: string;
|
|
143
|
+
erc: string;
|
|
144
|
+
loanType: string;
|
|
145
|
+
maxLtvLimit: string;
|
|
146
|
+
reimbursement: string;
|
|
147
|
+
stressedApr: string;
|
|
148
|
+
stressedRate: string;
|
|
149
|
+
stressedRepayment: string;
|
|
150
|
+
liborFloorRate: string;
|
|
151
|
+
totalTermInMonths: string;
|
|
152
|
+
chargeType: string;
|
|
153
|
+
productCategory: string;
|
|
154
|
+
ercCode: string;
|
|
155
|
+
variableTerm: string;
|
|
156
|
+
totalFeePayable: string;
|
|
157
|
+
dipIssueDate: string;
|
|
158
|
+
estimatedCompletionDate: string;
|
|
159
|
+
dipExpiryDate: string;
|
|
160
|
+
fixedRepaymentUntillDate: string;
|
|
161
|
+
rentalReviewDate: string;
|
|
162
|
+
totalReimbursementWithFee: string;
|
|
163
|
+
finalRentPayment: string;
|
|
164
|
+
clientDeposit: string;
|
|
165
|
+
firstRentPayment: string;
|
|
166
|
+
fees: mongoose.Types.DocumentArray<{
|
|
167
|
+
description: string;
|
|
168
|
+
additionalData: any;
|
|
169
|
+
feeType: string;
|
|
170
|
+
feeAmount: string;
|
|
171
|
+
rate: string;
|
|
172
|
+
addedToLoan: string;
|
|
173
|
+
allowOverride: string;
|
|
174
|
+
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
175
|
+
description: string;
|
|
176
|
+
additionalData: any;
|
|
177
|
+
feeType: string;
|
|
178
|
+
feeAmount: string;
|
|
179
|
+
rate: string;
|
|
180
|
+
addedToLoan: string;
|
|
181
|
+
allowOverride: string;
|
|
182
|
+
}> & {
|
|
183
|
+
description: string;
|
|
184
|
+
additionalData: any;
|
|
185
|
+
feeType: string;
|
|
186
|
+
feeAmount: string;
|
|
187
|
+
rate: string;
|
|
188
|
+
addedToLoan: string;
|
|
189
|
+
allowOverride: string;
|
|
190
|
+
}>;
|
|
191
|
+
ercFeatures: any;
|
|
192
|
+
icr: string;
|
|
193
|
+
ufssProductCode: string;
|
|
194
|
+
ufssInterestRateCode: string;
|
|
195
|
+
calculations?: {
|
|
196
|
+
ltv: string;
|
|
197
|
+
rentalCoverageRatioRate: string;
|
|
198
|
+
bankContributionRate: string;
|
|
199
|
+
bankInitialShareRate: string;
|
|
200
|
+
totalAmountPayable: string;
|
|
201
|
+
fixedMonthlyPayment: string;
|
|
202
|
+
fixedMonthlyCapital: string;
|
|
203
|
+
fixedMonthlyInterest: string;
|
|
204
|
+
variableMonthlyPayment: string;
|
|
205
|
+
summaryTotal: string;
|
|
206
|
+
reimbursementPerPound: string;
|
|
207
|
+
stressedPayment: string;
|
|
208
|
+
stressedPaymentRate: string;
|
|
209
|
+
rentalCoverage: string;
|
|
210
|
+
rentalCoverageWithoutTopUp: string;
|
|
211
|
+
} | null | undefined;
|
|
212
|
+
cashflowPeriods?: {
|
|
213
|
+
totalNoOfPayments: string;
|
|
214
|
+
fixed?: {
|
|
215
|
+
from: string;
|
|
216
|
+
to: string;
|
|
217
|
+
instalmentAmount: string;
|
|
218
|
+
instalmentInterest: string;
|
|
219
|
+
instalmentCapitalRepaid: string;
|
|
220
|
+
otherCosts: string;
|
|
221
|
+
outstandingCapital: string;
|
|
222
|
+
} | null | undefined;
|
|
223
|
+
variable?: {
|
|
224
|
+
from: string;
|
|
225
|
+
to: string;
|
|
226
|
+
instalmentAmount: string;
|
|
227
|
+
instalmentInterest: string;
|
|
228
|
+
instalmentCapitalRepaid: string;
|
|
229
|
+
otherCosts: string;
|
|
230
|
+
outstandingCapital: string;
|
|
231
|
+
} | null | undefined;
|
|
232
|
+
total?: {
|
|
233
|
+
from: string;
|
|
234
|
+
to: string;
|
|
235
|
+
instalmentAmount: string;
|
|
236
|
+
instalmentInterest: string;
|
|
237
|
+
instalmentCapitalRepaid: string;
|
|
238
|
+
otherCosts: string;
|
|
239
|
+
outstandingCapital: string;
|
|
240
|
+
} | null | undefined;
|
|
241
|
+
} | null | undefined;
|
|
242
|
+
}>> & mongoose.FlatRecord<{
|
|
243
|
+
name: string;
|
|
244
|
+
repaymentType: string;
|
|
245
|
+
ltv: string;
|
|
246
|
+
reimbursementPerPound: string;
|
|
247
|
+
stressedPayment: string;
|
|
248
|
+
stressedPaymentRate: string;
|
|
249
|
+
rentalCoverage: string;
|
|
250
|
+
clientAdvance: string;
|
|
251
|
+
repayment: string;
|
|
252
|
+
variableRepayment: string;
|
|
253
|
+
reversionRateWithoutBaseRate: string;
|
|
254
|
+
totalReversionRate: string;
|
|
255
|
+
initialRate: string;
|
|
256
|
+
fixedTerm: string;
|
|
257
|
+
fixedTermEndDate: string;
|
|
258
|
+
baseRate: string;
|
|
259
|
+
productRate: string;
|
|
260
|
+
apr: string;
|
|
261
|
+
applicationCategory: string;
|
|
262
|
+
securityType: string;
|
|
263
|
+
erc: string;
|
|
264
|
+
loanType: string;
|
|
265
|
+
maxLtvLimit: string;
|
|
266
|
+
reimbursement: string;
|
|
267
|
+
stressedApr: string;
|
|
268
|
+
stressedRate: string;
|
|
269
|
+
stressedRepayment: string;
|
|
270
|
+
liborFloorRate: string;
|
|
271
|
+
totalTermInMonths: string;
|
|
272
|
+
chargeType: string;
|
|
273
|
+
productCategory: string;
|
|
274
|
+
ercCode: string;
|
|
275
|
+
variableTerm: string;
|
|
276
|
+
totalFeePayable: string;
|
|
277
|
+
dipIssueDate: string;
|
|
278
|
+
estimatedCompletionDate: string;
|
|
279
|
+
dipExpiryDate: string;
|
|
280
|
+
fixedRepaymentUntillDate: string;
|
|
281
|
+
rentalReviewDate: string;
|
|
282
|
+
totalReimbursementWithFee: string;
|
|
283
|
+
finalRentPayment: string;
|
|
284
|
+
clientDeposit: string;
|
|
285
|
+
firstRentPayment: string;
|
|
286
|
+
fees: mongoose.Types.DocumentArray<{
|
|
287
|
+
description: string;
|
|
288
|
+
additionalData: any;
|
|
289
|
+
feeType: string;
|
|
290
|
+
feeAmount: string;
|
|
291
|
+
rate: string;
|
|
292
|
+
addedToLoan: string;
|
|
293
|
+
allowOverride: string;
|
|
294
|
+
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
295
|
+
description: string;
|
|
296
|
+
additionalData: any;
|
|
297
|
+
feeType: string;
|
|
298
|
+
feeAmount: string;
|
|
299
|
+
rate: string;
|
|
300
|
+
addedToLoan: string;
|
|
301
|
+
allowOverride: string;
|
|
302
|
+
}> & {
|
|
303
|
+
description: string;
|
|
304
|
+
additionalData: any;
|
|
305
|
+
feeType: string;
|
|
306
|
+
feeAmount: string;
|
|
307
|
+
rate: string;
|
|
308
|
+
addedToLoan: string;
|
|
309
|
+
allowOverride: string;
|
|
310
|
+
}>;
|
|
311
|
+
ercFeatures: any;
|
|
312
|
+
icr: string;
|
|
313
|
+
ufssProductCode: string;
|
|
314
|
+
ufssInterestRateCode: string;
|
|
315
|
+
calculations?: {
|
|
316
|
+
ltv: string;
|
|
317
|
+
rentalCoverageRatioRate: string;
|
|
318
|
+
bankContributionRate: string;
|
|
319
|
+
bankInitialShareRate: string;
|
|
320
|
+
totalAmountPayable: string;
|
|
321
|
+
fixedMonthlyPayment: string;
|
|
322
|
+
fixedMonthlyCapital: string;
|
|
323
|
+
fixedMonthlyInterest: string;
|
|
324
|
+
variableMonthlyPayment: string;
|
|
325
|
+
summaryTotal: string;
|
|
326
|
+
reimbursementPerPound: string;
|
|
327
|
+
stressedPayment: string;
|
|
328
|
+
stressedPaymentRate: string;
|
|
329
|
+
rentalCoverage: string;
|
|
330
|
+
rentalCoverageWithoutTopUp: string;
|
|
331
|
+
} | null | undefined;
|
|
332
|
+
cashflowPeriods?: {
|
|
333
|
+
totalNoOfPayments: string;
|
|
334
|
+
fixed?: {
|
|
335
|
+
from: string;
|
|
336
|
+
to: string;
|
|
337
|
+
instalmentAmount: string;
|
|
338
|
+
instalmentInterest: string;
|
|
339
|
+
instalmentCapitalRepaid: string;
|
|
340
|
+
otherCosts: string;
|
|
341
|
+
outstandingCapital: string;
|
|
342
|
+
} | null | undefined;
|
|
343
|
+
variable?: {
|
|
344
|
+
from: string;
|
|
345
|
+
to: string;
|
|
346
|
+
instalmentAmount: string;
|
|
347
|
+
instalmentInterest: string;
|
|
348
|
+
instalmentCapitalRepaid: string;
|
|
349
|
+
otherCosts: string;
|
|
350
|
+
outstandingCapital: string;
|
|
351
|
+
} | null | undefined;
|
|
352
|
+
total?: {
|
|
353
|
+
from: string;
|
|
354
|
+
to: string;
|
|
355
|
+
instalmentAmount: string;
|
|
356
|
+
instalmentInterest: string;
|
|
357
|
+
instalmentCapitalRepaid: string;
|
|
358
|
+
otherCosts: string;
|
|
359
|
+
outstandingCapital: string;
|
|
360
|
+
} | null | undefined;
|
|
361
|
+
} | null | undefined;
|
|
362
|
+
}> & {
|
|
363
|
+
_id: mongoose.Types.ObjectId;
|
|
364
|
+
} & {
|
|
365
|
+
__v: number;
|
|
366
|
+
}>;
|
|
367
|
+
export default productFeaturesSchema;
|
|
368
|
+
//# sourceMappingURL=productfeatures.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productfeatures.model.d.ts","sourceRoot":"","sources":["../../applications/productfeatures.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAyChC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDzB,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
declare const DocumentTypeModel: mongoose.Model<{
|
|
3
|
+
name: string;
|
|
4
|
+
source: string;
|
|
5
|
+
parentDocumentTypeId: mongoose.Types.ObjectId;
|
|
6
|
+
label?: string | null | undefined;
|
|
7
|
+
matchRules?: any;
|
|
8
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
9
|
+
name: string;
|
|
10
|
+
source: string;
|
|
11
|
+
parentDocumentTypeId: mongoose.Types.ObjectId;
|
|
12
|
+
label?: string | null | undefined;
|
|
13
|
+
matchRules?: any;
|
|
14
|
+
}> & {
|
|
15
|
+
name: string;
|
|
16
|
+
source: string;
|
|
17
|
+
parentDocumentTypeId: mongoose.Types.ObjectId;
|
|
18
|
+
label?: string | null | undefined;
|
|
19
|
+
matchRules?: any;
|
|
20
|
+
} & {
|
|
21
|
+
_id: mongoose.Types.ObjectId;
|
|
22
|
+
} & {
|
|
23
|
+
__v: number;
|
|
24
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
25
|
+
name: string;
|
|
26
|
+
source: string;
|
|
27
|
+
parentDocumentTypeId: mongoose.Types.ObjectId;
|
|
28
|
+
label?: string | null | undefined;
|
|
29
|
+
matchRules?: any;
|
|
30
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
31
|
+
name: string;
|
|
32
|
+
source: string;
|
|
33
|
+
parentDocumentTypeId: mongoose.Types.ObjectId;
|
|
34
|
+
label?: string | null | undefined;
|
|
35
|
+
matchRules?: any;
|
|
36
|
+
}>> & mongoose.FlatRecord<{
|
|
37
|
+
name: string;
|
|
38
|
+
source: string;
|
|
39
|
+
parentDocumentTypeId: mongoose.Types.ObjectId;
|
|
40
|
+
label?: string | null | undefined;
|
|
41
|
+
matchRules?: any;
|
|
42
|
+
}> & {
|
|
43
|
+
_id: mongoose.Types.ObjectId;
|
|
44
|
+
} & {
|
|
45
|
+
__v: number;
|
|
46
|
+
}>>;
|
|
47
|
+
export default DocumentTypeModel;
|
|
48
|
+
//# sourceMappingURL=document-type-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-type-model.d.ts","sourceRoot":"","sources":["../../shared/document-type-model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAUhC,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAqD,CAAC;AAE7E,eAAe,iBAAiB,CAAC"}
|