@dynamatix/gb-schemas 2.7.2 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,6 +29,7 @@
29
29
  import mongoose from "mongoose";
30
30
  import { Pound } from "../value-objects/pound";
31
31
  declare const ApplicationValuationModel: mongoose.Model<{
32
+ IndustryAoundProperty: mongoose.Types.ObjectId[];
32
33
  version?: unknown;
33
34
  applicationId?: mongoose.Types.ObjectId | null | undefined;
34
35
  dateOfValuationReceived?: unknown;
@@ -133,6 +134,14 @@ declare const ApplicationValuationModel: mongoose.Model<{
133
134
  valuationRequestedDate?: unknown;
134
135
  valuationScheduledDate?: unknown;
135
136
  valuationSurveyorDetails?: unknown;
137
+ AccountNumber?: unknown;
138
+ addressPostCode?: unknown;
139
+ addressLine1?: unknown;
140
+ addressLine2?: unknown;
141
+ addressLine3?: unknown;
142
+ addressCity?: unknown;
143
+ addressCountryLid?: unknown;
144
+ sortCode?: unknown;
136
145
  epcScore?: unknown;
137
146
  amount?: {
138
147
  validators: mongoose.Types.DocumentArray<{
@@ -241,7 +250,120 @@ declare const ApplicationValuationModel: mongoose.Model<{
241
250
  pvqClosedDate?: unknown;
242
251
  inspectionDate?: unknown;
243
252
  valuationFeePaidDate?: unknown;
253
+ HasLift?: unknown;
254
+ PropertyBuiltType?: unknown;
255
+ AgeofProperty?: unknown;
256
+ DateandTimeOfPropertyBuilt?: unknown;
257
+ DateofReportReceived?: unknown;
258
+ ReporterMailId?: unknown;
259
+ ApplicantNumber?: unknown;
260
+ Numberofbedrooms?: unknown;
261
+ NumberofLivingRooms?: unknown;
262
+ TotalRooms?: unknown;
263
+ HealthOfProerty?: unknown;
264
+ TotalAmount?: {
265
+ validators: mongoose.Types.DocumentArray<{
266
+ type?: unknown;
267
+ message?: unknown;
268
+ validator?: unknown;
269
+ reason?: unknown;
270
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
271
+ type?: unknown;
272
+ message?: unknown;
273
+ validator?: unknown;
274
+ reason?: unknown;
275
+ }> & {
276
+ type?: unknown;
277
+ message?: unknown;
278
+ validator?: unknown;
279
+ reason?: unknown;
280
+ }>;
281
+ get?: {} | null | undefined;
282
+ schema?: {
283
+ [x: string]: unknown;
284
+ } | null | undefined;
285
+ set?: {} | null | undefined;
286
+ validate?: {} | null | undefined;
287
+ index?: {} | null | undefined;
288
+ default?: {} | null | undefined;
289
+ text?: {} | null | undefined;
290
+ unique?: {} | null | undefined;
291
+ sparse?: {} | null | undefined;
292
+ cast?: {} | null | undefined;
293
+ required?: {} | null | undefined;
294
+ ref?: {} | null | undefined;
295
+ select?: {} | null | undefined;
296
+ immutable?: {} | null | undefined;
297
+ transform?: {} | null | undefined;
298
+ options?: {
299
+ [x: string]: unknown;
300
+ } | null | undefined;
301
+ OptionsConstructor?: {
302
+ [x: string]: unknown;
303
+ } | null | undefined;
304
+ getEmbeddedSchemaType?: {} | null | undefined;
305
+ instance?: unknown;
306
+ isRequired?: unknown;
307
+ path?: unknown;
308
+ toJSONSchema?: {} | null | undefined;
309
+ validateAll?: {} | null | undefined;
310
+ defaultOptions?: unknown;
311
+ } | null | undefined;
312
+ ReportObservations?: unknown;
313
+ AlternateNumber?: unknown;
314
+ numberOfKitchen?: unknown;
315
+ DateofInspection?: unknown;
316
+ DateOfApplicationRaised?: unknown;
317
+ PropertyActualValue?: {
318
+ validators: mongoose.Types.DocumentArray<{
319
+ type?: unknown;
320
+ message?: unknown;
321
+ validator?: unknown;
322
+ reason?: unknown;
323
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
324
+ type?: unknown;
325
+ message?: unknown;
326
+ validator?: unknown;
327
+ reason?: unknown;
328
+ }> & {
329
+ type?: unknown;
330
+ message?: unknown;
331
+ validator?: unknown;
332
+ reason?: unknown;
333
+ }>;
334
+ get?: {} | null | undefined;
335
+ schema?: {
336
+ [x: string]: unknown;
337
+ } | null | undefined;
338
+ set?: {} | null | undefined;
339
+ validate?: {} | null | undefined;
340
+ index?: {} | null | undefined;
341
+ default?: {} | null | undefined;
342
+ text?: {} | null | undefined;
343
+ unique?: {} | null | undefined;
344
+ sparse?: {} | null | undefined;
345
+ cast?: {} | null | undefined;
346
+ required?: {} | null | undefined;
347
+ ref?: {} | null | undefined;
348
+ select?: {} | null | undefined;
349
+ immutable?: {} | null | undefined;
350
+ transform?: {} | null | undefined;
351
+ options?: {
352
+ [x: string]: unknown;
353
+ } | null | undefined;
354
+ OptionsConstructor?: {
355
+ [x: string]: unknown;
356
+ } | null | undefined;
357
+ getEmbeddedSchemaType?: {} | null | undefined;
358
+ instance?: unknown;
359
+ isRequired?: unknown;
360
+ path?: unknown;
361
+ toJSONSchema?: {} | null | undefined;
362
+ validateAll?: {} | null | undefined;
363
+ defaultOptions?: unknown;
364
+ } | null | undefined;
244
365
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
366
+ IndustryAoundProperty: mongoose.Types.ObjectId[];
245
367
  version?: unknown;
246
368
  applicationId?: mongoose.Types.ObjectId | null | undefined;
247
369
  dateOfValuationReceived?: unknown;
@@ -346,6 +468,14 @@ declare const ApplicationValuationModel: mongoose.Model<{
346
468
  valuationRequestedDate?: unknown;
347
469
  valuationScheduledDate?: unknown;
348
470
  valuationSurveyorDetails?: unknown;
471
+ AccountNumber?: unknown;
472
+ addressPostCode?: unknown;
473
+ addressLine1?: unknown;
474
+ addressLine2?: unknown;
475
+ addressLine3?: unknown;
476
+ addressCity?: unknown;
477
+ addressCountryLid?: unknown;
478
+ sortCode?: unknown;
349
479
  epcScore?: unknown;
350
480
  amount?: {
351
481
  validators: mongoose.Types.DocumentArray<{
@@ -454,7 +584,120 @@ declare const ApplicationValuationModel: mongoose.Model<{
454
584
  pvqClosedDate?: unknown;
455
585
  inspectionDate?: unknown;
456
586
  valuationFeePaidDate?: unknown;
587
+ HasLift?: unknown;
588
+ PropertyBuiltType?: unknown;
589
+ AgeofProperty?: unknown;
590
+ DateandTimeOfPropertyBuilt?: unknown;
591
+ DateofReportReceived?: unknown;
592
+ ReporterMailId?: unknown;
593
+ ApplicantNumber?: unknown;
594
+ Numberofbedrooms?: unknown;
595
+ NumberofLivingRooms?: unknown;
596
+ TotalRooms?: unknown;
597
+ HealthOfProerty?: unknown;
598
+ TotalAmount?: {
599
+ validators: mongoose.Types.DocumentArray<{
600
+ type?: unknown;
601
+ message?: unknown;
602
+ validator?: unknown;
603
+ reason?: unknown;
604
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
605
+ type?: unknown;
606
+ message?: unknown;
607
+ validator?: unknown;
608
+ reason?: unknown;
609
+ }> & {
610
+ type?: unknown;
611
+ message?: unknown;
612
+ validator?: unknown;
613
+ reason?: unknown;
614
+ }>;
615
+ get?: {} | null | undefined;
616
+ schema?: {
617
+ [x: string]: unknown;
618
+ } | null | undefined;
619
+ set?: {} | null | undefined;
620
+ validate?: {} | null | undefined;
621
+ index?: {} | null | undefined;
622
+ default?: {} | null | undefined;
623
+ text?: {} | null | undefined;
624
+ unique?: {} | null | undefined;
625
+ sparse?: {} | null | undefined;
626
+ cast?: {} | null | undefined;
627
+ required?: {} | null | undefined;
628
+ ref?: {} | null | undefined;
629
+ select?: {} | null | undefined;
630
+ immutable?: {} | null | undefined;
631
+ transform?: {} | null | undefined;
632
+ options?: {
633
+ [x: string]: unknown;
634
+ } | null | undefined;
635
+ OptionsConstructor?: {
636
+ [x: string]: unknown;
637
+ } | null | undefined;
638
+ getEmbeddedSchemaType?: {} | null | undefined;
639
+ instance?: unknown;
640
+ isRequired?: unknown;
641
+ path?: unknown;
642
+ toJSONSchema?: {} | null | undefined;
643
+ validateAll?: {} | null | undefined;
644
+ defaultOptions?: unknown;
645
+ } | null | undefined;
646
+ ReportObservations?: unknown;
647
+ AlternateNumber?: unknown;
648
+ numberOfKitchen?: unknown;
649
+ DateofInspection?: unknown;
650
+ DateOfApplicationRaised?: unknown;
651
+ PropertyActualValue?: {
652
+ validators: mongoose.Types.DocumentArray<{
653
+ type?: unknown;
654
+ message?: unknown;
655
+ validator?: unknown;
656
+ reason?: unknown;
657
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
658
+ type?: unknown;
659
+ message?: unknown;
660
+ validator?: unknown;
661
+ reason?: unknown;
662
+ }> & {
663
+ type?: unknown;
664
+ message?: unknown;
665
+ validator?: unknown;
666
+ reason?: unknown;
667
+ }>;
668
+ get?: {} | null | undefined;
669
+ schema?: {
670
+ [x: string]: unknown;
671
+ } | null | undefined;
672
+ set?: {} | null | undefined;
673
+ validate?: {} | null | undefined;
674
+ index?: {} | null | undefined;
675
+ default?: {} | null | undefined;
676
+ text?: {} | null | undefined;
677
+ unique?: {} | null | undefined;
678
+ sparse?: {} | null | undefined;
679
+ cast?: {} | null | undefined;
680
+ required?: {} | null | undefined;
681
+ ref?: {} | null | undefined;
682
+ select?: {} | null | undefined;
683
+ immutable?: {} | null | undefined;
684
+ transform?: {} | null | undefined;
685
+ options?: {
686
+ [x: string]: unknown;
687
+ } | null | undefined;
688
+ OptionsConstructor?: {
689
+ [x: string]: unknown;
690
+ } | null | undefined;
691
+ getEmbeddedSchemaType?: {} | null | undefined;
692
+ instance?: unknown;
693
+ isRequired?: unknown;
694
+ path?: unknown;
695
+ toJSONSchema?: {} | null | undefined;
696
+ validateAll?: {} | null | undefined;
697
+ defaultOptions?: unknown;
698
+ } | null | undefined;
457
699
  }, {}> & {
700
+ IndustryAoundProperty: mongoose.Types.ObjectId[];
458
701
  version?: unknown;
459
702
  applicationId?: mongoose.Types.ObjectId | null | undefined;
460
703
  dateOfValuationReceived?: unknown;
@@ -559,6 +802,14 @@ declare const ApplicationValuationModel: mongoose.Model<{
559
802
  valuationRequestedDate?: unknown;
560
803
  valuationScheduledDate?: unknown;
561
804
  valuationSurveyorDetails?: unknown;
805
+ AccountNumber?: unknown;
806
+ addressPostCode?: unknown;
807
+ addressLine1?: unknown;
808
+ addressLine2?: unknown;
809
+ addressLine3?: unknown;
810
+ addressCity?: unknown;
811
+ addressCountryLid?: unknown;
812
+ sortCode?: unknown;
562
813
  epcScore?: unknown;
563
814
  amount?: {
564
815
  validators: mongoose.Types.DocumentArray<{
@@ -667,6 +918,118 @@ declare const ApplicationValuationModel: mongoose.Model<{
667
918
  pvqClosedDate?: unknown;
668
919
  inspectionDate?: unknown;
669
920
  valuationFeePaidDate?: unknown;
921
+ HasLift?: unknown;
922
+ PropertyBuiltType?: unknown;
923
+ AgeofProperty?: unknown;
924
+ DateandTimeOfPropertyBuilt?: unknown;
925
+ DateofReportReceived?: unknown;
926
+ ReporterMailId?: unknown;
927
+ ApplicantNumber?: unknown;
928
+ Numberofbedrooms?: unknown;
929
+ NumberofLivingRooms?: unknown;
930
+ TotalRooms?: unknown;
931
+ HealthOfProerty?: unknown;
932
+ TotalAmount?: {
933
+ validators: mongoose.Types.DocumentArray<{
934
+ type?: unknown;
935
+ message?: unknown;
936
+ validator?: unknown;
937
+ reason?: unknown;
938
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
939
+ type?: unknown;
940
+ message?: unknown;
941
+ validator?: unknown;
942
+ reason?: unknown;
943
+ }> & {
944
+ type?: unknown;
945
+ message?: unknown;
946
+ validator?: unknown;
947
+ reason?: unknown;
948
+ }>;
949
+ get?: {} | null | undefined;
950
+ schema?: {
951
+ [x: string]: unknown;
952
+ } | null | undefined;
953
+ set?: {} | null | undefined;
954
+ validate?: {} | null | undefined;
955
+ index?: {} | null | undefined;
956
+ default?: {} | null | undefined;
957
+ text?: {} | null | undefined;
958
+ unique?: {} | null | undefined;
959
+ sparse?: {} | null | undefined;
960
+ cast?: {} | null | undefined;
961
+ required?: {} | null | undefined;
962
+ ref?: {} | null | undefined;
963
+ select?: {} | null | undefined;
964
+ immutable?: {} | null | undefined;
965
+ transform?: {} | null | undefined;
966
+ options?: {
967
+ [x: string]: unknown;
968
+ } | null | undefined;
969
+ OptionsConstructor?: {
970
+ [x: string]: unknown;
971
+ } | null | undefined;
972
+ getEmbeddedSchemaType?: {} | null | undefined;
973
+ instance?: unknown;
974
+ isRequired?: unknown;
975
+ path?: unknown;
976
+ toJSONSchema?: {} | null | undefined;
977
+ validateAll?: {} | null | undefined;
978
+ defaultOptions?: unknown;
979
+ } | null | undefined;
980
+ ReportObservations?: unknown;
981
+ AlternateNumber?: unknown;
982
+ numberOfKitchen?: unknown;
983
+ DateofInspection?: unknown;
984
+ DateOfApplicationRaised?: unknown;
985
+ PropertyActualValue?: {
986
+ validators: mongoose.Types.DocumentArray<{
987
+ type?: unknown;
988
+ message?: unknown;
989
+ validator?: unknown;
990
+ reason?: unknown;
991
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
992
+ type?: unknown;
993
+ message?: unknown;
994
+ validator?: unknown;
995
+ reason?: unknown;
996
+ }> & {
997
+ type?: unknown;
998
+ message?: unknown;
999
+ validator?: unknown;
1000
+ reason?: unknown;
1001
+ }>;
1002
+ get?: {} | null | undefined;
1003
+ schema?: {
1004
+ [x: string]: unknown;
1005
+ } | null | undefined;
1006
+ set?: {} | null | undefined;
1007
+ validate?: {} | null | undefined;
1008
+ index?: {} | null | undefined;
1009
+ default?: {} | null | undefined;
1010
+ text?: {} | null | undefined;
1011
+ unique?: {} | null | undefined;
1012
+ sparse?: {} | null | undefined;
1013
+ cast?: {} | null | undefined;
1014
+ required?: {} | null | undefined;
1015
+ ref?: {} | null | undefined;
1016
+ select?: {} | null | undefined;
1017
+ immutable?: {} | null | undefined;
1018
+ transform?: {} | null | undefined;
1019
+ options?: {
1020
+ [x: string]: unknown;
1021
+ } | null | undefined;
1022
+ OptionsConstructor?: {
1023
+ [x: string]: unknown;
1024
+ } | null | undefined;
1025
+ getEmbeddedSchemaType?: {} | null | undefined;
1026
+ instance?: unknown;
1027
+ isRequired?: unknown;
1028
+ path?: unknown;
1029
+ toJSONSchema?: {} | null | undefined;
1030
+ validateAll?: {} | null | undefined;
1031
+ defaultOptions?: unknown;
1032
+ } | null | undefined;
670
1033
  } & {
671
1034
  _id: mongoose.Types.ObjectId;
672
1035
  } & {
@@ -682,6 +1045,13 @@ declare const ApplicationValuationModel: mongoose.Model<{
682
1045
  valuationRequestedDate: string;
683
1046
  valuationScheduledDate: string;
684
1047
  valuationSurveyorDetails: string;
1048
+ AccountNumber: string;
1049
+ addressPostCode: string;
1050
+ addressLine1: string;
1051
+ addressLine2: string;
1052
+ addressLine3: string;
1053
+ addressCity: string;
1054
+ sortCode: string;
685
1055
  amount: Pound;
686
1056
  estimatedRentalValue: Pound;
687
1057
  instructionId: string;
@@ -693,9 +1063,29 @@ declare const ApplicationValuationModel: mongoose.Model<{
693
1063
  pvqClosedDate: string;
694
1064
  inspectionDate: string;
695
1065
  valuationFeePaidDate: string;
1066
+ HasLift: boolean;
1067
+ PropertyBuiltType: string;
1068
+ DateandTimeOfPropertyBuilt: string;
1069
+ DateofReportReceived: string;
1070
+ ReporterMailId: string;
1071
+ ApplicantNumber: string;
1072
+ IndustryAoundProperty: mongoose.Types.ObjectId[];
1073
+ HealthOfProerty: string;
1074
+ TotalAmount: Pound;
1075
+ ReportObservations: string;
1076
+ AlternateNumber: string;
1077
+ DateofInspection: string;
1078
+ DateOfApplicationRaised: string;
1079
+ PropertyActualValue: Pound;
1080
+ addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
696
1081
  epcScore?: number | null | undefined;
697
1082
  epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
698
1083
  squareMetres?: string | null | undefined;
1084
+ AgeofProperty?: number | null | undefined;
1085
+ Numberofbedrooms?: number | null | undefined;
1086
+ NumberofLivingRooms?: number | null | undefined;
1087
+ TotalRooms?: number | null | undefined;
1088
+ numberOfKitchen?: number | null | undefined;
699
1089
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
700
1090
  version: string;
701
1091
  applicationId: mongoose.Types.ObjectId;
@@ -707,6 +1097,13 @@ declare const ApplicationValuationModel: mongoose.Model<{
707
1097
  valuationRequestedDate: string;
708
1098
  valuationScheduledDate: string;
709
1099
  valuationSurveyorDetails: string;
1100
+ AccountNumber: string;
1101
+ addressPostCode: string;
1102
+ addressLine1: string;
1103
+ addressLine2: string;
1104
+ addressLine3: string;
1105
+ addressCity: string;
1106
+ sortCode: string;
710
1107
  amount: Pound;
711
1108
  estimatedRentalValue: Pound;
712
1109
  instructionId: string;
@@ -718,9 +1115,29 @@ declare const ApplicationValuationModel: mongoose.Model<{
718
1115
  pvqClosedDate: string;
719
1116
  inspectionDate: string;
720
1117
  valuationFeePaidDate: string;
1118
+ HasLift: boolean;
1119
+ PropertyBuiltType: string;
1120
+ DateandTimeOfPropertyBuilt: string;
1121
+ DateofReportReceived: string;
1122
+ ReporterMailId: string;
1123
+ ApplicantNumber: string;
1124
+ IndustryAoundProperty: mongoose.Types.ObjectId[];
1125
+ HealthOfProerty: string;
1126
+ TotalAmount: Pound;
1127
+ ReportObservations: string;
1128
+ AlternateNumber: string;
1129
+ DateofInspection: string;
1130
+ DateOfApplicationRaised: string;
1131
+ PropertyActualValue: Pound;
1132
+ addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
721
1133
  epcScore?: number | null | undefined;
722
1134
  epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
723
1135
  squareMetres?: string | null | undefined;
1136
+ AgeofProperty?: number | null | undefined;
1137
+ Numberofbedrooms?: number | null | undefined;
1138
+ NumberofLivingRooms?: number | null | undefined;
1139
+ TotalRooms?: number | null | undefined;
1140
+ numberOfKitchen?: number | null | undefined;
724
1141
  }>, {}> & mongoose.FlatRecord<{
725
1142
  version: string;
726
1143
  applicationId: mongoose.Types.ObjectId;
@@ -732,6 +1149,13 @@ declare const ApplicationValuationModel: mongoose.Model<{
732
1149
  valuationRequestedDate: string;
733
1150
  valuationScheduledDate: string;
734
1151
  valuationSurveyorDetails: string;
1152
+ AccountNumber: string;
1153
+ addressPostCode: string;
1154
+ addressLine1: string;
1155
+ addressLine2: string;
1156
+ addressLine3: string;
1157
+ addressCity: string;
1158
+ sortCode: string;
735
1159
  amount: Pound;
736
1160
  estimatedRentalValue: Pound;
737
1161
  instructionId: string;
@@ -743,9 +1167,29 @@ declare const ApplicationValuationModel: mongoose.Model<{
743
1167
  pvqClosedDate: string;
744
1168
  inspectionDate: string;
745
1169
  valuationFeePaidDate: string;
1170
+ HasLift: boolean;
1171
+ PropertyBuiltType: string;
1172
+ DateandTimeOfPropertyBuilt: string;
1173
+ DateofReportReceived: string;
1174
+ ReporterMailId: string;
1175
+ ApplicantNumber: string;
1176
+ IndustryAoundProperty: mongoose.Types.ObjectId[];
1177
+ HealthOfProerty: string;
1178
+ TotalAmount: Pound;
1179
+ ReportObservations: string;
1180
+ AlternateNumber: string;
1181
+ DateofInspection: string;
1182
+ DateOfApplicationRaised: string;
1183
+ PropertyActualValue: Pound;
1184
+ addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
746
1185
  epcScore?: number | null | undefined;
747
1186
  epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
748
1187
  squareMetres?: string | null | undefined;
1188
+ AgeofProperty?: number | null | undefined;
1189
+ Numberofbedrooms?: number | null | undefined;
1190
+ NumberofLivingRooms?: number | null | undefined;
1191
+ TotalRooms?: number | null | undefined;
1192
+ numberOfKitchen?: number | null | undefined;
749
1193
  }> & {
750
1194
  _id: mongoose.Types.ObjectId;
751
1195
  } & {
@@ -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;AA6C5D,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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.00, get: formatPound },
27
27
  valuationNotes: { type: String, default: "" },
28
28
  valuationAccepted: { type: String, default: null },
29
- valuationFeePaidDate: { type: String, default: null }
29
+ valuationFeePaidDate: { type: String, default: null },
30
+ addressPostCode: { type: String, default: "" },
31
+ addressLine1: { type: String, default: "" },
32
+ addressLine2: { type: String, default: "" },
33
+ addressLine3: { type: String, default: "" },
34
+ addressCity: { type: String, default: "" },
35
+ addressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
36
+ HasLift: { type: Boolean, default: false },
37
+ PropertyBuiltType: { type: String, default: "" },
38
+ AccountNumber: { type: String, default: "" },
39
+ sortCode: { type: String, default: "" },
40
+ AgeofProperty: { type: Number },
41
+ DateandTimeOfPropertyBuilt: { type: String, default: null },
42
+ DateofReportReceived: { type: String, default: null },
43
+ ReporterMailId: { type: String, default: "" },
44
+ ApplicantNumber: { type: String, default: "" },
45
+ IndustryAoundProperty: [{ type: mongoose.Schema.Types.ObjectId, ref: "Lookup" }],
46
+ Numberofbedrooms: { type: Number },
47
+ NumberofLivingRooms: { type: Number },
48
+ TotalRooms: { type: Number },
49
+ HealthOfProerty: { type: String, default: "" },
50
+ TotalAmount: { type: Pound, default: 0.00, get: formatPound },
51
+ ReportObservations: { type: String, default: "" },
52
+ AlternateNumber: { type: String, default: "" },
53
+ numberOfKitchen: { type: Number },
54
+ DateofInspection: { type: String, default: null },
55
+ DateOfApplicationRaised: { type: String, default: null },
56
+ PropertyActualValue: { type: Pound, default: 0.00, get: formatPound },
30
57
  });
31
58
  // virtual property 'lendingType'
32
59
  valuationSchema.virtual("lendingType").get(function () {