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.0 to 4.5.1

2

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

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

@@ -264,4 +264,15 @@ // GENERATED CODE -- DO NOT EDIT!

},
// List Identifiers Fields
listIdentifiersFields: {
// List Search Info Fields
listSearchInfoFields: {
path: '/dictionary.Dictionary/ListSearchInfoFields',
requestStream: false,
responseStream: false,
requestType: proto_dictionary_pb.ListFieldsRequest,
responseType: proto_dictionary_pb.ListFieldsResponse,
requestSerialize: serialize_dictionary_ListFieldsRequest,
requestDeserialize: deserialize_dictionary_ListFieldsRequest,
responseSerialize: serialize_dictionary_ListFieldsResponse,
responseDeserialize: deserialize_dictionary_ListFieldsResponse,
},
listIdentifiersFields: {
path: '/dictionary.Dictionary/ListIdentifiersFields',

@@ -277,4 +288,3 @@ requestStream: false,

},
// List Selections Fields
listTableSearchFields: {
listTableSearchFields: {
path: '/dictionary.Dictionary/ListTableSearchFields',

@@ -281,0 +291,0 @@ requestStream: false,

/*************************************************************************************
* Product: ADempiere gRPC Dictionary Client *
* Copyright (C) 2012-2023 E.R.P. Consultores y Asociados, C.A. *
* Copyright (C) 2018-2023 E.R.P. Consultores y Asociados, C.A. *
* Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com *

@@ -18,2 +18,3 @@ * This program is free software: you can redistribute it and/or modify *

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

@@ -255,8 +256,7 @@ class Dictionary {

request.setTableUuid(tableUuid);
request.setTableId(tableId);
request.setTableId(
getValidInteger(tableId)
);
request.setTableName(tableName);
request.setTabUuid(tabUuid);
request.setTabId(tabId);
const metadata = getMetadata({

@@ -278,5 +278,3 @@ token

tableId,
tableName,
tabUuid,
tabId
tableName
}, callback) {

@@ -287,8 +285,7 @@ const { ListFieldsRequest } = this.stubFile;

request.setTableUuid(tableUuid);
request.setTableId(tableId);
request.setTableId(
getValidInteger(tableId)
);
request.setTableName(tableName);
request.setTabUuid(tabUuid);
request.setTabId(tabId);
const metadata = getMetadata({

@@ -305,4 +302,37 @@ token

/**
* List Search Info Fields
* @param {String} tableUuid
* @param {Number} tableId
* @param {String} tableName
*/
listSearchInfoFields({
token,
tableUuid,
tableId,
tableName
}, callback) {
const { ListFieldsRequest } = this.stubFile;
const request = new ListFieldsRequest();
request.setTableUuid(tableUuid);
request.setTableId(
getValidInteger(tableId)
);
request.setTableName(tableName);
const metadata = getMetadata({
token
});
this.getDictionaryService().listSearchInfoFields(
request,
metadata,
callback
);
}
}
module.exports = Dictionary;

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