@dynamatix/gb-schemas 2.7.3 → 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.
@@ -312,6 +312,56 @@ declare const ApplicationValuationModel: mongoose.Model<{
312
312
  ReportObservations?: unknown;
313
313
  AlternateNumber?: unknown;
314
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;
315
365
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
316
366
  IndustryAoundProperty: mongoose.Types.ObjectId[];
317
367
  version?: unknown;
@@ -596,6 +646,56 @@ declare const ApplicationValuationModel: mongoose.Model<{
596
646
  ReportObservations?: unknown;
597
647
  AlternateNumber?: unknown;
598
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;
599
699
  }, {}> & {
600
700
  IndustryAoundProperty: mongoose.Types.ObjectId[];
601
701
  version?: unknown;
@@ -880,6 +980,56 @@ declare const ApplicationValuationModel: mongoose.Model<{
880
980
  ReportObservations?: unknown;
881
981
  AlternateNumber?: unknown;
882
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;
883
1033
  } & {
884
1034
  _id: mongoose.Types.ObjectId;
885
1035
  } & {
@@ -924,6 +1074,9 @@ declare const ApplicationValuationModel: mongoose.Model<{
924
1074
  TotalAmount: Pound;
925
1075
  ReportObservations: string;
926
1076
  AlternateNumber: string;
1077
+ DateofInspection: string;
1078
+ DateOfApplicationRaised: string;
1079
+ PropertyActualValue: Pound;
927
1080
  addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
928
1081
  epcScore?: number | null | undefined;
929
1082
  epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
@@ -973,6 +1126,9 @@ declare const ApplicationValuationModel: mongoose.Model<{
973
1126
  TotalAmount: Pound;
974
1127
  ReportObservations: string;
975
1128
  AlternateNumber: string;
1129
+ DateofInspection: string;
1130
+ DateOfApplicationRaised: string;
1131
+ PropertyActualValue: Pound;
976
1132
  addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
977
1133
  epcScore?: number | null | undefined;
978
1134
  epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
@@ -1022,6 +1178,9 @@ declare const ApplicationValuationModel: mongoose.Model<{
1022
1178
  TotalAmount: Pound;
1023
1179
  ReportObservations: string;
1024
1180
  AlternateNumber: string;
1181
+ DateofInspection: string;
1182
+ DateOfApplicationRaised: string;
1183
+ PropertyActualValue: Pound;
1025
1184
  addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
1026
1185
  epcScore?: number | null | undefined;
1027
1186
  epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
@@ -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;AAqE5D,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0D,CAAC;AAC1F,eAAe,yBAAyB,CAAC"}
@@ -51,6 +51,9 @@ const valuationSchema = new mongoose.Schema({
51
51
  ReportObservations: { type: String, default: "" },
52
52
  AlternateNumber: { type: String, default: "" },
53
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 },
54
57
  });
55
58
  // virtual property 'lendingType'
56
59
  valuationSchema.virtual("lendingType").get(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.7.3",
3
+ "version": "2.8.0",
4
4
  "description": "All the schemas for gatehouse bank back-end .",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",