/** * HubSpot Node - Version 2.2 * Discriminator: resource=company, operation=searchByDomain */ interface Credentials { hubspotApi: CredentialReference; hubspotAppToken: CredentialReference; hubspotOAuth2Api: CredentialReference; } /** Search companies by their website domain */ export type HubspotV22CompanySearchByDomainParams = { resource: 'company'; operation: 'searchByDomain'; authentication?: 'apiKey' | 'appToken' | 'oAuth2' | Expression; /** * The company's website domain to search for, like n8n.io */ domain?: string | Expression | PlaceholderValue; /** * 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 include specific Company properties in the returned results. Choose from a list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ properties?: string[]; }; }; export type HubspotV22CompanySearchByDomainOutput = { additionalDomains?: Array<{ domain?: string; source?: string; sourceId?: string; timestamp?: number; }>; companyId?: number; isDeleted?: boolean; portalId?: number; properties?: { domain?: { source?: string; timestamp?: number; value?: string; versions?: Array<{ name?: string; requestId?: string; source?: string; sourceId?: string; sourceVid?: Array; timestamp?: number; updatedByUserId?: number; useTimestampAsPersistenceTimestamp?: boolean; value?: string; }>; }; }; }; export type HubspotV22CompanySearchByDomainNode = { type: 'n8n-nodes-base.hubspot'; version: 2.2; credentials?: Credentials; config: NodeConfig; output?: Items; };