@dynamatix/gb-schemas 2.19.1 → 2.20.2
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-additional-income.model.d.ts +1 -1
- package/dist/applicants/applicant-additional-income.type.d.ts +1 -1
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +1 -1
- package/dist/applicants/applicant-commitment-loan.model.d.ts +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +1 -1
- package/dist/applicants/applicant-commitment-residence.model.d.ts +1 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +1 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +1 -1
- package/dist/applicants/applicant-credit-data.model.d.ts +1 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts +1 -1
- package/dist/applicants/applicant-credit-report.model.d.ts +19 -19
- package/dist/applicants/applicant-credit-report.type.d.ts +1 -1
- package/dist/applicants/applicant-direct-debit.model.d.ts +86 -0
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -0
- package/dist/applicants/applicant-direct-debit.model.js +16 -0
- package/dist/applicants/applicant-employment-income.model.d.ts +1 -1
- package/dist/applicants/applicant-employment-income.type.d.ts +1 -1
- package/dist/applicants/applicant-employment.model.d.ts +1 -1
- package/dist/applicants/applicant-expenditure.model.d.ts +1 -1
- package/dist/applicants/applicant-expenditure.type.d.ts +1 -1
- package/dist/applicants/applicant-income-settings.model.d.ts +1 -1
- package/dist/applicants/applicant-income-settings.type.d.ts +1 -1
- 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-summary.model.d.ts +1 -1
- package/dist/applicants/applicant-income-summary.type.d.ts +1 -1
- 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-large-exposure.model.d.ts +1 -1
- package/dist/applicants/applicant-large-exposure.type.d.ts +1 -1
- 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-pension-income.model.d.ts +1 -1
- package/dist/applicants/applicant-pension-income.type.d.ts +1 -1
- package/dist/applicants/applicant-property-income.model.d.ts +1 -1
- package/dist/applicants/applicant-property-income.type.d.ts +1 -1
- package/dist/applicants/applicant-risk-narrative.model.d.ts +1 -1
- package/dist/applicants/applicant-self-employed-income.model.d.ts +1 -1
- package/dist/applicants/applicant-self-employed-income.type.d.ts +1 -1
- package/dist/applicants/applicant-self-employment.model.d.ts +1 -1
- package/dist/applicants/applicant-sole-trader-income.model.d.ts +1 -1
- package/dist/applicants/applicant-sole-trader-income.type.d.ts +1 -1
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +1 -1
- package/dist/applicants/applicant-uk-tax-credits.type.d.ts +1 -1
- package/dist/applicants/applicant-welcome-call.model.d.ts +1 -1
- package/dist/applicants/applicant-welcome-call.model.js +9 -9
- package/dist/applicants/applicant-welcome-call.type.d.ts +1 -1
- package/dist/applicants/applicant.model.d.ts +1 -1
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +2 -0
- package/dist/applicants/applicant.type.d.ts +1 -1
- package/dist/applications/application-audit.model.d.ts +1 -1
- package/dist/applications/application-checklist-Item.model.d.ts +1 -1
- package/dist/applications/application-company-model.d.ts +1 -1
- package/dist/applications/application-credit-profile.model.d.ts +1 -1
- package/dist/applications/application-direct-debit.model.d.ts +4 -4
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.js +2 -0
- package/dist/applications/application-direct-debit.type.d.ts +1 -1
- 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-euc.model.d.ts +1 -1
- package/dist/applications/application-euc.type.d.ts +1 -1
- package/dist/applications/application-fieldconfig.model.d.ts +1 -1
- package/dist/applications/application-illustration-model.d.ts +1 -1
- package/dist/applications/application-legal.model.d.ts +1 -1
- package/dist/applications/application-mortgage.model.d.ts +1 -1
- package/dist/applications/application-mortgage.type.d.ts +1 -1
- package/dist/applications/application-note.model.d.ts +1 -1
- package/dist/applications/application-note.type.d.ts +1 -1
- package/dist/applications/application-offer.model.d.ts +1 -1
- package/dist/applications/application-offer.type.d.ts +1 -1
- package/dist/applications/application-onboarding.model.d.ts +1 -1
- package/dist/applications/application-product.model.d.ts +1 -1
- package/dist/applications/application-product.type.d.ts +1 -1
- package/dist/applications/application-productfeatures.model.d.ts +1 -1
- package/dist/applications/application-productfeatures.type.d.ts +1 -1
- package/dist/applications/application-rationale.model.d.ts +1 -1
- package/dist/applications/application-rationale.type.d.ts +1 -1
- package/dist/applications/application-risk-narrative.model.d.ts +1 -1
- package/dist/applications/application-valuation-report.model.d.ts +1 -1
- package/dist/applications/application-valuation-report.type.d.ts +1 -1
- package/dist/applications/application-valuation.model.d.ts +1 -1
- package/dist/applications/application-valuation.type.d.ts +1 -1
- package/dist/applications/application.model.d.ts +1 -1
- package/dist/applications/applications-task.model.d.ts +1 -1
- package/dist/applications/applications-task.type.d.ts +1 -1
- package/dist/applications/broker.model.d.ts +1 -1
- package/dist/applications/broker.type.d.ts +1 -1
- package/dist/applications/document.model.d.ts +158 -0
- package/dist/applications/document.model.d.ts.map +1 -0
- package/dist/applications/euc-country-tier.model.d.ts +65 -0
- package/dist/applications/euc-country-tier.model.d.ts.map +1 -0
- package/dist/applications/euc-country-tier.model.js +24 -0
- package/dist/applications/euc-country-tier.type.d.ts +7 -0
- package/dist/applications/euc-country-tier.type.d.ts.map +1 -0
- package/dist/applications/euc-country-tier.type.js +1 -0
- package/dist/applications/index.d.ts +2 -0
- package/dist/applications/index.d.ts.map +1 -1
- package/dist/applications/index.js +1 -0
- package/dist/applications/productfeatures.model.d.ts +368 -0
- package/dist/applications/productfeatures.model.d.ts.map +1 -0
- package/dist/applications/solicitor.model.d.ts +1 -1
- package/dist/applications/solicitor.type.d.ts +1 -1
- package/dist/product-catalogues/product-catalogue.model.d.ts +1 -1
- package/dist/product-catalogues/product-definitions.model.d.ts +1 -1
- package/dist/product-catalogues/product-definitions.type.d.ts +1 -1
- package/dist/product-catalogues/product-variant.model.d.ts +1 -1
- package/dist/product-catalogues/product-variant.type.d.ts +1 -1
- package/dist/properties/property.model.d.ts +1 -1
- package/dist/properties/security.model.d.ts +1 -1
- package/dist/shared/alert.model.d.ts +1 -1
- package/dist/shared/api-log.model.d.ts +1 -1
- package/dist/shared/api-performance.model.d.ts +1 -1
- package/dist/shared/api-performance.type.d.ts +1 -1
- package/dist/shared/apprivo-sync-journey.model.d.ts +1 -1
- package/dist/shared/checklist.model.d.ts +1 -1
- package/dist/shared/document-type-model.d.ts +48 -0
- package/dist/shared/document-type-model.d.ts.map +1 -0
- package/dist/shared/encryption/encrypted-field-map.d.ts +5 -0
- package/dist/shared/encryption/encrypted-field-map.d.ts.map +1 -1
- package/dist/shared/encryption/encrypted-field-map.js +5 -1
- package/dist/shared/encryption/encryption-filter.guard.d.ts +69 -0
- package/dist/shared/encryption/encryption-filter.guard.d.ts.map +1 -0
- package/dist/shared/encryption/encryption-filter.guard.js +103 -0
- package/dist/shared/encryption/encryption.plugin.d.ts +225 -0
- package/dist/shared/encryption/encryption.plugin.d.ts.map +1 -0
- package/dist/shared/encryption/encryption.plugin.js +372 -0
- package/dist/shared/encryption/index.d.ts +2 -0
- package/dist/shared/encryption/index.d.ts.map +1 -1
- package/dist/shared/encryption/index.js +2 -0
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/job-run.model.d.ts +1 -1
- package/dist/shared/job-setting.model.d.ts +1 -1
- package/dist/shared/lookup-group.model.d.ts +1 -1
- package/dist/shared/lookup.model.d.ts +1 -1
- package/dist/shared/schema-doc.model.d.ts +1 -1
- package/dist/shared/system-parameter.model.d.ts +1 -1
- package/dist/shared/task-document.model.d.ts +1 -1
- package/dist/shared/task.model.d.ts +1 -1
- package/dist/shared/webhook-event.model.d.ts +1 -1
- package/dist/shared/workflow-trigger.model.d.ts +1 -1
- package/dist/shared/workflow-trigger.type.d.ts +1 -1
- package/dist/shared/workflow.middleware.d.ts +1 -1
- package/dist/shared/workflow.plugin.d.ts +1 -1
- package/dist/types/base.types.d.ts +1 -1
- package/dist/underwriter/underwriter.model.d.ts +1 -1
- package/dist/users/auth-log.model.d.ts +1 -1
- package/dist/users/permission.model.d.ts +1 -1
- package/dist/users/role-group.model.d.ts +1 -1
- package/dist/users/role.model.d.ts +1 -1
- package/dist/users/tasks.model.d.ts +1 -1
- package/dist/users/user.model.d.ts +1 -1
- package/dist/users/user.type.d.ts +1 -1
- package/dist/value-objects/account-number.d.ts +1 -1
- package/dist/value-objects/pound.d.ts +1 -1
- package/package.json +90 -90
|
@@ -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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
3
|
/// <reference path="encryption/encrypted-field-map.d.ts" />
|
|
4
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
5
5
|
/// <reference types="mongoose/types/aggregate" />
|
|
6
6
|
/// <reference types="mongoose/types/callback" />
|
|
7
7
|
/// <reference types="mongoose/types/collection" />
|
|
@@ -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"}
|
|
@@ -43,6 +43,11 @@ declare module 'mongoose' {
|
|
|
43
43
|
* (Enterprise-only) CSFLE schema option.
|
|
44
44
|
*/
|
|
45
45
|
ghEncrypt?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Original BSON type of a `ghEncrypt` path, stashed by the plugin
|
|
48
|
+
* when it re-types the path to `Mixed` (ciphertext is Binary).
|
|
49
|
+
*/
|
|
50
|
+
ghOriginalType?: string;
|
|
46
51
|
}
|
|
47
52
|
}
|
|
48
53
|
/** One encrypted path of a collection, as consumed by the plugin/backfill. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encrypted-field-map.d.ts","sourceRoot":"","sources":["../../../shared/encryption/encrypted-field-map.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAc,KAAK,EAAE,MAAM,UAAU,CAAC;AAErD;;;;;;;GAOG;AACH,OAAO,QAAQ,UAAU,CAAC;IACtB,UAAU,iBAAiB,CAAC,CAAC;QACzB;;;;WAIG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"encrypted-field-map.d.ts","sourceRoot":"","sources":["../../../shared/encryption/encrypted-field-map.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAc,KAAK,EAAE,MAAM,UAAU,CAAC;AAErD;;;;;;;GAOG;AACH,OAAO,QAAQ,UAAU,CAAC;IACtB,UAAU,iBAAiB,CAAC,CAAC;QACzB;;;;WAIG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB;;;WAGG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;KAC3B;CACJ;AAED,8EAA8E;AAC9E,MAAM,WAAW,mBAAmB;IAChC,2EAA2E;IAC3E,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,IAAI,EAAE,QAAQ,CAAC;IACf,yEAAyE;IACzE,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,0DAA0D;AAC1D,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,CAAC;AAEtE;;;;;;;;;;GAUG;AACH,qBAAa,wBAAwB;IACjC,OAAO;IAEP;;;;;;;;;;;;;OAaG;WACW,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,SAAK,GAAG,mBAAmB,EAAE;IAqBhF;;;;;;;;;;;;;OAaG;WACW,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,GAAG,iBAAiB;IAWzE;;;;;;;;;;OAUG;WACW,MAAM,CAAC,GAAG,EAAE,iBAAiB,GAAG,MAAM;IAIpD;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,YAAY;IAkB3B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,SAAS;CAS3B"}
|
|
@@ -36,7 +36,11 @@ export class EncryptedFieldMapBuilder {
|
|
|
36
36
|
}
|
|
37
37
|
if (schemaType.options?.ghEncrypt === true) {
|
|
38
38
|
EncryptedFieldMapBuilder.validatePath(fullPath, schemaType, schema);
|
|
39
|
-
entries.push({
|
|
39
|
+
entries.push({
|
|
40
|
+
path: fullPath,
|
|
41
|
+
mode: 'random',
|
|
42
|
+
bsonType: schemaType.options?.ghOriginalType ?? schemaType.instance
|
|
43
|
+
});
|
|
40
44
|
}
|
|
41
45
|
});
|
|
42
46
|
return entries;
|