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

@adempiere/grpc-api

Package Overview
Dependencies
Maintainers
5
Versions
405
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adempiere/grpc-api - npm Package Compare versions

Comparing version 4.8.2 to 4.8.3

2

package.json
{
"name": "@adempiere/grpc-api",
"version": "4.8.2",
"version": "4.8.3",
"description": "ADempiere Web write in Javascript for a node service",

@@ -5,0 +5,0 @@ "author": "Yamel Senih",

@@ -600,10 +600,10 @@ /*************************************************************************************

/**
* Process Payment Allocation
* Process Bank Statement
* @param {string} token
* @param {number} currencyId
* @param {number} chargeId
* @param {number} transactionOrganizationId
* @param {Date} date
* @param {Array} paymentSelectionsList
* @param {Array} invoiceSelectionList
* @param {number} bankAccountId
* @param {number} bankStatementId
* @param {number} paymentAmountFrom
* @param {number} paymentAmountTo
* @param {Date} transactionDateFrom
* @param {Date} transactionDateTo
*/

@@ -618,5 +618,3 @@ processMovements({

transactionDateFrom,
transactionDateTo,
matchMode,
macthingSelectionsList = []
transactionDateTo
}, callback) {

@@ -649,19 +647,2 @@ const { ProcessMovementsRequest } = this.stubFile;

request.setMatchMode(
getValidInteger(matchMode)
);
const { getKeyValueSelectionToGRPC } = require('@adempiere/grpc-api/src/utils/baseDataTypeToGRPC.js');
// payment selections list
macthingSelectionsList.forEach(matchMovement => {
// selection format = { selectionId: number, selectionValues: [{ columName, value, valueType }] }
const convertedRecord = getKeyValueSelectionToGRPC({
selectionId: matchMovement.recordId,
selectionUuid: matchMovement.recordUuid,
selectionValues: matchMovement.attributesList
});
request.addMatchingMovements(convertedRecord);
});
const metadata = getMetadata({

@@ -668,0 +649,0 @@ token

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