n8n-nodes-dataforb2b 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -447,8 +447,8 @@ class DataForB2B {
|
|
|
447
447
|
const conditions = (peopleFilters.conditions || []).map((cond) => {
|
|
448
448
|
const apiOperator = operatorMap[cond.operator] || cond.operator;
|
|
449
449
|
const condition = {
|
|
450
|
-
|
|
451
|
-
|
|
450
|
+
column: cond.field,
|
|
451
|
+
type: apiOperator,
|
|
452
452
|
value: apiOperator === "in" || apiOperator === "not_in"
|
|
453
453
|
? cond.value.split(",").map((v) => v.trim())
|
|
454
454
|
: cond.value,
|
|
@@ -461,7 +461,6 @@ class DataForB2B {
|
|
|
461
461
|
body = {
|
|
462
462
|
filters: { op: filterLogic, conditions },
|
|
463
463
|
count: this.getNodeParameter("count", i),
|
|
464
|
-
offset: this.getNodeParameter("offset", i),
|
|
465
464
|
};
|
|
466
465
|
break;
|
|
467
466
|
}
|
|
@@ -472,8 +471,8 @@ class DataForB2B {
|
|
|
472
471
|
const conditions = (companyFilters.conditions || []).map((cond) => {
|
|
473
472
|
const apiOperator = operatorMap[cond.operator] || cond.operator;
|
|
474
473
|
const condition = {
|
|
475
|
-
|
|
476
|
-
|
|
474
|
+
column: cond.field,
|
|
475
|
+
type: apiOperator,
|
|
477
476
|
value: apiOperator === "in" || apiOperator === "not_in"
|
|
478
477
|
? cond.value.split(",").map((v) => v.trim())
|
|
479
478
|
: cond.value,
|
|
@@ -486,7 +485,6 @@ class DataForB2B {
|
|
|
486
485
|
body = {
|
|
487
486
|
filters: { op: filterLogic, conditions },
|
|
488
487
|
count: this.getNodeParameter("count", i),
|
|
489
|
-
offset: this.getNodeParameter("offset", i),
|
|
490
488
|
};
|
|
491
489
|
break;
|
|
492
490
|
}
|