@azure-rest/ai-document-intelligence 1.0.0-beta.2 → 1.0.0

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.
Files changed (224) hide show
  1. package/CHANGELOG.md +263 -0
  2. package/LICENSE +21 -0
  3. package/README.md +133 -7
  4. package/dist/browser/clientDefinitions.d.ts +175 -0
  5. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  6. package/dist/browser/clientDefinitions.js +4 -0
  7. package/dist/browser/clientDefinitions.js.map +1 -0
  8. package/dist/browser/documentIntelligence.d.ts +16 -0
  9. package/dist/browser/documentIntelligence.d.ts.map +1 -0
  10. package/dist/browser/documentIntelligence.js +44 -0
  11. package/dist/browser/documentIntelligence.js.map +1 -0
  12. package/dist/browser/index.d.ts +13 -0
  13. package/dist/browser/index.d.ts.map +1 -0
  14. package/dist/browser/index.js +15 -0
  15. package/dist/browser/index.js.map +1 -0
  16. package/dist/browser/isUnexpected.d.ts +36 -0
  17. package/dist/browser/isUnexpected.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/isUnexpected.js +18 -7
  19. package/dist/browser/isUnexpected.js.map +1 -0
  20. package/dist/browser/logger.d.ts +2 -0
  21. package/dist/browser/logger.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/logger.js +1 -1
  23. package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
  24. package/dist/browser/models.d.ts +254 -0
  25. package/dist/browser/models.d.ts.map +1 -0
  26. package/dist/browser/models.js +4 -0
  27. package/dist/browser/models.js.map +1 -0
  28. package/dist/browser/outputModels.d.ts +914 -0
  29. package/dist/browser/outputModels.d.ts.map +1 -0
  30. package/dist/browser/outputModels.js +4 -0
  31. package/dist/browser/outputModels.js.map +1 -0
  32. package/dist/browser/package.json +3 -0
  33. package/dist/browser/paginateHelper.d.ts +68 -0
  34. package/dist/browser/paginateHelper.d.ts.map +1 -0
  35. package/dist/browser/paginateHelper.js +167 -0
  36. package/dist/browser/paginateHelper.js.map +1 -0
  37. package/dist/browser/parameters.d.ts +414 -0
  38. package/dist/browser/parameters.d.ts.map +1 -0
  39. package/dist/browser/parameters.js +4 -0
  40. package/dist/browser/parameters.js.map +1 -0
  41. package/dist/browser/pollingHelper.d.ts +40 -0
  42. package/dist/browser/pollingHelper.d.ts.map +1 -0
  43. package/dist/browser/pollingHelper.js +80 -0
  44. package/dist/browser/pollingHelper.js.map +1 -0
  45. package/dist/browser/responses.d.ts +473 -0
  46. package/dist/browser/responses.d.ts.map +1 -0
  47. package/dist/browser/responses.js +4 -0
  48. package/dist/browser/responses.js.map +1 -0
  49. package/dist/browser/utils.d.ts +5 -0
  50. package/dist/browser/utils.d.ts.map +1 -0
  51. package/dist/browser/utils.js +33 -0
  52. package/dist/browser/utils.js.map +1 -0
  53. package/dist/commonjs/clientDefinitions.d.ts +175 -0
  54. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  55. package/dist/commonjs/clientDefinitions.js +5 -0
  56. package/dist/commonjs/clientDefinitions.js.map +1 -0
  57. package/dist/commonjs/documentIntelligence.d.ts +16 -0
  58. package/dist/commonjs/documentIntelligence.d.ts.map +1 -0
  59. package/dist/commonjs/documentIntelligence.js +47 -0
  60. package/dist/commonjs/documentIntelligence.js.map +1 -0
  61. package/dist/commonjs/index.d.ts +13 -0
  62. package/dist/commonjs/index.d.ts.map +1 -0
  63. package/dist/commonjs/index.js +18 -0
  64. package/dist/commonjs/index.js.map +1 -0
  65. package/dist/commonjs/isUnexpected.d.ts +36 -0
  66. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  67. package/dist/commonjs/isUnexpected.js +107 -0
  68. package/dist/commonjs/isUnexpected.js.map +1 -0
  69. package/dist/commonjs/logger.d.ts +2 -0
  70. package/dist/commonjs/logger.d.ts.map +1 -0
  71. package/dist/commonjs/logger.js +8 -0
  72. package/dist/commonjs/logger.js.map +1 -0
  73. package/dist/commonjs/models.d.ts +254 -0
  74. package/dist/commonjs/models.d.ts.map +1 -0
  75. package/dist/commonjs/models.js +5 -0
  76. package/dist/commonjs/models.js.map +1 -0
  77. package/dist/commonjs/outputModels.d.ts +914 -0
  78. package/dist/commonjs/outputModels.d.ts.map +1 -0
  79. package/dist/commonjs/outputModels.js +5 -0
  80. package/dist/commonjs/outputModels.js.map +1 -0
  81. package/dist/commonjs/package.json +3 -0
  82. package/dist/commonjs/paginateHelper.d.ts +68 -0
  83. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  84. package/dist/commonjs/paginateHelper.js +170 -0
  85. package/dist/commonjs/paginateHelper.js.map +1 -0
  86. package/dist/commonjs/parameters.d.ts +414 -0
  87. package/dist/commonjs/parameters.d.ts.map +1 -0
  88. package/dist/commonjs/parameters.js +5 -0
  89. package/dist/commonjs/parameters.js.map +1 -0
  90. package/dist/commonjs/pollingHelper.d.ts +40 -0
  91. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  92. package/dist/commonjs/pollingHelper.js +84 -0
  93. package/dist/commonjs/pollingHelper.js.map +1 -0
  94. package/dist/commonjs/responses.d.ts +473 -0
  95. package/dist/commonjs/responses.d.ts.map +1 -0
  96. package/dist/commonjs/responses.js +5 -0
  97. package/dist/commonjs/responses.js.map +1 -0
  98. package/dist/commonjs/tsdoc-metadata.json +11 -0
  99. package/dist/commonjs/utils.d.ts +5 -0
  100. package/dist/commonjs/utils.d.ts.map +1 -0
  101. package/dist/commonjs/utils.js +36 -0
  102. package/dist/commonjs/utils.js.map +1 -0
  103. package/dist/esm/clientDefinitions.d.ts +175 -0
  104. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  105. package/dist/esm/clientDefinitions.js +4 -0
  106. package/dist/esm/clientDefinitions.js.map +1 -0
  107. package/dist/esm/documentIntelligence.d.ts +16 -0
  108. package/dist/esm/documentIntelligence.d.ts.map +1 -0
  109. package/dist/esm/documentIntelligence.js +44 -0
  110. package/dist/esm/documentIntelligence.js.map +1 -0
  111. package/dist/esm/index.d.ts +13 -0
  112. package/dist/esm/index.d.ts.map +1 -0
  113. package/dist/esm/index.js +15 -0
  114. package/dist/esm/index.js.map +1 -0
  115. package/dist/esm/isUnexpected.d.ts +36 -0
  116. package/dist/esm/isUnexpected.d.ts.map +1 -0
  117. package/dist/esm/isUnexpected.js +104 -0
  118. package/dist/esm/isUnexpected.js.map +1 -0
  119. package/dist/esm/logger.d.ts +2 -0
  120. package/dist/esm/logger.d.ts.map +1 -0
  121. package/dist/esm/logger.js +5 -0
  122. package/dist/esm/logger.js.map +1 -0
  123. package/dist/esm/models.d.ts +254 -0
  124. package/dist/esm/models.d.ts.map +1 -0
  125. package/dist/esm/models.js +4 -0
  126. package/dist/esm/models.js.map +1 -0
  127. package/dist/esm/outputModels.d.ts +914 -0
  128. package/dist/esm/outputModels.d.ts.map +1 -0
  129. package/dist/esm/outputModels.js +4 -0
  130. package/dist/esm/outputModels.js.map +1 -0
  131. package/dist/esm/package.json +3 -0
  132. package/dist/esm/paginateHelper.d.ts +68 -0
  133. package/dist/esm/paginateHelper.d.ts.map +1 -0
  134. package/dist/esm/paginateHelper.js +167 -0
  135. package/dist/esm/paginateHelper.js.map +1 -0
  136. package/dist/esm/parameters.d.ts +414 -0
  137. package/dist/esm/parameters.d.ts.map +1 -0
  138. package/dist/esm/parameters.js +4 -0
  139. package/dist/esm/parameters.js.map +1 -0
  140. package/dist/esm/pollingHelper.d.ts +40 -0
  141. package/dist/esm/pollingHelper.d.ts.map +1 -0
  142. package/dist/esm/pollingHelper.js +80 -0
  143. package/dist/esm/pollingHelper.js.map +1 -0
  144. package/dist/esm/responses.d.ts +473 -0
  145. package/dist/esm/responses.d.ts.map +1 -0
  146. package/dist/esm/responses.js +4 -0
  147. package/dist/esm/responses.js.map +1 -0
  148. package/dist/esm/utils.d.ts +5 -0
  149. package/dist/esm/utils.d.ts.map +1 -0
  150. package/dist/esm/utils.js +33 -0
  151. package/dist/esm/utils.js.map +1 -0
  152. package/dist/react-native/clientDefinitions.d.ts +175 -0
  153. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  154. package/dist/react-native/clientDefinitions.js +4 -0
  155. package/dist/react-native/clientDefinitions.js.map +1 -0
  156. package/dist/react-native/documentIntelligence.d.ts +16 -0
  157. package/dist/react-native/documentIntelligence.d.ts.map +1 -0
  158. package/dist/react-native/documentIntelligence.js +44 -0
  159. package/dist/react-native/documentIntelligence.js.map +1 -0
  160. package/dist/react-native/index.d.ts +13 -0
  161. package/dist/react-native/index.d.ts.map +1 -0
  162. package/dist/react-native/index.js +15 -0
  163. package/dist/react-native/index.js.map +1 -0
  164. package/dist/react-native/isUnexpected.d.ts +36 -0
  165. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  166. package/dist/react-native/isUnexpected.js +104 -0
  167. package/dist/react-native/isUnexpected.js.map +1 -0
  168. package/dist/react-native/logger.d.ts +2 -0
  169. package/dist/react-native/logger.d.ts.map +1 -0
  170. package/dist/react-native/logger.js +5 -0
  171. package/dist/react-native/logger.js.map +1 -0
  172. package/dist/react-native/models.d.ts +254 -0
  173. package/dist/react-native/models.d.ts.map +1 -0
  174. package/dist/react-native/models.js +4 -0
  175. package/dist/react-native/models.js.map +1 -0
  176. package/dist/react-native/outputModels.d.ts +914 -0
  177. package/dist/react-native/outputModels.d.ts.map +1 -0
  178. package/dist/react-native/outputModels.js +4 -0
  179. package/dist/react-native/outputModels.js.map +1 -0
  180. package/dist/react-native/package.json +3 -0
  181. package/dist/react-native/paginateHelper.d.ts +68 -0
  182. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  183. package/dist/react-native/paginateHelper.js +167 -0
  184. package/dist/react-native/paginateHelper.js.map +1 -0
  185. package/dist/react-native/parameters.d.ts +414 -0
  186. package/dist/react-native/parameters.d.ts.map +1 -0
  187. package/dist/react-native/parameters.js +4 -0
  188. package/dist/react-native/parameters.js.map +1 -0
  189. package/dist/react-native/pollingHelper.d.ts +40 -0
  190. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  191. package/dist/react-native/pollingHelper.js +80 -0
  192. package/dist/react-native/pollingHelper.js.map +1 -0
  193. package/dist/react-native/responses.d.ts +473 -0
  194. package/dist/react-native/responses.d.ts.map +1 -0
  195. package/dist/react-native/responses.js +4 -0
  196. package/dist/react-native/responses.js.map +1 -0
  197. package/dist/react-native/utils.d.ts +5 -0
  198. package/dist/react-native/utils.d.ts.map +1 -0
  199. package/dist/react-native/utils.js +33 -0
  200. package/dist/react-native/utils.js.map +1 -0
  201. package/package.json +108 -92
  202. package/review/ai-document-intelligence.api.md +866 -225
  203. package/dist/index.js +0 -252
  204. package/dist/index.js.map +0 -1
  205. package/dist-esm/src/clientDefinitions.js +0 -4
  206. package/dist-esm/src/clientDefinitions.js.map +0 -1
  207. package/dist-esm/src/documentIntelligence.js +0 -30
  208. package/dist-esm/src/documentIntelligence.js.map +0 -1
  209. package/dist-esm/src/index.js +0 -14
  210. package/dist-esm/src/index.js.map +0 -1
  211. package/dist-esm/src/isUnexpected.js.map +0 -1
  212. package/dist-esm/src/models.js +0 -4
  213. package/dist-esm/src/models.js.map +0 -1
  214. package/dist-esm/src/outputModels.js +0 -4
  215. package/dist-esm/src/outputModels.js.map +0 -1
  216. package/dist-esm/src/paginateHelper.js +0 -70
  217. package/dist-esm/src/paginateHelper.js.map +0 -1
  218. package/dist-esm/src/parameters.js +0 -4
  219. package/dist-esm/src/parameters.js.map +0 -1
  220. package/dist-esm/src/pollingHelper.js +0 -43
  221. package/dist-esm/src/pollingHelper.js.map +0 -1
  222. package/dist-esm/src/responses.js +0 -4
  223. package/dist-esm/src/responses.js.map +0 -1
  224. package/types/ai-document-intelligence.d.ts +0 -2003
