Defines standard HubSpot object types and default property lists for API interactions. Use this to maintain consistency when building HubSpot integrations.
// Source: https://github.com/activepieces/activepieces | License: MIT | Copyright 2020-2024 Activepieces Inc
// Provided via justclaw.it.com; keep this notice with the code.
// https://developers.hubspot.com/docs/api-reference/search/guide#limitations
export const MAX_SEARCH_PAGE_SIZE = 200;
export const MAX_SEARCH_TOTAL_RESULTS = 10000;
export const enum OBJECT_TYPE {
CONTACT = 'contact',
COMPANY = 'company',
DEAL = 'deal',
TICKET = 'ticket',
PRODUCT = 'product',
LINE_ITEM = 'line_item',
TASK = 'task',
}
export const DEFAULT_CONTACT_PROPERTIES = [
'firstname',
'lastname',
'email',
'company',
'website',
'mobilephone',
'phone',
'fax',
'address',
'city',
'state',
'zip',
'salutation',
'country',
'jobtitle',
'hs_createdate',
'hs_email_domain',
'hs_object_id',
'last
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key