From 87ba27bd978b5fe3a0ede3689716b0b9c8205db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Scho=CC=88ps?= Date: Mon, 25 Nov 2019 17:49:59 +0100 Subject: [PATCH] New service --- src/Models/History.php | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/Models/History.php diff --git a/src/Models/History.php b/src/Models/History.php new file mode 100644 index 0000000..d67a9eb --- /dev/null +++ b/src/Models/History.php @@ -0,0 +1,36 @@ +get('history/cleanup/jobs'); + } + + public function getHistoryCleanupConfiguration() + { + return $this->get('history/cleanup/configuration'); + } + + public function findCleanupHistoryJob() + { + return $this->get('history/cleanup/job'); + } + + public function cleanupHistory() + { + return $this->post('history/cleanup'); + } + + public function processInstancesCount() + { + return $this->get('history/process-instance/count'); + } + + public function processInstances() + { + return $this->get('history/process-instance'); + } +}