UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

29 lines (25 loc) 722 B
/** * HubSpot Node - Version 1 * Discriminator: resource=engagement, operation=get */ interface Credentials { hubspotApi: CredentialReference; hubspotAppToken: CredentialReference; hubspotOAuth2Api: CredentialReference; } /** Get a contact */ export type HubspotV1EngagementGetParams = { resource: 'engagement'; operation: 'get'; authentication?: 'apiKey' | 'appToken' | 'oAuth2' | Expression<string>; /** * Unique identifier for a particular engagement */ engagementId?: string | Expression<string> | PlaceholderValue; }; export type HubspotV1EngagementGetNode = { type: 'n8n-nodes-base.hubspot'; version: 1; credentials?: Credentials; config: NodeConfig<HubspotV1EngagementGetParams>; };