Comparing version 3.0.36 to 3.0.37
@@ -39,2 +39,3 @@ (function() { | ||
this.createOutputBean = __bind(this.createOutputBean, this); | ||
this.getInboundsToBeProcessed = __bind(this.getInboundsToBeProcessed, this); | ||
this.getExtraOutcomes = __bind(this.getExtraOutcomes, this); | ||
@@ -100,2 +101,5 @@ this.getPickingsAndChangeStatus = __bind(this.getPickingsAndChangeStatus, this); | ||
endpoint: "Jobs" | ||
}, | ||
asignaFactura: { | ||
endpoint: "Jobs" | ||
} | ||
@@ -357,3 +361,17 @@ }, (function(_this) { | ||
AlmexApi.prototype.getInboundsToBeProcessed = function() { | ||
return this._doRequest(this.requests.asignaFactura).then((function(_this) { | ||
return function(xml) { | ||
var inbounds; | ||
inbounds = _this._getResult(xml, "asignaFactura"); | ||
return inbounds.map(function(it) { | ||
return { | ||
id: it.idodc[0] | ||
}; | ||
}); | ||
}; | ||
})(this)); | ||
}; | ||
/* | ||
@@ -360,0 +378,0 @@ Create an output bean. |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "3.0.36", | ||
"version": "3.0.37", | ||
"main": "build/almexApi.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
76508
52
704