Skip to content

Commit 5230866

Browse files
committed
[enums] add app:started webhook event
1 parent 0b82b6a commit 5230866

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/Enums/WebhookEvent.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ final class WebhookEvent {
88
public const SMS_DELIVERED = 'sms:delivered';
99
public const SMS_FAILED = 'sms:failed';
1010
public const SYSTEM_PING = 'system:ping';
11+
public const APP_STARTED = 'app:started';
1112

1213
private const _ALL_ = [
1314
self::SMS_RECEIVED,
1415
self::SMS_SENT,
1516
self::SMS_DELIVERED,
1617
self::SMS_FAILED,
1718
self::SYSTEM_PING,
19+
self::APP_STARTED,
1820
];
1921

2022
private string $value;
@@ -47,6 +49,10 @@ public static function SYSTEM_PING(): self {
4749
return new self(self::SYSTEM_PING);
4850
}
4951

52+
public static function APP_STARTED(): self {
53+
return new self(self::APP_STARTED);
54+
}
55+
5056
public static function FromValue(string $value): self {
5157
return new self($value);
5258
}

0 commit comments

Comments
 (0)