UNPKG

cluedin-widget

Version:

This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.

217 lines (214 loc) • 6.86 kB
import formatHelper from './../format'; module.exports = { important: [ { either: [{ display: 'Location', key: 'location', value: 'property-user.location' }, { display: 'Location', key: 'location', value: 'property-organization.address.city' }] }, { either: [ { display: 'Website', key: 'website', value: 'property-Website' }, { display: 'Website', key: 'website', value: 'property-twitter.user.url' }, { display: 'Website', key: 'website', value: 'property-zendesk.organization.domainNames' }, { display: 'Website', key: 'website', value: 'property-organization.website' } ] }, { display: 'Industry', key: 'industry', value: 'property-organization.industry' }, { display: 'Employees', key: 'nbemployee', value: "property-organization.employeeCount", format: formatHelper.formatNumberM, }, { display: 'Revenue', key: 'revenue', value: 'property-salesforce.account.annualRevenue', format: formatHelper.formatNumberKmB }, { either: [ { display: 'Symbol', key: 'tickersymbol', value: 'property-TickerSymbol' }, { display: 'Symbol', key: 'tickersymbol', value: 'property-salesforce.account.tickerSymbol' }] } ], all: [ { display: 'Phone Number', value: 'property-person.phoneNumber', key: 'phonenumber' }, { either: [ { display: 'Fax', value: 'property-Fax', key: 'fax', category: 'phone' }, { display: 'Fax', value: 'property-salesforce.account.fax', key: 'fax', category: 'phone' }, ] }, { either: [ { display: 'Billing Street', value: 'property-BillingStreet', key: 'billingstreet' }, { display: 'Billing Street', value: 'property-salesforce.account.billingStreet', key: 'billingstreet' }] }, { either: [ { display: 'Billing State', value: 'property-BillingState', key: 'billingstate' }, { display: 'Billing State', value: 'property-salesforce.account.billingState', key: 'billingstate' } ] }, { either: [ { display: 'Billing City', value: 'property-BillingCity', key: 'billingstate' }, { display: 'Billing City', value: 'property-salesforce.account.billingCity', key: 'billingstate' } ] }, { display: 'Account Number', key: 'accountnumber', value: 'property-AccountNumber' }, { display: 'Number Twitter Followers', key: 'twitter-friendscount', value: 'property-twitter.user.friendsCount', format: formatHelper.formatNumberAbbreviation }, { display: 'Number Twitter Following', key: 'twitter-followerscount', value: 'property-twitter.user.followersCount', format: formatHelper.formatNumberAbbreviation }, { display: 'Total Number Tweets', key: 'twitter-statusescount', value: 'property-twitter.user.statusesCount', format: formatHelper.formatNumberAbbreviation }, { display: 'Total Number Tweet Favorites', key: 'twitter-favoritescount', value: 'property-twitter.user.favoritesCount', format: formatHelper.formatNumberAbbreviation }, { display: 'Is verified?', key: 'twitter-userverified', value: 'property-twitter.user.verified' }, { dipslay: 'Is Test Account', key: 'istestaccount', value: 'property-zendesk.organization.custom-is_test_account', format: formatHelper.YesOrNo }, { display: 'Notes', key: 'note', value: 'property-zendesk.organization.notes' }, { display: 'Clean status', key: 'cleanstatus', value: 'property-CleanStatus' }, { display: 'Is Deleted?', key: 'isdeleted', value: 'property-IsDeleted' }, { either: [ { display: 'Ownership', key: 'ownership', value: 'property-Ownership' }, { display: 'Ownership', key: 'ownership', value: 'property-salesforce.account.ownership' } ] } ], fold: [ { either: [{ display: 'Type', key: 'type', value: 'property-Type' },{ display: 'Type', key: 'type', value: 'property-salesforce.account.type' }] }, { either: [ { display: 'Shipping Street', value: 'property-ShippingStreet', key: 'shippingstreet' }, { display: 'Shipping Street', value: 'property-salesforce.account.shippingStreet', key: 'shippingstreet' } ] }, { display: 'Sic', key: 'sic', value: 'property-salesforce.account.sic', } ] };