21 lines
565 B
Python
21 lines
565 B
Python
"""One JSON-only endpoint to ask about an existing report."""
|
|
|
|
from pydantic import Field
|
|
|
|
from app.schemas.common import ApiSchema
|
|
from app.schemas.integration_risk import IntegrationOperator, IntegrationSchema, RequestId
|
|
|
|
|
|
class IntegrationFollowUpRequest(IntegrationSchema):
|
|
request_id: RequestId
|
|
message_request_id: RequestId
|
|
operator: IntegrationOperator
|
|
content: str = Field(min_length=1, max_length=2000)
|
|
|
|
|
|
class IntegrationFollowUpData(ApiSchema):
|
|
request_id: str
|
|
message_request_id: str
|
|
status: str
|
|
reply: str | None = None
|