@@ -4,23 +4,18 @@
4
4
 
5
5
  ```ts
6
6
 
7
- /// <reference types="node" />
8
-
9
- import { Client } from '@azure-rest/core-client';
10
- import { ClientOptions } from '@azure-rest/core-client';
11
- import { CreateHttpPollerOptions } from '@azure/core-lro';
12
- import { HttpResponse } from '@azure-rest/core-client';
13
- import { KeyCredential } from '@azure/core-auth';
14
- import { OperationState } from '@azure/core-lro';
15
- import { Paged } from '@azure/core-paging';
16
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
17
- import { PathUncheckedResponse } from '@azure-rest/core-client';
18
- import { RawHttpHeaders } from '@azure/core-rest-pipeline';
19
- import { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
20
- import { RequestParameters } from '@azure-rest/core-client';
21
- import { SimplePollerLike } from '@azure/core-lro';
22
- import { StreamableMethod } from '@azure-rest/core-client';
23
- import { TokenCredential } from '@azure/core-auth';
7
+ import type { Client } from '@azure-rest/core-client';
8
+ import type { ClientOptions } from '@azure-rest/core-client';
9
+ import type { HttpResponse } from '@azure-rest/core-client';
10
+ import type { KeyCredential } from '@azure/core-auth';
11
+ import type { OperationState } from '@azure/core-lro';
12
+ import type { PathUncheckedResponse } from '@azure-rest/core-client';
13
+ import type { PollerLike } from '@azure/core-lro';
14
+ import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
15
+ import type { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
16
+ import type { RequestParameters } from '@azure-rest/core-client';
17
+ import type { StreamableMethod } from '@azure-rest/core-client';
18
+ import type { TokenCredential } from '@azure/core-auth';
24
19
 
25
20
  // @public
26
21
  export interface AddressValueOutput {
@@ -40,6 +35,136 @@ export interface AddressValueOutput {
40
35
  unit?: string;
41
36
  }
42
37
 
38
+ // @public (undocumented)
39
+ export interface AnalyzeBatchDocuments {
40
+ post(options: AnalyzeBatchDocumentsParameters): StreamableMethod<AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse>;
41
+ }
42
+
43
+ // @public (undocumented)
44
+ export interface AnalyzeBatchDocuments202Headers {
45
+ // (undocumented)
46
+ "operation-location": string;
47
+ "retry-after"?: number;
48
+ }
49
+
50
+ // @public
51
+ export interface AnalyzeBatchDocuments202Response extends HttpResponse {
52
+ // (undocumented)
53
+ headers: RawHttpHeaders & AnalyzeBatchDocuments202Headers;
54
+ // (undocumented)
55
+ status: "202";
56
+ }
57
+
58
+ // @public (undocumented)
59
+ export interface AnalyzeBatchDocumentsBodyParam {
60
+ body: AnalyzeBatchDocumentsRequest;
61
+ }
62
+
63
+ // @public (undocumented)
64
+ export interface AnalyzeBatchDocumentsDefaultResponse extends HttpResponse {
65
+ // (undocumented)
66
+ body: DocumentIntelligenceErrorResponseOutput;
67
+ // (undocumented)
68
+ status: string;
69
+ }
70
+
71
+ // @public
72
+ export interface AnalyzeBatchDocumentsFeaturesQueryParam {
73
+ explode: false;
74
+ style: "form";
75
+ value: DocumentAnalysisFeature[];
76
+ }
77
+
78
+ // @public
79
+ export interface AnalyzeBatchDocumentsLogicalResponse extends HttpResponse {
80
+ // (undocumented)
81
+ status: "200";
82
+ }
83
+
84
+ // @public (undocumented)
85
+ export interface AnalyzeBatchDocumentsMediaTypesParam {
86
+ contentType: "application/json";
87
+ }
88
+
89
+ // @public
90
+ export interface AnalyzeBatchDocumentsOutputQueryParam {
91
+ explode: false;
92
+ style: "form";
93
+ value: AnalyzeOutputOption[];
94
+ }
95
+
96
+ // @public (undocumented)
97
+ export type AnalyzeBatchDocumentsParameters = AnalyzeBatchDocumentsQueryParam & AnalyzeBatchDocumentsMediaTypesParam & AnalyzeBatchDocumentsBodyParam & RequestParameters;
98
+
99
+ // @public
100
+ export interface AnalyzeBatchDocumentsQueryFieldsQueryParam {
101
+ explode: false;
102
+ style: "form";
103
+ value: string[];
104
+ }
105
+
106
+ // @public (undocumented)
107
+ export interface AnalyzeBatchDocumentsQueryParam {
108
+ // (undocumented)
109
+ queryParameters?: AnalyzeBatchDocumentsQueryParamProperties;
110
+ }
111
+
112
+ // @public (undocumented)
113
+ export interface AnalyzeBatchDocumentsQueryParamProperties {
114
+ features?: DocumentAnalysisFeature[] | AnalyzeBatchDocumentsFeaturesQueryParam;
115
+ locale?: string;
116
+ output?: AnalyzeOutputOption[] | AnalyzeBatchDocumentsOutputQueryParam;
117
+ outputContentFormat?: DocumentContentFormat;
118
+ pages?: string;
119
+ queryFields?: string[] | AnalyzeBatchDocumentsQueryFieldsQueryParam;
120
+ stringIndexType?: StringIndexType;
121
+ }
122
+
123
+ // @public
124
+ export interface AnalyzeBatchDocumentsRequest {
125
+ azureBlobFileListSource?: AzureBlobFileListContentSource;
126
+ azureBlobSource?: AzureBlobContentSource;
127
+ overwriteExisting?: boolean;
128
+ resultContainerUrl: string;
129
+ resultPrefix?: string;
130
+ }
131
+
132
+ // @public
133
+ export interface AnalyzeBatchOperationDetailOutput {
134
+ error?: DocumentIntelligenceErrorOutput;
135
+ resultUrl?: string;
136
+ sourceUrl: string;
137
+ status: DocumentIntelligenceOperationStatusOutput;
138
+ }
139
+
140
+ // @public
141
+ export interface AnalyzeBatchOperationOutput {
142
+ createdDateTime: string;
143
+ error?: DocumentIntelligenceErrorOutput;
144
+ lastUpdatedDateTime: string;
145
+ percentCompleted?: number;
146
+ result?: AnalyzeBatchResultOutput;
147
+ resultId?: string;
148
+ status: DocumentIntelligenceOperationStatusOutput;
149
+ }
150
+
151
+ // @public
152
+ export interface AnalyzeBatchResultOutput {
153
+ details?: Array<AnalyzeBatchOperationDetailOutput>;
154
+ failedCount: number;
155
+ skippedCount: number;
156
+ succeededCount: number;
157
+ }
158
+
159
+ // @public
160
+ export interface AnalyzedDocumentOutput {
161
+ boundingRegions?: Array<BoundingRegionOutput>;
162
+ confidence: number;
163
+ docType: string;
164
+ fields?: Record<string, DocumentFieldOutput>;
165
+ spans: Array<DocumentSpanOutput>;
166
+ }
167
+
43
168
  // @public (undocumented)
44
169
  export interface AnalyzeDocument202Headers {
45
170
  // (undocumented)
@@ -57,17 +182,24 @@ export interface AnalyzeDocument202Response extends HttpResponse {
57
182
 
58
183
  // @public (undocumented)
59
184
  export interface AnalyzeDocumentBodyParam {
60
- body?: AnalyzeDocumentRequest;
185
+ body: AnalyzeDocumentRequest;
61
186
  }
62
187
 
63
188
  // @public (undocumented)
64
189
  export interface AnalyzeDocumentDefaultResponse extends HttpResponse {
65
190
  // (undocumented)
66
- body: ErrorResponseOutput;
191
+ body: DocumentIntelligenceErrorResponseOutput;
67
192
  // (undocumented)
68
193
  status: string;
69
194
  }
70
195
 
196
+ // @public
197
+ export interface AnalyzeDocumentFeaturesQueryParam {
198
+ explode: false;
199
+ style: "form";
200
+ value: DocumentAnalysisFeature[];
201
+ }
202
+
71
203
  // @public (undocumented)
72
204
  export interface AnalyzeDocumentFromStream {
73
205
  post(options: AnalyzeDocumentFromStreamParameters): StreamableMethod<AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse>;
@@ -97,11 +229,18 @@ export interface AnalyzeDocumentFromStreamBodyParam {
97
229
  // @public (undocumented)
98
230
  export interface AnalyzeDocumentFromStreamDefaultResponse extends HttpResponse {
99
231
  // (undocumented)
100
- body: ErrorResponseOutput;
232
+ body: DocumentIntelligenceErrorResponseOutput;
101
233
  // (undocumented)
102
234
  status: string;
103
235
  }
104
236
 
237
+ // @public
238
+ export interface AnalyzeDocumentFromStreamFeaturesQueryParam {
239
+ explode: false;
240
+ style: "form";
241
+ value: DocumentAnalysisFeature[];
242
+ }
243
+
105
244
  // @public
106
245
  export interface AnalyzeDocumentFromStreamLogicalResponse extends HttpResponse {
107
246
  // (undocumented)
@@ -113,9 +252,23 @@ export interface AnalyzeDocumentFromStreamMediaTypesParam {
113
252
  contentType: "application/octet-stream" | "application/pdf" | "image/jpeg" | "image/png" | "image/tiff" | "image/bmp" | "image/heif" | "text/html" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.openxmlformats-officedocument.presentationml.presentation";
114
253
  }
115
254
 
255
+ // @public
256
+ export interface AnalyzeDocumentFromStreamOutputQueryParam {
257
+ explode: false;
258
+ style: "form";
259
+ value: AnalyzeOutputOption[];
260
+ }
261
+
116
262
  // @public (undocumented)
117
263
  export type AnalyzeDocumentFromStreamParameters = AnalyzeDocumentFromStreamQueryParam & AnalyzeDocumentFromStreamMediaTypesParam & AnalyzeDocumentFromStreamBodyParam & RequestParameters;
118
264
 
265
+ // @public
266
+ export interface AnalyzeDocumentFromStreamQueryFieldsQueryParam {
267
+ explode: false;
268
+ style: "form";
269
+ value: string[];
270
+ }
271
+
119
272
  // @public (undocumented)
120
273
  export interface AnalyzeDocumentFromStreamQueryParam {
121
274
  // (undocumented)
@@ -124,12 +277,13 @@ export interface AnalyzeDocumentFromStreamQueryParam {
124
277
 
125
278
  // @public (undocumented)
126
279
  export interface AnalyzeDocumentFromStreamQueryParamProperties {
127
- features?: string[];
280
+ features?: DocumentAnalysisFeature[] | AnalyzeDocumentFromStreamFeaturesQueryParam;
128
281
  locale?: string;
129
- outputContentFormat?: string;
282
+ output?: AnalyzeOutputOption[] | AnalyzeDocumentFromStreamOutputQueryParam;
283
+ outputContentFormat?: DocumentContentFormat;
130
284
  pages?: string;
131
- queryFields?: string[];
132
- stringIndexType?: string;
285
+ queryFields?: string[] | AnalyzeDocumentFromStreamQueryFieldsQueryParam;
286
+ stringIndexType?: StringIndexType;
133
287
  }
134
288
 
135
289
  // @public
@@ -143,9 +297,23 @@ export interface AnalyzeDocumentMediaTypesParam {
143
297
  contentType: "application/json";
144
298
  }
145
299
 
300
+ // @public
301
+ export interface AnalyzeDocumentOutputQueryParam {
302
+ explode: false;
303
+ style: "form";
304
+ value: AnalyzeOutputOption[];
305
+ }
306
+
146
307
  // @public (undocumented)
147
308
  export type AnalyzeDocumentParameters = AnalyzeDocumentQueryParam & AnalyzeDocumentMediaTypesParam & AnalyzeDocumentBodyParam & RequestParameters;
148
309
 
310
+ // @public
311
+ export interface AnalyzeDocumentQueryFieldsQueryParam {
312
+ explode: false;
313
+ style: "form";
314
+ value: string[];
315
+ }
316
+
149
317
  // @public (undocumented)
150
318
  export interface AnalyzeDocumentQueryParam {
151
319
  // (undocumented)
@@ -154,12 +322,13 @@ export interface AnalyzeDocumentQueryParam {
154
322
 
155
323
  // @public (undocumented)
156
324
  export interface AnalyzeDocumentQueryParamProperties {
157
- features?: string[];
325
+ features?: DocumentAnalysisFeature[] | AnalyzeDocumentFeaturesQueryParam;
158
326
  locale?: string;
159
- outputContentFormat?: string;
327
+ output?: AnalyzeOutputOption[] | AnalyzeDocumentOutputQueryParam;
328
+ outputContentFormat?: DocumentContentFormat;
160
329
  pages?: string;
161
- queryFields?: string[];
162
- stringIndexType?: string;
330
+ queryFields?: string[] | AnalyzeDocumentQueryFieldsQueryParam;
331
+ stringIndexType?: StringIndexType;
163
332
  }
164
333
 
165
334
  // @public
@@ -169,31 +338,70 @@ export interface AnalyzeDocumentRequest {
169
338
  }
170
339
 
171
340
  // @public
172
- export interface AnalyzeResultOperationOutput {
341
+ export interface AnalyzeOperationOutput {
173
342
  analyzeResult?: AnalyzeResultOutput;
174
343
  createdDateTime: string;
175
- error?: ErrorModelOutput;
344
+ error?: DocumentIntelligenceErrorOutput;
176
345
  lastUpdatedDateTime: string;
177
- status: string;
346
+ status: DocumentIntelligenceOperationStatusOutput;
178
347
  }
179
348
 
349
+ // @public
350
+ export type AnalyzeOutputOption = string;
351
+
180
352
  // @public
181
353
  export interface AnalyzeResultOutput {
182
354
  apiVersion: string;
183
355
  content: string;
184
- contentFormat?: string;
185
- documents?: Array<DocumentOutput>;
356
+ contentFormat?: DocumentContentFormatOutput;
357
+ documents?: Array<AnalyzedDocumentOutput>;
186
358
  figures?: Array<DocumentFigureOutput>;
187
359
  keyValuePairs?: Array<DocumentKeyValuePairOutput>;
188
360
  languages?: Array<DocumentLanguageOutput>;
189
- lists?: Array<DocumentListOutput>;
190
361
  modelId: string;
191
362
  pages: Array<DocumentPageOutput>;
192
363
  paragraphs?: Array<DocumentParagraphOutput>;
193
364
  sections?: Array<DocumentSectionOutput>;
194
- stringIndexType: string;
365
+ stringIndexType: StringIndexTypeOutput;
195
366
  styles?: Array<DocumentStyleOutput>;
196
367
  tables?: Array<DocumentTableOutput>;
368
+ warnings?: Array<DocumentIntelligenceWarningOutput>;
369
+ }
370
+
371
+ // @public (undocumented)
372
+ export interface AuthorizeClassifierCopy {
373
+ post(options: AuthorizeClassifierCopyParameters): StreamableMethod<AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse>;
374
+ }
375
+
376
+ // @public
377
+ export interface AuthorizeClassifierCopy200Response extends HttpResponse {
378
+ // (undocumented)
379
+ body: ClassifierCopyAuthorizationOutput;
380
+ // (undocumented)
381
+ status: "200";
382
+ }
383
+
384
+ // @public (undocumented)
385
+ export interface AuthorizeClassifierCopyBodyParam {
386
+ body: AuthorizeClassifierCopyRequest;
387
+ }
388
+
389
+ // @public (undocumented)
390
+ export interface AuthorizeClassifierCopyDefaultResponse extends HttpResponse {
391
+ // (undocumented)
392
+ body: DocumentIntelligenceErrorResponseOutput;
393
+ // (undocumented)
394
+ status: string;
395
+ }
396
+
397
+ // @public (undocumented)
398
+ export type AuthorizeClassifierCopyParameters = AuthorizeClassifierCopyBodyParam & RequestParameters;
399
+
400
+ // @public
401
+ export interface AuthorizeClassifierCopyRequest {
402
+ classifierId: string;
403
+ description?: string;
404
+ tags?: Record<string, string>;
197
405
  }
198
406
 
199
407
  // @public
@@ -211,7 +419,7 @@ export interface AuthorizeModelCopy {
211
419
  // @public
212
420
  export interface AuthorizeModelCopy200Response extends HttpResponse {
213
421
  // (undocumented)
214
- body: CopyAuthorizationOutput;
422
+ body: ModelCopyAuthorizationOutput;
215
423
  // (undocumented)
216
424
  status: "200";
217
425
  }
@@ -224,7 +432,7 @@ export interface AuthorizeModelCopyBodyParam {
224
432
  // @public (undocumented)
225
433
  export interface AuthorizeModelCopyDefaultResponse extends HttpResponse {
226
434
  // (undocumented)
227
- body: ErrorResponseOutput;
435
+ body: DocumentIntelligenceErrorResponseOutput;
228
436
  // (undocumented)
229
437
  status: string;
230
438
  }
@@ -290,7 +498,7 @@ export interface BuildClassifierBodyParam {
290
498
  // @public (undocumented)
291
499
  export interface BuildClassifierDefaultResponse extends HttpResponse {
292
500
  // (undocumented)
293
- body: ErrorResponseOutput;
501
+ body: DocumentIntelligenceErrorResponseOutput;
294
502
  // (undocumented)
295
503
  status: string;
296
504
  }
@@ -306,6 +514,7 @@ export type BuildClassifierParameters = BuildClassifierBodyParam & RequestParame
306
514
 
307
515
  // @public
308
516
  export interface BuildDocumentClassifierRequest {
517
+ allowOverwrite?: boolean;
309
518
  baseClassifierId?: string;
310
519
  classifierId: string;
311
520
  description?: string;
@@ -314,10 +523,12 @@ export interface BuildDocumentClassifierRequest {
314
523
 
315
524
  // @public
316
525
  export interface BuildDocumentModelRequest {
526
+ allowOverwrite?: boolean;
317
527
  azureBlobFileListSource?: AzureBlobFileListContentSource;
318
528
  azureBlobSource?: AzureBlobContentSource;
319
- buildMode: string;
529
+ buildMode: DocumentBuildMode;
320
530
  description?: string;
531
+ maxTrainingHours?: number;
321
532
  modelId: string;
322
533
  tags?: Record<string, string>;
323
534
  }
@@ -350,7 +561,7 @@ export interface BuildModelBodyParam {
350
561
  // @public (undocumented)
351
562
  export interface BuildModelDefaultResponse extends HttpResponse {
352
563
  // (undocumented)
353
- body: ErrorResponseOutput;
564
+ body: DocumentIntelligenceErrorResponseOutput;
354
565
  // (undocumented)
355
566
  status: string;
356
567
  }
@@ -364,18 +575,38 @@ export interface BuildModelLogicalResponse extends HttpResponse {
364
575
  // @public (undocumented)
365
576
  export type BuildModelParameters = BuildModelBodyParam & RequestParameters;
366
577
 
578
+ // @public
579
+ export interface ClassifierCopyAuthorization {
580
+ accessToken: string;
581
+ expirationDateTime: Date | string;
582
+ targetClassifierId: string;
583
+ targetClassifierLocation: string;
584
+ targetResourceId: string;
585
+ targetResourceRegion: string;
586
+ }
587
+
588
+ // @public
589
+ export interface ClassifierCopyAuthorizationOutput {
590
+ accessToken: string;
591
+ expirationDateTime: string;
592
+ targetClassifierId: string;
593
+ targetClassifierLocation: string;
594
+ targetResourceId: string;
595
+ targetResourceRegion: string;
596
+ }
597
+
367
598
  // @public
368
599
  export interface ClassifierDocumentTypeDetails {
369
600
  azureBlobFileListSource?: AzureBlobFileListContentSource;
370
601
  azureBlobSource?: AzureBlobContentSource;
371
- sourceKind?: string;
602
+ sourceKind?: ContentSourceKind;
372
603
  }
373
604
 
374
605
  // @public
375
606
  export interface ClassifierDocumentTypeDetailsOutput {
376
607
  azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
377
608
  azureBlobSource?: AzureBlobContentSourceOutput;
378
- sourceKind?: string;
609
+ sourceKind?: ContentSourceKindOutput;
379
610
  }
380
611
 
381
612
  // @public (undocumented)
@@ -401,7 +632,7 @@ export interface ClassifyDocumentBodyParam {
401
632
  // @public (undocumented)
402
633
  export interface ClassifyDocumentDefaultResponse extends HttpResponse {
403
634
  // (undocumented)
404
- body: ErrorResponseOutput;
635
+ body: DocumentIntelligenceErrorResponseOutput;
405
636
  // (undocumented)
406
637
  status: string;
407
638
  }
@@ -435,7 +666,7 @@ export interface ClassifyDocumentFromStreamBodyParam {
435
666
  // @public (undocumented)
436
667
  export interface ClassifyDocumentFromStreamDefaultResponse extends HttpResponse {
437
668
  // (undocumented)
438
- body: ErrorResponseOutput;
669
+ body: DocumentIntelligenceErrorResponseOutput;
439
670
  // (undocumented)
440
671
  status: string;
441
672
  }
@@ -462,8 +693,9 @@ export interface ClassifyDocumentFromStreamQueryParam {
462
693
 
463
694
  // @public (undocumented)
464
695
  export interface ClassifyDocumentFromStreamQueryParamProperties {
465
- split?: string;
466
- stringIndexType?: string;
696
+ pages?: string;
697
+ split?: SplitMode;
698
+ stringIndexType?: StringIndexType;
467
699
  }
468
700
 
469
701
  // @public
@@ -488,8 +720,9 @@ export interface ClassifyDocumentQueryParam {
488
720
 
489
721
  // @public (undocumented)
490
722
  export interface ClassifyDocumentQueryParamProperties {
491
- split?: string;
492
- stringIndexType?: string;
723
+ pages?: string;
724
+ split?: SplitMode;
725
+ stringIndexType?: StringIndexType;
493
726
  }
494
727
 
495
728
  // @public
@@ -498,20 +731,13 @@ export interface ClassifyDocumentRequest {
498
731
  urlSource?: string;
499
732
  }
500
733
 
501
- // @public
502
- export interface ClientRequestIdHeaderOutput {
503
- }
504
-
505
- // @public
506
- export interface ComponentDocumentModelDetails {
507
- modelId: string;
508
- }
509
-
510
734
  // @public
511
735
  export interface ComposeDocumentModelRequest {
512
- componentModels: Array<ComponentDocumentModelDetails>;
736
+ classifierId: string;
513
737
  description?: string;
738
+ docTypes: Record<string, DocumentTypeDetails>;
514
739
  modelId: string;
740
+ split?: SplitMode;
515
741
  tags?: Record<string, string>;
516
742
  }
517
743
 
@@ -543,7 +769,7 @@ export interface ComposeModelBodyParam {
543
769
  // @public (undocumented)
544
770
  export interface ComposeModelDefaultResponse extends HttpResponse {
545
771
  // (undocumented)
546
- body: ErrorResponseOutput;
772
+ body: DocumentIntelligenceErrorResponseOutput;
547
773
  // (undocumented)
548
774
  status: string;
549
775
  }
@@ -558,25 +784,53 @@ export interface ComposeModelLogicalResponse extends HttpResponse {
558
784
  export type ComposeModelParameters = ComposeModelBodyParam & RequestParameters;
559
785
 
560
786
  // @public
561
- export interface CopyAuthorization {
562
- accessToken: string;
563
- expirationDateTime: Date | string;
564
- targetModelId: string;
565
- targetModelLocation: string;
566
- targetResourceId: string;
567
- targetResourceRegion: string;
787
+ export type ContentSourceKind = string;
788
+
789
+ // @public
790
+ export type ContentSourceKindOutput = string;
791
+
792
+ // @public (undocumented)
793
+ export interface CopyClassifierTo {
794
+ post(options: CopyClassifierToParameters): StreamableMethod<CopyClassifierTo202Response | CopyClassifierToDefaultResponse>;
795
+ }
796
+
797
+ // @public (undocumented)
798
+ export interface CopyClassifierTo202Headers {
799
+ // (undocumented)
800
+ "operation-location": string;
801
+ "retry-after"?: number;
568
802
  }
569
803
 
570
804
  // @public
571
- export interface CopyAuthorizationOutput {
572
- accessToken: string;
573
- expirationDateTime: string;
574
- targetModelId: string;
575
- targetModelLocation: string;
576
- targetResourceId: string;
577
- targetResourceRegion: string;
805
+ export interface CopyClassifierTo202Response extends HttpResponse {
806
+ // (undocumented)
807
+ headers: RawHttpHeaders & CopyClassifierTo202Headers;
808
+ // (undocumented)
809
+ status: "202";
810
+ }
811
+
812
+ // @public (undocumented)
813
+ export interface CopyClassifierToBodyParam {
814
+ body: ClassifierCopyAuthorization;
815
+ }
816
+
817
+ // @public (undocumented)
818
+ export interface CopyClassifierToDefaultResponse extends HttpResponse {
819
+ // (undocumented)
820
+ body: DocumentIntelligenceErrorResponseOutput;
821
+ // (undocumented)
822
+ status: string;
823
+ }
824
+
825
+ // @public
826
+ export interface CopyClassifierToLogicalResponse extends HttpResponse {
827
+ // (undocumented)
828
+ status: "200";
578
829
  }
579
830
 
831
+ // @public (undocumented)
832
+ export type CopyClassifierToParameters = CopyClassifierToBodyParam & RequestParameters;
833
+
580
834
  // @public (undocumented)
581
835
  export interface CopyModelTo {
582
836
  post(options: CopyModelToParameters): StreamableMethod<CopyModelTo202Response | CopyModelToDefaultResponse>;
@@ -599,13 +853,13 @@ export interface CopyModelTo202Response extends HttpResponse {
599
853
 
600
854
  // @public (undocumented)
601
855
  export interface CopyModelToBodyParam {
602
- body: CopyAuthorization;
856
+ body: ModelCopyAuthorization;
603
857
  }
604
858
 
605
859
  // @public (undocumented)
606
860
  export interface CopyModelToDefaultResponse extends HttpResponse {
607
861
  // (undocumented)
608
- body: ErrorResponseOutput;
862
+ body: DocumentIntelligenceErrorResponseOutput;
609
863
  // (undocumented)
610
864
  status: string;
611
865
  }
@@ -620,7 +874,7 @@ export interface CopyModelToLogicalResponse extends HttpResponse {
620
874
  export type CopyModelToParameters = CopyModelToBodyParam & RequestParameters;
621
875
 
622
876
  // @public
623
- function createClient(endpoint: string, credentials: TokenCredential | KeyCredential, options?: ClientOptions): DocumentIntelligenceClient;
877
+ function createClient(endpointParam: string, credentials: TokenCredential | KeyCredential, { apiVersion, ...options }?: DocumentIntelligenceClientOptions): DocumentIntelligenceClient;
624
878
  export default createClient;
625
879
 
626
880
  // @public
@@ -636,6 +890,40 @@ export interface CustomDocumentModelsDetailsOutput {
636
890
  limit: number;
637
891
  }
638
892
 
893
+ // @public
894
+ export interface DeleteAnalyzeBatchResult204Response extends HttpResponse {
895
+ // (undocumented)
896
+ status: "204";
897
+ }
898
+
899
+ // @public (undocumented)
900
+ export interface DeleteAnalyzeBatchResultDefaultResponse extends HttpResponse {
901
+ // (undocumented)
902
+ body: DocumentIntelligenceErrorResponseOutput;
903
+ // (undocumented)
904
+ status: string;
905
+ }
906
+
907
+ // @public (undocumented)
908
+ export type DeleteAnalyzeBatchResultParameters = RequestParameters;
909
+
910
+ // @public
911
+ export interface DeleteAnalyzeResult204Response extends HttpResponse {
912
+ // (undocumented)
913
+ status: "204";
914
+ }
915
+
916
+ // @public (undocumented)
917
+ export interface DeleteAnalyzeResultDefaultResponse extends HttpResponse {
918
+ // (undocumented)
919
+ body: DocumentIntelligenceErrorResponseOutput;
920
+ // (undocumented)
921
+ status: string;
922
+ }
923
+
924
+ // @public (undocumented)
925
+ export type DeleteAnalyzeResultParameters = RequestParameters;
926
+
639
927
  // @public (undocumented)
640
928
  export interface DeleteClassifier204Headers {
641
929
  "x-ms-client-request-id"?: string;
@@ -652,7 +940,7 @@ export interface DeleteClassifier204Response extends HttpResponse {
652
940
  // @public (undocumented)
653
941
  export interface DeleteClassifierDefaultResponse extends HttpResponse {
654
942
  // (undocumented)
655
- body: ErrorResponseOutput;
943
+ body: DocumentIntelligenceErrorResponseOutput;
656
944
  // (undocumented)
657
945
  status: string;
658
946
  }
@@ -687,7 +975,7 @@ export interface DeleteModel204Response extends HttpResponse {
687
975
  // @public (undocumented)
688
976
  export interface DeleteModelDefaultResponse extends HttpResponse {
689
977
  // (undocumented)
690
- body: ErrorResponseOutput;
978
+ body: DocumentIntelligenceErrorResponseOutput;
691
979
  // (undocumented)
692
980
  status: string;
693
981
  }
@@ -706,15 +994,30 @@ export interface DeleteModelHeaders {
706
994
  // @public (undocumented)
707
995
  export type DeleteModelParameters = DeleteModelHeaderParam & RequestParameters;
708
996
 
997
+ // @public
998
+ export type DocumentAnalysisFeature = string;
999
+
1000
+ // @public
1001
+ export type DocumentAnalysisFeatureOutput = string;
1002
+
1003
+ // @public
1004
+ export type DocumentBarcodeKindOutput = string;
1005
+
709
1006
  // @public
710
1007
  export interface DocumentBarcodeOutput {
711
1008
  confidence: number;
712
- kind: string;
1009
+ kind: DocumentBarcodeKindOutput;
713
1010
  polygon?: number[];
714
1011
  span: DocumentSpanOutput;
715
1012
  value: string;
716
1013
  }
717
1014
 
1015
+ // @public
1016
+ export type DocumentBuildMode = string;
1017
+
1018
+ // @public
1019
+ export type DocumentBuildModeOutput = string;
1020
+
718
1021
  // @public
719
1022
  export interface DocumentCaptionOutput {
720
1023
  boundingRegions?: Array<BoundingRegionOutput>;
@@ -724,11 +1027,17 @@ export interface DocumentCaptionOutput {
724
1027
  }
725
1028
 
726
1029
  // @public
727
- export interface DocumentClassifierBuildOperationDetailsOutput extends OperationDetailsOutputParent {
1030
+ export interface DocumentClassifierBuildOperationDetailsOutput extends DocumentIntelligenceOperationDetailsOutputParent {
728
1031
  kind: "documentClassifierBuild";
729
1032
  result?: DocumentClassifierDetailsOutput;
730
1033
  }
731
1034
 
1035
+ // @public
1036
+ export interface DocumentClassifierCopyToOperationDetailsOutput extends DocumentIntelligenceOperationDetailsOutputParent {
1037
+ kind: "documentClassifierCopyTo";
1038
+ result?: DocumentClassifierDetailsOutput;
1039
+ }
1040
+
732
1041
  // @public
733
1042
  export interface DocumentClassifierDetailsOutput {
734
1043
  apiVersion: string;
@@ -738,16 +1047,23 @@ export interface DocumentClassifierDetailsOutput {
738
1047
  description?: string;
739
1048
  docTypes: Record<string, ClassifierDocumentTypeDetailsOutput>;
740
1049
  expirationDateTime?: string;
741
- warnings?: Array<WarningOutput>;
1050
+ readonly modifiedDateTime?: string;
1051
+ warnings?: Array<DocumentIntelligenceWarningOutput>;
742
1052
  }
743
1053
 
1054
+ // @public
1055
+ export type DocumentContentFormat = string;
1056
+
1057
+ // @public
1058
+ export type DocumentContentFormatOutput = string;
1059
+
744
1060
  // @public
745
1061
  export interface DocumentFieldOutput {
746
1062
  boundingRegions?: Array<BoundingRegionOutput>;
747
1063
  confidence?: number;
748
1064
  content?: string;
749
1065
  spans?: Array<DocumentSpanOutput>;
750
- type: string;
1066
+ type: DocumentFieldTypeOutput;
751
1067
  valueAddress?: AddressValueOutput;
752
1068
  valueArray?: Array<DocumentFieldOutput>;
753
1069
  valueBoolean?: boolean;
@@ -759,52 +1075,136 @@ export interface DocumentFieldOutput {
759
1075
  valueObject?: Record<string, DocumentFieldOutput>;
760
1076
  valuePhoneNumber?: string;
761
1077
  valueSelectionGroup?: string[];
762
- valueSelectionMark?: string;
763
- valueSignature?: string;
1078
+ valueSelectionMark?: DocumentSelectionMarkStateOutput;
1079
+ valueSignature?: DocumentSignatureTypeOutput;
764
1080
  valueString?: string;
765
1081
  valueTime?: string;
766
1082
  }
767
1083
 
1084
+ // @public
1085
+ export interface DocumentFieldSchema {
1086
+ description?: string;
1087
+ example?: string;
1088
+ items?: DocumentFieldSchema;
1089
+ properties?: Record<string, DocumentFieldSchema>;
1090
+ type: DocumentFieldType;
1091
+ }
1092
+
768
1093
  // @public
769
1094
  export interface DocumentFieldSchemaOutput {
770
1095
  description?: string;
771
1096
  example?: string;
772
1097
  items?: DocumentFieldSchemaOutput;
773
1098
  properties?: Record<string, DocumentFieldSchemaOutput>;
774
- type: string;
1099
+ type: DocumentFieldTypeOutput;
775
1100
  }
776
1101
 
1102
+ // @public
1103
+ export type DocumentFieldType = string;
1104
+
1105
+ // @public
1106
+ export type DocumentFieldTypeOutput = string;
1107
+
777
1108
  // @public
778
1109
  export interface DocumentFigureOutput {
779
1110
  boundingRegions?: Array<BoundingRegionOutput>;
780
1111
  caption?: DocumentCaptionOutput;
781
1112
  elements?: string[];
782
1113
  footnotes?: Array<DocumentFootnoteOutput>;
1114
+ id?: string;
1115
+ spans: Array<DocumentSpanOutput>;
1116
+ }
1117
+
1118
+ // @public
1119
+ export type DocumentFontStyleOutput = string;
1120
+
1121
+ // @public
1122
+ export type DocumentFontWeightOutput = string;
1123
+
1124
+ // @public
1125
+ export interface DocumentFootnoteOutput {
1126
+ boundingRegions?: Array<BoundingRegionOutput>;
1127
+ content: string;
1128
+ elements?: string[];
783
1129
  spans: Array<DocumentSpanOutput>;
784
1130
  }
785
1131
 
786
1132
  // @public
787
- export interface DocumentFootnoteOutput {
788
- boundingRegions?: Array<BoundingRegionOutput>;
789
- content: string;
790
- elements?: string[];
791
- spans: Array<DocumentSpanOutput>;
1133
+ export type DocumentFormulaKindOutput = string;
1134
+
1135
+ // @public
1136
+ export interface DocumentFormulaOutput {
1137
+ confidence: number;
1138
+ kind: DocumentFormulaKindOutput;
1139
+ polygon?: number[];
1140
+ span: DocumentSpanOutput;
1141
+ value: string;
1142
+ }
1143
+
1144
+ // @public (undocumented)
1145
+ export type DocumentIntelligenceClient = Client & {
1146
+ path: Routes;
1147
+ };
1148
+
1149
+ // @public
1150
+ export interface DocumentIntelligenceClientOptions extends ClientOptions {
1151
+ apiVersion?: string;
1152
+ }
1153
+
1154
+ // @public
1155
+ export interface DocumentIntelligenceErrorOutput {
1156
+ code: string;
1157
+ details?: Array<DocumentIntelligenceErrorOutput>;
1158
+ innererror?: DocumentIntelligenceInnerErrorOutput;
1159
+ message: string;
1160
+ target?: string;
1161
+ }
1162
+
1163
+ // @public
1164
+ export interface DocumentIntelligenceErrorResponseOutput {
1165
+ error: DocumentIntelligenceErrorOutput;
1166
+ }
1167
+
1168
+ // @public
1169
+ export interface DocumentIntelligenceInnerErrorOutput {
1170
+ code?: string;
1171
+ innererror?: DocumentIntelligenceInnerErrorOutput;
1172
+ message?: string;
1173
+ }
1174
+
1175
+ // @public
1176
+ export type DocumentIntelligenceOperationDetailsOutput = DocumentIntelligenceOperationDetailsOutputParent | DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
1177
+
1178
+ // @public
1179
+ export interface DocumentIntelligenceOperationDetailsOutputParent {
1180
+ apiVersion?: string;
1181
+ createdDateTime: string;
1182
+ error?: DocumentIntelligenceErrorOutput;
1183
+ // (undocumented)
1184
+ kind: OperationKindOutput;
1185
+ lastUpdatedDateTime: string;
1186
+ operationId: string;
1187
+ percentCompleted?: number;
1188
+ resourceLocation: string;
1189
+ status: DocumentIntelligenceOperationStatusOutput;
1190
+ tags?: Record<string, string>;
1191
+ }
1192
+
1193
+ // @public
1194
+ export type DocumentIntelligenceOperationStatusOutput = string;
1195
+
1196
+ // @public
1197
+ export interface DocumentIntelligenceResourceDetailsOutput {
1198
+ customDocumentModels: CustomDocumentModelsDetailsOutput;
792
1199
  }
793
1200
 
794
1201
  // @public
795
- export interface DocumentFormulaOutput {
796
- confidence: number;
797
- kind: string;
798
- polygon?: number[];
799
- span: DocumentSpanOutput;
800
- value: string;
1202
+ export interface DocumentIntelligenceWarningOutput {
1203
+ code: string;
1204
+ message: string;
1205
+ target?: string;
801
1206
  }
802
1207
 
803
- // @public (undocumented)
804
- export type DocumentIntelligenceClient = Client & {
805
- path: Routes;
806
- };
807
-
808
1208
  // @public
809
1209
  export interface DocumentKeyValueElementOutput {
810
1210
  boundingRegions?: Array<BoundingRegionOutput>;
@@ -834,60 +1234,40 @@ export interface DocumentLineOutput {
834
1234
  }
835
1235
 
836
1236
  // @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
- // @public
852
- export interface DocumentModelBuildOperationDetailsOutput extends OperationDetailsOutputParent {
1237
+ export interface DocumentModelBuildOperationDetailsOutput extends DocumentIntelligenceOperationDetailsOutputParent {
853
1238
  kind: "documentModelBuild";
854
1239
  result?: DocumentModelDetailsOutput;
855
1240
  }
856
1241
 
857
1242
  // @public
858
- export interface DocumentModelComposeOperationDetailsOutput extends OperationDetailsOutputParent {
1243
+ export interface DocumentModelComposeOperationDetailsOutput extends DocumentIntelligenceOperationDetailsOutputParent {
859
1244
  kind: "documentModelCompose";
860
1245
  result?: DocumentModelDetailsOutput;
861
1246
  }
862
1247
 
863
1248
  // @public
864
- export interface DocumentModelCopyToOperationDetailsOutput extends OperationDetailsOutputParent {
1249
+ export interface DocumentModelCopyToOperationDetailsOutput extends DocumentIntelligenceOperationDetailsOutputParent {
865
1250
  kind: "documentModelCopyTo";
866
1251
  result?: DocumentModelDetailsOutput;
867
1252
  }
868
1253
 
869
1254
  // @public
870
1255
  export interface DocumentModelDetailsOutput {
871
- apiVersion?: string;
872
- azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
873
- azureBlobSource?: AzureBlobContentSourceOutput;
874
- buildMode?: string;
875
- createdDateTime: string;
1256
+ readonly apiVersion?: string;
1257
+ readonly azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
1258
+ readonly azureBlobSource?: AzureBlobContentSourceOutput;
1259
+ readonly buildMode?: DocumentBuildModeOutput;
1260
+ classifierId?: string;
1261
+ readonly createdDateTime: string;
876
1262
  description?: string;
877
- docTypes?: Record<string, DocumentTypeDetailsOutput>;
878
- expirationDateTime?: string;
1263
+ readonly docTypes?: Record<string, DocumentTypeDetailsOutput>;
1264
+ readonly expirationDateTime?: string;
879
1265
  modelId: string;
1266
+ readonly modifiedDateTime?: string;
1267
+ split?: SplitModeOutput;
880
1268
  tags?: Record<string, string>;
881
- warnings?: Array<WarningOutput>;
882
- }
883
-
884
- // @public
885
- export interface DocumentOutput {
886
- boundingRegions?: Array<BoundingRegionOutput>;
887
- confidence: number;
888
- docType: string;
889
- fields?: Record<string, DocumentFieldOutput>;
890
- spans: Array<DocumentSpanOutput>;
1269
+ readonly trainingHours?: number;
1270
+ readonly warnings?: Array<DocumentIntelligenceWarningOutput>;
891
1271
  }
892
1272
 
893
1273
  // @public
@@ -900,7 +1280,7 @@ export interface DocumentPageOutput {
900
1280
  pageNumber: number;
901
1281
  selectionMarks?: Array<DocumentSelectionMarkOutput>;
902
1282
  spans: Array<DocumentSpanOutput>;
903
- unit?: string;
1283
+ unit?: LengthUnitOutput;
904
1284
  width?: number;
905
1285
  words?: Array<DocumentWordOutput>;
906
1286
  }
@@ -909,7 +1289,7 @@ export interface DocumentPageOutput {
909
1289
  export interface DocumentParagraphOutput {
910
1290
  boundingRegions?: Array<BoundingRegionOutput>;
911
1291
  content: string;
912
- role?: string;
1292
+ role?: ParagraphRoleOutput;
913
1293
  spans: Array<DocumentSpanOutput>;
914
1294
  }
915
1295
 
@@ -924,9 +1304,15 @@ export interface DocumentSelectionMarkOutput {
924
1304
  confidence: number;
925
1305
  polygon?: number[];
926
1306
  span: DocumentSpanOutput;
927
- state: string;
1307
+ state: DocumentSelectionMarkStateOutput;
928
1308
  }
929
1309
 
1310
+ // @public
1311
+ export type DocumentSelectionMarkStateOutput = string;
1312
+
1313
+ // @public
1314
+ export type DocumentSignatureTypeOutput = string;
1315
+
930
1316
  // @public
931
1317
  export interface DocumentSpanOutput {
932
1318
  length: number;
@@ -938,13 +1324,16 @@ export interface DocumentStyleOutput {
938
1324
  backgroundColor?: string;
939
1325
  color?: string;
940
1326
  confidence: number;
941
- fontStyle?: string;
942
- fontWeight?: string;
1327
+ fontStyle?: DocumentFontStyleOutput;
1328
+ fontWeight?: DocumentFontWeightOutput;
943
1329
  isHandwritten?: boolean;
944
1330
  similarFontFamily?: string;
945
1331
  spans: Array<DocumentSpanOutput>;
946
1332
  }
947
1333
 
1334
+ // @public
1335
+ export type DocumentTableCellKindOutput = string;
1336
+
948
1337
  // @public
949
1338
  export interface DocumentTableCellOutput {
950
1339
  boundingRegions?: Array<BoundingRegionOutput>;
@@ -952,7 +1341,7 @@ export interface DocumentTableCellOutput {
952
1341
  columnSpan?: number;
953
1342
  content: string;
954
1343
  elements?: string[];
955
- kind?: string;
1344
+ kind?: DocumentTableCellKindOutput;
956
1345
  rowIndex: number;
957
1346
  rowSpan?: number;
958
1347
  spans: Array<DocumentSpanOutput>;
@@ -969,12 +1358,30 @@ export interface DocumentTableOutput {
969
1358
  spans: Array<DocumentSpanOutput>;
970
1359
  }
971
1360
 
1361
+ // @public
1362
+ export interface DocumentTypeDetails {
1363
+ buildMode?: DocumentBuildMode;
1364
+ confidenceThreshold?: number;
1365
+ description?: string;
1366
+ features?: DocumentAnalysisFeature[];
1367
+ fieldConfidence?: Record<string, number>;
1368
+ fieldSchema?: Record<string, DocumentFieldSchema>;
1369
+ maxDocumentsToAnalyze?: number;
1370
+ modelId?: string;
1371
+ queryFields?: string[];
1372
+ }
1373
+
972
1374
  // @public
973
1375
  export interface DocumentTypeDetailsOutput {
974
- buildMode?: string;
1376
+ buildMode?: DocumentBuildModeOutput;
1377
+ confidenceThreshold?: number;
975
1378
  description?: string;
1379
+ features?: DocumentAnalysisFeatureOutput[];
976
1380
  fieldConfidence?: Record<string, number>;
977
- fieldSchema: Record<string, DocumentFieldSchemaOutput>;
1381
+ fieldSchema?: Record<string, DocumentFieldSchemaOutput>;
1382
+ maxDocumentsToAnalyze?: number;
1383
+ modelId?: string;
1384
+ queryFields?: string[];
978
1385
  }
979
1386
 
980
1387
  // @public
@@ -985,29 +1392,41 @@ export interface DocumentWordOutput {
985
1392
  span: DocumentSpanOutput;
986
1393
  }
987
1394
 
988
- // @public
989
- export interface ErrorModelOutput {
990
- code: string;
991
- details?: Array<ErrorModelOutput>;
992
- innererror?: InnerErrorOutput;
993
- message: string;
994
- target?: string;
1395
+ // @public (undocumented)
1396
+ export interface GetAnalyzeBatchResult {
1397
+ delete(options?: DeleteAnalyzeBatchResultParameters): StreamableMethod<DeleteAnalyzeBatchResult204Response | DeleteAnalyzeBatchResultDefaultResponse>;
1398
+ get(options?: GetAnalyzeBatchResultParameters): StreamableMethod<GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse>;
995
1399
  }
996
1400
 
997
1401
  // @public
998
- export interface ErrorResponseOutput {
999
- error: ErrorModelOutput;
1402
+ export interface GetAnalyzeBatchResult200Response extends HttpResponse {
1403
+ // (undocumented)
1404
+ body: AnalyzeBatchOperationOutput;
1405
+ // (undocumented)
1406
+ status: "200";
1407
+ }
1408
+
1409
+ // @public (undocumented)
1410
+ export interface GetAnalyzeBatchResultDefaultResponse extends HttpResponse {
1411
+ // (undocumented)
1412
+ body: DocumentIntelligenceErrorResponseOutput;
1413
+ // (undocumented)
1414
+ status: string;
1000
1415
  }
1001
1416
 
1417
+ // @public (undocumented)
1418
+ export type GetAnalyzeBatchResultParameters = RequestParameters;
1419
+
1002
1420
  // @public (undocumented)
1003
1421
  export interface GetAnalyzeResult {
1422
+ delete(options?: DeleteAnalyzeResultParameters): StreamableMethod<DeleteAnalyzeResult204Response | DeleteAnalyzeResultDefaultResponse>;
1004
1423
  get(options?: GetAnalyzeResultParameters): StreamableMethod<GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse>;
1005
1424
  }
1006
1425
 
1007
1426
  // @public
1008
1427
  export interface GetAnalyzeResult200Response extends HttpResponse {
1009
1428
  // (undocumented)
1010
- body: AnalyzeResultOperationOutput;
1429
+ body: AnalyzeOperationOutput;
1011
1430
  // (undocumented)
1012
1431
  status: "200";
1013
1432
  }
@@ -1015,14 +1434,74 @@ export interface GetAnalyzeResult200Response extends HttpResponse {
1015
1434
  // @public (undocumented)
1016
1435
  export interface GetAnalyzeResultDefaultResponse extends HttpResponse {
1017
1436
  // (undocumented)
1018
- body: ErrorResponseOutput;
1437
+ body: DocumentIntelligenceErrorResponseOutput;
1438
+ // (undocumented)
1439
+ status: string;
1440
+ }
1441
+
1442
+ // @public (undocumented)
1443
+ export interface GetAnalyzeResultFigure {
1444
+ get(options?: GetAnalyzeResultFigureParameters): StreamableMethod<GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse>;
1445
+ }
1446
+
1447
+ // @public (undocumented)
1448
+ export interface GetAnalyzeResultFigure200Headers {
1449
+ "content-type": "image/png";
1450
+ }
1451
+
1452
+ // @public
1453
+ export interface GetAnalyzeResultFigure200Response extends HttpResponse {
1454
+ body: Uint8Array;
1455
+ // (undocumented)
1456
+ headers: RawHttpHeaders & GetAnalyzeResultFigure200Headers;
1457
+ // (undocumented)
1458
+ status: "200";
1459
+ }
1460
+
1461
+ // @public (undocumented)
1462
+ export interface GetAnalyzeResultFigureDefaultResponse extends HttpResponse {
1463
+ // (undocumented)
1464
+ body: DocumentIntelligenceErrorResponseOutput;
1019
1465
  // (undocumented)
1020
1466
  status: string;
1021
1467
  }
1022
1468
 
1469
+ // @public (undocumented)
1470
+ export type GetAnalyzeResultFigureParameters = RequestParameters;
1471
+
1023
1472
  // @public (undocumented)
1024
1473
  export type GetAnalyzeResultParameters = RequestParameters;
1025
1474
 
1475
+ // @public (undocumented)
1476
+ export interface GetAnalyzeResultPdf {
1477
+ get(options?: GetAnalyzeResultPdfParameters): StreamableMethod<GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse>;
1478
+ }
1479
+
1480
+ // @public (undocumented)
1481
+ export interface GetAnalyzeResultPdf200Headers {
1482
+ "content-type": "application/pdf";
1483
+ }
1484
+
1485
+ // @public
1486
+ export interface GetAnalyzeResultPdf200Response extends HttpResponse {
1487
+ body: Uint8Array;
1488
+ // (undocumented)
1489
+ headers: RawHttpHeaders & GetAnalyzeResultPdf200Headers;
1490
+ // (undocumented)
1491
+ status: "200";
1492
+ }
1493
+
1494
+ // @public (undocumented)
1495
+ export interface GetAnalyzeResultPdfDefaultResponse extends HttpResponse {
1496
+ // (undocumented)
1497
+ body: DocumentIntelligenceErrorResponseOutput;
1498
+ // (undocumented)
1499
+ status: string;
1500
+ }
1501
+
1502
+ // @public (undocumented)
1503
+ export type GetAnalyzeResultPdfParameters = RequestParameters;
1504
+
1026
1505
  // @public
1027
1506
  export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
1028
1507
 
@@ -1050,7 +1529,7 @@ export interface GetClassifier200Response extends HttpResponse {
1050
1529
  // @public (undocumented)
1051
1530
  export interface GetClassifierDefaultResponse extends HttpResponse {
1052
1531
  // (undocumented)
1053
- body: ErrorResponseOutput;
1532
+ body: DocumentIntelligenceErrorResponseOutput;
1054
1533
  // (undocumented)
1055
1534
  status: string;
1056
1535
  }
@@ -1077,7 +1556,7 @@ export interface GetClassifyResult {
1077
1556
  // @public
1078
1557
  export interface GetClassifyResult200Response extends HttpResponse {
1079
1558
  // (undocumented)
1080
- body: AnalyzeResultOperationOutput;
1559
+ body: AnalyzeOperationOutput;
1081
1560
  // (undocumented)
1082
1561
  status: "200";
1083
1562
  }
@@ -1085,7 +1564,7 @@ export interface GetClassifyResult200Response extends HttpResponse {
1085
1564
  // @public (undocumented)
1086
1565
  export interface GetClassifyResultDefaultResponse extends HttpResponse {
1087
1566
  // (undocumented)
1088
- body: ErrorResponseOutput;
1567
+ body: DocumentIntelligenceErrorResponseOutput;
1089
1568
  // (undocumented)
1090
1569
  status: string;
1091
1570
  }
@@ -1111,7 +1590,7 @@ export interface GetDocumentClassifierBuildOperation200Response extends HttpResp
1111
1590
  // @public (undocumented)
1112
1591
  export interface GetDocumentClassifierBuildOperationDefaultResponse extends HttpResponse {
1113
1592
  // (undocumented)
1114
- body: ErrorResponseOutput;
1593
+ body: DocumentIntelligenceErrorResponseOutput;
1115
1594
  // (undocumented)
1116
1595
  status: string;
1117
1596
  }
@@ -1130,11 +1609,49 @@ export interface GetDocumentClassifierBuildOperationHeaders {
1130
1609
  // @public (undocumented)
1131
1610
  export type GetDocumentClassifierBuildOperationParameters = GetDocumentClassifierBuildOperationHeaderParam & RequestParameters;
1132
1611
 
1612
+ // @public (undocumented)
1613
+ export interface GetDocumentClassifierCopyToOperation200Headers {
1614
+ "x-ms-client-request-id"?: string;
1615
+ }
1616
+
1617
+ // @public
1618
+ export interface GetDocumentClassifierCopyToOperation200Response extends HttpResponse {
1619
+ // (undocumented)
1620
+ body: DocumentClassifierCopyToOperationDetailsOutput;
1621
+ // (undocumented)
1622
+ headers: RawHttpHeaders & GetDocumentClassifierCopyToOperation200Headers;
1623
+ // (undocumented)
1624
+ status: "200";
1625
+ }
1626
+
1627
+ // @public (undocumented)
1628
+ export interface GetDocumentClassifierCopyToOperationDefaultResponse extends HttpResponse {
1629
+ // (undocumented)
1630
+ body: DocumentIntelligenceErrorResponseOutput;
1631
+ // (undocumented)
1632
+ status: string;
1633
+ }
1634
+
1635
+ // @public (undocumented)
1636
+ export interface GetDocumentClassifierCopyToOperationHeaderParam {
1637
+ // (undocumented)
1638
+ headers?: RawHttpHeadersInput & GetDocumentClassifierCopyToOperationHeaders;
1639
+ }
1640
+
1641
+ // @public (undocumented)
1642
+ export interface GetDocumentClassifierCopyToOperationHeaders {
1643
+ "x-ms-client-request-id"?: string;
1644
+ }
1645
+
1646
+ // @public (undocumented)
1647
+ export type GetDocumentClassifierCopyToOperationParameters = GetDocumentClassifierCopyToOperationHeaderParam & RequestParameters;
1648
+
1133
1649
  // @public (undocumented)
1134
1650
  export interface GetDocumentModelBuildOperation {
1135
1651
  get(options?: GetDocumentModelBuildOperationParameters): StreamableMethod<GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse>;
1136
1652
  get(options?: GetDocumentModelComposeOperationParameters): StreamableMethod<GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse>;
1137
1653
  get(options?: GetDocumentModelCopyToOperationParameters): StreamableMethod<GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse>;
1654
+ get(options?: GetDocumentClassifierCopyToOperationParameters): StreamableMethod<GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse>;
1138
1655
  get(options?: GetDocumentClassifierBuildOperationParameters): StreamableMethod<GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse>;
1139
1656
  get(options?: GetOperationParameters): StreamableMethod<GetOperation200Response | GetOperationDefaultResponse>;
1140
1657
  }
@@ -1157,7 +1674,7 @@ export interface GetDocumentModelBuildOperation200Response extends HttpResponse
1157
1674
  // @public (undocumented)
1158
1675
  export interface GetDocumentModelBuildOperationDefaultResponse extends HttpResponse {
1159
1676
  // (undocumented)
1160
- body: ErrorResponseOutput;
1677
+ body: DocumentIntelligenceErrorResponseOutput;
1161
1678
  // (undocumented)
1162
1679
  status: string;
1163
1680
  }
@@ -1194,7 +1711,7 @@ export interface GetDocumentModelComposeOperation200Response extends HttpRespons
1194
1711
  // @public (undocumented)
1195
1712
  export interface GetDocumentModelComposeOperationDefaultResponse extends HttpResponse {
1196
1713
  // (undocumented)
1197
- body: ErrorResponseOutput;
1714
+ body: DocumentIntelligenceErrorResponseOutput;
1198
1715
  // (undocumented)
1199
1716
  status: string;
1200
1717
  }
@@ -1231,7 +1748,7 @@ export interface GetDocumentModelCopyToOperation200Response extends HttpResponse
1231
1748
  // @public (undocumented)
1232
1749
  export interface GetDocumentModelCopyToOperationDefaultResponse extends HttpResponse {
1233
1750
  // (undocumented)
1234
- body: ErrorResponseOutput;
1751
+ body: DocumentIntelligenceErrorResponseOutput;
1235
1752
  // (undocumented)
1236
1753
  status: string;
1237
1754
  }
@@ -1251,22 +1768,34 @@ export interface GetDocumentModelCopyToOperationHeaders {
1251
1768
  export type GetDocumentModelCopyToOperationParameters = GetDocumentModelCopyToOperationHeaderParam & RequestParameters;
1252
1769
 
1253
1770
  // @public
1254
- export function getLongRunningPoller<TResult extends BuildModelLogicalResponse | BuildModelDefaultResponse>(client: Client, initialResponse: BuildModel202Response | BuildModelDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
1771
+ export function getLongRunningPoller<TResult extends AnalyzeBatchDocumentsLogicalResponse | AnalyzeBatchDocumentsDefaultResponse>(client: Client, initialResponse: AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse, options?: GetLongRunningPollerOptions): PollerLike<OperationState<TResult>, TResult>;
1772
+
1773
+ // @public (undocumented)
1774
+ export function getLongRunningPoller<TResult extends BuildModelLogicalResponse | BuildModelDefaultResponse>(client: Client, initialResponse: BuildModel202Response | BuildModelDefaultResponse, options?: GetLongRunningPollerOptions): PollerLike<OperationState<TResult>, TResult>;
1775
+
1776
+ // @public (undocumented)
1777
+ export function getLongRunningPoller<TResult extends ComposeModelLogicalResponse | ComposeModelDefaultResponse>(client: Client, initialResponse: ComposeModel202Response | ComposeModelDefaultResponse, options?: GetLongRunningPollerOptions): PollerLike<OperationState<TResult>, TResult>;
1255
1778
 
1256
1779
  // @public (undocumented)
1257
- export function getLongRunningPoller<TResult extends ComposeModelLogicalResponse | ComposeModelDefaultResponse>(client: Client, initialResponse: ComposeModel202Response | ComposeModelDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
1780
+ export function getLongRunningPoller<TResult extends CopyModelToLogicalResponse | CopyModelToDefaultResponse>(client: Client, initialResponse: CopyModelTo202Response | CopyModelToDefaultResponse, options?: GetLongRunningPollerOptions): PollerLike<OperationState<TResult>, TResult>;
1258
1781
 
1259
1782
  // @public (undocumented)
1260
- export function getLongRunningPoller<TResult extends CopyModelToLogicalResponse | CopyModelToDefaultResponse>(client: Client, initialResponse: CopyModelTo202Response | CopyModelToDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
1783
+ export function getLongRunningPoller<TResult extends BuildClassifierLogicalResponse | BuildClassifierDefaultResponse>(client: Client, initialResponse: BuildClassifier202Response | BuildClassifierDefaultResponse, options?: GetLongRunningPollerOptions): PollerLike<OperationState<TResult>, TResult>;
1261
1784
 
1262
1785
  // @public (undocumented)
1263
- export function getLongRunningPoller<TResult extends BuildClassifierLogicalResponse | BuildClassifierDefaultResponse>(client: Client, initialResponse: BuildClassifier202Response | BuildClassifierDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
1786
+ export function getLongRunningPoller<TResult extends CopyClassifierToLogicalResponse | CopyClassifierToDefaultResponse>(client: Client, initialResponse: CopyClassifierTo202Response | CopyClassifierToDefaultResponse, options?: GetLongRunningPollerOptions): PollerLike<OperationState<TResult>, TResult>;
1264
1787
 
1265
1788
  // @public (undocumented)
1266
- export function getLongRunningPoller<TResult extends AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse>(client: Client, initialResponse: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
1789
+ export function getLongRunningPoller<TResult extends AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse>(client: Client, initialResponse: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse, options?: GetLongRunningPollerOptions): PollerLike<OperationState<TResult>, TResult>;
1267
1790
 
1268
1791
  // @public (undocumented)
1269
- export function getLongRunningPoller<TResult extends ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentFromStreamDefaultResponse>(client: Client, initialResponse: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
1792
+ export function getLongRunningPoller<TResult extends ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentFromStreamDefaultResponse>(client: Client, initialResponse: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse, options?: GetLongRunningPollerOptions): PollerLike<OperationState<TResult>, TResult>;
1793
+
1794
+ // @public
1795
+ export interface GetLongRunningPollerOptions {
1796
+ intervalInMs?: number;
1797
+ restoreFrom?: string;
1798
+ }
1270
1799
 
1271
1800
  // @public (undocumented)
1272
1801
  export interface GetModel {
@@ -1292,7 +1821,7 @@ export interface GetModel200Response extends HttpResponse {
1292
1821
  // @public (undocumented)
1293
1822
  export interface GetModelDefaultResponse extends HttpResponse {
1294
1823
  // (undocumented)
1295
- body: ErrorResponseOutput;
1824
+ body: DocumentIntelligenceErrorResponseOutput;
1296
1825
  // (undocumented)
1297
1826
  status: string;
1298
1827
  }
@@ -1319,7 +1848,7 @@ export interface GetOperation200Headers {
1319
1848
  // @public
1320
1849
  export interface GetOperation200Response extends HttpResponse {
1321
1850
  // (undocumented)
1322
- body: OperationDetailsOutput;
1851
+ body: DocumentIntelligenceOperationDetailsOutput;
1323
1852
  // (undocumented)
1324
1853
  headers: RawHttpHeaders & GetOperation200Headers;
1325
1854
  // (undocumented)
@@ -1329,7 +1858,7 @@ export interface GetOperation200Response extends HttpResponse {
1329
1858
  // @public (undocumented)
1330
1859
  export interface GetOperationDefaultResponse extends HttpResponse {
1331
1860
  // (undocumented)
1332
- body: ErrorResponseOutput;
1861
+ body: DocumentIntelligenceErrorResponseOutput;
1333
1862
  // (undocumented)
1334
1863
  status: string;
1335
1864
  }
@@ -1349,56 +1878,88 @@ export interface GetOperationHeaders {
1349
1878
  export type GetOperationParameters = GetOperationHeaderParam & RequestParameters;
1350
1879
 
1351
1880
  // @public
1352
- export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
1881
+ export type GetPage<TPage> = (pageLink: string) => Promise<{
1353
1882
  page: TPage;
1354
1883
  nextPageLink?: string;
1355
1884
  }>;
1356
1885
 
1357
1886
  // @public (undocumented)
1358
- export interface GetResourceInfo {
1359
- get(options?: GetResourceInfoParameters): StreamableMethod<GetResourceInfo200Response | GetResourceInfoDefaultResponse>;
1887
+ export interface GetResourceDetails {
1888
+ get(options?: GetResourceDetailsParameters): StreamableMethod<GetResourceDetails200Response | GetResourceDetailsDefaultResponse>;
1360
1889
  }
1361
1890
 
1362
1891
  // @public
1363
- export interface GetResourceInfo200Response extends HttpResponse {
1892
+ export interface GetResourceDetails200Response extends HttpResponse {
1364
1893
  // (undocumented)
1365
- body: ResourceDetailsOutput;
1894
+ body: DocumentIntelligenceResourceDetailsOutput;
1366
1895
  // (undocumented)
1367
1896
  status: "200";
1368
1897
  }
1369
1898
 
1370
1899
  // @public (undocumented)
1371
- export interface GetResourceInfoDefaultResponse extends HttpResponse {
1900
+ export interface GetResourceDetailsDefaultResponse extends HttpResponse {
1372
1901
  // (undocumented)
1373
- body: ErrorResponseOutput;
1902
+ body: DocumentIntelligenceErrorResponseOutput;
1374
1903
  // (undocumented)
1375
1904
  status: string;
1376
1905
  }
1377
1906
 
1378
1907
  // @public (undocumented)
1379
- export type GetResourceInfoParameters = RequestParameters;
1380
-
1381
- // @public
1382
- export interface InnerErrorOutput {
1383
- code?: string;
1384
- innererror?: InnerErrorOutput;
1385
- message?: string;
1386
- }
1908
+ export type GetResourceDetailsParameters = RequestParameters;
1387
1909
 
1388
1910
  // @public (undocumented)
1389
1911
  export function isUnexpected(response: ListOperations200Response | ListOperationsDefaultResponse): response is ListOperationsDefaultResponse;
1390
1912
 
1391
1913
  // @public (undocumented)
1392
- export function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelComposeOperation200Response | GetDocumentModelCopyToOperation200Response | GetDocumentClassifierBuildOperation200Response | GetOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response is GetDocumentModelBuildOperationDefaultResponse;
1914
+ export function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response is GetDocumentModelBuildOperationDefaultResponse;
1915
+
1916
+ // @public (undocumented)
1917
+ export function isUnexpected(response: GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse): response is GetDocumentModelComposeOperationDefaultResponse;
1918
+
1919
+ // @public (undocumented)
1920
+ export function isUnexpected(response: GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse): response is GetDocumentModelCopyToOperationDefaultResponse;
1921
+
1922
+ // @public (undocumented)
1923
+ export function isUnexpected(response: GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse): response is GetDocumentClassifierCopyToOperationDefaultResponse;
1924
+
1925
+ // @public (undocumented)
1926
+ export function isUnexpected(response: GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse): response is GetDocumentClassifierBuildOperationDefaultResponse;
1927
+
1928
+ // @public (undocumented)
1929
+ export function isUnexpected(response: GetOperation200Response | GetOperationDefaultResponse): response is GetOperationDefaultResponse;
1393
1930
 
1394
1931
  // @public (undocumented)
1395
- export function isUnexpected(response: GetResourceInfo200Response | GetResourceInfoDefaultResponse): response is GetResourceInfoDefaultResponse;
1932
+ export function isUnexpected(response: GetResourceDetails200Response | GetResourceDetailsDefaultResponse): response is GetResourceDetailsDefaultResponse;
1396
1933
 
1397
1934
  // @public (undocumented)
1398
1935
  export function isUnexpected(response: GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse): response is GetAnalyzeResultDefaultResponse;
1399
1936
 
1400
1937
  // @public (undocumented)
1401
- export function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocument202Response | AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse): response is AnalyzeDocumentFromStreamDefaultResponse;
1938
+ export function isUnexpected(response: DeleteAnalyzeResult204Response | DeleteAnalyzeResultDefaultResponse): response is DeleteAnalyzeResultDefaultResponse;
1939
+
1940
+ // @public (undocumented)
1941
+ export function isUnexpected(response: GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse): response is GetAnalyzeResultPdfDefaultResponse;
1942
+
1943
+ // @public (undocumented)
1944
+ export function isUnexpected(response: GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse): response is GetAnalyzeResultFigureDefaultResponse;
1945
+
1946
+ // @public (undocumented)
1947
+ export function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse): response is AnalyzeDocumentFromStreamDefaultResponse;
1948
+
1949
+ // @public (undocumented)
1950
+ export function isUnexpected(response: AnalyzeDocument202Response | AnalyzeDocumentLogicalResponse | AnalyzeDocumentDefaultResponse): response is AnalyzeDocumentDefaultResponse;
1951
+
1952
+ // @public (undocumented)
1953
+ export function isUnexpected(response: GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse): response is GetAnalyzeBatchResultDefaultResponse;
1954
+
1955
+ // @public (undocumented)
1956
+ export function isUnexpected(response: DeleteAnalyzeBatchResult204Response | DeleteAnalyzeBatchResultDefaultResponse): response is DeleteAnalyzeBatchResultDefaultResponse;
1957
+
1958
+ // @public (undocumented)
1959
+ export function isUnexpected(response: AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsLogicalResponse | AnalyzeBatchDocumentsDefaultResponse): response is AnalyzeBatchDocumentsDefaultResponse;
1960
+
1961
+ // @public (undocumented)
1962
+ export function isUnexpected(response: ListAnalyzeBatchResults200Response | ListAnalyzeBatchResultsDefaultResponse): response is ListAnalyzeBatchResultsDefaultResponse;
1402
1963
 
1403
1964
  // @public (undocumented)
1404
1965
  export function isUnexpected(response: GetModel200Response | GetModelDefaultResponse): response is GetModelDefaultResponse;
@@ -1434,11 +1995,47 @@ export function isUnexpected(response: GetClassifier200Response | GetClassifierD
1434
1995
  export function isUnexpected(response: DeleteClassifier204Response | DeleteClassifierDefaultResponse): response is DeleteClassifierDefaultResponse;
1435
1996
 
1436
1997
  // @public (undocumented)
1437
- export function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocument202Response | ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentLogicalResponse | ClassifyDocumentFromStreamDefaultResponse): response is ClassifyDocumentFromStreamDefaultResponse;
1998
+ export function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentFromStreamDefaultResponse): response is ClassifyDocumentFromStreamDefaultResponse;
1999
+
2000
+ // @public (undocumented)
2001
+ export function isUnexpected(response: ClassifyDocument202Response | ClassifyDocumentLogicalResponse | ClassifyDocumentDefaultResponse): response is ClassifyDocumentDefaultResponse;
1438
2002
 
1439
2003
  // @public (undocumented)
1440
2004
  export function isUnexpected(response: GetClassifyResult200Response | GetClassifyResultDefaultResponse): response is GetClassifyResultDefaultResponse;
1441
2005
 
2006
+ // @public (undocumented)
2007
+ export function isUnexpected(response: AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse): response is AuthorizeClassifierCopyDefaultResponse;
2008
+
2009
+ // @public (undocumented)
2010
+ export function isUnexpected(response: CopyClassifierTo202Response | CopyClassifierToLogicalResponse | CopyClassifierToDefaultResponse): response is CopyClassifierToDefaultResponse;
2011
+
2012
+ // @public
2013
+ export type LengthUnitOutput = string;
2014
+
2015
+ // @public (undocumented)
2016
+ export interface ListAnalyzeBatchResults {
2017
+ get(options?: ListAnalyzeBatchResultsParameters): StreamableMethod<ListAnalyzeBatchResults200Response | ListAnalyzeBatchResultsDefaultResponse>;
2018
+ }
2019
+
2020
+ // @public
2021
+ export interface ListAnalyzeBatchResults200Response extends HttpResponse {
2022
+ // (undocumented)
2023
+ body: PagedAnalyzeBatchOperationOutput;
2024
+ // (undocumented)
2025
+ status: "200";
2026
+ }
2027
+
2028
+ // @public (undocumented)
2029
+ export interface ListAnalyzeBatchResultsDefaultResponse extends HttpResponse {
2030
+ // (undocumented)
2031
+ body: DocumentIntelligenceErrorResponseOutput;
2032
+ // (undocumented)
2033
+ status: string;
2034
+ }
2035
+
2036
+ // @public (undocumented)
2037
+ export type ListAnalyzeBatchResultsParameters = RequestParameters;
2038
+
1442
2039
  // @public (undocumented)
1443
2040
  export interface ListClassifiers {
1444
2041
  get(options?: ListClassifiersParameters): StreamableMethod<ListClassifiers200Response | ListClassifiersDefaultResponse>;
@@ -1462,7 +2059,7 @@ export interface ListClassifiers200Response extends HttpResponse {
1462
2059
  // @public (undocumented)
1463
2060
  export interface ListClassifiersDefaultResponse extends HttpResponse {
1464
2061
  // (undocumented)
1465
- body: ErrorResponseOutput;
2062
+ body: DocumentIntelligenceErrorResponseOutput;
1466
2063
  // (undocumented)
1467
2064
  status: string;
1468
2065
  }
@@ -1504,7 +2101,7 @@ export interface ListModels200Response extends HttpResponse {
1504
2101
  // @public (undocumented)
1505
2102
  export interface ListModelsDefaultResponse extends HttpResponse {
1506
2103
  // (undocumented)
1507
- body: ErrorResponseOutput;
2104
+ body: DocumentIntelligenceErrorResponseOutput;
1508
2105
  // (undocumented)
1509
2106
  status: string;
1510
2107
  }
@@ -1536,7 +2133,7 @@ export interface ListOperations200Headers {
1536
2133
  // @public
1537
2134
  export interface ListOperations200Response extends HttpResponse {
1538
2135
  // (undocumented)
1539
- body: PagedOperationDetailsOutput;
2136
+ body: PagedDocumentIntelligenceOperationDetailsOutput;
1540
2137
  // (undocumented)
1541
2138
  headers: RawHttpHeaders & ListOperations200Headers;
1542
2139
  // (undocumented)
@@ -1546,7 +2143,7 @@ export interface ListOperations200Response extends HttpResponse {
1546
2143
  // @public (undocumented)
1547
2144
  export interface ListOperationsDefaultResponse extends HttpResponse {
1548
2145
  // (undocumented)
1549
- body: ErrorResponseOutput;
2146
+ body: DocumentIntelligenceErrorResponseOutput;
1550
2147
  // (undocumented)
1551
2148
  status: string;
1552
2149
  }
@@ -1566,31 +2163,63 @@ export interface ListOperationsHeaders {
1566
2163
  export type ListOperationsParameters = ListOperationsHeaderParam & RequestParameters;
1567
2164
 
1568
2165
  // @public
1569
- export type OperationDetailsOutput = OperationDetailsOutputParent | DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
2166
+ export interface ModelCopyAuthorization {
2167
+ accessToken: string;
2168
+ expirationDateTime: Date | string;
2169
+ targetModelId: string;
2170
+ targetModelLocation: string;
2171
+ targetResourceId: string;
2172
+ targetResourceRegion: string;
2173
+ }
1570
2174
 
1571
2175
  // @public
1572
- export interface OperationDetailsOutputParent {
1573
- apiVersion?: string;
1574
- createdDateTime: string;
1575
- error?: ErrorModelOutput;
1576
- // (undocumented)
1577
- kind: string;
1578
- lastUpdatedDateTime: string;
1579
- operationId: string;
1580
- percentCompleted?: number;
1581
- resourceLocation: string;
1582
- status: string;
1583
- tags?: Record<string, string>;
2176
+ export interface ModelCopyAuthorizationOutput {
2177
+ accessToken: string;
2178
+ expirationDateTime: string;
2179
+ targetModelId: string;
2180
+ targetModelLocation: string;
2181
+ targetResourceId: string;
2182
+ targetResourceRegion: string;
2183
+ }
2184
+
2185
+ // @public
2186
+ export type OperationKindOutput = string;
2187
+
2188
+ // @public
2189
+ export interface PagedAnalyzeBatchOperationOutput {
2190
+ nextLink?: string;
2191
+ value: Array<AnalyzeBatchOperationOutput>;
2192
+ }
2193
+
2194
+ // @public
2195
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
2196
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
2197
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
2198
+ next(): Promise<IteratorResult<TElement>>;
2199
+ }
2200
+
2201
+ // @public
2202
+ export interface PagedDocumentClassifierDetailsOutput {
2203
+ nextLink?: string;
2204
+ value: Array<DocumentClassifierDetailsOutput>;
1584
2205
  }
1585
2206
 
1586
2207
  // @public
1587
- export type PagedDocumentClassifierDetailsOutput = Paged<DocumentClassifierDetailsOutput>;
2208
+ export interface PagedDocumentIntelligenceOperationDetailsOutput {
2209
+ nextLink?: string;
2210
+ value: Array<DocumentIntelligenceOperationDetailsOutput>;
2211
+ }
1588
2212
 
1589
2213
  // @public
1590
- export type PagedDocumentModelDetailsOutput = Paged<DocumentModelDetailsOutput>;
2214
+ export interface PagedDocumentModelDetailsOutput {
2215
+ nextLink?: string;
2216
+ value: Array<DocumentModelDetailsOutput>;
2217
+ }
1591
2218
 
1592
2219
  // @public
1593
- export type PagedOperationDetailsOutput = Paged<OperationDetailsOutput>;
2220
+ export interface PageSettings {
2221
+ continuationToken?: string;
2222
+ }
1594
2223
 
1595
2224
  // @public
1596
2225
  export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
@@ -1608,25 +2237,27 @@ export interface PagingOptions<TResponse> {
1608
2237
  }
1609
2238
 
1610
2239
  // @public
1611
- export interface QuotaDetailsOutput {
1612
- quota: number;
1613
- quotaResetDateTime: string;
1614
- used: number;
1615
- }
2240
+ export type ParagraphRoleOutput = string;
1616
2241
 
1617
2242
  // @public
1618
- export interface ResourceDetailsOutput {
1619
- customDocumentModels: CustomDocumentModelsDetailsOutput;
1620
- customNeuralDocumentModelBuilds: QuotaDetailsOutput;
1621
- }
2243
+ export function parseResultIdFromResponse(initialResponse: {
2244
+ headers: {
2245
+ "operation-location": string;
2246
+ };
2247
+ }): string;
1622
2248
 
1623
2249
  // @public (undocumented)
1624
2250
  export interface Routes {
1625
2251
  (path: "/operations"): ListOperations;
1626
2252
  (path: "/operations/{operationId}", operationId: string): GetDocumentModelBuildOperation;
1627
- (path: "/info"): GetResourceInfo;
2253
+ (path: "/info"): GetResourceDetails;
1628
2254
  (path: "/documentModels/{modelId}/analyzeResults/{resultId}", modelId: string, resultId: string): GetAnalyzeResult;
2255
+ (path: "/documentModels/{modelId}/analyzeResults/{resultId}/pdf", modelId: string, resultId: string): GetAnalyzeResultPdf;
2256
+ (path: "/documentModels/{modelId}/analyzeResults/{resultId}/figures/{figureId}", modelId: string, resultId: string, figureId: string): GetAnalyzeResultFigure;
1629
2257
  (path: "/documentModels/{modelId}:analyze", modelId: string): AnalyzeDocumentFromStream;
2258
+ (path: "/documentModels/{modelId}/analyzeBatchResults/{resultId}", modelId: string, resultId: string): GetAnalyzeBatchResult;
2259
+ (path: "/documentModels/{modelId}:analyzeBatch", modelId: string): AnalyzeBatchDocuments;
2260
+ (path: "/documentModels/{modelId}/analyzeBatchResults", modelId: string): ListAnalyzeBatchResults;
1630
2261
  (path: "/documentModels/{modelId}", modelId: string): GetModel;
1631
2262
  (path: "/documentModels:build"): BuildModel;
1632
2263
  (path: "/documentModels:compose"): ComposeModel;
@@ -1638,14 +2269,24 @@ export interface Routes {
1638
2269
  (path: "/documentClassifiers/{classifierId}", classifierId: string): GetClassifier;
1639
2270
  (path: "/documentClassifiers/{classifierId}:analyze", classifierId: string): ClassifyDocumentFromStream;
1640
2271
  (path: "/documentClassifiers/{classifierId}/analyzeResults/{resultId}", classifierId: string, resultId: string): GetClassifyResult;
2272
+ (path: "/documentClassifiers:authorizeCopy"): AuthorizeClassifierCopy;
2273
+ (path: "/documentClassifiers/{classifierId}:copyTo", classifierId: string): CopyClassifierTo;
1641
2274
  }
1642
2275
 
1643
2276
  // @public
1644
- export interface WarningOutput {
1645
- code: string;
1646
- message: string;
1647
- target?: string;
1648
- }
2277
+ export type SplitMode = string;
2278
+
2279
+ // @public
2280
+ export type SplitModeOutput = string;
2281
+
2282
+ // @public
2283
+ export function streamToUint8Array(stream: NodeJS.ReadableStream): Promise<Uint8Array>;
2284
+
2285
+ // @public
2286
+ export type StringIndexType = string;
2287
+
2288
+ // @public
2289
+ export type StringIndexTypeOutput = string;
1649
2290
 
1650
2291
  // (No @packageDocumentation comment for this package)
1651
2292