@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
@@ -0,0 +1,914 @@
1
+ /** Paged collection of DocumentIntelligenceOperationDetails items */
2
+ export interface PagedDocumentIntelligenceOperationDetailsOutput {
3
+ /** The DocumentIntelligenceOperationDetails items on this page */
4
+ value: Array<DocumentIntelligenceOperationDetailsOutput>;
5
+ /** The link to the next page of items */
6
+ nextLink?: string;
7
+ }
8
+ /** Operation info. */
9
+ export interface DocumentIntelligenceOperationDetailsOutputParent {
10
+ /** Operation ID */
11
+ operationId: string;
12
+ /**
13
+ * Operation status. notStarted, running, completed, or failed
14
+ *
15
+ * Possible values: "notStarted", "running", "failed", "succeeded", "canceled", "skipped"
16
+ */
17
+ status: DocumentIntelligenceOperationStatusOutput;
18
+ /** Operation progress (0-100). */
19
+ percentCompleted?: number;
20
+ /** Date and time (UTC) when the operation was created. */
21
+ createdDateTime: string;
22
+ /** Date and time (UTC) when the status was last updated. */
23
+ lastUpdatedDateTime: string;
24
+ /** URL of the resource targeted by this operation. */
25
+ resourceLocation: string;
26
+ /** API version used to create this operation. */
27
+ apiVersion?: string;
28
+ /** List of key-value tag attributes associated with the document model. */
29
+ tags?: Record<string, string>;
30
+ /** Encountered error. */
31
+ error?: DocumentIntelligenceErrorOutput;
32
+ kind: OperationKindOutput;
33
+ }
34
+ /** The error object. */
35
+ export interface DocumentIntelligenceErrorOutput {
36
+ /** One of a server-defined set of error codes. */
37
+ code: string;
38
+ /** A human-readable representation of the error. */
39
+ message: string;
40
+ /** The target of the error. */
41
+ target?: string;
42
+ /** An array of details about specific errors that led to this reported error. */
43
+ details?: Array<DocumentIntelligenceErrorOutput>;
44
+ /** An object containing more specific information than the current object about the error. */
45
+ innererror?: DocumentIntelligenceInnerErrorOutput;
46
+ }
47
+ /** An object containing more specific information about the error. */
48
+ export interface DocumentIntelligenceInnerErrorOutput {
49
+ /** One of a server-defined set of error codes. */
50
+ code?: string;
51
+ /** A human-readable representation of the error. */
52
+ message?: string;
53
+ /** Inner error. */
54
+ innererror?: DocumentIntelligenceInnerErrorOutput;
55
+ }
56
+ /** Get Operation response object. */
57
+ export interface DocumentModelBuildOperationDetailsOutput extends DocumentIntelligenceOperationDetailsOutputParent {
58
+ /** Operation result upon success. */
59
+ result?: DocumentModelDetailsOutput;
60
+ /** Type of operation. */
61
+ kind: "documentModelBuild";
62
+ }
63
+ /** Document model info. */
64
+ export interface DocumentModelDetailsOutput {
65
+ /** Unique document model name. */
66
+ modelId: string;
67
+ /** Document model description. */
68
+ description?: string;
69
+ /** Date and time (UTC) when the document model was created. */
70
+ readonly createdDateTime: string;
71
+ /** Date and time (UTC) when the document model will expire. */
72
+ readonly expirationDateTime?: string;
73
+ /** Date and time (UTC) when the document model was last modified. */
74
+ readonly modifiedDateTime?: string;
75
+ /** API version used to create this document model. */
76
+ readonly apiVersion?: string;
77
+ /** List of key-value tag attributes associated with the document model. */
78
+ tags?: Record<string, string>;
79
+ /**
80
+ * Custom document model build mode.
81
+ *
82
+ * Possible values: "template", "neural"
83
+ */
84
+ readonly buildMode?: DocumentBuildModeOutput;
85
+ /**
86
+ * Azure Blob Storage location containing the training data. Either
87
+ * azureBlobSource or azureBlobFileListSource must be specified.
88
+ */
89
+ readonly azureBlobSource?: AzureBlobContentSourceOutput;
90
+ /**
91
+ * Azure Blob Storage file list specifying the training data. Either
92
+ * azureBlobSource or azureBlobFileListSource must be specified.
93
+ */
94
+ readonly azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
95
+ /** For composed models, the custom classifier to split and classify the input file. */
96
+ classifierId?: string;
97
+ /**
98
+ * For composed models, the file splitting behavior.
99
+ *
100
+ * Possible values: "auto", "none", "perPage"
101
+ */
102
+ split?: SplitModeOutput;
103
+ /** Supported document types. */
104
+ readonly docTypes?: Record<string, DocumentTypeDetailsOutput>;
105
+ /** List of warnings encountered while building the model. */
106
+ readonly warnings?: Array<DocumentIntelligenceWarningOutput>;
107
+ /** Number of V100-equivalent GPU hours consumed for model training. */
108
+ readonly trainingHours?: number;
109
+ }
110
+ /** Azure Blob Storage content. */
111
+ export interface AzureBlobContentSourceOutput {
112
+ /** Azure Blob Storage container URL. */
113
+ containerUrl: string;
114
+ /** Blob name prefix. */
115
+ prefix?: string;
116
+ }
117
+ /** File list in Azure Blob Storage. */
118
+ export interface AzureBlobFileListContentSourceOutput {
119
+ /** Azure Blob Storage container URL. */
120
+ containerUrl: string;
121
+ /** Path to a JSONL file within the container specifying a subset of documents. */
122
+ fileList: string;
123
+ }
124
+ /** Document type info. */
125
+ export interface DocumentTypeDetailsOutput {
126
+ /** Document model description. */
127
+ description?: string;
128
+ /**
129
+ * Custom document model build mode.
130
+ *
131
+ * Possible values: "template", "neural"
132
+ */
133
+ buildMode?: DocumentBuildModeOutput;
134
+ /** Description of the document semantic schema using a JSON Schema style syntax. */
135
+ fieldSchema?: Record<string, DocumentFieldSchemaOutput>;
136
+ /** Estimated confidence for each field. */
137
+ fieldConfidence?: Record<string, number>;
138
+ /** Document model to use for analyzing documents with specified type. */
139
+ modelId?: string;
140
+ /** Only perform analysis if docType confidence is above threshold. */
141
+ confidenceThreshold?: number;
142
+ /** List of optional analysis features. */
143
+ features?: DocumentAnalysisFeatureOutput[];
144
+ /** List of additional fields to extract. Ex. "NumberOfGuests,StoreNumber" */
145
+ queryFields?: string[];
146
+ /** Maximum number of documents of specified type to analyze. Default=all. */
147
+ maxDocumentsToAnalyze?: number;
148
+ }
149
+ /** Description of the field semantic schema using a JSON Schema style syntax. */
150
+ export interface DocumentFieldSchemaOutput {
151
+ /**
152
+ * Semantic data type of the field value.
153
+ *
154
+ * Possible values: "string", "date", "time", "phoneNumber", "number", "integer", "selectionMark", "countryRegion", "signature", "array", "object", "currency", "address", "boolean", "selectionGroup"
155
+ */
156
+ type: DocumentFieldTypeOutput;
157
+ /** Field description. */
158
+ description?: string;
159
+ /** Example field content. */
160
+ example?: string;
161
+ /** Field type schema of each array element. */
162
+ items?: DocumentFieldSchemaOutput;
163
+ /** Named sub-fields of the object field. */
164
+ properties?: Record<string, DocumentFieldSchemaOutput>;
165
+ }
166
+ /** The error object. */
167
+ export interface DocumentIntelligenceWarningOutput {
168
+ /** One of a server-defined set of warning codes. */
169
+ code: string;
170
+ /** A human-readable representation of the warning. */
171
+ message: string;
172
+ /** The target of the error. */
173
+ target?: string;
174
+ }
175
+ /** Get Operation response object. */
176
+ export interface DocumentModelComposeOperationDetailsOutput extends DocumentIntelligenceOperationDetailsOutputParent {
177
+ /** Operation result upon success. */
178
+ result?: DocumentModelDetailsOutput;
179
+ /** Type of operation. */
180
+ kind: "documentModelCompose";
181
+ }
182
+ /** Get Operation response object. */
183
+ export interface DocumentModelCopyToOperationDetailsOutput extends DocumentIntelligenceOperationDetailsOutputParent {
184
+ /** Operation result upon success. */
185
+ result?: DocumentModelDetailsOutput;
186
+ /** Type of operation. */
187
+ kind: "documentModelCopyTo";
188
+ }
189
+ /** Get Operation response object. */
190
+ export interface DocumentClassifierCopyToOperationDetailsOutput extends DocumentIntelligenceOperationDetailsOutputParent {
191
+ /** Operation result upon success. */
192
+ result?: DocumentClassifierDetailsOutput;
193
+ /** Type of operation. */
194
+ kind: "documentClassifierCopyTo";
195
+ }
196
+ /** Document classifier info. */
197
+ export interface DocumentClassifierDetailsOutput {
198
+ /** Unique document classifier name. */
199
+ classifierId: string;
200
+ /** Document classifier description. */
201
+ description?: string;
202
+ /** Date and time (UTC) when the document classifier was created. */
203
+ createdDateTime: string;
204
+ /** Date and time (UTC) when the document classifier will expire. */
205
+ expirationDateTime?: string;
206
+ /** Date and time (UTC) when the document model was last modified. */
207
+ readonly modifiedDateTime?: string;
208
+ /** API version used to create this document classifier. */
209
+ apiVersion: string;
210
+ /** Base classifierId on top of which the classifier was trained. */
211
+ baseClassifierId?: string;
212
+ /** List of document types to classify against. */
213
+ docTypes: Record<string, ClassifierDocumentTypeDetailsOutput>;
214
+ /** List of warnings encountered while building the classifier. */
215
+ warnings?: Array<DocumentIntelligenceWarningOutput>;
216
+ }
217
+ /** Classifier document type info. */
218
+ export interface ClassifierDocumentTypeDetailsOutput {
219
+ /**
220
+ * Type of training data source.
221
+ *
222
+ * Possible values: "url", "base64", "azureBlob", "azureBlobFileList"
223
+ */
224
+ sourceKind?: ContentSourceKindOutput;
225
+ /**
226
+ * Azure Blob Storage location containing the training data for a classifier
227
+ * document type. Either azureBlobSource or azureBlobFileListSource must be
228
+ * specified.
229
+ */
230
+ azureBlobSource?: AzureBlobContentSourceOutput;
231
+ /**
232
+ * Azure Blob Storage file list specifying the training data for a classifier
233
+ * document type. Either azureBlobSource or azureBlobFileListSource must be
234
+ * specified.
235
+ */
236
+ azureBlobFileListSource?: AzureBlobFileListContentSourceOutput;
237
+ }
238
+ /** Get Operation response object. */
239
+ export interface DocumentClassifierBuildOperationDetailsOutput extends DocumentIntelligenceOperationDetailsOutputParent {
240
+ /** Operation result upon success. */
241
+ result?: DocumentClassifierDetailsOutput;
242
+ /** Type of operation. */
243
+ kind: "documentClassifierBuild";
244
+ }
245
+ /** Error response object. */
246
+ export interface DocumentIntelligenceErrorResponseOutput {
247
+ /** Error info. */
248
+ error: DocumentIntelligenceErrorOutput;
249
+ }
250
+ /** General information regarding the current resource. */
251
+ export interface DocumentIntelligenceResourceDetailsOutput {
252
+ /** Details regarding custom document models. */
253
+ customDocumentModels: CustomDocumentModelsDetailsOutput;
254
+ }
255
+ /** Details regarding custom document models. */
256
+ export interface CustomDocumentModelsDetailsOutput {
257
+ /** Number of custom document models in the current resource. */
258
+ count: number;
259
+ /** Maximum number of custom document models supported in the current resource. */
260
+ limit: number;
261
+ }
262
+ /** Status and result of the analyze operation. */
263
+ export interface AnalyzeOperationOutput {
264
+ /**
265
+ * Operation status. notStarted, running, succeeded, or failed
266
+ *
267
+ * Possible values: "notStarted", "running", "failed", "succeeded", "canceled", "skipped"
268
+ */
269
+ status: DocumentIntelligenceOperationStatusOutput;
270
+ /** Date and time (UTC) when the analyze operation was submitted. */
271
+ createdDateTime: string;
272
+ /** Date and time (UTC) when the status was last updated. */
273
+ lastUpdatedDateTime: string;
274
+ /** Encountered error during document analysis. */
275
+ error?: DocumentIntelligenceErrorOutput;
276
+ /** Document analysis result. */
277
+ analyzeResult?: AnalyzeResultOutput;
278
+ }
279
+ /** Document analysis result. */
280
+ export interface AnalyzeResultOutput {
281
+ /** API version used to produce this result. */
282
+ apiVersion: string;
283
+ /** Document model ID used to produce this result. */
284
+ modelId: string;
285
+ /**
286
+ * Method used to compute string offset and length.
287
+ *
288
+ * Possible values: "textElements", "unicodeCodePoint", "utf16CodeUnit"
289
+ */
290
+ stringIndexType: StringIndexTypeOutput;
291
+ /**
292
+ * Format of the analyze result top-level content.
293
+ *
294
+ * Possible values: "text", "markdown"
295
+ */
296
+ contentFormat?: DocumentContentFormatOutput;
297
+ /**
298
+ * Concatenate string representation of all textual and visual elements in reading
299
+ * order.
300
+ */
301
+ content: string;
302
+ /** Analyzed pages. */
303
+ pages: Array<DocumentPageOutput>;
304
+ /** Extracted paragraphs. */
305
+ paragraphs?: Array<DocumentParagraphOutput>;
306
+ /** Extracted tables. */
307
+ tables?: Array<DocumentTableOutput>;
308
+ /** Extracted figures. */
309
+ figures?: Array<DocumentFigureOutput>;
310
+ /** Extracted sections. */
311
+ sections?: Array<DocumentSectionOutput>;
312
+ /** Extracted key-value pairs. */
313
+ keyValuePairs?: Array<DocumentKeyValuePairOutput>;
314
+ /** Extracted font styles. */
315
+ styles?: Array<DocumentStyleOutput>;
316
+ /** Detected languages. */
317
+ languages?: Array<DocumentLanguageOutput>;
318
+ /** Extracted documents. */
319
+ documents?: Array<AnalyzedDocumentOutput>;
320
+ /** List of warnings encountered. */
321
+ warnings?: Array<DocumentIntelligenceWarningOutput>;
322
+ }
323
+ /** Content and layout elements extracted from a page from the input. */
324
+ export interface DocumentPageOutput {
325
+ /** 1-based page number in the input document. */
326
+ pageNumber: number;
327
+ /**
328
+ * The general orientation of the content in clockwise direction, measured in
329
+ * degrees between (-180, 180].
330
+ */
331
+ angle?: number;
332
+ /** The width of the image/PDF in pixels/inches, respectively. */
333
+ width?: number;
334
+ /** The height of the image/PDF in pixels/inches, respectively. */
335
+ height?: number;
336
+ /**
337
+ * The unit used by the width, height, and polygon properties. For images, the
338
+ * unit is "pixel". For PDF, the unit is "inch".
339
+ *
340
+ * Possible values: "pixel", "inch"
341
+ */
342
+ unit?: LengthUnitOutput;
343
+ /** Location of the page in the reading order concatenated content. */
344
+ spans: Array<DocumentSpanOutput>;
345
+ /** Extracted words from the page. */
346
+ words?: Array<DocumentWordOutput>;
347
+ /** Extracted selection marks from the page. */
348
+ selectionMarks?: Array<DocumentSelectionMarkOutput>;
349
+ /**
350
+ * Extracted lines from the page, potentially containing both textual and visual
351
+ * elements.
352
+ */
353
+ lines?: Array<DocumentLineOutput>;
354
+ /** Extracted barcodes from the page. */
355
+ barcodes?: Array<DocumentBarcodeOutput>;
356
+ /** Extracted formulas from the page. */
357
+ formulas?: Array<DocumentFormulaOutput>;
358
+ }
359
+ /**
360
+ * Contiguous region of the concatenated content property, specified as an offset
361
+ * and length.
362
+ */
363
+ export interface DocumentSpanOutput {
364
+ /** Zero-based index of the content represented by the span. */
365
+ offset: number;
366
+ /** Number of characters in the content represented by the span. */
367
+ length: number;
368
+ }
369
+ /**
370
+ * A word object consisting of a contiguous sequence of characters. For non-space
371
+ * delimited languages, such as Chinese, Japanese, and Korean, each character is
372
+ * represented as its own word.
373
+ */
374
+ export interface DocumentWordOutput {
375
+ /** Text content of the word. */
376
+ content: string;
377
+ /**
378
+ * Bounding polygon of the word, with coordinates specified relative to the
379
+ * top-left of the page. The numbers represent the x, y values of the polygon
380
+ * vertices, clockwise from the left (-180 degrees inclusive) relative to the
381
+ * element orientation.
382
+ */
383
+ polygon?: number[];
384
+ /** Location of the word in the reading order concatenated content. */
385
+ span: DocumentSpanOutput;
386
+ /** Confidence of correctly extracting the word. */
387
+ confidence: number;
388
+ }
389
+ /**
390
+ * A selection mark object representing check boxes, radio buttons, and other
391
+ * elements indicating a selection.
392
+ */
393
+ export interface DocumentSelectionMarkOutput {
394
+ /**
395
+ * State of the selection mark.
396
+ *
397
+ * Possible values: "selected", "unselected"
398
+ */
399
+ state: DocumentSelectionMarkStateOutput;
400
+ /**
401
+ * Bounding polygon of the selection mark, with coordinates specified relative
402
+ * to the top-left of the page. The numbers represent the x, y values of the
403
+ * polygon vertices, clockwise from the left (-180 degrees inclusive) relative
404
+ * to the element orientation.
405
+ */
406
+ polygon?: number[];
407
+ /** Location of the selection mark in the reading order concatenated content. */
408
+ span: DocumentSpanOutput;
409
+ /** Confidence of correctly extracting the selection mark. */
410
+ confidence: number;
411
+ }
412
+ /**
413
+ * A content line object consisting of an adjacent sequence of content elements,
414
+ * such as words and selection marks.
415
+ */
416
+ export interface DocumentLineOutput {
417
+ /** Concatenated content of the contained elements in reading order. */
418
+ content: string;
419
+ /**
420
+ * Bounding polygon of the line, with coordinates specified relative to the
421
+ * top-left of the page. The numbers represent the x, y values of the polygon
422
+ * vertices, clockwise from the left (-180 degrees inclusive) relative to the
423
+ * element orientation.
424
+ */
425
+ polygon?: number[];
426
+ /** Location of the line in the reading order concatenated content. */
427
+ spans: Array<DocumentSpanOutput>;
428
+ }
429
+ /** A barcode object. */
430
+ export interface DocumentBarcodeOutput {
431
+ /**
432
+ * Barcode kind.
433
+ *
434
+ * Possible values: "QRCode", "PDF417", "UPCA", "UPCE", "Code39", "Code128", "EAN8", "EAN13", "DataBar", "Code93", "Codabar", "DataBarExpanded", "ITF", "MicroQRCode", "Aztec", "DataMatrix", "MaxiCode"
435
+ */
436
+ kind: DocumentBarcodeKindOutput;
437
+ /** Barcode value. */
438
+ value: string;
439
+ /**
440
+ * Bounding polygon of the barcode, with coordinates specified relative to the
441
+ * top-left of the page. The numbers represent the x, y values of the polygon
442
+ * vertices, clockwise from the left (-180 degrees inclusive) relative to the
443
+ * element orientation.
444
+ */
445
+ polygon?: number[];
446
+ /** Location of the barcode in the reading order concatenated content. */
447
+ span: DocumentSpanOutput;
448
+ /** Confidence of correctly extracting the barcode. */
449
+ confidence: number;
450
+ }
451
+ /** A formula object. */
452
+ export interface DocumentFormulaOutput {
453
+ /**
454
+ * Formula kind.
455
+ *
456
+ * Possible values: "inline", "display"
457
+ */
458
+ kind: DocumentFormulaKindOutput;
459
+ /** LaTex expression describing the formula. */
460
+ value: string;
461
+ /**
462
+ * Bounding polygon of the formula, with coordinates specified relative to the
463
+ * top-left of the page. The numbers represent the x, y values of the polygon
464
+ * vertices, clockwise from the left (-180 degrees inclusive) relative to the
465
+ * element orientation.
466
+ */
467
+ polygon?: number[];
468
+ /** Location of the formula in the reading order concatenated content. */
469
+ span: DocumentSpanOutput;
470
+ /** Confidence of correctly extracting the formula. */
471
+ confidence: number;
472
+ }
473
+ /**
474
+ * A paragraph object consisting with contiguous lines generally with common
475
+ * alignment and spacing.
476
+ */
477
+ export interface DocumentParagraphOutput {
478
+ /**
479
+ * Semantic role of the paragraph.
480
+ *
481
+ * Possible values: "pageHeader", "pageFooter", "pageNumber", "title", "sectionHeading", "footnote", "formulaBlock"
482
+ */
483
+ role?: ParagraphRoleOutput;
484
+ /** Concatenated content of the paragraph in reading order. */
485
+ content: string;
486
+ /** Bounding regions covering the paragraph. */
487
+ boundingRegions?: Array<BoundingRegionOutput>;
488
+ /** Location of the paragraph in the reading order concatenated content. */
489
+ spans: Array<DocumentSpanOutput>;
490
+ }
491
+ /** Bounding polygon on a specific page of the input. */
492
+ export interface BoundingRegionOutput {
493
+ /** 1-based page number of page containing the bounding region. */
494
+ pageNumber: number;
495
+ /**
496
+ * Bounding polygon on the page, or the entire page if not specified.
497
+ * Coordinates specified relative to the top-left of the page. The numbers
498
+ * represent the x, y values of the polygon vertices, clockwise from the left
499
+ * (-180 degrees inclusive) relative to the element orientation.
500
+ */
501
+ polygon: number[];
502
+ }
503
+ /** A table object consisting table cells arranged in a rectangular layout. */
504
+ export interface DocumentTableOutput {
505
+ /** Number of rows in the table. */
506
+ rowCount: number;
507
+ /** Number of columns in the table. */
508
+ columnCount: number;
509
+ /** Cells contained within the table. */
510
+ cells: Array<DocumentTableCellOutput>;
511
+ /** Bounding regions covering the table. */
512
+ boundingRegions?: Array<BoundingRegionOutput>;
513
+ /** Location of the table in the reading order concatenated content. */
514
+ spans: Array<DocumentSpanOutput>;
515
+ /** Caption associated with the table. */
516
+ caption?: DocumentCaptionOutput;
517
+ /** List of footnotes associated with the table. */
518
+ footnotes?: Array<DocumentFootnoteOutput>;
519
+ }
520
+ /** An object representing the location and content of a table cell. */
521
+ export interface DocumentTableCellOutput {
522
+ /**
523
+ * Table cell kind.
524
+ *
525
+ * Possible values: "content", "rowHeader", "columnHeader", "stubHead", "description"
526
+ */
527
+ kind?: DocumentTableCellKindOutput;
528
+ /** Row index of the cell. */
529
+ rowIndex: number;
530
+ /** Column index of the cell. */
531
+ columnIndex: number;
532
+ /** Number of rows spanned by this cell. */
533
+ rowSpan?: number;
534
+ /** Number of columns spanned by this cell. */
535
+ columnSpan?: number;
536
+ /** Concatenated content of the table cell in reading order. */
537
+ content: string;
538
+ /** Bounding regions covering the table cell. */
539
+ boundingRegions?: Array<BoundingRegionOutput>;
540
+ /** Location of the table cell in the reading order concatenated content. */
541
+ spans: Array<DocumentSpanOutput>;
542
+ /** Child elements of the table cell. */
543
+ elements?: string[];
544
+ }
545
+ /** A caption object describing a table or figure. */
546
+ export interface DocumentCaptionOutput {
547
+ /** Content of the caption. */
548
+ content: string;
549
+ /** Bounding regions covering the caption. */
550
+ boundingRegions?: Array<BoundingRegionOutput>;
551
+ /** Location of the caption in the reading order concatenated content. */
552
+ spans: Array<DocumentSpanOutput>;
553
+ /** Child elements of the caption. */
554
+ elements?: string[];
555
+ }
556
+ /** A footnote object describing a table or figure. */
557
+ export interface DocumentFootnoteOutput {
558
+ /** Content of the footnote. */
559
+ content: string;
560
+ /** Bounding regions covering the footnote. */
561
+ boundingRegions?: Array<BoundingRegionOutput>;
562
+ /** Location of the footnote in the reading order concatenated content. */
563
+ spans: Array<DocumentSpanOutput>;
564
+ /** Child elements of the footnote. */
565
+ elements?: string[];
566
+ }
567
+ /** An object representing a figure in the document. */
568
+ export interface DocumentFigureOutput {
569
+ /** Bounding regions covering the figure. */
570
+ boundingRegions?: Array<BoundingRegionOutput>;
571
+ /** Location of the figure in the reading order concatenated content. */
572
+ spans: Array<DocumentSpanOutput>;
573
+ /** Child elements of the figure, excluding any caption or footnotes. */
574
+ elements?: string[];
575
+ /** Caption associated with the figure. */
576
+ caption?: DocumentCaptionOutput;
577
+ /** List of footnotes associated with the figure. */
578
+ footnotes?: Array<DocumentFootnoteOutput>;
579
+ /** Figure ID. */
580
+ id?: string;
581
+ }
582
+ /** An object representing a section in the document. */
583
+ export interface DocumentSectionOutput {
584
+ /** Location of the section in the reading order concatenated content. */
585
+ spans: Array<DocumentSpanOutput>;
586
+ /** Child elements of the section. */
587
+ elements?: string[];
588
+ }
589
+ /**
590
+ * An object representing a form field with distinct field label (key) and field
591
+ * value (may be empty).
592
+ */
593
+ export interface DocumentKeyValuePairOutput {
594
+ /** Field label of the key-value pair. */
595
+ key: DocumentKeyValueElementOutput;
596
+ /** Field value of the key-value pair. */
597
+ value?: DocumentKeyValueElementOutput;
598
+ /** Confidence of correctly extracting the key-value pair. */
599
+ confidence: number;
600
+ }
601
+ /** An object representing the field key or value in a key-value pair. */
602
+ export interface DocumentKeyValueElementOutput {
603
+ /** Concatenated content of the key-value element in reading order. */
604
+ content: string;
605
+ /** Bounding regions covering the key-value element. */
606
+ boundingRegions?: Array<BoundingRegionOutput>;
607
+ /** Location of the key-value element in the reading order concatenated content. */
608
+ spans: Array<DocumentSpanOutput>;
609
+ }
610
+ /** An object representing observed text styles. */
611
+ export interface DocumentStyleOutput {
612
+ /** Is content handwritten? */
613
+ isHandwritten?: boolean;
614
+ /**
615
+ * Visually most similar font from among the set of supported font families, with
616
+ * fallback fonts following CSS convention (ex. 'Arial, sans-serif').
617
+ */
618
+ similarFontFamily?: string;
619
+ /**
620
+ * Font style.
621
+ *
622
+ * Possible values: "normal", "italic"
623
+ */
624
+ fontStyle?: DocumentFontStyleOutput;
625
+ /**
626
+ * Font weight.
627
+ *
628
+ * Possible values: "normal", "bold"
629
+ */
630
+ fontWeight?: DocumentFontWeightOutput;
631
+ /** Foreground color in #rrggbb hexadecimal format. */
632
+ color?: string;
633
+ /** Background color in #rrggbb hexadecimal format.. */
634
+ backgroundColor?: string;
635
+ /** Location of the text elements in the concatenated content the style applies to. */
636
+ spans: Array<DocumentSpanOutput>;
637
+ /** Confidence of correctly identifying the style. */
638
+ confidence: number;
639
+ }
640
+ /** An object representing the detected language for a given text span. */
641
+ export interface DocumentLanguageOutput {
642
+ /**
643
+ * Detected language. Value may an ISO 639-1 language code (ex. "en", "fr")
644
+ * or BCP 47 language tag (ex. "zh-Hans").
645
+ */
646
+ locale: string;
647
+ /**
648
+ * Location of the text elements in the concatenated content the language applies
649
+ * to.
650
+ */
651
+ spans: Array<DocumentSpanOutput>;
652
+ /** Confidence of correctly identifying the language. */
653
+ confidence: number;
654
+ }
655
+ /** An object describing the location and semantic content of a document. */
656
+ export interface AnalyzedDocumentOutput {
657
+ /** Document type. */
658
+ docType: string;
659
+ /** Bounding regions covering the document. */
660
+ boundingRegions?: Array<BoundingRegionOutput>;
661
+ /** Location of the document in the reading order concatenated content. */
662
+ spans: Array<DocumentSpanOutput>;
663
+ /** Dictionary of named field values. */
664
+ fields?: Record<string, DocumentFieldOutput>;
665
+ /** Confidence of correctly extracting the document. */
666
+ confidence: number;
667
+ }
668
+ /** An object representing the content and location of a field value. */
669
+ export interface DocumentFieldOutput {
670
+ /**
671
+ * Data type of the field value.
672
+ *
673
+ * Possible values: "string", "date", "time", "phoneNumber", "number", "integer", "selectionMark", "countryRegion", "signature", "array", "object", "currency", "address", "boolean", "selectionGroup"
674
+ */
675
+ type: DocumentFieldTypeOutput;
676
+ /** String value. */
677
+ valueString?: string;
678
+ /** Date value in YYYY-MM-DD format (ISO 8601). */
679
+ valueDate?: string;
680
+ /** Time value in hh:mm:ss format (ISO 8601). */
681
+ valueTime?: string;
682
+ /** Phone number value in E.164 format (ex. +19876543210). */
683
+ valuePhoneNumber?: string;
684
+ /** Floating point value. */
685
+ valueNumber?: number;
686
+ /** Integer value. */
687
+ valueInteger?: number;
688
+ /**
689
+ * Selection mark value.
690
+ *
691
+ * Possible values: "selected", "unselected"
692
+ */
693
+ valueSelectionMark?: DocumentSelectionMarkStateOutput;
694
+ /**
695
+ * Presence of signature.
696
+ *
697
+ * Possible values: "signed", "unsigned"
698
+ */
699
+ valueSignature?: DocumentSignatureTypeOutput;
700
+ /** 3-letter country code value (ISO 3166-1 alpha-3). */
701
+ valueCountryRegion?: string;
702
+ /** Array of field values. */
703
+ valueArray?: Array<DocumentFieldOutput>;
704
+ /** Dictionary of named field values. */
705
+ valueObject?: Record<string, DocumentFieldOutput>;
706
+ /** Currency value. */
707
+ valueCurrency?: CurrencyValueOutput;
708
+ /** Address value. */
709
+ valueAddress?: AddressValueOutput;
710
+ /** Boolean value. */
711
+ valueBoolean?: boolean;
712
+ /** Selection group value. */
713
+ valueSelectionGroup?: string[];
714
+ /** Field content. */
715
+ content?: string;
716
+ /** Bounding regions covering the field. */
717
+ boundingRegions?: Array<BoundingRegionOutput>;
718
+ /** Location of the field in the reading order concatenated content. */
719
+ spans?: Array<DocumentSpanOutput>;
720
+ /** Confidence of correctly extracting the field. */
721
+ confidence?: number;
722
+ }
723
+ /** Currency field value. */
724
+ export interface CurrencyValueOutput {
725
+ /** Currency amount. */
726
+ amount: number;
727
+ /** Currency symbol label, if any. */
728
+ currencySymbol?: string;
729
+ /** Resolved currency code (ISO 4217), if any. */
730
+ currencyCode?: string;
731
+ }
732
+ /** Address field value. */
733
+ export interface AddressValueOutput {
734
+ /** House or building number. */
735
+ houseNumber?: string;
736
+ /** Post office box number. */
737
+ poBox?: string;
738
+ /** Street name. */
739
+ road?: string;
740
+ /** Name of city, town, village, etc. */
741
+ city?: string;
742
+ /** First-level administrative division. */
743
+ state?: string;
744
+ /** Postal code used for mail sorting. */
745
+ postalCode?: string;
746
+ /** Country/region. */
747
+ countryRegion?: string;
748
+ /** Street-level address, excluding city, state, countryRegion, and postalCode. */
749
+ streetAddress?: string;
750
+ /** Apartment or office number */
751
+ unit?: string;
752
+ /**
753
+ * Districts or boroughs within a city, such as Brooklyn in New York City or City
754
+ * of Westminster in London.
755
+ */
756
+ cityDistrict?: string;
757
+ /** Second-level administrative division used in certain locales. */
758
+ stateDistrict?: string;
759
+ /** Unofficial neighborhood name, like Chinatown. */
760
+ suburb?: string;
761
+ /** Build name, such as World Trade Center. */
762
+ house?: string;
763
+ /** Floor number, such as 3F. */
764
+ level?: string;
765
+ }
766
+ /** Status and result of the analyze batch operation. */
767
+ export interface AnalyzeBatchOperationOutput {
768
+ /** Analyze batch operation result ID. */
769
+ resultId?: string;
770
+ /**
771
+ * Operation status. notStarted, running, succeeded, or failed
772
+ *
773
+ * Possible values: "notStarted", "running", "failed", "succeeded", "canceled", "skipped"
774
+ */
775
+ status: DocumentIntelligenceOperationStatusOutput;
776
+ /** Date and time (UTC) when the operation was submitted. */
777
+ createdDateTime: string;
778
+ /** Date and time (UTC) when the status was last updated. */
779
+ lastUpdatedDateTime: string;
780
+ /** Operation progress (0-100). */
781
+ percentCompleted?: number;
782
+ /** Encountered error during batch document analysis. */
783
+ error?: DocumentIntelligenceErrorOutput;
784
+ /** Batch document analysis result. */
785
+ result?: AnalyzeBatchResultOutput;
786
+ }
787
+ /** Batch document analysis result. */
788
+ export interface AnalyzeBatchResultOutput {
789
+ /** Number of documents that completed with status succeeded. */
790
+ succeededCount: number;
791
+ /** Number of documents that completed with status failed. */
792
+ failedCount: number;
793
+ /** Number of documents that completed with status skipped. */
794
+ skippedCount: number;
795
+ /** Operation detail for each document in the batch. */
796
+ details?: Array<AnalyzeBatchOperationDetailOutput>;
797
+ }
798
+ /** Operation detail for a document in a batch analysis. */
799
+ export interface AnalyzeBatchOperationDetailOutput {
800
+ /**
801
+ * Analyze status. succeeded, failed, or skipped
802
+ *
803
+ * Possible values: "notStarted", "running", "failed", "succeeded", "canceled", "skipped"
804
+ */
805
+ status: DocumentIntelligenceOperationStatusOutput;
806
+ /** URL of the source document. */
807
+ sourceUrl: string;
808
+ /** URL of the analyze result JSON. */
809
+ resultUrl?: string;
810
+ /** Encountered error. */
811
+ error?: DocumentIntelligenceErrorOutput;
812
+ }
813
+ /** Paged collection of AnalyzeBatchOperation items */
814
+ export interface PagedAnalyzeBatchOperationOutput {
815
+ /** The AnalyzeBatchOperation items on this page */
816
+ value: Array<AnalyzeBatchOperationOutput>;
817
+ /** The link to the next page of items */
818
+ nextLink?: string;
819
+ }
820
+ /**
821
+ * Authorization to copy a document model to the specified target resource and
822
+ * modelId.
823
+ */
824
+ export interface ModelCopyAuthorizationOutput {
825
+ /** ID of the target Azure resource where the document model should be copied to. */
826
+ targetResourceId: string;
827
+ /**
828
+ * Location of the target Azure resource where the document model should be copied
829
+ * to.
830
+ */
831
+ targetResourceRegion: string;
832
+ /** Identifier of the target document model. */
833
+ targetModelId: string;
834
+ /** URL of the copied document model in the target account. */
835
+ targetModelLocation: string;
836
+ /** Token used to authorize the request. */
837
+ accessToken: string;
838
+ /** Date/time when the access token expires. */
839
+ expirationDateTime: string;
840
+ }
841
+ /** Paged collection of DocumentModelDetails items */
842
+ export interface PagedDocumentModelDetailsOutput {
843
+ /** The DocumentModelDetails items on this page */
844
+ value: Array<DocumentModelDetailsOutput>;
845
+ /** The link to the next page of items */
846
+ nextLink?: string;
847
+ }
848
+ /** Paged collection of DocumentClassifierDetails items */
849
+ export interface PagedDocumentClassifierDetailsOutput {
850
+ /** The DocumentClassifierDetails items on this page */
851
+ value: Array<DocumentClassifierDetailsOutput>;
852
+ /** The link to the next page of items */
853
+ nextLink?: string;
854
+ }
855
+ /**
856
+ * Authorization to copy a document classifier to the specified target resource and
857
+ * classifierId.
858
+ */
859
+ export interface ClassifierCopyAuthorizationOutput {
860
+ /** ID of the target Azure resource where the document classifier should be copied to. */
861
+ targetResourceId: string;
862
+ /**
863
+ * Location of the target Azure resource where the document classifier should be copied
864
+ * to.
865
+ */
866
+ targetResourceRegion: string;
867
+ /** Identifier of the target document classifier. */
868
+ targetClassifierId: string;
869
+ /** URL of the copied document classifier in the target account. */
870
+ targetClassifierLocation: string;
871
+ /** Token used to authorize the request. */
872
+ accessToken: string;
873
+ /** Date/time when the access token expires. */
874
+ expirationDateTime: string;
875
+ }
876
+ /** Operation info. */
877
+ export type DocumentIntelligenceOperationDetailsOutput = DocumentIntelligenceOperationDetailsOutputParent | DocumentModelBuildOperationDetailsOutput | DocumentModelComposeOperationDetailsOutput | DocumentModelCopyToOperationDetailsOutput | DocumentClassifierCopyToOperationDetailsOutput | DocumentClassifierBuildOperationDetailsOutput;
878
+ /** Alias for DocumentIntelligenceOperationStatusOutput */
879
+ export type DocumentIntelligenceOperationStatusOutput = string;
880
+ /** Alias for OperationKindOutput */
881
+ export type OperationKindOutput = string;
882
+ /** Alias for DocumentBuildModeOutput */
883
+ export type DocumentBuildModeOutput = string;
884
+ /** Alias for SplitModeOutput */
885
+ export type SplitModeOutput = string;
886
+ /** Alias for DocumentFieldTypeOutput */
887
+ export type DocumentFieldTypeOutput = string;
888
+ /** Alias for DocumentAnalysisFeatureOutput */
889
+ export type DocumentAnalysisFeatureOutput = string;
890
+ /** Alias for ContentSourceKindOutput */
891
+ export type ContentSourceKindOutput = string;
892
+ /** Alias for StringIndexTypeOutput */
893
+ export type StringIndexTypeOutput = string;
894
+ /** Alias for DocumentContentFormatOutput */
895
+ export type DocumentContentFormatOutput = string;
896
+ /** Alias for LengthUnitOutput */
897
+ export type LengthUnitOutput = string;
898
+ /** Alias for DocumentSelectionMarkStateOutput */
899
+ export type DocumentSelectionMarkStateOutput = string;
900
+ /** Alias for DocumentBarcodeKindOutput */
901
+ export type DocumentBarcodeKindOutput = string;
902
+ /** Alias for DocumentFormulaKindOutput */
903
+ export type DocumentFormulaKindOutput = string;
904
+ /** Alias for ParagraphRoleOutput */
905
+ export type ParagraphRoleOutput = string;
906
+ /** Alias for DocumentTableCellKindOutput */
907
+ export type DocumentTableCellKindOutput = string;
908
+ /** Alias for DocumentFontStyleOutput */
909
+ export type DocumentFontStyleOutput = string;
910
+ /** Alias for DocumentFontWeightOutput */
911
+ export type DocumentFontWeightOutput = string;
912
+ /** Alias for DocumentSignatureTypeOutput */
913
+ export type DocumentSignatureTypeOutput = string;
914
+ //# sourceMappingURL=outputModels.d.ts.map