/** * HubSpot Node - Version 1 * Discriminator: resource=company, operation=getAll */ interface Credentials { hubspotApi: CredentialReference; hubspotAppToken: CredentialReference; hubspotOAuth2Api: CredentialReference; } /** Get many contacts */ export type HubspotV1CompanyGetAllParams = { resource: 'company'; operation: 'getAll'; authentication?: 'apiKey' | 'appToken' | 'oAuth2' | Expression; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression; /** * Options * @default {} */ options?: { /** Whether to return any merge history if a company has been previously merged with another company record. Defaults to false. * @default false */ includeMergeAudits?: boolean | Expression; /** <p>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 companies.</p><p>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: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ properties?: string[]; /** Works similarly to properties=, but this parameter will include the history for the specified property, instead of just including the current value. Use this parameter when you need the full history of changes to a property's value. */ propertiesWithHistory?: string | Expression | PlaceholderValue; }; }; export type HubspotV1CompanyGetAllNode = { type: 'n8n-nodes-base.hubspot'; version: 1; credentials?: Credentials; config: NodeConfig; };