only recordings that are *recorded* require consent

This commit is contained in:
Igor Loskutov
2025-06-19 10:54:27 -04:00
parent 6cb46dc64f
commit 92a08653aa
4 changed files with 19 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
from datetime import datetime, timedelta
from typing import Annotated, Optional
from typing import Annotated, Optional, Literal
import reflector.auth as auth
from fastapi import APIRouter, Depends, HTTPException
@@ -37,6 +37,7 @@ class Meeting(BaseModel):
host_room_url: str
start_date: datetime
end_date: datetime
recording_type: Literal["none", "local", "cloud"] = "cloud"
class CreateRoom(BaseModel):