GiniCaptureNetworkService
public protocol GiniCaptureNetworkService : AnyObject
Undocumented
-
Undocumented
Declaration
Swift
func delete(document: Document, completion: @escaping (Result<String, GiniError>) -> Void)
-
Undocumented
Declaration
Swift
func cleanup()
-
Undocumented
Declaration
Swift
func analyse(partialDocuments: [PartialDocumentInfo], metadata: Document.Metadata?, cancellationToken: CancellationToken, completion: @escaping (Result<(document: Document,extractionResult: ExtractionResult), GiniError>) -> Void)
-
Undocumented
Declaration
Swift
func upload(document: GiniCaptureDocument, metadata: Document.Metadata?, completion: @escaping UploadDocumentCompletion)
-
Undocumented
Declaration
Swift
func sendFeedback(document: Document, updatedExtractions: [Extraction], updatedCompoundExtractions: [String: [[Extraction]]]?, completion: @escaping (Result<Void, GiniError>) -> Void)
-
Undocumented
Declaration
Swift
func log(errorEvent: ErrorEvent, completion: @escaping (Result<Void, GiniError>) -> Void)