diff --git a/package.json b/package.json index c2064e89..523029d6 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ }, "dependencies": { "@adempiere/grpc-access-client": "^1.1.8", - "@adempiere/grpc-data-client": "^2.0.5", + "@adempiere/grpc-data-client": "^2.0.6", "@adempiere/grpc-dictionary-client": "^1.3.5", "@adempiere/grpc-enrollment-client": "^1.0.7", "autoprefixer": "^9.5.1", diff --git a/src/api/ADempiere/data.js b/src/api/ADempiere/data.js index c91565ce..3eab8864 100644 --- a/src/api/ADempiere/data.js +++ b/src/api/ADempiere/data.js @@ -380,7 +380,7 @@ export function requestLanguages({ pageToken, pageSize }) { * @param {integer} recordId */ export function requestTranslations({ tableName, language, recordUuid, recordId, pageToken, pageSize }) { - return Instance.call(this).requestTranslations({ + return Instance.call(this).requestListTranslations({ tableName, recordUuid, recordId, @@ -457,6 +457,7 @@ export function requestListWorkflows({ pageSize }) } + /** * @param {string} tableName * @param {integer} recordId @@ -484,6 +485,7 @@ export function requestListChatEntries({ uuid, pageToken, pageSize }) { pageSize }) } + /** * @param {string} tableName * @param {string} recordId @@ -496,3 +498,25 @@ export function requestCreateChatEntry({ tableName, recordId, comment }) { comment }) } + +/** + * Request Document Actions List + * @param {string} tableName + * @param {number} recordId + * @param {string} recordUuid + * @param {string} documentStatus + * @param {string} documentAction + * @param {number} pageSize + * @param {string} pageToken + */ +export function requestListDocumentActions({ tableName, recordId, recordUuid, documentStatus, documentAction, pageSize, pageToken }) { + return Instance.call(this).requestListDocumentActions({ + tableName, + recordId, + recordUuid, + documentStatus, + documentAction, + pageSize, + pageToken + }) +}