@dynamatix/gb-schemas 0.24.6 → 0.24.7

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.
@@ -2,6 +2,7 @@ import mongoose from "mongoose";
2
2
  import directDebitSchema from "./application-direct-debit.model.js";
3
3
  import creditProfileSchema from "./application-credit-profile.model.js";
4
4
  import mortgageSchema from "./application-mortgage.model.js";
5
+ import productFeaturesSchema from "./productfeatures.model.js";
5
6
 
6
7
 
7
8
  const applicationSchema = new mongoose.Schema(
@@ -62,6 +63,7 @@ const applicationSchema = new mongoose.Schema(
62
63
  isActive: { type: String, default: false },
63
64
  isUkResident: { type: String, default: true },
64
65
  riskRating: { type: String },
66
+ ProductFeatures: productFeaturesSchema,
65
67
  directDebit: directDebitSchema,
66
68
  creditProfile: creditProfileSchema,
67
69
  mortgage: mortgageSchema,
@@ -97,5 +97,4 @@ const productFeaturesSchema = new mongoose.Schema({
97
97
  calculations: calculationsSchema
98
98
  });
99
99
 
100
- const ProductFeaturesModel = mongoose.model("ProductFeature", productFeaturesSchema);
101
- export default ProductFeaturesModel;
100
+ export default productFeaturesSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "0.24.6",
3
+ "version": "0.24.7",
4
4
  "description": "All the schemas for gatehouse bank back-end.",
5
5
  "main": "lookup.service.js",
6
6
  "scripts": {