producteca-sdk
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -21,2 +21,3 @@ (function() { | ||
this._getProductsPageByPage = __bind(this._getProductsPageByPage, this); | ||
this.getSkus = __bind(this.getSkus, this); | ||
this.getBatch = __bind(this.getBatch, this); | ||
@@ -119,2 +120,15 @@ this.getWarehouses = __bind(this.getWarehouses, this); | ||
ProductsApi.prototype.getSkus = function(skip, top, moreQueryString) { | ||
if (skip == null) { | ||
skip = 0; | ||
} | ||
if (top == null) { | ||
top = 20; | ||
} | ||
if (moreQueryString == null) { | ||
moreQueryString = ""; | ||
} | ||
return this.respondMany(this.client.getAsync("/products/skus?$top=" + top + "&$skip=" + skip + "&" + moreQueryString)); | ||
}; | ||
ProductsApi.prototype._getProductsPageByPage = function(skip) { | ||
@@ -121,0 +135,0 @@ var TOP; |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"main": "build/sdk.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
@@ -0,0 +0,0 @@ # Producteca SDK |
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
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
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
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
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
61028
696