@azure-rest/ai-document-intelligence 1.0.0-beta.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 +108 -26
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist-esm/src/clientDefinitions.js.map +1 -1
- package/dist-esm/src/documentIntelligence.js +2 -2
- package/dist-esm/src/documentIntelligence.js.map +1 -1
- 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.map +1 -1
- package/dist-esm/src/parameters.js.map +1 -1
- package/dist-esm/src/pollingHelper.js.map +1 -1
- package/dist-esm/src/responses.js.map +1 -1
- package/package.json +8 -11
- package/review/ai-document-intelligence.api.md +257 -16
- package/types/ai-document-intelligence.d.ts +268 -47
|
@@ -16,6 +16,7 @@ import { Paged } from '@azure/core-paging';
|
|
|
16
16
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
17
17
|
import { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
18
18
|
import { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
19
|
+
import { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
|
|
19
20
|
import { RequestParameters } from '@azure-rest/core-client';
|
|
20
21
|
import { SimplePollerLike } from '@azure/core-lro';
|
|
21
22
|
import { StreamableMethod } from '@azure-rest/core-client';
|
|
@@ -43,6 +44,7 @@ export interface AddressValueOutput {
|
|
|
43
44
|
export interface AnalyzeDocument202Headers {
|
|
44
45
|
// (undocumented)
|
|
45
46
|
"operation-location": string;
|
|
47
|
+
"retry-after"?: number;
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
// @public
|
|
@@ -76,6 +78,7 @@ export interface AnalyzeDocumentFromStream {
|
|
|
76
78
|
export interface AnalyzeDocumentFromStream202Headers {
|
|
77
79
|
// (undocumented)
|
|
78
80
|
"operation-location": string;
|
|
81
|
+
"retry-after"?: number;
|
|
79
82
|
}
|
|
80
83
|
|
|
81
84
|
// @public
|
|
@@ -268,6 +271,7 @@ export interface BuildClassifier {
|
|
|
268
271
|
export interface BuildClassifier202Headers {
|
|
269
272
|
// (undocumented)
|
|
270
273
|
"operation-location": string;
|
|
274
|
+
"retry-after"?: number;
|
|
271
275
|
}
|
|
272
276
|
|
|
273
277
|
// @public
|
|
@@ -302,6 +306,7 @@ export type BuildClassifierParameters = BuildClassifierBodyParam & RequestParame
|
|
|
302
306
|
|
|
303
307
|
// @public
|
|
304
308
|
export interface BuildDocumentClassifierRequest {
|
|
309
|
+
baseClassifierId?: string;
|
|
305
310
|
classifierId: string;
|
|
306
311
|
description?: string;
|
|
307
312
|
docTypes: Record<string, ClassifierDocumentTypeDetails>;
|
|
@@ -326,6 +331,7 @@ export interface BuildModel {
|
|
|
326
331
|
export interface BuildModel202Headers {
|
|
327
332
|
// (undocumented)
|
|
328
333
|
"operation-location": string;
|
|
334
|
+
"retry-after"?: number;
|
|
329
335
|
}
|
|
330
336
|
|
|
331
337
|
// @public
|
|
@@ -376,6 +382,7 @@ export interface ClassifierDocumentTypeDetailsOutput {
|
|
|
376
382
|
export interface ClassifyDocument202Headers {
|
|
377
383
|
// (undocumented)
|
|
378
384
|
"operation-location": string;
|
|
385
|
+
"retry-after"?: number;
|
|
379
386
|
}
|
|
380
387
|
|
|
381
388
|
// @public
|
|
@@ -409,6 +416,7 @@ export interface ClassifyDocumentFromStream {
|
|
|
409
416
|
export interface ClassifyDocumentFromStream202Headers {
|
|
410
417
|
// (undocumented)
|
|
411
418
|
"operation-location": string;
|
|
419
|
+
"retry-after"?: number;
|
|
412
420
|
}
|
|
413
421
|
|
|
414
422
|
// @public
|
|
@@ -490,6 +498,10 @@ export interface ClassifyDocumentRequest {
|
|
|
490
498
|
urlSource?: string;
|
|
491
499
|
}
|
|
492
500
|
|
|
501
|
+
// @public
|
|
502
|
+
export interface ClientRequestIdHeaderOutput {
|
|
503
|
+
}
|
|
504
|
+
|
|
493
505
|
// @public
|
|
494
506
|
export interface ComponentDocumentModelDetails {
|
|
495
507
|
modelId: string;
|
|
@@ -512,6 +524,7 @@ export interface ComposeModel {
|
|
|
512
524
|
export interface ComposeModel202Headers {
|
|
513
525
|
// (undocumented)
|
|
514
526
|
"operation-location": string;
|
|
527
|
+
"retry-after"?: number;
|
|
515
528
|
}
|
|
516
529
|
|
|
517
530
|
// @public
|
|
@@ -573,6 +586,7 @@ export interface CopyModelTo {
|
|
|
573
586
|
export interface CopyModelTo202Headers {
|
|
574
587
|
// (undocumented)
|
|
575
588
|
"operation-location": string;
|
|
589
|
+
"retry-after"?: number;
|
|
576
590
|
}
|
|
577
591
|
|
|
578
592
|
// @public
|
|
@@ -622,8 +636,15 @@ export interface CustomDocumentModelsDetailsOutput {
|
|
|
622
636
|
limit: number;
|
|
623
637
|
}
|
|
624
638
|
|
|
639
|
+
// @public (undocumented)
|
|
640
|
+
export interface DeleteClassifier204Headers {
|
|
641
|
+
"x-ms-client-request-id"?: string;
|
|
642
|
+
}
|
|
643
|
+
|
|
625
644
|
// @public
|
|
626
645
|
export interface DeleteClassifier204Response extends HttpResponse {
|
|
646
|
+
// (undocumented)
|
|
647
|
+
headers: RawHttpHeaders & DeleteClassifier204Headers;
|
|
627
648
|
// (undocumented)
|
|
628
649
|
status: "204";
|
|
629
650
|
}
|
|
@@ -637,10 +658,28 @@ export interface DeleteClassifierDefaultResponse extends HttpResponse {
|
|
|
637
658
|
}
|
|
638
659
|
|
|
639
660
|
// @public (undocumented)
|
|
640
|
-
export
|
|
661
|
+
export interface DeleteClassifierHeaderParam {
|
|
662
|
+
// (undocumented)
|
|
663
|
+
headers?: RawHttpHeadersInput & DeleteClassifierHeaders;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
// @public (undocumented)
|
|
667
|
+
export interface DeleteClassifierHeaders {
|
|
668
|
+
"x-ms-client-request-id"?: string;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
// @public (undocumented)
|
|
672
|
+
export type DeleteClassifierParameters = DeleteClassifierHeaderParam & RequestParameters;
|
|
673
|
+
|
|
674
|
+
// @public (undocumented)
|
|
675
|
+
export interface DeleteModel204Headers {
|
|
676
|
+
"x-ms-client-request-id"?: string;
|
|
677
|
+
}
|
|
641
678
|
|
|
642
679
|
// @public
|
|
643
680
|
export interface DeleteModel204Response extends HttpResponse {
|
|
681
|
+
// (undocumented)
|
|
682
|
+
headers: RawHttpHeaders & DeleteModel204Headers;
|
|
644
683
|
// (undocumented)
|
|
645
684
|
status: "204";
|
|
646
685
|
}
|
|
@@ -654,7 +693,18 @@ export interface DeleteModelDefaultResponse extends HttpResponse {
|
|
|
654
693
|
}
|
|
655
694
|
|
|
656
695
|
// @public (undocumented)
|
|
657
|
-
export
|
|
696
|
+
export interface DeleteModelHeaderParam {
|
|
697
|
+
// (undocumented)
|
|
698
|
+
headers?: RawHttpHeadersInput & DeleteModelHeaders;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
// @public (undocumented)
|
|
702
|
+
export interface DeleteModelHeaders {
|
|
703
|
+
"x-ms-client-request-id"?: string;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
// @public (undocumented)
|
|
707
|
+
export type DeleteModelParameters = DeleteModelHeaderParam & RequestParameters;
|
|
658
708
|
|
|
659
709
|
// @public
|
|
660
710
|
export interface DocumentBarcodeOutput {
|
|
@@ -682,11 +732,13 @@ export interface DocumentClassifierBuildOperationDetailsOutput extends Operation
|
|
|
682
732
|
// @public
|
|
683
733
|
export interface DocumentClassifierDetailsOutput {
|
|
684
734
|
apiVersion: string;
|
|
735
|
+
baseClassifierId?: string;
|
|
685
736
|
classifierId: string;
|
|
686
737
|
createdDateTime: string;
|
|
687
738
|
description?: string;
|
|
688
739
|
docTypes: Record<string, ClassifierDocumentTypeDetailsOutput>;
|
|
689
740
|
expirationDateTime?: string;
|
|
741
|
+
warnings?: Array<WarningOutput>;
|
|
690
742
|
}
|
|
691
743
|
|
|
692
744
|
// @public
|
|
@@ -706,6 +758,7 @@ export interface DocumentFieldOutput {
|
|
|
706
758
|
valueNumber?: number;
|
|
707
759
|
valueObject?: Record<string, DocumentFieldOutput>;
|
|
708
760
|
valuePhoneNumber?: string;
|
|
761
|
+
valueSelectionGroup?: string[];
|
|
709
762
|
valueSelectionMark?: string;
|
|
710
763
|
valueSignature?: string;
|
|
711
764
|
valueString?: string;
|
|
@@ -825,6 +878,7 @@ export interface DocumentModelDetailsOutput {
|
|
|
825
878
|
expirationDateTime?: string;
|
|
826
879
|
modelId: string;
|
|
827
880
|
tags?: Record<string, string>;
|
|
881
|
+
warnings?: Array<WarningOutput>;
|
|
828
882
|
}
|
|
829
883
|
|
|
830
884
|
// @public
|
|
@@ -978,11 +1032,18 @@ export interface GetClassifier {
|
|
|
978
1032
|
get(options?: GetClassifierParameters): StreamableMethod<GetClassifier200Response | GetClassifierDefaultResponse>;
|
|
979
1033
|
}
|
|
980
1034
|
|
|
1035
|
+
// @public (undocumented)
|
|
1036
|
+
export interface GetClassifier200Headers {
|
|
1037
|
+
"x-ms-client-request-id"?: string;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
981
1040
|
// @public
|
|
982
1041
|
export interface GetClassifier200Response extends HttpResponse {
|
|
983
1042
|
// (undocumented)
|
|
984
1043
|
body: DocumentClassifierDetailsOutput;
|
|
985
1044
|
// (undocumented)
|
|
1045
|
+
headers: RawHttpHeaders & GetClassifier200Headers;
|
|
1046
|
+
// (undocumented)
|
|
986
1047
|
status: "200";
|
|
987
1048
|
}
|
|
988
1049
|
|
|
@@ -995,7 +1056,18 @@ export interface GetClassifierDefaultResponse extends HttpResponse {
|
|
|
995
1056
|
}
|
|
996
1057
|
|
|
997
1058
|
// @public (undocumented)
|
|
998
|
-
export
|
|
1059
|
+
export interface GetClassifierHeaderParam {
|
|
1060
|
+
// (undocumented)
|
|
1061
|
+
headers?: RawHttpHeadersInput & GetClassifierHeaders;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
// @public (undocumented)
|
|
1065
|
+
export interface GetClassifierHeaders {
|
|
1066
|
+
"x-ms-client-request-id"?: string;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
// @public (undocumented)
|
|
1070
|
+
export type GetClassifierParameters = GetClassifierHeaderParam & RequestParameters;
|
|
999
1071
|
|
|
1000
1072
|
// @public (undocumented)
|
|
1001
1073
|
export interface GetClassifyResult {
|
|
@@ -1021,11 +1093,18 @@ export interface GetClassifyResultDefaultResponse extends HttpResponse {
|
|
|
1021
1093
|
// @public (undocumented)
|
|
1022
1094
|
export type GetClassifyResultParameters = RequestParameters;
|
|
1023
1095
|
|
|
1096
|
+
// @public (undocumented)
|
|
1097
|
+
export interface GetDocumentClassifierBuildOperation200Headers {
|
|
1098
|
+
"x-ms-client-request-id"?: string;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1024
1101
|
// @public
|
|
1025
1102
|
export interface GetDocumentClassifierBuildOperation200Response extends HttpResponse {
|
|
1026
1103
|
// (undocumented)
|
|
1027
1104
|
body: DocumentClassifierBuildOperationDetailsOutput;
|
|
1028
1105
|
// (undocumented)
|
|
1106
|
+
headers: RawHttpHeaders & GetDocumentClassifierBuildOperation200Headers;
|
|
1107
|
+
// (undocumented)
|
|
1029
1108
|
status: "200";
|
|
1030
1109
|
}
|
|
1031
1110
|
|
|
@@ -1038,7 +1117,18 @@ export interface GetDocumentClassifierBuildOperationDefaultResponse extends Http
|
|
|
1038
1117
|
}
|
|
1039
1118
|
|
|
1040
1119
|
// @public (undocumented)
|
|
1041
|
-
export
|
|
1120
|
+
export interface GetDocumentClassifierBuildOperationHeaderParam {
|
|
1121
|
+
// (undocumented)
|
|
1122
|
+
headers?: RawHttpHeadersInput & GetDocumentClassifierBuildOperationHeaders;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
// @public (undocumented)
|
|
1126
|
+
export interface GetDocumentClassifierBuildOperationHeaders {
|
|
1127
|
+
"x-ms-client-request-id"?: string;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
// @public (undocumented)
|
|
1131
|
+
export type GetDocumentClassifierBuildOperationParameters = GetDocumentClassifierBuildOperationHeaderParam & RequestParameters;
|
|
1042
1132
|
|
|
1043
1133
|
// @public (undocumented)
|
|
1044
1134
|
export interface GetDocumentModelBuildOperation {
|
|
@@ -1049,11 +1139,18 @@ export interface GetDocumentModelBuildOperation {
|
|
|
1049
1139
|
get(options?: GetOperationParameters): StreamableMethod<GetOperation200Response | GetOperationDefaultResponse>;
|
|
1050
1140
|
}
|
|
1051
1141
|
|
|
1142
|
+
// @public (undocumented)
|
|
1143
|
+
export interface GetDocumentModelBuildOperation200Headers {
|
|
1144
|
+
"x-ms-client-request-id"?: string;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1052
1147
|
// @public
|
|
1053
1148
|
export interface GetDocumentModelBuildOperation200Response extends HttpResponse {
|
|
1054
1149
|
// (undocumented)
|
|
1055
1150
|
body: DocumentModelBuildOperationDetailsOutput;
|
|
1056
1151
|
// (undocumented)
|
|
1152
|
+
headers: RawHttpHeaders & GetDocumentModelBuildOperation200Headers;
|
|
1153
|
+
// (undocumented)
|
|
1057
1154
|
status: "200";
|
|
1058
1155
|
}
|
|
1059
1156
|
|
|
@@ -1066,13 +1163,31 @@ export interface GetDocumentModelBuildOperationDefaultResponse extends HttpRespo
|
|
|
1066
1163
|
}
|
|
1067
1164
|
|
|
1068
1165
|
// @public (undocumented)
|
|
1069
|
-
export
|
|
1166
|
+
export interface GetDocumentModelBuildOperationHeaderParam {
|
|
1167
|
+
// (undocumented)
|
|
1168
|
+
headers?: RawHttpHeadersInput & GetDocumentModelBuildOperationHeaders;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
// @public (undocumented)
|
|
1172
|
+
export interface GetDocumentModelBuildOperationHeaders {
|
|
1173
|
+
"x-ms-client-request-id"?: string;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
// @public (undocumented)
|
|
1177
|
+
export type GetDocumentModelBuildOperationParameters = GetDocumentModelBuildOperationHeaderParam & RequestParameters;
|
|
1178
|
+
|
|
1179
|
+
// @public (undocumented)
|
|
1180
|
+
export interface GetDocumentModelComposeOperation200Headers {
|
|
1181
|
+
"x-ms-client-request-id"?: string;
|
|
1182
|
+
}
|
|
1070
1183
|
|
|
1071
1184
|
// @public
|
|
1072
1185
|
export interface GetDocumentModelComposeOperation200Response extends HttpResponse {
|
|
1073
1186
|
// (undocumented)
|
|
1074
1187
|
body: DocumentModelComposeOperationDetailsOutput;
|
|
1075
1188
|
// (undocumented)
|
|
1189
|
+
headers: RawHttpHeaders & GetDocumentModelComposeOperation200Headers;
|
|
1190
|
+
// (undocumented)
|
|
1076
1191
|
status: "200";
|
|
1077
1192
|
}
|
|
1078
1193
|
|
|
@@ -1085,13 +1200,31 @@ export interface GetDocumentModelComposeOperationDefaultResponse extends HttpRes
|
|
|
1085
1200
|
}
|
|
1086
1201
|
|
|
1087
1202
|
// @public (undocumented)
|
|
1088
|
-
export
|
|
1203
|
+
export interface GetDocumentModelComposeOperationHeaderParam {
|
|
1204
|
+
// (undocumented)
|
|
1205
|
+
headers?: RawHttpHeadersInput & GetDocumentModelComposeOperationHeaders;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
// @public (undocumented)
|
|
1209
|
+
export interface GetDocumentModelComposeOperationHeaders {
|
|
1210
|
+
"x-ms-client-request-id"?: string;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
// @public (undocumented)
|
|
1214
|
+
export type GetDocumentModelComposeOperationParameters = GetDocumentModelComposeOperationHeaderParam & RequestParameters;
|
|
1215
|
+
|
|
1216
|
+
// @public (undocumented)
|
|
1217
|
+
export interface GetDocumentModelCopyToOperation200Headers {
|
|
1218
|
+
"x-ms-client-request-id"?: string;
|
|
1219
|
+
}
|
|
1089
1220
|
|
|
1090
1221
|
// @public
|
|
1091
1222
|
export interface GetDocumentModelCopyToOperation200Response extends HttpResponse {
|
|
1092
1223
|
// (undocumented)
|
|
1093
1224
|
body: DocumentModelCopyToOperationDetailsOutput;
|
|
1094
1225
|
// (undocumented)
|
|
1226
|
+
headers: RawHttpHeaders & GetDocumentModelCopyToOperation200Headers;
|
|
1227
|
+
// (undocumented)
|
|
1095
1228
|
status: "200";
|
|
1096
1229
|
}
|
|
1097
1230
|
|
|
@@ -1104,7 +1237,18 @@ export interface GetDocumentModelCopyToOperationDefaultResponse extends HttpResp
|
|
|
1104
1237
|
}
|
|
1105
1238
|
|
|
1106
1239
|
// @public (undocumented)
|
|
1107
|
-
export
|
|
1240
|
+
export interface GetDocumentModelCopyToOperationHeaderParam {
|
|
1241
|
+
// (undocumented)
|
|
1242
|
+
headers?: RawHttpHeadersInput & GetDocumentModelCopyToOperationHeaders;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
// @public (undocumented)
|
|
1246
|
+
export interface GetDocumentModelCopyToOperationHeaders {
|
|
1247
|
+
"x-ms-client-request-id"?: string;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
// @public (undocumented)
|
|
1251
|
+
export type GetDocumentModelCopyToOperationParameters = GetDocumentModelCopyToOperationHeaderParam & RequestParameters;
|
|
1108
1252
|
|
|
1109
1253
|
// @public
|
|
1110
1254
|
export function getLongRunningPoller<TResult extends BuildModelLogicalResponse | BuildModelDefaultResponse>(client: Client, initialResponse: BuildModel202Response | BuildModelDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
@@ -1130,11 +1274,18 @@ export interface GetModel {
|
|
|
1130
1274
|
get(options?: GetModelParameters): StreamableMethod<GetModel200Response | GetModelDefaultResponse>;
|
|
1131
1275
|
}
|
|
1132
1276
|
|
|
1277
|
+
// @public (undocumented)
|
|
1278
|
+
export interface GetModel200Headers {
|
|
1279
|
+
"x-ms-client-request-id"?: string;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1133
1282
|
// @public
|
|
1134
1283
|
export interface GetModel200Response extends HttpResponse {
|
|
1135
1284
|
// (undocumented)
|
|
1136
1285
|
body: DocumentModelDetailsOutput;
|
|
1137
1286
|
// (undocumented)
|
|
1287
|
+
headers: RawHttpHeaders & GetModel200Headers;
|
|
1288
|
+
// (undocumented)
|
|
1138
1289
|
status: "200";
|
|
1139
1290
|
}
|
|
1140
1291
|
|
|
@@ -1147,13 +1298,31 @@ export interface GetModelDefaultResponse extends HttpResponse {
|
|
|
1147
1298
|
}
|
|
1148
1299
|
|
|
1149
1300
|
// @public (undocumented)
|
|
1150
|
-
export
|
|
1301
|
+
export interface GetModelHeaderParam {
|
|
1302
|
+
// (undocumented)
|
|
1303
|
+
headers?: RawHttpHeadersInput & GetModelHeaders;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
// @public (undocumented)
|
|
1307
|
+
export interface GetModelHeaders {
|
|
1308
|
+
"x-ms-client-request-id"?: string;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
// @public (undocumented)
|
|
1312
|
+
export type GetModelParameters = GetModelHeaderParam & RequestParameters;
|
|
1313
|
+
|
|
1314
|
+
// @public (undocumented)
|
|
1315
|
+
export interface GetOperation200Headers {
|
|
1316
|
+
"x-ms-client-request-id"?: string;
|
|
1317
|
+
}
|
|
1151
1318
|
|
|
1152
1319
|
// @public
|
|
1153
1320
|
export interface GetOperation200Response extends HttpResponse {
|
|
1154
1321
|
// (undocumented)
|
|
1155
1322
|
body: OperationDetailsOutput;
|
|
1156
1323
|
// (undocumented)
|
|
1324
|
+
headers: RawHttpHeaders & GetOperation200Headers;
|
|
1325
|
+
// (undocumented)
|
|
1157
1326
|
status: "200";
|
|
1158
1327
|
}
|
|
1159
1328
|
|
|
@@ -1166,7 +1335,18 @@ export interface GetOperationDefaultResponse extends HttpResponse {
|
|
|
1166
1335
|
}
|
|
1167
1336
|
|
|
1168
1337
|
// @public (undocumented)
|
|
1169
|
-
export
|
|
1338
|
+
export interface GetOperationHeaderParam {
|
|
1339
|
+
// (undocumented)
|
|
1340
|
+
headers?: RawHttpHeadersInput & GetOperationHeaders;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
// @public (undocumented)
|
|
1344
|
+
export interface GetOperationHeaders {
|
|
1345
|
+
"x-ms-client-request-id"?: string;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
// @public (undocumented)
|
|
1349
|
+
export type GetOperationParameters = GetOperationHeaderParam & RequestParameters;
|
|
1170
1350
|
|
|
1171
1351
|
// @public
|
|
1172
1352
|
export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
|
|
@@ -1209,7 +1389,7 @@ export interface InnerErrorOutput {
|
|
|
1209
1389
|
export function isUnexpected(response: ListOperations200Response | ListOperationsDefaultResponse): response is ListOperationsDefaultResponse;
|
|
1210
1390
|
|
|
1211
1391
|
// @public (undocumented)
|
|
1212
|
-
export function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response is GetDocumentModelBuildOperationDefaultResponse;
|
|
1392
|
+
export function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelComposeOperation200Response | GetDocumentModelCopyToOperation200Response | GetDocumentClassifierBuildOperation200Response | GetOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response is GetDocumentModelBuildOperationDefaultResponse;
|
|
1213
1393
|
|
|
1214
1394
|
// @public (undocumented)
|
|
1215
1395
|
export function isUnexpected(response: GetResourceInfo200Response | GetResourceInfoDefaultResponse): response is GetResourceInfoDefaultResponse;
|
|
@@ -1218,7 +1398,7 @@ export function isUnexpected(response: GetResourceInfo200Response | GetResourceI
|
|
|
1218
1398
|
export function isUnexpected(response: GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse): response is GetAnalyzeResultDefaultResponse;
|
|
1219
1399
|
|
|
1220
1400
|
// @public (undocumented)
|
|
1221
|
-
export function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse): response is AnalyzeDocumentFromStreamDefaultResponse;
|
|
1401
|
+
export function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocument202Response | AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse): response is AnalyzeDocumentFromStreamDefaultResponse;
|
|
1222
1402
|
|
|
1223
1403
|
// @public (undocumented)
|
|
1224
1404
|
export function isUnexpected(response: GetModel200Response | GetModelDefaultResponse): response is GetModelDefaultResponse;
|
|
@@ -1254,7 +1434,7 @@ export function isUnexpected(response: GetClassifier200Response | GetClassifierD
|
|
|
1254
1434
|
export function isUnexpected(response: DeleteClassifier204Response | DeleteClassifierDefaultResponse): response is DeleteClassifierDefaultResponse;
|
|
1255
1435
|
|
|
1256
1436
|
// @public (undocumented)
|
|
1257
|
-
export function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentFromStreamDefaultResponse): response is ClassifyDocumentFromStreamDefaultResponse;
|
|
1437
|
+
export function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocument202Response | ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentLogicalResponse | ClassifyDocumentFromStreamDefaultResponse): response is ClassifyDocumentFromStreamDefaultResponse;
|
|
1258
1438
|
|
|
1259
1439
|
// @public (undocumented)
|
|
1260
1440
|
export function isUnexpected(response: GetClassifyResult200Response | GetClassifyResultDefaultResponse): response is GetClassifyResultDefaultResponse;
|
|
@@ -1264,11 +1444,18 @@ export interface ListClassifiers {
|
|
|
1264
1444
|
get(options?: ListClassifiersParameters): StreamableMethod<ListClassifiers200Response | ListClassifiersDefaultResponse>;
|
|
1265
1445
|
}
|
|
1266
1446
|
|
|
1447
|
+
// @public (undocumented)
|
|
1448
|
+
export interface ListClassifiers200Headers {
|
|
1449
|
+
"x-ms-client-request-id"?: string;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1267
1452
|
// @public
|
|
1268
1453
|
export interface ListClassifiers200Response extends HttpResponse {
|
|
1269
1454
|
// (undocumented)
|
|
1270
1455
|
body: PagedDocumentClassifierDetailsOutput;
|
|
1271
1456
|
// (undocumented)
|
|
1457
|
+
headers: RawHttpHeaders & ListClassifiers200Headers;
|
|
1458
|
+
// (undocumented)
|
|
1272
1459
|
status: "200";
|
|
1273
1460
|
}
|
|
1274
1461
|
|
|
@@ -1281,18 +1468,36 @@ export interface ListClassifiersDefaultResponse extends HttpResponse {
|
|
|
1281
1468
|
}
|
|
1282
1469
|
|
|
1283
1470
|
// @public (undocumented)
|
|
1284
|
-
export
|
|
1471
|
+
export interface ListClassifiersHeaderParam {
|
|
1472
|
+
// (undocumented)
|
|
1473
|
+
headers?: RawHttpHeadersInput & ListClassifiersHeaders;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
// @public (undocumented)
|
|
1477
|
+
export interface ListClassifiersHeaders {
|
|
1478
|
+
"x-ms-client-request-id"?: string;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
// @public (undocumented)
|
|
1482
|
+
export type ListClassifiersParameters = ListClassifiersHeaderParam & RequestParameters;
|
|
1285
1483
|
|
|
1286
1484
|
// @public (undocumented)
|
|
1287
1485
|
export interface ListModels {
|
|
1288
1486
|
get(options?: ListModelsParameters): StreamableMethod<ListModels200Response | ListModelsDefaultResponse>;
|
|
1289
1487
|
}
|
|
1290
1488
|
|
|
1489
|
+
// @public (undocumented)
|
|
1490
|
+
export interface ListModels200Headers {
|
|
1491
|
+
"x-ms-client-request-id"?: string;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1291
1494
|
// @public
|
|
1292
1495
|
export interface ListModels200Response extends HttpResponse {
|
|
1293
1496
|
// (undocumented)
|
|
1294
1497
|
body: PagedDocumentModelDetailsOutput;
|
|
1295
1498
|
// (undocumented)
|
|
1499
|
+
headers: RawHttpHeaders & ListModels200Headers;
|
|
1500
|
+
// (undocumented)
|
|
1296
1501
|
status: "200";
|
|
1297
1502
|
}
|
|
1298
1503
|
|
|
@@ -1305,18 +1510,36 @@ export interface ListModelsDefaultResponse extends HttpResponse {
|
|
|
1305
1510
|
}
|
|
1306
1511
|
|
|
1307
1512
|
// @public (undocumented)
|
|
1308
|
-
export
|
|
1513
|
+
export interface ListModelsHeaderParam {
|
|
1514
|
+
// (undocumented)
|
|
1515
|
+
headers?: RawHttpHeadersInput & ListModelsHeaders;
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
// @public (undocumented)
|
|
1519
|
+
export interface ListModelsHeaders {
|
|
1520
|
+
"x-ms-client-request-id"?: string;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
// @public (undocumented)
|
|
1524
|
+
export type ListModelsParameters = ListModelsHeaderParam & RequestParameters;
|
|
1309
1525
|
|
|
1310
1526
|
// @public (undocumented)
|
|
1311
1527
|
export interface ListOperations {
|
|
1312
1528
|
get(options?: ListOperationsParameters): StreamableMethod<ListOperations200Response | ListOperationsDefaultResponse>;
|
|
1313
1529
|
}
|
|
1314
1530
|
|
|
1531
|
+
// @public (undocumented)
|
|
1532
|
+
export interface ListOperations200Headers {
|
|
1533
|
+
"x-ms-client-request-id"?: string;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1315
1536
|
// @public
|
|
1316
1537
|
export interface ListOperations200Response extends HttpResponse {
|
|
1317
1538
|
// (undocumented)
|
|
1318
1539
|
body: PagedOperationDetailsOutput;
|
|
1319
1540
|
// (undocumented)
|
|
1541
|
+
headers: RawHttpHeaders & ListOperations200Headers;
|
|
1542
|
+
// (undocumented)
|
|
1320
1543
|
status: "200";
|
|
1321
1544
|
}
|
|
1322
1545
|
|
|
@@ -1329,10 +1552,21 @@ export interface ListOperationsDefaultResponse extends HttpResponse {
|
|
|
1329
1552
|
}
|
|
1330
1553
|
|
|
1331
1554
|
// @public (undocumented)
|
|
1332
|
-
export
|
|
1555
|
+
export interface ListOperationsHeaderParam {
|
|
1556
|
+
// (undocumented)
|
|
1557
|
+
headers?: RawHttpHeadersInput & ListOperationsHeaders;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
// @public (undocumented)
|
|
1561
|
+
export interface ListOperationsHeaders {
|
|
1562
|
+
"x-ms-client-request-id"?: string;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
// @public (undocumented)
|
|
1566
|
+
export type ListOperationsParameters = ListOperationsHeaderParam & RequestParameters;
|
|
1333
1567
|
|
|
1334
1568
|
// @public
|
|
1335
|
-
export type OperationDetailsOutput = DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
|
|
1569
|
+
export type OperationDetailsOutput = OperationDetailsOutputParent | DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
|
|
1336
1570
|
|
|
1337
1571
|
// @public
|
|
1338
1572
|
export interface OperationDetailsOutputParent {
|
|
@@ -1406,6 +1640,13 @@ export interface Routes {
|
|
|
1406
1640
|
(path: "/documentClassifiers/{classifierId}/analyzeResults/{resultId}", classifierId: string, resultId: string): GetClassifyResult;
|
|
1407
1641
|
}
|
|
1408
1642
|
|
|
1643
|
+
// @public
|
|
1644
|
+
export interface WarningOutput {
|
|
1645
|
+
code: string;
|
|
1646
|
+
message: string;
|
|
1647
|
+
target?: string;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1409
1650
|
// (No @packageDocumentation comment for this package)
|
|
1410
1651
|
|
|
1411
1652
|
```
|