UNPKG

n8n-nodes-ynab

Version:
32 lines 926 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.YNABApi = void 0; class YNABApi { constructor() { this.name = 'ynabApi'; this.displayName = 'YNAB API'; this.documentationUrl = 'https://api.ynab.com/'; this.properties = [ { displayName: 'Personal Access Token', name: 'token', type: 'string', default: '', typeOptions: { password: true, } } ]; this.icon = 'file:../../icons/ynab.svg'; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '={{"Bearer " + $credentials.token}}', }, }, }; } } exports.YNABApi = YNABApi; //# sourceMappingURL=YNABApi.credentials.js.map