diff --git a/manage/app/services/identity-attributes.js b/manage/app/services/identity-attributes.js index 5b73a1e..d0d17ce 100644 --- a/manage/app/services/identity-attributes.js +++ b/manage/app/services/identity-attributes.js @@ -43,6 +43,7 @@ export default Service.extend({ { key: 'attributes.Industry', label: 'Industry' }, { key: 'attributes.Job Function', label: 'Job Function' }, { key: 'attributes.Annual Sales', label: 'Annual Sales', adminOnly: true }, + { key: 'attributes.Number of Employees', label: 'Number of Employees', adminOnly: true }, // { key: 'attributes.NAICS Code', label: 'NAICS' }, ]); diff --git a/monorepo/packages/sync/ops/transform-customer.js b/monorepo/packages/sync/ops/transform-customer.js index 04be10f..3597eb4 100644 --- a/monorepo/packages/sync/ops/transform-customer.js +++ b/monorepo/packages/sync/ops/transform-customer.js @@ -15,6 +15,8 @@ const demoMap = new Map([ [106, 'Job Function'], [83, 'Annual Sales'], [103, 'Annual Sales'], + [84, 'Number of Employees'], + [104, 'Number of Employees'], ]); /** diff --git a/monorepo/services/server/src/mongodb/schema/campaign.js b/monorepo/services/server/src/mongodb/schema/campaign.js index e59da9f..6bb0a82 100644 --- a/monorepo/services/server/src/mongodb/schema/campaign.js +++ b/monorepo/services/server/src/mongodb/schema/campaign.js @@ -176,7 +176,7 @@ const emailSchema = new Schema({ ], excludeFields: { type: [String], - default: ['phoneNumber', 'last', 'attributes.Annual Sales'], + default: ['phoneNumber', 'last', 'attributes.Annual Sales', 'attributes.Number of Employees'], }, allowedLinkTypes: { type: [String], diff --git a/monorepo/services/server/src/services/identity-attributes.js b/monorepo/services/server/src/services/identity-attributes.js index 172f77a..4aec1ee 100644 --- a/monorepo/services/server/src/services/identity-attributes.js +++ b/monorepo/services/server/src/services/identity-attributes.js @@ -14,5 +14,6 @@ module.exports = [ { key: 'attributes.Industry', label: 'Industry' }, { key: 'attributes.Job Function', label: 'Job Function' }, { key: 'attributes.Annual Sales', label: 'Annual Sales', adminOnly: true }, + { key: 'attributes.Number of Employees', label: 'Number of Employees', adminOnly: true }, // { key: 'attributes.NAICS Code', label: 'NAICS' }, ];