n8n-nodes-alive5
Version:
Send and receive SMS messages via alive5
45 lines • 1.37 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Alive5Api = void 0;
class Alive5Api {
constructor() {
this.name = 'alive5Api';
this.displayName = 'Alive5 API';
this.documentationUrl = 'https://support.alive5.com/public-api-overview';
this.icon = 'file:icons/alive5.svg';
this.properties = [
{
displayName: 'API key',
name: 'apiKey',
type: 'string',
typeOptions: {
password: true,
},
default: '',
},
{
displayName: 'API Base URL',
name: 'baseUrl',
type: 'string',
default: 'https://api.alive5.com/public',
placeholder: 'https://api.alive5.com/public',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
'X-A5-APIKEY': '={{ $credentials.apiKey }}',
},
},
};
this.test = {
request: {
baseURL: 'https://api.alive5.com/public/1.0',
url: '/account',
},
};
}
}
exports.Alive5Api = Alive5Api;
//# sourceMappingURL=Alive5Api.credentials.js.map