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 2.2.2 to 2.2.3

10

lib/convertPointOfSales.js

@@ -78,7 +78,13 @@ /*************************************************************************************

is_display_tax_amount: pointOfSales.getIsDisplayTaxAmount(),
default_campaign_uuid: pointOfSales.getDefaultCampaignUuid(),
default_opening_charge_uuid: pointOfSales.getDefaultOpeningChargeUuid(),
default_withdrawal_charge_uuid: pointOfSales.getDefaultWithdrawalChargeUuid(),
maximum_refund_allowed: getDecimalFromGRPC(
pointOfSales.getMaximumRefundAllowed()
),
maximum_daily_refund_allowed: getDecimalFromGRPC(
pointOfSales.getMaximumRefundAllowed()
maximum_discount_allowed: getDecimalFromGRPC(
pointOfSales.getMaximumDiscountAllowed()
),
write_off_amount_tolerance: getDecimalFromGRPC(
pointOfSales.getWriteOffAmtTolerance()
)

@@ -85,0 +91,0 @@ };

2

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

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

@@ -36,2 +36,46 @@ // GENERATED CODE -- DO NOT EDIT!

function serialize_data_CashClosing(arg) {
if (!(arg instanceof proto_point_of_sales_pb.CashClosing)) {
throw new Error('Expected argument of type data.CashClosing');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_CashClosing(buffer_arg) {
return proto_point_of_sales_pb.CashClosing.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_CashClosingRequest(arg) {
if (!(arg instanceof proto_point_of_sales_pb.CashClosingRequest)) {
throw new Error('Expected argument of type data.CashClosingRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_CashClosingRequest(buffer_arg) {
return proto_point_of_sales_pb.CashClosingRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_CashOpeningRequest(arg) {
if (!(arg instanceof proto_point_of_sales_pb.CashOpeningRequest)) {
throw new Error('Expected argument of type data.CashOpeningRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_CashOpeningRequest(buffer_arg) {
return proto_point_of_sales_pb.CashOpeningRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_CashWithdrawalRequest(arg) {
if (!(arg instanceof proto_point_of_sales_pb.CashWithdrawalRequest)) {
throw new Error('Expected argument of type data.CashWithdrawalRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_CashWithdrawalRequest(buffer_arg) {
return proto_point_of_sales_pb.CashWithdrawalRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_CreateCustomerBankAccountRequest(arg) {

@@ -411,2 +455,46 @@ if (!(arg instanceof proto_point_of_sales_pb.CreateCustomerBankAccountRequest)) {

function serialize_data_ListCashMovementsRequest(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListCashMovementsRequest)) {
throw new Error('Expected argument of type data.ListCashMovementsRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListCashMovementsRequest(buffer_arg) {
return proto_point_of_sales_pb.ListCashMovementsRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListCashMovementsResponse(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListCashMovementsResponse)) {
throw new Error('Expected argument of type data.ListCashMovementsResponse');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListCashMovementsResponse(buffer_arg) {
return proto_point_of_sales_pb.ListCashMovementsResponse.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListCashSummaryMovementsRequest(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListCashSummaryMovementsRequest)) {
throw new Error('Expected argument of type data.ListCashSummaryMovementsRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListCashSummaryMovementsRequest(buffer_arg) {
return proto_point_of_sales_pb.ListCashSummaryMovementsRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListCashSummaryMovementsResponse(arg) {
if (!(arg instanceof proto_point_of_sales_pb.ListCashSummaryMovementsResponse)) {
throw new Error('Expected argument of type data.ListCashSummaryMovementsResponse');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_data_ListCashSummaryMovementsResponse(buffer_arg) {
return proto_point_of_sales_pb.ListCashSummaryMovementsResponse.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_data_ListCustomerBankAccountsRequest(arg) {

@@ -1321,4 +1409,64 @@ if (!(arg instanceof proto_point_of_sales_pb.ListCustomerBankAccountsRequest)) {

},
// Cash Management
cashOpening: {
path: '/data.Store/cashOpening',
requestStream: false,
responseStream: false,
requestType: proto_point_of_sales_pb.CashOpeningRequest,
responseType: proto_base_data_type_pb.Empty,
requestSerialize: serialize_data_CashOpeningRequest,
requestDeserialize: deserialize_data_CashOpeningRequest,
responseSerialize: serialize_data_Empty,
responseDeserialize: deserialize_data_Empty,
},
// Cash Withdrawal
cashWithdrawal: {
path: '/data.Store/cashWithdrawal',
requestStream: false,
responseStream: false,
requestType: proto_point_of_sales_pb.CashWithdrawalRequest,
responseType: proto_base_data_type_pb.Empty,
requestSerialize: serialize_data_CashWithdrawalRequest,
requestDeserialize: deserialize_data_CashWithdrawalRequest,
responseSerialize: serialize_data_Empty,
responseDeserialize: deserialize_data_Empty,
},
// Cash Closing
cashClosing: {
path: '/data.Store/cashClosing',
requestStream: false,
responseStream: false,
requestType: proto_point_of_sales_pb.CashClosingRequest,
responseType: proto_point_of_sales_pb.CashClosing,
requestSerialize: serialize_data_CashClosingRequest,
requestDeserialize: deserialize_data_CashClosingRequest,
responseSerialize: serialize_data_CashClosing,
responseDeserialize: deserialize_data_CashClosing,
},
// List all cash movements
listCashMovements: {
path: '/data.Store/ListCashMovements',
requestStream: false,
responseStream: false,
requestType: proto_point_of_sales_pb.ListCashMovementsRequest,
responseType: proto_point_of_sales_pb.ListCashMovementsResponse,
requestSerialize: serialize_data_ListCashMovementsRequest,
requestDeserialize: deserialize_data_ListCashMovementsRequest,
responseSerialize: serialize_data_ListCashMovementsResponse,
responseDeserialize: deserialize_data_ListCashMovementsResponse,
},
// List Cash Summary
listCashSummaryMovements: {
path: '/data.Store/ListCashSummaryMovements',
requestStream: false,
responseStream: false,
requestType: proto_point_of_sales_pb.ListCashSummaryMovementsRequest,
responseType: proto_point_of_sales_pb.ListCashSummaryMovementsResponse,
requestSerialize: serialize_data_ListCashSummaryMovementsRequest,
requestDeserialize: deserialize_data_ListCashSummaryMovementsRequest,
responseSerialize: serialize_data_ListCashSummaryMovementsResponse,
responseDeserialize: deserialize_data_ListCashSummaryMovementsResponse,
},
};
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 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