/** * HubSpot Node - Version 1 * Discriminator: resource=company, operation=update */ interface Credentials { hubspotApi: CredentialReference; hubspotAppToken: CredentialReference; hubspotOAuth2Api: CredentialReference; } /** Update a company */ export type HubspotV1CompanyUpdateParams = { resource: 'company'; operation: 'update'; authentication?: 'apiKey' | 'appToken' | 'oAuth2' | Expression; /** * Unique identifier for a particular company */ companyId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** About Us */ aboutUs?: string | Expression | PlaceholderValue; /** The actual or estimated annual revenue of the company * @default 0 */ annualRevenue?: number | Expression; /** The city where the company is located */ city?: string | Expression | PlaceholderValue; /** The date the company or organization was closed as a customer */ closeDate?: string | Expression; /** The domain name of the company or organization */ companyDomainName?: string | Expression | PlaceholderValue; /** The owner of the company. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ companyOwner?: string | Expression; /** The country/region in which the company or organization is located */ countryRegion?: string | Expression | PlaceholderValue; /** Custom Properties * @default {} */ customPropertiesUi?: { /** Custom Property */ customPropertiesValues?: Array<{ /** Name of the property. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ property?: string | Expression; /** Value of the property */ value?: string | Expression | PlaceholderValue; }>; }; /** A short statement about the company's mission and goals */ description?: string | Expression | PlaceholderValue; /** Number of facebook fans * @default 0 */ facebookFans?: number | Expression; /** The URL of the Google Plus page for the company or organization */ googlePlusPage?: string | Expression | PlaceholderValue; /** The type of business the company performs. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ industry?: string | Expression; /** Whether that the company is publicly traded * @default false */ isPublic?: boolean | Expression; /** The company's sales, prospecting or outreach status. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ leadStatus?: string | Expression; /** The most advanced lifecycle stage across all contacts associated with this company or organization. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ lifecycleStatus?: string | Expression; /** The LinkedIn bio for the company or organization */ linkedinBio?: string | Expression | PlaceholderValue; /** The URL of the LinkedIn company page for the company or organization */ linkedInCompanyPage?: string | Expression | PlaceholderValue; /** Name */ name?: string | Expression | PlaceholderValue; /** The total number of employees who work for the company or organization * @default 0 */ numberOfEmployees?: number | Expression; /** Original source for the contact with the earliest activity for this company or organization. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ originalSourceType?: string | Expression; /** A company's primary phone number. Powered by HubSpot Insights. */ phoneNumber?: string | Expression | PlaceholderValue; /** The postal or zip code of the company or organization. Powered by HubSpot Insights. */ postalCode?: string | Expression | PlaceholderValue; /** The state or region in which the company or organization is located. Powered by HubSpot Insights. */ stateRegion?: string | Expression | PlaceholderValue; /** The street address of the company or organization, including unit number. Powered by HubSpot Insights. */ streetAddress?: string | Expression | PlaceholderValue; /** The additional address of the company or organization. Powered by HubSpot Insights. */ streetAddress2?: string | Expression | PlaceholderValue; /** The Target Account property is a means to flag high priority companies if you are following an account based strategy. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ targetAccount?: string | Expression; /** The time zone where the company or organization is located. Powered by HubSpot Insights. */ timezone?: string | Expression | PlaceholderValue; /** The total amount of money raised by the company. Powered by HubSpot Insights. * @default 0 */ totalMoneyRaised?: number | Expression; /** The Twitter bio of the company or organization */ twitterBio?: string | Expression | PlaceholderValue; /** The number of Twitter followers of the company or organization * @default 0 */ twitterFollowers?: number | Expression; /** The main twitter account of the company or organization */ twitterHandle?: string | Expression | PlaceholderValue; /** The optional classification of this company record - prospect, partner, etc. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ type?: string | Expression; /** The web technologies used by the company or organization. Powered by HubSpot Insights. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ webTechnologies?: string | Expression; /** The main website of the company or organization. This property is used to identify unique companies. Powered by HubSpot Insights. */ websiteUrl?: string | Expression | PlaceholderValue; /** The year the company was created. Powered by HubSpot Insights. */ yearFounded?: string | Expression | PlaceholderValue; }; }; export type HubspotV1CompanyUpdateNode = { type: 'n8n-nodes-base.hubspot'; version: 1; credentials?: Credentials; config: NodeConfig; };