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