Comparing version 0.0.9 to 0.0.11
@@ -49,6 +49,3 @@ (function() { | ||
AlmexApi.prototype.getStocks = function(id) { | ||
this.requests.stocks.xml = new XmlBuilder(this.requests.stocks.xml).buildWith({ | ||
id: id | ||
}); | ||
AlmexApi.prototype.getStocks = function() { | ||
return this._doRequest(this.requests.stocks).spread((function(_this) { | ||
@@ -55,0 +52,0 @@ return function(response) { |
@@ -34,3 +34,3 @@ (function() { | ||
referencias: valueOrDefault((_ref4 = order.notes) != null ? _ref4.substring(0, 300) : void 0), | ||
telefonoContacto1: valueOrDefault((_ref5 = order.contact.phoneNumber) != null ? _ref5.substring(0, 50) : void 0), | ||
telefonoContacto1: valueOrDefault((_ref5 = order.contact.phoneNumber) != null ? _ref5.substring(0, 20) : void 0), | ||
idPedido: order.id, | ||
@@ -37,0 +37,0 @@ partidaList: order.lines.map((function(_this) { |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "0.0.9", | ||
"version": "0.0.11", | ||
"main": "build/almexApi.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
21999
214