List and download tender documents - worker auto translation to english job

This commit is contained in:
Mazyar
2026-05-10 02:14:53 +03:30
parent 567e20b19c
commit e136f0eaa7
11 changed files with 652 additions and 2 deletions
+14
View File
@@ -70,6 +70,20 @@ type TenderResponse struct {
Language string `json:"language,omitempty"`
}
// TenderDocumentResponse represents a scraped tender document available for download.
type TenderDocumentResponse struct {
Filename string `json:"filename"`
Size int64 `json:"size"`
LastModified int64 `json:"last_modified"`
DocumentType string `json:"document_type,omitempty"`
}
// TenderDocumentsResponse represents scraped documents for a tender.
type TenderDocumentsResponse struct {
TenderID string `json:"tender_id"`
Documents []TenderDocumentResponse `json:"documents"`
}
type OrganizationResponse struct {
Name string `json:"name"`
}