Action-based hooks

The function call running the Hook is:

 @param {OpenAPIClientAxios} api - API client to call Nedap Harmony APIs
 @param {string} workspaceId - identifier of the current workspace, used in the APIs
 @param {ReadPointAction} action - action that is the input of the hook
 @param {object} variables - object with workspace variables, containing for example security tokens
 @param {function} cb - function (err, data) - NodeJS-style callback

module.exports = async ({api, workspaceId, action, variables}) => {
  console.log('Script execution done.')