Appearance
web / lib/obfuscation / obfuscateListing
Function: obfuscateListing()
obfuscateListing(
listing):object
Defined in: lib/obfuscation.ts:138
Obfuscate an entire listing for non-authenticated users
Parameters
listing
address_id
number | null
address_line_1
string | null
address_line_2
string | null
badges
string[] | null
business_hours
string | null
business_id
number | null
business_name
string | null
city
string | null
contact_company
string | null
contact_email
string | null
contact_method
string | null
contact_name
string | null
contact_phone
string | null
contact_role
string | null
country
string | null
customer_type
string | null
date_established
string | null
deal_type
string | null
description
string | null
desired_selling_price
string | null
ebitda
number | null
gross_margin
number | null
is_public
boolean | null
keywords
string[] | null
latitude
number | null
listed_at
string | null
listing_business_id
number | null
listing_id
number | null
longitude
number | null
market
string | null
monthly_recurring_revenue
number | null
naics_code
string | null
number_of_employees
number | null
number_of_owners
number | null
physical_location
string | null
preferred_contact
string | null
private_listing
boolean | null
reason_for_sale
string | null
state
string | null
status
string | null
timeframe_to_sell
string | null
ttm_gross_profit
number | null
ttm_pre_tax_net_income
number | null
ttm_revenue
number | null
user_id
number | null
views
number | null
website
string | null
years_in_operation
number | null
zip_code
string | null
Returns
object
address_id
address_id:
number|null
address_line_1
address_line_1:
string|null
address_line_2
address_line_2:
string|null
badges
badges:
string[] |null
business_hours
business_hours:
string|null
business_id
business_id:
number|null
business_name
business_name:
string|null
city
city:
string|null
contact_company
contact_company:
string|null
contact_email
contact_email:
string|null
contact_method
contact_method:
string|null
contact_name
contact_name:
string|null
contact_phone
contact_phone:
string|null
contact_role
contact_role:
string|null
country
country:
string|null
customer_type
customer_type:
string|null
date_established
date_established:
string|null
deal_type
deal_type:
string|null
description
description:
string|null
desired_selling_price
desired_selling_price:
string|null
ebitda
ebitda:
number|null
gross_margin
gross_margin:
number|null
is_public
is_public:
boolean|null
keywords
keywords:
string[] |null
latitude
latitude:
number|null
listed_at
listed_at:
string|null
listing_business_id
listing_business_id:
number|null
listing_id
listing_id:
number|null
longitude
longitude:
number|null
market
market:
string|null
monthly_recurring_revenue
monthly_recurring_revenue:
number|null
naics_code
naics_code:
string|null
number_of_employees
number_of_employees:
number|null
number_of_owners
number_of_owners:
number|null
physical_location
physical_location:
string|null
preferred_contact
preferred_contact:
string|null
private_listing
private_listing:
boolean|null
reason_for_sale
reason_for_sale:
string|null
state
state:
string|null
status
status:
string|null
timeframe_to_sell
timeframe_to_sell:
string|null
ttm_gross_profit
ttm_gross_profit:
number|null
ttm_pre_tax_net_income
ttm_pre_tax_net_income:
number|null
ttm_revenue
ttm_revenue:
number|null
user_id
user_id:
number|null
views
views:
number|null
website
website:
string|null
years_in_operation
years_in_operation:
number|null
zip_code
zip_code:
string|null