@dynamatix/gb-schemas 2.14.8 → 2.14.10
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-credit-report.model.d.ts +21 -1
- package/dist/applicants/applicant-credit-report.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-report.model.js +2 -0
- package/dist/applicants/applicant-income-summary.model.d.ts +30 -792
- package/dist/applicants/applicant-income-summary.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income-summary.model.js +0 -14
- package/dist/applicants/applicant-income-summary.type.d.ts +0 -12
- package/dist/applicants/applicant-income-summary.type.d.ts.map +1 -1
- package/dist/applicants/applicant-self-employment.model.js +1 -1
- package/dist/applications/application-euc.model.d.ts +0 -12
- package/dist/applications/application-euc.model.d.ts.map +1 -1
- package/dist/applications/application-euc.model.js +0 -4
- package/dist/applications/application-euc.type.d.ts +0 -2
- package/dist/applications/application-euc.type.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
29
|
import mongoose from 'mongoose';
|
|
30
30
|
declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
31
|
+
createdAt: NativeDate;
|
|
32
|
+
updatedAt: NativeDate;
|
|
33
|
+
} & {
|
|
31
34
|
comment: string;
|
|
32
35
|
applicantId: mongoose.Types.ObjectId;
|
|
33
36
|
applicantName: string;
|
|
@@ -653,6 +656,9 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
653
656
|
isEquifaxData: boolean;
|
|
654
657
|
searchCriteriaDifferences: string;
|
|
655
658
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
659
|
+
createdAt: NativeDate;
|
|
660
|
+
updatedAt: NativeDate;
|
|
661
|
+
} & {
|
|
656
662
|
comment: string;
|
|
657
663
|
applicantId: mongoose.Types.ObjectId;
|
|
658
664
|
applicantName: string;
|
|
@@ -1278,6 +1284,9 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
1278
1284
|
isEquifaxData: boolean;
|
|
1279
1285
|
searchCriteriaDifferences: string;
|
|
1280
1286
|
}, {}> & {
|
|
1287
|
+
createdAt: NativeDate;
|
|
1288
|
+
updatedAt: NativeDate;
|
|
1289
|
+
} & {
|
|
1281
1290
|
comment: string;
|
|
1282
1291
|
applicantId: mongoose.Types.ObjectId;
|
|
1283
1292
|
applicantName: string;
|
|
@@ -1906,7 +1915,12 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
1906
1915
|
_id: mongoose.Types.ObjectId;
|
|
1907
1916
|
} & {
|
|
1908
1917
|
__v: number;
|
|
1909
|
-
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {},
|
|
1918
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
1919
|
+
timestamps: true;
|
|
1920
|
+
}, {
|
|
1921
|
+
createdAt: NativeDate;
|
|
1922
|
+
updatedAt: NativeDate;
|
|
1923
|
+
} & {
|
|
1910
1924
|
comment: string;
|
|
1911
1925
|
applicantId: mongoose.Types.ObjectId;
|
|
1912
1926
|
applicantName: string;
|
|
@@ -2532,6 +2546,9 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
2532
2546
|
isEquifaxData: boolean;
|
|
2533
2547
|
searchCriteriaDifferences: string;
|
|
2534
2548
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
2549
|
+
createdAt: NativeDate;
|
|
2550
|
+
updatedAt: NativeDate;
|
|
2551
|
+
} & {
|
|
2535
2552
|
comment: string;
|
|
2536
2553
|
applicantId: mongoose.Types.ObjectId;
|
|
2537
2554
|
applicantName: string;
|
|
@@ -3157,6 +3174,9 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
3157
3174
|
isEquifaxData: boolean;
|
|
3158
3175
|
searchCriteriaDifferences: string;
|
|
3159
3176
|
}>, {}> & mongoose.FlatRecord<{
|
|
3177
|
+
createdAt: NativeDate;
|
|
3178
|
+
updatedAt: NativeDate;
|
|
3179
|
+
} & {
|
|
3160
3180
|
comment: string;
|
|
3161
3181
|
applicantId: mongoose.Types.ObjectId;
|
|
3162
3182
|
applicantName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-credit-report.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-credit-report.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-credit-report.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-credit-report.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoJhC,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuE,CAAC;AACxG,eAAe,0BAA0B,CAAC"}
|
|
@@ -115,6 +115,8 @@ const applicantCreditReportSchema = new Schema({
|
|
|
115
115
|
searchDate: { type: Date, default: null },
|
|
116
116
|
searchCriteriaDifferences: { type: String, default: "" },
|
|
117
117
|
comment: { type: String, default: "" },
|
|
118
|
+
}, {
|
|
119
|
+
timestamps: true
|
|
118
120
|
});
|
|
119
121
|
// Apply workflow plugin to the schema
|
|
120
122
|
applicantCreditReportSchema.index({ applicantId: 1 });
|
|
@@ -716,449 +716,9 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
716
716
|
validateAll?: {} | null | undefined;
|
|
717
717
|
defaultOptions?: unknown;
|
|
718
718
|
} | null | undefined;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
adjustedAnnualGrossIncome?: {
|
|
723
|
-
validators: mongoose.Types.DocumentArray<{
|
|
724
|
-
type?: unknown;
|
|
725
|
-
message?: unknown;
|
|
726
|
-
validator?: unknown;
|
|
727
|
-
reason?: unknown;
|
|
728
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
729
|
-
type?: unknown;
|
|
730
|
-
message?: unknown;
|
|
731
|
-
validator?: unknown;
|
|
732
|
-
reason?: unknown;
|
|
733
|
-
}> & {
|
|
734
|
-
type?: unknown;
|
|
735
|
-
message?: unknown;
|
|
736
|
-
validator?: unknown;
|
|
737
|
-
reason?: unknown;
|
|
738
|
-
}>;
|
|
739
|
-
get?: {} | null | undefined;
|
|
740
|
-
schema?: {
|
|
741
|
-
[x: string]: unknown;
|
|
742
|
-
} | null | undefined;
|
|
743
|
-
set?: {} | null | undefined;
|
|
744
|
-
validate?: {} | null | undefined;
|
|
745
|
-
index?: {} | null | undefined;
|
|
746
|
-
default?: {} | null | undefined;
|
|
747
|
-
text?: {} | null | undefined;
|
|
748
|
-
unique?: {} | null | undefined;
|
|
749
|
-
sparse?: {} | null | undefined;
|
|
750
|
-
cast?: {} | null | undefined;
|
|
751
|
-
required?: {} | null | undefined;
|
|
752
|
-
ref?: {} | null | undefined;
|
|
753
|
-
select?: {} | null | undefined;
|
|
754
|
-
immutable?: {} | null | undefined;
|
|
755
|
-
transform?: {} | null | undefined;
|
|
756
|
-
options?: {
|
|
757
|
-
[x: string]: unknown;
|
|
758
|
-
} | null | undefined;
|
|
759
|
-
OptionsConstructor?: {
|
|
760
|
-
[x: string]: unknown;
|
|
761
|
-
} | null | undefined;
|
|
762
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
763
|
-
instance?: unknown;
|
|
764
|
-
isRequired?: unknown;
|
|
765
|
-
path?: unknown;
|
|
766
|
-
toJSONSchema?: {} | null | undefined;
|
|
767
|
-
validateAll?: {} | null | undefined;
|
|
768
|
-
defaultOptions?: unknown;
|
|
769
|
-
} | null | undefined;
|
|
770
|
-
adjustedAnnualNetIncome?: {
|
|
771
|
-
validators: mongoose.Types.DocumentArray<{
|
|
772
|
-
type?: unknown;
|
|
773
|
-
message?: unknown;
|
|
774
|
-
validator?: unknown;
|
|
775
|
-
reason?: unknown;
|
|
776
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
777
|
-
type?: unknown;
|
|
778
|
-
message?: unknown;
|
|
779
|
-
validator?: unknown;
|
|
780
|
-
reason?: unknown;
|
|
781
|
-
}> & {
|
|
782
|
-
type?: unknown;
|
|
783
|
-
message?: unknown;
|
|
784
|
-
validator?: unknown;
|
|
785
|
-
reason?: unknown;
|
|
786
|
-
}>;
|
|
787
|
-
get?: {} | null | undefined;
|
|
788
|
-
schema?: {
|
|
789
|
-
[x: string]: unknown;
|
|
790
|
-
} | null | undefined;
|
|
791
|
-
set?: {} | null | undefined;
|
|
792
|
-
validate?: {} | null | undefined;
|
|
793
|
-
index?: {} | null | undefined;
|
|
794
|
-
default?: {} | null | undefined;
|
|
795
|
-
text?: {} | null | undefined;
|
|
796
|
-
unique?: {} | null | undefined;
|
|
797
|
-
sparse?: {} | null | undefined;
|
|
798
|
-
cast?: {} | null | undefined;
|
|
799
|
-
required?: {} | null | undefined;
|
|
800
|
-
ref?: {} | null | undefined;
|
|
801
|
-
select?: {} | null | undefined;
|
|
802
|
-
immutable?: {} | null | undefined;
|
|
803
|
-
transform?: {} | null | undefined;
|
|
804
|
-
options?: {
|
|
805
|
-
[x: string]: unknown;
|
|
806
|
-
} | null | undefined;
|
|
807
|
-
OptionsConstructor?: {
|
|
808
|
-
[x: string]: unknown;
|
|
809
|
-
} | null | undefined;
|
|
810
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
811
|
-
instance?: unknown;
|
|
812
|
-
isRequired?: unknown;
|
|
813
|
-
path?: unknown;
|
|
814
|
-
toJSONSchema?: {} | null | undefined;
|
|
815
|
-
validateAll?: {} | null | undefined;
|
|
816
|
-
defaultOptions?: unknown;
|
|
817
|
-
} | null | undefined;
|
|
818
|
-
adjustedMonthlyGrossIncome?: {
|
|
819
|
-
validators: mongoose.Types.DocumentArray<{
|
|
820
|
-
type?: unknown;
|
|
821
|
-
message?: unknown;
|
|
822
|
-
validator?: unknown;
|
|
823
|
-
reason?: unknown;
|
|
824
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
825
|
-
type?: unknown;
|
|
826
|
-
message?: unknown;
|
|
827
|
-
validator?: unknown;
|
|
828
|
-
reason?: unknown;
|
|
829
|
-
}> & {
|
|
830
|
-
type?: unknown;
|
|
831
|
-
message?: unknown;
|
|
832
|
-
validator?: unknown;
|
|
833
|
-
reason?: unknown;
|
|
834
|
-
}>;
|
|
835
|
-
get?: {} | null | undefined;
|
|
836
|
-
schema?: {
|
|
837
|
-
[x: string]: unknown;
|
|
838
|
-
} | null | undefined;
|
|
839
|
-
set?: {} | null | undefined;
|
|
840
|
-
validate?: {} | null | undefined;
|
|
841
|
-
index?: {} | null | undefined;
|
|
842
|
-
default?: {} | null | undefined;
|
|
843
|
-
text?: {} | null | undefined;
|
|
844
|
-
unique?: {} | null | undefined;
|
|
845
|
-
sparse?: {} | null | undefined;
|
|
846
|
-
cast?: {} | null | undefined;
|
|
847
|
-
required?: {} | null | undefined;
|
|
848
|
-
ref?: {} | null | undefined;
|
|
849
|
-
select?: {} | null | undefined;
|
|
850
|
-
immutable?: {} | null | undefined;
|
|
851
|
-
transform?: {} | null | undefined;
|
|
852
|
-
options?: {
|
|
853
|
-
[x: string]: unknown;
|
|
854
|
-
} | null | undefined;
|
|
855
|
-
OptionsConstructor?: {
|
|
856
|
-
[x: string]: unknown;
|
|
857
|
-
} | null | undefined;
|
|
858
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
859
|
-
instance?: unknown;
|
|
860
|
-
isRequired?: unknown;
|
|
861
|
-
path?: unknown;
|
|
862
|
-
toJSONSchema?: {} | null | undefined;
|
|
863
|
-
validateAll?: {} | null | undefined;
|
|
864
|
-
defaultOptions?: unknown;
|
|
865
|
-
} | null | undefined;
|
|
866
|
-
adjustedMonthlyNetIncome?: {
|
|
867
|
-
validators: mongoose.Types.DocumentArray<{
|
|
868
|
-
type?: unknown;
|
|
869
|
-
message?: unknown;
|
|
870
|
-
validator?: unknown;
|
|
871
|
-
reason?: unknown;
|
|
872
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
873
|
-
type?: unknown;
|
|
874
|
-
message?: unknown;
|
|
875
|
-
validator?: unknown;
|
|
876
|
-
reason?: unknown;
|
|
877
|
-
}> & {
|
|
878
|
-
type?: unknown;
|
|
879
|
-
message?: unknown;
|
|
880
|
-
validator?: unknown;
|
|
881
|
-
reason?: unknown;
|
|
882
|
-
}>;
|
|
883
|
-
get?: {} | null | undefined;
|
|
884
|
-
schema?: {
|
|
885
|
-
[x: string]: unknown;
|
|
886
|
-
} | null | undefined;
|
|
887
|
-
set?: {} | null | undefined;
|
|
888
|
-
validate?: {} | null | undefined;
|
|
889
|
-
index?: {} | null | undefined;
|
|
890
|
-
default?: {} | null | undefined;
|
|
891
|
-
text?: {} | null | undefined;
|
|
892
|
-
unique?: {} | null | undefined;
|
|
893
|
-
sparse?: {} | null | undefined;
|
|
894
|
-
cast?: {} | null | undefined;
|
|
895
|
-
required?: {} | null | undefined;
|
|
896
|
-
ref?: {} | null | undefined;
|
|
897
|
-
select?: {} | null | undefined;
|
|
898
|
-
immutable?: {} | null | undefined;
|
|
899
|
-
transform?: {} | null | undefined;
|
|
900
|
-
options?: {
|
|
901
|
-
[x: string]: unknown;
|
|
902
|
-
} | null | undefined;
|
|
903
|
-
OptionsConstructor?: {
|
|
904
|
-
[x: string]: unknown;
|
|
905
|
-
} | null | undefined;
|
|
906
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
907
|
-
instance?: unknown;
|
|
908
|
-
isRequired?: unknown;
|
|
909
|
-
path?: unknown;
|
|
910
|
-
toJSONSchema?: {} | null | undefined;
|
|
911
|
-
validateAll?: {} | null | undefined;
|
|
912
|
-
defaultOptions?: unknown;
|
|
913
|
-
} | null | undefined;
|
|
914
|
-
fxAdjustmentCheckedAt?: {
|
|
915
|
-
toJSON?: {} | null | undefined;
|
|
916
|
-
valueOf: {} | null;
|
|
917
|
-
toString: {} | null;
|
|
918
|
-
toLocaleString: {} | null;
|
|
919
|
-
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
920
|
-
toDateString?: {} | null | undefined;
|
|
921
|
-
toTimeString?: {} | null | undefined;
|
|
922
|
-
toLocaleDateString?: {} | null | undefined;
|
|
923
|
-
toLocaleTimeString?: {} | null | undefined;
|
|
924
|
-
getTime?: {} | null | undefined;
|
|
925
|
-
getFullYear?: {} | null | undefined;
|
|
926
|
-
getUTCFullYear?: {} | null | undefined;
|
|
927
|
-
getMonth?: {} | null | undefined;
|
|
928
|
-
getUTCMonth?: {} | null | undefined;
|
|
929
|
-
getDate?: {} | null | undefined;
|
|
930
|
-
getUTCDate?: {} | null | undefined;
|
|
931
|
-
getDay?: {} | null | undefined;
|
|
932
|
-
getUTCDay?: {} | null | undefined;
|
|
933
|
-
getHours?: {} | null | undefined;
|
|
934
|
-
getUTCHours?: {} | null | undefined;
|
|
935
|
-
getMinutes?: {} | null | undefined;
|
|
936
|
-
getUTCMinutes?: {} | null | undefined;
|
|
937
|
-
getSeconds?: {} | null | undefined;
|
|
938
|
-
getUTCSeconds?: {} | null | undefined;
|
|
939
|
-
getMilliseconds?: {} | null | undefined;
|
|
940
|
-
getUTCMilliseconds?: {} | null | undefined;
|
|
941
|
-
getTimezoneOffset?: {} | null | undefined;
|
|
942
|
-
setTime?: {} | null | undefined;
|
|
943
|
-
setMilliseconds?: {} | null | undefined;
|
|
944
|
-
setUTCMilliseconds?: {} | null | undefined;
|
|
945
|
-
setSeconds?: {} | null | undefined;
|
|
946
|
-
setUTCSeconds?: {} | null | undefined;
|
|
947
|
-
setMinutes?: {} | null | undefined;
|
|
948
|
-
setUTCMinutes?: {} | null | undefined;
|
|
949
|
-
setHours?: {} | null | undefined;
|
|
950
|
-
setUTCHours?: {} | null | undefined;
|
|
951
|
-
setDate?: {} | null | undefined;
|
|
952
|
-
setUTCDate?: {} | null | undefined;
|
|
953
|
-
setMonth?: {} | null | undefined;
|
|
954
|
-
setUTCMonth?: {} | null | undefined;
|
|
955
|
-
setFullYear?: {} | null | undefined;
|
|
956
|
-
setUTCFullYear?: {} | null | undefined;
|
|
957
|
-
toUTCString?: {} | null | undefined;
|
|
958
|
-
toISOString?: {} | null | undefined;
|
|
959
|
-
getVarDate?: {} | null | undefined;
|
|
960
|
-
} | null | undefined;
|
|
961
|
-
fxAdjustmentVersion?: unknown;
|
|
962
|
-
fxAdjustmentError?: unknown;
|
|
963
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
964
|
-
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
965
|
-
totalEmploymentGrossIncome?: {
|
|
966
|
-
validators: mongoose.Types.DocumentArray<{
|
|
967
|
-
type?: unknown;
|
|
968
|
-
message?: unknown;
|
|
969
|
-
validator?: unknown;
|
|
970
|
-
reason?: unknown;
|
|
971
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
972
|
-
type?: unknown;
|
|
973
|
-
message?: unknown;
|
|
974
|
-
validator?: unknown;
|
|
975
|
-
reason?: unknown;
|
|
976
|
-
}> & {
|
|
977
|
-
type?: unknown;
|
|
978
|
-
message?: unknown;
|
|
979
|
-
validator?: unknown;
|
|
980
|
-
reason?: unknown;
|
|
981
|
-
}>;
|
|
982
|
-
get?: {} | null | undefined;
|
|
983
|
-
schema?: {
|
|
984
|
-
[x: string]: unknown;
|
|
985
|
-
} | null | undefined;
|
|
986
|
-
set?: {} | null | undefined;
|
|
987
|
-
validate?: {} | null | undefined;
|
|
988
|
-
index?: {} | null | undefined;
|
|
989
|
-
default?: {} | null | undefined;
|
|
990
|
-
text?: {} | null | undefined;
|
|
991
|
-
unique?: {} | null | undefined;
|
|
992
|
-
sparse?: {} | null | undefined;
|
|
993
|
-
cast?: {} | null | undefined;
|
|
994
|
-
required?: {} | null | undefined;
|
|
995
|
-
ref?: {} | null | undefined;
|
|
996
|
-
select?: {} | null | undefined;
|
|
997
|
-
immutable?: {} | null | undefined;
|
|
998
|
-
transform?: {} | null | undefined;
|
|
999
|
-
options?: {
|
|
1000
|
-
[x: string]: unknown;
|
|
1001
|
-
} | null | undefined;
|
|
1002
|
-
OptionsConstructor?: {
|
|
1003
|
-
[x: string]: unknown;
|
|
1004
|
-
} | null | undefined;
|
|
1005
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
1006
|
-
instance?: unknown;
|
|
1007
|
-
isRequired?: unknown;
|
|
1008
|
-
path?: unknown;
|
|
1009
|
-
toJSONSchema?: {} | null | undefined;
|
|
1010
|
-
validateAll?: {} | null | undefined;
|
|
1011
|
-
defaultOptions?: unknown;
|
|
1012
|
-
} | null | undefined;
|
|
1013
|
-
totalEmploymentNetIncome?: {
|
|
1014
|
-
validators: mongoose.Types.DocumentArray<{
|
|
1015
|
-
type?: unknown;
|
|
1016
|
-
message?: unknown;
|
|
1017
|
-
validator?: unknown;
|
|
1018
|
-
reason?: unknown;
|
|
1019
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1020
|
-
type?: unknown;
|
|
1021
|
-
message?: unknown;
|
|
1022
|
-
validator?: unknown;
|
|
1023
|
-
reason?: unknown;
|
|
1024
|
-
}> & {
|
|
1025
|
-
type?: unknown;
|
|
1026
|
-
message?: unknown;
|
|
1027
|
-
validator?: unknown;
|
|
1028
|
-
reason?: unknown;
|
|
1029
|
-
}>;
|
|
1030
|
-
get?: {} | null | undefined;
|
|
1031
|
-
schema?: {
|
|
1032
|
-
[x: string]: unknown;
|
|
1033
|
-
} | null | undefined;
|
|
1034
|
-
set?: {} | null | undefined;
|
|
1035
|
-
validate?: {} | null | undefined;
|
|
1036
|
-
index?: {} | null | undefined;
|
|
1037
|
-
default?: {} | null | undefined;
|
|
1038
|
-
text?: {} | null | undefined;
|
|
1039
|
-
unique?: {} | null | undefined;
|
|
1040
|
-
sparse?: {} | null | undefined;
|
|
1041
|
-
cast?: {} | null | undefined;
|
|
1042
|
-
required?: {} | null | undefined;
|
|
1043
|
-
ref?: {} | null | undefined;
|
|
1044
|
-
select?: {} | null | undefined;
|
|
1045
|
-
immutable?: {} | null | undefined;
|
|
1046
|
-
transform?: {} | null | undefined;
|
|
1047
|
-
options?: {
|
|
1048
|
-
[x: string]: unknown;
|
|
1049
|
-
} | null | undefined;
|
|
1050
|
-
OptionsConstructor?: {
|
|
1051
|
-
[x: string]: unknown;
|
|
1052
|
-
} | null | undefined;
|
|
1053
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
1054
|
-
instance?: unknown;
|
|
1055
|
-
isRequired?: unknown;
|
|
1056
|
-
path?: unknown;
|
|
1057
|
-
toJSONSchema?: {} | null | undefined;
|
|
1058
|
-
validateAll?: {} | null | undefined;
|
|
1059
|
-
defaultOptions?: unknown;
|
|
1060
|
-
} | null | undefined;
|
|
1061
|
-
isEmploymentIncomeConfirmed?: unknown;
|
|
1062
|
-
employmentIncomeRationale?: unknown;
|
|
1063
|
-
isPensionIncomeConfirmed?: unknown;
|
|
1064
|
-
pensionIncomeRationale?: unknown;
|
|
1065
|
-
totalPensionGrossIncome?: {
|
|
1066
|
-
validators: mongoose.Types.DocumentArray<{
|
|
1067
|
-
type?: unknown;
|
|
1068
|
-
message?: unknown;
|
|
1069
|
-
validator?: unknown;
|
|
1070
|
-
reason?: unknown;
|
|
1071
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1072
|
-
type?: unknown;
|
|
1073
|
-
message?: unknown;
|
|
1074
|
-
validator?: unknown;
|
|
1075
|
-
reason?: unknown;
|
|
1076
|
-
}> & {
|
|
1077
|
-
type?: unknown;
|
|
1078
|
-
message?: unknown;
|
|
1079
|
-
validator?: unknown;
|
|
1080
|
-
reason?: unknown;
|
|
1081
|
-
}>;
|
|
1082
|
-
get?: {} | null | undefined;
|
|
1083
|
-
schema?: {
|
|
1084
|
-
[x: string]: unknown;
|
|
1085
|
-
} | null | undefined;
|
|
1086
|
-
set?: {} | null | undefined;
|
|
1087
|
-
validate?: {} | null | undefined;
|
|
1088
|
-
index?: {} | null | undefined;
|
|
1089
|
-
default?: {} | null | undefined;
|
|
1090
|
-
text?: {} | null | undefined;
|
|
1091
|
-
unique?: {} | null | undefined;
|
|
1092
|
-
sparse?: {} | null | undefined;
|
|
1093
|
-
cast?: {} | null | undefined;
|
|
1094
|
-
required?: {} | null | undefined;
|
|
1095
|
-
ref?: {} | null | undefined;
|
|
1096
|
-
select?: {} | null | undefined;
|
|
1097
|
-
immutable?: {} | null | undefined;
|
|
1098
|
-
transform?: {} | null | undefined;
|
|
1099
|
-
options?: {
|
|
1100
|
-
[x: string]: unknown;
|
|
1101
|
-
} | null | undefined;
|
|
1102
|
-
OptionsConstructor?: {
|
|
1103
|
-
[x: string]: unknown;
|
|
1104
|
-
} | null | undefined;
|
|
1105
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
1106
|
-
instance?: unknown;
|
|
1107
|
-
isRequired?: unknown;
|
|
1108
|
-
path?: unknown;
|
|
1109
|
-
toJSONSchema?: {} | null | undefined;
|
|
1110
|
-
validateAll?: {} | null | undefined;
|
|
1111
|
-
defaultOptions?: unknown;
|
|
1112
|
-
} | null | undefined;
|
|
1113
|
-
totalPensionNetIncome?: {
|
|
1114
|
-
validators: mongoose.Types.DocumentArray<{
|
|
1115
|
-
type?: unknown;
|
|
1116
|
-
message?: unknown;
|
|
1117
|
-
validator?: unknown;
|
|
1118
|
-
reason?: unknown;
|
|
1119
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1120
|
-
type?: unknown;
|
|
1121
|
-
message?: unknown;
|
|
1122
|
-
validator?: unknown;
|
|
1123
|
-
reason?: unknown;
|
|
1124
|
-
}> & {
|
|
1125
|
-
type?: unknown;
|
|
1126
|
-
message?: unknown;
|
|
1127
|
-
validator?: unknown;
|
|
1128
|
-
reason?: unknown;
|
|
1129
|
-
}>;
|
|
1130
|
-
get?: {} | null | undefined;
|
|
1131
|
-
schema?: {
|
|
1132
|
-
[x: string]: unknown;
|
|
1133
|
-
} | null | undefined;
|
|
1134
|
-
set?: {} | null | undefined;
|
|
1135
|
-
validate?: {} | null | undefined;
|
|
1136
|
-
index?: {} | null | undefined;
|
|
1137
|
-
default?: {} | null | undefined;
|
|
1138
|
-
text?: {} | null | undefined;
|
|
1139
|
-
unique?: {} | null | undefined;
|
|
1140
|
-
sparse?: {} | null | undefined;
|
|
1141
|
-
cast?: {} | null | undefined;
|
|
1142
|
-
required?: {} | null | undefined;
|
|
1143
|
-
ref?: {} | null | undefined;
|
|
1144
|
-
select?: {} | null | undefined;
|
|
1145
|
-
immutable?: {} | null | undefined;
|
|
1146
|
-
transform?: {} | null | undefined;
|
|
1147
|
-
options?: {
|
|
1148
|
-
[x: string]: unknown;
|
|
1149
|
-
} | null | undefined;
|
|
1150
|
-
OptionsConstructor?: {
|
|
1151
|
-
[x: string]: unknown;
|
|
1152
|
-
} | null | undefined;
|
|
1153
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
1154
|
-
instance?: unknown;
|
|
1155
|
-
isRequired?: unknown;
|
|
1156
|
-
path?: unknown;
|
|
1157
|
-
toJSONSchema?: {} | null | undefined;
|
|
1158
|
-
validateAll?: {} | null | undefined;
|
|
1159
|
-
defaultOptions?: unknown;
|
|
1160
|
-
} | null | undefined;
|
|
1161
|
-
totalAdditionalGrossIncome?: {
|
|
719
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
720
|
+
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
721
|
+
totalEmploymentGrossIncome?: {
|
|
1162
722
|
validators: mongoose.Types.DocumentArray<{
|
|
1163
723
|
type?: unknown;
|
|
1164
724
|
message?: unknown;
|
|
@@ -1206,7 +766,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1206
766
|
validateAll?: {} | null | undefined;
|
|
1207
767
|
defaultOptions?: unknown;
|
|
1208
768
|
} | null | undefined;
|
|
1209
|
-
|
|
769
|
+
totalEmploymentNetIncome?: {
|
|
1210
770
|
validators: mongoose.Types.DocumentArray<{
|
|
1211
771
|
type?: unknown;
|
|
1212
772
|
message?: unknown;
|
|
@@ -1254,10 +814,11 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1254
814
|
validateAll?: {} | null | undefined;
|
|
1255
815
|
defaultOptions?: unknown;
|
|
1256
816
|
} | null | undefined;
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
817
|
+
isEmploymentIncomeConfirmed?: unknown;
|
|
818
|
+
employmentIncomeRationale?: unknown;
|
|
819
|
+
isPensionIncomeConfirmed?: unknown;
|
|
820
|
+
pensionIncomeRationale?: unknown;
|
|
821
|
+
totalPensionGrossIncome?: {
|
|
1261
822
|
validators: mongoose.Types.DocumentArray<{
|
|
1262
823
|
type?: unknown;
|
|
1263
824
|
message?: unknown;
|
|
@@ -1305,8 +866,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1305
866
|
validateAll?: {} | null | undefined;
|
|
1306
867
|
defaultOptions?: unknown;
|
|
1307
868
|
} | null | undefined;
|
|
1308
|
-
|
|
1309
|
-
totalUKTaxCreditsGrossIncome?: {
|
|
869
|
+
totalPensionNetIncome?: {
|
|
1310
870
|
validators: mongoose.Types.DocumentArray<{
|
|
1311
871
|
type?: unknown;
|
|
1312
872
|
message?: unknown;
|
|
@@ -1354,11 +914,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1354
914
|
validateAll?: {} | null | undefined;
|
|
1355
915
|
defaultOptions?: unknown;
|
|
1356
916
|
} | null | undefined;
|
|
1357
|
-
|
|
1358
|
-
propertyIncomeRationale?: unknown;
|
|
1359
|
-
selfEmployedIncomeRationale?: unknown;
|
|
1360
|
-
isSelfEmployedIncomeConfirmed?: unknown;
|
|
1361
|
-
totalSelfEmployedGrossIncome?: {
|
|
917
|
+
totalAdditionalGrossIncome?: {
|
|
1362
918
|
validators: mongoose.Types.DocumentArray<{
|
|
1363
919
|
type?: unknown;
|
|
1364
920
|
message?: unknown;
|
|
@@ -1406,7 +962,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1406
962
|
validateAll?: {} | null | undefined;
|
|
1407
963
|
defaultOptions?: unknown;
|
|
1408
964
|
} | null | undefined;
|
|
1409
|
-
|
|
965
|
+
totalAdditionalNetIncome?: {
|
|
1410
966
|
validators: mongoose.Types.DocumentArray<{
|
|
1411
967
|
type?: unknown;
|
|
1412
968
|
message?: unknown;
|
|
@@ -1454,9 +1010,10 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1454
1010
|
validateAll?: {} | null | undefined;
|
|
1455
1011
|
defaultOptions?: unknown;
|
|
1456
1012
|
} | null | undefined;
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1013
|
+
isAdditionalIncomeConfirmed?: unknown;
|
|
1014
|
+
additionalIncomeRationale?: unknown;
|
|
1015
|
+
isUKTaxCreditsIncomeConfirmed?: unknown;
|
|
1016
|
+
totalUKTaxCreditsNetIncome?: {
|
|
1460
1017
|
validators: mongoose.Types.DocumentArray<{
|
|
1461
1018
|
type?: unknown;
|
|
1462
1019
|
message?: unknown;
|
|
@@ -1504,7 +1061,8 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1504
1061
|
validateAll?: {} | null | undefined;
|
|
1505
1062
|
defaultOptions?: unknown;
|
|
1506
1063
|
} | null | undefined;
|
|
1507
|
-
|
|
1064
|
+
ukTaxCreditsIncomeRationale?: unknown;
|
|
1065
|
+
totalUKTaxCreditsGrossIncome?: {
|
|
1508
1066
|
validators: mongoose.Types.DocumentArray<{
|
|
1509
1067
|
type?: unknown;
|
|
1510
1068
|
message?: unknown;
|
|
@@ -1552,7 +1110,11 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1552
1110
|
validateAll?: {} | null | undefined;
|
|
1553
1111
|
defaultOptions?: unknown;
|
|
1554
1112
|
} | null | undefined;
|
|
1555
|
-
|
|
1113
|
+
isPropertyIncomeConfirmed?: unknown;
|
|
1114
|
+
propertyIncomeRationale?: unknown;
|
|
1115
|
+
selfEmployedIncomeRationale?: unknown;
|
|
1116
|
+
isSelfEmployedIncomeConfirmed?: unknown;
|
|
1117
|
+
totalSelfEmployedGrossIncome?: {
|
|
1556
1118
|
validators: mongoose.Types.DocumentArray<{
|
|
1557
1119
|
type?: unknown;
|
|
1558
1120
|
message?: unknown;
|
|
@@ -1600,7 +1162,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1600
1162
|
validateAll?: {} | null | undefined;
|
|
1601
1163
|
defaultOptions?: unknown;
|
|
1602
1164
|
} | null | undefined;
|
|
1603
|
-
|
|
1165
|
+
totalSelfEmployedNetIncome?: {
|
|
1604
1166
|
validators: mongoose.Types.DocumentArray<{
|
|
1605
1167
|
type?: unknown;
|
|
1606
1168
|
message?: unknown;
|
|
@@ -1648,10 +1210,9 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1648
1210
|
validateAll?: {} | null | undefined;
|
|
1649
1211
|
defaultOptions?: unknown;
|
|
1650
1212
|
} | null | undefined;
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
adjustedAnnualGrossIncome?: {
|
|
1213
|
+
soleTraderIncomeRationale?: unknown;
|
|
1214
|
+
isSoleTraderIncomeConfirmed?: unknown;
|
|
1215
|
+
soleTraderGrossIncome?: {
|
|
1655
1216
|
validators: mongoose.Types.DocumentArray<{
|
|
1656
1217
|
type?: unknown;
|
|
1657
1218
|
message?: unknown;
|
|
@@ -1699,7 +1260,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1699
1260
|
validateAll?: {} | null | undefined;
|
|
1700
1261
|
defaultOptions?: unknown;
|
|
1701
1262
|
} | null | undefined;
|
|
1702
|
-
|
|
1263
|
+
soleTraderNetIncome?: {
|
|
1703
1264
|
validators: mongoose.Types.DocumentArray<{
|
|
1704
1265
|
type?: unknown;
|
|
1705
1266
|
message?: unknown;
|
|
@@ -1747,7 +1308,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1747
1308
|
validateAll?: {} | null | undefined;
|
|
1748
1309
|
defaultOptions?: unknown;
|
|
1749
1310
|
} | null | undefined;
|
|
1750
|
-
|
|
1311
|
+
totalAnnualGrossIncome?: {
|
|
1751
1312
|
validators: mongoose.Types.DocumentArray<{
|
|
1752
1313
|
type?: unknown;
|
|
1753
1314
|
message?: unknown;
|
|
@@ -1795,7 +1356,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1795
1356
|
validateAll?: {} | null | undefined;
|
|
1796
1357
|
defaultOptions?: unknown;
|
|
1797
1358
|
} | null | undefined;
|
|
1798
|
-
|
|
1359
|
+
totalAnnualNetIncome?: {
|
|
1799
1360
|
validators: mongoose.Types.DocumentArray<{
|
|
1800
1361
|
type?: unknown;
|
|
1801
1362
|
message?: unknown;
|
|
@@ -1843,55 +1404,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
1843
1404
|
validateAll?: {} | null | undefined;
|
|
1844
1405
|
defaultOptions?: unknown;
|
|
1845
1406
|
} | null | undefined;
|
|
1846
|
-
fxAdjustmentCheckedAt?: {
|
|
1847
|
-
toJSON?: {} | null | undefined;
|
|
1848
|
-
valueOf: {} | null;
|
|
1849
|
-
toString: {} | null;
|
|
1850
|
-
toLocaleString: {} | null;
|
|
1851
|
-
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
1852
|
-
toDateString?: {} | null | undefined;
|
|
1853
|
-
toTimeString?: {} | null | undefined;
|
|
1854
|
-
toLocaleDateString?: {} | null | undefined;
|
|
1855
|
-
toLocaleTimeString?: {} | null | undefined;
|
|
1856
|
-
getTime?: {} | null | undefined;
|
|
1857
|
-
getFullYear?: {} | null | undefined;
|
|
1858
|
-
getUTCFullYear?: {} | null | undefined;
|
|
1859
|
-
getMonth?: {} | null | undefined;
|
|
1860
|
-
getUTCMonth?: {} | null | undefined;
|
|
1861
|
-
getDate?: {} | null | undefined;
|
|
1862
|
-
getUTCDate?: {} | null | undefined;
|
|
1863
|
-
getDay?: {} | null | undefined;
|
|
1864
|
-
getUTCDay?: {} | null | undefined;
|
|
1865
|
-
getHours?: {} | null | undefined;
|
|
1866
|
-
getUTCHours?: {} | null | undefined;
|
|
1867
|
-
getMinutes?: {} | null | undefined;
|
|
1868
|
-
getUTCMinutes?: {} | null | undefined;
|
|
1869
|
-
getSeconds?: {} | null | undefined;
|
|
1870
|
-
getUTCSeconds?: {} | null | undefined;
|
|
1871
|
-
getMilliseconds?: {} | null | undefined;
|
|
1872
|
-
getUTCMilliseconds?: {} | null | undefined;
|
|
1873
|
-
getTimezoneOffset?: {} | null | undefined;
|
|
1874
|
-
setTime?: {} | null | undefined;
|
|
1875
|
-
setMilliseconds?: {} | null | undefined;
|
|
1876
|
-
setUTCMilliseconds?: {} | null | undefined;
|
|
1877
|
-
setSeconds?: {} | null | undefined;
|
|
1878
|
-
setUTCSeconds?: {} | null | undefined;
|
|
1879
|
-
setMinutes?: {} | null | undefined;
|
|
1880
|
-
setUTCMinutes?: {} | null | undefined;
|
|
1881
|
-
setHours?: {} | null | undefined;
|
|
1882
|
-
setUTCHours?: {} | null | undefined;
|
|
1883
|
-
setDate?: {} | null | undefined;
|
|
1884
|
-
setUTCDate?: {} | null | undefined;
|
|
1885
|
-
setMonth?: {} | null | undefined;
|
|
1886
|
-
setUTCMonth?: {} | null | undefined;
|
|
1887
|
-
setFullYear?: {} | null | undefined;
|
|
1888
|
-
setUTCFullYear?: {} | null | undefined;
|
|
1889
|
-
toUTCString?: {} | null | undefined;
|
|
1890
|
-
toISOString?: {} | null | undefined;
|
|
1891
|
-
getVarDate?: {} | null | undefined;
|
|
1892
|
-
} | null | undefined;
|
|
1893
|
-
fxAdjustmentVersion?: unknown;
|
|
1894
|
-
fxAdjustmentError?: unknown;
|
|
1895
1407
|
}, {}> & {
|
|
1896
1408
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
1897
1409
|
totalEmploymentGrossIncome?: {
|
|
@@ -2580,250 +2092,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
2580
2092
|
validateAll?: {} | null | undefined;
|
|
2581
2093
|
defaultOptions?: unknown;
|
|
2582
2094
|
} | null | undefined;
|
|
2583
|
-
countryOfResidence?: unknown;
|
|
2584
|
-
fxTier?: unknown;
|
|
2585
|
-
incomeReductionPercentage?: unknown;
|
|
2586
|
-
adjustedAnnualGrossIncome?: {
|
|
2587
|
-
validators: mongoose.Types.DocumentArray<{
|
|
2588
|
-
type?: unknown;
|
|
2589
|
-
message?: unknown;
|
|
2590
|
-
validator?: unknown;
|
|
2591
|
-
reason?: unknown;
|
|
2592
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
2593
|
-
type?: unknown;
|
|
2594
|
-
message?: unknown;
|
|
2595
|
-
validator?: unknown;
|
|
2596
|
-
reason?: unknown;
|
|
2597
|
-
}> & {
|
|
2598
|
-
type?: unknown;
|
|
2599
|
-
message?: unknown;
|
|
2600
|
-
validator?: unknown;
|
|
2601
|
-
reason?: unknown;
|
|
2602
|
-
}>;
|
|
2603
|
-
get?: {} | null | undefined;
|
|
2604
|
-
schema?: {
|
|
2605
|
-
[x: string]: unknown;
|
|
2606
|
-
} | null | undefined;
|
|
2607
|
-
set?: {} | null | undefined;
|
|
2608
|
-
validate?: {} | null | undefined;
|
|
2609
|
-
index?: {} | null | undefined;
|
|
2610
|
-
default?: {} | null | undefined;
|
|
2611
|
-
text?: {} | null | undefined;
|
|
2612
|
-
unique?: {} | null | undefined;
|
|
2613
|
-
sparse?: {} | null | undefined;
|
|
2614
|
-
cast?: {} | null | undefined;
|
|
2615
|
-
required?: {} | null | undefined;
|
|
2616
|
-
ref?: {} | null | undefined;
|
|
2617
|
-
select?: {} | null | undefined;
|
|
2618
|
-
immutable?: {} | null | undefined;
|
|
2619
|
-
transform?: {} | null | undefined;
|
|
2620
|
-
options?: {
|
|
2621
|
-
[x: string]: unknown;
|
|
2622
|
-
} | null | undefined;
|
|
2623
|
-
OptionsConstructor?: {
|
|
2624
|
-
[x: string]: unknown;
|
|
2625
|
-
} | null | undefined;
|
|
2626
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
2627
|
-
instance?: unknown;
|
|
2628
|
-
isRequired?: unknown;
|
|
2629
|
-
path?: unknown;
|
|
2630
|
-
toJSONSchema?: {} | null | undefined;
|
|
2631
|
-
validateAll?: {} | null | undefined;
|
|
2632
|
-
defaultOptions?: unknown;
|
|
2633
|
-
} | null | undefined;
|
|
2634
|
-
adjustedAnnualNetIncome?: {
|
|
2635
|
-
validators: mongoose.Types.DocumentArray<{
|
|
2636
|
-
type?: unknown;
|
|
2637
|
-
message?: unknown;
|
|
2638
|
-
validator?: unknown;
|
|
2639
|
-
reason?: unknown;
|
|
2640
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
2641
|
-
type?: unknown;
|
|
2642
|
-
message?: unknown;
|
|
2643
|
-
validator?: unknown;
|
|
2644
|
-
reason?: unknown;
|
|
2645
|
-
}> & {
|
|
2646
|
-
type?: unknown;
|
|
2647
|
-
message?: unknown;
|
|
2648
|
-
validator?: unknown;
|
|
2649
|
-
reason?: unknown;
|
|
2650
|
-
}>;
|
|
2651
|
-
get?: {} | null | undefined;
|
|
2652
|
-
schema?: {
|
|
2653
|
-
[x: string]: unknown;
|
|
2654
|
-
} | null | undefined;
|
|
2655
|
-
set?: {} | null | undefined;
|
|
2656
|
-
validate?: {} | null | undefined;
|
|
2657
|
-
index?: {} | null | undefined;
|
|
2658
|
-
default?: {} | null | undefined;
|
|
2659
|
-
text?: {} | null | undefined;
|
|
2660
|
-
unique?: {} | null | undefined;
|
|
2661
|
-
sparse?: {} | null | undefined;
|
|
2662
|
-
cast?: {} | null | undefined;
|
|
2663
|
-
required?: {} | null | undefined;
|
|
2664
|
-
ref?: {} | null | undefined;
|
|
2665
|
-
select?: {} | null | undefined;
|
|
2666
|
-
immutable?: {} | null | undefined;
|
|
2667
|
-
transform?: {} | null | undefined;
|
|
2668
|
-
options?: {
|
|
2669
|
-
[x: string]: unknown;
|
|
2670
|
-
} | null | undefined;
|
|
2671
|
-
OptionsConstructor?: {
|
|
2672
|
-
[x: string]: unknown;
|
|
2673
|
-
} | null | undefined;
|
|
2674
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
2675
|
-
instance?: unknown;
|
|
2676
|
-
isRequired?: unknown;
|
|
2677
|
-
path?: unknown;
|
|
2678
|
-
toJSONSchema?: {} | null | undefined;
|
|
2679
|
-
validateAll?: {} | null | undefined;
|
|
2680
|
-
defaultOptions?: unknown;
|
|
2681
|
-
} | null | undefined;
|
|
2682
|
-
adjustedMonthlyGrossIncome?: {
|
|
2683
|
-
validators: mongoose.Types.DocumentArray<{
|
|
2684
|
-
type?: unknown;
|
|
2685
|
-
message?: unknown;
|
|
2686
|
-
validator?: unknown;
|
|
2687
|
-
reason?: unknown;
|
|
2688
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
2689
|
-
type?: unknown;
|
|
2690
|
-
message?: unknown;
|
|
2691
|
-
validator?: unknown;
|
|
2692
|
-
reason?: unknown;
|
|
2693
|
-
}> & {
|
|
2694
|
-
type?: unknown;
|
|
2695
|
-
message?: unknown;
|
|
2696
|
-
validator?: unknown;
|
|
2697
|
-
reason?: unknown;
|
|
2698
|
-
}>;
|
|
2699
|
-
get?: {} | null | undefined;
|
|
2700
|
-
schema?: {
|
|
2701
|
-
[x: string]: unknown;
|
|
2702
|
-
} | null | undefined;
|
|
2703
|
-
set?: {} | null | undefined;
|
|
2704
|
-
validate?: {} | null | undefined;
|
|
2705
|
-
index?: {} | null | undefined;
|
|
2706
|
-
default?: {} | null | undefined;
|
|
2707
|
-
text?: {} | null | undefined;
|
|
2708
|
-
unique?: {} | null | undefined;
|
|
2709
|
-
sparse?: {} | null | undefined;
|
|
2710
|
-
cast?: {} | null | undefined;
|
|
2711
|
-
required?: {} | null | undefined;
|
|
2712
|
-
ref?: {} | null | undefined;
|
|
2713
|
-
select?: {} | null | undefined;
|
|
2714
|
-
immutable?: {} | null | undefined;
|
|
2715
|
-
transform?: {} | null | undefined;
|
|
2716
|
-
options?: {
|
|
2717
|
-
[x: string]: unknown;
|
|
2718
|
-
} | null | undefined;
|
|
2719
|
-
OptionsConstructor?: {
|
|
2720
|
-
[x: string]: unknown;
|
|
2721
|
-
} | null | undefined;
|
|
2722
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
2723
|
-
instance?: unknown;
|
|
2724
|
-
isRequired?: unknown;
|
|
2725
|
-
path?: unknown;
|
|
2726
|
-
toJSONSchema?: {} | null | undefined;
|
|
2727
|
-
validateAll?: {} | null | undefined;
|
|
2728
|
-
defaultOptions?: unknown;
|
|
2729
|
-
} | null | undefined;
|
|
2730
|
-
adjustedMonthlyNetIncome?: {
|
|
2731
|
-
validators: mongoose.Types.DocumentArray<{
|
|
2732
|
-
type?: unknown;
|
|
2733
|
-
message?: unknown;
|
|
2734
|
-
validator?: unknown;
|
|
2735
|
-
reason?: unknown;
|
|
2736
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
2737
|
-
type?: unknown;
|
|
2738
|
-
message?: unknown;
|
|
2739
|
-
validator?: unknown;
|
|
2740
|
-
reason?: unknown;
|
|
2741
|
-
}> & {
|
|
2742
|
-
type?: unknown;
|
|
2743
|
-
message?: unknown;
|
|
2744
|
-
validator?: unknown;
|
|
2745
|
-
reason?: unknown;
|
|
2746
|
-
}>;
|
|
2747
|
-
get?: {} | null | undefined;
|
|
2748
|
-
schema?: {
|
|
2749
|
-
[x: string]: unknown;
|
|
2750
|
-
} | null | undefined;
|
|
2751
|
-
set?: {} | null | undefined;
|
|
2752
|
-
validate?: {} | null | undefined;
|
|
2753
|
-
index?: {} | null | undefined;
|
|
2754
|
-
default?: {} | null | undefined;
|
|
2755
|
-
text?: {} | null | undefined;
|
|
2756
|
-
unique?: {} | null | undefined;
|
|
2757
|
-
sparse?: {} | null | undefined;
|
|
2758
|
-
cast?: {} | null | undefined;
|
|
2759
|
-
required?: {} | null | undefined;
|
|
2760
|
-
ref?: {} | null | undefined;
|
|
2761
|
-
select?: {} | null | undefined;
|
|
2762
|
-
immutable?: {} | null | undefined;
|
|
2763
|
-
transform?: {} | null | undefined;
|
|
2764
|
-
options?: {
|
|
2765
|
-
[x: string]: unknown;
|
|
2766
|
-
} | null | undefined;
|
|
2767
|
-
OptionsConstructor?: {
|
|
2768
|
-
[x: string]: unknown;
|
|
2769
|
-
} | null | undefined;
|
|
2770
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
2771
|
-
instance?: unknown;
|
|
2772
|
-
isRequired?: unknown;
|
|
2773
|
-
path?: unknown;
|
|
2774
|
-
toJSONSchema?: {} | null | undefined;
|
|
2775
|
-
validateAll?: {} | null | undefined;
|
|
2776
|
-
defaultOptions?: unknown;
|
|
2777
|
-
} | null | undefined;
|
|
2778
|
-
fxAdjustmentCheckedAt?: {
|
|
2779
|
-
toJSON?: {} | null | undefined;
|
|
2780
|
-
valueOf: {} | null;
|
|
2781
|
-
toString: {} | null;
|
|
2782
|
-
toLocaleString: {} | null;
|
|
2783
|
-
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
2784
|
-
toDateString?: {} | null | undefined;
|
|
2785
|
-
toTimeString?: {} | null | undefined;
|
|
2786
|
-
toLocaleDateString?: {} | null | undefined;
|
|
2787
|
-
toLocaleTimeString?: {} | null | undefined;
|
|
2788
|
-
getTime?: {} | null | undefined;
|
|
2789
|
-
getFullYear?: {} | null | undefined;
|
|
2790
|
-
getUTCFullYear?: {} | null | undefined;
|
|
2791
|
-
getMonth?: {} | null | undefined;
|
|
2792
|
-
getUTCMonth?: {} | null | undefined;
|
|
2793
|
-
getDate?: {} | null | undefined;
|
|
2794
|
-
getUTCDate?: {} | null | undefined;
|
|
2795
|
-
getDay?: {} | null | undefined;
|
|
2796
|
-
getUTCDay?: {} | null | undefined;
|
|
2797
|
-
getHours?: {} | null | undefined;
|
|
2798
|
-
getUTCHours?: {} | null | undefined;
|
|
2799
|
-
getMinutes?: {} | null | undefined;
|
|
2800
|
-
getUTCMinutes?: {} | null | undefined;
|
|
2801
|
-
getSeconds?: {} | null | undefined;
|
|
2802
|
-
getUTCSeconds?: {} | null | undefined;
|
|
2803
|
-
getMilliseconds?: {} | null | undefined;
|
|
2804
|
-
getUTCMilliseconds?: {} | null | undefined;
|
|
2805
|
-
getTimezoneOffset?: {} | null | undefined;
|
|
2806
|
-
setTime?: {} | null | undefined;
|
|
2807
|
-
setMilliseconds?: {} | null | undefined;
|
|
2808
|
-
setUTCMilliseconds?: {} | null | undefined;
|
|
2809
|
-
setSeconds?: {} | null | undefined;
|
|
2810
|
-
setUTCSeconds?: {} | null | undefined;
|
|
2811
|
-
setMinutes?: {} | null | undefined;
|
|
2812
|
-
setUTCMinutes?: {} | null | undefined;
|
|
2813
|
-
setHours?: {} | null | undefined;
|
|
2814
|
-
setUTCHours?: {} | null | undefined;
|
|
2815
|
-
setDate?: {} | null | undefined;
|
|
2816
|
-
setUTCDate?: {} | null | undefined;
|
|
2817
|
-
setMonth?: {} | null | undefined;
|
|
2818
|
-
setUTCMonth?: {} | null | undefined;
|
|
2819
|
-
setFullYear?: {} | null | undefined;
|
|
2820
|
-
setUTCFullYear?: {} | null | undefined;
|
|
2821
|
-
toUTCString?: {} | null | undefined;
|
|
2822
|
-
toISOString?: {} | null | undefined;
|
|
2823
|
-
getVarDate?: {} | null | undefined;
|
|
2824
|
-
} | null | undefined;
|
|
2825
|
-
fxAdjustmentVersion?: unknown;
|
|
2826
|
-
fxAdjustmentError?: unknown;
|
|
2827
2095
|
} & {
|
|
2828
2096
|
_id: mongoose.Types.ObjectId;
|
|
2829
2097
|
} & {
|
|
@@ -2865,16 +2133,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
2865
2133
|
soleTraderNetIncome: Pound;
|
|
2866
2134
|
totalAnnualGrossIncome: Pound;
|
|
2867
2135
|
totalAnnualNetIncome: Pound;
|
|
2868
|
-
countryOfResidence: string;
|
|
2869
|
-
fxTier: number;
|
|
2870
|
-
incomeReductionPercentage: number;
|
|
2871
|
-
adjustedAnnualGrossIncome: Pound;
|
|
2872
|
-
adjustedAnnualNetIncome: Pound;
|
|
2873
|
-
adjustedMonthlyGrossIncome: Pound;
|
|
2874
|
-
adjustedMonthlyNetIncome: Pound;
|
|
2875
|
-
fxAdjustmentCheckedAt: NativeDate;
|
|
2876
|
-
fxAdjustmentVersion: string;
|
|
2877
|
-
fxAdjustmentError: string;
|
|
2878
2136
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
2879
2137
|
applicantId: mongoose.Types.ObjectId;
|
|
2880
2138
|
totalEmploymentGrossIncome: Pound;
|
|
@@ -2905,16 +2163,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
2905
2163
|
soleTraderNetIncome: Pound;
|
|
2906
2164
|
totalAnnualGrossIncome: Pound;
|
|
2907
2165
|
totalAnnualNetIncome: Pound;
|
|
2908
|
-
countryOfResidence: string;
|
|
2909
|
-
fxTier: number;
|
|
2910
|
-
incomeReductionPercentage: number;
|
|
2911
|
-
adjustedAnnualGrossIncome: Pound;
|
|
2912
|
-
adjustedAnnualNetIncome: Pound;
|
|
2913
|
-
adjustedMonthlyGrossIncome: Pound;
|
|
2914
|
-
adjustedMonthlyNetIncome: Pound;
|
|
2915
|
-
fxAdjustmentCheckedAt: NativeDate;
|
|
2916
|
-
fxAdjustmentVersion: string;
|
|
2917
|
-
fxAdjustmentError: string;
|
|
2918
2166
|
}>, {}> & mongoose.FlatRecord<{
|
|
2919
2167
|
applicantId: mongoose.Types.ObjectId;
|
|
2920
2168
|
totalEmploymentGrossIncome: Pound;
|
|
@@ -2945,16 +2193,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
|
|
|
2945
2193
|
soleTraderNetIncome: Pound;
|
|
2946
2194
|
totalAnnualGrossIncome: Pound;
|
|
2947
2195
|
totalAnnualNetIncome: Pound;
|
|
2948
|
-
countryOfResidence: string;
|
|
2949
|
-
fxTier: number;
|
|
2950
|
-
incomeReductionPercentage: number;
|
|
2951
|
-
adjustedAnnualGrossIncome: Pound;
|
|
2952
|
-
adjustedAnnualNetIncome: Pound;
|
|
2953
|
-
adjustedMonthlyGrossIncome: Pound;
|
|
2954
|
-
adjustedMonthlyNetIncome: Pound;
|
|
2955
|
-
fxAdjustmentCheckedAt: NativeDate;
|
|
2956
|
-
fxAdjustmentVersion: string;
|
|
2957
|
-
fxAdjustmentError: string;
|
|
2958
2196
|
}> & {
|
|
2959
2197
|
_id: mongoose.Types.ObjectId;
|
|
2960
2198
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-income-summary.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-summary.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-income-summary.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-summary.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAkD5D,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA2E,CAAC;AAE7G,eAAe,2BAA2B,CAAC"}
|
|
@@ -32,20 +32,6 @@ const applicantIncomeSummarySchema = new mongoose.Schema({
|
|
|
32
32
|
soleTraderNetIncome: { type: Pound, get: formatPound, default: 0.00 },
|
|
33
33
|
totalAnnualGrossIncome: { type: Pound, get: formatPound, default: 0.00 },
|
|
34
34
|
totalAnnualNetIncome: { type: Pound, get: formatPound, default: 0.00 },
|
|
35
|
-
// FX Buffer adjustments returned by the v7 HPP affordability calculator
|
|
36
|
-
countryOfResidence: { type: String, default: null },
|
|
37
|
-
fxTier: { type: Number, default: null },
|
|
38
|
-
incomeReductionPercentage: { type: Number, default: 0 },
|
|
39
|
-
adjustedAnnualGrossIncome: { type: Pound, get: formatPound, default: 0.00 },
|
|
40
|
-
adjustedAnnualNetIncome: { type: Pound, get: formatPound, default: 0.00 },
|
|
41
|
-
adjustedMonthlyGrossIncome: { type: Pound, get: formatPound, default: 0.00 },
|
|
42
|
-
adjustedMonthlyNetIncome: { type: Pound, get: formatPound, default: 0.00 },
|
|
43
|
-
fxAdjustmentCheckedAt: { type: Date, default: null },
|
|
44
|
-
fxAdjustmentVersion: { type: String, default: null },
|
|
45
|
-
// Set when the v7 calculator rejected this applicant's country/product (e.g. Ukraine
|
|
46
|
-
// missing from the workbook). Null when the last calculator call succeeded. Drives the
|
|
47
|
-
// "Country not recognised" chip on the Monthly Income tile.
|
|
48
|
-
fxAdjustmentError: { type: String, default: null },
|
|
49
35
|
}, {
|
|
50
36
|
toJSON: { getters: true },
|
|
51
37
|
toObject: { getters: true }
|
|
@@ -56,17 +56,5 @@ export default interface IApplicantIncomeSummary extends IBaseType {
|
|
|
56
56
|
isSoleTraderIncomeConfirmed?: boolean;
|
|
57
57
|
soleTraderGrossIncome?: number;
|
|
58
58
|
soleTraderNetIncome?: number;
|
|
59
|
-
totalAnnualGrossIncome?: number;
|
|
60
|
-
totalAnnualNetIncome?: number;
|
|
61
|
-
countryOfResidence?: string | null;
|
|
62
|
-
fxTier?: number | null;
|
|
63
|
-
incomeReductionPercentage?: number;
|
|
64
|
-
adjustedAnnualGrossIncome?: number;
|
|
65
|
-
adjustedAnnualNetIncome?: number;
|
|
66
|
-
adjustedMonthlyGrossIncome?: number;
|
|
67
|
-
adjustedMonthlyNetIncome?: number;
|
|
68
|
-
fxAdjustmentCheckedAt?: Date | null;
|
|
69
|
-
fxAdjustmentVersion?: string | null;
|
|
70
|
-
fxAdjustmentError?: string | null;
|
|
71
59
|
}
|
|
72
60
|
//# sourceMappingURL=applicant-income-summary.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-income-summary.type.d.ts","sourceR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AAM,GAAG,IAAI,CAAC;IAC1C,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-income-summary.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-summary.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,uBAAwB,SAAQ,SAAS;IAC9D,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC5B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -50,6 +50,6 @@ const applicantSelfEmploymentSchema = new mongoose.Schema({
|
|
|
50
50
|
// Apply workflow plugin to the schema
|
|
51
51
|
applyWorkflowPlugin(applicantSelfEmploymentSchema, 'applicant_self_employment');
|
|
52
52
|
// Add indexes that exist in database but missing from model
|
|
53
|
-
applicantSelfEmploymentSchema.index({ applicantId: 1 }
|
|
53
|
+
applicantSelfEmploymentSchema.index({ applicantId: 1 }, { unique: true });
|
|
54
54
|
const ApplicantSelfEmploymentModel = mongoose.model("Applicant_Self_Employment", applicantSelfEmploymentSchema);
|
|
55
55
|
export default ApplicantSelfEmploymentModel;
|
|
@@ -51,8 +51,6 @@ declare const ApplicationEucModel: mongoose.Model<{
|
|
|
51
51
|
versionDate: string;
|
|
52
52
|
creditExpenditure: number;
|
|
53
53
|
householdExpenditure: number;
|
|
54
|
-
btlCountryOfResidenceUsed: string;
|
|
55
|
-
btlOnsMultiplierApplied: boolean;
|
|
56
54
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
57
55
|
version: number;
|
|
58
56
|
applicationId: mongoose.Types.ObjectId;
|
|
@@ -77,8 +75,6 @@ declare const ApplicationEucModel: mongoose.Model<{
|
|
|
77
75
|
versionDate: string;
|
|
78
76
|
creditExpenditure: number;
|
|
79
77
|
householdExpenditure: number;
|
|
80
|
-
btlCountryOfResidenceUsed: string;
|
|
81
|
-
btlOnsMultiplierApplied: boolean;
|
|
82
78
|
}, {}> & {
|
|
83
79
|
version: number;
|
|
84
80
|
applicationId: mongoose.Types.ObjectId;
|
|
@@ -103,8 +99,6 @@ declare const ApplicationEucModel: mongoose.Model<{
|
|
|
103
99
|
versionDate: string;
|
|
104
100
|
creditExpenditure: number;
|
|
105
101
|
householdExpenditure: number;
|
|
106
|
-
btlCountryOfResidenceUsed: string;
|
|
107
|
-
btlOnsMultiplierApplied: boolean;
|
|
108
102
|
} & {
|
|
109
103
|
_id: mongoose.Types.ObjectId;
|
|
110
104
|
} & {
|
|
@@ -133,8 +127,6 @@ declare const ApplicationEucModel: mongoose.Model<{
|
|
|
133
127
|
versionDate: string;
|
|
134
128
|
creditExpenditure: number;
|
|
135
129
|
householdExpenditure: number;
|
|
136
|
-
btlCountryOfResidenceUsed: string;
|
|
137
|
-
btlOnsMultiplierApplied: boolean;
|
|
138
130
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
139
131
|
version: number;
|
|
140
132
|
applicationId: mongoose.Types.ObjectId;
|
|
@@ -159,8 +151,6 @@ declare const ApplicationEucModel: mongoose.Model<{
|
|
|
159
151
|
versionDate: string;
|
|
160
152
|
creditExpenditure: number;
|
|
161
153
|
householdExpenditure: number;
|
|
162
|
-
btlCountryOfResidenceUsed: string;
|
|
163
|
-
btlOnsMultiplierApplied: boolean;
|
|
164
154
|
}>, {}> & mongoose.FlatRecord<{
|
|
165
155
|
version: number;
|
|
166
156
|
applicationId: mongoose.Types.ObjectId;
|
|
@@ -185,8 +175,6 @@ declare const ApplicationEucModel: mongoose.Model<{
|
|
|
185
175
|
versionDate: string;
|
|
186
176
|
creditExpenditure: number;
|
|
187
177
|
householdExpenditure: number;
|
|
188
|
-
btlCountryOfResidenceUsed: string;
|
|
189
|
-
btlOnsMultiplierApplied: boolean;
|
|
190
178
|
}> & {
|
|
191
179
|
_id: mongoose.Types.ObjectId;
|
|
192
180
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-euc.model.d.ts","sourceRoot":"","sources":["../../applications/application-euc.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application-euc.model.d.ts","sourceRoot":"","sources":["../../applications/application-euc.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAuChC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,CAAC"}
|
|
@@ -24,10 +24,6 @@ const applicationEucSchema = new mongoose.Schema({
|
|
|
24
24
|
versionDate: { type: String, default: null },
|
|
25
25
|
creditExpenditure: { type: Number, default: 0 },
|
|
26
26
|
householdExpenditure: { type: Number, default: 0 },
|
|
27
|
-
// BTL ONS country multiplier (US9): the country used for ONS calc on top-up cases, and
|
|
28
|
-
// whether the multiplier was actually applied (false for UK BTL and HPP).
|
|
29
|
-
btlCountryOfResidenceUsed: { type: String, default: null },
|
|
30
|
-
btlOnsMultiplierApplied: { type: Boolean, default: false },
|
|
31
27
|
});
|
|
32
28
|
// Apply workflow plugin to the schema
|
|
33
29
|
applyWorkflowPlugin(applicationEucSchema, 'applicationeuc');
|
|
@@ -52,7 +52,5 @@ export default interface IApplicationEuc extends IBaseType {
|
|
|
52
52
|
versionDate: string;
|
|
53
53
|
creditExpenditure: number;
|
|
54
54
|
householdExpenditure: number;
|
|
55
|
-
btlCountryOfResidenceUsed?: string | null;
|
|
56
|
-
btlOnsMultiplierApplied?: boolean;
|
|
57
55
|
}
|
|
58
56
|
//# sourceMappingURL=application-euc.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-euc.type.d.ts","sourceRoot":"","sources":["../../applications/application-euc.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,CAAC,OAAO,WAAW,eAAgB,SAAQ,SAAS;IACtD,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC9B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,MAAM,CAAC;IAChC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,wBAAwB,EAAE,OAAO,CAAC;IAClC,gBAAgB,EAAG,MAAM,CAAC;IAC1B,wBAAwB,EAAG,MAAM,CAAC;IAClC,kBAAkB,EAAG,MAAM,CAAC;IAC5B,WAAW,EAAG,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"application-euc.type.d.ts","sourceRoot":"","sources":["../../applications/application-euc.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,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