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.5.9 to 4.6.0

2

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

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

@@ -145,24 +145,2 @@ // GENERATED CODE -- DO NOT EDIT!

function serialize_import_file_loader_ProcessImportRequest(arg) {
if (!(arg instanceof proto_import_file_loader_pb.ProcessImportRequest)) {
throw new Error('Expected argument of type import_file_loader.ProcessImportRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_import_file_loader_ProcessImportRequest(buffer_arg) {
return proto_import_file_loader_pb.ProcessImportRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_import_file_loader_ProcessImportResponse(arg) {
if (!(arg instanceof proto_import_file_loader_pb.ProcessImportResponse)) {
throw new Error('Expected argument of type import_file_loader.ProcessImportResponse');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_import_file_loader_ProcessImportResponse(buffer_arg) {
return proto_import_file_loader_pb.ProcessImportResponse.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_import_file_loader_SaveRecordsRequest(arg) {

@@ -282,15 +260,4 @@ if (!(arg instanceof proto_import_file_loader_pb.SaveRecordsRequest)) {

},
processImport: {
path: '/import_file_loader.ImportFileLoader/ProcessImport',
requestStream: false,
responseStream: false,
requestType: proto_import_file_loader_pb.ProcessImportRequest,
responseType: proto_import_file_loader_pb.ProcessImportResponse,
requestSerialize: serialize_import_file_loader_ProcessImportRequest,
requestDeserialize: deserialize_import_file_loader_ProcessImportRequest,
responseSerialize: serialize_import_file_loader_ProcessImportResponse,
responseDeserialize: deserialize_import_file_loader_ProcessImportResponse,
},
};
exports.ImportFileLoaderClient = grpc.makeGenericClientConstructor(ImportFileLoaderService);

@@ -18,3 +18,3 @@ /*************************************************************************************

const { getMetadata } = require('@adempiere/grpc-api/src/utils/metadata.js');
const { getValidInteger } = require('@adempiere/grpc-api/src/utils/valueUtils.js');
const { isEmptyValue, getValidInteger } = require('@adempiere/grpc-api/src/utils/valueUtils.js');

@@ -139,2 +139,4 @@ class ImportFileLoader {

searchValue,
tableId,
tableName,
// Page Data

@@ -147,2 +149,7 @@ pageSize,

request.setTableId(
getValidInteger(tableId)
);
request.setTableName(tableName);
request.setSearchValue(searchValue);

@@ -168,2 +175,4 @@ request.setPageSize(

// DSL
tableId,
tableName,
searchValue,

@@ -177,2 +186,7 @@ // Page Data

request.setTableId(
getValidInteger(tableId)
);
request.setTableName(tableName);
request.setSearchValue(searchValue);

@@ -320,26 +334,4 @@ request.setPageSize(

processImport({
token,
// DSL
importFormatId
}, callback) {
const { ListCharsetsRequest } = this.stubFile;
const request = new ListCharsetsRequest();
request.setImportFormatId(
getValidInteger(importFormatId)
);
const metadata = getMetadata({
token
});
this.getImportFileLoaderService().listCharsets(
request,
metadata,
callback
);
}
}
module.exports = ImportFileLoader;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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