/**
 * 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 &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
 * @default []
 */
    campaignId?: string | Expression<string>;
/**
 * Email of the lead to unsubscribe
 */
    email?: string | Expression<string> | PlaceholderValue;
};

export type LemlistV2LeadUnsubscribeNode = {
  type: 'n8n-nodes-base.lemlist';
  version: 2;
  credentials?: Credentials;
  config: NodeConfig<LemlistV2LeadUnsubscribeParams>;
};