Type aliases
AnalysisPoller
Type parameters
AnalyzeResultOperationStatus
AnalyzeResultOperationStatus: "notStarted" | "running" | "failed" | "succeeded"
ApiVersion
ApiVersion: string
AuthorizeCopyDocumentModelResponse
BuildDocumentModelResponse
CancellationToken
CancellationToken: Parameters[0]
ComposeDocumentModelResponse
ContentType
ContentType: "application/octet-stream" | "application/pdf" | "image/bmp" | "image/heif" | "image/jpeg" | "image/png" | "image/tiff"
CopyDocumentModelToResponse
DocumentBuildMode
DocumentBuildMode: string
DocumentFieldType
DocumentFieldType: string
DocumentModelBuildMode
DocumentModelBuildMode: typeof DocumentModelBuildMode[keyof typeof DocumentModelBuildMode]
DocumentModelBuildResponse
DocumentSignatureType
DocumentSignatureType: string
DocumentTableCellKind
DocumentTableCellKind: string
FormRecognizerApiVersion
FormRecognizerApiVersion: typeof FormRecognizerApiVersion[keyof typeof FormRecognizerApiVersion]
FormRecognizerRequestBody
FormRecognizerRequestBody: NodeJS.ReadableStream | Blob | ArrayBuffer | ArrayBufferView
GetAnalyzeDocumentResultResponse
GetDocumentModelsNextResponse
GetDocumentModelsOperationResponse
GetOperationsNextResponse
GetOperationsOperationResponse
GetResourceDetailsResponse
LengthUnit
LengthUnit: string
OperationKind
OperationKind: string
OperationStatus
OperationStatus: "notStarted" | "running" | "failed" | "succeeded" | "canceled"
ParagraphRole
ParagraphRole: string
SelectionMarkState
SelectionMarkState: string
StringIndexType
StringIndexType: typeof StringIndexType[keyof typeof StringIndexType]
Variables
Const APIM_SUBSCRIPTION_KEY_HEADER
APIM_SUBSCRIPTION_KEY_HEADER: "Ocp-Apim-Subscription-Key" = "Ocp-Apim-Subscription-Key"
Const DEFAULT_POLLING_INTERVAL
DEFAULT_POLLING_INTERVAL: 5000 = 5000
Const DocumentModelBuildMode
DocumentModelBuildMode: { Neural: "neural"; Template: "template" } = {/*** A mode that builds a model assuming that documents all follow the same, fixed template layout (the same relative* positioning of fields between documents).*/Template: "template",/*** A mode that uses a neural engine to extract fields, allowing for documents that have different visual appearances,* but that contain the same information.*/Neural: "neural",} as const
Type declaration
-
Neural: "neural"
-
Template: "template"
Const FormRecognizerApiVersion
FormRecognizerApiVersion: { Latest: "2022-08-31"; Stable: "2022-08-31" } = {/*** The newest version of the service known to be supported by the client (default).** If using a beta package version, this will be identical to the latest preview version. Otherwise, it will be* identical to the latest stable version.*/Latest: "2022-08-31",// TODO (GA): Add a `Stable` version selector that picks the latest GA version, even in beta packages, and an exact// version entry for the GA version.Stable: "2022-08-31",} as const
Type declaration
-
Latest: "2022-08-31"
-
Stable: "2022-08-31"
Const INTERRUPTED
INTERRUPTED: "The local operation (timer) was interrupted or cancelled." = "The local operation (timer) was interrupted or cancelled."
Const SERIALIZER
SERIALIZER: any = createSerializer(Mappers, false)
Const StringIndexType
StringIndexType: { UnicodeCodePoint: "unicodeCodePoint"; Utf16CodeUnit: "utf16CodeUnit" } = {/*** UTF-16 code units*/Utf16CodeUnit: "utf16CodeUnit",/*** Unicode code points*/UnicodeCodePoint: "unicodeCodePoint",} as const
Type declaration
-
UnicodeCodePoint: "unicodeCodePoint"
-
Utf16CodeUnit: "utf16CodeUnit"
Const __exhaust
__exhaust: never = kind
Const serializer
serializer: any = coreClient.createSerializer(Mappers, /* isXml */ false)
Object literals
Const AddressValue
AddressValue: object
type
type: object
className
className: string = "AddressValue"
name
name: string = "Composite"
modelProperties
modelProperties: object
city
city: object
serializedName
serializedName: string = "city"
type
type: object
name
name: string = "String"
countryRegion
countryRegion: object
serializedName
serializedName: string = "countryRegion"
type
type: object
name
name: string = "String"
houseNumber
houseNumber: object
serializedName
serializedName: string = "houseNumber"
type
type: object
name
name: string = "String"
poBox
poBox: object
serializedName
serializedName: string = "poBox"
type
type: object
name
name: string = "String"
postalCode
postalCode: object
serializedName
serializedName: string = "postalCode"
type
type: object
name
name: string = "String"
road
road: object
serializedName
serializedName: string = "road"
type
type: object
name
name: string = "String"
state
state: object
serializedName
serializedName: string = "state"
type
type: object
name
name: string = "String"
streetAddress
streetAddress: object
serializedName
serializedName: string = "streetAddress"
type
type: object
name
name: string = "String"
Const AnalyzeDocumentRequest
AnalyzeDocumentRequest: object
type
type: object
className
className: string = "AnalyzeDocumentRequest"
name
name: string = "Composite"
modelProperties
modelProperties: object
base64Source
base64Source: object
serializedName
serializedName: string = "base64Source"
type
type: object
name
name: string = "ByteArray"
urlSource
urlSource: object
serializedName
serializedName: string = "urlSource"
type
type: object
name
name: string = "String"
Const AnalyzeResult
AnalyzeResult: object
type
type: object
className
className: string = "AnalyzeResult"
name
name: string = "Composite"
modelProperties
modelProperties: object
apiVersion
apiVersion: object
required
required: boolean = true
serializedName
serializedName: string = "apiVersion"
type
type: object
name
name: string = "String"
content
content: object
required
required: boolean = true
serializedName
serializedName: string = "content"
type
type: object
name
name: string = "String"
documents
documents: object
serializedName
serializedName: string = "documents"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "Document"
name
name: string = "Composite"
keyValuePairs
keyValuePairs: object
serializedName
serializedName: string = "keyValuePairs"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentKeyValuePair"
name
name: string = "Composite"
languages
languages: object
serializedName
serializedName: string = "languages"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentLanguage"
name
name: string = "Composite"
modelId
modelId: object
required
required: boolean = true
serializedName
serializedName: string = "modelId"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}")
type
type: object
name
name: string = "String"
pages
pages: object
required
required: boolean = true
serializedName
serializedName: string = "pages"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentPage"
name
name: string = "Composite"
paragraphs
paragraphs: object
serializedName
serializedName: string = "paragraphs"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentParagraph"
name
name: string = "Composite"
stringIndexType
stringIndexType: object
required
required: boolean = true
serializedName
serializedName: string = "stringIndexType"
type
type: object
name
name: string = "String"
styles
styles: object
serializedName
serializedName: string = "styles"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentStyle"
name
name: string = "Composite"
tables
tables: object
serializedName
serializedName: string = "tables"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentTable"
name
name: string = "Composite"
Const AnalyzeResultOperation
AnalyzeResultOperation: object
type
type: object
className
className: string = "AnalyzeResultOperation"
name
name: string = "Composite"
modelProperties
modelProperties: object
analyzeResult
analyzeResult: object
serializedName
serializedName: string = "analyzeResult"
type
type: object
className
className: string = "AnalyzeResult"
name
name: string = "Composite"
createdOn
createdOn: object
required
required: boolean = true
serializedName
serializedName: string = "createdDateTime"
type
type: object
name
name: string = "DateTime"
error
error: object
serializedName
serializedName: string = "error"
type
type: object
className
className: string = "ErrorModel"
name
name: string = "Composite"
lastUpdatedOn
lastUpdatedOn: object
required
required: boolean = true
serializedName
serializedName: string = "lastUpdatedDateTime"
type
type: object
name
name: string = "DateTime"
status
status: object
required
required: boolean = true
serializedName
serializedName: string = "status"
type
type: object
allowedValues
allowedValues: string[] = ["notStarted", "running", "failed", "succeeded"]
name
name: string = "Enum"
Const AuthorizeCopyRequest
AuthorizeCopyRequest: object
type
type: object
className
className: string = "AuthorizeCopyRequest"
name
name: string = "Composite"
modelProperties
modelProperties: object
description
description: object
serializedName
serializedName: string = "description"
constraints
constraints: object
MaxLength
MaxLength: number = 4096
type
type: object
name
name: string = "String"
modelId
modelId: object
required
required: boolean = true
serializedName
serializedName: string = "modelId"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}")
type
type: object
name
name: string = "String"
tags
tags: object
serializedName
serializedName: string = "tags"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
name
name: string = "String"
Const AzureBlobContentSource
AzureBlobContentSource: object
type
type: object
className
className: string = "AzureBlobContentSource"
name
name: string = "Composite"
modelProperties
modelProperties: object
containerUrl
containerUrl: object
required
required: boolean = true
serializedName
serializedName: string = "containerUrl"
type
type: object
name
name: string = "String"
prefix
prefix: object
serializedName
serializedName: string = "prefix"
type
type: object
name
name: string = "String"
Const BoundingRegion
BoundingRegion: object
type
type: object
className
className: string = "BoundingRegion"
name
name: string = "Composite"
modelProperties
modelProperties: object
pageNumber
pageNumber: object
required
required: boolean = true
serializedName
serializedName: string = "pageNumber"
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 1
type
type: object
name
name: string = "Number"
polygon
polygon: object
required
required: boolean = true
serializedName
serializedName: string = "polygon"
type
type: object
name
name: string = "Sequence"
element
element: object
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
Const BuildDocumentModelRequest
BuildDocumentModelRequest: object
type
type: object
className
className: string = "BuildDocumentModelRequest"
name
name: string = "Composite"
modelProperties
modelProperties: object
azureBlobSource
azureBlobSource: object
serializedName
serializedName: string = "azureBlobSource"
type
type: object
className
className: string = "AzureBlobContentSource"
name
name: string = "Composite"
buildMode
buildMode: object
required
required: boolean = true
serializedName
serializedName: string = "buildMode"
type
type: object
name
name: string = "String"
description
description: object
serializedName
serializedName: string = "description"
constraints
constraints: object
MaxLength
MaxLength: number = 4096
type
type: object
name
name: string = "String"
modelId
modelId: object
required
required: boolean = true
serializedName
serializedName: string = "modelId"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}")
type
type: object
name
name: string = "String"
tags
tags: object
serializedName
serializedName: string = "tags"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
name
name: string = "String"
Const ComponentDocumentModelDetails
ComponentDocumentModelDetails: object
type
type: object
className
className: string = "ComponentDocumentModelDetails"
name
name: string = "Composite"
modelProperties
modelProperties: object
modelId
modelId: object
required
required: boolean = true
serializedName
serializedName: string = "modelId"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}")
type
type: object
name
name: string = "String"
Const ComposeDocumentModelRequest
ComposeDocumentModelRequest: object
type
type: object
className
className: string = "ComposeDocumentModelRequest"
name
name: string = "Composite"
modelProperties
modelProperties: object
componentModels
componentModels: object
required
required: boolean = true
serializedName
serializedName: string = "componentModels"
constraints
constraints: object
UniqueItems
UniqueItems: boolean = true
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "ComponentDocumentModelDetails"
name
name: string = "Composite"
description
description: object
serializedName
serializedName: string = "description"
constraints
constraints: object
MaxLength
MaxLength: number = 4096
type
type: object
name
name: string = "String"
modelId
modelId: object
required
required: boolean = true
serializedName
serializedName: string = "modelId"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}")
type
type: object
name
name: string = "String"
tags
tags: object
serializedName
serializedName: string = "tags"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
name
name: string = "String"
Const CopyAuthorization
CopyAuthorization: object
type
type: object
className
className: string = "CopyAuthorization"
name
name: string = "Composite"
modelProperties
modelProperties: object
accessToken
accessToken: object
required
required: boolean = true
serializedName
serializedName: string = "accessToken"
type
type: object
name
name: string = "String"
expirationDateTime
expirationDateTime: object
required
required: boolean = true
serializedName
serializedName: string = "expirationDateTime"
type
type: object
name
name: string = "DateTime"
targetModelId
targetModelId: object
required
required: boolean = true
serializedName
serializedName: string = "targetModelId"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}")
type
type: object
name
name: string = "String"
targetModelLocation
targetModelLocation: object
required
required: boolean = true
serializedName
serializedName: string = "targetModelLocation"
type
type: object
name
name: string = "String"
targetResourceId
targetResourceId: object
required
required: boolean = true
serializedName
serializedName: string = "targetResourceId"
type
type: object
name
name: string = "String"
targetResourceRegion
targetResourceRegion: object
required
required: boolean = true
serializedName
serializedName: string = "targetResourceRegion"
type
type: object
name
name: string = "String"
Const CurrencyValue
CurrencyValue: object
type
type: object
className
className: string = "CurrencyValue"
name
name: string = "Composite"
modelProperties
modelProperties: object
amount
amount: object
required
required: boolean = true
serializedName
serializedName: string = "amount"
type
type: object
name
name: string = "Number"
currencySymbol
currencySymbol: object
serializedName
serializedName: string = "currencySymbol"
type
type: object
name
name: string = "String"
Const CustomDocumentModelsDetails
CustomDocumentModelsDetails: object
type
type: object
className
className: string = "CustomDocumentModelsDetails"
name
name: string = "Composite"
modelProperties
modelProperties: object
count
count: object
required
required: boolean = true
serializedName
serializedName: string = "count"
type
type: object
name
name: string = "Number"
limit
limit: object
required
required: boolean = true
serializedName
serializedName: string = "limit"
type
type: object
name
name: string = "Number"
Const Document
Document: object
type
type: object
className
className: string = "Document"
name
name: string = "Composite"
modelProperties
modelProperties: object
boundingRegions
boundingRegions: object
serializedName
serializedName: string = "boundingRegions"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "BoundingRegion"
name
name: string = "Composite"
confidence
confidence: object
required
required: boolean = true
serializedName
serializedName: string = "confidence"
constraints
constraints: object
InclusiveMaximum
InclusiveMaximum: number = 1
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
docType
docType: object
required
required: boolean = true
serializedName
serializedName: string = "docType"
constraints
constraints: object
MaxLength
MaxLength: number = 64
MinLength
MinLength: number = 2
type
type: object
name
name: string = "String"
fields
fields: object
serializedName
serializedName: string = "fields"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
className
className: string = "DocumentField"
name
name: string = "Composite"
spans
spans: object
required
required: boolean = true
serializedName
serializedName: string = "spans"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
Const DocumentField
DocumentField: object
type
type: object
className
className: string = "DocumentField"
name
name: string = "Composite"
modelProperties
modelProperties: object
boundingRegions
boundingRegions: object
serializedName
serializedName: string = "boundingRegions"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "BoundingRegion"
name
name: string = "Composite"
confidence
confidence: object
serializedName
serializedName: string = "confidence"
constraints
constraints: object
InclusiveMaximum
InclusiveMaximum: number = 1
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
content
content: object
serializedName
serializedName: string = "content"
type
type: object
name
name: string = "String"
spans
spans: object
serializedName
serializedName: string = "spans"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
type
type: object
required
required: boolean = true
serializedName
serializedName: string = "type"
type
type: object
name
name: string = "String"
valueAddress
valueAddress: object
serializedName
serializedName: string = "valueAddress"
type
type: object
className
className: string = "AddressValue"
name
name: string = "Composite"
valueArray
valueArray: object
serializedName
serializedName: string = "valueArray"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentField"
name
name: string = "Composite"
valueCountryRegion
valueCountryRegion: object
serializedName
serializedName: string = "valueCountryRegion"
type
type: object
name
name: string = "String"
valueCurrency
valueCurrency: object
serializedName
serializedName: string = "valueCurrency"
type
type: object
className
className: string = "CurrencyValue"
name
name: string = "Composite"
valueDate
valueDate: object
serializedName
serializedName: string = "valueDate"
type
type: object
name
name: string = "Date"
valueInteger
valueInteger: object
serializedName
serializedName: string = "valueInteger"
type
type: object
name
name: string = "Number"
valueNumber
valueNumber: object
serializedName
serializedName: string = "valueNumber"
type
type: object
name
name: string = "Number"
valueObject
valueObject: object
serializedName
serializedName: string = "valueObject"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
className
className: string = "DocumentField"
name
name: string = "Composite"
valuePhoneNumber
valuePhoneNumber: object
serializedName
serializedName: string = "valuePhoneNumber"
type
type: object
name
name: string = "String"
valueSelectionMark
valueSelectionMark: object
serializedName
serializedName: string = "valueSelectionMark"
type
type: object
name
name: string = "String"
valueSignature
valueSignature: object
serializedName
serializedName: string = "valueSignature"
type
type: object
name
name: string = "String"
valueString
valueString: object
serializedName
serializedName: string = "valueString"
type
type: object
name
name: string = "String"
valueTime
valueTime: object
serializedName
serializedName: string = "valueTime"
type
type: object
name
name: string = "String"
Const DocumentFieldSchema
DocumentFieldSchema: object
type
type: object
className
className: string = "DocumentFieldSchema"
name
name: string = "Composite"
modelProperties
modelProperties: object
description
description: object
serializedName
serializedName: string = "description"
type
type: object
name
name: string = "String"
example
example: object
serializedName
serializedName: string = "example"
type
type: object
name
name: string = "String"
items
items: object
serializedName
serializedName: string = "items"
type
type: object
className
className: string = "DocumentFieldSchema"
name
name: string = "Composite"
properties
properties: object
serializedName
serializedName: string = "properties"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
className
className: string = "DocumentFieldSchema"
name
name: string = "Composite"
type
type: object
required
required: boolean = true
serializedName
serializedName: string = "type"
type
type: object
name
name: string = "String"
Const DocumentKeyValueElement
DocumentKeyValueElement: object
type
type: object
className
className: string = "DocumentKeyValueElement"
name
name: string = "Composite"
modelProperties
modelProperties: object
boundingRegions
boundingRegions: object
serializedName
serializedName: string = "boundingRegions"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "BoundingRegion"
name
name: string = "Composite"
content
content: object
required
required: boolean = true
serializedName
serializedName: string = "content"
type
type: object
name
name: string = "String"
spans
spans: object
required
required: boolean = true
serializedName
serializedName: string = "spans"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
Const DocumentKeyValuePair
DocumentKeyValuePair: object
type
type: object
className
className: string = "DocumentKeyValuePair"
name
name: string = "Composite"
modelProperties
modelProperties: object
confidence
confidence: object
required
required: boolean = true
serializedName
serializedName: string = "confidence"
constraints
constraints: object
InclusiveMaximum
InclusiveMaximum: number = 1
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
key
key: object
serializedName
serializedName: string = "key"
type
type: object
className
className: string = "DocumentKeyValueElement"
name
name: string = "Composite"
value
value: object
serializedName
serializedName: string = "value"
type
type: object
className
className: string = "DocumentKeyValueElement"
name
name: string = "Composite"
Const DocumentLanguage
DocumentLanguage: object
type
type: object
className
className: string = "DocumentLanguage"
name
name: string = "Composite"
modelProperties
modelProperties: object
confidence
confidence: object
required
required: boolean = true
serializedName
serializedName: string = "confidence"
constraints
constraints: object
InclusiveMaximum
InclusiveMaximum: number = 1
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
locale
locale: object
required
required: boolean = true
serializedName
serializedName: string = "locale"
type
type: object
name
name: string = "String"
spans
spans: object
required
required: boolean = true
serializedName
serializedName: string = "spans"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
Const DocumentLine
DocumentLine: object
type
type: object
className
className: string = "DocumentLine"
name
name: string = "Composite"
modelProperties
modelProperties: object
content
content: object
required
required: boolean = true
serializedName
serializedName: string = "content"
type
type: object
name
name: string = "String"
polygon
polygon: object
serializedName
serializedName: string = "polygon"
type
type: object
name
name: string = "Sequence"
element
element: object
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
spans
spans: object
required
required: boolean = true
serializedName
serializedName: string = "spans"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
Const DocumentModelBuildOperationDetails
DocumentModelBuildOperationDetails: object
serializedName
serializedName: string = "documentModelBuild"
type
type: object
className
className: string = "DocumentModelBuildOperationDetails"
name
name: string = "Composite"
polymorphicDiscriminator
polymorphicDiscriminator: any = OperationDetails.type.polymorphicDiscriminator
uberParent
uberParent: string = "OperationDetails"
modelProperties
modelProperties: object
result
result: object
serializedName
serializedName: string = "result"
type
type: object
className
className: string = "DocumentModelDetails"
name
name: string = "Composite"
Const DocumentModelComposeOperationDetails
DocumentModelComposeOperationDetails: object
serializedName
serializedName: string = "documentModelCompose"
type
type: object
className
className: string = "DocumentModelComposeOperationDetails"
name
name: string = "Composite"
polymorphicDiscriminator
polymorphicDiscriminator: any = OperationDetails.type.polymorphicDiscriminator
uberParent
uberParent: string = "OperationDetails"
modelProperties
modelProperties: object
result
result: object
serializedName
serializedName: string = "result"
type
type: object
className
className: string = "DocumentModelDetails"
name
name: string = "Composite"
Const DocumentModelCopyToOperationDetails
DocumentModelCopyToOperationDetails: object
serializedName
serializedName: string = "documentModelCopyTo"
type
type: object
className
className: string = "DocumentModelCopyToOperationDetails"
name
name: string = "Composite"
polymorphicDiscriminator
polymorphicDiscriminator: any = OperationDetails.type.polymorphicDiscriminator
uberParent
uberParent: string = "OperationDetails"
modelProperties
modelProperties: object
result
result: object
serializedName
serializedName: string = "result"
type
type: object
className
className: string = "DocumentModelDetails"
name
name: string = "Composite"
Const DocumentModelDetails
DocumentModelDetails: object
type
type: object
className
className: string = "DocumentModelDetails"
name
name: string = "Composite"
modelProperties
modelProperties: object
apiVersion
apiVersion: object
serializedName
serializedName: string = "apiVersion"
type
type: object
name
name: string = "String"
createdOn
createdOn: object
required
required: boolean = true
serializedName
serializedName: string = "createdDateTime"
type
type: object
name
name: string = "DateTime"
description
description: object
serializedName
serializedName: string = "description"
constraints
constraints: object
MaxLength
MaxLength: number = 4096
type
type: object
name
name: string = "String"
docTypes
docTypes: object
serializedName
serializedName: string = "docTypes"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
className
className: string = "DocumentTypeDetails"
name
name: string = "Composite"
modelId
modelId: object
required
required: boolean = true
serializedName
serializedName: string = "modelId"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}")
type
type: object
name
name: string = "String"
tags
tags: object
serializedName
serializedName: string = "tags"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
name
name: string = "String"
Const DocumentModelSummary
DocumentModelSummary: object
type
type: object
className
className: string = "DocumentModelSummary"
name
name: string = "Composite"
modelProperties
modelProperties: object
apiVersion
apiVersion: object
serializedName
serializedName: string = "apiVersion"
type
type: object
name
name: string = "String"
createdOn
createdOn: object
required
required: boolean = true
serializedName
serializedName: string = "createdDateTime"
type
type: object
name
name: string = "DateTime"
description
description: object
serializedName
serializedName: string = "description"
constraints
constraints: object
MaxLength
MaxLength: number = 4096
type
type: object
name
name: string = "String"
modelId
modelId: object
required
required: boolean = true
serializedName
serializedName: string = "modelId"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}")
type
type: object
name
name: string = "String"
tags
tags: object
serializedName
serializedName: string = "tags"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
name
name: string = "String"
Const DocumentPage
DocumentPage: object
type
type: object
className
className: string = "DocumentPage"
name
name: string = "Composite"
modelProperties
modelProperties: object
angle
angle: object
serializedName
serializedName: string = "angle"
constraints
constraints: object
ExclusiveMinimum
ExclusiveMinimum: number = -180
InclusiveMaximum
InclusiveMaximum: number = 180
type
type: object
name
name: string = "Number"
height
height: object
serializedName
serializedName: string = "height"
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
lines
lines: object
serializedName
serializedName: string = "lines"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentLine"
name
name: string = "Composite"
pageNumber
pageNumber: object
required
required: boolean = true
serializedName
serializedName: string = "pageNumber"
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 1
type
type: object
name
name: string = "Number"
selectionMarks
selectionMarks: object
serializedName
serializedName: string = "selectionMarks"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSelectionMark"
name
name: string = "Composite"
spans
spans: object
required
required: boolean = true
serializedName
serializedName: string = "spans"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
unit
unit: object
serializedName
serializedName: string = "unit"
type
type: object
name
name: string = "String"
width
width: object
serializedName
serializedName: string = "width"
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
words
words: object
serializedName
serializedName: string = "words"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentWord"
name
name: string = "Composite"
Const DocumentParagraph
DocumentParagraph: object
type
type: object
className
className: string = "DocumentParagraph"
name
name: string = "Composite"
modelProperties
modelProperties: object
boundingRegions
boundingRegions: object
serializedName
serializedName: string = "boundingRegions"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "BoundingRegion"
name
name: string = "Composite"
content
content: object
required
required: boolean = true
serializedName
serializedName: string = "content"
type
type: object
name
name: string = "String"
role
role: object
serializedName
serializedName: string = "role"
type
type: object
name
name: string = "String"
spans
spans: object
required
required: boolean = true
serializedName
serializedName: string = "spans"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
Const DocumentSelectionMark
DocumentSelectionMark: object
type
type: object
className
className: string = "DocumentSelectionMark"
name
name: string = "Composite"
modelProperties
modelProperties: object
confidence
confidence: object
required
required: boolean = true
serializedName
serializedName: string = "confidence"
constraints
constraints: object
InclusiveMaximum
InclusiveMaximum: number = 1
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
polygon
polygon: object
serializedName
serializedName: string = "polygon"
type
type: object
name
name: string = "Sequence"
element
element: object
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
span
span: object
serializedName
serializedName: string = "span"
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
state
state: object
required
required: boolean = true
serializedName
serializedName: string = "state"
type
type: object
name
name: string = "String"
Const DocumentSpan
DocumentSpan: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
modelProperties
modelProperties: object
length
length: object
required
required: boolean = true
serializedName
serializedName: string = "length"
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
offset
offset: object
required
required: boolean = true
serializedName
serializedName: string = "offset"
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
Const DocumentStyle
DocumentStyle: object
type
type: object
className
className: string = "DocumentStyle"
name
name: string = "Composite"
modelProperties
modelProperties: object
confidence
confidence: object
required
required: boolean = true
serializedName
serializedName: string = "confidence"
constraints
constraints: object
InclusiveMaximum
InclusiveMaximum: number = 1
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
isHandwritten
isHandwritten: object
serializedName
serializedName: string = "isHandwritten"
type
type: object
name
name: string = "Boolean"
spans
spans: object
required
required: boolean = true
serializedName
serializedName: string = "spans"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
Const DocumentTable
DocumentTable: object
type
type: object
className
className: string = "DocumentTable"
name
name: string = "Composite"
modelProperties
modelProperties: object
boundingRegions
boundingRegions: object
serializedName
serializedName: string = "boundingRegions"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "BoundingRegion"
name
name: string = "Composite"
cells
cells: object
required
required: boolean = true
serializedName
serializedName: string = "cells"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentTableCell"
name
name: string = "Composite"
columnCount
columnCount: object
required
required: boolean = true
serializedName
serializedName: string = "columnCount"
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 1
type
type: object
name
name: string = "Number"
rowCount
rowCount: object
required
required: boolean = true
serializedName
serializedName: string = "rowCount"
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 1
type
type: object
name
name: string = "Number"
spans
spans: object
required
required: boolean = true
serializedName
serializedName: string = "spans"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
Const DocumentTableCell
DocumentTableCell: object
type
type: object
className
className: string = "DocumentTableCell"
name
name: string = "Composite"
modelProperties
modelProperties: object
boundingRegions
boundingRegions: object
serializedName
serializedName: string = "boundingRegions"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "BoundingRegion"
name
name: string = "Composite"
columnIndex
columnIndex: object
required
required: boolean = true
serializedName
serializedName: string = "columnIndex"
type
type: object
name
name: string = "Number"
columnSpan
columnSpan: object
defaultValue
defaultValue: number = 1
serializedName
serializedName: string = "columnSpan"
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 1
type
type: object
name
name: string = "Number"
content
content: object
required
required: boolean = true
serializedName
serializedName: string = "content"
type
type: object
name
name: string = "String"
kind
kind: object
defaultValue
defaultValue: string = "content"
serializedName
serializedName: string = "kind"
type
type: object
name
name: string = "String"
rowIndex
rowIndex: object
required
required: boolean = true
serializedName
serializedName: string = "rowIndex"
type
type: object
name
name: string = "Number"
rowSpan
rowSpan: object
defaultValue
defaultValue: number = 1
serializedName
serializedName: string = "rowSpan"
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 1
type
type: object
name
name: string = "Number"
spans
spans: object
required
required: boolean = true
serializedName
serializedName: string = "spans"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
Const DocumentTypeDetails
DocumentTypeDetails: object
type
type: object
className
className: string = "DocumentTypeDetails"
name
name: string = "Composite"
modelProperties
modelProperties: object
buildMode
buildMode: object
serializedName
serializedName: string = "buildMode"
type
type: object
name
name: string = "String"
description
description: object
serializedName
serializedName: string = "description"
constraints
constraints: object
MaxLength
MaxLength: number = 4096
type
type: object
name
name: string = "String"
fieldConfidence
fieldConfidence: object
serializedName
serializedName: string = "fieldConfidence"
type
type: object
name
name: string = "Dictionary"
value
value: object
constraints
constraints: object
InclusiveMaximum
InclusiveMaximum: number = 1
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
fieldSchema
fieldSchema: object
required
required: boolean = true
serializedName
serializedName: string = "fieldSchema"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
className
className: string = "DocumentFieldSchema"
name
name: string = "Composite"
Const DocumentWord
DocumentWord: object
type
type: object
className
className: string = "DocumentWord"
name
name: string = "Composite"
modelProperties
modelProperties: object
confidence
confidence: object
required
required: boolean = true
serializedName
serializedName: string = "confidence"
constraints
constraints: object
InclusiveMaximum
InclusiveMaximum: number = 1
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
content
content: object
required
required: boolean = true
serializedName
serializedName: string = "content"
type
type: object
name
name: string = "String"
polygon
polygon: object
serializedName
serializedName: string = "polygon"
type
type: object
name
name: string = "Sequence"
element
element: object
constraints
constraints: object
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
span
span: object
serializedName
serializedName: string = "span"
type
type: object
className
className: string = "DocumentSpan"
name
name: string = "Composite"
Const ErrorModel
ErrorModel: object
type
type: object
className
className: string = "ErrorModel"
name
name: string = "Composite"
modelProperties
modelProperties: object
code
code: object
required
required: boolean = true
serializedName
serializedName: string = "code"
type
type: object
name
name: string = "String"
details
details: object
serializedName
serializedName: string = "details"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "ErrorModel"
name
name: string = "Composite"
innererror
innererror: object
serializedName
serializedName: string = "innererror"
type
type: object
className
className: string = "InnerError"
name
name: string = "Composite"
message
message: object
required
required: boolean = true
serializedName
serializedName: string = "message"
type
type: object
name
name: string = "String"
target
target: object
serializedName
serializedName: string = "target"
type
type: object
name
name: string = "String"
Const ErrorResponse
ErrorResponse: object
type
type: object
className
className: string = "ErrorResponse"
name
name: string = "Composite"
modelProperties
modelProperties: object
error
error: object
serializedName
serializedName: string = "error"
type
type: object
className
className: string = "ErrorModel"
name
name: string = "Composite"
Const GeneratedClientAnalyzeDocumentHeaders
GeneratedClientAnalyzeDocumentHeaders: object
type
type: object
className
className: string = "GeneratedClientAnalyzeDocumentHeaders"
name
name: string = "Composite"
modelProperties
modelProperties: object
operationLocation
operationLocation: object
serializedName
serializedName: string = "operation-location"
type
type: object
name
name: string = "String"
Const GeneratedClientBuildDocumentModelHeaders
GeneratedClientBuildDocumentModelHeaders: object
type
type: object
className
className: string = "GeneratedClientBuildDocumentModelHeaders"
name
name: string = "Composite"
modelProperties
modelProperties: object
operationLocation
operationLocation: object
serializedName
serializedName: string = "operation-location"
type
type: object
name
name: string = "String"
Const GeneratedClientComposeDocumentModelHeaders
GeneratedClientComposeDocumentModelHeaders: object
type
type: object
className
className: string = "GeneratedClientComposeDocumentModelHeaders"
name
name: string = "Composite"
modelProperties
modelProperties: object
operationLocation
operationLocation: object
serializedName
serializedName: string = "operation-location"
type
type: object
name
name: string = "String"
Const GeneratedClientCopyDocumentModelToHeaders
GeneratedClientCopyDocumentModelToHeaders: object
type
type: object
className
className: string = "GeneratedClientCopyDocumentModelToHeaders"
name
name: string = "Composite"
modelProperties
modelProperties: object
operationLocation
operationLocation: object
serializedName
serializedName: string = "operation-location"
type
type: object
name
name: string = "String"
Const GetDocumentModelsResponse
GetDocumentModelsResponse: object
type
type: object
className
className: string = "GetDocumentModelsResponse"
name
name: string = "Composite"
modelProperties
modelProperties: object
nextLink
nextLink: object
serializedName
serializedName: string = "nextLink"
type
type: object
name
name: string = "String"
value
value: object
required
required: boolean = true
serializedName
serializedName: string = "value"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "DocumentModelSummary"
name
name: string = "Composite"
Const GetOperationsResponse
GetOperationsResponse: object
type
type: object
className
className: string = "GetOperationsResponse"
name
name: string = "Composite"
modelProperties
modelProperties: object
nextLink
nextLink: object
serializedName
serializedName: string = "nextLink"
type
type: object
name
name: string = "String"
value
value: object
required
required: boolean = true
serializedName
serializedName: string = "value"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
className
className: string = "OperationSummary"
name
name: string = "Composite"
Const InnerError
InnerError: object
type
type: object
className
className: string = "InnerError"
name
name: string = "Composite"
modelProperties
modelProperties: object
code
code: object
required
required: boolean = true
serializedName
serializedName: string = "code"
type
type: object
name
name: string = "String"
innererror
innererror: object
serializedName
serializedName: string = "innererror"
type
type: object
className
className: string = "InnerError"
name
name: string = "Composite"
message
message: object
serializedName
serializedName: string = "message"
type
type: object
name
name: string = "String"
Const OperationDetails
OperationDetails: object
type
type: object
className
className: string = "OperationDetails"
name
name: string = "Composite"
uberParent
uberParent: string = "OperationDetails"
modelProperties
modelProperties: object
apiVersion
apiVersion: object
serializedName
serializedName: string = "apiVersion"
type
type: object
name
name: string = "String"
createdOn
createdOn: object
required
required: boolean = true
serializedName
serializedName: string = "createdDateTime"
type
type: object
name
name: string = "DateTime"
error
error: object
serializedName
serializedName: string = "error"
type
type: object
className
className: string = "ErrorModel"
name
name: string = "Composite"
kind
kind: object
required
required: boolean = true
serializedName
serializedName: string = "kind"
type
type: object
name
name: string = "String"
lastUpdatedOn
lastUpdatedOn: object
required
required: boolean = true
serializedName
serializedName: string = "lastUpdatedDateTime"
type
type: object
name
name: string = "DateTime"
operationId
operationId: object
required
required: boolean = true
serializedName
serializedName: string = "operationId"
type
type: object
name
name: string = "String"
percentCompleted
percentCompleted: object
serializedName
serializedName: string = "percentCompleted"
constraints
constraints: object
InclusiveMaximum
InclusiveMaximum: number = 100
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
resourceLocation
resourceLocation: object
required
required: boolean = true
serializedName
serializedName: string = "resourceLocation"
type
type: object
name
name: string = "String"
status
status: object
required
required: boolean = true
serializedName
serializedName: string = "status"
type
type: object
allowedValues
allowedValues: string[] = ["notStarted","running","failed","succeeded","canceled"]
name
name: string = "Enum"
tags
tags: object
serializedName
serializedName: string = "tags"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
name
name: string = "String"
polymorphicDiscriminator
polymorphicDiscriminator: object
clientName
clientName: string = "kind"
serializedName
serializedName: string = "kind"
Const OperationSummary
OperationSummary: object
type
type: object
className
className: string = "OperationSummary"
name
name: string = "Composite"
modelProperties
modelProperties: object
apiVersion
apiVersion: object
serializedName
serializedName: string = "apiVersion"
type
type: object
name
name: string = "String"
createdOn
createdOn: object
required
required: boolean = true
serializedName
serializedName: string = "createdDateTime"
type
type: object
name
name: string = "DateTime"
kind
kind: object
required
required: boolean = true
serializedName
serializedName: string = "kind"
type
type: object
name
name: string = "String"
lastUpdatedOn
lastUpdatedOn: object
required
required: boolean = true
serializedName
serializedName: string = "lastUpdatedDateTime"
type
type: object
name
name: string = "DateTime"
operationId
operationId: object
required
required: boolean = true
serializedName
serializedName: string = "operationId"
type
type: object
name
name: string = "String"
percentCompleted
percentCompleted: object
serializedName
serializedName: string = "percentCompleted"
constraints
constraints: object
InclusiveMaximum
InclusiveMaximum: number = 100
InclusiveMinimum
InclusiveMinimum: number = 0
type
type: object
name
name: string = "Number"
resourceLocation
resourceLocation: object
required
required: boolean = true
serializedName
serializedName: string = "resourceLocation"
type
type: object
name
name: string = "String"
status
status: object
required
required: boolean = true
serializedName
serializedName: string = "status"
type
type: object
allowedValues
allowedValues: string[] = ["notStarted","running","failed","succeeded","canceled"]
name
name: string = "Enum"
tags
tags: object
serializedName
serializedName: string = "tags"
type
type: object
name
name: string = "Dictionary"
value
value: object
type
type: object
name
name: string = "String"
Const ResourceDetails
ResourceDetails: object
type
type: object
className
className: string = "ResourceDetails"
name
name: string = "Composite"
modelProperties
modelProperties: object
customDocumentModels
customDocumentModels: object
serializedName
serializedName: string = "customDocumentModels"
type
type: object
className
className: string = "CustomDocumentModelsDetails"
name
name: string = "Composite"
Const accept
accept: object
parameterPath
parameterPath: string = "accept"
mapper
mapper: object
defaultValue
defaultValue: string = "application/json"
isConstant
isConstant: boolean = true
serializedName
serializedName: string = "Accept"
type
type: object
name
name: string = "String"
Const accept1
accept1: object
parameterPath
parameterPath: string = "accept"
mapper
mapper: object
defaultValue
defaultValue: string = "application/json"
isConstant
isConstant: boolean = true
serializedName
serializedName: string = "Accept"
type
type: object
name
name: string = "String"
Const analyzeDocument$binaryOperationSpec
analyzeDocument$binaryOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.contentType, Parameters.accept]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "binary"
path
path: string = "/documentModels/{modelId}:analyze"
queryParameters
queryParameters: any[] = [Parameters.pages,Parameters.locale,Parameters.stringIndexType,Parameters.apiVersion]
requestBody
requestBody: any = Parameters.analyzeRequest
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint, Parameters.modelId]
responses
responses: object
202
202: object
headersMapper
headersMapper: any = Mappers.GeneratedClientAnalyzeDocumentHeaders
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const analyzeDocument$jsonOperationSpec
analyzeDocument$jsonOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.contentType1, Parameters.accept1]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "json"
path
path: string = "/documentModels/{modelId}:analyze"
queryParameters
queryParameters: any[] = [Parameters.pages,Parameters.locale,Parameters.stringIndexType,Parameters.apiVersion]
requestBody
requestBody: any = Parameters.analyzeRequest1
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint, Parameters.modelId]
responses
responses: object
202
202: object
headersMapper
headersMapper: any = Mappers.GeneratedClientAnalyzeDocumentHeaders
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const analyzeRequest
analyzeRequest: object
parameterPath
parameterPath: string[] = ["options", "analyzeRequest"]
mapper
mapper: object
serializedName
serializedName: string = "analyzeRequest"
type
type: object
name
name: string = "Stream"
Const analyzeRequest1
analyzeRequest1: object
mapper
mapper: any = AnalyzeDocumentRequestMapper
parameterPath
parameterPath: string[] = ["options", "analyzeRequest"]
Const apiVersion
apiVersion: object
parameterPath
parameterPath: string = "apiVersion"
mapper
mapper: object
defaultValue
defaultValue: string = "2022-08-31"
isConstant
isConstant: boolean = true
serializedName
serializedName: string = "api-version"
type
type: object
name
name: string = "String"
Const authorizeCopyDocumentModelOperationSpec
authorizeCopyDocumentModelOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1, Parameters.contentType2]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "json"
path
path: string = "/documentModels:authorizeCopy"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
requestBody
requestBody: any = Parameters.authorizeCopyRequest
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint]
responses
responses: object
200
200: object
bodyMapper
bodyMapper: any = Mappers.CopyAuthorization
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const authorizeCopyRequest
authorizeCopyRequest: object
mapper
mapper: any = AuthorizeCopyRequestMapper
parameterPath
parameterPath: string = "authorizeCopyRequest"
Const buildDocumentModelOperationSpec
buildDocumentModelOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1, Parameters.contentType2]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "json"
path
path: string = "/documentModels:build"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
requestBody
requestBody: any = Parameters.buildRequest
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint]
responses
responses: object
202
202: object
headersMapper
headersMapper: any = Mappers.GeneratedClientBuildDocumentModelHeaders
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const buildRequest
buildRequest: object
mapper
mapper: any = BuildDocumentModelRequestMapper
parameterPath
parameterPath: string = "buildRequest"
Const composeDocumentModelOperationSpec
composeDocumentModelOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1, Parameters.contentType2]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "json"
path
path: string = "/documentModels:compose"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
requestBody
requestBody: any = Parameters.composeRequest
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint]
responses
responses: object
202
202: object
headersMapper
headersMapper: any = Mappers.GeneratedClientComposeDocumentModelHeaders
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const composeRequest
composeRequest: object
mapper
mapper: any = ComposeDocumentModelRequestMapper
parameterPath
parameterPath: string = "composeRequest"
Const contentType
contentType: object
parameterPath
parameterPath: string = "contentType"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "Content-Type"
type
type: object
allowedValues
allowedValues: string[] = ["application/octet-stream","application/pdf","image/bmp","image/heif","image/jpeg","image/png","image/tiff"]
name
name: string = "Enum"
Const contentType1
contentType1: object
parameterPath
parameterPath: string = "contentType"
mapper
mapper: object
defaultValue
defaultValue: string = "application/json"
isConstant
isConstant: boolean = true
serializedName
serializedName: string = "Content-Type"
type
type: object
name
name: string = "String"
Const contentType2
contentType2: object
parameterPath
parameterPath: string[] = ["options", "contentType"]
mapper
mapper: object
defaultValue
defaultValue: string = "application/json"
isConstant
isConstant: boolean = true
serializedName
serializedName: string = "Content-Type"
type
type: object
name
name: string = "String"
Const copyDocumentModelToOperationSpec
copyDocumentModelToOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1, Parameters.contentType2]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "json"
path
path: string = "/documentModels/{modelId}:copyTo"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
requestBody
requestBody: any = Parameters.copyToRequest
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint, Parameters.modelId]
responses
responses: object
202
202: object
headersMapper
headersMapper: any = Mappers.GeneratedClientCopyDocumentModelToHeaders
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const copyToRequest
copyToRequest: object
mapper
mapper: any = CopyAuthorizationMapper
parameterPath
parameterPath: string = "copyToRequest"
Const deleteDocumentModelOperationSpec
deleteDocumentModelOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1]
httpMethod
httpMethod: string = "DELETE"
path
path: string = "/documentModels/{modelId}"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint, Parameters.modelId]
responses
responses: object
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Let discriminators
discriminators: object
OperationDetails
OperationDetails: any = OperationDetails
OperationDetails.documentModelBuild
OperationDetails.documentModelBuild: any = DocumentModelBuildOperationDetails
OperationDetails.documentModelCompose
OperationDetails.documentModelCompose: any = DocumentModelComposeOperationDetails
OperationDetails.documentModelCopyTo
OperationDetails.documentModelCopyTo: any = DocumentModelCopyToOperationDetails
Const endpoint
endpoint: object
parameterPath
parameterPath: string = "endpoint"
skipEncoding
skipEncoding: boolean = true
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "endpoint"
type
type: object
name
name: string = "String"
Const getAnalyzeDocumentResultOperationSpec
getAnalyzeDocumentResultOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1]
httpMethod
httpMethod: string = "GET"
path
path: string = "/documentModels/{modelId}/analyzeResults/{resultId}"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint, Parameters.modelId, Parameters.resultId]
responses
responses: object
200
200: object
bodyMapper
bodyMapper: any = Mappers.AnalyzeResultOperation
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const getDocumentModelOperationSpec
getDocumentModelOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1]
httpMethod
httpMethod: string = "GET"
path
path: string = "/documentModels/{modelId}"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint, Parameters.modelId]
responses
responses: object
200
200: object
bodyMapper
bodyMapper: any = Mappers.DocumentModelDetails
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const getDocumentModelsNextOperationSpec
getDocumentModelsNextOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1]
httpMethod
httpMethod: string = "GET"
path
path: string = "{nextLink}"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint, Parameters.nextLink]
responses
responses: object
200
200: object
bodyMapper
bodyMapper: any = Mappers.GetDocumentModelsResponse
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const getDocumentModelsOperationSpec
getDocumentModelsOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1]
httpMethod
httpMethod: string = "GET"
path
path: string = "/documentModels"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint]
responses
responses: object
200
200: object
bodyMapper
bodyMapper: any = Mappers.GetDocumentModelsResponse
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const getOperationOperationSpec
getOperationOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1]
httpMethod
httpMethod: string = "GET"
path
path: string = "/operations/{operationId}"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint, Parameters.operationId]
responses
responses: object
200
200: object
bodyMapper
bodyMapper: any = Mappers.OperationDetails
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const getOperationsNextOperationSpec
getOperationsNextOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1]
httpMethod
httpMethod: string = "GET"
path
path: string = "{nextLink}"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint, Parameters.nextLink]
responses
responses: object
200
200: object
bodyMapper
bodyMapper: any = Mappers.GetOperationsResponse
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const getOperationsOperationSpec
getOperationsOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1]
httpMethod
httpMethod: string = "GET"
path
path: string = "/operations"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint]
responses
responses: object
200
200: object
bodyMapper
bodyMapper: any = Mappers.GetOperationsResponse
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const getResourceDetailsOperationSpec
getResourceDetailsOperationSpec: object
headerParameters
headerParameters: any[] = [Parameters.accept1]
httpMethod
httpMethod: string = "GET"
path
path: string = "/info"
queryParameters
queryParameters: any[] = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: any[] = [Parameters.endpoint]
responses
responses: object
200
200: object
bodyMapper
bodyMapper: any = Mappers.ResourceDetails
default
default: object
bodyMapper
bodyMapper: any = Mappers.ErrorResponse
Const locale
locale: object
parameterPath
parameterPath: string[] = ["options", "locale"]
mapper
mapper: object
serializedName
serializedName: string = "locale"
type
type: object
name
name: string = "String"
Const modelId
modelId: object
parameterPath
parameterPath: string = "modelId"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "modelId"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}")
type
type: object
name
name: string = "String"
Const nextLink
nextLink: object
parameterPath
parameterPath: string = "nextLink"
skipEncoding
skipEncoding: boolean = true
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "nextLink"
type
type: object
name
name: string = "String"
Const operationId
operationId: object
parameterPath
parameterPath: string = "operationId"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "operationId"
type
type: object
name
name: string = "String"
Const pages
pages: object
parameterPath
parameterPath: string[] = ["options", "pages"]
mapper
mapper: object
serializedName
serializedName: string = "pages"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("^(\\d+(-\\d+)?)(,\\s*(\\d+(-\\d+)?))*$")
type
type: object
name
name: string = "String"
Const resultId
resultId: object
parameterPath
parameterPath: string = "resultId"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "resultId"
type
type: object
name
name: string = "String"
Const stringIndexType
stringIndexType: object
parameterPath
parameterPath: string = "stringIndexType"
mapper
mapper: object
serializedName
serializedName: string = "stringIndexType"
type
type: object
name
name: string = "String"
A long-running operation (poller) that tracks the state of an analysis operation, eventually producing the result type that corresponds to the model.