/** * HubSpot Node - Version 1 * Discriminator: resource=engagement, operation=create */ interface Credentials { hubspotApi: CredentialReference; hubspotAppToken: CredentialReference; hubspotOAuth2Api: CredentialReference; } /** Create a company */ export type HubspotV1EngagementCreateParams = { resource: 'engagement'; operation: 'create'; authentication?: 'apiKey' | 'appToken' | 'oAuth2' | Expression; /** * Type */ type?: 'call' | 'email' | 'meeting' | 'task' | Expression; /** * Metadata * @displayOptions.show { type: ["task"] } * @default {} */ metadata?: { /** Body */ body?: string | Expression | PlaceholderValue; /** For Object Type */ forObjectType?: 'COMPANY' | 'CONTACT' | Expression; /** Status */ status?: 'COMPLETED' | 'DEFERRED' | 'IN_PROGRESS' | 'NOT_STARTED' | 'WAITING' | Expression; /** Subject */ subject?: string | Expression | PlaceholderValue; }; /** * Additional Fields * @default {} */ additionalFields?: { /** Associations * @default {} */ associations?: { /** Company IDs */ companyIds?: string | Expression | PlaceholderValue; /** Contact IDs */ contactIds?: string | Expression | PlaceholderValue; /** Deals IDs */ dealIds?: string | Expression | PlaceholderValue; /** Owner IDs */ ownerIds?: string | Expression | PlaceholderValue; /** Ticket IDs */ ticketIds?: string | Expression | PlaceholderValue; }; }; }; export type HubspotV1EngagementCreateNode = { type: 'n8n-nodes-base.hubspot'; version: 1; credentials?: Credentials; config: NodeConfig; };