n8n-nodes-smartlead-v1-9-0
Version:
🚀 SmartLead API v1.10.0 - Complete Email Marketing Automation with Smart Delivery, Webhooks & 40+ Operations - Fixed API Parameters
31 lines (30 loc) • 932 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SmartLeadApi = void 0;
class SmartLeadApi {
constructor() {
this.name = 'smartLeadApi';
this.displayName = 'SmartLead API';
this.documentationUrl = 'https://api.smartlead.ai/reference/authentication';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
required: true,
description: 'Your SmartLead API Key from Settings > API Access',
},
];
this.authenticate = {
type: 'generic',
properties: {
qs: {
api_key: '={{$credentials.apiKey}}',
},
},
};
}
}
exports.SmartLeadApi = SmartLeadApi;