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

@adempiere/grpc-api

Package Overview
Dependencies
Maintainers
4
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 1.5.3 to 1.5.4

16

lib/convertBaseDataType.js

@@ -17,3 +17,3 @@ /*************************************************************************************

const convertBaseDataType = {
const convertBaseDataType = {
/**

@@ -164,2 +164,16 @@ * convert the value obtained from gRPC according to the type of value

// Convert List value from gRPC to JSON
convertListValue(listValue) {
if(listValue) {
console.log(listValue.getId())
return {
id: listValue.getId(),
uuid: listValue.getUuid(),
key: listValue.getKey(),
name: listValue.getName()
}
}
return undefined;
},
/**

@@ -166,0 +180,0 @@ * Convert criteria to json structure

2

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

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

@@ -146,2 +146,90 @@ // GENERATED CODE -- DO NOT EDIT!

function serialize_data_ListAvailableCurrenciesRequest(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListAvailableCurrenciesRequest)) {
throw new Error('Expected argument of type data.ListAvailableCurrenciesRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListAvailableCurrenciesRequest(buffer_arg) {
return proto_point_of_sales_pb.ListAvailableCurrenciesRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListAvailableCurrenciesResponse(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListAvailableCurrenciesResponse)) {
throw new Error('Expected argument of type data.ListAvailableCurrenciesResponse');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListAvailableCurrenciesResponse(buffer_arg) {
return proto_point_of_sales_pb.ListAvailableCurrenciesResponse.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListAvailablePriceListRequest(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListAvailablePriceListRequest)) {
throw new Error('Expected argument of type data.ListAvailablePriceListRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListAvailablePriceListRequest(buffer_arg) {
return proto_point_of_sales_pb.ListAvailablePriceListRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListAvailablePriceListResponse(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListAvailablePriceListResponse)) {
throw new Error('Expected argument of type data.ListAvailablePriceListResponse');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListAvailablePriceListResponse(buffer_arg) {
return proto_point_of_sales_pb.ListAvailablePriceListResponse.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListAvailableTenderTypesRequest(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListAvailableTenderTypesRequest)) {
throw new Error('Expected argument of type data.ListAvailableTenderTypesRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListAvailableTenderTypesRequest(buffer_arg) {
return proto_point_of_sales_pb.ListAvailableTenderTypesRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListAvailableTenderTypesResponse(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListAvailableTenderTypesResponse)) {
throw new Error('Expected argument of type data.ListAvailableTenderTypesResponse');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListAvailableTenderTypesResponse(buffer_arg) {
return proto_point_of_sales_pb.ListAvailableTenderTypesResponse.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListAvailableWarehousesRequest(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListAvailableWarehousesRequest)) {
throw new Error('Expected argument of type data.ListAvailableWarehousesRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListAvailableWarehousesRequest(buffer_arg) {
return proto_point_of_sales_pb.ListAvailableWarehousesRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListAvailableWarehousesResponse(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListAvailableWarehousesResponse)) {
throw new Error('Expected argument of type data.ListAvailableWarehousesResponse');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListAvailableWarehousesResponse(buffer_arg) {
return proto_point_of_sales_pb.ListAvailableWarehousesResponse.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListOrderLinesRequest(arg) {

@@ -622,4 +710,52 @@ if (!(arg instanceof proto_point_of_sales_pb.ListOrderLinesRequest)) {

},
// List of Available Warehouses
listAvailableWarehouses: {
path: '/data.Store/ListAvailableWarehouses',
requestStream: false,
responseStream: false,
requestType: proto_point_of_sales_pb.ListAvailableWarehousesRequest,
responseType: proto_point_of_sales_pb.ListAvailableWarehousesResponse,
requestSerialize: serialize_data_ListAvailableWarehousesRequest,
requestDeserialize: deserialize_data_ListAvailableWarehousesRequest,
responseSerialize: serialize_data_ListAvailableWarehousesResponse,
responseDeserialize: deserialize_data_ListAvailableWarehousesResponse,
},
// List of Available Tender Types
listAvailableTenderTypes: {
path: '/data.Store/ListAvailableTenderTypes',
requestStream: false,
responseStream: false,
requestType: proto_point_of_sales_pb.ListAvailableTenderTypesRequest,
responseType: proto_point_of_sales_pb.ListAvailableTenderTypesResponse,
requestSerialize: serialize_data_ListAvailableTenderTypesRequest,
requestDeserialize: deserialize_data_ListAvailableTenderTypesRequest,
responseSerialize: serialize_data_ListAvailableTenderTypesResponse,
responseDeserialize: deserialize_data_ListAvailableTenderTypesResponse,
},
// List of Available Price List
listAvailablePriceList: {
path: '/data.Store/ListAvailablePriceList',
requestStream: false,
responseStream: false,
requestType: proto_point_of_sales_pb.ListAvailablePriceListRequest,
responseType: proto_point_of_sales_pb.ListAvailablePriceListResponse,
requestSerialize: serialize_data_ListAvailablePriceListRequest,
requestDeserialize: deserialize_data_ListAvailablePriceListRequest,
responseSerialize: serialize_data_ListAvailablePriceListResponse,
responseDeserialize: deserialize_data_ListAvailablePriceListResponse,
},
// List of Available Currencies
listAvailableCurrencies: {
path: '/data.Store/ListAvailableCurrencies',
requestStream: false,
responseStream: false,
requestType: proto_point_of_sales_pb.ListAvailableCurrenciesRequest,
responseType: proto_point_of_sales_pb.ListAvailableCurrenciesResponse,
requestSerialize: serialize_data_ListAvailableCurrenciesRequest,
requestDeserialize: deserialize_data_ListAvailableCurrenciesRequest,
responseSerialize: serialize_data_ListAvailableCurrenciesResponse,
responseDeserialize: deserialize_data_ListAvailableCurrenciesResponse,
},
};
exports.StoreClient = grpc.makeGenericClientConstructor(StoreService);

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

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 too big to display

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