diff --git a/fishjam/_openapi_client/models/room_config_room_type.py b/fishjam/_openapi_client/models/room_config_room_type.py index 1eff10c..2465e6b 100644 --- a/fishjam/_openapi_client/models/room_config_room_type.py +++ b/fishjam/_openapi_client/models/room_config_room_type.py @@ -5,6 +5,7 @@ class RoomConfigRoomType(str, Enum): """The use-case of the room. If not provided, this defaults to conference.""" AUDIO_ONLY = "audio_only" + AUDIO_ONLY_LIVESTREAM = "audio_only_livestream" BROADCASTER = "broadcaster" CONFERENCE = "conference" FULL_FEATURE = "full_feature" diff --git a/fishjam/api/_fishjam_client.py b/fishjam/api/_fishjam_client.py index 5791a72..9ce0914 100644 --- a/fishjam/api/_fishjam_client.py +++ b/fishjam/api/_fishjam_client.py @@ -67,7 +67,12 @@ class RoomOptions: webhook_url: str | None = None """URL where Fishjam notifications will be sent""" room_type: Literal[ - "conference", "audio_only", "livestream", "full_feature", "broadcaster" + "conference", + "audio_only", + "livestream", + "full_feature", + "broadcaster", + "audio_only_livestream", ] = "conference" """The use-case of the room. If not provided, this defaults to conference.""" public: bool = False diff --git a/tests/test_room_api.py b/tests/test_room_api.py index aac2ce9..0da0c7c 100644 --- a/tests/test_room_api.py +++ b/tests/test_room_api.py @@ -154,7 +154,7 @@ def test_valid(self, room_api: FishjamClient): ) == room_api.get_room(room.id) def test_invalid(self, room_api: FishjamClient): - with pytest.raises(BadRequestError): + with pytest.raises(NotFoundError): room_api.get_room("invalid_id") def test_id_not_found(self, room_api):