UNPKG

n8n-nodes-straico-official

Version:
37 lines 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StraicoApi = void 0; class StraicoApi { constructor() { this.name = 'straicoApi'; this.displayName = 'Straico API'; this.documentationUrl = 'https://documenter.getpostman.com/view/5900072/2s9YyzddrR'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true, }, default: '', }, ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '=Bearer {{$credentials.apiKey}}', }, }, }; this.test = { request: { baseURL: 'https://api.straico.com', url: '/v0/user', }, }; } } exports.StraicoApi = StraicoApi; //# sourceMappingURL=StraicoApi.credentials.js.map