@dhyasama/totem-models 6.11.12 → 6.13.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.
package/.npmignore ADDED
@@ -0,0 +1,14 @@
1
+ lib-cov
2
+ *.seed
3
+ *.log
4
+ *.csv
5
+ *.dat
6
+ *.out
7
+ *.pid
8
+ *.gz
9
+
10
+ npm-debug.log
11
+ node_modules
12
+
13
+ .DS_Store
14
+ .idea
@@ -136,7 +136,8 @@ module.exports = function(mongoose, config) {
136
136
  }],
137
137
 
138
138
  clearbit: {
139
- uuid: { type: String, unique: true, partialFilterExpression : { type : "string" }, trim: true }
139
+ uuid: { type: String, unique: true, partialFilterExpression : { type : "string" }, trim: true },
140
+ lastEnrichmentRequestedOn: { type: Date, default: null }
140
141
  },
141
142
 
142
143
  crunchbase: {
@@ -591,7 +592,7 @@ module.exports = function(mongoose, config) {
591
592
 
592
593
  if (standardFields.sourcePerson.showOnList) {
593
594
  result.push({
594
- name: 'Source Person',
595
+ name: 'Source',
595
596
  type: 'Reference',
596
597
  key: 'source.person',
597
598
  isStandard: true,
@@ -615,7 +616,7 @@ module.exports = function(mongoose, config) {
615
616
 
616
617
  if (standardFields.referrerPerson.showOnList) {
617
618
  result.push({
618
- name: 'Referrer Person',
619
+ name: 'Referrer',
619
620
  type: 'Reference',
620
621
  key: 'referrer.person',
621
622
  isStandard: true,
package/lib/Person.js CHANGED
@@ -71,7 +71,8 @@ module.exports = function(mongoose, config) {
71
71
  website: { type: String, default: null, required: false, trim: true, lowercase: true },
72
72
 
73
73
  clearbit: {
74
- uuid: { type: String, unique: true, partialFilterExpression : { type : "string" }, trim: true }
74
+ uuid: { type: String, unique: true, partialFilterExpression : { type : "string" }, trim: true },
75
+ lastEnrichmentRequestedOn: { type: Date, default: null }
75
76
  },
76
77
 
77
78
  crunchbase: {