File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88use Keboola \NotificationClient \ClientFactory ;
99use Keboola \NotificationClient \Exception \ClientException ;
1010use Keboola \NotificationClient \Requests \PostEvent \JobFailedEventData ;
11+ use Keboola \NotificationClient \Requests \PostEvent \JobProcessingLongEventData ;
1112use Keboola \NotificationClient \Requests \PostEvent \JobSucceededWithWarningEventData ;
1213use Keboola \NotificationClient \Requests \PostSubscription \EmailRecipient ;
1314use Keboola \NotificationClient \Requests \PostSubscription \Filter ;
@@ -54,6 +55,7 @@ private function checkEventType(string $eventType): void
5455 $ validEventTypes = [
5556 JobFailedEventData::getEventTypeName (),
5657 JobSucceededWithWarningEventData::getEventTypeName (),
58+ JobProcessingLongEventData::getEventTypeName (),
5759 ];
5860
5961 if (!in_array ($ eventType , $ validEventTypes )) {
You can’t perform that action at this time.
0 commit comments