@adempiere/grpc-api
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -312,2 +312,26 @@ /************************************************************************************* | ||
convertWorkflowActivityFromGRPC(workflowActivity) { | ||
if (workflowActivity) { | ||
return { | ||
uuid: workflowActivity.getUuid(), | ||
id: workflowActivity.getId(), | ||
table_name: workflowActivity.getTableName(), | ||
record_uuid: workflowActivity.getRecordUuid(), | ||
user_uuid: workflowActivity.getUserUuid(), | ||
user_name: workflowActivity.getUserName(), | ||
responsible_uuid: workflowActivity.getResponsibleUuid(), | ||
responsible_name: workflowActivity.getResponsibleName(), | ||
text_message: workflowActivity.getTextMessage(), | ||
priority: workflowActivity.getPriority(), | ||
processed: workflowActivity.getProcessed(), | ||
created: workflowActivity.getCreated(), | ||
last_alert: workflowActivity.getLastAlert(), | ||
workflow_process: convertBusinessData.convertWorkflowProcessFomGRPC(workflowActivity.getWorkflowProcess()), | ||
workflow: convertBusinessData.convertWorkflowDefinitionFromGRPC(workflowActivity.getWorkflow()), | ||
node: convertBusinessData.convertWorkflowNodeFromGRPC(workflowActivity.getNode()) | ||
}; | ||
} | ||
return undefined; | ||
}, | ||
convertWorkflowDefinitionFromGRPC(workflow) { | ||
@@ -314,0 +338,0 @@ if (workflow) { |
{ | ||
"name": "@adempiere/grpc-api", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "ADempiere Web Store write in Javascript for a node service", | ||
@@ -5,0 +5,0 @@ "author": "Yamel Senih", |
@@ -662,2 +662,24 @@ // GENERATED CODE -- DO NOT EDIT! | ||
function serialize_data_ListWorkflowActivitiesRequest(arg) { | ||
if (!(arg instanceof proto_business_pb.ListWorkflowActivitiesRequest)) { | ||
throw new Error('Expected argument of type data.ListWorkflowActivitiesRequest'); | ||
} | ||
return Buffer.from(arg.serializeBinary()); | ||
} | ||
function deserialize_data_ListWorkflowActivitiesRequest(buffer_arg) { | ||
return proto_business_pb.ListWorkflowActivitiesRequest.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_data_ListWorkflowActivitiesResponse(arg) { | ||
if (!(arg instanceof proto_business_pb.ListWorkflowActivitiesResponse)) { | ||
throw new Error('Expected argument of type data.ListWorkflowActivitiesResponse'); | ||
} | ||
return Buffer.from(arg.serializeBinary()); | ||
} | ||
function deserialize_data_ListWorkflowActivitiesResponse(buffer_arg) { | ||
return proto_business_pb.ListWorkflowActivitiesResponse.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_data_ListWorkflowLogsRequest(arg) { | ||
@@ -1303,2 +1325,14 @@ if (!(arg instanceof proto_business_pb.ListWorkflowLogsRequest)) { | ||
}, | ||
// List Workflow Activities | ||
listWorkflowActivities: { | ||
path: '/data.Workflow/ListWorkflowActivities', | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: proto_business_pb.ListWorkflowActivitiesRequest, | ||
responseType: proto_business_pb.ListWorkflowActivitiesResponse, | ||
requestSerialize: serialize_data_ListWorkflowActivitiesRequest, | ||
requestDeserialize: deserialize_data_ListWorkflowActivitiesRequest, | ||
responseSerialize: serialize_data_ListWorkflowActivitiesResponse, | ||
responseDeserialize: deserialize_data_ListWorkflowActivitiesResponse, | ||
}, | ||
}; | ||
@@ -1305,0 +1339,0 @@ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2538311
73901