@dynamatix/gb-schemas 1.2.145 → 1.2.147

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.
Files changed (80) hide show
  1. package/dist/applicants/applicant-additional-income.model.d.ts +194 -0
  2. package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -0
  3. package/dist/applicants/applicant-additional-income.model.js +14 -0
  4. package/dist/applicants/applicant-commitment-creditCard.model.d.ts +17 -3
  5. package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
  6. package/dist/applicants/applicant-commitment-creditCard.model.js +23 -10
  7. package/dist/applicants/applicant-commitment-loan.model.d.ts +23 -3
  8. package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
  9. package/dist/applicants/applicant-commitment-loan.model.js +33 -12
  10. package/dist/applicants/applicant-commitment-mortgage.model.d.ts +77 -303
  11. package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
  12. package/dist/applicants/applicant-commitment-mortgage.model.js +51 -23
  13. package/dist/applicants/applicant-commitment-residence.model.d.ts +9 -9
  14. package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -1
  15. package/dist/applicants/applicant-commitment-residence.model.js +8 -5
  16. package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +30 -6
  17. package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
  18. package/dist/applicants/applicant-commitment-secureLoan.model.js +24 -10
  19. package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +36 -6
  20. package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
  21. package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +24 -9
  22. package/dist/applicants/applicant-employment-income.model.d.ts +175 -0
  23. package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -0
  24. package/dist/applicants/applicant-employment-income.model.js +14 -0
  25. package/dist/applicants/applicant-employment.model.d.ts +1231 -24
  26. package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
  27. package/dist/applicants/applicant-employment.model.js +3 -12
  28. package/dist/applicants/applicant-expenditure.model.d.ts +79 -50
  29. package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
  30. package/dist/applicants/applicant-expenditure.model.js +57 -18
  31. package/dist/applicants/applicant-income-settings.model.d.ts +54 -0
  32. package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -0
  33. package/dist/applicants/applicant-income-settings.model.js +16 -0
  34. package/dist/applicants/applicant-income.model.d.ts +2068 -30
  35. package/dist/applicants/applicant-income.model.d.ts.map +1 -1
  36. package/dist/applicants/applicant-income.model.js +35 -12
  37. package/dist/applicants/applicant-pension-income.model.d.ts +457 -0
  38. package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -0
  39. package/dist/applicants/applicant-pension-income.model.js +30 -0
  40. package/dist/applicants/applicant-property-income.model.d.ts +871 -13
  41. package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
  42. package/dist/applicants/applicant-property-income.model.js +12 -5
  43. package/dist/applicants/applicant-self-employed-income.model.d.ts +182 -0
  44. package/dist/applicants/applicant-self-employed-income.model.d.ts.map +1 -0
  45. package/dist/applicants/applicant-self-employed-income.model.js +17 -0
  46. package/dist/applicants/applicant-sole-trader-income.model.d.ts +182 -0
  47. package/dist/applicants/applicant-sole-trader-income.model.d.ts.map +1 -0
  48. package/dist/applicants/applicant-sole-trader-income.model.js +17 -0
  49. package/dist/applicants/applicant-uk-tax-credits.model.d.ts +463 -0
  50. package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -0
  51. package/dist/applicants/applicant-uk-tax-credits.model.js +16 -0
  52. package/dist/applicants/applicant.model.d.ts +101 -8762
  53. package/dist/applicants/applicant.model.d.ts.map +1 -1
  54. package/dist/applicants/applicant.model.js +19 -21
  55. package/dist/applicants/index.d.ts +13 -2
  56. package/dist/applicants/index.d.ts.map +1 -1
  57. package/dist/applicants/index.js +13 -2
  58. package/dist/applications/application-mortgage.model.d.ts +1137 -129
  59. package/dist/applications/application-mortgage.model.d.ts.map +1 -1
  60. package/dist/applications/application-mortgage.model.js +28 -5
  61. package/dist/applications/application-productfeatures.model.d.ts +738 -0
  62. package/dist/applications/application-productfeatures.model.d.ts.map +1 -0
  63. package/dist/applications/{productfeatures.model.js → application-productfeatures.model.js} +3 -1
  64. package/dist/applications/application.model.d.ts +0 -762
  65. package/dist/applications/application.model.d.ts.map +1 -1
  66. package/dist/applications/application.model.js +0 -8
  67. package/dist/applications/index.d.ts +1 -1
  68. package/dist/applications/index.d.ts.map +1 -1
  69. package/dist/applications/index.js +1 -1
  70. package/dist/value-objects/sort-code.d.ts.map +1 -1
  71. package/dist/value-objects/sort-code.js +4 -13
  72. package/package.json +2 -2
  73. package/dist/applicants/applicant-income-source.model.d.ts +0 -26
  74. package/dist/applicants/applicant-income-source.model.d.ts.map +0 -1
  75. package/dist/applicants/applicant-income-source.model.js +0 -9
  76. package/dist/applicants/applicant-other-income.model.d.ts +0 -85
  77. package/dist/applicants/applicant-other-income.model.d.ts.map +0 -1
  78. package/dist/applicants/applicant-other-income.model.js +0 -46
  79. package/dist/applications/productfeatures.model.d.ts +0 -368
  80. package/dist/applications/productfeatures.model.d.ts.map +0 -1
