n8n-nodes-sevdesk-v2
Version:
n8n community node for SevDesk API v2 integration with 24 production-ready workflow templates. Direct API access without external dependencies - simplified, secure, and optimized for German accounting automation (n8n 1.101.1 compatible).
50 lines (49 loc) • 1.43 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.voucherPosFields = exports.voucherPosOperations = void 0;
exports.voucherPosOperations = [
{
displayName: "Operation",
name: "operation",
type: "options",
noDataExpression: true,
options: [
{
name: "Get Many",
value: "getMany",
action: "Get many voucher pos",
routing: {
request: {
method: "GET",
url: "/VoucherPos",
qs: {
"voucher[id]": "={{$parameter.voucherId}}",
"voucher[objectName]": "Voucher",
},
},
output: {
postReceive: [
{ type: "rootProperty", properties: { property: "objects" } },
],
},
},
},
],
default: "getMany",
},
];
exports.voucherPosFields = [
{
displayName: "Voucher ID",
name: "voucherId",
type: "string",
default: "",
required: true,
displayOptions: {
show: {
resource: ["voucherPos"],
operation: ["getMany"],
},
},
},
];