@dynamatix/gb-schemas 2.14.3 → 2.14.5

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.
@@ -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: "" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.14.3",
3
+ "version": "2.14.5",
4
4
  "description": "All the schemas for gatehouse bank back-end .",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",