Skip to content

Commit 1997f23

Browse files
committed
hooks: add 'EVENT_TYPE_TRACKING'
1 parent 121ef74 commit 1997f23

File tree

3 files changed

+68
-61
lines changed

3 files changed

+68
-61
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"authors": [
33
{
4-
"name": "sms77 e.K.",
54
"email": "[email protected]",
65
"homepage": "https://www.sms77.io",
6+
"name": "sms77 e.K.",
77
"role": "Developer"
88
}
99
],

composer.lock

Lines changed: 64 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Constant/HooksConstants.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ class HooksConstants {
1717
public const EVENT_TYPE_SMS_INBOUND = 'sms_mo';
1818
public const EVENT_TYPE_SMS_STATUS = 'dlr';
1919
public const EVENT_TYPE_VOICE_STATUS = 'voice_status';
20+
public const EVENT_TYPE_TRACKING = 'tracking';
2021

2122
public const EVENT_TYPES = [
2223
self::EVENT_TYPE_ALL,
2324
self::EVENT_TYPE_SMS_INBOUND,
2425
self::EVENT_TYPE_SMS_STATUS,
2526
self::EVENT_TYPE_VOICE_STATUS,
27+
self::EVENT_TYPE_TRACKING,
2628
];
2729

2830
public const REQUEST_METHOD_GET = 'GET';
@@ -35,4 +37,4 @@ class HooksConstants {
3537
self::REQUEST_METHOD_JSON,
3638
self::REQUEST_METHOD_GET,
3739
];
38-
}
40+
}

0 commit comments

Comments
 (0)