n8n-nodes-base
Version:
Base nodes of n8n
30 lines (26 loc) • 792 B
text/typescript
/**
* HubSpot Node - Version 2.1
* Discriminator: resource=engagement, operation=delete
*/
interface Credentials {
hubspotApi: CredentialReference;
hubspotAppToken: CredentialReference;
hubspotOAuth2Api: CredentialReference;
}
/** Delete a contact */
export type HubspotV21EngagementDeleteParams = {
resource: 'engagement';
operation: 'delete';
authentication?: 'apiKey' | 'appToken' | 'oAuth2' | Expression<string>;
/**
* Engagement to Delete
* @default {"mode":"list","value":""}
*/
engagementId?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
};
export type HubspotV21EngagementDeleteNode = {
type: 'n8n-nodes-base.hubspot';
version: 2.1;
credentials?: Credentials;
config: NodeConfig<HubspotV21EngagementDeleteParams>;
};