feat: Add API support to gRPC-Data-Client v2-0.6. (#309)
* feat: Add API support to gRPC-Data-Client v2-0.6. * change method name.pull/3759/head
parent
f6e7118846
commit
232f34a064
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue