2023-10-24 17:55:07 -04:00
|
|
|
package webresponse
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.agecem.com/agecem/agecem-org/apiresponse"
|
|
|
|
"git.agecem.com/agecem/agecem-org/models"
|
|
|
|
)
|
|
|
|
|
|
|
|
type HandleAdminDocumentsUploadResponse struct {
|
2024-08-21 13:39:03 -04:00
|
|
|
apiresponse.APIResponse
|
2023-10-24 17:55:07 -04:00
|
|
|
Data struct {
|
|
|
|
Buckets []models.Bucket
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
type HandleDocumentationResponse struct {
|
2024-08-21 13:39:03 -04:00
|
|
|
apiresponse.APIResponse
|
2023-10-24 17:55:07 -04:00
|
|
|
Data struct {
|
|
|
|
Buckets []models.Bucket
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-21 13:39:03 -04:00
|
|
|
type UploadDocumentAPIResponse struct {
|
|
|
|
apiresponse.APIResponse
|
2023-10-24 17:55:07 -04:00
|
|
|
Data UploadDocumentResponseData
|
|
|
|
}
|
|
|
|
|
|
|
|
type UploadDocumentResponseData struct {
|
|
|
|
Bucket string
|
|
|
|
Object string
|
|
|
|
Size float64
|
|
|
|
}
|