n8n-nodes-mallabe-barcodes
Version:
n8n community node that allows the generation & scanning of different barcodes, such as the popular QR code, UPC, EAN & others using Mallabe Barcodes
39 lines • 1.25 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MallabeBarcodesApi = void 0;
const N8N_API_KEY = 'xPHYKn7ar42idNoYrbyuc1xTk6LDWpPoIGvCRLK2';
class MallabeBarcodesApi {
constructor() {
this.name = 'mallabeBarcodesApi';
this.displayName = 'Mallabe Barcodes API';
this.documentationUrl = 'https://www.mallabe.com';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
'User-Agent': 'n8n',
'x-api-key': N8N_API_KEY,
'x-account-api-key': '={{$credentials.apiKey}}'
},
},
};
this.test = {
request: {
baseURL: 'https://api.mallabe.com',
url: '/v1/accounts/me',
method: 'POST'
},
};
}
}
exports.MallabeBarcodesApi = MallabeBarcodesApi;
//# sourceMappingURL=MallabeBarcodesApi.credentials.js.map