mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-18 20:01:52 +03:00
21 lines
420 B
Python
21 lines
420 B
Python
|
from typing import Optional
|
||
|
from uuid import UUID
|
||
|
|
||
|
from pydantic import BaseModel
|
||
|
|
||
|
|
||
|
class IntegrationDescriptionEntity(BaseModel):
|
||
|
id: UUID
|
||
|
integration_name: str
|
||
|
integration_logo_url: Optional[str]
|
||
|
connection_settings: Optional[dict]
|
||
|
|
||
|
|
||
|
class IntegrationEntity(BaseModel):
|
||
|
id: str
|
||
|
user_id: str
|
||
|
brain_id: str
|
||
|
integration_id: str
|
||
|
settings: Optional[dict]
|
||
|
credentials: Optional[dict]
|