n8n-walichat
Version:
n8n plugin for WaliChat
31 lines (30 loc) • 918 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WaliChatApiKey = void 0;
class WaliChatApiKey {
constructor() {
this.name = 'WaliChatApiKey';
this.displayName = 'WaliChat API Key';
// Uses the link to this tutorial as an example
// Replace with your own docs links when building your own nodes
this.documentationUrl = 'https://app.wali.chat/docs';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
default: '',
required: true,
},
];
this.authenticate = {
type: 'generic',
properties: {
qs: {
'token': '={{$credentials.apiKey}}'
}
},
};
}
}
exports.WaliChatApiKey = WaliChatApiKey;