/** * Lemlist Node - Version 2 * Discriminator: resource=lead, operation=unsubscribe */ interface Credentials { lemlistApi: CredentialReference; } export type LemlistV2LeadUnsubscribeParams = { resource: 'lead'; operation: 'unsubscribe'; /** * ID of the campaign to unsubscribe the lead from. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ campaignId?: string | Expression; /** * Email of the lead to unsubscribe */ email?: string | Expression | PlaceholderValue; }; export type LemlistV2LeadUnsubscribeNode = { type: 'n8n-nodes-base.lemlist'; version: 2; credentials?: Credentials; config: NodeConfig; };