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
57 lines • 1.71 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.scanBarcodeFields = void 0;
exports.scanBarcodeFields = [
{
displayName: 'Barcode Type',
name: 'type',
type: 'options',
displayOptions: {
show: {
operation: ['scanBarcode'],
resource: ['barcode'],
},
},
required: true,
default: 'qrcode',
description: 'Type of barcode to scan',
options: [
{ name: 'Code 128', value: 'code128' },
{ name: 'Code 39', value: 'code39' },
{ name: 'EAN-13', value: 'ean13' },
{ name: 'EAN-8', value: 'ean8' },
{ name: 'Interleaved 2 of 5', value: 'interleaved2of5' },
{ name: 'QR Code', value: 'qrcode' },
{ name: 'UPC-A', value: 'upca' },
{ name: 'UPC-E', value: 'upce' },
],
},
{
displayName: 'Barcode Image URL',
name: 'url',
type: 'string',
displayOptions: {
show: {
operation: ['scanBarcode'],
resource: ['barcode'],
},
},
default: '',
required: true,
description: 'Public URL of the image to scan',
},
{
displayName: 'Webhook URL (Optional)',
name: 'webhookUrl',
type: 'string',
displayOptions: {
show: {
operation: ['scanBarcode'],
resource: ['barcode'],
},
},
default: '',
description: 'Webhook URL to receive the data after scanning the barcode',
}
];
//# sourceMappingURL=ScanBarcodeOperation.js.map