* created service for sending google transcripts to gen ai * TP-45807| resolved bugs in drive service tests * TP-45807| unit tests for getting conversation data function * creating driveservice in app context and passing to rca service * modified the unit tests to accomodate driveservicemock * resolved merge conflicts * resolved merge conflicts
15 lines
620 B
Go
15 lines
620 B
Go
package documentService
|
|
|
|
import (
|
|
"houston/model"
|
|
"io"
|
|
)
|
|
|
|
type ServiceActions interface {
|
|
GenerateFileUploadPreSignedURL(fileType string, flowId string) (*model.FileUploadURLGeneratorResponse, error)
|
|
UploadFileWithPreSignedURL(fileUploadResponse *model.FileUploadURLGeneratorResponse, fileName string, file io.Reader, contentType string) error
|
|
GenerateFileDownloadPreSignedURL(fileDownloadPreSignedURLRequest model.FileDownloadPreSignedURLRequest) (string, error)
|
|
UploadFileAndGetDownloadPreSignedUrl(file io.Reader, fileType string, fileName string,
|
|
contentType string, flowId string) (string, string, error)
|
|
}
|