@@ -28,12 +28,6 @@ declare const ApplicationModel: mongoose.Model<{
28
28
  newReason: string;
29
29
  purchaseTypeLid: mongoose.Types.ObjectId;
30
30
  rejectedReason: string;
31
- sourceOfWealthLids: mongoose.Types.ObjectId[];
32
- sowBusiness: string;
33
- sowInheritance: string;
34
- sowOther: string;
35
- sowProperty: string;
36
- sowSalary: string;
37
31
  submitReason: string;
38
32
  underwriter: string;
39
33
  isValuationFeePaid: string;
@@ -47,127 +41,6 @@ declare const ApplicationModel: mongoose.Model<{
47
41
  propertyIds: mongoose.Types.ObjectId[];
48
42
  selectedProduct?: string | null | undefined;
49
43
  riskRating?: string | null | undefined;
50
- productFeatures?: {
51
- name: string;
52
- repaymentType: string;
53
- ltv: string;
54
- reimbursementPerPound: string;
55
- stressedPayment: string;
56
- stressedPaymentRate: string;
57
- rentalCoverage: string;
58
- clientAdvance: string;
59
- repayment: string;
60
- variableRepayment: string;
61
- reversionRateWithoutBaseRate: string;
62
- totalReversionRate: string;
63
- initialRate: string;
64
- fixedTerm: string;
65
- fixedTermEndDate: string;
66
- baseRate: string;
67
- productRate: string;
68
- apr: string;
69
- applicationCategory: string;
70
- securityType: string;
71
- erc: string;
72
- loanType: string;
73
- maxLtvLimit: string;
74
- reimbursement: string;
75
- stressedApr: string;
76
- stressedRate: string;
77
- stressedRepayment: string;
78
- liborFloorRate: string;
79
- totalTermInMonths: string;
80
- chargeType: string;
81
- productCategory: string;
82
- ercCode: string;
83
- variableTerm: string;
84
- totalFeePayable: string;
85
- dipIssueDate: string;
86
- estimatedCompletionDate: string;
87
- dipExpiryDate: string;
88
- fixedRepaymentUntillDate: string;
89
- rentalReviewDate: string;
90
- totalReimbursementWithFee: string;
91
- finalRentPayment: string;
92
- clientDeposit: string;
93
- firstRentPayment: string;
94
- fees: mongoose.Types.DocumentArray<{
95
- description: string;
96
- additionalData: any;
97
- feeType: string;
98
- feeAmount: string;
99
- rate: string;
100
- addedToLoan: string;
101
- allowOverride: string;
102
- }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
103
- description: string;
104
- additionalData: any;
105
- feeType: string;
106
- feeAmount: string;
107
- rate: string;
108
- addedToLoan: string;
109
- allowOverride: string;
110
- }> & {
111
- description: string;
112
- additionalData: any;
113
- feeType: string;
114
- feeAmount: string;
115
- rate: string;
116
- addedToLoan: string;
117
- allowOverride: string;
118
- }>;
119
- ercFeatures: any;
120
- icr: string;
121
- ufssProductCode: string;
122
- ufssInterestRateCode: string;
123
- calculations?: {
124
- ltv: string;
125
- rentalCoverageRatioRate: string;
126
- bankContributionRate: string;
127
- bankInitialShareRate: string;
128
- totalAmountPayable: string;
129
- fixedMonthlyPayment: string;
130
- fixedMonthlyCapital: string;
131
- fixedMonthlyInterest: string;
132
- variableMonthlyPayment: string;
133
- summaryTotal: string;
134
- reimbursementPerPound: string;
135
- stressedPayment: string;
136
- stressedPaymentRate: string;
137
- rentalCoverage: string;
138
- rentalCoverageWithoutTopUp: string;
139
- } | null | undefined;
140
- cashflowPeriods?: {
141
- totalNoOfPayments: string;
142
- fixed?: {
143
- from: string;
144
- to: string;
145
- instalmentAmount: string;
146
- instalmentInterest: string;
147
- instalmentCapitalRepaid: string;
148
- otherCosts: string;
149
- outstandingCapital: string;
150
- } | null | undefined;
151
- variable?: {
152
- from: string;
153
- to: string;
154
- instalmentAmount: string;
155
- instalmentInterest: string;
156
- instalmentCapitalRepaid: string;
157
- otherCosts: string;
158
- outstandingCapital: string;
159
- } | null | undefined;
160
- total?: {
161
- from: string;
162
- to: string;
163
- instalmentAmount: string;
164
- instalmentInterest: string;
165
- instalmentCapitalRepaid: string;
166
- otherCosts: string;
167
- outstandingCapital: string;
168
- } | null | undefined;
169
- } | null | undefined;
170
- } | null | undefined;
171
44
  creditProfile?: {
172
45
  companyBankruptcyYes: string;
173
46
  companyBankruptcyNo: string;
@@ -217,12 +90,6 @@ declare const ApplicationModel: mongoose.Model<{
217
90
  newReason: string;
218
91
  purchaseTypeLid: mongoose.Types.ObjectId;
219
92
  rejectedReason: string;
220
- sourceOfWealthLids: mongoose.Types.ObjectId[];
221
- sowBusiness: string;
222
- sowInheritance: string;
223
- sowOther: string;
224
- sowProperty: string;
225
- sowSalary: string;
226
93
  submitReason: string;
227
94
  underwriter: string;
228
95
  isValuationFeePaid: string;
@@ -236,127 +103,6 @@ declare const ApplicationModel: mongoose.Model<{
236
103
  propertyIds: mongoose.Types.ObjectId[];
237
104
  selectedProduct?: string | null | undefined;
238
105
  riskRating?: string | null | undefined;
239
- productFeatures?: {
240
- name: string;
241
- repaymentType: string;
242
- ltv: string;
243
- reimbursementPerPound: string;
244
- stressedPayment: string;
245
- stressedPaymentRate: string;
246
- rentalCoverage: string;
247
- clientAdvance: string;
248
- repayment: string;
249
- variableRepayment: string;
250
- reversionRateWithoutBaseRate: string;
251
- totalReversionRate: string;
252
- initialRate: string;
253
- fixedTerm: string;
254
- fixedTermEndDate: string;
255
- baseRate: string;
256
- productRate: string;
257
- apr: string;
258
- applicationCategory: string;
259
- securityType: string;
260
- erc: string;
261
- loanType: string;
262
- maxLtvLimit: string;
263
- reimbursement: string;
264
- stressedApr: string;
265
- stressedRate: string;
266
- stressedRepayment: string;
267
- liborFloorRate: string;
268
- totalTermInMonths: string;
269
- chargeType: string;
270
- productCategory: string;
271
- ercCode: string;
272
- variableTerm: string;
273
- totalFeePayable: string;
274
- dipIssueDate: string;
275
- estimatedCompletionDate: string;
276
- dipExpiryDate: string;
277
- fixedRepaymentUntillDate: string;
278
- rentalReviewDate: string;
279
- totalReimbursementWithFee: string;
280
- finalRentPayment: string;
281
- clientDeposit: string;
282
- firstRentPayment: string;
283
- fees: mongoose.Types.DocumentArray<{
284
- description: string;
285
- additionalData: any;
286
- feeType: string;
287
- feeAmount: string;
288
- rate: string;
289
- addedToLoan: string;
290
- allowOverride: string;
291
- }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
292
- description: string;
293
- additionalData: any;
294
- feeType: string;
295
- feeAmount: string;
296
- rate: string;
297
- addedToLoan: string;
298
- allowOverride: string;
299
- }> & {
300
- description: string;
301
- additionalData: any;
302
- feeType: string;
303
- feeAmount: string;
304
- rate: string;
305
- addedToLoan: string;
306
- allowOverride: string;
307
- }>;
308
- ercFeatures: any;
309
- icr: string;
310
- ufssProductCode: string;
311
- ufssInterestRateCode: string;
312
- calculations?: {
313
- ltv: string;
314
- rentalCoverageRatioRate: string;
315
- bankContributionRate: string;
316
- bankInitialShareRate: string;
317
- totalAmountPayable: string;
318
- fixedMonthlyPayment: string;
319
- fixedMonthlyCapital: string;
320
- fixedMonthlyInterest: string;
321
- variableMonthlyPayment: string;
322
- summaryTotal: string;
323
- reimbursementPerPound: string;
324
- stressedPayment: string;
325
- stressedPaymentRate: string;
326
- rentalCoverage: string;
327
- rentalCoverageWithoutTopUp: string;
328
- } | null | undefined;
329
- cashflowPeriods?: {
330
- totalNoOfPayments: string;
331
- fixed?: {
332
- from: string;
333
- to: string;
334
- instalmentAmount: string;
335
- instalmentInterest: string;
336
- instalmentCapitalRepaid: string;
337
- otherCosts: string;
338
- outstandingCapital: string;
339
- } | null | undefined;
340
- variable?: {
341
- from: string;
342
- to: string;
343
- instalmentAmount: string;
344
- instalmentInterest: string;
345
- instalmentCapitalRepaid: string;
346
- otherCosts: string;
347
- outstandingCapital: string;
348
- } | null | undefined;
349
- total?: {
350
- from: string;
351
- to: string;
352
- instalmentAmount: string;
353
- instalmentInterest: string;
354
- instalmentCapitalRepaid: string;
355
- otherCosts: string;
356
- outstandingCapital: string;
357
- } | null | undefined;
358
- } | null | undefined;
359
- } | null | undefined;
360
106
  creditProfile?: {
361
107
  companyBankruptcyYes: string;
362
108
  companyBankruptcyNo: string;
@@ -406,12 +152,6 @@ declare const ApplicationModel: mongoose.Model<{
406
152
  newReason: string;
407
153
  purchaseTypeLid: mongoose.Types.ObjectId;
408
154
  rejectedReason: string;
409
- sourceOfWealthLids: mongoose.Types.ObjectId[];
410
- sowBusiness: string;
411
- sowInheritance: string;
412
- sowOther: string;
413
- sowProperty: string;
414
- sowSalary: string;
415
155
  submitReason: string;
416
156
  underwriter: string;
417
157
  isValuationFeePaid: string;
@@ -425,127 +165,6 @@ declare const ApplicationModel: mongoose.Model<{
425
165
  propertyIds: mongoose.Types.ObjectId[];
426
166
  selectedProduct?: string | null | undefined;
427
167
  riskRating?: string | null | undefined;
428
- productFeatures?: {
429
- name: string;
430
- repaymentType: string;
431
- ltv: string;
432
- reimbursementPerPound: string;
433
- stressedPayment: string;
434
- stressedPaymentRate: string;
435
- rentalCoverage: string;
436
- clientAdvance: string;
437
- repayment: string;
438
- variableRepayment: string;
439
- reversionRateWithoutBaseRate: string;
440
- totalReversionRate: string;
441
- initialRate: string;
442
- fixedTerm: string;
443
- fixedTermEndDate: string;
444
- baseRate: string;
445
- productRate: string;
446
- apr: string;
447
- applicationCategory: string;
448
- securityType: string;
449
- erc: string;
450
- loanType: string;
451
- maxLtvLimit: string;
452
- reimbursement: string;
453
- stressedApr: string;
454
- stressedRate: string;
455
- stressedRepayment: string;
456
- liborFloorRate: string;
457
- totalTermInMonths: string;
458
- chargeType: string;
459
- productCategory: string;
460
- ercCode: string;
461
- variableTerm: string;
462
- totalFeePayable: string;
463
- dipIssueDate: string;
464
- estimatedCompletionDate: string;
465
- dipExpiryDate: string;
466
- fixedRepaymentUntillDate: string;
467
- rentalReviewDate: string;
468
- totalReimbursementWithFee: string;
469
- finalRentPayment: string;
470
- clientDeposit: string;
471
- firstRentPayment: string;
472
- fees: mongoose.Types.DocumentArray<{
473
- description: string;
474
- additionalData: any;
475
- feeType: string;
476
- feeAmount: string;
477
- rate: string;
478
- addedToLoan: string;
479
- allowOverride: string;
480
- }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
481
- description: string;
482
- additionalData: any;
483
- feeType: string;
484
- feeAmount: string;
485
- rate: string;
486
- addedToLoan: string;
487
- allowOverride: string;
488
- }> & {
489
- description: string;
490
- additionalData: any;
491
- feeType: string;
492
- feeAmount: string;
493
- rate: string;
494
- addedToLoan: string;
495
- allowOverride: string;
496
- }>;
497
- ercFeatures: any;
498
- icr: string;
499
- ufssProductCode: string;
500
- ufssInterestRateCode: string;
501
- calculations?: {
502
- ltv: string;
503
- rentalCoverageRatioRate: string;
504
- bankContributionRate: string;
505
- bankInitialShareRate: string;
506
- totalAmountPayable: string;
507
- fixedMonthlyPayment: string;
508
- fixedMonthlyCapital: string;
509
- fixedMonthlyInterest: string;
510
- variableMonthlyPayment: string;
511
- summaryTotal: string;
512
- reimbursementPerPound: string;
513
- stressedPayment: string;
514
- stressedPaymentRate: string;
515
- rentalCoverage: string;
516
- rentalCoverageWithoutTopUp: string;
517
- } | null | undefined;
518
- cashflowPeriods?: {
519
- totalNoOfPayments: string;
520
- fixed?: {
521
- from: string;
522
- to: string;
523
- instalmentAmount: string;
524
- instalmentInterest: string;
525
- instalmentCapitalRepaid: string;
526
- otherCosts: string;
527
- outstandingCapital: string;
528
- } | null | undefined;
529
- variable?: {
530
- from: string;
531
- to: string;
532
- instalmentAmount: string;
533
- instalmentInterest: string;
534
- instalmentCapitalRepaid: string;
535
- otherCosts: string;
536
- outstandingCapital: string;
537
- } | null | undefined;
538
- total?: {
539
- from: string;
540
- to: string;
541
- instalmentAmount: string;
542
- instalmentInterest: string;
543
- instalmentCapitalRepaid: string;
544
- otherCosts: string;
545
- outstandingCapital: string;
546
- } | null | undefined;
547
- } | null | undefined;
548
- } | null | undefined;
549
168
  creditProfile?: {
550
169
  companyBankruptcyYes: string;
551
170
  companyBankruptcyNo: string;
@@ -607,12 +226,6 @@ declare const ApplicationModel: mongoose.Model<{
607
226
  newReason: string;
608
227
  purchaseTypeLid: mongoose.Types.ObjectId;
609
228
  rejectedReason: string;
610
- sourceOfWealthLids: mongoose.Types.ObjectId[];
611
- sowBusiness: string;
612
- sowInheritance: string;
613
- sowOther: string;
614
- sowProperty: string;
615
- sowSalary: string;
616
229
  submitReason: string;
617
230
  underwriter: string;
618
231
  isValuationFeePaid: string;
@@ -626,127 +239,6 @@ declare const ApplicationModel: mongoose.Model<{
626
239
  propertyIds: mongoose.Types.ObjectId[];
627
240
  selectedProduct?: string | null | undefined;
628
241
  riskRating?: string | null | undefined;
629
- productFeatures?: {
630
- name: string;
631
- repaymentType: string;
632
- ltv: string;
633
- reimbursementPerPound: string;
634
- stressedPayment: string;
635
- stressedPaymentRate: string;
636
- rentalCoverage: string;
637
- clientAdvance: string;
638
- repayment: string;
639
- variableRepayment: string;
640
- reversionRateWithoutBaseRate: string;
641
- totalReversionRate: string;
642
- initialRate: string;
643
- fixedTerm: string;
644
- fixedTermEndDate: string;
645
- baseRate: string;
646
- productRate: string;
647
- apr: string;
648
- applicationCategory: string;
649
- securityType: string;
650
- erc: string;
651
- loanType: string;
652
- maxLtvLimit: string;
653
- reimbursement: string;
654
- stressedApr: string;
655
- stressedRate: string;
656
- stressedRepayment: string;
657
- liborFloorRate: string;
658
- totalTermInMonths: string;
659
- chargeType: string;
660
- productCategory: string;
661
- ercCode: string;
662
- variableTerm: string;
663
- totalFeePayable: string;
664
- dipIssueDate: string;
665
- estimatedCompletionDate: string;
666
- dipExpiryDate: string;
667
- fixedRepaymentUntillDate: string;
668
- rentalReviewDate: string;
669
- totalReimbursementWithFee: string;
670
- finalRentPayment: string;
671
- clientDeposit: string;
672
- firstRentPayment: string;
673
- fees: mongoose.Types.DocumentArray<{
674
- description: string;
675
- additionalData: any;
676
- feeType: string;
677
- feeAmount: string;
678
- rate: string;
679
- addedToLoan: string;
680
- allowOverride: string;
681
- }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
682
- description: string;
683
- additionalData: any;
684
- feeType: string;
685
- feeAmount: string;
686
- rate: string;
687
- addedToLoan: string;
688
- allowOverride: string;
689
- }> & {
690
- description: string;
691
- additionalData: any;
692
- feeType: string;
693
- feeAmount: string;
694
- rate: string;
695
- addedToLoan: string;
696
- allowOverride: string;
697
- }>;
698
- ercFeatures: any;
699
- icr: string;
700
- ufssProductCode: string;
701
- ufssInterestRateCode: string;
702
- calculations?: {
703
- ltv: string;
704
- rentalCoverageRatioRate: string;
705
- bankContributionRate: string;
706
- bankInitialShareRate: string;
707
- totalAmountPayable: string;
708
- fixedMonthlyPayment: string;
709
- fixedMonthlyCapital: string;
710
- fixedMonthlyInterest: string;
711
- variableMonthlyPayment: string;
712
- summaryTotal: string;
713
- reimbursementPerPound: string;
714
- stressedPayment: string;
715
- stressedPaymentRate: string;
716
- rentalCoverage: string;
717
- rentalCoverageWithoutTopUp: string;
718
- } | null | undefined;
719
- cashflowPeriods?: {
720
- totalNoOfPayments: string;
721
- fixed?: {
722
- from: string;
723
- to: string;
724
- instalmentAmount: string;
725
- instalmentInterest: string;
726
- instalmentCapitalRepaid: string;
727
- otherCosts: string;
728
- outstandingCapital: string;
729
- } | null | undefined;
730
- variable?: {
731
- from: string;
732
- to: string;
733
- instalmentAmount: string;
734
- instalmentInterest: string;
735
- instalmentCapitalRepaid: string;
736
- otherCosts: string;
737
- outstandingCapital: string;
738
- } | null | undefined;
739
- total?: {
740
- from: string;
741
- to: string;
742
- instalmentAmount: string;
743
- instalmentInterest: string;
744
- instalmentCapitalRepaid: string;
745
- otherCosts: string;
746
- outstandingCapital: string;
747
- } | null | undefined;
748
- } | null | undefined;
749
- } | null | undefined;
750
242
  creditProfile?: {
751
243
  companyBankruptcyYes: string;
752
244
  companyBankruptcyNo: string;
@@ -796,12 +288,6 @@ declare const ApplicationModel: mongoose.Model<{
796
288
  newReason: string;
797
289
  purchaseTypeLid: mongoose.Types.ObjectId;
798
290
  rejectedReason: string;
799
- sourceOfWealthLids: mongoose.Types.ObjectId[];
800
- sowBusiness: string;
801
- sowInheritance: string;
802
- sowOther: string;
803
- sowProperty: string;
804
- sowSalary: string;
805
291
  submitReason: string;
806
292
  underwriter: string;
807
293
  isValuationFeePaid: string;
@@ -815,127 +301,6 @@ declare const ApplicationModel: mongoose.Model<{
815
301
  propertyIds: mongoose.Types.ObjectId[];
816
302
  selectedProduct?: string | null | undefined;
817
303
  riskRating?: string | null | undefined;
818
- productFeatures?: {
819
- name: string;
820
- repaymentType: string;
821
- ltv: string;
822
- reimbursementPerPound: string;
823
- stressedPayment: string;
824
- stressedPaymentRate: string;
825
- rentalCoverage: string;
826
- clientAdvance: string;
827
- repayment: string;
828
- variableRepayment: string;
829
- reversionRateWithoutBaseRate: string;
830
- totalReversionRate: string;
831
- initialRate: string;
832
- fixedTerm: string;
833
- fixedTermEndDate: string;
834
- baseRate: string;
835
- productRate: string;
836
- apr: string;
837
- applicationCategory: string;
838
- securityType: string;
839
- erc: string;
840
- loanType: string;
841
- maxLtvLimit: string;
842
- reimbursement: string;
843
- stressedApr: string;
844
- stressedRate: string;
845
- stressedRepayment: string;
846
- liborFloorRate: string;
847
- totalTermInMonths: string;
848
- chargeType: string;
849
- productCategory: string;
850
- ercCode: string;
851
- variableTerm: string;
852
- totalFeePayable: string;
853
- dipIssueDate: string;
854
- estimatedCompletionDate: string;
855
- dipExpiryDate: string;
856
- fixedRepaymentUntillDate: string;
857
- rentalReviewDate: string;
858
- totalReimbursementWithFee: string;
859
- finalRentPayment: string;
860
- clientDeposit: string;
861
- firstRentPayment: string;
862
- fees: mongoose.Types.DocumentArray<{
863
- description: string;
864
- additionalData: any;
865
- feeType: string;
866
- feeAmount: string;
867
- rate: string;
868
- addedToLoan: string;
869
- allowOverride: string;
870
- }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
871
- description: string;
872
- additionalData: any;
873
- feeType: string;
874
- feeAmount: string;
875
- rate: string;
876
- addedToLoan: string;
877
- allowOverride: string;
878
- }> & {
879
- description: string;
880
- additionalData: any;
881
- feeType: string;
882
- feeAmount: string;
883
- rate: string;
884
- addedToLoan: string;
885
- allowOverride: string;
886
- }>;
887
- ercFeatures: any;
888
- icr: string;
889
- ufssProductCode: string;
890
- ufssInterestRateCode: string;
891
- calculations?: {
892
- ltv: string;
893
- rentalCoverageRatioRate: string;
894
- bankContributionRate: string;
895
- bankInitialShareRate: string;
896
- totalAmountPayable: string;
897
- fixedMonthlyPayment: string;
898
- fixedMonthlyCapital: string;
899
- fixedMonthlyInterest: string;
900
- variableMonthlyPayment: string;
901
- summaryTotal: string;
902
- reimbursementPerPound: string;
903
- stressedPayment: string;
904
- stressedPaymentRate: string;
905
- rentalCoverage: string;
906
- rentalCoverageWithoutTopUp: string;
907
- } | null | undefined;
908
- cashflowPeriods?: {
909
- totalNoOfPayments: string;
910
- fixed?: {
911
- from: string;
912
- to: string;
913
- instalmentAmount: string;
914
- instalmentInterest: string;
915
- instalmentCapitalRepaid: string;
916
- otherCosts: string;
917
- outstandingCapital: string;
918
- } | null | undefined;
919
- variable?: {
920
- from: string;
921
- to: string;
922
- instalmentAmount: string;
923
- instalmentInterest: string;
924
- instalmentCapitalRepaid: string;
925
- otherCosts: string;
926
- outstandingCapital: string;
927
- } | null | undefined;
928
- total?: {
929
- from: string;
930
- to: string;
931
- instalmentAmount: string;
932
- instalmentInterest: string;
933
- instalmentCapitalRepaid: string;
934
- otherCosts: string;
935
- outstandingCapital: string;
936
- } | null | undefined;
937
- } | null | undefined;
938
- } | null | undefined;
939
304
  creditProfile?: {
940
305
  companyBankruptcyYes: string;
941
306
  companyBankruptcyNo: string;
@@ -985,12 +350,6 @@ declare const ApplicationModel: mongoose.Model<{
985
350
  newReason: string;
986
351
  purchaseTypeLid: mongoose.Types.ObjectId;
987
352
  rejectedReason: string;
988
- sourceOfWealthLids: mongoose.Types.ObjectId[];
989
- sowBusiness: string;
990
- sowInheritance: string;
991
- sowOther: string;
992
- sowProperty: string;
993
- sowSalary: string;
994
353
  submitReason: string;
995
354
  underwriter: string;
996
355
  isValuationFeePaid: string;
@@ -1004,127 +363,6 @@ declare const ApplicationModel: mongoose.Model<{
1004
363
  propertyIds: mongoose.Types.ObjectId[];
1005
364
  selectedProduct?: string | null | undefined;
1006
365
  riskRating?: string | null | undefined;
1007
- productFeatures?: {
1008
- name: string;
1009
- repaymentType: string;
1010
- ltv: string;
1011
- reimbursementPerPound: string;
1012
- stressedPayment: string;
1013
- stressedPaymentRate: string;
1014
- rentalCoverage: string;
1015
- clientAdvance: string;
1016
- repayment: string;
1017
- variableRepayment: string;
1018
- reversionRateWithoutBaseRate: string;
1019
- totalReversionRate: string;
1020
- initialRate: string;
1021
- fixedTerm: string;
1022
- fixedTermEndDate: string;
1023
- baseRate: string;
1024
- productRate: string;
1025
- apr: string;
1026
- applicationCategory: string;
1027
- securityType: string;
1028
- erc: string;
1029
- loanType: string;
1030
- maxLtvLimit: string;
1031
- reimbursement: string;
1032
- stressedApr: string;
1033
- stressedRate: string;
1034
- stressedRepayment: string;
1035
- liborFloorRate: string;
1036
- totalTermInMonths: string;
1037
- chargeType: string;
1038
- productCategory: string;
1039
- ercCode: string;
1040
- variableTerm: string;
1041
- totalFeePayable: string;
1042
- dipIssueDate: string;
1043
- estimatedCompletionDate: string;
1044
- dipExpiryDate: string;
1045
- fixedRepaymentUntillDate: string;
1046
- rentalReviewDate: string;
1047
- totalReimbursementWithFee: string;
1048
- finalRentPayment: string;
1049
- clientDeposit: string;
1050
- firstRentPayment: string;
1051
- fees: mongoose.Types.DocumentArray<{
1052
- description: string;
1053
- additionalData: any;
1054
- feeType: string;
1055
- feeAmount: string;
1056
- rate: string;
1057
- addedToLoan: string;
1058
- allowOverride: string;
1059
- }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1060
- description: string;
1061
- additionalData: any;
1062
- feeType: string;
1063
- feeAmount: string;
1064
- rate: string;
1065
- addedToLoan: string;
1066
- allowOverride: string;
1067
- }> & {
1068
- description: string;
1069
- additionalData: any;
1070
- feeType: string;
1071
- feeAmount: string;
1072
- rate: string;
1073
- addedToLoan: string;
1074
- allowOverride: string;
1075
- }>;
1076
- ercFeatures: any;
1077
- icr: string;
1078
- ufssProductCode: string;
1079
- ufssInterestRateCode: string;
1080
- calculations?: {
1081
- ltv: string;
1082
- rentalCoverageRatioRate: string;
1083
- bankContributionRate: string;
1084
- bankInitialShareRate: string;
1085
- totalAmountPayable: string;
1086
- fixedMonthlyPayment: string;
1087
- fixedMonthlyCapital: string;
1088
- fixedMonthlyInterest: string;
1089
- variableMonthlyPayment: string;
1090
- summaryTotal: string;
1091
- reimbursementPerPound: string;
1092
- stressedPayment: string;
1093
- stressedPaymentRate: string;
1094
- rentalCoverage: string;
1095
- rentalCoverageWithoutTopUp: string;
1096
- } | null | undefined;
1097
- cashflowPeriods?: {
1098
- totalNoOfPayments: string;
1099
- fixed?: {
1100
- from: string;
1101
- to: string;
1102
- instalmentAmount: string;
1103
- instalmentInterest: string;
1104
- instalmentCapitalRepaid: string;
1105
- otherCosts: string;
1106
- outstandingCapital: string;
1107
- } | null | undefined;
1108
- variable?: {
1109
- from: string;
1110
- to: string;
1111
- instalmentAmount: string;
1112
- instalmentInterest: string;
1113
- instalmentCapitalRepaid: string;
1114
- otherCosts: string;
1115
- outstandingCapital: string;
1116
- } | null | undefined;
1117
- total?: {
1118
- from: string;
1119
- to: string;
1120
- instalmentAmount: string;
1121
- instalmentInterest: string;
1122
- instalmentCapitalRepaid: string;
1123
- otherCosts: string;
1124
- outstandingCapital: string;
1125
- } | null | undefined;
1126
- } | null | undefined;
1127
- } | null | undefined;
1128
366
  creditProfile?: {
1129
367
  companyBankruptcyYes: string;
1130
368
  companyBankruptcyNo: string;