@azure-rest/ai-document-intelligence 1.0.0-beta.2 → 1.0.0-beta.3
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/CHANGELOG.md +154 -0
- package/LICENSE +21 -0
- package/README.md +4 -2
- package/dist/browser/clientDefinitions.d.ts +165 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/documentIntelligence.d.ts +16 -0
- package/dist/browser/documentIntelligence.d.ts.map +1 -0
- package/dist/browser/documentIntelligence.js +44 -0
- package/dist/browser/documentIntelligence.js.map +1 -0
- package/dist/browser/index.d.ts +12 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +14 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +33 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/isUnexpected.js +14 -6
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/models.d.ts +254 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/outputModels.d.ts +887 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/outputModels.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +43 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/dist/browser/parameters.d.ts +330 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/pollingHelper.d.ts +88 -0
- package/dist/browser/pollingHelper.d.ts.map +1 -0
- package/dist/browser/pollingHelper.js +118 -0
- package/dist/browser/pollingHelper.js.map +1 -0
- package/dist/browser/responses.d.ts +448 -0
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +165 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/documentIntelligence.d.ts +16 -0
- package/dist/commonjs/documentIntelligence.d.ts.map +1 -0
- package/dist/commonjs/documentIntelligence.js +47 -0
- package/dist/commonjs/documentIntelligence.js.map +1 -0
- package/dist/commonjs/index.d.ts +12 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +17 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +33 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +104 -0
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models.d.ts +254 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +887 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/paginateHelper.d.ts +43 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +73 -0
- package/dist/commonjs/paginateHelper.js.map +1 -0
- package/dist/commonjs/parameters.d.ts +330 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/pollingHelper.d.ts +88 -0
- package/dist/commonjs/pollingHelper.d.ts.map +1 -0
- package/dist/commonjs/pollingHelper.js +121 -0
- package/dist/commonjs/pollingHelper.js.map +1 -0
- package/dist/commonjs/responses.d.ts +448 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/clientDefinitions.d.ts +165 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/documentIntelligence.d.ts +16 -0
- package/dist/esm/documentIntelligence.d.ts.map +1 -0
- package/dist/esm/documentIntelligence.js +44 -0
- package/dist/esm/documentIntelligence.js.map +1 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +14 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +33 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +101 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models.d.ts +254 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +887 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/paginateHelper.d.ts +43 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +70 -0
- package/dist/esm/paginateHelper.js.map +1 -0
- package/dist/esm/parameters.d.ts +330 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/pollingHelper.d.ts +88 -0
- package/dist/esm/pollingHelper.d.ts.map +1 -0
- package/dist/esm/pollingHelper.js +118 -0
- package/dist/esm/pollingHelper.js.map +1 -0
- package/dist/esm/responses.d.ts +448 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +165 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/documentIntelligence.d.ts +16 -0
- package/dist/react-native/documentIntelligence.d.ts.map +1 -0
- package/dist/react-native/documentIntelligence.js +44 -0
- package/dist/react-native/documentIntelligence.js.map +1 -0
- package/dist/react-native/index.d.ts +12 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +14 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +33 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +101 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models.d.ts +254 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +887 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/paginateHelper.d.ts +43 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +70 -0
- package/dist/react-native/paginateHelper.js.map +1 -0
- package/dist/react-native/parameters.d.ts +330 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/pollingHelper.d.ts +88 -0
- package/dist/react-native/pollingHelper.d.ts.map +1 -0
- package/dist/react-native/pollingHelper.js +118 -0
- package/dist/react-native/pollingHelper.js.map +1 -0
- package/dist/react-native/responses.d.ts +448 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/package.json +113 -87
- package/review/ai-document-intelligence.api.md +569 -80
- package/dist/index.js +0 -252
- package/dist/index.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js.map +0 -1
- package/dist-esm/src/documentIntelligence.js +0 -30
- package/dist-esm/src/documentIntelligence.js.map +0 -1
- package/dist-esm/src/index.js +0 -14
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/isUnexpected.js.map +0 -1
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/outputModels.js.map +0 -1
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/pollingHelper.js +0 -43
- package/dist-esm/src/pollingHelper.js.map +0 -1
- package/dist-esm/src/responses.js.map +0 -1
- package/types/ai-document-intelligence.d.ts +0 -2003
- /package/{dist-esm/src → dist/browser}/clientDefinitions.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/models.js +0 -0
- /package/{dist-esm/src → dist/browser}/outputModels.js +0 -0
- /package/{dist-esm/src → dist/browser}/paginateHelper.js +0 -0
- /package/{dist-esm/src → dist/browser}/paginateHelper.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/parameters.js +0 -0
- /package/{dist-esm/src → dist/browser}/responses.js +0 -0
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
import { AbortSignalLike } from '@azure/abort-controller';
|
|
8
|
+
import { CancelOnProgress } from '@azure/core-lro';
|
|
9
9
|
import { Client } from '@azure-rest/core-client';
|
|
10
10
|
import { ClientOptions } from '@azure-rest/core-client';
|
|
11
11
|
import { CreateHttpPollerOptions } from '@azure/core-lro';
|
|
@@ -18,7 +18,6 @@ import { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
|
18
18
|
import { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
19
19
|
import { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
|
|
20
20
|
import { RequestParameters } from '@azure-rest/core-client';
|
|
21
|
-
import { SimplePollerLike } from '@azure/core-lro';
|
|
22
21
|
import { StreamableMethod } from '@azure-rest/core-client';
|
|
23
22
|
import { TokenCredential } from '@azure/core-auth';
|
|
24
23
|
|
|
@@ -40,6 +39,105 @@ export interface AddressValueOutput {
|
|
|
40
39
|
unit?: string;
|
|
41
40
|
}
|
|
42
41
|
|
|
42
|
+
// @public (undocumented)
|
|
43
|
+
export interface AnalyzeBatchDocuments {
|
|
44
|
+
post(options: AnalyzeBatchDocumentsParameters): StreamableMethod<AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// @public (undocumented)
|
|
48
|
+
export interface AnalyzeBatchDocuments202Headers {
|
|
49
|
+
// (undocumented)
|
|
50
|
+
"operation-location": string;
|
|
51
|
+
"retry-after"?: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// @public
|
|
55
|
+
export interface AnalyzeBatchDocuments202Response extends HttpResponse {
|
|
56
|
+
// (undocumented)
|
|
57
|
+
headers: RawHttpHeaders & AnalyzeBatchDocuments202Headers;
|
|
58
|
+
// (undocumented)
|
|
59
|
+
status: "202";
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// @public (undocumented)
|
|
63
|
+
export interface AnalyzeBatchDocumentsBodyParam {
|
|
64
|
+
body?: AnalyzeBatchDocumentsRequest;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// @public (undocumented)
|
|
68
|
+
export interface AnalyzeBatchDocumentsDefaultResponse extends HttpResponse {
|
|
69
|
+
// (undocumented)
|
|
70
|
+
body: ErrorResponseOutput;
|
|
71
|
+
// (undocumented)
|
|
72
|
+
status: string;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// @public
|
|
76
|
+
export interface AnalyzeBatchDocumentsLogicalResponse extends HttpResponse {
|
|
77
|
+
// (undocumented)
|
|
78
|
+
status: "200";
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// @public (undocumented)
|
|
82
|
+
export interface AnalyzeBatchDocumentsMediaTypesParam {
|
|
83
|
+
contentType: "application/json";
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// @public (undocumented)
|
|
87
|
+
export type AnalyzeBatchDocumentsParameters = AnalyzeBatchDocumentsQueryParam & AnalyzeBatchDocumentsMediaTypesParam & AnalyzeBatchDocumentsBodyParam & RequestParameters;
|
|
88
|
+
|
|
89
|
+
// @public (undocumented)
|
|
90
|
+
export interface AnalyzeBatchDocumentsQueryParam {
|
|
91
|
+
// (undocumented)
|
|
92
|
+
queryParameters?: AnalyzeBatchDocumentsQueryParamProperties;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// @public (undocumented)
|
|
96
|
+
export interface AnalyzeBatchDocumentsQueryParamProperties {
|
|
97
|
+
features?: DocumentAnalysisFeature[];
|
|
98
|
+
locale?: string;
|
|
99
|
+
output?: AnalyzeOutputOption[];
|
|
100
|
+
outputContentFormat?: ContentFormat;
|
|
101
|
+
pages?: string;
|
|
102
|
+
queryFields?: string[];
|
|
103
|
+
stringIndexType?: StringIndexType;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// @public
|
|
107
|
+
export interface AnalyzeBatchDocumentsRequest {
|
|
108
|
+
azureBlobFileListSource?: AzureBlobFileListContentSource;
|
|
109
|
+
azureBlobSource?: AzureBlobContentSource;
|
|
110
|
+
overwriteExisting?: boolean;
|
|
111
|
+
resultContainerUrl: string;
|
|
112
|
+
resultPrefix?: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// @public
|
|
116
|
+
export interface AnalyzeBatchOperationDetailOutput {
|
|
117
|
+
error?: ErrorModelOutput;
|
|
118
|
+
resultUrl?: string;
|
|
119
|
+
sourceUrl: string;
|
|
120
|
+
status: OperationStatusOutput;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// @public
|
|
124
|
+
export interface AnalyzeBatchResultOperationOutput {
|
|
125
|
+
createdDateTime: string;
|
|
126
|
+
error?: ErrorModelOutput;
|
|
127
|
+
lastUpdatedDateTime: string;
|
|
128
|
+
percentCompleted?: number;
|
|
129
|
+
result?: AnalyzeBatchResultOutput;
|
|
130
|
+
status: OperationStatusOutput;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// @public
|
|
134
|
+
export interface AnalyzeBatchResultOutput {
|
|
135
|
+
details: Array<AnalyzeBatchOperationDetailOutput>;
|
|
136
|
+
failedCount: number;
|
|
137
|
+
skippedCount: number;
|
|
138
|
+
succeededCount: number;
|
|
139
|
+
}
|
|
140
|
+
|
|
43
141
|
// @public (undocumented)
|
|
44
142
|
export interface AnalyzeDocument202Headers {
|
|
45
143
|
// (undocumented)
|
|
@@ -124,12 +222,13 @@ export interface AnalyzeDocumentFromStreamQueryParam {
|
|
|
124
222
|
|
|
125
223
|
// @public (undocumented)
|
|
126
224
|
export interface AnalyzeDocumentFromStreamQueryParamProperties {
|
|
127
|
-
features?:
|
|
225
|
+
features?: DocumentAnalysisFeature[];
|
|
128
226
|
locale?: string;
|
|
129
|
-
|
|
227
|
+
output?: AnalyzeOutputOption[];
|
|
228
|
+
outputContentFormat?: ContentFormat;
|
|
130
229
|
pages?: string;
|
|
131
230
|
queryFields?: string[];
|
|
132
|
-
stringIndexType?:
|
|
231
|
+
stringIndexType?: StringIndexType;
|
|
133
232
|
}
|
|
134
233
|
|
|
135
234
|
// @public
|
|
@@ -154,12 +253,13 @@ export interface AnalyzeDocumentQueryParam {
|
|
|
154
253
|
|
|
155
254
|
// @public (undocumented)
|
|
156
255
|
export interface AnalyzeDocumentQueryParamProperties {
|
|
157
|
-
features?:
|
|
256
|
+
features?: DocumentAnalysisFeature[];
|
|
158
257
|
locale?: string;
|
|
159
|
-
|
|
258
|
+
output?: AnalyzeOutputOption[];
|
|
259
|
+
outputContentFormat?: ContentFormat;
|
|
160
260
|
pages?: string;
|
|
161
261
|
queryFields?: string[];
|
|
162
|
-
stringIndexType?:
|
|
262
|
+
stringIndexType?: StringIndexType;
|
|
163
263
|
}
|
|
164
264
|
|
|
165
265
|
// @public
|
|
@@ -168,32 +268,71 @@ export interface AnalyzeDocumentRequest {
|
|
|
168
268
|
urlSource?: string;
|
|
169
269
|
}
|
|
170
270
|
|
|
271
|
+
// @public
|
|
272
|
+
export type AnalyzeOutputOption = string;
|
|
273
|
+
|
|
171
274
|
// @public
|
|
172
275
|
export interface AnalyzeResultOperationOutput {
|
|
173
276
|
analyzeResult?: AnalyzeResultOutput;
|
|
174
277
|
createdDateTime: string;
|
|
175
278
|
error?: ErrorModelOutput;
|
|
176
279
|
lastUpdatedDateTime: string;
|
|
177
|
-
status:
|
|
280
|
+
status: OperationStatusOutput;
|
|
178
281
|
}
|
|
179
282
|
|
|
180
283
|
// @public
|
|
181
284
|
export interface AnalyzeResultOutput {
|
|
182
285
|
apiVersion: string;
|
|
183
286
|
content: string;
|
|
184
|
-
contentFormat?:
|
|
287
|
+
contentFormat?: ContentFormatOutput;
|
|
185
288
|
documents?: Array<DocumentOutput>;
|
|
186
289
|
figures?: Array<DocumentFigureOutput>;
|
|
187
290
|
keyValuePairs?: Array<DocumentKeyValuePairOutput>;
|
|
188
291
|
languages?: Array<DocumentLanguageOutput>;
|
|
189
|
-
lists?: Array<DocumentListOutput>;
|
|
190
292
|
modelId: string;
|
|
191
293
|
pages: Array<DocumentPageOutput>;
|
|
192
294
|
paragraphs?: Array<DocumentParagraphOutput>;
|
|
193
295
|
sections?: Array<DocumentSectionOutput>;
|
|
194
|
-
stringIndexType:
|
|
296
|
+
stringIndexType: StringIndexTypeOutput;
|
|
195
297
|
styles?: Array<DocumentStyleOutput>;
|
|
196
298
|
tables?: Array<DocumentTableOutput>;
|
|
299
|
+
warnings?: Array<WarningOutput>;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
// @public (undocumented)
|
|
303
|
+
export interface AuthorizeClassifierCopy {
|
|
304
|
+
post(options: AuthorizeClassifierCopyParameters): StreamableMethod<AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse>;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
// @public
|
|
308
|
+
export interface AuthorizeClassifierCopy200Response extends HttpResponse {
|
|
309
|
+
// (undocumented)
|
|
310
|
+
body: ClassifierCopyAuthorizationOutput;
|
|
311
|
+
// (undocumented)
|
|
312
|
+
status: "200";
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
// @public (undocumented)
|
|
316
|
+
export interface AuthorizeClassifierCopyBodyParam {
|
|
317
|
+
body: AuthorizeClassifierCopyRequest;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
// @public (undocumented)
|
|
321
|
+
export interface AuthorizeClassifierCopyDefaultResponse extends HttpResponse {
|
|
322
|
+
// (undocumented)
|
|
323
|
+
body: ErrorResponseOutput;
|
|
324
|
+
// (undocumented)
|
|
325
|
+
status: string;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
// @public (undocumented)
|
|
329
|
+
export type AuthorizeClassifierCopyParameters = AuthorizeClassifierCopyBodyParam & RequestParameters;
|
|
330
|
+
|
|
331
|
+
// @public
|
|
332
|
+
export interface AuthorizeClassifierCopyRequest {
|
|
333
|
+
classifierId: string;
|
|
334
|
+
description?: string;
|
|
335
|
+
tags?: Record<string, string>;
|
|
197
336
|
}
|
|
198
337
|
|
|
199
338
|
// @public
|
|
@@ -306,6 +445,7 @@ export type BuildClassifierParameters = BuildClassifierBodyParam & RequestParame
|
|
|
306
445
|
|
|
307
446
|
// @public
|
|
308
447
|
export interface BuildDocumentClassifierRequest {
|
|
448
|
+
allowOverwrite?: boolean;
|
|
309
449
|
baseClassifierId?: string;
|
|
310
450
|
classifierId: string;
|
|
311
451
|
description?: string;
|
|
@@ -314,10 +454,12 @@ export interface BuildDocumentClassifierRequest {
|
|
|
314
454
|
|
|
315
455
|
// @public
|
|
316
456
|
export interface BuildDocumentModelRequest {
|
|
457
|
+
allowOverwrite?: boolean;
|
|
317
458
|
azureBlobFileListSource?: AzureBlobFileListContentSource;
|
|
318
459
|
azureBlobSource?: AzureBlobContentSource;
|
|
319
|
-
buildMode:
|
|
460
|
+
buildMode: DocumentBuildMode;
|
|
320
461
|
description?: string;
|
|
462
|
+
maxTrainingHours?: number;
|
|
321
463
|
modelId: string;
|
|
322
464
|
tags?: Record<string, string>;
|
|
323
465
|
}
|
|
@@ -364,18 +506,38 @@ export interface BuildModelLogicalResponse extends HttpResponse {
|
|
|
364
506
|
// @public (undocumented)
|
|
365
507
|
export type BuildModelParameters = BuildModelBodyParam & RequestParameters;
|
|
366
508
|
|
|
509
|
+
// @public
|
|
510
|
+
export interface ClassifierCopyAuthorization {
|
|
511
|
+
accessToken: string;
|
|
512
|
+
expirationDateTime: Date | string;
|
|
513
|
+
targetClassifierId: string;
|
|
514
|
+
targetClassifierLocation: string;
|
|
515
|
+
targetResourceId: string;
|
|
516
|
+
targetResourceRegion: string;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// @public
|
|
520
|
+
export interface ClassifierCopyAuthorizationOutput {
|
|
521
|
+
accessToken: string;
|
|
522
|
+
expirationDateTime: string;
|
|
523
|
+
targetClassifierId: string;
|
|
524
|
+
targetClassifierLocation: string;
|
|
525
|
+
targetResourceId: string;
|
|
526
|
+
targetResourceRegion: string;
|
|
527
|
+
}
|
|
528
|
+
|
|
367
529
|
// @public
|
|
368
530
|
export interface ClassifierDocumentTypeDetails {
|
|
369
531
|
azureBlobFileListSource?: AzureBlobFileListContentSource;
|
|
370
532
|
azureBlobSource?: AzureBlobContentSource;
|
|
371
|
-
sourceKind?:
|
|
533
|
+
sourceKind?: ContentSourceKind;
|
|
372
534
|
}
|
|
373
535
|
|
|
374
536
|
// @public
|
|
375
537
|
export interface ClassifierDocumentTypeDetailsOutput {
|
|
376
538
|
azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
|
|
377
539
|
azureBlobSource?: AzureBlobContentSourceOutput;
|
|
378
|
-
sourceKind?:
|
|
540
|
+
sourceKind?: ContentSourceKindOutput;
|
|
379
541
|
}
|
|
380
542
|
|
|
381
543
|
// @public (undocumented)
|
|
@@ -462,8 +624,9 @@ export interface ClassifyDocumentFromStreamQueryParam {
|
|
|
462
624
|
|
|
463
625
|
// @public (undocumented)
|
|
464
626
|
export interface ClassifyDocumentFromStreamQueryParamProperties {
|
|
465
|
-
|
|
466
|
-
|
|
627
|
+
pages?: string;
|
|
628
|
+
split?: SplitMode;
|
|
629
|
+
stringIndexType?: StringIndexType;
|
|
467
630
|
}
|
|
468
631
|
|
|
469
632
|
// @public
|
|
@@ -488,8 +651,9 @@ export interface ClassifyDocumentQueryParam {
|
|
|
488
651
|
|
|
489
652
|
// @public (undocumented)
|
|
490
653
|
export interface ClassifyDocumentQueryParamProperties {
|
|
491
|
-
|
|
492
|
-
|
|
654
|
+
pages?: string;
|
|
655
|
+
split?: SplitMode;
|
|
656
|
+
stringIndexType?: StringIndexType;
|
|
493
657
|
}
|
|
494
658
|
|
|
495
659
|
// @public
|
|
@@ -498,20 +662,13 @@ export interface ClassifyDocumentRequest {
|
|
|
498
662
|
urlSource?: string;
|
|
499
663
|
}
|
|
500
664
|
|
|
501
|
-
// @public
|
|
502
|
-
export interface ClientRequestIdHeaderOutput {
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
// @public
|
|
506
|
-
export interface ComponentDocumentModelDetails {
|
|
507
|
-
modelId: string;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
665
|
// @public
|
|
511
666
|
export interface ComposeDocumentModelRequest {
|
|
512
|
-
|
|
667
|
+
classifierId: string;
|
|
513
668
|
description?: string;
|
|
669
|
+
docTypes: Record<string, DocumentTypeDetails>;
|
|
514
670
|
modelId: string;
|
|
671
|
+
split?: SplitMode;
|
|
515
672
|
tags?: Record<string, string>;
|
|
516
673
|
}
|
|
517
674
|
|
|
@@ -557,6 +714,18 @@ export interface ComposeModelLogicalResponse extends HttpResponse {
|
|
|
557
714
|
// @public (undocumented)
|
|
558
715
|
export type ComposeModelParameters = ComposeModelBodyParam & RequestParameters;
|
|
559
716
|
|
|
717
|
+
// @public
|
|
718
|
+
export type ContentFormat = string;
|
|
719
|
+
|
|
720
|
+
// @public
|
|
721
|
+
export type ContentFormatOutput = string;
|
|
722
|
+
|
|
723
|
+
// @public
|
|
724
|
+
export type ContentSourceKind = string;
|
|
725
|
+
|
|
726
|
+
// @public
|
|
727
|
+
export type ContentSourceKindOutput = string;
|
|
728
|
+
|
|
560
729
|
// @public
|
|
561
730
|
export interface CopyAuthorization {
|
|
562
731
|
accessToken: string;
|
|
@@ -577,6 +746,48 @@ export interface CopyAuthorizationOutput {
|
|
|
577
746
|
targetResourceRegion: string;
|
|
578
747
|
}
|
|
579
748
|
|
|
749
|
+
// @public (undocumented)
|
|
750
|
+
export interface CopyClassifierTo {
|
|
751
|
+
post(options: CopyClassifierToParameters): StreamableMethod<CopyClassifierTo202Response | CopyClassifierToDefaultResponse>;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
// @public (undocumented)
|
|
755
|
+
export interface CopyClassifierTo202Headers {
|
|
756
|
+
// (undocumented)
|
|
757
|
+
"operation-location": string;
|
|
758
|
+
"retry-after"?: number;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
// @public
|
|
762
|
+
export interface CopyClassifierTo202Response extends HttpResponse {
|
|
763
|
+
// (undocumented)
|
|
764
|
+
headers: RawHttpHeaders & CopyClassifierTo202Headers;
|
|
765
|
+
// (undocumented)
|
|
766
|
+
status: "202";
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
// @public (undocumented)
|
|
770
|
+
export interface CopyClassifierToBodyParam {
|
|
771
|
+
body: ClassifierCopyAuthorization;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
// @public (undocumented)
|
|
775
|
+
export interface CopyClassifierToDefaultResponse extends HttpResponse {
|
|
776
|
+
// (undocumented)
|
|
777
|
+
body: ErrorResponseOutput;
|
|
778
|
+
// (undocumented)
|
|
779
|
+
status: string;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
// @public
|
|
783
|
+
export interface CopyClassifierToLogicalResponse extends HttpResponse {
|
|
784
|
+
// (undocumented)
|
|
785
|
+
status: "200";
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
// @public (undocumented)
|
|
789
|
+
export type CopyClassifierToParameters = CopyClassifierToBodyParam & RequestParameters;
|
|
790
|
+
|
|
580
791
|
// @public (undocumented)
|
|
581
792
|
export interface CopyModelTo {
|
|
582
793
|
post(options: CopyModelToParameters): StreamableMethod<CopyModelTo202Response | CopyModelToDefaultResponse>;
|
|
@@ -620,7 +831,7 @@ export interface CopyModelToLogicalResponse extends HttpResponse {
|
|
|
620
831
|
export type CopyModelToParameters = CopyModelToBodyParam & RequestParameters;
|
|
621
832
|
|
|
622
833
|
// @public
|
|
623
|
-
function createClient(
|
|
834
|
+
function createClient(endpointParam: string, credentials: TokenCredential | KeyCredential, { apiVersion, ...options }?: DocumentIntelligenceClientOptions): DocumentIntelligenceClient;
|
|
624
835
|
export default createClient;
|
|
625
836
|
|
|
626
837
|
// @public
|
|
@@ -706,15 +917,30 @@ export interface DeleteModelHeaders {
|
|
|
706
917
|
// @public (undocumented)
|
|
707
918
|
export type DeleteModelParameters = DeleteModelHeaderParam & RequestParameters;
|
|
708
919
|
|
|
920
|
+
// @public
|
|
921
|
+
export type DocumentAnalysisFeature = string;
|
|
922
|
+
|
|
923
|
+
// @public
|
|
924
|
+
export type DocumentAnalysisFeatureOutput = string;
|
|
925
|
+
|
|
926
|
+
// @public
|
|
927
|
+
export type DocumentBarcodeKindOutput = string;
|
|
928
|
+
|
|
709
929
|
// @public
|
|
710
930
|
export interface DocumentBarcodeOutput {
|
|
711
931
|
confidence: number;
|
|
712
|
-
kind:
|
|
932
|
+
kind: DocumentBarcodeKindOutput;
|
|
713
933
|
polygon?: number[];
|
|
714
934
|
span: DocumentSpanOutput;
|
|
715
935
|
value: string;
|
|
716
936
|
}
|
|
717
937
|
|
|
938
|
+
// @public
|
|
939
|
+
export type DocumentBuildMode = string;
|
|
940
|
+
|
|
941
|
+
// @public
|
|
942
|
+
export type DocumentBuildModeOutput = string;
|
|
943
|
+
|
|
718
944
|
// @public
|
|
719
945
|
export interface DocumentCaptionOutput {
|
|
720
946
|
boundingRegions?: Array<BoundingRegionOutput>;
|
|
@@ -729,6 +955,12 @@ export interface DocumentClassifierBuildOperationDetailsOutput extends Operation
|
|
|
729
955
|
result?: DocumentClassifierDetailsOutput;
|
|
730
956
|
}
|
|
731
957
|
|
|
958
|
+
// @public
|
|
959
|
+
export interface DocumentClassifierCopyToOperationDetailsOutput extends OperationDetailsOutputParent {
|
|
960
|
+
kind: "documentClassifierCopyTo";
|
|
961
|
+
result?: DocumentClassifierDetailsOutput;
|
|
962
|
+
}
|
|
963
|
+
|
|
732
964
|
// @public
|
|
733
965
|
export interface DocumentClassifierDetailsOutput {
|
|
734
966
|
apiVersion: string;
|
|
@@ -747,7 +979,7 @@ export interface DocumentFieldOutput {
|
|
|
747
979
|
confidence?: number;
|
|
748
980
|
content?: string;
|
|
749
981
|
spans?: Array<DocumentSpanOutput>;
|
|
750
|
-
type:
|
|
982
|
+
type: DocumentFieldTypeOutput;
|
|
751
983
|
valueAddress?: AddressValueOutput;
|
|
752
984
|
valueArray?: Array<DocumentFieldOutput>;
|
|
753
985
|
valueBoolean?: boolean;
|
|
@@ -759,27 +991,43 @@ export interface DocumentFieldOutput {
|
|
|
759
991
|
valueObject?: Record<string, DocumentFieldOutput>;
|
|
760
992
|
valuePhoneNumber?: string;
|
|
761
993
|
valueSelectionGroup?: string[];
|
|
762
|
-
valueSelectionMark?:
|
|
763
|
-
valueSignature?:
|
|
994
|
+
valueSelectionMark?: DocumentSelectionMarkStateOutput;
|
|
995
|
+
valueSignature?: DocumentSignatureTypeOutput;
|
|
764
996
|
valueString?: string;
|
|
765
997
|
valueTime?: string;
|
|
766
998
|
}
|
|
767
999
|
|
|
1000
|
+
// @public
|
|
1001
|
+
export interface DocumentFieldSchema {
|
|
1002
|
+
description?: string;
|
|
1003
|
+
example?: string;
|
|
1004
|
+
items?: DocumentFieldSchema;
|
|
1005
|
+
properties?: Record<string, DocumentFieldSchema>;
|
|
1006
|
+
type: DocumentFieldType;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
768
1009
|
// @public
|
|
769
1010
|
export interface DocumentFieldSchemaOutput {
|
|
770
1011
|
description?: string;
|
|
771
1012
|
example?: string;
|
|
772
1013
|
items?: DocumentFieldSchemaOutput;
|
|
773
1014
|
properties?: Record<string, DocumentFieldSchemaOutput>;
|
|
774
|
-
type:
|
|
1015
|
+
type: DocumentFieldTypeOutput;
|
|
775
1016
|
}
|
|
776
1017
|
|
|
1018
|
+
// @public
|
|
1019
|
+
export type DocumentFieldType = string;
|
|
1020
|
+
|
|
1021
|
+
// @public
|
|
1022
|
+
export type DocumentFieldTypeOutput = string;
|
|
1023
|
+
|
|
777
1024
|
// @public
|
|
778
1025
|
export interface DocumentFigureOutput {
|
|
779
1026
|
boundingRegions?: Array<BoundingRegionOutput>;
|
|
780
1027
|
caption?: DocumentCaptionOutput;
|
|
781
1028
|
elements?: string[];
|
|
782
1029
|
footnotes?: Array<DocumentFootnoteOutput>;
|
|
1030
|
+
id?: string;
|
|
783
1031
|
spans: Array<DocumentSpanOutput>;
|
|
784
1032
|
}
|
|
785
1033
|
|
|
@@ -791,10 +1039,13 @@ export interface DocumentFootnoteOutput {
|
|
|
791
1039
|
spans: Array<DocumentSpanOutput>;
|
|
792
1040
|
}
|
|
793
1041
|
|
|
1042
|
+
// @public
|
|
1043
|
+
export type DocumentFormulaKindOutput = string;
|
|
1044
|
+
|
|
794
1045
|
// @public
|
|
795
1046
|
export interface DocumentFormulaOutput {
|
|
796
1047
|
confidence: number;
|
|
797
|
-
kind:
|
|
1048
|
+
kind: DocumentFormulaKindOutput;
|
|
798
1049
|
polygon?: number[];
|
|
799
1050
|
span: DocumentSpanOutput;
|
|
800
1051
|
value: string;
|
|
@@ -805,6 +1056,11 @@ export type DocumentIntelligenceClient = Client & {
|
|
|
805
1056
|
path: Routes;
|
|
806
1057
|
};
|
|
807
1058
|
|
|
1059
|
+
// @public
|
|
1060
|
+
export interface DocumentIntelligenceClientOptions extends ClientOptions {
|
|
1061
|
+
apiVersion?: string;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
808
1064
|
// @public
|
|
809
1065
|
export interface DocumentKeyValueElementOutput {
|
|
810
1066
|
boundingRegions?: Array<BoundingRegionOutput>;
|
|
@@ -833,21 +1089,6 @@ export interface DocumentLineOutput {
|
|
|
833
1089
|
spans: Array<DocumentSpanOutput>;
|
|
834
1090
|
}
|
|
835
1091
|
|
|
836
|
-
// @public
|
|
837
|
-
export interface DocumentListItemOutput {
|
|
838
|
-
boundingRegions?: Array<BoundingRegionOutput>;
|
|
839
|
-
content: string;
|
|
840
|
-
elements?: string[];
|
|
841
|
-
level: number;
|
|
842
|
-
spans: Array<DocumentSpanOutput>;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
// @public
|
|
846
|
-
export interface DocumentListOutput {
|
|
847
|
-
items: Array<DocumentListItemOutput>;
|
|
848
|
-
spans: Array<DocumentSpanOutput>;
|
|
849
|
-
}
|
|
850
|
-
|
|
851
1092
|
// @public
|
|
852
1093
|
export interface DocumentModelBuildOperationDetailsOutput extends OperationDetailsOutputParent {
|
|
853
1094
|
kind: "documentModelBuild";
|
|
@@ -868,17 +1109,20 @@ export interface DocumentModelCopyToOperationDetailsOutput extends OperationDeta
|
|
|
868
1109
|
|
|
869
1110
|
// @public
|
|
870
1111
|
export interface DocumentModelDetailsOutput {
|
|
871
|
-
apiVersion?: string;
|
|
872
|
-
azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
|
|
873
|
-
azureBlobSource?: AzureBlobContentSourceOutput;
|
|
874
|
-
buildMode?:
|
|
875
|
-
|
|
1112
|
+
readonly apiVersion?: string;
|
|
1113
|
+
readonly azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
|
|
1114
|
+
readonly azureBlobSource?: AzureBlobContentSourceOutput;
|
|
1115
|
+
readonly buildMode?: DocumentBuildModeOutput;
|
|
1116
|
+
classifierId?: string;
|
|
1117
|
+
readonly createdDateTime: string;
|
|
876
1118
|
description?: string;
|
|
877
|
-
docTypes?: Record<string, DocumentTypeDetailsOutput>;
|
|
878
|
-
expirationDateTime?: string;
|
|
1119
|
+
readonly docTypes?: Record<string, DocumentTypeDetailsOutput>;
|
|
1120
|
+
readonly expirationDateTime?: string;
|
|
879
1121
|
modelId: string;
|
|
1122
|
+
split?: SplitModeOutput;
|
|
880
1123
|
tags?: Record<string, string>;
|
|
881
|
-
|
|
1124
|
+
readonly trainingHours?: number;
|
|
1125
|
+
readonly warnings?: Array<WarningOutput>;
|
|
882
1126
|
}
|
|
883
1127
|
|
|
884
1128
|
// @public
|
|
@@ -900,7 +1144,7 @@ export interface DocumentPageOutput {
|
|
|
900
1144
|
pageNumber: number;
|
|
901
1145
|
selectionMarks?: Array<DocumentSelectionMarkOutput>;
|
|
902
1146
|
spans: Array<DocumentSpanOutput>;
|
|
903
|
-
unit?:
|
|
1147
|
+
unit?: LengthUnitOutput;
|
|
904
1148
|
width?: number;
|
|
905
1149
|
words?: Array<DocumentWordOutput>;
|
|
906
1150
|
}
|
|
@@ -909,7 +1153,7 @@ export interface DocumentPageOutput {
|
|
|
909
1153
|
export interface DocumentParagraphOutput {
|
|
910
1154
|
boundingRegions?: Array<BoundingRegionOutput>;
|
|
911
1155
|
content: string;
|
|
912
|
-
role?:
|
|
1156
|
+
role?: ParagraphRoleOutput;
|
|
913
1157
|
spans: Array<DocumentSpanOutput>;
|
|
914
1158
|
}
|
|
915
1159
|
|
|
@@ -924,9 +1168,15 @@ export interface DocumentSelectionMarkOutput {
|
|
|
924
1168
|
confidence: number;
|
|
925
1169
|
polygon?: number[];
|
|
926
1170
|
span: DocumentSpanOutput;
|
|
927
|
-
state:
|
|
1171
|
+
state: DocumentSelectionMarkStateOutput;
|
|
928
1172
|
}
|
|
929
1173
|
|
|
1174
|
+
// @public
|
|
1175
|
+
export type DocumentSelectionMarkStateOutput = string;
|
|
1176
|
+
|
|
1177
|
+
// @public
|
|
1178
|
+
export type DocumentSignatureTypeOutput = string;
|
|
1179
|
+
|
|
930
1180
|
// @public
|
|
931
1181
|
export interface DocumentSpanOutput {
|
|
932
1182
|
length: number;
|
|
@@ -938,13 +1188,16 @@ export interface DocumentStyleOutput {
|
|
|
938
1188
|
backgroundColor?: string;
|
|
939
1189
|
color?: string;
|
|
940
1190
|
confidence: number;
|
|
941
|
-
fontStyle?:
|
|
942
|
-
fontWeight?:
|
|
1191
|
+
fontStyle?: FontStyleOutput;
|
|
1192
|
+
fontWeight?: FontWeightOutput;
|
|
943
1193
|
isHandwritten?: boolean;
|
|
944
1194
|
similarFontFamily?: string;
|
|
945
1195
|
spans: Array<DocumentSpanOutput>;
|
|
946
1196
|
}
|
|
947
1197
|
|
|
1198
|
+
// @public
|
|
1199
|
+
export type DocumentTableCellKindOutput = string;
|
|
1200
|
+
|
|
948
1201
|
// @public
|
|
949
1202
|
export interface DocumentTableCellOutput {
|
|
950
1203
|
boundingRegions?: Array<BoundingRegionOutput>;
|
|
@@ -952,7 +1205,7 @@ export interface DocumentTableCellOutput {
|
|
|
952
1205
|
columnSpan?: number;
|
|
953
1206
|
content: string;
|
|
954
1207
|
elements?: string[];
|
|
955
|
-
kind?:
|
|
1208
|
+
kind?: DocumentTableCellKindOutput;
|
|
956
1209
|
rowIndex: number;
|
|
957
1210
|
rowSpan?: number;
|
|
958
1211
|
spans: Array<DocumentSpanOutput>;
|
|
@@ -969,12 +1222,30 @@ export interface DocumentTableOutput {
|
|
|
969
1222
|
spans: Array<DocumentSpanOutput>;
|
|
970
1223
|
}
|
|
971
1224
|
|
|
1225
|
+
// @public
|
|
1226
|
+
export interface DocumentTypeDetails {
|
|
1227
|
+
buildMode?: DocumentBuildMode;
|
|
1228
|
+
confidenceThreshold?: number;
|
|
1229
|
+
description?: string;
|
|
1230
|
+
features?: DocumentAnalysisFeature[];
|
|
1231
|
+
fieldConfidence?: Record<string, number>;
|
|
1232
|
+
fieldSchema?: Record<string, DocumentFieldSchema>;
|
|
1233
|
+
maxDocumentsToAnalyze?: number;
|
|
1234
|
+
modelId?: string;
|
|
1235
|
+
queryFields?: string[];
|
|
1236
|
+
}
|
|
1237
|
+
|
|
972
1238
|
// @public
|
|
973
1239
|
export interface DocumentTypeDetailsOutput {
|
|
974
|
-
buildMode?:
|
|
1240
|
+
buildMode?: DocumentBuildModeOutput;
|
|
1241
|
+
confidenceThreshold?: number;
|
|
975
1242
|
description?: string;
|
|
1243
|
+
features?: DocumentAnalysisFeatureOutput[];
|
|
976
1244
|
fieldConfidence?: Record<string, number>;
|
|
977
|
-
fieldSchema
|
|
1245
|
+
fieldSchema?: Record<string, DocumentFieldSchemaOutput>;
|
|
1246
|
+
maxDocumentsToAnalyze?: number;
|
|
1247
|
+
modelId?: string;
|
|
1248
|
+
queryFields?: string[];
|
|
978
1249
|
}
|
|
979
1250
|
|
|
980
1251
|
// @public
|
|
@@ -999,6 +1270,36 @@ export interface ErrorResponseOutput {
|
|
|
999
1270
|
error: ErrorModelOutput;
|
|
1000
1271
|
}
|
|
1001
1272
|
|
|
1273
|
+
// @public
|
|
1274
|
+
export type FontStyleOutput = string;
|
|
1275
|
+
|
|
1276
|
+
// @public
|
|
1277
|
+
export type FontWeightOutput = string;
|
|
1278
|
+
|
|
1279
|
+
// @public (undocumented)
|
|
1280
|
+
export interface GetAnalyzeBatchResult {
|
|
1281
|
+
get(options?: GetAnalyzeBatchResultParameters): StreamableMethod<GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse>;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
// @public
|
|
1285
|
+
export interface GetAnalyzeBatchResult200Response extends HttpResponse {
|
|
1286
|
+
// (undocumented)
|
|
1287
|
+
body: AnalyzeBatchResultOperationOutput;
|
|
1288
|
+
// (undocumented)
|
|
1289
|
+
status: "200";
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
// @public (undocumented)
|
|
1293
|
+
export interface GetAnalyzeBatchResultDefaultResponse extends HttpResponse {
|
|
1294
|
+
// (undocumented)
|
|
1295
|
+
body: ErrorResponseOutput;
|
|
1296
|
+
// (undocumented)
|
|
1297
|
+
status: string;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
// @public (undocumented)
|
|
1301
|
+
export type GetAnalyzeBatchResultParameters = RequestParameters;
|
|
1302
|
+
|
|
1002
1303
|
// @public (undocumented)
|
|
1003
1304
|
export interface GetAnalyzeResult {
|
|
1004
1305
|
get(options?: GetAnalyzeResultParameters): StreamableMethod<GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse>;
|
|
@@ -1020,9 +1321,69 @@ export interface GetAnalyzeResultDefaultResponse extends HttpResponse {
|
|
|
1020
1321
|
status: string;
|
|
1021
1322
|
}
|
|
1022
1323
|
|
|
1324
|
+
// @public (undocumented)
|
|
1325
|
+
export interface GetAnalyzeResultFigure {
|
|
1326
|
+
get(options?: GetAnalyzeResultFigureParameters): StreamableMethod<GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse>;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
// @public (undocumented)
|
|
1330
|
+
export interface GetAnalyzeResultFigure200Headers {
|
|
1331
|
+
"content-type": "image/png";
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
// @public
|
|
1335
|
+
export interface GetAnalyzeResultFigure200Response extends HttpResponse {
|
|
1336
|
+
body: Uint8Array;
|
|
1337
|
+
// (undocumented)
|
|
1338
|
+
headers: RawHttpHeaders & GetAnalyzeResultFigure200Headers;
|
|
1339
|
+
// (undocumented)
|
|
1340
|
+
status: "200";
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
// @public (undocumented)
|
|
1344
|
+
export interface GetAnalyzeResultFigureDefaultResponse extends HttpResponse {
|
|
1345
|
+
// (undocumented)
|
|
1346
|
+
body: ErrorResponseOutput;
|
|
1347
|
+
// (undocumented)
|
|
1348
|
+
status: string;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
// @public (undocumented)
|
|
1352
|
+
export type GetAnalyzeResultFigureParameters = RequestParameters;
|
|
1353
|
+
|
|
1023
1354
|
// @public (undocumented)
|
|
1024
1355
|
export type GetAnalyzeResultParameters = RequestParameters;
|
|
1025
1356
|
|
|
1357
|
+
// @public (undocumented)
|
|
1358
|
+
export interface GetAnalyzeResultPdf {
|
|
1359
|
+
get(options?: GetAnalyzeResultPdfParameters): StreamableMethod<GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse>;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
// @public (undocumented)
|
|
1363
|
+
export interface GetAnalyzeResultPdf200Headers {
|
|
1364
|
+
"content-type": "application/pdf";
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
// @public
|
|
1368
|
+
export interface GetAnalyzeResultPdf200Response extends HttpResponse {
|
|
1369
|
+
body: Uint8Array;
|
|
1370
|
+
// (undocumented)
|
|
1371
|
+
headers: RawHttpHeaders & GetAnalyzeResultPdf200Headers;
|
|
1372
|
+
// (undocumented)
|
|
1373
|
+
status: "200";
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
// @public (undocumented)
|
|
1377
|
+
export interface GetAnalyzeResultPdfDefaultResponse extends HttpResponse {
|
|
1378
|
+
// (undocumented)
|
|
1379
|
+
body: ErrorResponseOutput;
|
|
1380
|
+
// (undocumented)
|
|
1381
|
+
status: string;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
// @public (undocumented)
|
|
1385
|
+
export type GetAnalyzeResultPdfParameters = RequestParameters;
|
|
1386
|
+
|
|
1026
1387
|
// @public
|
|
1027
1388
|
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
1028
1389
|
|
|
@@ -1130,11 +1491,49 @@ export interface GetDocumentClassifierBuildOperationHeaders {
|
|
|
1130
1491
|
// @public (undocumented)
|
|
1131
1492
|
export type GetDocumentClassifierBuildOperationParameters = GetDocumentClassifierBuildOperationHeaderParam & RequestParameters;
|
|
1132
1493
|
|
|
1494
|
+
// @public (undocumented)
|
|
1495
|
+
export interface GetDocumentClassifierCopyToOperation200Headers {
|
|
1496
|
+
"x-ms-client-request-id"?: string;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
// @public
|
|
1500
|
+
export interface GetDocumentClassifierCopyToOperation200Response extends HttpResponse {
|
|
1501
|
+
// (undocumented)
|
|
1502
|
+
body: DocumentClassifierCopyToOperationDetailsOutput;
|
|
1503
|
+
// (undocumented)
|
|
1504
|
+
headers: RawHttpHeaders & GetDocumentClassifierCopyToOperation200Headers;
|
|
1505
|
+
// (undocumented)
|
|
1506
|
+
status: "200";
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
// @public (undocumented)
|
|
1510
|
+
export interface GetDocumentClassifierCopyToOperationDefaultResponse extends HttpResponse {
|
|
1511
|
+
// (undocumented)
|
|
1512
|
+
body: ErrorResponseOutput;
|
|
1513
|
+
// (undocumented)
|
|
1514
|
+
status: string;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
// @public (undocumented)
|
|
1518
|
+
export interface GetDocumentClassifierCopyToOperationHeaderParam {
|
|
1519
|
+
// (undocumented)
|
|
1520
|
+
headers?: RawHttpHeadersInput & GetDocumentClassifierCopyToOperationHeaders;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
// @public (undocumented)
|
|
1524
|
+
export interface GetDocumentClassifierCopyToOperationHeaders {
|
|
1525
|
+
"x-ms-client-request-id"?: string;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
// @public (undocumented)
|
|
1529
|
+
export type GetDocumentClassifierCopyToOperationParameters = GetDocumentClassifierCopyToOperationHeaderParam & RequestParameters;
|
|
1530
|
+
|
|
1133
1531
|
// @public (undocumented)
|
|
1134
1532
|
export interface GetDocumentModelBuildOperation {
|
|
1135
1533
|
get(options?: GetDocumentModelBuildOperationParameters): StreamableMethod<GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse>;
|
|
1136
1534
|
get(options?: GetDocumentModelComposeOperationParameters): StreamableMethod<GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse>;
|
|
1137
1535
|
get(options?: GetDocumentModelCopyToOperationParameters): StreamableMethod<GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse>;
|
|
1536
|
+
get(options?: GetDocumentClassifierCopyToOperationParameters): StreamableMethod<GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse>;
|
|
1138
1537
|
get(options?: GetDocumentClassifierBuildOperationParameters): StreamableMethod<GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse>;
|
|
1139
1538
|
get(options?: GetOperationParameters): StreamableMethod<GetOperation200Response | GetOperationDefaultResponse>;
|
|
1140
1539
|
}
|
|
@@ -1251,6 +1650,9 @@ export interface GetDocumentModelCopyToOperationHeaders {
|
|
|
1251
1650
|
export type GetDocumentModelCopyToOperationParameters = GetDocumentModelCopyToOperationHeaderParam & RequestParameters;
|
|
1252
1651
|
|
|
1253
1652
|
// @public
|
|
1653
|
+
export function getLongRunningPoller<TResult extends AnalyzeBatchDocumentsLogicalResponse | AnalyzeBatchDocumentsDefaultResponse>(client: Client, initialResponse: AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
1654
|
+
|
|
1655
|
+
// @public (undocumented)
|
|
1254
1656
|
export function getLongRunningPoller<TResult extends BuildModelLogicalResponse | BuildModelDefaultResponse>(client: Client, initialResponse: BuildModel202Response | BuildModelDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
1255
1657
|
|
|
1256
1658
|
// @public (undocumented)
|
|
@@ -1262,6 +1664,9 @@ export function getLongRunningPoller<TResult extends CopyModelToLogicalResponse
|
|
|
1262
1664
|
// @public (undocumented)
|
|
1263
1665
|
export function getLongRunningPoller<TResult extends BuildClassifierLogicalResponse | BuildClassifierDefaultResponse>(client: Client, initialResponse: BuildClassifier202Response | BuildClassifierDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
1264
1666
|
|
|
1667
|
+
// @public (undocumented)
|
|
1668
|
+
export function getLongRunningPoller<TResult extends CopyClassifierToLogicalResponse | CopyClassifierToDefaultResponse>(client: Client, initialResponse: CopyClassifierTo202Response | CopyClassifierToDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
1669
|
+
|
|
1265
1670
|
// @public (undocumented)
|
|
1266
1671
|
export function getLongRunningPoller<TResult extends AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse>(client: Client, initialResponse: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
1267
1672
|
|
|
@@ -1389,7 +1794,22 @@ export interface InnerErrorOutput {
|
|
|
1389
1794
|
export function isUnexpected(response: ListOperations200Response | ListOperationsDefaultResponse): response is ListOperationsDefaultResponse;
|
|
1390
1795
|
|
|
1391
1796
|
// @public (undocumented)
|
|
1392
|
-
export function isUnexpected(response: GetDocumentModelBuildOperation200Response |
|
|
1797
|
+
export function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response is GetDocumentModelBuildOperationDefaultResponse;
|
|
1798
|
+
|
|
1799
|
+
// @public (undocumented)
|
|
1800
|
+
export function isUnexpected(response: GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse): response is GetDocumentModelComposeOperationDefaultResponse;
|
|
1801
|
+
|
|
1802
|
+
// @public (undocumented)
|
|
1803
|
+
export function isUnexpected(response: GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse): response is GetDocumentModelCopyToOperationDefaultResponse;
|
|
1804
|
+
|
|
1805
|
+
// @public (undocumented)
|
|
1806
|
+
export function isUnexpected(response: GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse): response is GetDocumentClassifierCopyToOperationDefaultResponse;
|
|
1807
|
+
|
|
1808
|
+
// @public (undocumented)
|
|
1809
|
+
export function isUnexpected(response: GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse): response is GetDocumentClassifierBuildOperationDefaultResponse;
|
|
1810
|
+
|
|
1811
|
+
// @public (undocumented)
|
|
1812
|
+
export function isUnexpected(response: GetOperation200Response | GetOperationDefaultResponse): response is GetOperationDefaultResponse;
|
|
1393
1813
|
|
|
1394
1814
|
// @public (undocumented)
|
|
1395
1815
|
export function isUnexpected(response: GetResourceInfo200Response | GetResourceInfoDefaultResponse): response is GetResourceInfoDefaultResponse;
|
|
@@ -1398,7 +1818,22 @@ export function isUnexpected(response: GetResourceInfo200Response | GetResourceI
|
|
|
1398
1818
|
export function isUnexpected(response: GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse): response is GetAnalyzeResultDefaultResponse;
|
|
1399
1819
|
|
|
1400
1820
|
// @public (undocumented)
|
|
1401
|
-
export function isUnexpected(response:
|
|
1821
|
+
export function isUnexpected(response: GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse): response is GetAnalyzeResultPdfDefaultResponse;
|
|
1822
|
+
|
|
1823
|
+
// @public (undocumented)
|
|
1824
|
+
export function isUnexpected(response: GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse): response is GetAnalyzeResultFigureDefaultResponse;
|
|
1825
|
+
|
|
1826
|
+
// @public (undocumented)
|
|
1827
|
+
export function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse): response is AnalyzeDocumentFromStreamDefaultResponse;
|
|
1828
|
+
|
|
1829
|
+
// @public (undocumented)
|
|
1830
|
+
export function isUnexpected(response: AnalyzeDocument202Response | AnalyzeDocumentLogicalResponse | AnalyzeDocumentDefaultResponse): response is AnalyzeDocumentDefaultResponse;
|
|
1831
|
+
|
|
1832
|
+
// @public (undocumented)
|
|
1833
|
+
export function isUnexpected(response: GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse): response is GetAnalyzeBatchResultDefaultResponse;
|
|
1834
|
+
|
|
1835
|
+
// @public (undocumented)
|
|
1836
|
+
export function isUnexpected(response: AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsLogicalResponse | AnalyzeBatchDocumentsDefaultResponse): response is AnalyzeBatchDocumentsDefaultResponse;
|
|
1402
1837
|
|
|
1403
1838
|
// @public (undocumented)
|
|
1404
1839
|
export function isUnexpected(response: GetModel200Response | GetModelDefaultResponse): response is GetModelDefaultResponse;
|
|
@@ -1434,11 +1869,23 @@ export function isUnexpected(response: GetClassifier200Response | GetClassifierD
|
|
|
1434
1869
|
export function isUnexpected(response: DeleteClassifier204Response | DeleteClassifierDefaultResponse): response is DeleteClassifierDefaultResponse;
|
|
1435
1870
|
|
|
1436
1871
|
// @public (undocumented)
|
|
1437
|
-
export function isUnexpected(response: ClassifyDocumentFromStream202Response |
|
|
1872
|
+
export function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentFromStreamDefaultResponse): response is ClassifyDocumentFromStreamDefaultResponse;
|
|
1873
|
+
|
|
1874
|
+
// @public (undocumented)
|
|
1875
|
+
export function isUnexpected(response: ClassifyDocument202Response | ClassifyDocumentLogicalResponse | ClassifyDocumentDefaultResponse): response is ClassifyDocumentDefaultResponse;
|
|
1438
1876
|
|
|
1439
1877
|
// @public (undocumented)
|
|
1440
1878
|
export function isUnexpected(response: GetClassifyResult200Response | GetClassifyResultDefaultResponse): response is GetClassifyResultDefaultResponse;
|
|
1441
1879
|
|
|
1880
|
+
// @public (undocumented)
|
|
1881
|
+
export function isUnexpected(response: AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse): response is AuthorizeClassifierCopyDefaultResponse;
|
|
1882
|
+
|
|
1883
|
+
// @public (undocumented)
|
|
1884
|
+
export function isUnexpected(response: CopyClassifierTo202Response | CopyClassifierToLogicalResponse | CopyClassifierToDefaultResponse): response is CopyClassifierToDefaultResponse;
|
|
1885
|
+
|
|
1886
|
+
// @public
|
|
1887
|
+
export type LengthUnitOutput = string;
|
|
1888
|
+
|
|
1442
1889
|
// @public (undocumented)
|
|
1443
1890
|
export interface ListClassifiers {
|
|
1444
1891
|
get(options?: ListClassifiersParameters): StreamableMethod<ListClassifiers200Response | ListClassifiersDefaultResponse>;
|
|
@@ -1566,7 +2013,7 @@ export interface ListOperationsHeaders {
|
|
|
1566
2013
|
export type ListOperationsParameters = ListOperationsHeaderParam & RequestParameters;
|
|
1567
2014
|
|
|
1568
2015
|
// @public
|
|
1569
|
-
export type OperationDetailsOutput = OperationDetailsOutputParent | DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
|
|
2016
|
+
export type OperationDetailsOutput = OperationDetailsOutputParent | DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
|
|
1570
2017
|
|
|
1571
2018
|
// @public
|
|
1572
2019
|
export interface OperationDetailsOutputParent {
|
|
@@ -1574,15 +2021,21 @@ export interface OperationDetailsOutputParent {
|
|
|
1574
2021
|
createdDateTime: string;
|
|
1575
2022
|
error?: ErrorModelOutput;
|
|
1576
2023
|
// (undocumented)
|
|
1577
|
-
kind:
|
|
2024
|
+
kind: OperationKindOutput;
|
|
1578
2025
|
lastUpdatedDateTime: string;
|
|
1579
2026
|
operationId: string;
|
|
1580
2027
|
percentCompleted?: number;
|
|
1581
2028
|
resourceLocation: string;
|
|
1582
|
-
status:
|
|
2029
|
+
status: OperationStatusOutput;
|
|
1583
2030
|
tags?: Record<string, string>;
|
|
1584
2031
|
}
|
|
1585
2032
|
|
|
2033
|
+
// @public
|
|
2034
|
+
export type OperationKindOutput = string;
|
|
2035
|
+
|
|
2036
|
+
// @public
|
|
2037
|
+
export type OperationStatusOutput = string;
|
|
2038
|
+
|
|
1586
2039
|
// @public
|
|
1587
2040
|
export type PagedDocumentClassifierDetailsOutput = Paged<DocumentClassifierDetailsOutput>;
|
|
1588
2041
|
|
|
@@ -1608,16 +2061,11 @@ export interface PagingOptions<TResponse> {
|
|
|
1608
2061
|
}
|
|
1609
2062
|
|
|
1610
2063
|
// @public
|
|
1611
|
-
export
|
|
1612
|
-
quota: number;
|
|
1613
|
-
quotaResetDateTime: string;
|
|
1614
|
-
used: number;
|
|
1615
|
-
}
|
|
2064
|
+
export type ParagraphRoleOutput = string;
|
|
1616
2065
|
|
|
1617
2066
|
// @public
|
|
1618
2067
|
export interface ResourceDetailsOutput {
|
|
1619
2068
|
customDocumentModels: CustomDocumentModelsDetailsOutput;
|
|
1620
|
-
customNeuralDocumentModelBuilds: QuotaDetailsOutput;
|
|
1621
2069
|
}
|
|
1622
2070
|
|
|
1623
2071
|
// @public (undocumented)
|
|
@@ -1626,7 +2074,11 @@ export interface Routes {
|
|
|
1626
2074
|
(path: "/operations/{operationId}", operationId: string): GetDocumentModelBuildOperation;
|
|
1627
2075
|
(path: "/info"): GetResourceInfo;
|
|
1628
2076
|
(path: "/documentModels/{modelId}/analyzeResults/{resultId}", modelId: string, resultId: string): GetAnalyzeResult;
|
|
2077
|
+
(path: "/documentModels/{modelId}/analyzeResults/{resultId}/pdf", modelId: string, resultId: string): GetAnalyzeResultPdf;
|
|
2078
|
+
(path: "/documentModels/{modelId}/analyzeResults/{resultId}/figures/{figureId}", modelId: string, resultId: string, figureId: string): GetAnalyzeResultFigure;
|
|
1629
2079
|
(path: "/documentModels/{modelId}:analyze", modelId: string): AnalyzeDocumentFromStream;
|
|
2080
|
+
(path: "/documentModels/{modelId}/analyzeBatchResults/{resultId}", modelId: string, resultId: string): GetAnalyzeBatchResult;
|
|
2081
|
+
(path: "/documentModels/{modelId}:analyzeBatch", modelId: string): AnalyzeBatchDocuments;
|
|
1630
2082
|
(path: "/documentModels/{modelId}", modelId: string): GetModel;
|
|
1631
2083
|
(path: "/documentModels:build"): BuildModel;
|
|
1632
2084
|
(path: "/documentModels:compose"): ComposeModel;
|
|
@@ -1638,8 +2090,45 @@ export interface Routes {
|
|
|
1638
2090
|
(path: "/documentClassifiers/{classifierId}", classifierId: string): GetClassifier;
|
|
1639
2091
|
(path: "/documentClassifiers/{classifierId}:analyze", classifierId: string): ClassifyDocumentFromStream;
|
|
1640
2092
|
(path: "/documentClassifiers/{classifierId}/analyzeResults/{resultId}", classifierId: string, resultId: string): GetClassifyResult;
|
|
2093
|
+
(path: "/documentClassifiers:authorizeCopy"): AuthorizeClassifierCopy;
|
|
2094
|
+
(path: "/documentClassifiers/{classifierId}:copyTo", classifierId: string): CopyClassifierTo;
|
|
1641
2095
|
}
|
|
1642
2096
|
|
|
2097
|
+
// @public
|
|
2098
|
+
export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
|
|
2099
|
+
getOperationId(): string;
|
|
2100
|
+
getOperationState(): TState;
|
|
2101
|
+
getResult(): TResult | undefined;
|
|
2102
|
+
isDone(): boolean;
|
|
2103
|
+
// @deprecated
|
|
2104
|
+
isStopped(): boolean;
|
|
2105
|
+
onProgress(callback: (state: TState) => void): CancelOnProgress;
|
|
2106
|
+
poll(options?: {
|
|
2107
|
+
abortSignal?: AbortSignalLike;
|
|
2108
|
+
}): Promise<TState>;
|
|
2109
|
+
pollUntilDone(pollOptions?: {
|
|
2110
|
+
abortSignal?: AbortSignalLike;
|
|
2111
|
+
}): Promise<TResult>;
|
|
2112
|
+
serialize(): Promise<string>;
|
|
2113
|
+
// @deprecated
|
|
2114
|
+
stopPolling(): void;
|
|
2115
|
+
submitted(): Promise<void>;
|
|
2116
|
+
// @deprecated
|
|
2117
|
+
toString(): string;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
// @public
|
|
2121
|
+
export type SplitMode = string;
|
|
2122
|
+
|
|
2123
|
+
// @public
|
|
2124
|
+
export type SplitModeOutput = string;
|
|
2125
|
+
|
|
2126
|
+
// @public
|
|
2127
|
+
export type StringIndexType = string;
|
|
2128
|
+
|
|
2129
|
+
// @public
|
|
2130
|
+
export type StringIndexTypeOutput = string;
|
|
2131
|
+
|
|
1643
2132
|
// @public
|
|
1644
2133
|
export interface WarningOutput {
|
|
1645
2134
|
code: string;
|