Skip to content

Commit

Permalink
Add bizprocActivityList method
Browse files Browse the repository at this point in the history
  • Loading branch information
crazybee69 committed Apr 7, 2024
1 parent 4584048 commit 9c00186
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "crazybee47/laravel-bitrix24",
"description": "Laravel wrapper around OAuth2 Bitrix24 Rest API Application",
"type": "library",
"version": "1.0.9.9",
"version": "1.0.10",
"license": "MIT",
"require": {
"php": "^8.1",
Expand Down
5 changes: 5 additions & 0 deletions src/Feature/BusinessProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ public function bizprocActivityDelete(string $code): void
$this->getApiClient()->call('bizproc.activity.delete', ['CODE' => $code]);
}

public function bizprocActivityList(): array
{
return $this->loadRecords('bizproc.activity.list', []);
}

public function bizprocActivityLog(string $eventToken, string $message): void
{
$this->getApiClient()->call('bizproc.activity.log', ['EVENT_TOKEN' => $eventToken, 'LOG_MESSAGE' => $message]);
Expand Down

0 comments on commit 9c00186

Please sign in to comment.