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).
70 lines (69 loc) • 2.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.orderPoFields = exports.orderPoOperations = void 0;
exports.orderPoOperations = [
{
displayName: "Operation",
name: "operation",
type: "options",
noDataExpression: true,
displayOptions: {
show: {
resource: ["orderPo"],
},
},
options: [
{
name: "Get Many",
value: "getMany",
description: "Get many order positions",
action: "Get many order positions",
routing: {
request: {
method: "GET",
url: "/OrderPos",
qs: {
"order[id]": "={{$parameter.filters.orderId}}",
"order[objectName]": "Order",
},
},
output: {
postReceive: [
{
type: "rootProperty",
properties: {
property: "objects",
},
},
],
},
},
},
],
default: "getMany",
},
];
exports.orderPoFields = [
{
displayName: "Filters",
name: "filters",
type: "collection",
placeholder: "Add Filter",
default: {},
displayOptions: {
show: {
resource: ["orderPo"],
operation: ["getMany"],
},
},
options: [
{
displayName: "Order ID",
name: "orderId",
type: "string",
default: "",
description: "The ID of the order to retrieve positions for",
},
],
},
];