@dynamatix/gb-schemas 2.14.10 → 2.14.13

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.
@@ -28,9 +28,6 @@
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
- } & {
34
31
  comment: string;
35
32
  applicantId: mongoose.Types.ObjectId;
36
33
  applicantName: string;
@@ -656,9 +653,6 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
656
653
  isEquifaxData: boolean;
657
654
  searchCriteriaDifferences: string;
658
655
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
659
- createdAt: NativeDate;
660
- updatedAt: NativeDate;
661
- } & {
662
656
  comment: string;
663
657
  applicantId: mongoose.Types.ObjectId;
664
658
  applicantName: string;
@@ -1284,9 +1278,6 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1284
1278
  isEquifaxData: boolean;
1285
1279
  searchCriteriaDifferences: string;
1286
1280
  }, {}> & {
1287
- createdAt: NativeDate;
1288
- updatedAt: NativeDate;
1289
- } & {
1290
1281
  comment: string;
1291
1282
  applicantId: mongoose.Types.ObjectId;
1292
1283
  applicantName: string;
@@ -1915,12 +1906,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1915
1906
  _id: mongoose.Types.ObjectId;
1916
1907
  } & {
1917
1908
  __v: number;
1918
- }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
1919
- timestamps: true;
1920
- }, {
1921
- createdAt: NativeDate;
1922
- updatedAt: NativeDate;
1923
- } & {
1909
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
1924
1910
  comment: string;
1925
1911
  applicantId: mongoose.Types.ObjectId;
1926
1912
  applicantName: string;
@@ -2546,9 +2532,6 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2546
2532
  isEquifaxData: boolean;
2547
2533
  searchCriteriaDifferences: string;
2548
2534
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
2549
- createdAt: NativeDate;
2550
- updatedAt: NativeDate;
2551
- } & {
2552
2535
  comment: string;
2553
2536
  applicantId: mongoose.Types.ObjectId;
2554
2537
  applicantName: string;
@@ -3174,9 +3157,6 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3174
3157
  isEquifaxData: boolean;
3175
3158
  searchCriteriaDifferences: string;
3176
3159
  }>, {}> & mongoose.FlatRecord<{
3177
- createdAt: NativeDate;
3178
- updatedAt: NativeDate;
3179
- } & {
3180
3160
  comment: string;
3181
3161
  applicantId: mongoose.Types.ObjectId;
3182
3162
  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;AAoJhC,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuE,CAAC;AACxG,eAAe,0BAA0B,CAAC"}
@@ -115,8 +115,6 @@ 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
120
118
  });
121
119
  // Apply workflow plugin to the schema
122
120
  applicantCreditReportSchema.index({ applicantId: 1 });
@@ -716,6 +716,250 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
716
716
  validateAll?: {} | null | undefined;
717
717
  defaultOptions?: unknown;
718
718
  } | null | undefined;
719
+ countryOfResidence?: unknown;
720
+ fxTier?: unknown;
721
+ incomeReductionPercentage?: unknown;
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;
719
963
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
720
964
  applicantId?: mongoose.Types.ObjectId | null | undefined;
721
965
  totalEmploymentGrossIncome?: {
@@ -766,7 +1010,203 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
766
1010
  validateAll?: {} | null | undefined;
767
1011
  defaultOptions?: unknown;
768
1012
  } | null | undefined;
