* TP-47105 | Adding helpers for google drive service * TP-47105! | Adding document service * TP-47105 | Adding unit tests for docu ent service client * TP-47105 | Adding document service client * TP-47105 | Rebasing with master * TP-47105 | Addressing PR comments * TP-47105 | Adding commonly used constants with document service * TP-47105 | Adding commonly used constants with document service * TP-47105 | Fixing document service endpoints in test * TP-47105 | Addressing PR comments * TP-47105 | Addressing PR comments * TP-47105 | Addressing PR comments
15 lines
452 B
Go
15 lines
452 B
Go
package documentService
|
|
|
|
import (
|
|
"houston/model"
|
|
"io"
|
|
)
|
|
|
|
type ServiceActions interface {
|
|
GeneratePreSignedURL(fileType string, flowId string) (*model.FileUploadURLGeneratorResponse, error)
|
|
UploadFileWithPreSignedURL(fileUploadResponse *model.FileUploadURLGeneratorResponse,
|
|
fileName string, file io.Reader, contentType string)
|
|
FileDownloadPreSignedURL(fileDownloadPreSignedURLRequest model.
|
|
FileDownloadPreSignedURLRequest) (string, error)
|
|
}
|