Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR] cognitiveservices/data-plane/FormRecognizer #4978

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,67 @@ const (
Status2Success Status2 = original.Status2Success
)

type TextOperationStatusCodes = original.TextOperationStatusCodes

const (
Failed TextOperationStatusCodes = original.Failed
NotStarted TextOperationStatusCodes = original.NotStarted
Running TextOperationStatusCodes = original.Running
Succeeded TextOperationStatusCodes = original.Succeeded
)

type TextRecognitionResultConfidenceClass = original.TextRecognitionResultConfidenceClass

const (
High TextRecognitionResultConfidenceClass = original.High
Low TextRecognitionResultConfidenceClass = original.Low
)

type TextRecognitionResultDimensionUnit = original.TextRecognitionResultDimensionUnit

const (
Inch TextRecognitionResultDimensionUnit = original.Inch
Pixel TextRecognitionResultDimensionUnit = original.Pixel
)

type ValueType = original.ValueType

const (
ValueTypeFieldValue ValueType = original.ValueTypeFieldValue
ValueTypeNumberValue ValueType = original.ValueTypeNumberValue
ValueTypeStringValue ValueType = original.ValueTypeStringValue
)

type AnalyzeResult = original.AnalyzeResult
type BaseClient = original.BaseClient
type BasicFieldValue = original.BasicFieldValue
type ComputerVisionError = original.ComputerVisionError
type ElementReference = original.ElementReference
type ErrorInformation = original.ErrorInformation
type ErrorResponse = original.ErrorResponse
type ExtractedKeyValuePair = original.ExtractedKeyValuePair
type ExtractedPage = original.ExtractedPage
type ExtractedTable = original.ExtractedTable
type ExtractedTableColumn = original.ExtractedTableColumn
type ExtractedToken = original.ExtractedToken
type FieldValue = original.FieldValue
type FormDocumentReport = original.FormDocumentReport
type FormOperationError = original.FormOperationError
type ImageURL = original.ImageURL
type InnerError = original.InnerError
type KeysResult = original.KeysResult
type Line = original.Line
type ModelResult = original.ModelResult
type ModelsResult = original.ModelsResult
type NumberValue = original.NumberValue
type ReadReceiptResult = original.ReadReceiptResult
type StringValue = original.StringValue
type TextRecognitionResult = original.TextRecognitionResult
type TrainRequest = original.TrainRequest
type TrainResult = original.TrainResult
type TrainSourceFilter = original.TrainSourceFilter
type UnderstandingResult = original.UnderstandingResult
type Word = original.Word

func New(endpoint string) BaseClient {
return original.New(endpoint)
Expand All @@ -78,6 +122,18 @@ func PossibleStatus2Values() []Status2 {
func PossibleStatusValues() []Status {
return original.PossibleStatusValues()
}
func PossibleTextOperationStatusCodesValues() []TextOperationStatusCodes {
return original.PossibleTextOperationStatusCodesValues()
}
func PossibleTextRecognitionResultConfidenceClassValues() []TextRecognitionResultConfidenceClass {
return original.PossibleTextRecognitionResultConfidenceClassValues()
}
func PossibleTextRecognitionResultDimensionUnitValues() []TextRecognitionResultDimensionUnit {
return original.PossibleTextRecognitionResultDimensionUnitValues()
}
func PossibleValueTypeValues() []ValueType {
return original.PossibleValueTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
Expand Down
258 changes: 242 additions & 16 deletions services/preview/cognitiveservices/v1.0/formrecognizer/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading