/**
 * Lemlist Node - Version 2
 * Discriminator: resource=lead, operation=get
 */


interface Credentials {
  lemlistApi: CredentialReference;
}

export type LemlistV2LeadGetParams = {
  resource: 'lead';
  operation: 'get';
/**
 * Email of the lead to retrieve
 */
    email?: string | Expression<string> | PlaceholderValue;
};

export type LemlistV2LeadGetOutput = {
  _id?: string;
  campaignId?: string;
  companyName?: string;
  contactId?: string;
  email?: string;
  firstName?: string;
  isPaused?: boolean;
  lastName?: string;
  linkedinUrl?: string;
};

export type LemlistV2LeadGetNode = {
  type: 'n8n-nodes-base.lemlist';
  version: 2;
  credentials?: Credentials;
  config: NodeConfig<LemlistV2LeadGetParams>;
  output?: Items<LemlistV2LeadGetOutput>;
};