File tree Expand file tree Collapse file tree 6 files changed +453
-894
lines changed
sdk/formrecognizer/ai-form-recognizer Expand file tree Collapse file tree 6 files changed +453
-894
lines changed Original file line number Diff line number Diff line change @@ -379,10 +379,54 @@ export interface KeyValuePairModel {
379379}
380380
381381// @public
382- export type KeyValueType = " string " | " selectionMark " | string ;
382+ export type KeyValueType = string ;
383383
384384// @public
385- export type Language = " en" | " es" | " de" | " fr" | " it" | " nl" | " pt" | " zh-Hans" | string ;
385+ export const enum KnownKeyValueType {
386+ // (undocumented)
387+ SelectionMark = " selectionMark" ,
388+ // (undocumented)
389+ String = " string"
390+ }
391+
392+ // @public
393+ export const enum KnownLanguage {
394+ // (undocumented)
395+ De = " de" ,
396+ // (undocumented)
397+ En = " en" ,
398+ // (undocumented)
399+ Es = " es" ,
400+ // (undocumented)
401+ Fr = " fr" ,
402+ // (undocumented)
403+ It = " it" ,
404+ // (undocumented)
405+ Nl = " nl" ,
406+ // (undocumented)
407+ Pt = " pt" ,
408+ // (undocumented)
409+ ZhHans = " zh-Hans"
410+ }
411+
412+ // @public
413+ export const enum KnownSelectionMarkState {
414+ // (undocumented)
415+ Selected = " selected" ,
416+ // (undocumented)
417+ Unselected = " unselected"
418+ }
419+
420+ // @public
421+ export const enum KnownTextStyle {
422+ // (undocumented)
423+ Handwriting = " handwriting" ,
424+ // (undocumented)
425+ Other = " other"
426+ }
427+
428+ // @public
429+ export type Language = string ;
386430
387431// @public
388432export type LengthUnit = " pixel" | " inch" ;
@@ -473,7 +517,7 @@ export type RecognizeFormsOptions = FormRecognizerOperationOptions & {
473517export { RestResponse }
474518
475519// @public
476- export type SelectionMarkState = " selected " | " unselected " | string ;
520+ export type SelectionMarkState = string ;
477521
478522// @public
479523export interface Style {
@@ -482,7 +526,7 @@ export interface Style {
482526}
483527
484528// @public
485- export type TextStyle = " other " | " handwriting " | string ;
529+ export type TextStyle = string ;
486530
487531// @public
488532export interface TrainingDocumentInfo {
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ import {
4848 GeneratedClientListCustomModelsNextResponse
4949} from "./models" ;
5050
51+ /** @hidden */
5152export class GeneratedClient extends GeneratedClientContext {
5253 /**
5354 * Initializes a new instance of the GeneratedClient class.
@@ -751,7 +752,6 @@ export class GeneratedClient extends GeneratedClientContext {
751752 }
752753}
753754// Operation Specifications
754-
755755const serializer = new coreHttp . Serializer ( Mappers , /* isXml */ false ) ;
756756
757757const trainCustomModelAsyncOperationSpec : coreHttp . OperationSpec = {
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import { GeneratedClientOptionalParams } from "./models";
1212const packageName = "@azure/ai-form-recognizer" ;
1313const packageVersion = "3.1.0-beta.1" ;
1414
15+ /** @hidden */
1516export class GeneratedClientContext extends coreHttp . ServiceClient {
1617 endpoint : string ;
1718
You can’t perform that action at this time.
0 commit comments