Files
houston-be/pkg/documentService/document_service_interface.go
Gullipalli Chetan Kumar aeb572f47e TP-45807 : Sending google transcripts to gen ai (#315)
* 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
2023-12-26 14:28:27 +05:30

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)
}