-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Bitrix24Account Events and update documentation
Signed-off-by: mesilov <mesilov.maxim@gmail.com>
- Loading branch information
Showing
9 changed files
with
173 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...pplication/Contracts/Bitrix24Accounts/Events/Bitrix24AccountApplicationInstalledEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Events; | ||
|
||
use Carbon\CarbonImmutable; | ||
use Symfony\Component\Uid\Uuid; | ||
use Symfony\Contracts\EventDispatcher\Event; | ||
|
||
class Bitrix24AccountApplicationInstalledEvent extends Event | ||
{ | ||
public function __construct( | ||
public readonly Uuid $bitrix24AccountId, | ||
public readonly CarbonImmutable $timestamp) | ||
{ | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...lication/Contracts/Bitrix24Accounts/Events/Bitrix24AccountApplicationUninstalledEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Events; | ||
|
||
use Carbon\CarbonImmutable; | ||
use Symfony\Component\Uid\Uuid; | ||
use Symfony\Contracts\EventDispatcher\Event; | ||
|
||
class Bitrix24AccountApplicationUninstalledEvent extends Event | ||
{ | ||
public function __construct( | ||
public readonly Uuid $bitrix24AccountId, | ||
public readonly CarbonImmutable $timestamp | ||
) | ||
{ | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ation/Contracts/Bitrix24Accounts/Events/Bitrix24AccountApplicationVersionUpdatedEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Events; | ||
|
||
use Carbon\CarbonImmutable; | ||
use Symfony\Component\Uid\Uuid; | ||
use Symfony\Contracts\EventDispatcher\Event; | ||
|
||
class Bitrix24AccountApplicationVersionUpdatedEvent extends Event | ||
{ | ||
public function __construct( | ||
public readonly Uuid $bitrix24AccountId, | ||
public readonly CarbonImmutable $timestamp) | ||
{ | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/Application/Contracts/Bitrix24Accounts/Events/Bitrix24AccountBlockedEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Events; | ||
|
||
use Carbon\CarbonImmutable; | ||
use Symfony\Component\Uid\Uuid; | ||
use Symfony\Contracts\EventDispatcher\Event; | ||
|
||
class Bitrix24AccountBlockedEvent extends Event | ||
{ | ||
public function __construct( | ||
public readonly Uuid $bitrix24AccountId, | ||
public readonly CarbonImmutable $timestamp) | ||
{ | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/Application/Contracts/Bitrix24Accounts/Events/Bitrix24AccountCreatedEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Events; | ||
|
||
use Carbon\CarbonImmutable; | ||
use Symfony\Component\Uid\Uuid; | ||
use Symfony\Contracts\EventDispatcher\Event; | ||
|
||
class Bitrix24AccountCreatedEvent extends Event | ||
{ | ||
public function __construct( | ||
public readonly Uuid $bitrix24AccountId, | ||
public readonly CarbonImmutable $timestamp) | ||
{ | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/Application/Contracts/Bitrix24Accounts/Events/Bitrix24AccountDeletedEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Events; | ||
|
||
use Carbon\CarbonImmutable; | ||
use Symfony\Component\Uid\Uuid; | ||
use Symfony\Contracts\EventDispatcher\Event; | ||
|
||
class Bitrix24AccountDeletedEvent extends Event | ||
{ | ||
public function __construct( | ||
public readonly Uuid $bitrix24AccountId, | ||
public readonly CarbonImmutable $timestamp) | ||
{ | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/Application/Contracts/Bitrix24Accounts/Events/Bitrix24AccountDomainUrlChangedEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Events; | ||
|
||
use Carbon\CarbonImmutable; | ||
use Symfony\Component\Uid\Uuid; | ||
use Symfony\Contracts\EventDispatcher\Event; | ||
|
||
class Bitrix24AccountDomainUrlChangedEvent extends Event | ||
{ | ||
public function __construct( | ||
public readonly Uuid $bitrix24AccountId, | ||
public readonly CarbonImmutable $timestamp) | ||
{ | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/Application/Contracts/Bitrix24Accounts/Events/Bitrix24AccountUnblockedEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Events; | ||
|
||
use Carbon\CarbonImmutable; | ||
use Symfony\Component\Uid\Uuid; | ||
use Symfony\Contracts\EventDispatcher\Event; | ||
|
||
class Bitrix24AccountUnblockedEvent extends Event | ||
{ | ||
public function __construct( | ||
public readonly Uuid $bitrix24AccountId, | ||
public readonly CarbonImmutable $timestamp) | ||
{ | ||
} | ||
} |