@azure-rest/ai-document-intelligence 1.0.0-alpha.20240305.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/index.js +20 -26
- package/dist/index.js.map +1 -1
- package/dist-esm/src/documentIntelligence.js +10 -14
- package/dist-esm/src/documentIntelligence.js.map +1 -1
- package/dist-esm/src/isUnexpected.js +5 -4
- package/dist-esm/src/isUnexpected.js.map +1 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/outputModels.js.map +1 -1
- package/dist-esm/src/paginateHelper.js +1 -1
- package/dist-esm/src/paginateHelper.js.map +1 -1
- package/dist-esm/src/parameters.js.map +1 -1
- package/dist-esm/src/pollingHelper.js +4 -7
- package/dist-esm/src/pollingHelper.js.map +1 -1
- package/dist-esm/src/responses.js.map +1 -1
- package/package.json +7 -7
- package/review/ai-document-intelligence.api.md +257 -16
- package/types/ai-document-intelligence.d.ts +268 -47
|
@@ -10,6 +10,7 @@ import { Paged } from '@azure/core-paging';
|
|
|
10
10
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
11
11
|
import { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
12
12
|
import { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
13
|
+
import { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
|
|
13
14
|
import { RequestParameters } from '@azure-rest/core-client';
|
|
14
15
|
import { SimplePollerLike } from '@azure/core-lro';
|
|
15
16
|
import { StreamableMethod } from '@azure-rest/core-client';
|
|
@@ -51,6 +52,8 @@ export declare interface AddressValueOutput {
|
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
export declare interface AnalyzeDocument202Headers {
|
|
55
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
56
|
+
"retry-after"?: number;
|
|
54
57
|
"operation-location": string;
|
|
55
58
|
}
|
|
56
59
|
|
|
@@ -78,6 +81,8 @@ export declare interface AnalyzeDocumentFromStream {
|
|
|
78
81
|
}
|
|
79
82
|
|
|
80
83
|
export declare interface AnalyzeDocumentFromStream202Headers {
|
|
84
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
85
|
+
"retry-after"?: number;
|
|
81
86
|
"operation-location": string;
|
|
82
87
|
}
|
|
83
88
|
|
|
@@ -128,7 +133,7 @@ export declare interface AnalyzeDocumentFromStreamQueryParamProperties {
|
|
|
128
133
|
/**
|
|
129
134
|
* Method used to compute string offset and length.
|
|
130
135
|
*
|
|
131
|
-
* Possible values: textElements, unicodeCodePoint, utf16CodeUnit
|
|
136
|
+
* Possible values: "textElements", "unicodeCodePoint", "utf16CodeUnit"
|
|
132
137
|
*/
|
|
133
138
|
stringIndexType?: string;
|
|
134
139
|
/** List of optional analysis features. */
|
|
@@ -138,7 +143,7 @@ export declare interface AnalyzeDocumentFromStreamQueryParamProperties {
|
|
|
138
143
|
/**
|
|
139
144
|
* Format of the analyze result top-level content.
|
|
140
145
|
*
|
|
141
|
-
* Possible values: text, markdown
|
|
146
|
+
* Possible values: "text", "markdown"
|
|
142
147
|
*/
|
|
143
148
|
outputContentFormat?: string;
|
|
144
149
|
}
|
|
@@ -170,7 +175,7 @@ export declare interface AnalyzeDocumentQueryParamProperties {
|
|
|
170
175
|
/**
|
|
171
176
|
* Method used to compute string offset and length.
|
|
172
177
|
*
|
|
173
|
-
* Possible values: textElements, unicodeCodePoint, utf16CodeUnit
|
|
178
|
+
* Possible values: "textElements", "unicodeCodePoint", "utf16CodeUnit"
|
|
174
179
|
*/
|
|
175
180
|
stringIndexType?: string;
|
|
176
181
|
/** List of optional analysis features. */
|
|
@@ -180,7 +185,7 @@ export declare interface AnalyzeDocumentQueryParamProperties {
|
|
|
180
185
|
/**
|
|
181
186
|
* Format of the analyze result top-level content.
|
|
182
187
|
*
|
|
183
|
-
* Possible values: text, markdown
|
|
188
|
+
* Possible values: "text", "markdown"
|
|
184
189
|
*/
|
|
185
190
|
outputContentFormat?: string;
|
|
186
191
|
}
|
|
@@ -199,9 +204,9 @@ export declare interface AnalyzeDocumentRequest {
|
|
|
199
204
|
/** Status and result of the analyze operation. */
|
|
200
205
|
export declare interface AnalyzeResultOperationOutput {
|
|
201
206
|
/**
|
|
202
|
-
* Operation status.
|
|
207
|
+
* Operation status. notStarted, running, succeeded, or failed
|
|
203
208
|
*
|
|
204
|
-
* Possible values: notStarted, running, failed, succeeded, canceled
|
|
209
|
+
* Possible values: "notStarted", "running", "failed", "succeeded", "completed", "canceled"
|
|
205
210
|
*/
|
|
206
211
|
status: string;
|
|
207
212
|
/** Date and time (UTC) when the analyze operation was submitted. */
|
|
@@ -223,13 +228,13 @@ export declare interface AnalyzeResultOutput {
|
|
|
223
228
|
/**
|
|
224
229
|
* Method used to compute string offset and length.
|
|
225
230
|
*
|
|
226
|
-
* Possible values: textElements, unicodeCodePoint, utf16CodeUnit
|
|
231
|
+
* Possible values: "textElements", "unicodeCodePoint", "utf16CodeUnit"
|
|
227
232
|
*/
|
|
228
233
|
stringIndexType: string;
|
|
229
234
|
/**
|
|
230
235
|
* Format of the analyze result top-level content.
|
|
231
236
|
*
|
|
232
|
-
* Possible values: text, markdown
|
|
237
|
+
* Possible values: "text", "markdown"
|
|
233
238
|
*/
|
|
234
239
|
contentFormat?: string;
|
|
235
240
|
/**
|
|
@@ -346,6 +351,8 @@ export declare interface BuildClassifier {
|
|
|
346
351
|
}
|
|
347
352
|
|
|
348
353
|
export declare interface BuildClassifier202Headers {
|
|
354
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
355
|
+
"retry-after"?: number;
|
|
349
356
|
"operation-location": string;
|
|
350
357
|
}
|
|
351
358
|
|
|
@@ -378,6 +385,8 @@ export declare interface BuildDocumentClassifierRequest {
|
|
|
378
385
|
classifierId: string;
|
|
379
386
|
/** Document classifier description. */
|
|
380
387
|
description?: string;
|
|
388
|
+
/** Base classifierId on top of which to train the classifier. */
|
|
389
|
+
baseClassifierId?: string;
|
|
381
390
|
/** List of document types to classify against. */
|
|
382
391
|
docTypes: Record<string, ClassifierDocumentTypeDetails>;
|
|
383
392
|
}
|
|
@@ -391,7 +400,7 @@ export declare interface BuildDocumentModelRequest {
|
|
|
391
400
|
/**
|
|
392
401
|
* Custom document model build mode.
|
|
393
402
|
*
|
|
394
|
-
* Possible values: template, neural
|
|
403
|
+
* Possible values: "template", "neural"
|
|
395
404
|
*/
|
|
396
405
|
buildMode: string;
|
|
397
406
|
/**
|
|
@@ -414,6 +423,8 @@ export declare interface BuildModel {
|
|
|
414
423
|
}
|
|
415
424
|
|
|
416
425
|
export declare interface BuildModel202Headers {
|
|
426
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
427
|
+
"retry-after"?: number;
|
|
417
428
|
"operation-location": string;
|
|
418
429
|
}
|
|
419
430
|
|
|
@@ -445,7 +456,7 @@ export declare interface ClassifierDocumentTypeDetails {
|
|
|
445
456
|
/**
|
|
446
457
|
* Type of training data source.
|
|
447
458
|
*
|
|
448
|
-
* Possible values: url, base64, azureBlob, azureBlobFileList
|
|
459
|
+
* Possible values: "url", "base64", "azureBlob", "azureBlobFileList"
|
|
449
460
|
*/
|
|
450
461
|
sourceKind?: string;
|
|
451
462
|
/**
|
|
@@ -467,7 +478,7 @@ export declare interface ClassifierDocumentTypeDetailsOutput {
|
|
|
467
478
|
/**
|
|
468
479
|
* Type of training data source.
|
|
469
480
|
*
|
|
470
|
-
* Possible values: url, base64, azureBlob, azureBlobFileList
|
|
481
|
+
* Possible values: "url", "base64", "azureBlob", "azureBlobFileList"
|
|
471
482
|
*/
|
|
472
483
|
sourceKind?: string;
|
|
473
484
|
/**
|
|
@@ -485,6 +496,8 @@ export declare interface ClassifierDocumentTypeDetailsOutput {
|
|
|
485
496
|
}
|
|
486
497
|
|
|
487
498
|
export declare interface ClassifyDocument202Headers {
|
|
499
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
500
|
+
"retry-after"?: number;
|
|
488
501
|
"operation-location": string;
|
|
489
502
|
}
|
|
490
503
|
|
|
@@ -512,6 +525,8 @@ export declare interface ClassifyDocumentFromStream {
|
|
|
512
525
|
}
|
|
513
526
|
|
|
514
527
|
export declare interface ClassifyDocumentFromStream202Headers {
|
|
528
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
529
|
+
"retry-after"?: number;
|
|
515
530
|
"operation-location": string;
|
|
516
531
|
}
|
|
517
532
|
|
|
@@ -555,13 +570,13 @@ export declare interface ClassifyDocumentFromStreamQueryParamProperties {
|
|
|
555
570
|
/**
|
|
556
571
|
* Method used to compute string offset and length.
|
|
557
572
|
*
|
|
558
|
-
* Possible values: textElements, unicodeCodePoint, utf16CodeUnit
|
|
573
|
+
* Possible values: "textElements", "unicodeCodePoint", "utf16CodeUnit"
|
|
559
574
|
*/
|
|
560
575
|
stringIndexType?: string;
|
|
561
576
|
/**
|
|
562
577
|
* Document splitting mode.
|
|
563
578
|
*
|
|
564
|
-
* Possible values: auto, none, perPage
|
|
579
|
+
* Possible values: "auto", "none", "perPage"
|
|
565
580
|
*/
|
|
566
581
|
split?: string;
|
|
567
582
|
}
|
|
@@ -586,13 +601,13 @@ export declare interface ClassifyDocumentQueryParamProperties {
|
|
|
586
601
|
/**
|
|
587
602
|
* Method used to compute string offset and length.
|
|
588
603
|
*
|
|
589
|
-
* Possible values: textElements, unicodeCodePoint, utf16CodeUnit
|
|
604
|
+
* Possible values: "textElements", "unicodeCodePoint", "utf16CodeUnit"
|
|
590
605
|
*/
|
|
591
606
|
stringIndexType?: string;
|
|
592
607
|
/**
|
|
593
608
|
* Document splitting mode.
|
|
594
609
|
*
|
|
595
|
-
* Possible values: auto, none, perPage
|
|
610
|
+
* Possible values: "auto", "none", "perPage"
|
|
596
611
|
*/
|
|
597
612
|
split?: string;
|
|
598
613
|
}
|
|
@@ -608,6 +623,10 @@ export declare interface ClassifyDocumentRequest {
|
|
|
608
623
|
base64Source?: string;
|
|
609
624
|
}
|
|
610
625
|
|
|
626
|
+
/** Provides the 'x-ms-client-request-id' header to enable request correlation in requests and responses. */
|
|
627
|
+
export declare interface ClientRequestIdHeaderOutput {
|
|
628
|
+
}
|
|
629
|
+
|
|
611
630
|
/** A component of a composed document model. */
|
|
612
631
|
export declare interface ComponentDocumentModelDetails {
|
|
613
632
|
/** Unique document model name. */
|
|
@@ -632,6 +651,8 @@ export declare interface ComposeModel {
|
|
|
632
651
|
}
|
|
633
652
|
|
|
634
653
|
export declare interface ComposeModel202Headers {
|
|
654
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
655
|
+
"retry-after"?: number;
|
|
635
656
|
"operation-location": string;
|
|
636
657
|
}
|
|
637
658
|
|
|
@@ -708,6 +729,8 @@ export declare interface CopyModelTo {
|
|
|
708
729
|
}
|
|
709
730
|
|
|
710
731
|
export declare interface CopyModelTo202Headers {
|
|
732
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
733
|
+
"retry-after"?: number;
|
|
711
734
|
"operation-location": string;
|
|
712
735
|
}
|
|
713
736
|
|
|
@@ -761,9 +784,15 @@ export declare interface CustomDocumentModelsDetailsOutput {
|
|
|
761
784
|
limit: number;
|
|
762
785
|
}
|
|
763
786
|
|
|
787
|
+
export declare interface DeleteClassifier204Headers {
|
|
788
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
789
|
+
"x-ms-client-request-id"?: string;
|
|
790
|
+
}
|
|
791
|
+
|
|
764
792
|
/** There is no content to send for this request, but the headers may be useful. */
|
|
765
793
|
export declare interface DeleteClassifier204Response extends HttpResponse {
|
|
766
794
|
status: "204";
|
|
795
|
+
headers: RawHttpHeaders & DeleteClassifier204Headers;
|
|
767
796
|
}
|
|
768
797
|
|
|
769
798
|
export declare interface DeleteClassifierDefaultResponse extends HttpResponse {
|
|
@@ -771,11 +800,26 @@ export declare interface DeleteClassifierDefaultResponse extends HttpResponse {
|
|
|
771
800
|
body: ErrorResponseOutput;
|
|
772
801
|
}
|
|
773
802
|
|
|
774
|
-
export declare
|
|
803
|
+
export declare interface DeleteClassifierHeaderParam {
|
|
804
|
+
headers?: RawHttpHeadersInput & DeleteClassifierHeaders;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export declare interface DeleteClassifierHeaders {
|
|
808
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
809
|
+
"x-ms-client-request-id"?: string;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
export declare type DeleteClassifierParameters = DeleteClassifierHeaderParam & RequestParameters;
|
|
813
|
+
|
|
814
|
+
export declare interface DeleteModel204Headers {
|
|
815
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
816
|
+
"x-ms-client-request-id"?: string;
|
|
817
|
+
}
|
|
775
818
|
|
|
776
819
|
/** There is no content to send for this request, but the headers may be useful. */
|
|
777
820
|
export declare interface DeleteModel204Response extends HttpResponse {
|
|
778
821
|
status: "204";
|
|
822
|
+
headers: RawHttpHeaders & DeleteModel204Headers;
|
|
779
823
|
}
|
|
780
824
|
|
|
781
825
|
export declare interface DeleteModelDefaultResponse extends HttpResponse {
|
|
@@ -783,14 +827,23 @@ export declare interface DeleteModelDefaultResponse extends HttpResponse {
|
|
|
783
827
|
body: ErrorResponseOutput;
|
|
784
828
|
}
|
|
785
829
|
|
|
786
|
-
export declare
|
|
830
|
+
export declare interface DeleteModelHeaderParam {
|
|
831
|
+
headers?: RawHttpHeadersInput & DeleteModelHeaders;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
export declare interface DeleteModelHeaders {
|
|
835
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
836
|
+
"x-ms-client-request-id"?: string;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
export declare type DeleteModelParameters = DeleteModelHeaderParam & RequestParameters;
|
|
787
840
|
|
|
788
841
|
/** A barcode object. */
|
|
789
842
|
export declare interface DocumentBarcodeOutput {
|
|
790
843
|
/**
|
|
791
844
|
* Barcode kind.
|
|
792
845
|
*
|
|
793
|
-
* Possible values: QRCode, PDF417, UPCA, UPCE, Code39, Code128, EAN8, EAN13, DataBar, Code93, Codabar, DataBarExpanded, ITF, MicroQRCode, Aztec, DataMatrix, MaxiCode
|
|
846
|
+
* Possible values: "QRCode", "PDF417", "UPCA", "UPCE", "Code39", "Code128", "EAN8", "EAN13", "DataBar", "Code93", "Codabar", "DataBarExpanded", "ITF", "MicroQRCode", "Aztec", "DataMatrix", "MaxiCode"
|
|
794
847
|
*/
|
|
795
848
|
kind: string;
|
|
796
849
|
/** Barcode value. */
|
|
@@ -840,8 +893,12 @@ export declare interface DocumentClassifierDetailsOutput {
|
|
|
840
893
|
expirationDateTime?: string;
|
|
841
894
|
/** API version used to create this document classifier. */
|
|
842
895
|
apiVersion: string;
|
|
896
|
+
/** Base classifierId on top of which the classifier was trained. */
|
|
897
|
+
baseClassifierId?: string;
|
|
843
898
|
/** List of document types to classify against. */
|
|
844
899
|
docTypes: Record<string, ClassifierDocumentTypeDetailsOutput>;
|
|
900
|
+
/** List of warnings encountered while building the classifier. */
|
|
901
|
+
warnings?: Array<WarningOutput>;
|
|
845
902
|
}
|
|
846
903
|
|
|
847
904
|
/** An object representing the content and location of a field value. */
|
|
@@ -849,7 +906,7 @@ export declare interface DocumentFieldOutput {
|
|
|
849
906
|
/**
|
|
850
907
|
* Data type of the field value.
|
|
851
908
|
*
|
|
852
|
-
* Possible values: string, date, time, phoneNumber, number, integer, selectionMark, countryRegion, signature, array, object, currency, address, boolean
|
|
909
|
+
* Possible values: "string", "date", "time", "phoneNumber", "number", "integer", "selectionMark", "countryRegion", "signature", "array", "object", "currency", "address", "boolean", "selectionGroup"
|
|
853
910
|
*/
|
|
854
911
|
type: string;
|
|
855
912
|
/** String value. */
|
|
@@ -867,13 +924,13 @@ export declare interface DocumentFieldOutput {
|
|
|
867
924
|
/**
|
|
868
925
|
* Selection mark value.
|
|
869
926
|
*
|
|
870
|
-
* Possible values: selected, unselected
|
|
927
|
+
* Possible values: "selected", "unselected"
|
|
871
928
|
*/
|
|
872
929
|
valueSelectionMark?: string;
|
|
873
930
|
/**
|
|
874
931
|
* Presence of signature.
|
|
875
932
|
*
|
|
876
|
-
* Possible values: signed, unsigned
|
|
933
|
+
* Possible values: "signed", "unsigned"
|
|
877
934
|
*/
|
|
878
935
|
valueSignature?: string;
|
|
879
936
|
/** 3-letter country code value (ISO 3166-1 alpha-3). */
|
|
@@ -888,6 +945,8 @@ export declare interface DocumentFieldOutput {
|
|
|
888
945
|
valueAddress?: AddressValueOutput;
|
|
889
946
|
/** Boolean value. */
|
|
890
947
|
valueBoolean?: boolean;
|
|
948
|
+
/** Selection group value. */
|
|
949
|
+
valueSelectionGroup?: string[];
|
|
891
950
|
/** Field content. */
|
|
892
951
|
content?: string;
|
|
893
952
|
/** Bounding regions covering the field. */
|
|
@@ -903,7 +962,7 @@ export declare interface DocumentFieldSchemaOutput {
|
|
|
903
962
|
/**
|
|
904
963
|
* Semantic data type of the field value.
|
|
905
964
|
*
|
|
906
|
-
* Possible values: string, date, time, phoneNumber, number, integer, selectionMark, countryRegion, signature, array, object, currency, address, boolean
|
|
965
|
+
* Possible values: "string", "date", "time", "phoneNumber", "number", "integer", "selectionMark", "countryRegion", "signature", "array", "object", "currency", "address", "boolean", "selectionGroup"
|
|
907
966
|
*/
|
|
908
967
|
type: string;
|
|
909
968
|
/** Field description. */
|
|
@@ -947,7 +1006,7 @@ export declare interface DocumentFormulaOutput {
|
|
|
947
1006
|
/**
|
|
948
1007
|
* Formula kind.
|
|
949
1008
|
*
|
|
950
|
-
* Possible values: inline, display
|
|
1009
|
+
* Possible values: "inline", "display"
|
|
951
1010
|
*/
|
|
952
1011
|
kind: string;
|
|
953
1012
|
/** LaTex expression describing the formula. */
|
|
@@ -1089,7 +1148,7 @@ export declare interface DocumentModelDetailsOutput {
|
|
|
1089
1148
|
/**
|
|
1090
1149
|
* Custom document model build mode.
|
|
1091
1150
|
*
|
|
1092
|
-
* Possible values: template, neural
|
|
1151
|
+
* Possible values: "template", "neural"
|
|
1093
1152
|
*/
|
|
1094
1153
|
buildMode?: string;
|
|
1095
1154
|
/**
|
|
@@ -1104,6 +1163,8 @@ export declare interface DocumentModelDetailsOutput {
|
|
|
1104
1163
|
azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
|
|
1105
1164
|
/** Supported document types. */
|
|
1106
1165
|
docTypes?: Record<string, DocumentTypeDetailsOutput>;
|
|
1166
|
+
/** List of warnings encountered while building the model. */
|
|
1167
|
+
warnings?: Array<WarningOutput>;
|
|
1107
1168
|
}
|
|
1108
1169
|
|
|
1109
1170
|
/** An object describing the location and semantic content of a document. */
|
|
@@ -1137,7 +1198,7 @@ export declare interface DocumentPageOutput {
|
|
|
1137
1198
|
* The unit used by the width, height, and polygon properties. For images, the
|
|
1138
1199
|
* unit is "pixel". For PDF, the unit is "inch".
|
|
1139
1200
|
*
|
|
1140
|
-
* Possible values: pixel, inch
|
|
1201
|
+
* Possible values: "pixel", "inch"
|
|
1141
1202
|
*/
|
|
1142
1203
|
unit?: string;
|
|
1143
1204
|
/** Location of the page in the reading order concatenated content. */
|
|
@@ -1165,7 +1226,7 @@ export declare interface DocumentParagraphOutput {
|
|
|
1165
1226
|
/**
|
|
1166
1227
|
* Semantic role of the paragraph.
|
|
1167
1228
|
*
|
|
1168
|
-
* Possible values: pageHeader, pageFooter, pageNumber, title, sectionHeading, footnote, formulaBlock
|
|
1229
|
+
* Possible values: "pageHeader", "pageFooter", "pageNumber", "title", "sectionHeading", "footnote", "formulaBlock"
|
|
1169
1230
|
*/
|
|
1170
1231
|
role?: string;
|
|
1171
1232
|
/** Concatenated content of the paragraph in reading order. */
|
|
@@ -1192,7 +1253,7 @@ export declare interface DocumentSelectionMarkOutput {
|
|
|
1192
1253
|
/**
|
|
1193
1254
|
* State of the selection mark.
|
|
1194
1255
|
*
|
|
1195
|
-
* Possible values: selected, unselected
|
|
1256
|
+
* Possible values: "selected", "unselected"
|
|
1196
1257
|
*/
|
|
1197
1258
|
state: string;
|
|
1198
1259
|
/**
|
|
@@ -1231,13 +1292,13 @@ export declare interface DocumentStyleOutput {
|
|
|
1231
1292
|
/**
|
|
1232
1293
|
* Font style.
|
|
1233
1294
|
*
|
|
1234
|
-
* Possible values: normal, italic
|
|
1295
|
+
* Possible values: "normal", "italic"
|
|
1235
1296
|
*/
|
|
1236
1297
|
fontStyle?: string;
|
|
1237
1298
|
/**
|
|
1238
1299
|
* Font weight.
|
|
1239
1300
|
*
|
|
1240
|
-
* Possible values: normal, bold
|
|
1301
|
+
* Possible values: "normal", "bold"
|
|
1241
1302
|
*/
|
|
1242
1303
|
fontWeight?: string;
|
|
1243
1304
|
/** Foreground color in #rrggbb hexadecimal format. */
|
|
@@ -1255,7 +1316,7 @@ export declare interface DocumentTableCellOutput {
|
|
|
1255
1316
|
/**
|
|
1256
1317
|
* Table cell kind.
|
|
1257
1318
|
*
|
|
1258
|
-
* Possible values: content, rowHeader, columnHeader, stubHead, description
|
|
1319
|
+
* Possible values: "content", "rowHeader", "columnHeader", "stubHead", "description"
|
|
1259
1320
|
*/
|
|
1260
1321
|
kind?: string;
|
|
1261
1322
|
/** Row index of the cell. */
|
|
@@ -1301,7 +1362,7 @@ export declare interface DocumentTypeDetailsOutput {
|
|
|
1301
1362
|
/**
|
|
1302
1363
|
* Custom document model build mode.
|
|
1303
1364
|
*
|
|
1304
|
-
* Possible values: template, neural
|
|
1365
|
+
* Possible values: "template", "neural"
|
|
1305
1366
|
*/
|
|
1306
1367
|
buildMode?: string;
|
|
1307
1368
|
/** Description of the document semantic schema using a JSON Schema style syntax. */
|
|
@@ -1381,10 +1442,16 @@ export declare interface GetClassifier {
|
|
|
1381
1442
|
delete(options?: DeleteClassifierParameters): StreamableMethod<DeleteClassifier204Response | DeleteClassifierDefaultResponse>;
|
|
1382
1443
|
}
|
|
1383
1444
|
|
|
1445
|
+
export declare interface GetClassifier200Headers {
|
|
1446
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1447
|
+
"x-ms-client-request-id"?: string;
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1384
1450
|
/** The request has succeeded. */
|
|
1385
1451
|
export declare interface GetClassifier200Response extends HttpResponse {
|
|
1386
1452
|
status: "200";
|
|
1387
1453
|
body: DocumentClassifierDetailsOutput;
|
|
1454
|
+
headers: RawHttpHeaders & GetClassifier200Headers;
|
|
1388
1455
|
}
|
|
1389
1456
|
|
|
1390
1457
|
export declare interface GetClassifierDefaultResponse extends HttpResponse {
|
|
@@ -1392,7 +1459,16 @@ export declare interface GetClassifierDefaultResponse extends HttpResponse {
|
|
|
1392
1459
|
body: ErrorResponseOutput;
|
|
1393
1460
|
}
|
|
1394
1461
|
|
|
1395
|
-
export declare
|
|
1462
|
+
export declare interface GetClassifierHeaderParam {
|
|
1463
|
+
headers?: RawHttpHeadersInput & GetClassifierHeaders;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
export declare interface GetClassifierHeaders {
|
|
1467
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1468
|
+
"x-ms-client-request-id"?: string;
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
export declare type GetClassifierParameters = GetClassifierHeaderParam & RequestParameters;
|
|
1396
1472
|
|
|
1397
1473
|
export declare interface GetClassifyResult {
|
|
1398
1474
|
/** Gets the result of document classifier. */
|
|
@@ -1412,10 +1488,16 @@ export declare interface GetClassifyResultDefaultResponse extends HttpResponse {
|
|
|
1412
1488
|
|
|
1413
1489
|
export declare type GetClassifyResultParameters = RequestParameters;
|
|
1414
1490
|
|
|
1491
|
+
export declare interface GetDocumentClassifierBuildOperation200Headers {
|
|
1492
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1493
|
+
"x-ms-client-request-id"?: string;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1415
1496
|
/** The request has succeeded. */
|
|
1416
1497
|
export declare interface GetDocumentClassifierBuildOperation200Response extends HttpResponse {
|
|
1417
1498
|
status: "200";
|
|
1418
1499
|
body: DocumentClassifierBuildOperationDetailsOutput;
|
|
1500
|
+
headers: RawHttpHeaders & GetDocumentClassifierBuildOperation200Headers;
|
|
1419
1501
|
}
|
|
1420
1502
|
|
|
1421
1503
|
export declare interface GetDocumentClassifierBuildOperationDefaultResponse extends HttpResponse {
|
|
@@ -1423,7 +1505,16 @@ export declare interface GetDocumentClassifierBuildOperationDefaultResponse exte
|
|
|
1423
1505
|
body: ErrorResponseOutput;
|
|
1424
1506
|
}
|
|
1425
1507
|
|
|
1426
|
-
export declare
|
|
1508
|
+
export declare interface GetDocumentClassifierBuildOperationHeaderParam {
|
|
1509
|
+
headers?: RawHttpHeadersInput & GetDocumentClassifierBuildOperationHeaders;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
export declare interface GetDocumentClassifierBuildOperationHeaders {
|
|
1513
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1514
|
+
"x-ms-client-request-id"?: string;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
export declare type GetDocumentClassifierBuildOperationParameters = GetDocumentClassifierBuildOperationHeaderParam & RequestParameters;
|
|
1427
1518
|
|
|
1428
1519
|
export declare interface GetDocumentModelBuildOperation {
|
|
1429
1520
|
/** Gets operation info. */
|
|
@@ -1438,10 +1529,16 @@ export declare interface GetDocumentModelBuildOperation {
|
|
|
1438
1529
|
get(options?: GetOperationParameters): StreamableMethod<GetOperation200Response | GetOperationDefaultResponse>;
|
|
1439
1530
|
}
|
|
1440
1531
|
|
|
1532
|
+
export declare interface GetDocumentModelBuildOperation200Headers {
|
|
1533
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1534
|
+
"x-ms-client-request-id"?: string;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1441
1537
|
/** The request has succeeded. */
|
|
1442
1538
|
export declare interface GetDocumentModelBuildOperation200Response extends HttpResponse {
|
|
1443
1539
|
status: "200";
|
|
1444
1540
|
body: DocumentModelBuildOperationDetailsOutput;
|
|
1541
|
+
headers: RawHttpHeaders & GetDocumentModelBuildOperation200Headers;
|
|
1445
1542
|
}
|
|
1446
1543
|
|
|
1447
1544
|
export declare interface GetDocumentModelBuildOperationDefaultResponse extends HttpResponse {
|
|
@@ -1449,12 +1546,27 @@ export declare interface GetDocumentModelBuildOperationDefaultResponse extends H
|
|
|
1449
1546
|
body: ErrorResponseOutput;
|
|
1450
1547
|
}
|
|
1451
1548
|
|
|
1452
|
-
export declare
|
|
1549
|
+
export declare interface GetDocumentModelBuildOperationHeaderParam {
|
|
1550
|
+
headers?: RawHttpHeadersInput & GetDocumentModelBuildOperationHeaders;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
export declare interface GetDocumentModelBuildOperationHeaders {
|
|
1554
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1555
|
+
"x-ms-client-request-id"?: string;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
export declare type GetDocumentModelBuildOperationParameters = GetDocumentModelBuildOperationHeaderParam & RequestParameters;
|
|
1559
|
+
|
|
1560
|
+
export declare interface GetDocumentModelComposeOperation200Headers {
|
|
1561
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1562
|
+
"x-ms-client-request-id"?: string;
|
|
1563
|
+
}
|
|
1453
1564
|
|
|
1454
1565
|
/** The request has succeeded. */
|
|
1455
1566
|
export declare interface GetDocumentModelComposeOperation200Response extends HttpResponse {
|
|
1456
1567
|
status: "200";
|
|
1457
1568
|
body: DocumentModelComposeOperationDetailsOutput;
|
|
1569
|
+
headers: RawHttpHeaders & GetDocumentModelComposeOperation200Headers;
|
|
1458
1570
|
}
|
|
1459
1571
|
|
|
1460
1572
|
export declare interface GetDocumentModelComposeOperationDefaultResponse extends HttpResponse {
|
|
@@ -1462,12 +1574,27 @@ export declare interface GetDocumentModelComposeOperationDefaultResponse extends
|
|
|
1462
1574
|
body: ErrorResponseOutput;
|
|
1463
1575
|
}
|
|
1464
1576
|
|
|
1465
|
-
export declare
|
|
1577
|
+
export declare interface GetDocumentModelComposeOperationHeaderParam {
|
|
1578
|
+
headers?: RawHttpHeadersInput & GetDocumentModelComposeOperationHeaders;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
export declare interface GetDocumentModelComposeOperationHeaders {
|
|
1582
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1583
|
+
"x-ms-client-request-id"?: string;
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
export declare type GetDocumentModelComposeOperationParameters = GetDocumentModelComposeOperationHeaderParam & RequestParameters;
|
|
1587
|
+
|
|
1588
|
+
export declare interface GetDocumentModelCopyToOperation200Headers {
|
|
1589
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1590
|
+
"x-ms-client-request-id"?: string;
|
|
1591
|
+
}
|
|
1466
1592
|
|
|
1467
1593
|
/** The request has succeeded. */
|
|
1468
1594
|
export declare interface GetDocumentModelCopyToOperation200Response extends HttpResponse {
|
|
1469
1595
|
status: "200";
|
|
1470
1596
|
body: DocumentModelCopyToOperationDetailsOutput;
|
|
1597
|
+
headers: RawHttpHeaders & GetDocumentModelCopyToOperation200Headers;
|
|
1471
1598
|
}
|
|
1472
1599
|
|
|
1473
1600
|
export declare interface GetDocumentModelCopyToOperationDefaultResponse extends HttpResponse {
|
|
@@ -1475,7 +1602,16 @@ export declare interface GetDocumentModelCopyToOperationDefaultResponse extends
|
|
|
1475
1602
|
body: ErrorResponseOutput;
|
|
1476
1603
|
}
|
|
1477
1604
|
|
|
1478
|
-
export declare
|
|
1605
|
+
export declare interface GetDocumentModelCopyToOperationHeaderParam {
|
|
1606
|
+
headers?: RawHttpHeadersInput & GetDocumentModelCopyToOperationHeaders;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
export declare interface GetDocumentModelCopyToOperationHeaders {
|
|
1610
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1611
|
+
"x-ms-client-request-id"?: string;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
export declare type GetDocumentModelCopyToOperationParameters = GetDocumentModelCopyToOperationHeaderParam & RequestParameters;
|
|
1479
1615
|
|
|
1480
1616
|
/**
|
|
1481
1617
|
* Helper function that builds a Poller object to help polling a long running operation.
|
|
@@ -1503,10 +1639,16 @@ export declare interface GetModel {
|
|
|
1503
1639
|
delete(options?: DeleteModelParameters): StreamableMethod<DeleteModel204Response | DeleteModelDefaultResponse>;
|
|
1504
1640
|
}
|
|
1505
1641
|
|
|
1642
|
+
export declare interface GetModel200Headers {
|
|
1643
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1644
|
+
"x-ms-client-request-id"?: string;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1506
1647
|
/** The request has succeeded. */
|
|
1507
1648
|
export declare interface GetModel200Response extends HttpResponse {
|
|
1508
1649
|
status: "200";
|
|
1509
1650
|
body: DocumentModelDetailsOutput;
|
|
1651
|
+
headers: RawHttpHeaders & GetModel200Headers;
|
|
1510
1652
|
}
|
|
1511
1653
|
|
|
1512
1654
|
export declare interface GetModelDefaultResponse extends HttpResponse {
|
|
@@ -1514,12 +1656,27 @@ export declare interface GetModelDefaultResponse extends HttpResponse {
|
|
|
1514
1656
|
body: ErrorResponseOutput;
|
|
1515
1657
|
}
|
|
1516
1658
|
|
|
1517
|
-
export declare
|
|
1659
|
+
export declare interface GetModelHeaderParam {
|
|
1660
|
+
headers?: RawHttpHeadersInput & GetModelHeaders;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
export declare interface GetModelHeaders {
|
|
1664
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1665
|
+
"x-ms-client-request-id"?: string;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
export declare type GetModelParameters = GetModelHeaderParam & RequestParameters;
|
|
1669
|
+
|
|
1670
|
+
export declare interface GetOperation200Headers {
|
|
1671
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1672
|
+
"x-ms-client-request-id"?: string;
|
|
1673
|
+
}
|
|
1518
1674
|
|
|
1519
1675
|
/** The request has succeeded. */
|
|
1520
1676
|
export declare interface GetOperation200Response extends HttpResponse {
|
|
1521
1677
|
status: "200";
|
|
1522
1678
|
body: OperationDetailsOutput;
|
|
1679
|
+
headers: RawHttpHeaders & GetOperation200Headers;
|
|
1523
1680
|
}
|
|
1524
1681
|
|
|
1525
1682
|
export declare interface GetOperationDefaultResponse extends HttpResponse {
|
|
@@ -1527,7 +1684,16 @@ export declare interface GetOperationDefaultResponse extends HttpResponse {
|
|
|
1527
1684
|
body: ErrorResponseOutput;
|
|
1528
1685
|
}
|
|
1529
1686
|
|
|
1530
|
-
export declare
|
|
1687
|
+
export declare interface GetOperationHeaderParam {
|
|
1688
|
+
headers?: RawHttpHeadersInput & GetOperationHeaders;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
export declare interface GetOperationHeaders {
|
|
1692
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1693
|
+
"x-ms-client-request-id"?: string;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
export declare type GetOperationParameters = GetOperationHeaderParam & RequestParameters;
|
|
1531
1697
|
|
|
1532
1698
|
/**
|
|
1533
1699
|
* The type of a custom function that defines how to get a page and a link to the next one if any.
|
|
@@ -1567,13 +1733,13 @@ export declare interface InnerErrorOutput {
|
|
|
1567
1733
|
|
|
1568
1734
|
export declare function isUnexpected(response: ListOperations200Response | ListOperationsDefaultResponse): response is ListOperationsDefaultResponse;
|
|
1569
1735
|
|
|
1570
|
-
export declare function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response is GetDocumentModelBuildOperationDefaultResponse;
|
|
1736
|
+
export declare function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelComposeOperation200Response | GetDocumentModelCopyToOperation200Response | GetDocumentClassifierBuildOperation200Response | GetOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response is GetDocumentModelBuildOperationDefaultResponse;
|
|
1571
1737
|
|
|
1572
1738
|
export declare function isUnexpected(response: GetResourceInfo200Response | GetResourceInfoDefaultResponse): response is GetResourceInfoDefaultResponse;
|
|
1573
1739
|
|
|
1574
1740
|
export declare function isUnexpected(response: GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse): response is GetAnalyzeResultDefaultResponse;
|
|
1575
1741
|
|
|
1576
|
-
export declare function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse): response is AnalyzeDocumentFromStreamDefaultResponse;
|
|
1742
|
+
export declare function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocument202Response | AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse): response is AnalyzeDocumentFromStreamDefaultResponse;
|
|
1577
1743
|
|
|
1578
1744
|
export declare function isUnexpected(response: GetModel200Response | GetModelDefaultResponse): response is GetModelDefaultResponse;
|
|
1579
1745
|
|
|
@@ -1597,7 +1763,7 @@ export declare function isUnexpected(response: GetClassifier200Response | GetCla
|
|
|
1597
1763
|
|
|
1598
1764
|
export declare function isUnexpected(response: DeleteClassifier204Response | DeleteClassifierDefaultResponse): response is DeleteClassifierDefaultResponse;
|
|
1599
1765
|
|
|
1600
|
-
export declare function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentFromStreamDefaultResponse): response is ClassifyDocumentFromStreamDefaultResponse;
|
|
1766
|
+
export declare function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocument202Response | ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentLogicalResponse | ClassifyDocumentFromStreamDefaultResponse): response is ClassifyDocumentFromStreamDefaultResponse;
|
|
1601
1767
|
|
|
1602
1768
|
export declare function isUnexpected(response: GetClassifyResult200Response | GetClassifyResultDefaultResponse): response is GetClassifyResultDefaultResponse;
|
|
1603
1769
|
|
|
@@ -1606,10 +1772,16 @@ export declare interface ListClassifiers {
|
|
|
1606
1772
|
get(options?: ListClassifiersParameters): StreamableMethod<ListClassifiers200Response | ListClassifiersDefaultResponse>;
|
|
1607
1773
|
}
|
|
1608
1774
|
|
|
1775
|
+
export declare interface ListClassifiers200Headers {
|
|
1776
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1777
|
+
"x-ms-client-request-id"?: string;
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1609
1780
|
/** The request has succeeded. */
|
|
1610
1781
|
export declare interface ListClassifiers200Response extends HttpResponse {
|
|
1611
1782
|
status: "200";
|
|
1612
1783
|
body: PagedDocumentClassifierDetailsOutput;
|
|
1784
|
+
headers: RawHttpHeaders & ListClassifiers200Headers;
|
|
1613
1785
|
}
|
|
1614
1786
|
|
|
1615
1787
|
export declare interface ListClassifiersDefaultResponse extends HttpResponse {
|
|
@@ -1617,17 +1789,32 @@ export declare interface ListClassifiersDefaultResponse extends HttpResponse {
|
|
|
1617
1789
|
body: ErrorResponseOutput;
|
|
1618
1790
|
}
|
|
1619
1791
|
|
|
1620
|
-
export declare
|
|
1792
|
+
export declare interface ListClassifiersHeaderParam {
|
|
1793
|
+
headers?: RawHttpHeadersInput & ListClassifiersHeaders;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
export declare interface ListClassifiersHeaders {
|
|
1797
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1798
|
+
"x-ms-client-request-id"?: string;
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
export declare type ListClassifiersParameters = ListClassifiersHeaderParam & RequestParameters;
|
|
1621
1802
|
|
|
1622
1803
|
export declare interface ListModels {
|
|
1623
1804
|
/** List all document models */
|
|
1624
1805
|
get(options?: ListModelsParameters): StreamableMethod<ListModels200Response | ListModelsDefaultResponse>;
|
|
1625
1806
|
}
|
|
1626
1807
|
|
|
1808
|
+
export declare interface ListModels200Headers {
|
|
1809
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1810
|
+
"x-ms-client-request-id"?: string;
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1627
1813
|
/** The request has succeeded. */
|
|
1628
1814
|
export declare interface ListModels200Response extends HttpResponse {
|
|
1629
1815
|
status: "200";
|
|
1630
1816
|
body: PagedDocumentModelDetailsOutput;
|
|
1817
|
+
headers: RawHttpHeaders & ListModels200Headers;
|
|
1631
1818
|
}
|
|
1632
1819
|
|
|
1633
1820
|
export declare interface ListModelsDefaultResponse extends HttpResponse {
|
|
@@ -1635,17 +1822,32 @@ export declare interface ListModelsDefaultResponse extends HttpResponse {
|
|
|
1635
1822
|
body: ErrorResponseOutput;
|
|
1636
1823
|
}
|
|
1637
1824
|
|
|
1638
|
-
export declare
|
|
1825
|
+
export declare interface ListModelsHeaderParam {
|
|
1826
|
+
headers?: RawHttpHeadersInput & ListModelsHeaders;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
export declare interface ListModelsHeaders {
|
|
1830
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1831
|
+
"x-ms-client-request-id"?: string;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
export declare type ListModelsParameters = ListModelsHeaderParam & RequestParameters;
|
|
1639
1835
|
|
|
1640
1836
|
export declare interface ListOperations {
|
|
1641
1837
|
/** Lists all operations. */
|
|
1642
1838
|
get(options?: ListOperationsParameters): StreamableMethod<ListOperations200Response | ListOperationsDefaultResponse>;
|
|
1643
1839
|
}
|
|
1644
1840
|
|
|
1841
|
+
export declare interface ListOperations200Headers {
|
|
1842
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1843
|
+
"x-ms-client-request-id"?: string;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1645
1846
|
/** The request has succeeded. */
|
|
1646
1847
|
export declare interface ListOperations200Response extends HttpResponse {
|
|
1647
1848
|
status: "200";
|
|
1648
1849
|
body: PagedOperationDetailsOutput;
|
|
1850
|
+
headers: RawHttpHeaders & ListOperations200Headers;
|
|
1649
1851
|
}
|
|
1650
1852
|
|
|
1651
1853
|
export declare interface ListOperationsDefaultResponse extends HttpResponse {
|
|
@@ -1653,19 +1855,28 @@ export declare interface ListOperationsDefaultResponse extends HttpResponse {
|
|
|
1653
1855
|
body: ErrorResponseOutput;
|
|
1654
1856
|
}
|
|
1655
1857
|
|
|
1656
|
-
export declare
|
|
1858
|
+
export declare interface ListOperationsHeaderParam {
|
|
1859
|
+
headers?: RawHttpHeadersInput & ListOperationsHeaders;
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
export declare interface ListOperationsHeaders {
|
|
1863
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
1864
|
+
"x-ms-client-request-id"?: string;
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
export declare type ListOperationsParameters = ListOperationsHeaderParam & RequestParameters;
|
|
1657
1868
|
|
|
1658
1869
|
/** Operation info. */
|
|
1659
|
-
export declare type OperationDetailsOutput = DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
|
|
1870
|
+
export declare type OperationDetailsOutput = OperationDetailsOutputParent | DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
|
|
1660
1871
|
|
|
1661
1872
|
/** Operation info. */
|
|
1662
1873
|
export declare interface OperationDetailsOutputParent {
|
|
1663
1874
|
/** Operation ID */
|
|
1664
1875
|
operationId: string;
|
|
1665
1876
|
/**
|
|
1666
|
-
* Operation status.
|
|
1877
|
+
* Operation status. notStarted, running, completed, or failed
|
|
1667
1878
|
*
|
|
1668
|
-
* Possible values: notStarted, running, failed, succeeded, canceled
|
|
1879
|
+
* Possible values: "notStarted", "running", "failed", "succeeded", "completed", "canceled"
|
|
1669
1880
|
*/
|
|
1670
1881
|
status: string;
|
|
1671
1882
|
/** Operation progress (0-100). */
|
|
@@ -1779,4 +1990,14 @@ export declare interface Routes {
|
|
|
1779
1990
|
(path: "/documentClassifiers/{classifierId}/analyzeResults/{resultId}", classifierId: string, resultId: string): GetClassifyResult;
|
|
1780
1991
|
}
|
|
1781
1992
|
|
|
1993
|
+
/** The error object. */
|
|
1994
|
+
export declare interface WarningOutput {
|
|
1995
|
+
/** One of a server-defined set of warning codes. */
|
|
1996
|
+
code: string;
|
|
1997
|
+
/** A human-readable representation of the warning. */
|
|
1998
|
+
message: string;
|
|
1999
|
+
/** The target of the error. */
|
|
2000
|
+
target?: string;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
1782
2003
|
export { }
|