producteca-sdk
Advanced tools
Comparing version 7.7.0 to 7.8.0
@@ -39,3 +39,5 @@ (function() { | ||
this.create = bind(this.create, this); | ||
this.findByVariationIntegrationId = bind(this.findByVariationIntegrationId, this); | ||
this.findByVariationSku = bind(this.findByVariationSku, this); | ||
this.findByIntegrationId = bind(this.findByIntegrationId, this); | ||
this.findByCode = bind(this.findByCode, this); | ||
@@ -70,2 +72,9 @@ this.getMany = bind(this.getMany, this); | ||
ProductsApi.prototype.findByIntegrationId = function(app, integrationId, $select) { | ||
return this._findMany("/products/byintegration", { | ||
integrationId: integrationId, | ||
app: app | ||
}, $select); | ||
}; | ||
ProductsApi.prototype.findByVariationSku = function(sku, $select) { | ||
@@ -77,2 +86,6 @@ return this._findMany("/products/bysku", { | ||
ProductsApi.prototype.findByVariationIntegrationId = function(integrationId, $select) { | ||
return this._findMany("/products/byvariationintegration/" + integrationId, {}, $select); | ||
}; | ||
ProductsApi.prototype.create = function(product, opts) { | ||
@@ -79,0 +92,0 @@ return this.client.postAsync("/products", product, opts); |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "7.7.0", | ||
"version": "7.8.0", | ||
"main": "build/sdk.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
63320
867