List and download tender documents - worker auto translation to english job
This commit is contained in:
@@ -30,6 +30,15 @@ type DocumentSummary struct {
|
||||
Error string `json:"error"` // empty string when no error
|
||||
}
|
||||
|
||||
// StoredDocument represents a document object stored for a tender in MinIO.
|
||||
type StoredDocument struct {
|
||||
ObjectName string `json:"-"`
|
||||
DocumentName string `json:"document_name"`
|
||||
Size int64 `json:"size"`
|
||||
LastModified int64 `json:"last_modified"`
|
||||
DocumentType string `json:"document_type,omitempty"`
|
||||
}
|
||||
|
||||
// TranslateRequest represents the request payload sent to the AI service
|
||||
// POST /ai/translate endpoint.
|
||||
type TranslateRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user