Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from datetime import datetime
|
||||
from typing import Optional, Any
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class NotificationLogResponse(BaseModel):
|
||||
id: int
|
||||
webhook_config_id: int
|
||||
webhook_name: str
|
||||
event_type: str
|
||||
payload: dict[str, Any]
|
||||
status: str
|
||||
response_text: Optional[str]
|
||||
created_at: datetime
|
||||
|
||||
model_config = {"from_attributes": True}
|
||||
Reference in New Issue
Block a user