List and download tender documents - worker auto translation to english job
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user