@dynamatix/gb-schemas 2.14.6 → 2.14.9

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.
@@ -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;AAkD5D,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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;IA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M,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,qBAAqB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpC,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC"}
@@ -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;AA2ChC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,CAAC"}
@@ -24,6 +24,10 @@ 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 },
27
31
  });
28
32
  // Apply workflow plugin to the schema
29
33
  applyWorkflowPlugin(applicationEucSchema, 'applicationeuc');
@@ -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,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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AC;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"}
@@ -252,6 +252,54 @@ declare const ApplicationValuationModel: mongoose.Model<{
252
252
  inspectionDate?: unknown;
253
253
  valuationBookedDate?: unknown;
254
254
  valuationFeePaidDate?: unknown;
255
+ manualValuationFeeAmount?: {
256
+ validators: mongoose.Types.DocumentArray<{
257
+ type?: unknown;
258
+ message?: unknown;
259
+ validator?: unknown;
260
+ reason?: unknown;
261
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
262
+ type?: unknown;
263
+ message?: unknown;
264
+ validator?: unknown;
265
+ reason?: unknown;
266
+ }> & {
267
+ type?: unknown;
268
+ message?: unknown;
269
+ validator?: unknown;
270
+ reason?: unknown;
271
+ }>;
272
+ get?: {} | null | undefined;
273
+ schema?: {
274
+ [x: string]: unknown;
275
+ } | null | undefined;
276
+ set?: {} | null | undefined;
277
+ validate?: {} | null | undefined;
278
+ index?: {} | null | undefined;
279
+ default?: {} | null | undefined;
280
+ text?: {} | null | undefined;
281
+ unique?: {} | null | undefined;
282
+ sparse?: {} | null | undefined;
283
+ cast?: {} | null | undefined;
284
+ required?: {} | null | undefined;
285
+ ref?: {} | null | undefined;
286
+ select?: {} | null | undefined;
287
+ immutable?: {} | null | undefined;
288
+ transform?: {} | null | undefined;
289
+ options?: {
290
+ [x: string]: unknown;
291
+ } | null | undefined;
292
+ OptionsConstructor?: {
293
+ [x: string]: unknown;
294
+ } | null | undefined;
295
+ getEmbeddedSchemaType?: {} | null | undefined;
296
+ instance?: unknown;
297
+ isRequired?: unknown;
298
+ path?: unknown;
299
+ toJSONSchema?: {} | null | undefined;
300
+ validateAll?: {} | null | undefined;
301
+ defaultOptions?: unknown;
302
+ } | null | undefined;
255
303
  HasLift?: unknown;
256
304
  PropertyBuiltType?: unknown;
257
305
  AgeofProperty?: unknown;
@@ -588,6 +636,54 @@ declare const ApplicationValuationModel: mongoose.Model<{
588
636
  inspectionDate?: unknown;
589
637
  valuationBookedDate?: unknown;
590
638
  valuationFeePaidDate?: unknown;
639
+ manualValuationFeeAmount?: {
640
+ validators: mongoose.Types.DocumentArray<{
641
+ type?: unknown;
642
+ message?: unknown;
643
+ validator?: unknown;
644
+ reason?: unknown;
645
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
646
+ type?: unknown;
647
+ message?: unknown;
648
+ validator?: unknown;
649
+ reason?: unknown;
650
+ }> & {
651
+ type?: unknown;
652
+ message?: unknown;
653
+ validator?: unknown;
654
+ reason?: unknown;
655
+ }>;
656
+ get?: {} | null | undefined;
657
+ schema?: {
658
+ [x: string]: unknown;
659
+ } | null | undefined;
660
+ set?: {} | null | undefined;
661
+ validate?: {} | null | undefined;
662
+ index?: {} | null | undefined;
663
+ default?: {} | null | undefined;
664
+ text?: {} | null | undefined;
665
+ unique?: {} | null | undefined;
666
+ sparse?: {} | null | undefined;
667
+ cast?: {} | null | undefined;
668
+ required?: {} | null | undefined;
669
+ ref?: {} | null | undefined;
670
+ select?: {} | null | undefined;
671
+ immutable?: {} | null | undefined;
672
+ transform?: {} | null | undefined;
673
+ options?: {
674
+ [x: string]: unknown;
675
+ } | null | undefined;
676
+ OptionsConstructor?: {
677
+ [x: string]: unknown;
678
+ } | null | undefined;
679
+ getEmbeddedSchemaType?: {} | null | undefined;
680
+ instance?: unknown;
681
+ isRequired?: unknown;
682
+ path?: unknown;
683
+ toJSONSchema?: {} | null | undefined;
684
+ validateAll?: {} | null | undefined;
685
+ defaultOptions?: unknown;
686
+ } | null | undefined;
591
687
  HasLift?: unknown;
592
688
  PropertyBuiltType?: unknown;
593
689
  AgeofProperty?: unknown;
@@ -924,6 +1020,54 @@ declare const ApplicationValuationModel: mongoose.Model<{
924
1020
  inspectionDate?: unknown;
925
1021
  valuationBookedDate?: unknown;
926
1022
  valuationFeePaidDate?: unknown;
1023
+ manualValuationFeeAmount?: {
1024
+ validators: mongoose.Types.DocumentArray<{
1025
+ type?: unknown;
1026
+ message?: unknown;
1027
+ validator?: unknown;
1028
+ reason?: unknown;
1029
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1030
+ type?: unknown;
1031
+ message?: unknown;
1032
+ validator?: unknown;
1033
+ reason?: unknown;
1034
+ }> & {
1035
+ type?: unknown;
1036
+ message?: unknown;
1037
+ validator?: unknown;
1038
+ reason?: unknown;
1039
+ }>;
1040
+ get?: {} | null | undefined;
1041
+ schema?: {
1042
+ [x: string]: unknown;
1043
+ } | null | undefined;
1044
+ set?: {} | null | undefined;
1045
+ validate?: {} | null | undefined;
1046
+ index?: {} | null | undefined;
1047
+ default?: {} | null | undefined;
1048
+ text?: {} | null | undefined;
1049
+ unique?: {} | null | undefined;
1050
+ sparse?: {} | null | undefined;
1051
+ cast?: {} | null | undefined;
1052
+ required?: {} | null | undefined;
1053
+ ref?: {} | null | undefined;
1054
+ select?: {} | null | undefined;
1055
+ immutable?: {} | null | undefined;
1056
+ transform?: {} | null | undefined;
1057
+ options?: {
1058
+ [x: string]: unknown;
1059
+ } | null | undefined;
1060
+ OptionsConstructor?: {
1061
+ [x: string]: unknown;
1062
+ } | null | undefined;
1063
+ getEmbeddedSchemaType?: {} | null | undefined;
1064
+ instance?: unknown;
1065
+ isRequired?: unknown;
1066
+ path?: unknown;
1067
+ toJSONSchema?: {} | null | undefined;
1068
+ validateAll?: {} | null | undefined;
1069
+ defaultOptions?: unknown;
1070
+ } | null | undefined;
927
1071
  HasLift?: unknown;
928
1072
  PropertyBuiltType?: unknown;
929
1073
  AgeofProperty?: unknown;
@@ -1071,6 +1215,7 @@ declare const ApplicationValuationModel: mongoose.Model<{
1071
1215
  inspectionDate: string;
1072
1216
  valuationBookedDate: string;
1073
1217
  valuationFeePaidDate: string;
1218
+ manualValuationFeeAmount: Pound;
1074
1219
  HasLift: boolean;
1075
1220
  PropertyBuiltType: string;
1076
1221
  DateandTimeOfPropertyBuilt: string;
@@ -1125,6 +1270,7 @@ declare const ApplicationValuationModel: mongoose.Model<{
1125
1270
  inspectionDate: string;
1126
1271
  valuationBookedDate: string;
1127
1272
  valuationFeePaidDate: string;
1273
+ manualValuationFeeAmount: Pound;
1128
1274
  HasLift: boolean;
1129
1275
  PropertyBuiltType: string;
1130
1276
  DateandTimeOfPropertyBuilt: string;
@@ -1179,6 +1325,7 @@ declare const ApplicationValuationModel: mongoose.Model<{
1179
1325
  inspectionDate: string;
1180
1326
  valuationBookedDate: string;
1181
1327
  valuationFeePaidDate: string;
1328
+ manualValuationFeeAmount: Pound;
1182
1329
  HasLift: boolean;
1183
1330
  PropertyBuiltType: string;
1184
1331
  DateandTimeOfPropertyBuilt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"application-valuation.model.d.ts","sourceRoot":"","sources":["../../applications/application-valuation.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAe,KAAK,EAAE,MAAM,wBAAwB,CAAC;AA0E5D,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0D,CAAC;AAC1F,eAAe,yBAAyB,CAAC"}
@@ -29,6 +29,7 @@ const valuationSchema = new mongoose.Schema({
29
29
  valuationNotes: { type: String, default: "" },
30
30
  valuationAccepted: { type: String, default: null },
31
31
  valuationFeePaidDate: { type: String, default: null },
32
+ manualValuationFeeAmount: { type: Pound, default: 0.00, get: formatPound },
32
33
  addressPostCode: { type: String, default: "" },
33
34
  addressLine1: { type: String, default: "" },
34
35
  addressLine2: { type: String, default: "" },
@@ -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.6",
3
+ "version": "2.14.9",
4
4
  "description": "All the schemas for gatehouse bank back-end .",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",