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