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