mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Update webhooks
This commit is contained in:
@@ -24,5 +24,6 @@ namespace FireflyIII\Enums;
|
||||
|
||||
enum WebhookDelivery: int
|
||||
{
|
||||
//case XML = 200;
|
||||
case JSON = 300;
|
||||
}
|
||||
|
@@ -27,4 +27,5 @@ enum WebhookResponse: int
|
||||
case TRANSACTIONS = 200;
|
||||
case ACCOUNTS = 210;
|
||||
case NONE = 220;
|
||||
|
||||
}
|
||||
|
@@ -22,9 +22,15 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Enums;
|
||||
|
||||
/**
|
||||
* Class WebhookTrigger
|
||||
*/
|
||||
enum WebhookTrigger: int
|
||||
{
|
||||
case STORE_TRANSACTION = 100;
|
||||
//case BEFORE_STORE_TRANSACTION = 101;
|
||||
case UPDATE_TRANSACTION = 110;
|
||||
//case BEFORE_UPDATE_TRANSACTION = 111;
|
||||
case DESTROY_TRANSACTION = 120;
|
||||
//case BEFORE_DESTROY_TRANSACTION = 121;
|
||||
}
|
||||
|
Reference in New Issue
Block a user