n8n-nodes-recallio
Version:
RecallioAI Memory node for n8n
38 lines • 1.16 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RecallioApi = void 0;
class RecallioApi {
constructor() {
this.name = 'recallioApi';
this.displayName = 'RecallIO API';
this.documentationUrl = 'https://app.recallio.ai/docs';
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: {
method: 'GET',
url: 'https://app.recallio.ai/api/Memory/validate-key',
headers: {
Authorization: '={{"Bearer " + $credentials.apiKey}}',
},
},
};
}
}
exports.RecallioApi = RecallioApi;
//# sourceMappingURL=RecallioApi.credentials.js.map