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

almex-sdk

Package Overview
Dependencies
Maintainers
4
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

almex-sdk - npm Package Compare versions

Comparing version 3.0.27 to 3.0.28

build/resources/confirmacionOcCpy.xml

36

build/almexApi.js

@@ -40,3 +40,7 @@ (function() {

this.getIncomesFromCancellations = __bind(this.getIncomesFromCancellations, this);
this._confirmacionOc = __bind(this._confirmacionOc, this);
this.confirmacionOcCpy = __bind(this.confirmacionOcCpy, this);
this.confirmacionOc = __bind(this.confirmacionOc, this);
this._updateIncomesNoUpd = __bind(this._updateIncomesNoUpd, this);
this.updateIncomesNoUpdCpy = __bind(this.updateIncomesNoUpdCpy, this);
this.updateIncomesNoUpd = __bind(this.updateIncomesNoUpd, this);

@@ -76,5 +80,11 @@ this.getIncomes = __bind(this.getIncomes, this);

},
updateIncomesNoUpdCpy: {
endpoint: "Jobs"
},
confirmacionOc: {
endpoint: "Jobs"
},
confirmacionOcCpy: {
endpoint: "Jobs"
},
getIncomesCancelados: {

@@ -192,2 +202,10 @@ endpoint: "Jobs"

AlmexApi.prototype.updateIncomesNoUpd = function() {
return this._updateIncomesNoUpd("updateIncomesNoUpd");
};
AlmexApi.prototype.updateIncomesNoUpdCpy = function() {
return this._updateIncomesNoUpd("updateIncomesNoUpdCpy");
};
AlmexApi.prototype._updateIncomesNoUpd = function(method) {
return this._doRequest(this.requests.updateIncomesNoUpd).then((function(_this) {

@@ -198,3 +216,3 @@ return function(xml) {

try {
return this._getResult(xml, "updateIncomesNoUpd");
return this._getResult(xml, method);
} catch (_error) {}

@@ -217,4 +235,12 @@ }).call(_this)) || [];

AlmexApi.prototype.confirmacionOc = function(inboundId, idParcial) {
return this._confirmacionOc(inboundId, idParcial, "confirmacionOc");
};
AlmexApi.prototype.confirmacionOcCpy = function(inboundId, idParcial) {
return this._confirmacionOc(inboundId, idParcial, "confirmacionOcCpy");
};
AlmexApi.prototype._confirmacionOc = function(inboundId, idParcial, method) {
var confirmacionOcXml, request;
confirmacionOcXml = this.adaptConfirmacionOc(inboundId, idParcial);
confirmacionOcXml = this.adaptConfirmacionOc(inboundId, idParcial, method);
request = this.requests.confirmacionOc;

@@ -228,3 +254,3 @@ return this._doRequest(request, (function(_this) {

var statusCode;
statusCode = _this._getResult(xml, "confirmacionOc")[0]._;
statusCode = _this._getResult(xml, method)[0]._;
if (statusCode.indexOf("OK") === -1) {

@@ -426,4 +452,4 @@ throw new Error(JSON.stringify(xml));

AlmexApi.prototype.adaptConfirmacionOc = function(inboundId, idParcial) {
return new XmlBuilder(this.requests.confirmacionOc.xml).buildWith({
AlmexApi.prototype.adaptConfirmacionOc = function(inboundId, idParcial, method) {
return new XmlBuilder(this.requests[method].xml).buildWith({
inboundId: inboundId,

@@ -430,0 +456,0 @@ idParcial: idParcial

2

package.json

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

},
"version": "3.0.27",
"version": "3.0.28",
"main": "build/almexApi.js",

@@ -11,0 +11,0 @@ "dependencies": {

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