vhp-mongo-models 2.1.86 → 2.1.87

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.
@@ -9,6 +9,7 @@ module.exports = [
9
9
  id:{type:String,default:''},
10
10
  hhid:{type: String, default:''},
11
11
  custid:{type: String, default:''},//person calling in, could be the occupant
12
+ phone:{type:String,default:''}, //this will replace custid
12
13
  email:{type:String, default:''},
13
14
  clientfirst:{type:String, default:''},
14
15
  clientlast:{type:String, default:''},
@@ -22,18 +22,19 @@ let pvvisit = {
22
22
  scheduled: { type: Boolean }
23
23
  }
24
24
  let lead = {
25
- id:{type:String,default:''},
26
- apptdate: { type: Date, default: '' },
25
+ id:{type:String,default:''}, //sync with lead
26
+ apptdate: { type: Date, default: '' }, //sync with lead
27
27
  type: { type: String, default: '' },
28
28
  prstdate: { type: Date, default: '' },
29
+ // callTypes:{type:Array,default:[]},
29
30
  time: { type: String, default: '' },
30
31
  carryover: { type: Date, default: '' },
31
32
  prstvia: { type: String, default: '' },
32
- rewards: { type: Boolean, default: false },
33
- source: { type: String, default: '' },
34
- generator: { type: String, default: '' },
35
- soldAmount: { type: Number, default: 0 },
36
- paid: { type: Date, default: '' }
33
+ rewards: { type: Boolean, default: false }, //sync with lead
34
+ source: { type: String, default: '' }, //sync with lead
35
+ generator: { type: String, default: '' }, //sync with lead
36
+ soldAmount: { type: Number, default: 0 }, //remove? would use bid
37
+ paid: { type: Date, default: '' } //remove? would use bid
37
38
  }
38
39
  let info = {
39
40
  pkids: { type: Array, default: [] },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhp-mongo-models",
3
- "version": "2.1.86",
3
+ "version": "2.1.87",
4
4
  "productName": "VHP Mongo Models",
5
5
  "description": "Mongo Models library to setup Mongoose Schemas",
6
6
  "author": "VHPim",