Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

producteca-sdk

Package Overview
Dependencies
Maintainers
7
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

producteca-sdk - npm Package Compare versions

Comparing version 7.1.1 to 7.2.0

2

build/brandsApi.js

@@ -35,3 +35,3 @@ (function() {

BrandsApi.prototype["delete"] = function(id) {
return this.client.delAsync("/brands/" + id);
return this.client.deleteAsync("/brands/" + id);
};

@@ -38,0 +38,0 @@

@@ -17,3 +17,3 @@ (function() {

this._doRequest = bind(this._doRequest, this);
this.delAsync = bind(this.delAsync, this);
this.deleteAsync = bind(this.deleteAsync, this);
this.putAsync = bind(this.putAsync, this);

@@ -47,3 +47,3 @@ this.postAsync = bind(this.postAsync, this);

Client.prototype.delAsync = function(path) {
Client.prototype.deleteAsync = function(path) {
return this._doRequest({

@@ -50,0 +50,0 @@ verb: "DELETE",

@@ -13,2 +13,3 @@ (function() {

function ContactsApi() {
this.getByIntegration = bind(this.getByIntegration, this);
this.update = bind(this.update, this);

@@ -27,2 +28,8 @@ this.create = bind(this.create, this);

ContactsApi.prototype.getByIntegration = function(app, integrationId) {
return this.client.getAsync("/contacts", {
$filter: "profile/integrationId eq " + integrationId + "&profile/app eq " + app
});
};
return ContactsApi;

@@ -29,0 +36,0 @@

@@ -34,2 +34,4 @@ (function() {

this.createVariations = bind(this.createVariations, this);
this.updateIntegration = bind(this.updateIntegration, this);
this.createIntegration = bind(this.createIntegration, this);
this.create = bind(this.create, this);

@@ -76,2 +78,14 @@ this.findByVariationSku = bind(this.findByVariationSku, this);

ProductsApi.prototype.createIntegration = function(productId, integration) {
var url;
url = "/products/" + productId + "/integrations";
return this.client.postAsync(url, integration);
};
ProductsApi.prototype.updateIntegration = function(productId, integration) {
var url;
url = "/products/" + productId + "/integrations";
return this.client.putAsync(url, integration);
};
ProductsApi.prototype.createVariations = function(productId, variations) {

@@ -78,0 +92,0 @@ var url;

@@ -119,3 +119,3 @@ (function() {

SalesOrdersApi.prototype.deleteShipment = function(salesOrderId, shipmentId) {
return this.client.delAsync("/salesorders/" + salesOrderId + "/shipments/" + shipmentId);
return this.client.deleteAsync("/salesorders/" + salesOrderId + "/shipments/" + shipmentId);
};

@@ -132,3 +132,3 @@

SalesOrdersApi.prototype.deletePayment = function(salesOrderId, paymentId) {
return this.client.delAsync("/salesorders/" + salesOrderId + "/payments/" + paymentId);
return this.client.deleteAsync("/salesorders/" + salesOrderId + "/payments/" + paymentId);
};

@@ -135,0 +135,0 @@

@@ -8,3 +8,3 @@ {

},
"version": "7.1.1",
"version": "7.2.0",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc