UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

50 lines (46 loc) 1.74 kB
/** * HubSpot Node - Version 1 * Discriminator: resource=company, operation=searchByDomain */ interface Credentials { hubspotApi: CredentialReference; hubspotAppToken: CredentialReference; hubspotOAuth2Api: CredentialReference; } /** Search companies by domain */ export type HubspotV1CompanySearchByDomainParams = { resource: 'company'; operation: 'searchByDomain'; authentication?: 'apiKey' | 'appToken' | 'oAuth2' | Expression<string>; /** * The company's website domain to search for, like n8n.io */ domain?: string | Expression<string> | PlaceholderValue; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression<boolean>; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression<number>; /** * Options * @default {} */ options?: { /** &lt;p&gt;Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.&lt;/p&gt;&lt;p&gt;Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: &lt;code&gt;,&lt;/code&gt;.&lt;/p&gt;. Choose from the list, or specify IDs using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;. * @default [] */ properties?: string[]; }; }; export type HubspotV1CompanySearchByDomainNode = { type: 'n8n-nodes-base.hubspot'; version: 1; credentials?: Credentials; config: NodeConfig<HubspotV1CompanySearchByDomainParams>; };