payservedb 3.8.0 → 3.8.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -45,6 +45,15 @@ const levyContractSchema = new mongoose.Schema({
45
45
  required: true,
46
46
  trim: true
47
47
  },
48
+ currency: {
49
+ type: mongoose.Schema.Types.ObjectId,
50
+ ref: 'Currency',
51
+ required: true
52
+ },
53
+ paymentMethodId: {
54
+ type: mongoose.Schema.Types.ObjectId,
55
+ required: true
56
+ },
48
57
  facilityId: {
49
58
  type: mongoose.Schema.Types.ObjectId,
50
59
  ref: 'Facility',
@@ -56,4 +65,4 @@ const levyContractSchema = new mongoose.Schema({
56
65
 
57
66
  const LevyContract = mongoose.model('LevyContract', levyContractSchema);
58
67
 
59
- module.exports = LevyContract;
68
+ module.exports = LevyContract;