producteca-sdk
Advanced tools
Comparing version 0.0.35 to 0.0.36
@@ -37,5 +37,6 @@ (function() { | ||
this["return"] = __bind(this["return"], this); | ||
this.getShipment = __bind(this.getShipment, this); | ||
this.updateShipmentStatus = __bind(this.updateShipmentStatus, this); | ||
this.updateShipment = __bind(this.updateShipment, this); | ||
this.createShipment = __bind(this.createShipment, this); | ||
this.getShipment = __bind(this.getShipment, this); | ||
this.createProduct = __bind(this.createProduct, this); | ||
@@ -133,2 +134,6 @@ this.updateProduct = __bind(this.updateProduct, this); | ||
ProductecaApi.prototype.getShipment = function(salesOrderId, shipmentId) { | ||
return this["return"](this.client.getAsync("/salesorders/" + salesOrderId + "/shipments/" + shipmentId)); | ||
}; | ||
ProductecaApi.prototype.createShipment = function(salesOrderId, shipment) { | ||
@@ -142,4 +147,4 @@ return this["return"](this.client.postAsync("/salesorders/" + salesOrderId + "/shipments", shipment)); | ||
ProductecaApi.prototype.getShipment = function(salesOrderId, shipmentId) { | ||
return this["return"](this.client.getAsync("/salesorders/" + salesOrderId + "/shipments/" + shipmentId)); | ||
ProductecaApi.prototype.updateShipmentStatus = function(salesOrderId, shipmentId, statusDto) { | ||
return this["return"](this.client.putAsync("/salesorders/" + salesOrderId + "/shipments/" + shipmentId + "/status", statusDto)); | ||
}; | ||
@@ -146,0 +151,0 @@ |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"main": "build/sdk.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
75795
1284