payservedb 4.1.5 → 4.1.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.
package/index.js CHANGED
@@ -129,8 +129,8 @@ const models = {
129
129
  Currency: require('./src/models/currency_settings'),
130
130
  UserAccount: require('./src/models/user_account'),
131
131
  CashPayment: require('./src/models/cashpayment'),
132
- VasPayment: require('./src/models/vas_payment'),
133
- VasInvoicesUpdate: require('./src/models/vas_invoices_upload'),
132
+ VasPayment: require('./src/models/vas_payments'),
133
+ VasInvoicesQuickBooks: require('./src/models/vas_invoices_upload'),
134
134
  ServiceChargePayment: require('./src/models/service_charge_payments'),
135
135
  ServiceChargeInvoiceUpload: require('./src/models/service_charge_invoice_upload')
136
136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "4.1.5",
3
+ "version": "4.1.7",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,6 +1,6 @@
1
1
  const mongoose = require('mongoose');
2
2
 
3
- const VasInvoicesUpdateSchema = new mongoose.Schema({
3
+ const VasInvoicesQuickBooksSchema = new mongoose.Schema({
4
4
  facilityId: {
5
5
  type: mongoose.Schema.Types.ObjectId,
6
6
  ref: 'Facility',
@@ -44,8 +44,8 @@ const VasInvoicesUpdateSchema = new mongoose.Schema({
44
44
  }
45
45
  })
46
46
 
47
- const VasInvoicesUpdate = mongoose.model(
48
- 'VasInvoicesUpdate',
49
- VasInvoicesUpdateSchema
47
+ const VasInvoicesQuickBooks = mongoose.model(
48
+ 'VasInvoicesQuickBooks',
49
+ VasInvoicesQuickBooksSchema
50
50
  );
51
- module.exports = VasInvoicesUpdate
51
+ module.exports = VasInvoicesQuickBooks