@azure-rest/ai-document-intelligence 1.0.0-beta.1 → 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 +111 -27
- 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/paginateHelper.js.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 +114 -91
- package/review/ai-document-intelligence.api.md +814 -84
- 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/paginateHelper.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 -1782
- /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}/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';
|
|
@@ -16,8 +16,8 @@ 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
|
-
import { SimplePollerLike } from '@azure/core-lro';
|
|
21
21
|
import { StreamableMethod } from '@azure-rest/core-client';
|
|
22
22
|
import { TokenCredential } from '@azure/core-auth';
|
|
23
23
|
|
|
@@ -39,10 +39,110 @@ export interface AddressValueOutput {
|
|
|
39
39
|
unit?: string;
|
|
40
40
|
}
|
|
41
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
|
+
|
|
42
141
|
// @public (undocumented)
|
|
43
142
|
export interface AnalyzeDocument202Headers {
|
|
44
143
|
// (undocumented)
|
|
45
144
|
"operation-location": string;
|
|
145
|
+
"retry-after"?: number;
|
|
46
146
|
}
|
|
47
147
|
|
|
48
148
|
// @public
|
|
@@ -76,6 +176,7 @@ export interface AnalyzeDocumentFromStream {
|
|
|
76
176
|
export interface AnalyzeDocumentFromStream202Headers {
|
|
77
177
|
// (undocumented)
|
|
78
178
|
"operation-location": string;
|
|
179
|
+
"retry-after"?: number;
|
|
79
180
|
}
|
|
80
181
|
|
|
81
182
|
// @public
|
|
@@ -121,12 +222,13 @@ export interface AnalyzeDocumentFromStreamQueryParam {
|
|
|
121
222
|
|
|
122
223
|
// @public (undocumented)
|
|
123
224
|
export interface AnalyzeDocumentFromStreamQueryParamProperties {
|
|
124
|
-
features?:
|
|
225
|
+
features?: DocumentAnalysisFeature[];
|
|
125
226
|
locale?: string;
|
|
126
|
-
|
|
227
|
+
output?: AnalyzeOutputOption[];
|
|
228
|
+
outputContentFormat?: ContentFormat;
|
|
127
229
|
pages?: string;
|
|
128
230
|
queryFields?: string[];
|
|
129
|
-
stringIndexType?:
|
|
231
|
+
stringIndexType?: StringIndexType;
|
|
130
232
|
}
|
|
131
233
|
|
|
132
234
|
// @public
|
|
@@ -151,12 +253,13 @@ export interface AnalyzeDocumentQueryParam {
|
|
|
151
253
|
|
|
152
254
|
// @public (undocumented)
|
|
153
255
|
export interface AnalyzeDocumentQueryParamProperties {
|
|
154
|
-
features?:
|
|
256
|
+
features?: DocumentAnalysisFeature[];
|
|
155
257
|
locale?: string;
|
|
156
|
-
|
|
258
|
+
output?: AnalyzeOutputOption[];
|
|
259
|
+
outputContentFormat?: ContentFormat;
|
|
157
260
|
pages?: string;
|
|
158
261
|
queryFields?: string[];
|
|
159
|
-
stringIndexType?:
|
|
262
|
+
stringIndexType?: StringIndexType;
|
|
160
263
|
}
|
|
161
264
|
|
|
162
265
|
// @public
|
|
@@ -165,32 +268,71 @@ export interface AnalyzeDocumentRequest {
|
|
|
165
268
|
urlSource?: string;
|
|
166
269
|
}
|
|
167
270
|
|
|
271
|
+
// @public
|
|
272
|
+
export type AnalyzeOutputOption = string;
|
|
273
|
+
|
|
168
274
|
// @public
|
|
169
275
|
export interface AnalyzeResultOperationOutput {
|
|
170
276
|
analyzeResult?: AnalyzeResultOutput;
|
|
171
277
|
createdDateTime: string;
|
|
172
278
|
error?: ErrorModelOutput;
|
|
173
279
|
lastUpdatedDateTime: string;
|
|
174
|
-
status:
|
|
280
|
+
status: OperationStatusOutput;
|
|
175
281
|
}
|
|
176
282
|
|
|
177
283
|
// @public
|
|
178
284
|
export interface AnalyzeResultOutput {
|
|
179
285
|
apiVersion: string;
|
|
180
286
|
content: string;
|
|
181
|
-
contentFormat?:
|
|
287
|
+
contentFormat?: ContentFormatOutput;
|
|
182
288
|
documents?: Array<DocumentOutput>;
|
|
183
289
|
figures?: Array<DocumentFigureOutput>;
|
|
184
290
|
keyValuePairs?: Array<DocumentKeyValuePairOutput>;
|
|
185
291
|
languages?: Array<DocumentLanguageOutput>;
|
|
186
|
-
lists?: Array<DocumentListOutput>;
|
|
187
292
|
modelId: string;
|
|
188
293
|
pages: Array<DocumentPageOutput>;
|
|
189
294
|
paragraphs?: Array<DocumentParagraphOutput>;
|
|
190
295
|
sections?: Array<DocumentSectionOutput>;
|
|
191
|
-
stringIndexType:
|
|
296
|
+
stringIndexType: StringIndexTypeOutput;
|
|
192
297
|
styles?: Array<DocumentStyleOutput>;
|
|
193
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>;
|
|
194
336
|
}
|
|
195
337
|
|
|
196
338
|
// @public
|
|
@@ -268,6 +410,7 @@ export interface BuildClassifier {
|
|
|
268
410
|
export interface BuildClassifier202Headers {
|
|
269
411
|
// (undocumented)
|
|
270
412
|
"operation-location": string;
|
|
413
|
+
"retry-after"?: number;
|
|
271
414
|
}
|
|
272
415
|
|
|
273
416
|
// @public
|
|
@@ -302,6 +445,8 @@ export type BuildClassifierParameters = BuildClassifierBodyParam & RequestParame
|
|
|
302
445
|
|
|
303
446
|
// @public
|
|
304
447
|
export interface BuildDocumentClassifierRequest {
|
|
448
|
+
allowOverwrite?: boolean;
|
|
449
|
+
baseClassifierId?: string;
|
|
305
450
|
classifierId: string;
|
|
306
451
|
description?: string;
|
|
307
452
|
docTypes: Record<string, ClassifierDocumentTypeDetails>;
|
|
@@ -309,10 +454,12 @@ export interface BuildDocumentClassifierRequest {
|
|
|
309
454
|
|
|
310
455
|
// @public
|
|
311
456
|
export interface BuildDocumentModelRequest {
|
|
457
|
+
allowOverwrite?: boolean;
|
|
312
458
|
azureBlobFileListSource?: AzureBlobFileListContentSource;
|
|
313
459
|
azureBlobSource?: AzureBlobContentSource;
|
|
314
|
-
buildMode:
|
|
460
|
+
buildMode: DocumentBuildMode;
|
|
315
461
|
description?: string;
|
|
462
|
+
maxTrainingHours?: number;
|
|
316
463
|
modelId: string;
|
|
317
464
|
tags?: Record<string, string>;
|
|
318
465
|
}
|
|
@@ -326,6 +473,7 @@ export interface BuildModel {
|
|
|
326
473
|
export interface BuildModel202Headers {
|
|
327
474
|
// (undocumented)
|
|
328
475
|
"operation-location": string;
|
|
476
|
+
"retry-after"?: number;
|
|
329
477
|
}
|
|
330
478
|
|
|
331
479
|
// @public
|
|
@@ -358,24 +506,45 @@ export interface BuildModelLogicalResponse extends HttpResponse {
|
|
|
358
506
|
// @public (undocumented)
|
|
359
507
|
export type BuildModelParameters = BuildModelBodyParam & RequestParameters;
|
|
360
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
|
+
|
|
361
529
|
// @public
|
|
362
530
|
export interface ClassifierDocumentTypeDetails {
|
|
363
531
|
azureBlobFileListSource?: AzureBlobFileListContentSource;
|
|
364
532
|
azureBlobSource?: AzureBlobContentSource;
|
|
365
|
-
sourceKind?:
|
|
533
|
+
sourceKind?: ContentSourceKind;
|
|
366
534
|
}
|
|
367
535
|
|
|
368
536
|
// @public
|
|
369
537
|
export interface ClassifierDocumentTypeDetailsOutput {
|
|
370
538
|
azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
|
|
371
539
|
azureBlobSource?: AzureBlobContentSourceOutput;
|
|
372
|
-
sourceKind?:
|
|
540
|
+
sourceKind?: ContentSourceKindOutput;
|
|
373
541
|
}
|
|
374
542
|
|
|
375
543
|
// @public (undocumented)
|
|
376
544
|
export interface ClassifyDocument202Headers {
|
|
377
545
|
// (undocumented)
|
|
378
546
|
"operation-location": string;
|
|
547
|
+
"retry-after"?: number;
|
|
379
548
|
}
|
|
380
549
|
|
|
381
550
|
// @public
|
|
@@ -409,6 +578,7 @@ export interface ClassifyDocumentFromStream {
|
|
|
409
578
|
export interface ClassifyDocumentFromStream202Headers {
|
|
410
579
|
// (undocumented)
|
|
411
580
|
"operation-location": string;
|
|
581
|
+
"retry-after"?: number;
|
|
412
582
|
}
|
|
413
583
|
|
|
414
584
|
// @public
|
|
@@ -454,8 +624,9 @@ export interface ClassifyDocumentFromStreamQueryParam {
|
|
|
454
624
|
|
|
455
625
|
// @public (undocumented)
|
|
456
626
|
export interface ClassifyDocumentFromStreamQueryParamProperties {
|
|
457
|
-
|
|
458
|
-
|
|
627
|
+
pages?: string;
|
|
628
|
+
split?: SplitMode;
|
|
629
|
+
stringIndexType?: StringIndexType;
|
|
459
630
|
}
|
|
460
631
|
|
|
461
632
|
// @public
|
|
@@ -480,8 +651,9 @@ export interface ClassifyDocumentQueryParam {
|
|
|
480
651
|
|
|
481
652
|
// @public (undocumented)
|
|
482
653
|
export interface ClassifyDocumentQueryParamProperties {
|
|
483
|
-
|
|
484
|
-
|
|
654
|
+
pages?: string;
|
|
655
|
+
split?: SplitMode;
|
|
656
|
+
stringIndexType?: StringIndexType;
|
|
485
657
|
}
|
|
486
658
|
|
|
487
659
|
// @public
|
|
@@ -490,16 +662,13 @@ export interface ClassifyDocumentRequest {
|
|
|
490
662
|
urlSource?: string;
|
|
491
663
|
}
|
|
492
664
|
|
|
493
|
-
// @public
|
|
494
|
-
export interface ComponentDocumentModelDetails {
|
|
495
|
-
modelId: string;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
665
|
// @public
|
|
499
666
|
export interface ComposeDocumentModelRequest {
|
|
500
|
-
|
|
667
|
+
classifierId: string;
|
|
501
668
|
description?: string;
|
|
669
|
+
docTypes: Record<string, DocumentTypeDetails>;
|
|
502
670
|
modelId: string;
|
|
671
|
+
split?: SplitMode;
|
|
503
672
|
tags?: Record<string, string>;
|
|
504
673
|
}
|
|
505
674
|
|
|
@@ -512,6 +681,7 @@ export interface ComposeModel {
|
|
|
512
681
|
export interface ComposeModel202Headers {
|
|
513
682
|
// (undocumented)
|
|
514
683
|
"operation-location": string;
|
|
684
|
+
"retry-after"?: number;
|
|
515
685
|
}
|
|
516
686
|
|
|
517
687
|
// @public
|
|
@@ -544,6 +714,18 @@ export interface ComposeModelLogicalResponse extends HttpResponse {
|
|
|
544
714
|
// @public (undocumented)
|
|
545
715
|
export type ComposeModelParameters = ComposeModelBodyParam & RequestParameters;
|
|
546
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
|
+
|
|
547
729
|
// @public
|
|
548
730
|
export interface CopyAuthorization {
|
|
549
731
|
accessToken: string;
|
|
@@ -564,6 +746,48 @@ export interface CopyAuthorizationOutput {
|
|
|
564
746
|
targetResourceRegion: string;
|
|
565
747
|
}
|
|
566
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
|
+
|
|
567
791
|
// @public (undocumented)
|
|
568
792
|
export interface CopyModelTo {
|
|
569
793
|
post(options: CopyModelToParameters): StreamableMethod<CopyModelTo202Response | CopyModelToDefaultResponse>;
|
|
@@ -573,6 +797,7 @@ export interface CopyModelTo {
|
|
|
573
797
|
export interface CopyModelTo202Headers {
|
|
574
798
|
// (undocumented)
|
|
575
799
|
"operation-location": string;
|
|
800
|
+
"retry-after"?: number;
|
|
576
801
|
}
|
|
577
802
|
|
|
578
803
|
// @public
|
|
@@ -606,7 +831,7 @@ export interface CopyModelToLogicalResponse extends HttpResponse {
|
|
|
606
831
|
export type CopyModelToParameters = CopyModelToBodyParam & RequestParameters;
|
|
607
832
|
|
|
608
833
|
// @public
|
|
609
|
-
function createClient(
|
|
834
|
+
function createClient(endpointParam: string, credentials: TokenCredential | KeyCredential, { apiVersion, ...options }?: DocumentIntelligenceClientOptions): DocumentIntelligenceClient;
|
|
610
835
|
export default createClient;
|
|
611
836
|
|
|
612
837
|
// @public
|
|
@@ -622,8 +847,15 @@ export interface CustomDocumentModelsDetailsOutput {
|
|
|
622
847
|
limit: number;
|
|
623
848
|
}
|
|
624
849
|
|
|
850
|
+
// @public (undocumented)
|
|
851
|
+
export interface DeleteClassifier204Headers {
|
|
852
|
+
"x-ms-client-request-id"?: string;
|
|
853
|
+
}
|
|
854
|
+
|
|
625
855
|
// @public
|
|
626
856
|
export interface DeleteClassifier204Response extends HttpResponse {
|
|
857
|
+
// (undocumented)
|
|
858
|
+
headers: RawHttpHeaders & DeleteClassifier204Headers;
|
|
627
859
|
// (undocumented)
|
|
628
860
|
status: "204";
|
|
629
861
|
}
|
|
@@ -637,10 +869,28 @@ export interface DeleteClassifierDefaultResponse extends HttpResponse {
|
|
|
637
869
|
}
|
|
638
870
|
|
|
639
871
|
// @public (undocumented)
|
|
640
|
-
export
|
|
872
|
+
export interface DeleteClassifierHeaderParam {
|
|
873
|
+
// (undocumented)
|
|
874
|
+
headers?: RawHttpHeadersInput & DeleteClassifierHeaders;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
// @public (undocumented)
|
|
878
|
+
export interface DeleteClassifierHeaders {
|
|
879
|
+
"x-ms-client-request-id"?: string;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
// @public (undocumented)
|
|
883
|
+
export type DeleteClassifierParameters = DeleteClassifierHeaderParam & RequestParameters;
|
|
884
|
+
|
|
885
|
+
// @public (undocumented)
|
|
886
|
+
export interface DeleteModel204Headers {
|
|
887
|
+
"x-ms-client-request-id"?: string;
|
|
888
|
+
}
|
|
641
889
|
|
|
642
890
|
// @public
|
|
643
891
|
export interface DeleteModel204Response extends HttpResponse {
|
|
892
|
+
// (undocumented)
|
|
893
|
+
headers: RawHttpHeaders & DeleteModel204Headers;
|
|
644
894
|
// (undocumented)
|
|
645
895
|
status: "204";
|
|
646
896
|
}
|
|
@@ -654,17 +904,43 @@ export interface DeleteModelDefaultResponse extends HttpResponse {
|
|
|
654
904
|
}
|
|
655
905
|
|
|
656
906
|
// @public (undocumented)
|
|
657
|
-
export
|
|
907
|
+
export interface DeleteModelHeaderParam {
|
|
908
|
+
// (undocumented)
|
|
909
|
+
headers?: RawHttpHeadersInput & DeleteModelHeaders;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
// @public (undocumented)
|
|
913
|
+
export interface DeleteModelHeaders {
|
|
914
|
+
"x-ms-client-request-id"?: string;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
// @public (undocumented)
|
|
918
|
+
export type DeleteModelParameters = DeleteModelHeaderParam & RequestParameters;
|
|
919
|
+
|
|
920
|
+
// @public
|
|
921
|
+
export type DocumentAnalysisFeature = string;
|
|
922
|
+
|
|
923
|
+
// @public
|
|
924
|
+
export type DocumentAnalysisFeatureOutput = string;
|
|
925
|
+
|
|
926
|
+
// @public
|
|
927
|
+
export type DocumentBarcodeKindOutput = string;
|
|
658
928
|
|
|
659
929
|
// @public
|
|
660
930
|
export interface DocumentBarcodeOutput {
|
|
661
931
|
confidence: number;
|
|
662
|
-
kind:
|
|
932
|
+
kind: DocumentBarcodeKindOutput;
|
|
663
933
|
polygon?: number[];
|
|
664
934
|
span: DocumentSpanOutput;
|
|
665
935
|
value: string;
|
|
666
936
|
}
|
|
667
937
|
|
|
938
|
+
// @public
|
|
939
|
+
export type DocumentBuildMode = string;
|
|
940
|
+
|
|
941
|
+
// @public
|
|
942
|
+
export type DocumentBuildModeOutput = string;
|
|
943
|
+
|
|
668
944
|
// @public
|
|
669
945
|
export interface DocumentCaptionOutput {
|
|
670
946
|
boundingRegions?: Array<BoundingRegionOutput>;
|
|
@@ -679,14 +955,22 @@ export interface DocumentClassifierBuildOperationDetailsOutput extends Operation
|
|
|
679
955
|
result?: DocumentClassifierDetailsOutput;
|
|
680
956
|
}
|
|
681
957
|
|
|
958
|
+
// @public
|
|
959
|
+
export interface DocumentClassifierCopyToOperationDetailsOutput extends OperationDetailsOutputParent {
|
|
960
|
+
kind: "documentClassifierCopyTo";
|
|
961
|
+
result?: DocumentClassifierDetailsOutput;
|
|
962
|
+
}
|
|
963
|
+
|
|
682
964
|
// @public
|
|
683
965
|
export interface DocumentClassifierDetailsOutput {
|
|
684
966
|
apiVersion: string;
|
|
967
|
+
baseClassifierId?: string;
|
|
685
968
|
classifierId: string;
|
|
686
969
|
createdDateTime: string;
|
|
687
970
|
description?: string;
|
|
688
971
|
docTypes: Record<string, ClassifierDocumentTypeDetailsOutput>;
|
|
689
972
|
expirationDateTime?: string;
|
|
973
|
+
warnings?: Array<WarningOutput>;
|
|
690
974
|
}
|
|
691
975
|
|
|
692
976
|
// @public
|
|
@@ -695,7 +979,7 @@ export interface DocumentFieldOutput {
|
|
|
695
979
|
confidence?: number;
|
|
696
980
|
content?: string;
|
|
697
981
|
spans?: Array<DocumentSpanOutput>;
|
|
698
|
-
type:
|
|
982
|
+
type: DocumentFieldTypeOutput;
|
|
699
983
|
valueAddress?: AddressValueOutput;
|
|
700
984
|
valueArray?: Array<DocumentFieldOutput>;
|
|
701
985
|
valueBoolean?: boolean;
|
|
@@ -706,27 +990,44 @@ export interface DocumentFieldOutput {
|
|
|
706
990
|
valueNumber?: number;
|
|
707
991
|
valueObject?: Record<string, DocumentFieldOutput>;
|
|
708
992
|
valuePhoneNumber?: string;
|
|
709
|
-
|
|
710
|
-
|
|
993
|
+
valueSelectionGroup?: string[];
|
|
994
|
+
valueSelectionMark?: DocumentSelectionMarkStateOutput;
|
|
995
|
+
valueSignature?: DocumentSignatureTypeOutput;
|
|
711
996
|
valueString?: string;
|
|
712
997
|
valueTime?: string;
|
|
713
998
|
}
|
|
714
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
|
+
|
|
715
1009
|
// @public
|
|
716
1010
|
export interface DocumentFieldSchemaOutput {
|
|
717
1011
|
description?: string;
|
|
718
1012
|
example?: string;
|
|
719
1013
|
items?: DocumentFieldSchemaOutput;
|
|
720
1014
|
properties?: Record<string, DocumentFieldSchemaOutput>;
|
|
721
|
-
type:
|
|
1015
|
+
type: DocumentFieldTypeOutput;
|
|
722
1016
|
}
|
|
723
1017
|
|
|
1018
|
+
// @public
|
|
1019
|
+
export type DocumentFieldType = string;
|
|
1020
|
+
|
|
1021
|
+
// @public
|
|
1022
|
+
export type DocumentFieldTypeOutput = string;
|
|
1023
|
+
|
|
724
1024
|
// @public
|
|
725
1025
|
export interface DocumentFigureOutput {
|
|
726
1026
|
boundingRegions?: Array<BoundingRegionOutput>;
|
|
727
1027
|
caption?: DocumentCaptionOutput;
|
|
728
1028
|
elements?: string[];
|
|
729
1029
|
footnotes?: Array<DocumentFootnoteOutput>;
|
|
1030
|
+
id?: string;
|
|
730
1031
|
spans: Array<DocumentSpanOutput>;
|
|
731
1032
|
}
|
|
732
1033
|
|
|
@@ -738,10 +1039,13 @@ export interface DocumentFootnoteOutput {
|
|
|
738
1039
|
spans: Array<DocumentSpanOutput>;
|
|
739
1040
|
}
|
|
740
1041
|
|
|
1042
|
+
// @public
|
|
1043
|
+
export type DocumentFormulaKindOutput = string;
|
|
1044
|
+
|
|
741
1045
|
// @public
|
|
742
1046
|
export interface DocumentFormulaOutput {
|
|
743
1047
|
confidence: number;
|
|
744
|
-
kind:
|
|
1048
|
+
kind: DocumentFormulaKindOutput;
|
|
745
1049
|
polygon?: number[];
|
|
746
1050
|
span: DocumentSpanOutput;
|
|
747
1051
|
value: string;
|
|
@@ -752,6 +1056,11 @@ export type DocumentIntelligenceClient = Client & {
|
|
|
752
1056
|
path: Routes;
|
|
753
1057
|
};
|
|
754
1058
|
|
|
1059
|
+
// @public
|
|
1060
|
+
export interface DocumentIntelligenceClientOptions extends ClientOptions {
|
|
1061
|
+
apiVersion?: string;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
755
1064
|
// @public
|
|
756
1065
|
export interface DocumentKeyValueElementOutput {
|
|
757
1066
|
boundingRegions?: Array<BoundingRegionOutput>;
|
|
@@ -780,21 +1089,6 @@ export interface DocumentLineOutput {
|
|
|
780
1089
|
spans: Array<DocumentSpanOutput>;
|
|
781
1090
|
}
|
|
782
1091
|
|
|
783
|
-
// @public
|
|
784
|
-
export interface DocumentListItemOutput {
|
|
785
|
-
boundingRegions?: Array<BoundingRegionOutput>;
|
|
786
|
-
content: string;
|
|
787
|
-
elements?: string[];
|
|
788
|
-
level: number;
|
|
789
|
-
spans: Array<DocumentSpanOutput>;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
// @public
|
|
793
|
-
export interface DocumentListOutput {
|
|
794
|
-
items: Array<DocumentListItemOutput>;
|
|
795
|
-
spans: Array<DocumentSpanOutput>;
|
|
796
|
-
}
|
|
797
|
-
|
|
798
1092
|
// @public
|
|
799
1093
|
export interface DocumentModelBuildOperationDetailsOutput extends OperationDetailsOutputParent {
|
|
800
1094
|
kind: "documentModelBuild";
|
|
@@ -815,16 +1109,20 @@ export interface DocumentModelCopyToOperationDetailsOutput extends OperationDeta
|
|
|
815
1109
|
|
|
816
1110
|
// @public
|
|
817
1111
|
export interface DocumentModelDetailsOutput {
|
|
818
|
-
apiVersion?: string;
|
|
819
|
-
azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
|
|
820
|
-
azureBlobSource?: AzureBlobContentSourceOutput;
|
|
821
|
-
buildMode?:
|
|
822
|
-
|
|
1112
|
+
readonly apiVersion?: string;
|
|
1113
|
+
readonly azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
|
|
1114
|
+
readonly azureBlobSource?: AzureBlobContentSourceOutput;
|
|
1115
|
+
readonly buildMode?: DocumentBuildModeOutput;
|
|
1116
|
+
classifierId?: string;
|
|
1117
|
+
readonly createdDateTime: string;
|
|
823
1118
|
description?: string;
|
|
824
|
-
docTypes?: Record<string, DocumentTypeDetailsOutput>;
|
|
825
|
-
expirationDateTime?: string;
|
|
1119
|
+
readonly docTypes?: Record<string, DocumentTypeDetailsOutput>;
|
|
1120
|
+
readonly expirationDateTime?: string;
|
|
826
1121
|
modelId: string;
|
|
1122
|
+
split?: SplitModeOutput;
|
|
827
1123
|
tags?: Record<string, string>;
|
|
1124
|
+
readonly trainingHours?: number;
|
|
1125
|
+
readonly warnings?: Array<WarningOutput>;
|
|
828
1126
|
}
|
|
829
1127
|
|
|
830
1128
|
// @public
|
|
@@ -846,7 +1144,7 @@ export interface DocumentPageOutput {
|
|
|
846
1144
|
pageNumber: number;
|
|
847
1145
|
selectionMarks?: Array<DocumentSelectionMarkOutput>;
|
|
848
1146
|
spans: Array<DocumentSpanOutput>;
|
|
849
|
-
unit?:
|
|
1147
|
+
unit?: LengthUnitOutput;
|
|
850
1148
|
width?: number;
|
|
851
1149
|
words?: Array<DocumentWordOutput>;
|
|
852
1150
|
}
|
|
@@ -855,7 +1153,7 @@ export interface DocumentPageOutput {
|
|
|
855
1153
|
export interface DocumentParagraphOutput {
|
|
856
1154
|
boundingRegions?: Array<BoundingRegionOutput>;
|
|
857
1155
|
content: string;
|
|
858
|
-
role?:
|
|
1156
|
+
role?: ParagraphRoleOutput;
|
|
859
1157
|
spans: Array<DocumentSpanOutput>;
|
|
860
1158
|
}
|
|
861
1159
|
|
|
@@ -870,9 +1168,15 @@ export interface DocumentSelectionMarkOutput {
|
|
|
870
1168
|
confidence: number;
|
|
871
1169
|
polygon?: number[];
|
|
872
1170
|
span: DocumentSpanOutput;
|
|
873
|
-
state:
|
|
1171
|
+
state: DocumentSelectionMarkStateOutput;
|
|
874
1172
|
}
|
|
875
1173
|
|
|
1174
|
+
// @public
|
|
1175
|
+
export type DocumentSelectionMarkStateOutput = string;
|
|
1176
|
+
|
|
1177
|
+
// @public
|
|
1178
|
+
export type DocumentSignatureTypeOutput = string;
|
|
1179
|
+
|
|
876
1180
|
// @public
|
|
877
1181
|
export interface DocumentSpanOutput {
|
|
878
1182
|
length: number;
|
|
@@ -884,13 +1188,16 @@ export interface DocumentStyleOutput {
|
|
|
884
1188
|
backgroundColor?: string;
|
|
885
1189
|
color?: string;
|
|
886
1190
|
confidence: number;
|
|
887
|
-
fontStyle?:
|
|
888
|
-
fontWeight?:
|
|
1191
|
+
fontStyle?: FontStyleOutput;
|
|
1192
|
+
fontWeight?: FontWeightOutput;
|
|
889
1193
|
isHandwritten?: boolean;
|
|
890
1194
|
similarFontFamily?: string;
|
|
891
1195
|
spans: Array<DocumentSpanOutput>;
|
|
892
1196
|
}
|
|
893
1197
|
|
|
1198
|
+
// @public
|
|
1199
|
+
export type DocumentTableCellKindOutput = string;
|
|
1200
|
+
|
|
894
1201
|
// @public
|
|
895
1202
|
export interface DocumentTableCellOutput {
|
|
896
1203
|
boundingRegions?: Array<BoundingRegionOutput>;
|
|
@@ -898,7 +1205,7 @@ export interface DocumentTableCellOutput {
|
|
|
898
1205
|
columnSpan?: number;
|
|
899
1206
|
content: string;
|
|
900
1207
|
elements?: string[];
|
|
901
|
-
kind?:
|
|
1208
|
+
kind?: DocumentTableCellKindOutput;
|
|
902
1209
|
rowIndex: number;
|
|
903
1210
|
rowSpan?: number;
|
|
904
1211
|
spans: Array<DocumentSpanOutput>;
|
|
@@ -915,12 +1222,30 @@ export interface DocumentTableOutput {
|
|
|
915
1222
|
spans: Array<DocumentSpanOutput>;
|
|
916
1223
|
}
|
|
917
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
|
+
|
|
918
1238
|
// @public
|
|
919
1239
|
export interface DocumentTypeDetailsOutput {
|
|
920
|
-
buildMode?:
|
|
1240
|
+
buildMode?: DocumentBuildModeOutput;
|
|
1241
|
+
confidenceThreshold?: number;
|
|
921
1242
|
description?: string;
|
|
1243
|
+
features?: DocumentAnalysisFeatureOutput[];
|
|
922
1244
|
fieldConfidence?: Record<string, number>;
|
|
923
|
-
fieldSchema
|
|
1245
|
+
fieldSchema?: Record<string, DocumentFieldSchemaOutput>;
|
|
1246
|
+
maxDocumentsToAnalyze?: number;
|
|
1247
|
+
modelId?: string;
|
|
1248
|
+
queryFields?: string[];
|
|
924
1249
|
}
|
|
925
1250
|
|
|
926
1251
|
// @public
|
|
@@ -945,6 +1270,36 @@ export interface ErrorResponseOutput {
|
|
|
945
1270
|
error: ErrorModelOutput;
|
|
946
1271
|
}
|
|
947
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
|
+
|
|
948
1303
|
// @public (undocumented)
|
|
949
1304
|
export interface GetAnalyzeResult {
|
|
950
1305
|
get(options?: GetAnalyzeResultParameters): StreamableMethod<GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse>;
|
|
@@ -966,9 +1321,69 @@ export interface GetAnalyzeResultDefaultResponse extends HttpResponse {
|
|
|
966
1321
|
status: string;
|
|
967
1322
|
}
|
|
968
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
|
+
|
|
969
1354
|
// @public (undocumented)
|
|
970
1355
|
export type GetAnalyzeResultParameters = RequestParameters;
|
|
971
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
|
+
|
|
972
1387
|
// @public
|
|
973
1388
|
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
974
1389
|
|
|
@@ -978,11 +1393,18 @@ export interface GetClassifier {
|
|
|
978
1393
|
get(options?: GetClassifierParameters): StreamableMethod<GetClassifier200Response | GetClassifierDefaultResponse>;
|
|
979
1394
|
}
|
|
980
1395
|
|
|
1396
|
+
// @public (undocumented)
|
|
1397
|
+
export interface GetClassifier200Headers {
|
|
1398
|
+
"x-ms-client-request-id"?: string;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
981
1401
|
// @public
|
|
982
1402
|
export interface GetClassifier200Response extends HttpResponse {
|
|
983
1403
|
// (undocumented)
|
|
984
1404
|
body: DocumentClassifierDetailsOutput;
|
|
985
1405
|
// (undocumented)
|
|
1406
|
+
headers: RawHttpHeaders & GetClassifier200Headers;
|
|
1407
|
+
// (undocumented)
|
|
986
1408
|
status: "200";
|
|
987
1409
|
}
|
|
988
1410
|
|
|
@@ -995,7 +1417,18 @@ export interface GetClassifierDefaultResponse extends HttpResponse {
|
|
|
995
1417
|
}
|
|
996
1418
|
|
|
997
1419
|
// @public (undocumented)
|
|
998
|
-
export
|
|
1420
|
+
export interface GetClassifierHeaderParam {
|
|
1421
|
+
// (undocumented)
|
|
1422
|
+
headers?: RawHttpHeadersInput & GetClassifierHeaders;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
// @public (undocumented)
|
|
1426
|
+
export interface GetClassifierHeaders {
|
|
1427
|
+
"x-ms-client-request-id"?: string;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
// @public (undocumented)
|
|
1431
|
+
export type GetClassifierParameters = GetClassifierHeaderParam & RequestParameters;
|
|
999
1432
|
|
|
1000
1433
|
// @public (undocumented)
|
|
1001
1434
|
export interface GetClassifyResult {
|
|
@@ -1021,11 +1454,18 @@ export interface GetClassifyResultDefaultResponse extends HttpResponse {
|
|
|
1021
1454
|
// @public (undocumented)
|
|
1022
1455
|
export type GetClassifyResultParameters = RequestParameters;
|
|
1023
1456
|
|
|
1457
|
+
// @public (undocumented)
|
|
1458
|
+
export interface GetDocumentClassifierBuildOperation200Headers {
|
|
1459
|
+
"x-ms-client-request-id"?: string;
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1024
1462
|
// @public
|
|
1025
1463
|
export interface GetDocumentClassifierBuildOperation200Response extends HttpResponse {
|
|
1026
1464
|
// (undocumented)
|
|
1027
1465
|
body: DocumentClassifierBuildOperationDetailsOutput;
|
|
1028
1466
|
// (undocumented)
|
|
1467
|
+
headers: RawHttpHeaders & GetDocumentClassifierBuildOperation200Headers;
|
|
1468
|
+
// (undocumented)
|
|
1029
1469
|
status: "200";
|
|
1030
1470
|
}
|
|
1031
1471
|
|
|
@@ -1038,22 +1478,78 @@ export interface GetDocumentClassifierBuildOperationDefaultResponse extends Http
|
|
|
1038
1478
|
}
|
|
1039
1479
|
|
|
1040
1480
|
// @public (undocumented)
|
|
1041
|
-
export
|
|
1481
|
+
export interface GetDocumentClassifierBuildOperationHeaderParam {
|
|
1482
|
+
// (undocumented)
|
|
1483
|
+
headers?: RawHttpHeadersInput & GetDocumentClassifierBuildOperationHeaders;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
// @public (undocumented)
|
|
1487
|
+
export interface GetDocumentClassifierBuildOperationHeaders {
|
|
1488
|
+
"x-ms-client-request-id"?: string;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
// @public (undocumented)
|
|
1492
|
+
export type GetDocumentClassifierBuildOperationParameters = GetDocumentClassifierBuildOperationHeaderParam & RequestParameters;
|
|
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;
|
|
1042
1530
|
|
|
1043
1531
|
// @public (undocumented)
|
|
1044
1532
|
export interface GetDocumentModelBuildOperation {
|
|
1045
1533
|
get(options?: GetDocumentModelBuildOperationParameters): StreamableMethod<GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse>;
|
|
1046
1534
|
get(options?: GetDocumentModelComposeOperationParameters): StreamableMethod<GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse>;
|
|
1047
1535
|
get(options?: GetDocumentModelCopyToOperationParameters): StreamableMethod<GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse>;
|
|
1536
|
+
get(options?: GetDocumentClassifierCopyToOperationParameters): StreamableMethod<GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse>;
|
|
1048
1537
|
get(options?: GetDocumentClassifierBuildOperationParameters): StreamableMethod<GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse>;
|
|
1049
1538
|
get(options?: GetOperationParameters): StreamableMethod<GetOperation200Response | GetOperationDefaultResponse>;
|
|
1050
1539
|
}
|
|
1051
1540
|
|
|
1541
|
+
// @public (undocumented)
|
|
1542
|
+
export interface GetDocumentModelBuildOperation200Headers {
|
|
1543
|
+
"x-ms-client-request-id"?: string;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1052
1546
|
// @public
|
|
1053
1547
|
export interface GetDocumentModelBuildOperation200Response extends HttpResponse {
|
|
1054
1548
|
// (undocumented)
|
|
1055
1549
|
body: DocumentModelBuildOperationDetailsOutput;
|
|
1056
1550
|
// (undocumented)
|
|
1551
|
+
headers: RawHttpHeaders & GetDocumentModelBuildOperation200Headers;
|
|
1552
|
+
// (undocumented)
|
|
1057
1553
|
status: "200";
|
|
1058
1554
|
}
|
|
1059
1555
|
|
|
@@ -1066,13 +1562,31 @@ export interface GetDocumentModelBuildOperationDefaultResponse extends HttpRespo
|
|
|
1066
1562
|
}
|
|
1067
1563
|
|
|
1068
1564
|
// @public (undocumented)
|
|
1069
|
-
export
|
|
1565
|
+
export interface GetDocumentModelBuildOperationHeaderParam {
|
|
1566
|
+
// (undocumented)
|
|
1567
|
+
headers?: RawHttpHeadersInput & GetDocumentModelBuildOperationHeaders;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
// @public (undocumented)
|
|
1571
|
+
export interface GetDocumentModelBuildOperationHeaders {
|
|
1572
|
+
"x-ms-client-request-id"?: string;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
// @public (undocumented)
|
|
1576
|
+
export type GetDocumentModelBuildOperationParameters = GetDocumentModelBuildOperationHeaderParam & RequestParameters;
|
|
1577
|
+
|
|
1578
|
+
// @public (undocumented)
|
|
1579
|
+
export interface GetDocumentModelComposeOperation200Headers {
|
|
1580
|
+
"x-ms-client-request-id"?: string;
|
|
1581
|
+
}
|
|
1070
1582
|
|
|
1071
1583
|
// @public
|
|
1072
1584
|
export interface GetDocumentModelComposeOperation200Response extends HttpResponse {
|
|
1073
1585
|
// (undocumented)
|
|
1074
1586
|
body: DocumentModelComposeOperationDetailsOutput;
|
|
1075
1587
|
// (undocumented)
|
|
1588
|
+
headers: RawHttpHeaders & GetDocumentModelComposeOperation200Headers;
|
|
1589
|
+
// (undocumented)
|
|
1076
1590
|
status: "200";
|
|
1077
1591
|
}
|
|
1078
1592
|
|
|
@@ -1085,13 +1599,31 @@ export interface GetDocumentModelComposeOperationDefaultResponse extends HttpRes
|
|
|
1085
1599
|
}
|
|
1086
1600
|
|
|
1087
1601
|
// @public (undocumented)
|
|
1088
|
-
export
|
|
1602
|
+
export interface GetDocumentModelComposeOperationHeaderParam {
|
|
1603
|
+
// (undocumented)
|
|
1604
|
+
headers?: RawHttpHeadersInput & GetDocumentModelComposeOperationHeaders;
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
// @public (undocumented)
|
|
1608
|
+
export interface GetDocumentModelComposeOperationHeaders {
|
|
1609
|
+
"x-ms-client-request-id"?: string;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
// @public (undocumented)
|
|
1613
|
+
export type GetDocumentModelComposeOperationParameters = GetDocumentModelComposeOperationHeaderParam & RequestParameters;
|
|
1614
|
+
|
|
1615
|
+
// @public (undocumented)
|
|
1616
|
+
export interface GetDocumentModelCopyToOperation200Headers {
|
|
1617
|
+
"x-ms-client-request-id"?: string;
|
|
1618
|
+
}
|
|
1089
1619
|
|
|
1090
1620
|
// @public
|
|
1091
1621
|
export interface GetDocumentModelCopyToOperation200Response extends HttpResponse {
|
|
1092
1622
|
// (undocumented)
|
|
1093
1623
|
body: DocumentModelCopyToOperationDetailsOutput;
|
|
1094
1624
|
// (undocumented)
|
|
1625
|
+
headers: RawHttpHeaders & GetDocumentModelCopyToOperation200Headers;
|
|
1626
|
+
// (undocumented)
|
|
1095
1627
|
status: "200";
|
|
1096
1628
|
}
|
|
1097
1629
|
|
|
@@ -1104,9 +1636,23 @@ export interface GetDocumentModelCopyToOperationDefaultResponse extends HttpResp
|
|
|
1104
1636
|
}
|
|
1105
1637
|
|
|
1106
1638
|
// @public (undocumented)
|
|
1107
|
-
export
|
|
1639
|
+
export interface GetDocumentModelCopyToOperationHeaderParam {
|
|
1640
|
+
// (undocumented)
|
|
1641
|
+
headers?: RawHttpHeadersInput & GetDocumentModelCopyToOperationHeaders;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
// @public (undocumented)
|
|
1645
|
+
export interface GetDocumentModelCopyToOperationHeaders {
|
|
1646
|
+
"x-ms-client-request-id"?: string;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
// @public (undocumented)
|
|
1650
|
+
export type GetDocumentModelCopyToOperationParameters = GetDocumentModelCopyToOperationHeaderParam & RequestParameters;
|
|
1108
1651
|
|
|
1109
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)
|
|
1110
1656
|
export function getLongRunningPoller<TResult extends BuildModelLogicalResponse | BuildModelDefaultResponse>(client: Client, initialResponse: BuildModel202Response | BuildModelDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
1111
1657
|
|
|
1112
1658
|
// @public (undocumented)
|
|
@@ -1118,6 +1664,9 @@ export function getLongRunningPoller<TResult extends CopyModelToLogicalResponse
|
|
|
1118
1664
|
// @public (undocumented)
|
|
1119
1665
|
export function getLongRunningPoller<TResult extends BuildClassifierLogicalResponse | BuildClassifierDefaultResponse>(client: Client, initialResponse: BuildClassifier202Response | BuildClassifierDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
1120
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
|
+
|
|
1121
1670
|
// @public (undocumented)
|
|
1122
1671
|
export function getLongRunningPoller<TResult extends AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse>(client: Client, initialResponse: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
1123
1672
|
|
|
@@ -1130,11 +1679,18 @@ export interface GetModel {
|
|
|
1130
1679
|
get(options?: GetModelParameters): StreamableMethod<GetModel200Response | GetModelDefaultResponse>;
|
|
1131
1680
|
}
|
|
1132
1681
|
|
|
1682
|
+
// @public (undocumented)
|
|
1683
|
+
export interface GetModel200Headers {
|
|
1684
|
+
"x-ms-client-request-id"?: string;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1133
1687
|
// @public
|
|
1134
1688
|
export interface GetModel200Response extends HttpResponse {
|
|
1135
1689
|
// (undocumented)
|
|
1136
1690
|
body: DocumentModelDetailsOutput;
|
|
1137
1691
|
// (undocumented)
|
|
1692
|
+
headers: RawHttpHeaders & GetModel200Headers;
|
|
1693
|
+
// (undocumented)
|
|
1138
1694
|
status: "200";
|
|
1139
1695
|
}
|
|
1140
1696
|
|
|
@@ -1147,13 +1703,31 @@ export interface GetModelDefaultResponse extends HttpResponse {
|
|
|
1147
1703
|
}
|
|
1148
1704
|
|
|
1149
1705
|
// @public (undocumented)
|
|
1150
|
-
export
|
|
1706
|
+
export interface GetModelHeaderParam {
|
|
1707
|
+
// (undocumented)
|
|
1708
|
+
headers?: RawHttpHeadersInput & GetModelHeaders;
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
// @public (undocumented)
|
|
1712
|
+
export interface GetModelHeaders {
|
|
1713
|
+
"x-ms-client-request-id"?: string;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
// @public (undocumented)
|
|
1717
|
+
export type GetModelParameters = GetModelHeaderParam & RequestParameters;
|
|
1718
|
+
|
|
1719
|
+
// @public (undocumented)
|
|
1720
|
+
export interface GetOperation200Headers {
|
|
1721
|
+
"x-ms-client-request-id"?: string;
|
|
1722
|
+
}
|
|
1151
1723
|
|
|
1152
1724
|
// @public
|
|
1153
1725
|
export interface GetOperation200Response extends HttpResponse {
|
|
1154
1726
|
// (undocumented)
|
|
1155
1727
|
body: OperationDetailsOutput;
|
|
1156
1728
|
// (undocumented)
|
|
1729
|
+
headers: RawHttpHeaders & GetOperation200Headers;
|
|
1730
|
+
// (undocumented)
|
|
1157
1731
|
status: "200";
|
|
1158
1732
|
}
|
|
1159
1733
|
|
|
@@ -1166,7 +1740,18 @@ export interface GetOperationDefaultResponse extends HttpResponse {
|
|
|
1166
1740
|
}
|
|
1167
1741
|
|
|
1168
1742
|
// @public (undocumented)
|
|
1169
|
-
export
|
|
1743
|
+
export interface GetOperationHeaderParam {
|
|
1744
|
+
// (undocumented)
|
|
1745
|
+
headers?: RawHttpHeadersInput & GetOperationHeaders;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
// @public (undocumented)
|
|
1749
|
+
export interface GetOperationHeaders {
|
|
1750
|
+
"x-ms-client-request-id"?: string;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
// @public (undocumented)
|
|
1754
|
+
export type GetOperationParameters = GetOperationHeaderParam & RequestParameters;
|
|
1170
1755
|
|
|
1171
1756
|
// @public
|
|
1172
1757
|
export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
|
|
@@ -1211,15 +1796,45 @@ export function isUnexpected(response: ListOperations200Response | ListOperation
|
|
|
1211
1796
|
// @public (undocumented)
|
|
1212
1797
|
export function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response is GetDocumentModelBuildOperationDefaultResponse;
|
|
1213
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;
|
|
1813
|
+
|
|
1214
1814
|
// @public (undocumented)
|
|
1215
1815
|
export function isUnexpected(response: GetResourceInfo200Response | GetResourceInfoDefaultResponse): response is GetResourceInfoDefaultResponse;
|
|
1216
1816
|
|
|
1217
1817
|
// @public (undocumented)
|
|
1218
1818
|
export function isUnexpected(response: GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse): response is GetAnalyzeResultDefaultResponse;
|
|
1219
1819
|
|
|
1820
|
+
// @public (undocumented)
|
|
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
|
+
|
|
1220
1826
|
// @public (undocumented)
|
|
1221
1827
|
export function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse): response is AnalyzeDocumentFromStreamDefaultResponse;
|
|
1222
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;
|
|
1837
|
+
|
|
1223
1838
|
// @public (undocumented)
|
|
1224
1839
|
export function isUnexpected(response: GetModel200Response | GetModelDefaultResponse): response is GetModelDefaultResponse;
|
|
1225
1840
|
|
|
@@ -1256,19 +1871,38 @@ export function isUnexpected(response: DeleteClassifier204Response | DeleteClass
|
|
|
1256
1871
|
// @public (undocumented)
|
|
1257
1872
|
export function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentFromStreamDefaultResponse): response is ClassifyDocumentFromStreamDefaultResponse;
|
|
1258
1873
|
|
|
1874
|
+
// @public (undocumented)
|
|
1875
|
+
export function isUnexpected(response: ClassifyDocument202Response | ClassifyDocumentLogicalResponse | ClassifyDocumentDefaultResponse): response is ClassifyDocumentDefaultResponse;
|
|
1876
|
+
|
|
1259
1877
|
// @public (undocumented)
|
|
1260
1878
|
export function isUnexpected(response: GetClassifyResult200Response | GetClassifyResultDefaultResponse): response is GetClassifyResultDefaultResponse;
|
|
1261
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
|
+
|
|
1262
1889
|
// @public (undocumented)
|
|
1263
1890
|
export interface ListClassifiers {
|
|
1264
1891
|
get(options?: ListClassifiersParameters): StreamableMethod<ListClassifiers200Response | ListClassifiersDefaultResponse>;
|
|
1265
1892
|
}
|
|
1266
1893
|
|
|
1894
|
+
// @public (undocumented)
|
|
1895
|
+
export interface ListClassifiers200Headers {
|
|
1896
|
+
"x-ms-client-request-id"?: string;
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1267
1899
|
// @public
|
|
1268
1900
|
export interface ListClassifiers200Response extends HttpResponse {
|
|
1269
1901
|
// (undocumented)
|
|
1270
1902
|
body: PagedDocumentClassifierDetailsOutput;
|
|
1271
1903
|
// (undocumented)
|
|
1904
|
+
headers: RawHttpHeaders & ListClassifiers200Headers;
|
|
1905
|
+
// (undocumented)
|
|
1272
1906
|
status: "200";
|
|
1273
1907
|
}
|
|
1274
1908
|
|
|
@@ -1281,18 +1915,36 @@ export interface ListClassifiersDefaultResponse extends HttpResponse {
|
|
|
1281
1915
|
}
|
|
1282
1916
|
|
|
1283
1917
|
// @public (undocumented)
|
|
1284
|
-
export
|
|
1918
|
+
export interface ListClassifiersHeaderParam {
|
|
1919
|
+
// (undocumented)
|
|
1920
|
+
headers?: RawHttpHeadersInput & ListClassifiersHeaders;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
// @public (undocumented)
|
|
1924
|
+
export interface ListClassifiersHeaders {
|
|
1925
|
+
"x-ms-client-request-id"?: string;
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
// @public (undocumented)
|
|
1929
|
+
export type ListClassifiersParameters = ListClassifiersHeaderParam & RequestParameters;
|
|
1285
1930
|
|
|
1286
1931
|
// @public (undocumented)
|
|
1287
1932
|
export interface ListModels {
|
|
1288
1933
|
get(options?: ListModelsParameters): StreamableMethod<ListModels200Response | ListModelsDefaultResponse>;
|
|
1289
1934
|
}
|
|
1290
1935
|
|
|
1936
|
+
// @public (undocumented)
|
|
1937
|
+
export interface ListModels200Headers {
|
|
1938
|
+
"x-ms-client-request-id"?: string;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1291
1941
|
// @public
|
|
1292
1942
|
export interface ListModels200Response extends HttpResponse {
|
|
1293
1943
|
// (undocumented)
|
|
1294
1944
|
body: PagedDocumentModelDetailsOutput;
|
|
1295
1945
|
// (undocumented)
|
|
1946
|
+
headers: RawHttpHeaders & ListModels200Headers;
|
|
1947
|
+
// (undocumented)
|
|
1296
1948
|
status: "200";
|
|
1297
1949
|
}
|
|
1298
1950
|
|
|
@@ -1305,18 +1957,36 @@ export interface ListModelsDefaultResponse extends HttpResponse {
|
|
|
1305
1957
|
}
|
|
1306
1958
|
|
|
1307
1959
|
// @public (undocumented)
|
|
1308
|
-
export
|
|
1960
|
+
export interface ListModelsHeaderParam {
|
|
1961
|
+
// (undocumented)
|
|
1962
|
+
headers?: RawHttpHeadersInput & ListModelsHeaders;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
// @public (undocumented)
|
|
1966
|
+
export interface ListModelsHeaders {
|
|
1967
|
+
"x-ms-client-request-id"?: string;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
// @public (undocumented)
|
|
1971
|
+
export type ListModelsParameters = ListModelsHeaderParam & RequestParameters;
|
|
1309
1972
|
|
|
1310
1973
|
// @public (undocumented)
|
|
1311
1974
|
export interface ListOperations {
|
|
1312
1975
|
get(options?: ListOperationsParameters): StreamableMethod<ListOperations200Response | ListOperationsDefaultResponse>;
|
|
1313
1976
|
}
|
|
1314
1977
|
|
|
1978
|
+
// @public (undocumented)
|
|
1979
|
+
export interface ListOperations200Headers {
|
|
1980
|
+
"x-ms-client-request-id"?: string;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1315
1983
|
// @public
|
|
1316
1984
|
export interface ListOperations200Response extends HttpResponse {
|
|
1317
1985
|
// (undocumented)
|
|
1318
1986
|
body: PagedOperationDetailsOutput;
|
|
1319
1987
|
// (undocumented)
|
|
1988
|
+
headers: RawHttpHeaders & ListOperations200Headers;
|
|
1989
|
+
// (undocumented)
|
|
1320
1990
|
status: "200";
|
|
1321
1991
|
}
|
|
1322
1992
|
|
|
@@ -1329,10 +1999,21 @@ export interface ListOperationsDefaultResponse extends HttpResponse {
|
|
|
1329
1999
|
}
|
|
1330
2000
|
|
|
1331
2001
|
// @public (undocumented)
|
|
1332
|
-
export
|
|
2002
|
+
export interface ListOperationsHeaderParam {
|
|
2003
|
+
// (undocumented)
|
|
2004
|
+
headers?: RawHttpHeadersInput & ListOperationsHeaders;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
// @public (undocumented)
|
|
2008
|
+
export interface ListOperationsHeaders {
|
|
2009
|
+
"x-ms-client-request-id"?: string;
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
// @public (undocumented)
|
|
2013
|
+
export type ListOperationsParameters = ListOperationsHeaderParam & RequestParameters;
|
|
1333
2014
|
|
|
1334
2015
|
// @public
|
|
1335
|
-
export type OperationDetailsOutput = DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
|
|
2016
|
+
export type OperationDetailsOutput = OperationDetailsOutputParent | DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
|
|
1336
2017
|
|
|
1337
2018
|
// @public
|
|
1338
2019
|
export interface OperationDetailsOutputParent {
|
|
@@ -1340,15 +2021,21 @@ export interface OperationDetailsOutputParent {
|
|
|
1340
2021
|
createdDateTime: string;
|
|
1341
2022
|
error?: ErrorModelOutput;
|
|
1342
2023
|
// (undocumented)
|
|
1343
|
-
kind:
|
|
2024
|
+
kind: OperationKindOutput;
|
|
1344
2025
|
lastUpdatedDateTime: string;
|
|
1345
2026
|
operationId: string;
|
|
1346
2027
|
percentCompleted?: number;
|
|
1347
2028
|
resourceLocation: string;
|
|
1348
|
-
status:
|
|
2029
|
+
status: OperationStatusOutput;
|
|
1349
2030
|
tags?: Record<string, string>;
|
|
1350
2031
|
}
|
|
1351
2032
|
|
|
2033
|
+
// @public
|
|
2034
|
+
export type OperationKindOutput = string;
|
|
2035
|
+
|
|
2036
|
+
// @public
|
|
2037
|
+
export type OperationStatusOutput = string;
|
|
2038
|
+
|
|
1352
2039
|
// @public
|
|
1353
2040
|
export type PagedDocumentClassifierDetailsOutput = Paged<DocumentClassifierDetailsOutput>;
|
|
1354
2041
|
|
|
@@ -1374,16 +2061,11 @@ export interface PagingOptions<TResponse> {
|
|
|
1374
2061
|
}
|
|
1375
2062
|
|
|
1376
2063
|
// @public
|
|
1377
|
-
export
|
|
1378
|
-
quota: number;
|
|
1379
|
-
quotaResetDateTime: string;
|
|
1380
|
-
used: number;
|
|
1381
|
-
}
|
|
2064
|
+
export type ParagraphRoleOutput = string;
|
|
1382
2065
|
|
|
1383
2066
|
// @public
|
|
1384
2067
|
export interface ResourceDetailsOutput {
|
|
1385
2068
|
customDocumentModels: CustomDocumentModelsDetailsOutput;
|
|
1386
|
-
customNeuralDocumentModelBuilds: QuotaDetailsOutput;
|
|
1387
2069
|
}
|
|
1388
2070
|
|
|
1389
2071
|
// @public (undocumented)
|
|
@@ -1392,7 +2074,11 @@ export interface Routes {
|
|
|
1392
2074
|
(path: "/operations/{operationId}", operationId: string): GetDocumentModelBuildOperation;
|
|
1393
2075
|
(path: "/info"): GetResourceInfo;
|
|
1394
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;
|
|
1395
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;
|
|
1396
2082
|
(path: "/documentModels/{modelId}", modelId: string): GetModel;
|
|
1397
2083
|
(path: "/documentModels:build"): BuildModel;
|
|
1398
2084
|
(path: "/documentModels:compose"): ComposeModel;
|
|
@@ -1404,6 +2090,50 @@ export interface Routes {
|
|
|
1404
2090
|
(path: "/documentClassifiers/{classifierId}", classifierId: string): GetClassifier;
|
|
1405
2091
|
(path: "/documentClassifiers/{classifierId}:analyze", classifierId: string): ClassifyDocumentFromStream;
|
|
1406
2092
|
(path: "/documentClassifiers/{classifierId}/analyzeResults/{resultId}", classifierId: string, resultId: string): GetClassifyResult;
|
|
2093
|
+
(path: "/documentClassifiers:authorizeCopy"): AuthorizeClassifierCopy;
|
|
2094
|
+
(path: "/documentClassifiers/{classifierId}:copyTo", classifierId: string): CopyClassifierTo;
|
|
2095
|
+
}
|
|
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
|
+
|
|
2132
|
+
// @public
|
|
2133
|
+
export interface WarningOutput {
|
|
2134
|
+
code: string;
|
|
2135
|
+
message: string;
|
|
2136
|
+
target?: string;
|
|
1407
2137
|
}
|
|
1408
2138
|
|
|
1409
2139
|
// (No @packageDocumentation comment for this package)
|