@dynamatix/gb-schemas 2.17.3 → 2.17.7
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-welcome-call.model.d.ts +216 -0
- package/dist/applicants/applicant-welcome-call.model.d.ts.map +1 -1
- package/dist/applicants/applicant-welcome-call.model.js +154 -0
- package/dist/applications/application-offer.model.d.ts +24 -0
- package/dist/applications/application-offer.model.d.ts.map +1 -1
- package/dist/applications/application-offer.model.js +4 -0
- package/package.json +1 -1
|
@@ -75,6 +75,42 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
75
75
|
underwriterName: string;
|
|
76
76
|
failedCallDate: string;
|
|
77
77
|
isAlgbraAccountRequested: boolean;
|
|
78
|
+
shariahAwarenessLid: mongoose.Types.ObjectId;
|
|
79
|
+
shariahUnderstandingLid: mongoose.Types.ObjectId;
|
|
80
|
+
shariahExplanationProvidedLid: mongoose.Types.ObjectId;
|
|
81
|
+
cuPropertyTypeLid: mongoose.Types.ObjectId;
|
|
82
|
+
cuBedroomsLid: mongoose.Types.ObjectId;
|
|
83
|
+
cuSecurityAddressLid: mongoose.Types.ObjectId;
|
|
84
|
+
cuNewBuildLid: mongoose.Types.ObjectId;
|
|
85
|
+
cuPropertyDetailsOutcomeLid: mongoose.Types.ObjectId;
|
|
86
|
+
cuPurposeFinanceTypeLid: mongoose.Types.ObjectId;
|
|
87
|
+
cuPurposeProposedTenantsLid: mongoose.Types.ObjectId;
|
|
88
|
+
cuPurposeOutcomeLid: mongoose.Types.ObjectId;
|
|
89
|
+
cuFsPurchasePriceLid: mongoose.Types.ObjectId;
|
|
90
|
+
cuFsFinanceAmountLid: mongoose.Types.ObjectId;
|
|
91
|
+
cuFsDepositLid: mongoose.Types.ObjectId;
|
|
92
|
+
cuFsExistingProviderLid: mongoose.Types.ObjectId;
|
|
93
|
+
cuFsOutstandingBalanceLid: mongoose.Types.ObjectId;
|
|
94
|
+
cuFsRefinancePurposeLid: mongoose.Types.ObjectId;
|
|
95
|
+
cuFsCapitalRaisingLid: mongoose.Types.ObjectId;
|
|
96
|
+
cuFsBulletPaymentLid: mongoose.Types.ObjectId;
|
|
97
|
+
cuFsOutcomeLid: mongoose.Types.ObjectId;
|
|
98
|
+
cuRepaymentTypeLid: mongoose.Types.ObjectId;
|
|
99
|
+
cuExitStrategyLid: mongoose.Types.ObjectId;
|
|
100
|
+
cuRepaymentOutcomeLid: mongoose.Types.ObjectId;
|
|
101
|
+
cuPrProductLid: mongoose.Types.ObjectId;
|
|
102
|
+
cuPrFinanceTermLid: mongoose.Types.ObjectId;
|
|
103
|
+
cuPrMonthlyPaymentLid: mongoose.Types.ObjectId;
|
|
104
|
+
cuPrInitialRateLid: mongoose.Types.ObjectId;
|
|
105
|
+
cuPrReversionRateLid: mongoose.Types.ObjectId;
|
|
106
|
+
cuPrRentalIncomeLid: mongoose.Types.ObjectId;
|
|
107
|
+
cuPrOutcomeLid: mongoose.Types.ObjectId;
|
|
108
|
+
cuRisksOutcomeLid: mongoose.Types.ObjectId;
|
|
109
|
+
vulnerabilityCommunicationAdjustments: string;
|
|
110
|
+
underwriterQuestion: string;
|
|
111
|
+
customerResponse: string;
|
|
112
|
+
confirmUnderstandingQuestions: string;
|
|
113
|
+
proceedDecisionLid: mongoose.Types.ObjectId;
|
|
78
114
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
79
115
|
lendingTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
80
116
|
purchaseTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -131,6 +167,42 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
131
167
|
underwriterName: string;
|
|
132
168
|
failedCallDate: string;
|
|
133
169
|
isAlgbraAccountRequested: boolean;
|
|
170
|
+
shariahAwarenessLid: mongoose.Types.ObjectId;
|
|
171
|
+
shariahUnderstandingLid: mongoose.Types.ObjectId;
|
|
172
|
+
shariahExplanationProvidedLid: mongoose.Types.ObjectId;
|
|
173
|
+
cuPropertyTypeLid: mongoose.Types.ObjectId;
|
|
174
|
+
cuBedroomsLid: mongoose.Types.ObjectId;
|
|
175
|
+
cuSecurityAddressLid: mongoose.Types.ObjectId;
|
|
176
|
+
cuNewBuildLid: mongoose.Types.ObjectId;
|
|
177
|
+
cuPropertyDetailsOutcomeLid: mongoose.Types.ObjectId;
|
|
178
|
+
cuPurposeFinanceTypeLid: mongoose.Types.ObjectId;
|
|
179
|
+
cuPurposeProposedTenantsLid: mongoose.Types.ObjectId;
|
|
180
|
+
cuPurposeOutcomeLid: mongoose.Types.ObjectId;
|
|
181
|
+
cuFsPurchasePriceLid: mongoose.Types.ObjectId;
|
|
182
|
+
cuFsFinanceAmountLid: mongoose.Types.ObjectId;
|
|
183
|
+
cuFsDepositLid: mongoose.Types.ObjectId;
|
|
184
|
+
cuFsExistingProviderLid: mongoose.Types.ObjectId;
|
|
185
|
+
cuFsOutstandingBalanceLid: mongoose.Types.ObjectId;
|
|
186
|
+
cuFsRefinancePurposeLid: mongoose.Types.ObjectId;
|
|
187
|
+
cuFsCapitalRaisingLid: mongoose.Types.ObjectId;
|
|
188
|
+
cuFsBulletPaymentLid: mongoose.Types.ObjectId;
|
|
189
|
+
cuFsOutcomeLid: mongoose.Types.ObjectId;
|
|
190
|
+
cuRepaymentTypeLid: mongoose.Types.ObjectId;
|
|
191
|
+
cuExitStrategyLid: mongoose.Types.ObjectId;
|
|
192
|
+
cuRepaymentOutcomeLid: mongoose.Types.ObjectId;
|
|
193
|
+
cuPrProductLid: mongoose.Types.ObjectId;
|
|
194
|
+
cuPrFinanceTermLid: mongoose.Types.ObjectId;
|
|
195
|
+
cuPrMonthlyPaymentLid: mongoose.Types.ObjectId;
|
|
196
|
+
cuPrInitialRateLid: mongoose.Types.ObjectId;
|
|
197
|
+
cuPrReversionRateLid: mongoose.Types.ObjectId;
|
|
198
|
+
cuPrRentalIncomeLid: mongoose.Types.ObjectId;
|
|
199
|
+
cuPrOutcomeLid: mongoose.Types.ObjectId;
|
|
200
|
+
cuRisksOutcomeLid: mongoose.Types.ObjectId;
|
|
201
|
+
vulnerabilityCommunicationAdjustments: string;
|
|
202
|
+
underwriterQuestion: string;
|
|
203
|
+
customerResponse: string;
|
|
204
|
+
confirmUnderstandingQuestions: string;
|
|
205
|
+
proceedDecisionLid: mongoose.Types.ObjectId;
|
|
134
206
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
135
207
|
lendingTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
136
208
|
purchaseTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -187,6 +259,42 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
187
259
|
underwriterName: string;
|
|
188
260
|
failedCallDate: string;
|
|
189
261
|
isAlgbraAccountRequested: boolean;
|
|
262
|
+
shariahAwarenessLid: mongoose.Types.ObjectId;
|
|
263
|
+
shariahUnderstandingLid: mongoose.Types.ObjectId;
|
|
264
|
+
shariahExplanationProvidedLid: mongoose.Types.ObjectId;
|
|
265
|
+
cuPropertyTypeLid: mongoose.Types.ObjectId;
|
|
266
|
+
cuBedroomsLid: mongoose.Types.ObjectId;
|
|
267
|
+
cuSecurityAddressLid: mongoose.Types.ObjectId;
|
|
268
|
+
cuNewBuildLid: mongoose.Types.ObjectId;
|
|
269
|
+
cuPropertyDetailsOutcomeLid: mongoose.Types.ObjectId;
|
|
270
|
+
cuPurposeFinanceTypeLid: mongoose.Types.ObjectId;
|
|
271
|
+
cuPurposeProposedTenantsLid: mongoose.Types.ObjectId;
|
|
272
|
+
cuPurposeOutcomeLid: mongoose.Types.ObjectId;
|
|
273
|
+
cuFsPurchasePriceLid: mongoose.Types.ObjectId;
|
|
274
|
+
cuFsFinanceAmountLid: mongoose.Types.ObjectId;
|
|
275
|
+
cuFsDepositLid: mongoose.Types.ObjectId;
|
|
276
|
+
cuFsExistingProviderLid: mongoose.Types.ObjectId;
|
|
277
|
+
cuFsOutstandingBalanceLid: mongoose.Types.ObjectId;
|
|
278
|
+
cuFsRefinancePurposeLid: mongoose.Types.ObjectId;
|
|
279
|
+
cuFsCapitalRaisingLid: mongoose.Types.ObjectId;
|
|
280
|
+
cuFsBulletPaymentLid: mongoose.Types.ObjectId;
|
|
281
|
+
cuFsOutcomeLid: mongoose.Types.ObjectId;
|
|
282
|
+
cuRepaymentTypeLid: mongoose.Types.ObjectId;
|
|
283
|
+
cuExitStrategyLid: mongoose.Types.ObjectId;
|
|
284
|
+
cuRepaymentOutcomeLid: mongoose.Types.ObjectId;
|
|
285
|
+
cuPrProductLid: mongoose.Types.ObjectId;
|
|
286
|
+
cuPrFinanceTermLid: mongoose.Types.ObjectId;
|
|
287
|
+
cuPrMonthlyPaymentLid: mongoose.Types.ObjectId;
|
|
288
|
+
cuPrInitialRateLid: mongoose.Types.ObjectId;
|
|
289
|
+
cuPrReversionRateLid: mongoose.Types.ObjectId;
|
|
290
|
+
cuPrRentalIncomeLid: mongoose.Types.ObjectId;
|
|
291
|
+
cuPrOutcomeLid: mongoose.Types.ObjectId;
|
|
292
|
+
cuRisksOutcomeLid: mongoose.Types.ObjectId;
|
|
293
|
+
vulnerabilityCommunicationAdjustments: string;
|
|
294
|
+
underwriterQuestion: string;
|
|
295
|
+
customerResponse: string;
|
|
296
|
+
confirmUnderstandingQuestions: string;
|
|
297
|
+
proceedDecisionLid: mongoose.Types.ObjectId;
|
|
190
298
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
191
299
|
lendingTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
192
300
|
purchaseTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -255,6 +363,42 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
255
363
|
underwriterName: string;
|
|
256
364
|
failedCallDate: string;
|
|
257
365
|
isAlgbraAccountRequested: boolean;
|
|
366
|
+
shariahAwarenessLid: mongoose.Types.ObjectId;
|
|
367
|
+
shariahUnderstandingLid: mongoose.Types.ObjectId;
|
|
368
|
+
shariahExplanationProvidedLid: mongoose.Types.ObjectId;
|
|
369
|
+
cuPropertyTypeLid: mongoose.Types.ObjectId;
|
|
370
|
+
cuBedroomsLid: mongoose.Types.ObjectId;
|
|
371
|
+
cuSecurityAddressLid: mongoose.Types.ObjectId;
|
|
372
|
+
cuNewBuildLid: mongoose.Types.ObjectId;
|
|
373
|
+
cuPropertyDetailsOutcomeLid: mongoose.Types.ObjectId;
|
|
374
|
+
cuPurposeFinanceTypeLid: mongoose.Types.ObjectId;
|
|
375
|
+
cuPurposeProposedTenantsLid: mongoose.Types.ObjectId;
|
|
376
|
+
cuPurposeOutcomeLid: mongoose.Types.ObjectId;
|
|
377
|
+
cuFsPurchasePriceLid: mongoose.Types.ObjectId;
|
|
378
|
+
cuFsFinanceAmountLid: mongoose.Types.ObjectId;
|
|
379
|
+
cuFsDepositLid: mongoose.Types.ObjectId;
|
|
380
|
+
cuFsExistingProviderLid: mongoose.Types.ObjectId;
|
|
381
|
+
cuFsOutstandingBalanceLid: mongoose.Types.ObjectId;
|
|
382
|
+
cuFsRefinancePurposeLid: mongoose.Types.ObjectId;
|
|
383
|
+
cuFsCapitalRaisingLid: mongoose.Types.ObjectId;
|
|
384
|
+
cuFsBulletPaymentLid: mongoose.Types.ObjectId;
|
|
385
|
+
cuFsOutcomeLid: mongoose.Types.ObjectId;
|
|
386
|
+
cuRepaymentTypeLid: mongoose.Types.ObjectId;
|
|
387
|
+
cuExitStrategyLid: mongoose.Types.ObjectId;
|
|
388
|
+
cuRepaymentOutcomeLid: mongoose.Types.ObjectId;
|
|
389
|
+
cuPrProductLid: mongoose.Types.ObjectId;
|
|
390
|
+
cuPrFinanceTermLid: mongoose.Types.ObjectId;
|
|
391
|
+
cuPrMonthlyPaymentLid: mongoose.Types.ObjectId;
|
|
392
|
+
cuPrInitialRateLid: mongoose.Types.ObjectId;
|
|
393
|
+
cuPrReversionRateLid: mongoose.Types.ObjectId;
|
|
394
|
+
cuPrRentalIncomeLid: mongoose.Types.ObjectId;
|
|
395
|
+
cuPrOutcomeLid: mongoose.Types.ObjectId;
|
|
396
|
+
cuRisksOutcomeLid: mongoose.Types.ObjectId;
|
|
397
|
+
vulnerabilityCommunicationAdjustments: string;
|
|
398
|
+
underwriterQuestion: string;
|
|
399
|
+
customerResponse: string;
|
|
400
|
+
confirmUnderstandingQuestions: string;
|
|
401
|
+
proceedDecisionLid: mongoose.Types.ObjectId;
|
|
258
402
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
259
403
|
lendingTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
260
404
|
purchaseTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -311,6 +455,42 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
311
455
|
underwriterName: string;
|
|
312
456
|
failedCallDate: string;
|
|
313
457
|
isAlgbraAccountRequested: boolean;
|
|
458
|
+
shariahAwarenessLid: mongoose.Types.ObjectId;
|
|
459
|
+
shariahUnderstandingLid: mongoose.Types.ObjectId;
|
|
460
|
+
shariahExplanationProvidedLid: mongoose.Types.ObjectId;
|
|
461
|
+
cuPropertyTypeLid: mongoose.Types.ObjectId;
|
|
462
|
+
cuBedroomsLid: mongoose.Types.ObjectId;
|
|
463
|
+
cuSecurityAddressLid: mongoose.Types.ObjectId;
|
|
464
|
+
cuNewBuildLid: mongoose.Types.ObjectId;
|
|
465
|
+
cuPropertyDetailsOutcomeLid: mongoose.Types.ObjectId;
|
|
466
|
+
cuPurposeFinanceTypeLid: mongoose.Types.ObjectId;
|
|
467
|
+
cuPurposeProposedTenantsLid: mongoose.Types.ObjectId;
|
|
468
|
+
cuPurposeOutcomeLid: mongoose.Types.ObjectId;
|
|
469
|
+
cuFsPurchasePriceLid: mongoose.Types.ObjectId;
|
|
470
|
+
cuFsFinanceAmountLid: mongoose.Types.ObjectId;
|
|
471
|
+
cuFsDepositLid: mongoose.Types.ObjectId;
|
|
472
|
+
cuFsExistingProviderLid: mongoose.Types.ObjectId;
|
|
473
|
+
cuFsOutstandingBalanceLid: mongoose.Types.ObjectId;
|
|
474
|
+
cuFsRefinancePurposeLid: mongoose.Types.ObjectId;
|
|
475
|
+
cuFsCapitalRaisingLid: mongoose.Types.ObjectId;
|
|
476
|
+
cuFsBulletPaymentLid: mongoose.Types.ObjectId;
|
|
477
|
+
cuFsOutcomeLid: mongoose.Types.ObjectId;
|
|
478
|
+
cuRepaymentTypeLid: mongoose.Types.ObjectId;
|
|
479
|
+
cuExitStrategyLid: mongoose.Types.ObjectId;
|
|
480
|
+
cuRepaymentOutcomeLid: mongoose.Types.ObjectId;
|
|
481
|
+
cuPrProductLid: mongoose.Types.ObjectId;
|
|
482
|
+
cuPrFinanceTermLid: mongoose.Types.ObjectId;
|
|
483
|
+
cuPrMonthlyPaymentLid: mongoose.Types.ObjectId;
|
|
484
|
+
cuPrInitialRateLid: mongoose.Types.ObjectId;
|
|
485
|
+
cuPrReversionRateLid: mongoose.Types.ObjectId;
|
|
486
|
+
cuPrRentalIncomeLid: mongoose.Types.ObjectId;
|
|
487
|
+
cuPrOutcomeLid: mongoose.Types.ObjectId;
|
|
488
|
+
cuRisksOutcomeLid: mongoose.Types.ObjectId;
|
|
489
|
+
vulnerabilityCommunicationAdjustments: string;
|
|
490
|
+
underwriterQuestion: string;
|
|
491
|
+
customerResponse: string;
|
|
492
|
+
confirmUnderstandingQuestions: string;
|
|
493
|
+
proceedDecisionLid: mongoose.Types.ObjectId;
|
|
314
494
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
315
495
|
lendingTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
316
496
|
purchaseTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -367,6 +547,42 @@ declare const WelcomeCallModel: mongoose.Model<{
|
|
|
367
547
|
underwriterName: string;
|
|
368
548
|
failedCallDate: string;
|
|
369
549
|
isAlgbraAccountRequested: boolean;
|
|
550
|
+
shariahAwarenessLid: mongoose.Types.ObjectId;
|
|
551
|
+
shariahUnderstandingLid: mongoose.Types.ObjectId;
|
|
552
|
+
shariahExplanationProvidedLid: mongoose.Types.ObjectId;
|
|
553
|
+
cuPropertyTypeLid: mongoose.Types.ObjectId;
|
|
554
|
+
cuBedroomsLid: mongoose.Types.ObjectId;
|
|
555
|
+
cuSecurityAddressLid: mongoose.Types.ObjectId;
|
|
556
|
+
cuNewBuildLid: mongoose.Types.ObjectId;
|
|
557
|
+
cuPropertyDetailsOutcomeLid: mongoose.Types.ObjectId;
|
|
558
|
+
cuPurposeFinanceTypeLid: mongoose.Types.ObjectId;
|
|
559
|
+
cuPurposeProposedTenantsLid: mongoose.Types.ObjectId;
|
|
560
|
+
cuPurposeOutcomeLid: mongoose.Types.ObjectId;
|
|
561
|
+
cuFsPurchasePriceLid: mongoose.Types.ObjectId;
|
|
562
|
+
cuFsFinanceAmountLid: mongoose.Types.ObjectId;
|
|
563
|
+
cuFsDepositLid: mongoose.Types.ObjectId;
|
|
564
|
+
cuFsExistingProviderLid: mongoose.Types.ObjectId;
|
|
565
|
+
cuFsOutstandingBalanceLid: mongoose.Types.ObjectId;
|
|
566
|
+
cuFsRefinancePurposeLid: mongoose.Types.ObjectId;
|
|
567
|
+
cuFsCapitalRaisingLid: mongoose.Types.ObjectId;
|
|
568
|
+
cuFsBulletPaymentLid: mongoose.Types.ObjectId;
|
|
569
|
+
cuFsOutcomeLid: mongoose.Types.ObjectId;
|
|
570
|
+
cuRepaymentTypeLid: mongoose.Types.ObjectId;
|
|
571
|
+
cuExitStrategyLid: mongoose.Types.ObjectId;
|
|
572
|
+
cuRepaymentOutcomeLid: mongoose.Types.ObjectId;
|
|
573
|
+
cuPrProductLid: mongoose.Types.ObjectId;
|
|
574
|
+
cuPrFinanceTermLid: mongoose.Types.ObjectId;
|
|
575
|
+
cuPrMonthlyPaymentLid: mongoose.Types.ObjectId;
|
|
576
|
+
cuPrInitialRateLid: mongoose.Types.ObjectId;
|
|
577
|
+
cuPrReversionRateLid: mongoose.Types.ObjectId;
|
|
578
|
+
cuPrRentalIncomeLid: mongoose.Types.ObjectId;
|
|
579
|
+
cuPrOutcomeLid: mongoose.Types.ObjectId;
|
|
580
|
+
cuRisksOutcomeLid: mongoose.Types.ObjectId;
|
|
581
|
+
vulnerabilityCommunicationAdjustments: string;
|
|
582
|
+
underwriterQuestion: string;
|
|
583
|
+
customerResponse: string;
|
|
584
|
+
confirmUnderstandingQuestions: string;
|
|
585
|
+
proceedDecisionLid: mongoose.Types.ObjectId;
|
|
370
586
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
371
587
|
lendingTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
372
588
|
purchaseTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -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;AA44BhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA4D,CAAC;AAEnF,eAAe,gBAAgB,CAAC"}
|
|
@@ -216,6 +216,160 @@ const welcomeCallSchema = new mongoose.Schema({
|
|
|
216
216
|
default: false,
|
|
217
217
|
description: "if Algbra bank account has been requested"
|
|
218
218
|
},
|
|
219
|
+
// ─── Shariah section (WC Restructure CR) ──────────────────────────────
|
|
220
|
+
shariahAwarenessLid: {
|
|
221
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
222
|
+
description: "Shariah Awareness — has broker explained Shariah finance to customer (Yes/No)"
|
|
223
|
+
},
|
|
224
|
+
shariahUnderstandingLid: {
|
|
225
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
226
|
+
description: "Shariah Understanding — customer explanation of Shariah finance (Good/Limited/None)"
|
|
227
|
+
},
|
|
228
|
+
shariahExplanationProvidedLid: {
|
|
229
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
230
|
+
description: "Shariah Explanation — was standard explanation read to customer (Provided/Not Provided)"
|
|
231
|
+
},
|
|
232
|
+
// ─── Customer Understanding — Property Details ────────────────────────
|
|
233
|
+
cuPropertyTypeLid: {
|
|
234
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
235
|
+
description: "CU Property Details — Property Type response (Covered/Prompted/Incorrect)"
|
|
236
|
+
},
|
|
237
|
+
cuBedroomsLid: {
|
|
238
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
239
|
+
description: "CU Property Details — Number of Bedrooms response"
|
|
240
|
+
},
|
|
241
|
+
cuSecurityAddressLid: {
|
|
242
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
243
|
+
description: "CU Property Details — Security Address response"
|
|
244
|
+
},
|
|
245
|
+
cuNewBuildLid: {
|
|
246
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
247
|
+
description: "CU Property Details — New Build response"
|
|
248
|
+
},
|
|
249
|
+
cuPropertyDetailsOutcomeLid: {
|
|
250
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
251
|
+
description: "CU Property Details — sub-section overall outcome (Covered/Prompted/Incorrect)"
|
|
252
|
+
},
|
|
253
|
+
// ─── Customer Understanding — Purpose ─────────────────────────────────
|
|
254
|
+
cuPurposeFinanceTypeLid: {
|
|
255
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
256
|
+
description: "CU Purpose — Finance Type response"
|
|
257
|
+
},
|
|
258
|
+
cuPurposeProposedTenantsLid: {
|
|
259
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
260
|
+
description: "CU Purpose — Proposed Tenants response (BTL only)"
|
|
261
|
+
},
|
|
262
|
+
cuPurposeOutcomeLid: {
|
|
263
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
264
|
+
description: "CU Purpose — sub-section overall outcome"
|
|
265
|
+
},
|
|
266
|
+
// ─── Customer Understanding — Finance & Structure ─────────────────────
|
|
267
|
+
cuFsPurchasePriceLid: {
|
|
268
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
269
|
+
description: "CU Finance & Structure — Purchase Price/Estimated Value response"
|
|
270
|
+
},
|
|
271
|
+
cuFsFinanceAmountLid: {
|
|
272
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
273
|
+
description: "CU Finance & Structure — Finance Amount response"
|
|
274
|
+
},
|
|
275
|
+
cuFsDepositLid: {
|
|
276
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
277
|
+
description: "CU Finance & Structure — Deposit response (purchase only)"
|
|
278
|
+
},
|
|
279
|
+
cuFsExistingProviderLid: {
|
|
280
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
281
|
+
description: "CU Finance & Structure — Existing Finance Provider response (refi only)"
|
|
282
|
+
},
|
|
283
|
+
cuFsOutstandingBalanceLid: {
|
|
284
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
285
|
+
description: "CU Finance & Structure — Outstanding Balance response (refi only)"
|
|
286
|
+
},
|
|
287
|
+
cuFsRefinancePurposeLid: {
|
|
288
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
289
|
+
description: "CU Finance & Structure — Purpose of Refinance response (refi only)"
|
|
290
|
+
},
|
|
291
|
+
cuFsCapitalRaisingLid: {
|
|
292
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
293
|
+
description: "CU Finance & Structure — Capital Raising response (HPP refi only)"
|
|
294
|
+
},
|
|
295
|
+
cuFsBulletPaymentLid: {
|
|
296
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
297
|
+
description: "CU Finance & Structure — Bullet Payment response (Rent only)"
|
|
298
|
+
},
|
|
299
|
+
cuFsOutcomeLid: {
|
|
300
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
301
|
+
description: "CU Finance & Structure — sub-section overall outcome"
|
|
302
|
+
},
|
|
303
|
+
// ─── Customer Understanding — Repayment Type ──────────────────────────
|
|
304
|
+
cuRepaymentTypeLid: {
|
|
305
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
306
|
+
description: "CU Repayment Type — Repayment Type response"
|
|
307
|
+
},
|
|
308
|
+
cuExitStrategyLid: {
|
|
309
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
310
|
+
description: "CU Repayment Type — Exit Strategy response (BTL Rent Only)"
|
|
311
|
+
},
|
|
312
|
+
cuRepaymentOutcomeLid: {
|
|
313
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
314
|
+
description: "CU Repayment Type — sub-section overall outcome"
|
|
315
|
+
},
|
|
316
|
+
// ─── Customer Understanding — Payments & Rate ─────────────────────────
|
|
317
|
+
cuPrProductLid: {
|
|
318
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
319
|
+
description: "CU Payments & Rate — Product response"
|
|
320
|
+
},
|
|
321
|
+
cuPrFinanceTermLid: {
|
|
322
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
323
|
+
description: "CU Payments & Rate — Finance Term response"
|
|
324
|
+
},
|
|
325
|
+
cuPrMonthlyPaymentLid: {
|
|
326
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
327
|
+
description: "CU Payments & Rate — Monthly Payment response"
|
|
328
|
+
},
|
|
329
|
+
cuPrInitialRateLid: {
|
|
330
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
331
|
+
description: "CU Payments & Rate — Initial Rate response"
|
|
332
|
+
},
|
|
333
|
+
cuPrReversionRateLid: {
|
|
334
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
335
|
+
description: "CU Payments & Rate — Reversion Rate response"
|
|
336
|
+
},
|
|
337
|
+
cuPrRentalIncomeLid: {
|
|
338
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
339
|
+
description: "CU Payments & Rate — Rental Income response (BTL only)"
|
|
340
|
+
},
|
|
341
|
+
cuPrOutcomeLid: {
|
|
342
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
343
|
+
description: "CU Payments & Rate — sub-section overall outcome"
|
|
344
|
+
},
|
|
345
|
+
// ─── Customer Understanding — Risks ───────────────────────────────────
|
|
346
|
+
cuRisksOutcomeLid: {
|
|
347
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
348
|
+
description: "CU Risks — sub-section overall outcome"
|
|
349
|
+
},
|
|
350
|
+
// ─── Vulnerability — second free-text (WC Restructure CR) ─────────────
|
|
351
|
+
vulnerabilityCommunicationAdjustments: {
|
|
352
|
+
type: String, default: null,
|
|
353
|
+
description: "Vulnerability Q2 — anything that may make communicating with us more difficult"
|
|
354
|
+
},
|
|
355
|
+
// ─── Underwriting — split into Question / Response ────────────────────
|
|
356
|
+
underwriterQuestion: {
|
|
357
|
+
type: String, default: null,
|
|
358
|
+
description: "Underwriting Questions — Underwriter Question (left free-text)"
|
|
359
|
+
},
|
|
360
|
+
customerResponse: {
|
|
361
|
+
type: String, default: null,
|
|
362
|
+
description: "Underwriting Questions — Customer Response (right free-text)"
|
|
363
|
+
},
|
|
364
|
+
// ─── Confirm Understanding section (WC Restructure CR) ────────────────
|
|
365
|
+
confirmUnderstandingQuestions: {
|
|
366
|
+
type: String, default: null,
|
|
367
|
+
description: "Confirm Understanding — anything unclear / other questions (free text)"
|
|
368
|
+
},
|
|
369
|
+
proceedDecisionLid: {
|
|
370
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
|
|
371
|
+
description: "Confirm Understanding — Happy to Proceed / Not Happy to Proceed"
|
|
372
|
+
},
|
|
219
373
|
isActive: {
|
|
220
374
|
type: Boolean,
|
|
221
375
|
default: true,
|
|
@@ -49,6 +49,10 @@ declare const ApplicationOfferModel: mongoose.Model<{
|
|
|
49
49
|
isOfferIssuedConfirmed: boolean;
|
|
50
50
|
offerIssuedByUserId: mongoose.Types.ObjectId;
|
|
51
51
|
offerIssuedAt: NativeDate;
|
|
52
|
+
isBankSolicitorConfirmed: boolean;
|
|
53
|
+
bankSolicitorConfirmedByUserId: mongoose.Types.ObjectId;
|
|
54
|
+
bankSolicitorConfirmedAt: NativeDate;
|
|
55
|
+
isBankSolicitorConfirmedAtGeneration: boolean;
|
|
52
56
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
53
57
|
applicationId: mongoose.Types.ObjectId;
|
|
54
58
|
offerStatusLid: mongoose.Types.ObjectId;
|
|
@@ -71,6 +75,10 @@ declare const ApplicationOfferModel: mongoose.Model<{
|
|
|
71
75
|
isOfferIssuedConfirmed: boolean;
|
|
72
76
|
offerIssuedByUserId: mongoose.Types.ObjectId;
|
|
73
77
|
offerIssuedAt: NativeDate;
|
|
78
|
+
isBankSolicitorConfirmed: boolean;
|
|
79
|
+
bankSolicitorConfirmedByUserId: mongoose.Types.ObjectId;
|
|
80
|
+
bankSolicitorConfirmedAt: NativeDate;
|
|
81
|
+
isBankSolicitorConfirmedAtGeneration: boolean;
|
|
74
82
|
}, {}> & {
|
|
75
83
|
applicationId: mongoose.Types.ObjectId;
|
|
76
84
|
offerStatusLid: mongoose.Types.ObjectId;
|
|
@@ -93,6 +101,10 @@ declare const ApplicationOfferModel: mongoose.Model<{
|
|
|
93
101
|
isOfferIssuedConfirmed: boolean;
|
|
94
102
|
offerIssuedByUserId: mongoose.Types.ObjectId;
|
|
95
103
|
offerIssuedAt: NativeDate;
|
|
104
|
+
isBankSolicitorConfirmed: boolean;
|
|
105
|
+
bankSolicitorConfirmedByUserId: mongoose.Types.ObjectId;
|
|
106
|
+
bankSolicitorConfirmedAt: NativeDate;
|
|
107
|
+
isBankSolicitorConfirmedAtGeneration: boolean;
|
|
96
108
|
} & {
|
|
97
109
|
_id: mongoose.Types.ObjectId;
|
|
98
110
|
} & {
|
|
@@ -119,6 +131,10 @@ declare const ApplicationOfferModel: mongoose.Model<{
|
|
|
119
131
|
isOfferIssuedConfirmed: boolean;
|
|
120
132
|
offerIssuedByUserId: mongoose.Types.ObjectId;
|
|
121
133
|
offerIssuedAt: NativeDate;
|
|
134
|
+
isBankSolicitorConfirmed: boolean;
|
|
135
|
+
bankSolicitorConfirmedByUserId: mongoose.Types.ObjectId;
|
|
136
|
+
bankSolicitorConfirmedAt: NativeDate;
|
|
137
|
+
isBankSolicitorConfirmedAtGeneration: boolean;
|
|
122
138
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
123
139
|
applicationId: mongoose.Types.ObjectId;
|
|
124
140
|
offerStatusLid: mongoose.Types.ObjectId;
|
|
@@ -141,6 +157,10 @@ declare const ApplicationOfferModel: mongoose.Model<{
|
|
|
141
157
|
isOfferIssuedConfirmed: boolean;
|
|
142
158
|
offerIssuedByUserId: mongoose.Types.ObjectId;
|
|
143
159
|
offerIssuedAt: NativeDate;
|
|
160
|
+
isBankSolicitorConfirmed: boolean;
|
|
161
|
+
bankSolicitorConfirmedByUserId: mongoose.Types.ObjectId;
|
|
162
|
+
bankSolicitorConfirmedAt: NativeDate;
|
|
163
|
+
isBankSolicitorConfirmedAtGeneration: boolean;
|
|
144
164
|
}>, {}> & mongoose.FlatRecord<{
|
|
145
165
|
applicationId: mongoose.Types.ObjectId;
|
|
146
166
|
offerStatusLid: mongoose.Types.ObjectId;
|
|
@@ -163,6 +183,10 @@ declare const ApplicationOfferModel: mongoose.Model<{
|
|
|
163
183
|
isOfferIssuedConfirmed: boolean;
|
|
164
184
|
offerIssuedByUserId: mongoose.Types.ObjectId;
|
|
165
185
|
offerIssuedAt: NativeDate;
|
|
186
|
+
isBankSolicitorConfirmed: boolean;
|
|
187
|
+
bankSolicitorConfirmedByUserId: mongoose.Types.ObjectId;
|
|
188
|
+
bankSolicitorConfirmedAt: NativeDate;
|
|
189
|
+
isBankSolicitorConfirmedAtGeneration: boolean;
|
|
166
190
|
}> & {
|
|
167
191
|
_id: mongoose.Types.ObjectId;
|
|
168
192
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-offer.model.d.ts","sourceRoot":"","sources":["../../applications/application-offer.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application-offer.model.d.ts","sourceRoot":"","sources":["../../applications/application-offer.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA2DhC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAkD,CAAC;AAC9E,eAAe,qBAAqB,CAAC"}
|
|
@@ -43,6 +43,10 @@ const offerSchema = new mongoose.Schema({
|
|
|
43
43
|
isOfferIssuedConfirmed: { type: Boolean, default: false },
|
|
44
44
|
offerIssuedByUserId: { type: mongoose.Schema.Types.ObjectId, ref: "User", default: null },
|
|
45
45
|
offerIssuedAt: { type: Date, default: null },
|
|
46
|
+
isBankSolicitorConfirmed: { type: Boolean, default: false },
|
|
47
|
+
bankSolicitorConfirmedByUserId: { type: mongoose.Schema.Types.ObjectId, ref: "User", default: null },
|
|
48
|
+
bankSolicitorConfirmedAt: { type: Date, default: null },
|
|
49
|
+
isBankSolicitorConfirmedAtGeneration: { type: Boolean, default: false },
|
|
46
50
|
});
|
|
47
51
|
// Apply audit middleware to the schema
|
|
48
52
|
applyAuditMiddleware(offerSchema, "ApplicationOffer");
|