n8n-nodes-base
Version:
Base nodes of n8n
38 lines (33 loc) • 770 B
text/typescript
/**
* 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>;
};