n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 552 B
text/typescript
/**
* Autopilot Node - Version 1
* Discriminator: resource=contact, operation=delete
*/
interface Credentials {
autopilotApi: CredentialReference;
}
/** Delete a contact */
export type AutopilotV1ContactDeleteParams = {
resource: 'contact';
operation: 'delete';
/**
* Can be ID or email
*/
contactId?: string | Expression<string> | PlaceholderValue;
};
export type AutopilotV1ContactDeleteNode = {
type: 'n8n-nodes-base.autopilot';
version: 1;
credentials?: Credentials;
config: NodeConfig<AutopilotV1ContactDeleteParams>;
};