@dynamatix/gb-schemas 2.5.0 → 2.6.0
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-commitment-mortgage.model.d.ts +127 -127
- package/dist/applications/application-mortgage.model.d.ts +780 -108
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.js +18 -0
- package/dist/applications/solicitor.model.d.ts +12 -0
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.js +2 -0
- package/package.json +1 -1
|
@@ -35,6 +35,70 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
35
35
|
monthlyPayment?: unknown;
|
|
36
36
|
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
37
37
|
outstandingBalance?: unknown;
|
|
38
|
+
PropertyNotes?: unknown;
|
|
39
|
+
ActualPropertyValue?: {
|
|
40
|
+
validators: mongoose.Types.DocumentArray<{
|
|
41
|
+
type?: unknown;
|
|
42
|
+
message?: unknown;
|
|
43
|
+
validator?: unknown;
|
|
44
|
+
reason?: unknown;
|
|
45
|
+
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
46
|
+
type?: unknown;
|
|
47
|
+
message?: unknown;
|
|
48
|
+
validator?: unknown;
|
|
49
|
+
reason?: unknown;
|
|
50
|
+
}> & {
|
|
51
|
+
type?: unknown;
|
|
52
|
+
message?: unknown;
|
|
53
|
+
validator?: unknown;
|
|
54
|
+
reason?: unknown;
|
|
55
|
+
}>;
|
|
56
|
+
get?: {} | null | undefined;
|
|
57
|
+
schema?: {
|
|
58
|
+
[x: string]: unknown;
|
|
59
|
+
} | null | undefined;
|
|
60
|
+
set?: {} | null | undefined;
|
|
61
|
+
validate?: {} | null | undefined;
|
|
62
|
+
index?: {} | null | undefined;
|
|
63
|
+
default?: {} | null | undefined;
|
|
64
|
+
text?: {} | null | undefined;
|
|
65
|
+
unique?: {} | null | undefined;
|
|
66
|
+
sparse?: {} | null | undefined;
|
|
67
|
+
cast?: {} | null | undefined;
|
|
68
|
+
required?: {} | null | undefined;
|
|
69
|
+
ref?: {} | null | undefined;
|
|
70
|
+
select?: {} | null | undefined;
|
|
71
|
+
immutable?: {} | null | undefined;
|
|
72
|
+
transform?: {} | null | undefined;
|
|
73
|
+
options?: {
|
|
74
|
+
[x: string]: unknown;
|
|
75
|
+
} | null | undefined;
|
|
76
|
+
OptionsConstructor?: {
|
|
77
|
+
[x: string]: unknown;
|
|
78
|
+
} | null | undefined;
|
|
79
|
+
getEmbeddedSchemaType?: {} | null | undefined;
|
|
80
|
+
instance?: unknown;
|
|
81
|
+
isRequired?: unknown;
|
|
82
|
+
path?: unknown;
|
|
83
|
+
toJSONSchema?: {} | null | undefined;
|
|
84
|
+
validateAll?: {} | null | undefined;
|
|
85
|
+
defaultOptions?: unknown;
|
|
86
|
+
} | null | undefined;
|
|
87
|
+
PropertyBuiltType?: unknown;
|
|
88
|
+
hasLift?: unknown;
|
|
89
|
+
AgeofProperty?: unknown;
|
|
90
|
+
Dateofpropertybuilt?: unknown;
|
|
91
|
+
PropertyType?: unknown;
|
|
92
|
+
RegistrationDateandTime?: unknown;
|
|
93
|
+
Age?: unknown;
|
|
94
|
+
CountryMultiselect?: unknown;
|
|
95
|
+
PercentageofEPC?: unknown;
|
|
96
|
+
propertyTypeLid?: unknown;
|
|
97
|
+
rationale?: unknown;
|
|
98
|
+
ApplicantSortcode?: unknown;
|
|
99
|
+
accountnumber?: unknown;
|
|
100
|
+
Postcode?: unknown;
|
|
101
|
+
AddressLine1?: unknown;
|
|
38
102
|
fixedTerm?: unknown;
|
|
39
103
|
startDate?: unknown;
|
|
40
104
|
commitmentId?: unknown;
|
|
@@ -151,6 +215,13 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
151
215
|
financeHomeTypeLid?: unknown;
|
|
152
216
|
remainingTermMonth?: unknown;
|
|
153
217
|
chargeTypeLid?: unknown;
|
|
218
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
219
|
+
isSelected?: unknown;
|
|
220
|
+
source?: unknown;
|
|
221
|
+
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
222
|
+
monthlyPayment?: unknown;
|
|
223
|
+
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
224
|
+
outstandingBalance?: unknown;
|
|
154
225
|
PropertyNotes?: unknown;
|
|
155
226
|
ActualPropertyValue?: {
|
|
156
227
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -215,13 +286,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
215
286
|
accountnumber?: unknown;
|
|
216
287
|
Postcode?: unknown;
|
|
217
288
|
AddressLine1?: unknown;
|
|
218
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
219
|
-
isSelected?: unknown;
|
|
220
|
-
source?: unknown;
|
|
221
|
-
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
222
|
-
monthlyPayment?: unknown;
|
|
223
|
-
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
224
|
-
outstandingBalance?: unknown;
|
|
225
289
|
fixedTerm?: unknown;
|
|
226
290
|
startDate?: unknown;
|
|
227
291
|
commitmentId?: unknown;
|
|
@@ -338,6 +402,13 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
338
402
|
financeHomeTypeLid?: unknown;
|
|
339
403
|
remainingTermMonth?: unknown;
|
|
340
404
|
chargeTypeLid?: unknown;
|
|
405
|
+
}, {}> & {
|
|
406
|
+
isSelected?: unknown;
|
|
407
|
+
source?: unknown;
|
|
408
|
+
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
409
|
+
monthlyPayment?: unknown;
|
|
410
|
+
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
411
|
+
outstandingBalance?: unknown;
|
|
341
412
|
PropertyNotes?: unknown;
|
|
342
413
|
ActualPropertyValue?: {
|
|
343
414
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -402,13 +473,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
402
473
|
accountnumber?: unknown;
|
|
403
474
|
Postcode?: unknown;
|
|
404
475
|
AddressLine1?: unknown;
|
|
405
|
-
}, {}> & {
|
|
406
|
-
isSelected?: unknown;
|
|
407
|
-
source?: unknown;
|
|
408
|
-
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
409
|
-
monthlyPayment?: unknown;
|
|
410
|
-
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
411
|
-
outstandingBalance?: unknown;
|
|
412
476
|
fixedTerm?: unknown;
|
|
413
477
|
startDate?: unknown;
|
|
414
478
|
commitmentId?: unknown;
|
|
@@ -525,70 +589,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
525
589
|
financeHomeTypeLid?: unknown;
|
|
526
590
|
remainingTermMonth?: unknown;
|
|
527
591
|
chargeTypeLid?: unknown;
|
|
528
|
-
PropertyNotes?: unknown;
|
|
529
|
-
ActualPropertyValue?: {
|
|
530
|
-
validators: mongoose.Types.DocumentArray<{
|
|
531
|
-
type?: unknown;
|
|
532
|
-
message?: unknown;
|
|
533
|
-
validator?: unknown;
|
|
534
|
-
reason?: unknown;
|
|
535
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
536
|
-
type?: unknown;
|
|
537
|
-
message?: unknown;
|
|
538
|
-
validator?: unknown;
|
|
539
|
-
reason?: unknown;
|
|
540
|
-
}> & {
|
|
541
|
-
type?: unknown;
|
|
542
|
-
message?: unknown;
|
|
543
|
-
validator?: unknown;
|
|
544
|
-
reason?: unknown;
|
|
545
|
-
}>;
|
|
546
|
-
get?: {} | null | undefined;
|
|
547
|
-
schema?: {
|
|
548
|
-
[x: string]: unknown;
|
|
549
|
-
} | null | undefined;
|
|
550
|
-
set?: {} | null | undefined;
|
|
551
|
-
validate?: {} | null | undefined;
|
|
552
|
-
index?: {} | null | undefined;
|
|
553
|
-
default?: {} | null | undefined;
|
|
554
|
-
text?: {} | null | undefined;
|
|
555
|
-
unique?: {} | null | undefined;
|
|
556
|
-
sparse?: {} | null | undefined;
|
|
557
|
-
cast?: {} | null | undefined;
|
|
558
|
-
required?: {} | null | undefined;
|
|
559
|
-
ref?: {} | null | undefined;
|
|
560
|
-
select?: {} | null | undefined;
|
|
561
|
-
immutable?: {} | null | undefined;
|
|
562
|
-
transform?: {} | null | undefined;
|
|
563
|
-
options?: {
|
|
564
|
-
[x: string]: unknown;
|
|
565
|
-
} | null | undefined;
|
|
566
|
-
OptionsConstructor?: {
|
|
567
|
-
[x: string]: unknown;
|
|
568
|
-
} | null | undefined;
|
|
569
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
570
|
-
instance?: unknown;
|
|
571
|
-
isRequired?: unknown;
|
|
572
|
-
path?: unknown;
|
|
573
|
-
toJSONSchema?: {} | null | undefined;
|
|
574
|
-
validateAll?: {} | null | undefined;
|
|
575
|
-
defaultOptions?: unknown;
|
|
576
|
-
} | null | undefined;
|
|
577
|
-
PropertyBuiltType?: unknown;
|
|
578
|
-
hasLift?: unknown;
|
|
579
|
-
AgeofProperty?: unknown;
|
|
580
|
-
Dateofpropertybuilt?: unknown;
|
|
581
|
-
PropertyType?: unknown;
|
|
582
|
-
RegistrationDateandTime?: unknown;
|
|
583
|
-
Age?: unknown;
|
|
584
|
-
CountryMultiselect?: unknown;
|
|
585
|
-
PercentageofEPC?: unknown;
|
|
586
|
-
propertyTypeLid?: unknown;
|
|
587
|
-
rationale?: unknown;
|
|
588
|
-
ApplicantSortcode?: unknown;
|
|
589
|
-
accountnumber?: unknown;
|
|
590
|
-
Postcode?: unknown;
|
|
591
|
-
AddressLine1?: unknown;
|
|
592
592
|
} & {
|
|
593
593
|
_id: mongoose.Types.ObjectId;
|
|
594
594
|
} & {
|
|
@@ -607,6 +607,20 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
607
607
|
source: "Broker" | "Credit Report" | "Underwriter";
|
|
608
608
|
applicantId: mongoose.Types.ObjectId;
|
|
609
609
|
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
610
|
+
PropertyNotes: string;
|
|
611
|
+
ActualPropertyValue: Pound;
|
|
612
|
+
PropertyBuiltType: string;
|
|
613
|
+
hasLift: string;
|
|
614
|
+
Dateofpropertybuilt: string;
|
|
615
|
+
RegistrationDateandTime: string;
|
|
616
|
+
Age: string;
|
|
617
|
+
CountryMultiselect: string;
|
|
618
|
+
PercentageofEPC: string;
|
|
619
|
+
rationale: string;
|
|
620
|
+
ApplicantSortcode: string;
|
|
621
|
+
accountnumber: string;
|
|
622
|
+
Postcode: string;
|
|
623
|
+
AddressLine1: string;
|
|
610
624
|
fixedTerm: string;
|
|
611
625
|
startDate: string;
|
|
612
626
|
commitmentId: string;
|
|
@@ -623,6 +637,22 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
623
637
|
accountInArrears: boolean;
|
|
624
638
|
accountInArrearsDetails: string;
|
|
625
639
|
financeTypeHppLid: mongoose.Types.ObjectId;
|
|
640
|
+
monthlyPayment?: Pound | null | undefined;
|
|
641
|
+
outstandingBalance?: Pound | null | undefined;
|
|
642
|
+
AgeofProperty?: number | null | undefined;
|
|
643
|
+
PropertyType?: mongoose.Types.ObjectId | null | undefined;
|
|
644
|
+
propertyTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
645
|
+
lenderName?: string | null | undefined;
|
|
646
|
+
hppRepaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
647
|
+
mortgageRate?: number | null | undefined;
|
|
648
|
+
financeHomeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
649
|
+
remainingTermMonth?: number | null | undefined;
|
|
650
|
+
chargeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
651
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
652
|
+
isSelected: boolean;
|
|
653
|
+
source: "Broker" | "Credit Report" | "Underwriter";
|
|
654
|
+
applicantId: mongoose.Types.ObjectId;
|
|
655
|
+
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
626
656
|
PropertyNotes: string;
|
|
627
657
|
ActualPropertyValue: Pound;
|
|
628
658
|
PropertyBuiltType: string;
|
|
@@ -637,22 +667,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
637
667
|
accountnumber: string;
|
|
638
668
|
Postcode: string;
|
|
639
669
|
AddressLine1: string;
|
|
640
|
-
monthlyPayment?: Pound | null | undefined;
|
|
641
|
-
outstandingBalance?: Pound | null | undefined;
|
|
642
|
-
lenderName?: string | null | undefined;
|
|
643
|
-
hppRepaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
644
|
-
mortgageRate?: number | null | undefined;
|
|
645
|
-
financeHomeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
646
|
-
remainingTermMonth?: number | null | undefined;
|
|
647
|
-
chargeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
648
|
-
AgeofProperty?: number | null | undefined;
|
|
649
|
-
PropertyType?: mongoose.Types.ObjectId | null | undefined;
|
|
650
|
-
propertyTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
651
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
652
|
-
isSelected: boolean;
|
|
653
|
-
source: "Broker" | "Credit Report" | "Underwriter";
|
|
654
|
-
applicantId: mongoose.Types.ObjectId;
|
|
655
|
-
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
656
670
|
fixedTerm: string;
|
|
657
671
|
startDate: string;
|
|
658
672
|
commitmentId: string;
|
|
@@ -669,6 +683,22 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
669
683
|
accountInArrears: boolean;
|
|
670
684
|
accountInArrearsDetails: string;
|
|
671
685
|
financeTypeHppLid: mongoose.Types.ObjectId;
|
|
686
|
+
monthlyPayment?: Pound | null | undefined;
|
|
687
|
+
outstandingBalance?: Pound | null | undefined;
|
|
688
|
+
AgeofProperty?: number | null | undefined;
|
|
689
|
+
PropertyType?: mongoose.Types.ObjectId | null | undefined;
|
|
690
|
+
propertyTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
691
|
+
lenderName?: string | null | undefined;
|
|
692
|
+
hppRepaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
693
|
+
mortgageRate?: number | null | undefined;
|
|
694
|
+
financeHomeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
695
|
+
remainingTermMonth?: number | null | undefined;
|
|
696
|
+
chargeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
697
|
+
}>, {}> & mongoose.FlatRecord<{
|
|
698
|
+
isSelected: boolean;
|
|
699
|
+
source: "Broker" | "Credit Report" | "Underwriter";
|
|
700
|
+
applicantId: mongoose.Types.ObjectId;
|
|
701
|
+
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
672
702
|
PropertyNotes: string;
|
|
673
703
|
ActualPropertyValue: Pound;
|
|
674
704
|
PropertyBuiltType: string;
|
|
@@ -683,22 +713,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
683
713
|
accountnumber: string;
|
|
684
714
|
Postcode: string;
|
|
685
715
|
AddressLine1: string;
|
|
686
|
-
monthlyPayment?: Pound | null | undefined;
|
|
687
|
-
outstandingBalance?: Pound | null | undefined;
|
|
688
|
-
lenderName?: string | null | undefined;
|
|
689
|
-
hppRepaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
690
|
-
mortgageRate?: number | null | undefined;
|
|
691
|
-
financeHomeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
692
|
-
remainingTermMonth?: number | null | undefined;
|
|
693
|
-
chargeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
694
|
-
AgeofProperty?: number | null | undefined;
|
|
695
|
-
PropertyType?: mongoose.Types.ObjectId | null | undefined;
|
|
696
|
-
propertyTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
697
|
-
}>, {}> & mongoose.FlatRecord<{
|
|
698
|
-
isSelected: boolean;
|
|
699
|
-
source: "Broker" | "Credit Report" | "Underwriter";
|
|
700
|
-
applicantId: mongoose.Types.ObjectId;
|
|
701
|
-
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
702
716
|
fixedTerm: string;
|
|
703
717
|
startDate: string;
|
|
704
718
|
commitmentId: string;
|
|
@@ -715,31 +729,17 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
715
729
|
accountInArrears: boolean;
|
|
716
730
|
accountInArrearsDetails: string;
|
|
717
731
|
financeTypeHppLid: mongoose.Types.ObjectId;
|
|
718
|
-
PropertyNotes: string;
|
|
719
|
-
ActualPropertyValue: Pound;
|
|
720
|
-
PropertyBuiltType: string;
|
|
721
|
-
hasLift: string;
|
|
722
|
-
Dateofpropertybuilt: string;
|
|
723
|
-
RegistrationDateandTime: string;
|
|
724
|
-
Age: string;
|
|
725
|
-
CountryMultiselect: string;
|
|
726
|
-
PercentageofEPC: string;
|
|
727
|
-
rationale: string;
|
|
728
|
-
ApplicantSortcode: string;
|
|
729
|
-
accountnumber: string;
|
|
730
|
-
Postcode: string;
|
|
731
|
-
AddressLine1: string;
|
|
732
732
|
monthlyPayment?: Pound | null | undefined;
|
|
733
733
|
outstandingBalance?: Pound | null | undefined;
|
|
734
|
+
AgeofProperty?: number | null | undefined;
|
|
735
|
+
PropertyType?: mongoose.Types.ObjectId | null | undefined;
|
|
736
|
+
propertyTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
734
737
|
lenderName?: string | null | undefined;
|
|
735
738
|
hppRepaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
736
739
|
mortgageRate?: number | null | undefined;
|
|
737
740
|
financeHomeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
738
741
|
remainingTermMonth?: number | null | undefined;
|
|
739
742
|
chargeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
740
|
-
AgeofProperty?: number | null | undefined;
|
|
741
|
-
PropertyType?: mongoose.Types.ObjectId | null | undefined;
|
|
742
|
-
propertyTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
743
743
|
}> & {
|
|
744
744
|
_id: mongoose.Types.ObjectId;
|
|
745
745
|
} & {
|