769
- totalEmploymentNetIncome?: {
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?: {
1162
+ validators: mongoose.Types.DocumentArray<{
1163
+ type?: unknown;
1164
+ message?: unknown;
1165
+ validator?: unknown;
1166
+ reason?: unknown;
1167
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1168
+ type?: unknown;
1169
+ message?: unknown;
1170
+ validator?: unknown;
1171
+ reason?: unknown;
1172
+ }> & {
1173
+ type?: unknown;
1174
+ message?: unknown;
1175
+ validator?: unknown;
1176
+ reason?: unknown;
1177
+ }>;
1178
+ get?: {} | null | undefined;
1179
+ schema?: {
1180
+ [x: string]: unknown;
1181
+ } | null | undefined;
1182
+ set?: {} | null | undefined;
1183
+ validate?: {} | null | undefined;
1184
+ index?: {} | null | undefined;
1185
+ default?: {} | null | undefined;
1186
+ text?: {} | null | undefined;
1187
+ unique?: {} | null | undefined;
1188
+ sparse?: {} | null | undefined;
1189
+ cast?: {} | null | undefined;
1190
+ required?: {} | null | undefined;
1191
+ ref?: {} | null | undefined;
1192
+ select?: {} | null | undefined;
1193
+ immutable?: {} | null | undefined;
1194
+ transform?: {} | null | undefined;
1195
+ options?: {
1196
+ [x: string]: unknown;
1197
+ } | null | undefined;
1198
+ OptionsConstructor?: {
1199
+ [x: string]: unknown;
1200
+ } | null | undefined;
1201
+ getEmbeddedSchemaType?: {} | null | undefined;
1202
+ instance?: unknown;
1203
+ isRequired?: unknown;
1204
+ path?: unknown;
1205
+ toJSONSchema?: {} | null | undefined;
1206
+ validateAll?: {} | null | undefined;
1207
+ defaultOptions?: unknown;
1208
+ } | null | undefined;
1209
+ totalAdditionalNetIncome?: {
770
1210
  validators: mongoose.Types.DocumentArray<{
771
1211
  type?: unknown;
772
1212
  message?: unknown;
@@ -814,11 +1254,10 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
814
1254
  validateAll?: {} | null | undefined;
815
1255
  defaultOptions?: unknown;
816
1256
  } | null | undefined;
817
- isEmploymentIncomeConfirmed?: unknown;
818
- employmentIncomeRationale?: unknown;
819
- isPensionIncomeConfirmed?: unknown;
820
- pensionIncomeRationale?: unknown;
821
- totalPensionGrossIncome?: {
1257
+ isAdditionalIncomeConfirmed?: unknown;
1258
+ additionalIncomeRationale?: unknown;
1259
+ isUKTaxCreditsIncomeConfirmed?: unknown;
1260
+ totalUKTaxCreditsNetIncome?: {
822
1261
  validators: mongoose.Types.DocumentArray<{
823
1262
  type?: unknown;
824
1263
  message?: unknown;
@@ -866,7 +1305,8 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
866
1305
  validateAll?: {} | null | undefined;
867
1306
  defaultOptions?: unknown;
868
1307
  } | null | undefined;
869
- totalPensionNetIncome?: {
1308
+ ukTaxCreditsIncomeRationale?: unknown;
1309
+ totalUKTaxCreditsGrossIncome?: {
870
1310
  validators: mongoose.Types.DocumentArray<{
871
1311
  type?: unknown;
872
1312
  message?: unknown;
@@ -914,7 +1354,11 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
914
1354
  validateAll?: {} | null | undefined;
915
1355
  defaultOptions?: unknown;
916
1356
  } | null | undefined;
917
- totalAdditionalGrossIncome?: {
1357
+ isPropertyIncomeConfirmed?: unknown;
1358
+ propertyIncomeRationale?: unknown;
1359
+ selfEmployedIncomeRationale?: unknown;
1360
+ isSelfEmployedIncomeConfirmed?: unknown;
1361
+ totalSelfEmployedGrossIncome?: {
918
1362
  validators: mongoose.Types.DocumentArray<{
919
1363
  type?: unknown;
920
1364
  message?: unknown;
@@ -962,7 +1406,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
962
1406
  validateAll?: {} | null | undefined;
963
1407
  defaultOptions?: unknown;
964
1408
  } | null | undefined;
965
- totalAdditionalNetIncome?: {
1409
+ totalSelfEmployedNetIncome?: {
966
1410
  validators: mongoose.Types.DocumentArray<{
967
1411
  type?: unknown;
968
1412
  message?: unknown;
@@ -1010,10 +1454,9 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
1010
1454
  validateAll?: {} | null | undefined;
1011
1455
  defaultOptions?: unknown;
1012
1456
  } | null | undefined;
1013
- isAdditionalIncomeConfirmed?: unknown;
1014
- additionalIncomeRationale?: unknown;
1015
- isUKTaxCreditsIncomeConfirmed?: unknown;
1016
- totalUKTaxCreditsNetIncome?: {
1457
+ soleTraderIncomeRationale?: unknown;
1458
+ isSoleTraderIncomeConfirmed?: unknown;
1459
+ soleTraderGrossIncome?: {
1017
1460
  validators: mongoose.Types.DocumentArray<{
1018
1461
  type?: unknown;
1019
1462
  message?: unknown;
@@ -1061,8 +1504,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
1061
1504
  validateAll?: {} | null | undefined;
1062
1505
  defaultOptions?: unknown;
1063
1506
  } | null | undefined;
1064
- ukTaxCreditsIncomeRationale?: unknown;
1065
- totalUKTaxCreditsGrossIncome?: {
1507
+ soleTraderNetIncome?: {
1066
1508
  validators: mongoose.Types.DocumentArray<{
1067
1509
  type?: unknown;
1068
1510
  message?: unknown;
@@ -1110,11 +1552,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
1110
1552
  validateAll?: {} | null | undefined;
1111
1553
  defaultOptions?: unknown;
1112
1554
  } | null | undefined;
1113
- isPropertyIncomeConfirmed?: unknown;
1114
- propertyIncomeRationale?: unknown;
1115
- selfEmployedIncomeRationale?: unknown;
1116
- isSelfEmployedIncomeConfirmed?: unknown;
1117
- totalSelfEmployedGrossIncome?: {
1555
+ totalAnnualGrossIncome?: {
1118
1556
  validators: mongoose.Types.DocumentArray<{
1119
1557
  type?: unknown;
1120
1558
  message?: unknown;
@@ -1162,7 +1600,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
1162
1600
  validateAll?: {} | null | undefined;
1163
1601
  defaultOptions?: unknown;
1164
1602
  } | null | undefined;
1165
- totalSelfEmployedNetIncome?: {
1603
+ totalAnnualNetIncome?: {
1166
1604
  validators: mongoose.Types.DocumentArray<{
1167
1605
  type?: unknown;
1168
1606
  message?: unknown;
@@ -1210,9 +1648,10 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
1210
1648
  validateAll?: {} | null | undefined;
1211
1649
  defaultOptions?: unknown;
1212
1650
  } | null | undefined;
1213
- soleTraderIncomeRationale?: unknown;
1214
- isSoleTraderIncomeConfirmed?: unknown;
1215
- soleTraderGrossIncome?: {
1651
+ countryOfResidence?: unknown;
1652
+ fxTier?: unknown;
1653
+ incomeReductionPercentage?: unknown;
1654
+ adjustedAnnualGrossIncome?: {
1216
1655
  validators: mongoose.Types.DocumentArray<{
1217
1656
  type?: unknown;
1218
1657
  message?: unknown;
@@ -1260,7 +1699,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
1260
1699
  validateAll?: {} | null | undefined;
1261
1700
  defaultOptions?: unknown;
1262
1701
  } | null | undefined;
1263
- soleTraderNetIncome?: {
1702
+ adjustedAnnualNetIncome?: {
1264
1703
  validators: mongoose.Types.DocumentArray<{
1265
1704
  type?: unknown;
1266
1705
  message?: unknown;
@@ -1308,7 +1747,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
1308
1747
  validateAll?: {} | null | undefined;
1309
1748
  defaultOptions?: unknown;
1310
1749
  } | null | undefined;
1311
- totalAnnualGrossIncome?: {
1750
+ adjustedMonthlyGrossIncome?: {
1312
1751
  validators: mongoose.Types.DocumentArray<{
1313
1752
  type?: unknown;
1314
1753
  message?: unknown;
@@ -1356,7 +1795,7 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
1356
1795
  validateAll?: {} | null | undefined;
1357
1796
  defaultOptions?: unknown;
1358
1797
  } | null | undefined;
1359
- totalAnnualNetIncome?: {
1798
+ adjustedMonthlyNetIncome?: {
1360
1799
  validators: mongoose.Types.DocumentArray<{
1361
1800
  type?: unknown;
1362
1801
  message?: unknown;
@@ -1404,6 +1843,55 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
1404
1843
  validateAll?: {} | null | undefined;
1405
1844
  defaultOptions?: unknown;
1406
1845
  } | 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;
1407
1895
  }, {}> & {
1408
1896
  applicantId?: mongoose.Types.ObjectId | null | undefined;
1409
1897
  totalEmploymentGrossIncome?: {
@@ -2092,6 +2580,250 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
2092
2580
  validateAll?: {} | null | undefined;
2093
2581
  defaultOptions?: unknown;
2094
2582
  } | 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;
2095
2827
  } & {
2096
2828
  _id: mongoose.Types.ObjectId;
2097
2829
  } & {
@@ -2133,6 +2865,16 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
2133
2865
  soleTraderNetIncome: Pound;
2134
2866
  totalAnnualGrossIncome: Pound;
2135
2867
  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;
2136
2878
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
2137
2879
  applicantId: mongoose.Types.ObjectId;
2138
2880
  totalEmploymentGrossIncome: Pound;
@@ -2163,6 +2905,16 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
2163
2905
  soleTraderNetIncome: Pound;
2164
2906
  totalAnnualGrossIncome: Pound;
2165
2907
  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;
2166
2918
  }>, {}> & mongoose.FlatRecord<{
2167
2919
  applicantId: mongoose.Types.ObjectId;
2168
2920
  totalEmploymentGrossIncome: Pound;
@@ -2193,6 +2945,16 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
2193
2945
  soleTraderNetIncome: Pound;
2194
2946
  totalAnnualGrossIncome: Pound;
2195
2947
  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;
2196
2958
  }> & {
2197
2959
  _id: mongoose.Types.ObjectId;
2198
2960
  } & {
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA2E,CAAC;AAE7G,eAAe,2BAA2B,CAAC"}
@@ -32,6 +32,20 @@ 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 },
35
49
  }, {
36
50
  toJSON: { getters: true },
37
51
  toObject: { getters: true }
@@ -56,5 +56,17 @@ 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;
59
71
  }
60
72
  //# sourceMappingURL=applicant-income-summary.type.d.ts.map
@@ -1 +1 @@
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"}
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,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GAAG,IAAI,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC"}
@@ -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 }, { unique: true });
53
+ applicantSelfEmploymentSchema.index({ applicantId: 1 }); // Filter by applicant
54
54
  const ApplicantSelfEmploymentModel = mongoose.model("Applicant_Self_Employment", applicantSelfEmploymentSchema);
55
55
  export default ApplicantSelfEmploymentModel;
@@ -51,6 +51,8 @@ declare const ApplicationEucModel: mongoose.Model<{
51
51
  versionDate: string;
52
52
  creditExpenditure: number;
53
53
  householdExpenditure: number;
54
+ btlCountryOfResidenceUsed: string;
55
+ btlOnsMultiplierApplied: boolean;
54
56
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
55
57
  version: number;
56
58
  applicationId: mongoose.Types.ObjectId;
@@ -75,6 +77,8 @@ declare const ApplicationEucModel: mongoose.Model<{
75
77
  versionDate: string;
76
78
  creditExpenditure: number;
77
79
  householdExpenditure: number;
80
+ btlCountryOfResidenceUsed: string;
81
+ btlOnsMultiplierApplied: boolean;
78
82
  }, {}> & {
79
83
  version: number;
80
84
  applicationId: mongoose.Types.ObjectId;
@@ -99,6 +103,8 @@ declare const ApplicationEucModel: mongoose.Model<{
99
103
  versionDate: string;
100
104
  creditExpenditure: number;
101
105
  householdExpenditure: number;
106
+ btlCountryOfResidenceUsed: string;
107
+ btlOnsMultiplierApplied: boolean;
102
108
  } & {
103
109
  _id: mongoose.Types.ObjectId;
104
110
  } & {
@@ -127,6 +133,8 @@ declare const ApplicationEucModel: mongoose.Model<{
127
133
  versionDate: string;
128
134
  creditExpenditure: number;
129
135
  householdExpenditure: number;
136
+ btlCountryOfResidenceUsed: string;
137
+ btlOnsMultiplierApplied: boolean;
130
138
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
131
139
  version: number;
132
140
  applicationId: mongoose.Types.ObjectId;
@@ -151,6 +159,8 @@ declare const ApplicationEucModel: mongoose.Model<{
151
159
  versionDate: string;
152
160
  creditExpenditure: number;
153
161
  householdExpenditure: number;
162
+ btlCountryOfResidenceUsed: string;
163
+ btlOnsMultiplierApplied: boolean;
154
164
  }>, {}> & mongoose.FlatRecord<{
155
165
  version: number;
156
166
  applicationId: mongoose.Types.ObjectId;
@@ -175,6 +185,8 @@ declare const ApplicationEucModel: mongoose.Model<{
175
185
  versionDate: string;
176
186
  creditExpenditure: number;
177
187
  householdExpenditure: number;
188
+ btlCountryOfResidenceUsed: string;
189
+ btlOnsMultiplierApplied: boolean;
178
190
  }> & {
179
191
  _id: mongoose.Types.ObjectId;
180
192
  } & {
@@ -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;AAuChC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,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;AA8ChC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import mongoose from "mongoose";
2
2
  import { applyWorkflowPlugin } from "../shared/workflow.plugin";
3
+ import { applyAuditMiddleware } from "@dynamatix/cat-shared/middlewares";
3
4
  const applicationEucSchema = new mongoose.Schema({
4
5
  applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true },
5
6
  stressedFinanceRate: { type: Number, default: 0 },
@@ -24,7 +25,12 @@ const applicationEucSchema = new mongoose.Schema({
24
25
  versionDate: { type: String, default: null },
25
26
  creditExpenditure: { type: Number, default: 0 },
26
27
  householdExpenditure: { type: Number, default: 0 },
28
+ // BTL ONS country multiplier (US9): the country used for ONS calc on top-up cases, and
29
+ // whether the multiplier was actually applied (false for UK BTL and HPP).
30
+ btlCountryOfResidenceUsed: { type: String, default: null },
31
+ btlOnsMultiplierApplied: { type: Boolean, default: false },
27
32
  });
33
+ applyAuditMiddleware(applicationEucSchema, "ApplicationEUC");
28
34
  // Apply workflow plugin to the schema
29
35
  applyWorkflowPlugin(applicationEucSchema, 'applicationeuc');
30
36
  // Add indexes that exist in database but missing from model
@@ -52,5 +52,7 @@ 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;
55
57
  }
56
58
  //# 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,MAA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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;IAC7B,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACrC"}
@@ -49,6 +49,7 @@ declare const ApplicationModel: mongoose.Model<{
49
49
  firstAssignedToUserDate: NativeDate;
50
50
  slaClockStart: NativeDate;
51
51
  slaClockStop: NativeDate;
52
+ affordabilityCompletedAt: NativeDate;
52
53
  isApplicationFeePaid: string;
53
54
  bankSolicitor: string;
54
55
  brokerId: mongoose.Types.ObjectId;
@@ -146,6 +147,7 @@ declare const ApplicationModel: mongoose.Model<{
146
147
  firstAssignedToUserDate: NativeDate;
147
148
  slaClockStart: NativeDate;
148
149
  slaClockStop: NativeDate;
150
+ affordabilityCompletedAt: NativeDate;
149
151
  isApplicationFeePaid: string;
150
152
  bankSolicitor: string;
151
153
  brokerId: mongoose.Types.ObjectId;
@@ -243,6 +245,7 @@ declare const ApplicationModel: mongoose.Model<{
243
245
  firstAssignedToUserDate: NativeDate;
244
246
  slaClockStart: NativeDate;
245
247
  slaClockStop: NativeDate;
248
+ affordabilityCompletedAt: NativeDate;
246
249
  isApplicationFeePaid: string;
247
250
  bankSolicitor: string;
248
251
  brokerId: mongoose.Types.ObjectId;
@@ -352,6 +355,7 @@ declare const ApplicationModel: mongoose.Model<{
352
355
  firstAssignedToUserDate: NativeDate;
353
356
  slaClockStart: NativeDate;
354
357
  slaClockStop: NativeDate;
358
+ affordabilityCompletedAt: NativeDate;
355
359
  isApplicationFeePaid: string;
356
360
  bankSolicitor: string;
357
361
  brokerId: mongoose.Types.ObjectId;
@@ -449,6 +453,7 @@ declare const ApplicationModel: mongoose.Model<{
449
453
  firstAssignedToUserDate: NativeDate;
450
454
  slaClockStart: NativeDate;
451
455
  slaClockStop: NativeDate;
456
+ affordabilityCompletedAt: NativeDate;
452
457
  isApplicationFeePaid: string;
453
458
  bankSolicitor: string;
454
459
  brokerId: mongoose.Types.ObjectId;
@@ -546,6 +551,7 @@ declare const ApplicationModel: mongoose.Model<{
546
551
  firstAssignedToUserDate: NativeDate;
547
552
  slaClockStart: NativeDate;
548
553
  slaClockStop: NativeDate;
554
+ affordabilityCompletedAt: NativeDate;
549
555
  isApplicationFeePaid: string;
550
556
  bankSolicitor: string;
551
557
  brokerId: mongoose.Types.ObjectId;
@@ -1 +1 @@
1
- {"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAgRhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAC1E,eAAe,gBAAgB,CAAC"}
@@ -14,6 +14,7 @@ const applicationSchema = new mongoose.Schema({
14
14
  firstAssignedToUserDate: { type: Date, default: null },
15
15
  slaClockStart: { type: Date, default: null },
16
16
  slaClockStop: { type: Date, default: null },
17
+ affordabilityCompletedAt: { type: Date, default: null },
17
18
  applicationId: { type: String, required: true },
18
19
  isApplicationFeePaid: { type: String, required: true },
19
20
  applicationNumber: { type: String, required: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.14.10",
3
+ "version": "2.14.13",
4
4
  "description": "All the schemas for gatehouse bank back-end .",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",