@dynamatix/gb-schemas 2.3.241 → 2.3.243
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-welcome-call.model.d.ts +72 -0
- package/dist/applicants/applicant-welcome-call.model.d.ts.map +1 -1
- package/dist/applicants/applicant-welcome-call.model.js +78 -9
- package/dist/applicants/applicant.model.d.ts +6 -6
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +0 -3
- package/dist/applications/application-valuation-report.model.d.ts +2520 -0
- package/dist/applications/application-valuation-report.model.d.ts.map +1 -1
- package/dist/applications/application-valuation-report.model.js +445 -0
- package/dist/applications/application-valuation-report.type.d.ts +142 -0
- package/dist/applications/application-valuation-report.type.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.d.ts +6 -6
- package/dist/applications/application.model.d.ts +6 -6
- package/dist/applications/broker.model.d.ts +6 -6
- package/dist/applications/solicitor.model.d.ts +6 -6
- package/dist/properties/property.model.d.ts +6 -6
- package/package.json +87 -87
- package/dist/applicants/applicant-income-source.model.d.ts +0 -26
- package/dist/applicants/applicant-income-source.model.d.ts.map +0 -1
- package/dist/applicants/applicant-income.model.d.ts +0 -160
- package/dist/applicants/applicant-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-other-income.model.d.ts +0 -85
- package/dist/applicants/applicant-other-income.model.d.ts.map +0 -1
- package/dist/applications/application-document.model.d.ts +0 -158
- package/dist/applications/application-document.model.d.ts.map +0 -1
- package/dist/applications/document.model.d.ts +0 -158
- package/dist/applications/document.model.d.ts.map +0 -1
- package/dist/applications/productfeatures.model.d.ts +0 -368
- package/dist/applications/productfeatures.model.d.ts.map +0 -1
- package/dist/shared/document-type-model.d.ts +0 -48
- package/dist/shared/document-type-model.d.ts.map +0 -1
|
@@ -62,8 +62,20 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
62
62
|
underwritingQuestions: string;
|
|
63
63
|
vulnerabilityImpact: string;
|
|
64
64
|
vulnerabilityIndicatorsStatusLid: mongoose.Types.ObjectId;
|
|
65
|
+
vulnerabilityResponseStatusLid: mongoose.Types.ObjectId;
|
|
66
|
+
vulnerableCustomerLid: mongoose.Types.ObjectId;
|
|
67
|
+
informCustomerStatusLid: mongoose.Types.ObjectId;
|
|
65
68
|
financeSummaryStatusLid: mongoose.Types.ObjectId;
|
|
69
|
+
ShahriahFinanceSummaryStatusLid: mongoose.Types.ObjectId;
|
|
66
70
|
nextStepsStatusLid: mongoose.Types.ObjectId;
|
|
71
|
+
customerEnglishabilityStatusLid: mongoose.Types.ObjectId;
|
|
72
|
+
brokerNameStatusLid: mongoose.Types.ObjectId;
|
|
73
|
+
accountHolderNameStatusLid: mongoose.Types.ObjectId;
|
|
74
|
+
repaymentAmountStatusLid: mongoose.Types.ObjectId;
|
|
75
|
+
propertyReside: string;
|
|
76
|
+
FinanceTypeStatusLid: mongoose.Types.ObjectId;
|
|
77
|
+
customerSufficientStatusLid: mongoose.Types.ObjectId;
|
|
78
|
+
knowledgeOfApplicationStatusLid: mongoose.Types.ObjectId;
|
|
67
79
|
customerQuestions: string;
|
|
68
80
|
underwriterName: string;
|
|
69
81
|
failedCallDate: string;
|
|
@@ -102,8 +114,20 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
102
114
|
underwritingQuestions: string;
|
|
103
115
|
vulnerabilityImpact: string;
|
|
104
116
|
vulnerabilityIndicatorsStatusLid: mongoose.Types.ObjectId;
|
|
117
|
+
vulnerabilityResponseStatusLid: mongoose.Types.ObjectId;
|
|
118
|
+
vulnerableCustomerLid: mongoose.Types.ObjectId;
|
|
119
|
+
informCustomerStatusLid: mongoose.Types.ObjectId;
|
|
105
120
|
financeSummaryStatusLid: mongoose.Types.ObjectId;
|
|
121
|
+
ShahriahFinanceSummaryStatusLid: mongoose.Types.ObjectId;
|
|
106
122
|
nextStepsStatusLid: mongoose.Types.ObjectId;
|
|
123
|
+
customerEnglishabilityStatusLid: mongoose.Types.ObjectId;
|
|
124
|
+
brokerNameStatusLid: mongoose.Types.ObjectId;
|
|
125
|
+
accountHolderNameStatusLid: mongoose.Types.ObjectId;
|
|
126
|
+
repaymentAmountStatusLid: mongoose.Types.ObjectId;
|
|
127
|
+
propertyReside: string;
|
|
128
|
+
FinanceTypeStatusLid: mongoose.Types.ObjectId;
|
|
129
|
+
customerSufficientStatusLid: mongoose.Types.ObjectId;
|
|
130
|
+
knowledgeOfApplicationStatusLid: mongoose.Types.ObjectId;
|
|
107
131
|
customerQuestions: string;
|
|
108
132
|
underwriterName: string;
|
|
109
133
|
failedCallDate: string;
|
|
@@ -142,8 +166,20 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
142
166
|
underwritingQuestions: string;
|
|
143
167
|
vulnerabilityImpact: string;
|
|
144
168
|
vulnerabilityIndicatorsStatusLid: mongoose.Types.ObjectId;
|
|
169
|
+
vulnerabilityResponseStatusLid: mongoose.Types.ObjectId;
|
|
170
|
+
vulnerableCustomerLid: mongoose.Types.ObjectId;
|
|
171
|
+
informCustomerStatusLid: mongoose.Types.ObjectId;
|
|
145
172
|
financeSummaryStatusLid: mongoose.Types.ObjectId;
|
|
173
|
+
ShahriahFinanceSummaryStatusLid: mongoose.Types.ObjectId;
|
|
146
174
|
nextStepsStatusLid: mongoose.Types.ObjectId;
|
|
175
|
+
customerEnglishabilityStatusLid: mongoose.Types.ObjectId;
|
|
176
|
+
brokerNameStatusLid: mongoose.Types.ObjectId;
|
|
177
|
+
accountHolderNameStatusLid: mongoose.Types.ObjectId;
|
|
178
|
+
repaymentAmountStatusLid: mongoose.Types.ObjectId;
|
|
179
|
+
propertyReside: string;
|
|
180
|
+
FinanceTypeStatusLid: mongoose.Types.ObjectId;
|
|
181
|
+
customerSufficientStatusLid: mongoose.Types.ObjectId;
|
|
182
|
+
knowledgeOfApplicationStatusLid: mongoose.Types.ObjectId;
|
|
147
183
|
customerQuestions: string;
|
|
148
184
|
underwriterName: string;
|
|
149
185
|
failedCallDate: string;
|
|
@@ -194,8 +230,20 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
194
230
|
underwritingQuestions: string;
|
|
195
231
|
vulnerabilityImpact: string;
|
|
196
232
|
vulnerabilityIndicatorsStatusLid: mongoose.Types.ObjectId;
|
|
233
|
+
vulnerabilityResponseStatusLid: mongoose.Types.ObjectId;
|
|
234
|
+
vulnerableCustomerLid: mongoose.Types.ObjectId;
|
|
235
|
+
informCustomerStatusLid: mongoose.Types.ObjectId;
|
|
197
236
|
financeSummaryStatusLid: mongoose.Types.ObjectId;
|
|
237
|
+
ShahriahFinanceSummaryStatusLid: mongoose.Types.ObjectId;
|
|
198
238
|
nextStepsStatusLid: mongoose.Types.ObjectId;
|
|
239
|
+
customerEnglishabilityStatusLid: mongoose.Types.ObjectId;
|
|
240
|
+
brokerNameStatusLid: mongoose.Types.ObjectId;
|
|
241
|
+
accountHolderNameStatusLid: mongoose.Types.ObjectId;
|
|
242
|
+
repaymentAmountStatusLid: mongoose.Types.ObjectId;
|
|
243
|
+
propertyReside: string;
|
|
244
|
+
FinanceTypeStatusLid: mongoose.Types.ObjectId;
|
|
245
|
+
customerSufficientStatusLid: mongoose.Types.ObjectId;
|
|
246
|
+
knowledgeOfApplicationStatusLid: mongoose.Types.ObjectId;
|
|
199
247
|
customerQuestions: string;
|
|
200
248
|
underwriterName: string;
|
|
201
249
|
failedCallDate: string;
|
|
@@ -234,8 +282,20 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
234
282
|
underwritingQuestions: string;
|
|
235
283
|
vulnerabilityImpact: string;
|
|
236
284
|
vulnerabilityIndicatorsStatusLid: mongoose.Types.ObjectId;
|
|
285
|
+
vulnerabilityResponseStatusLid: mongoose.Types.ObjectId;
|
|
286
|
+
vulnerableCustomerLid: mongoose.Types.ObjectId;
|
|
287
|
+
informCustomerStatusLid: mongoose.Types.ObjectId;
|
|
237
288
|
financeSummaryStatusLid: mongoose.Types.ObjectId;
|
|
289
|
+
ShahriahFinanceSummaryStatusLid: mongoose.Types.ObjectId;
|
|
238
290
|
nextStepsStatusLid: mongoose.Types.ObjectId;
|
|
291
|
+
customerEnglishabilityStatusLid: mongoose.Types.ObjectId;
|
|
292
|
+
brokerNameStatusLid: mongoose.Types.ObjectId;
|
|
293
|
+
accountHolderNameStatusLid: mongoose.Types.ObjectId;
|
|
294
|
+
repaymentAmountStatusLid: mongoose.Types.ObjectId;
|
|
295
|
+
propertyReside: string;
|
|
296
|
+
FinanceTypeStatusLid: mongoose.Types.ObjectId;
|
|
297
|
+
customerSufficientStatusLid: mongoose.Types.ObjectId;
|
|
298
|
+
knowledgeOfApplicationStatusLid: mongoose.Types.ObjectId;
|
|
239
299
|
customerQuestions: string;
|
|
240
300
|
underwriterName: string;
|
|
241
301
|
failedCallDate: string;
|
|
@@ -274,8 +334,20 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
274
334
|
underwritingQuestions: string;
|
|
275
335
|
vulnerabilityImpact: string;
|
|
276
336
|
vulnerabilityIndicatorsStatusLid: mongoose.Types.ObjectId;
|
|
337
|
+
vulnerabilityResponseStatusLid: mongoose.Types.ObjectId;
|
|
338
|
+
vulnerableCustomerLid: mongoose.Types.ObjectId;
|
|
339
|
+
informCustomerStatusLid: mongoose.Types.ObjectId;
|
|
277
340
|
financeSummaryStatusLid: mongoose.Types.ObjectId;
|
|
341
|
+
ShahriahFinanceSummaryStatusLid: mongoose.Types.ObjectId;
|
|
278
342
|
nextStepsStatusLid: mongoose.Types.ObjectId;
|
|
343
|
+
customerEnglishabilityStatusLid: mongoose.Types.ObjectId;
|
|
344
|
+
brokerNameStatusLid: mongoose.Types.ObjectId;
|
|
345
|
+
accountHolderNameStatusLid: mongoose.Types.ObjectId;
|
|
346
|
+
repaymentAmountStatusLid: mongoose.Types.ObjectId;
|
|
347
|
+
propertyReside: string;
|
|
348
|
+
FinanceTypeStatusLid: mongoose.Types.ObjectId;
|
|
349
|
+
customerSufficientStatusLid: mongoose.Types.ObjectId;
|
|
350
|
+
knowledgeOfApplicationStatusLid: mongoose.Types.ObjectId;
|
|
279
351
|
customerQuestions: string;
|
|
280
352
|
underwriterName: string;
|
|
281
353
|
failedCallDate: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-welcome-call.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-welcome-call.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-welcome-call.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-welcome-call.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoWhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA4D,CAAC;AAEnF,eAAe,gBAAgB,CAAC"}
|
|
@@ -21,16 +21,17 @@ const welcomeCallSchema = new mongoose.Schema({
|
|
|
21
21
|
},
|
|
22
22
|
callCompletedDate: {
|
|
23
23
|
type: String,
|
|
24
|
-
description: "Call Completed Date",
|
|
24
|
+
description: "Call Completed Date / Welcome call end date",
|
|
25
25
|
default: null
|
|
26
26
|
},
|
|
27
27
|
failedCallReason: {
|
|
28
28
|
type: String,
|
|
29
29
|
description: "Failed Call Reason",
|
|
30
|
-
default: null
|
|
30
|
+
default: null,
|
|
31
31
|
},
|
|
32
32
|
customerFullNameStatusLid: {
|
|
33
|
-
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
33
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
34
|
+
description: "Ask the applicant to confirm the account holder and name of bank"
|
|
34
35
|
},
|
|
35
36
|
customerDOBStatusLid: {
|
|
36
37
|
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
@@ -68,7 +69,8 @@ const welcomeCallSchema = new mongoose.Schema({
|
|
|
68
69
|
description: "applicant you are speaking is residing in high risk country"
|
|
69
70
|
},
|
|
70
71
|
securityPropertyAddressStatusLid: {
|
|
71
|
-
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
72
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
73
|
+
description: "applicant to confirm the security property address"
|
|
72
74
|
},
|
|
73
75
|
monthlyFinancePaymentStatusLid: {
|
|
74
76
|
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
@@ -78,12 +80,16 @@ const welcomeCallSchema = new mongoose.Schema({
|
|
|
78
80
|
description: "Who will reside in the property? N.B. This should align with the finance type and other application details",
|
|
79
81
|
default: null
|
|
80
82
|
},
|
|
81
|
-
propertyTypeStatusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
83
|
+
propertyTypeStatusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
84
|
+
description: "applicant to confirm type of property"
|
|
85
|
+
},
|
|
82
86
|
productFixedPeriodStatusLid: {
|
|
83
|
-
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
87
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
88
|
+
description: "customer to confirm the length of product fixed period"
|
|
84
89
|
},
|
|
85
90
|
fullFinanceTermStatusLid: {
|
|
86
|
-
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
91
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
92
|
+
description: "customer to confirm the length of finance term"
|
|
87
93
|
},
|
|
88
94
|
productRentalRateStatusLid: {
|
|
89
95
|
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
@@ -101,11 +107,29 @@ const welcomeCallSchema = new mongoose.Schema({
|
|
|
101
107
|
vulnerabilityIndicatorsStatusLid: {
|
|
102
108
|
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
103
109
|
},
|
|
110
|
+
vulnerabilityResponseStatusLid: {
|
|
111
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
112
|
+
description: "vulnerability response to previous question"
|
|
113
|
+
},
|
|
114
|
+
vulnerableCustomerLid: {
|
|
115
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
116
|
+
description: "vulnerable customer SOP/TEXAS model"
|
|
117
|
+
},
|
|
118
|
+
informCustomerStatusLid: {
|
|
119
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
120
|
+
description: "inform customer if changes at any point in the future"
|
|
121
|
+
},
|
|
104
122
|
financeSummaryStatusLid: {
|
|
105
|
-
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
123
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
124
|
+
desription: "customer to explain summary of finance details"
|
|
125
|
+
},
|
|
126
|
+
ShahriahFinanceSummaryStatusLid: {
|
|
127
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
128
|
+
description: "customer to summarize the understanding of shahriah finance details and how differ from mortgage"
|
|
106
129
|
},
|
|
107
130
|
nextStepsStatusLid: {
|
|
108
|
-
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null
|
|
131
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
132
|
+
description: "explain next step in application journey"
|
|
109
133
|
},
|
|
110
134
|
purchaseTypeLid: {
|
|
111
135
|
type: mongoose.Schema.Types.ObjectId,
|
|
@@ -117,6 +141,51 @@ const welcomeCallSchema = new mongoose.Schema({
|
|
|
117
141
|
ref: "Lookup",
|
|
118
142
|
required: true
|
|
119
143
|
},
|
|
144
|
+
customerEnglishabilityStatusLid: {
|
|
145
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
146
|
+
ref: "Lookup",
|
|
147
|
+
required: true,
|
|
148
|
+
description: "Customer's levele of English speaking ability"
|
|
149
|
+
},
|
|
150
|
+
brokerNameStatusLid: {
|
|
151
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
152
|
+
ref: "Lookup",
|
|
153
|
+
required: true,
|
|
154
|
+
description: "ask applicant to confirm the broker name"
|
|
155
|
+
},
|
|
156
|
+
accountHolderNameStatusLid: {
|
|
157
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
158
|
+
description: "Ask the applicant to confirm the account holder and name of bank"
|
|
159
|
+
},
|
|
160
|
+
repaymentAmountStatusLid: {
|
|
161
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
162
|
+
ref: "Lookup",
|
|
163
|
+
default: null,
|
|
164
|
+
description: "Ask the applicant to confirm the monthly repayment amount",
|
|
165
|
+
},
|
|
166
|
+
propertyReside: {
|
|
167
|
+
type: String,
|
|
168
|
+
description: "Customer to confirm who will reside in the property",
|
|
169
|
+
default: null
|
|
170
|
+
},
|
|
171
|
+
FinanceTypeStatusLid: {
|
|
172
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
173
|
+
ref: "Lookup",
|
|
174
|
+
default: null,
|
|
175
|
+
description: "applicant response matched with application detail and finance type",
|
|
176
|
+
},
|
|
177
|
+
customerSufficientStatusLid: {
|
|
178
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
179
|
+
ref: "Lookup",
|
|
180
|
+
required: true,
|
|
181
|
+
description: "customer sufficiently aware of application details",
|
|
182
|
+
},
|
|
183
|
+
knowledgeOfApplicationStatusLid: {
|
|
184
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
185
|
+
ref: "Lookup",
|
|
186
|
+
required: true,
|
|
187
|
+
description: "applicant knowledge of application details",
|
|
188
|
+
},
|
|
120
189
|
customerQuestions: {
|
|
121
190
|
type: String,
|
|
122
191
|
description: "Ask the customer if they have any questions",
|
|
@@ -137,9 +137,9 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
137
137
|
addressLine3?: unknown;
|
|
138
138
|
addressCity?: unknown;
|
|
139
139
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
140
|
+
email?: unknown;
|
|
140
141
|
creditProfile?: unknown;
|
|
141
142
|
isUkResident?: unknown;
|
|
142
|
-
email?: unknown;
|
|
143
143
|
firstName?: unknown;
|
|
144
144
|
lastName?: unknown;
|
|
145
145
|
incomeSourceId?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -488,9 +488,9 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
488
488
|
addressLine3?: unknown;
|
|
489
489
|
addressCity?: unknown;
|
|
490
490
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
491
|
+
email?: unknown;
|
|
491
492
|
creditProfile?: unknown;
|
|
492
493
|
isUkResident?: unknown;
|
|
493
|
-
email?: unknown;
|
|
494
494
|
firstName?: unknown;
|
|
495
495
|
lastName?: unknown;
|
|
496
496
|
incomeSourceId?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -839,9 +839,9 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
839
839
|
addressLine3?: unknown;
|
|
840
840
|
addressCity?: unknown;
|
|
841
841
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
842
|
+
email?: unknown;
|
|
842
843
|
creditProfile?: unknown;
|
|
843
844
|
isUkResident?: unknown;
|
|
844
|
-
email?: unknown;
|
|
845
845
|
firstName?: unknown;
|
|
846
846
|
lastName?: unknown;
|
|
847
847
|
incomeSourceId?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -1109,8 +1109,8 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
1109
1109
|
addressLine3: string;
|
|
1110
1110
|
addressCity: string;
|
|
1111
1111
|
addressCountryLid: mongoose.Types.ObjectId;
|
|
1112
|
-
isUkResident: boolean;
|
|
1113
1112
|
email: string;
|
|
1113
|
+
isUkResident: boolean;
|
|
1114
1114
|
firstName: string;
|
|
1115
1115
|
lastName: string;
|
|
1116
1116
|
incomeSourceId: mongoose.Types.ObjectId;
|
|
@@ -1265,8 +1265,8 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
1265
1265
|
addressLine3: string;
|
|
1266
1266
|
addressCity: string;
|
|
1267
1267
|
addressCountryLid: mongoose.Types.ObjectId;
|
|
1268
|
-
isUkResident: boolean;
|
|
1269
1268
|
email: string;
|
|
1269
|
+
isUkResident: boolean;
|
|
1270
1270
|
firstName: string;
|
|
1271
1271
|
lastName: string;
|
|
1272
1272
|
incomeSourceId: mongoose.Types.ObjectId;
|
|
@@ -1421,8 +1421,8 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
1421
1421
|
addressLine3: string;
|
|
1422
1422
|
addressCity: string;
|
|
1423
1423
|
addressCountryLid: mongoose.Types.ObjectId;
|
|
1424
|
-
isUkResident: boolean;
|
|
1425
1424
|
email: string;
|
|
1425
|
+
isUkResident: boolean;
|
|
1426
1426
|
firstName: string;
|
|
1427
1427
|
lastName: string;
|
|
1428
1428
|
incomeSourceId: mongoose.Types.ObjectId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAOhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAOhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAmQ5D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
|
|
@@ -211,9 +211,6 @@ applicantSchema.virtual('vulnerabilityType').get(function () {
|
|
|
211
211
|
applicantSchema.virtual('fullName').get(function () {
|
|
212
212
|
return `${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
|
|
213
213
|
});
|
|
214
|
-
applicantSchema.virtual('displayName').get(function () {
|
|
215
|
-
return `${this.title ?? ''} ${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
|
|
216
|
-
});
|
|
217
214
|
// virtual property 'applicationType'
|
|
218
215
|
applicantSchema.virtual('applicationType').get(function () {
|
|
219
216
|
return this.applicationId?.applicationTypeLid instanceof mongoose.Types.ObjectId
|