diff --git a/app/modules/Sentry/Application/DTO/Type.php b/app/modules/Sentry/Application/DTO/Type.php index 1230eaff..b59d5fea 100644 --- a/app/modules/Sentry/Application/DTO/Type.php +++ b/app/modules/Sentry/Application/DTO/Type.php @@ -8,6 +8,7 @@ enum Type { case Event; case Transaction; + case Session; case ReplyEvent; case ReplayRecording; case Span; diff --git a/app/modules/Sentry/Application/DTO/TypeChunk.php b/app/modules/Sentry/Application/DTO/TypeChunk.php index 7a09fbb6..88af3a48 100644 --- a/app/modules/Sentry/Application/DTO/TypeChunk.php +++ b/app/modules/Sentry/Application/DTO/TypeChunk.php @@ -12,6 +12,7 @@ public function type(): Type 'event' => Type::Event, 'span' => Type::Span, 'transaction' => Type::Transaction, + 'session' => Type::Session, 'replay_event' => Type::ReplyEvent, 'replay_recording' => Type::ReplayRecording, default => throw new \InvalidArgumentException('Invalid type: ' . $this->data['type']),