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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/CHANGELOG.md +154 -0
  2. package/LICENSE +21 -0
  3. package/README.md +4 -2
  4. package/dist/browser/clientDefinitions.d.ts +165 -0
  5. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  6. package/dist/browser/clientDefinitions.js.map +1 -0
  7. package/dist/browser/documentIntelligence.d.ts +16 -0
  8. package/dist/browser/documentIntelligence.d.ts.map +1 -0
  9. package/dist/browser/documentIntelligence.js +44 -0
  10. package/dist/browser/documentIntelligence.js.map +1 -0
  11. package/dist/browser/index.d.ts +12 -0
  12. package/dist/browser/index.d.ts.map +1 -0
  13. package/dist/browser/index.js +14 -0
  14. package/dist/browser/index.js.map +1 -0
  15. package/dist/browser/isUnexpected.d.ts +33 -0
  16. package/dist/browser/isUnexpected.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/isUnexpected.js +14 -6
  18. package/dist/browser/isUnexpected.js.map +1 -0
  19. package/dist/browser/logger.d.ts +2 -0
  20. package/dist/browser/logger.d.ts.map +1 -0
  21. package/dist/browser/models.d.ts +254 -0
  22. package/dist/browser/models.d.ts.map +1 -0
  23. package/dist/browser/models.js.map +1 -0
  24. package/dist/browser/outputModels.d.ts +887 -0
  25. package/dist/browser/outputModels.d.ts.map +1 -0
  26. package/dist/browser/outputModels.js.map +1 -0
  27. package/dist/browser/package.json +3 -0
  28. package/dist/browser/paginateHelper.d.ts +43 -0
  29. package/dist/browser/paginateHelper.d.ts.map +1 -0
  30. package/dist/browser/parameters.d.ts +330 -0
  31. package/dist/browser/parameters.d.ts.map +1 -0
  32. package/dist/browser/parameters.js.map +1 -0
  33. package/dist/browser/pollingHelper.d.ts +88 -0
  34. package/dist/browser/pollingHelper.d.ts.map +1 -0
  35. package/dist/browser/pollingHelper.js +118 -0
  36. package/dist/browser/pollingHelper.js.map +1 -0
  37. package/dist/browser/responses.d.ts +448 -0
  38. package/dist/browser/responses.d.ts.map +1 -0
  39. package/dist/browser/responses.js.map +1 -0
  40. package/dist/commonjs/clientDefinitions.d.ts +165 -0
  41. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  42. package/dist/commonjs/clientDefinitions.js +5 -0
  43. package/dist/commonjs/clientDefinitions.js.map +1 -0
  44. package/dist/commonjs/documentIntelligence.d.ts +16 -0
  45. package/dist/commonjs/documentIntelligence.d.ts.map +1 -0
  46. package/dist/commonjs/documentIntelligence.js +47 -0
  47. package/dist/commonjs/documentIntelligence.js.map +1 -0
  48. package/dist/commonjs/index.d.ts +12 -0
  49. package/dist/commonjs/index.d.ts.map +1 -0
  50. package/dist/commonjs/index.js +17 -0
  51. package/dist/commonjs/index.js.map +1 -0
  52. package/dist/commonjs/isUnexpected.d.ts +33 -0
  53. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  54. package/dist/commonjs/isUnexpected.js +104 -0
  55. package/dist/commonjs/isUnexpected.js.map +1 -0
  56. package/dist/commonjs/logger.d.ts +2 -0
  57. package/dist/commonjs/logger.d.ts.map +1 -0
  58. package/dist/commonjs/logger.js +8 -0
  59. package/dist/commonjs/logger.js.map +1 -0
  60. package/dist/commonjs/models.d.ts +254 -0
  61. package/dist/commonjs/models.d.ts.map +1 -0
  62. package/dist/commonjs/models.js +5 -0
  63. package/dist/commonjs/models.js.map +1 -0
  64. package/dist/commonjs/outputModels.d.ts +887 -0
  65. package/dist/commonjs/outputModels.d.ts.map +1 -0
  66. package/dist/commonjs/outputModels.js +5 -0
  67. package/dist/commonjs/outputModels.js.map +1 -0
  68. package/dist/commonjs/package.json +3 -0
  69. package/dist/commonjs/paginateHelper.d.ts +43 -0
  70. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  71. package/dist/commonjs/paginateHelper.js +73 -0
  72. package/dist/commonjs/paginateHelper.js.map +1 -0
  73. package/dist/commonjs/parameters.d.ts +330 -0
  74. package/dist/commonjs/parameters.d.ts.map +1 -0
  75. package/dist/commonjs/parameters.js +5 -0
  76. package/dist/commonjs/parameters.js.map +1 -0
  77. package/dist/commonjs/pollingHelper.d.ts +88 -0
  78. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  79. package/dist/commonjs/pollingHelper.js +121 -0
  80. package/dist/commonjs/pollingHelper.js.map +1 -0
  81. package/dist/commonjs/responses.d.ts +448 -0
  82. package/dist/commonjs/responses.d.ts.map +1 -0
  83. package/dist/commonjs/responses.js +5 -0
  84. package/dist/commonjs/responses.js.map +1 -0
  85. package/dist/commonjs/tsdoc-metadata.json +11 -0
  86. package/dist/esm/clientDefinitions.d.ts +165 -0
  87. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  88. package/dist/esm/clientDefinitions.js +4 -0
  89. package/dist/esm/clientDefinitions.js.map +1 -0
  90. package/dist/esm/documentIntelligence.d.ts +16 -0
  91. package/dist/esm/documentIntelligence.d.ts.map +1 -0
  92. package/dist/esm/documentIntelligence.js +44 -0
  93. package/dist/esm/documentIntelligence.js.map +1 -0
  94. package/dist/esm/index.d.ts +12 -0
  95. package/dist/esm/index.d.ts.map +1 -0
  96. package/dist/esm/index.js +14 -0
  97. package/dist/esm/index.js.map +1 -0
  98. package/dist/esm/isUnexpected.d.ts +33 -0
  99. package/dist/esm/isUnexpected.d.ts.map +1 -0
  100. package/dist/esm/isUnexpected.js +101 -0
  101. package/dist/esm/isUnexpected.js.map +1 -0
  102. package/dist/esm/logger.d.ts +2 -0
  103. package/dist/esm/logger.d.ts.map +1 -0
  104. package/dist/esm/logger.js +5 -0
  105. package/dist/esm/logger.js.map +1 -0
  106. package/dist/esm/models.d.ts +254 -0
  107. package/dist/esm/models.d.ts.map +1 -0
  108. package/dist/esm/models.js +4 -0
  109. package/dist/esm/models.js.map +1 -0
  110. package/dist/esm/outputModels.d.ts +887 -0
  111. package/dist/esm/outputModels.d.ts.map +1 -0
  112. package/dist/esm/outputModels.js +4 -0
  113. package/dist/esm/outputModels.js.map +1 -0
  114. package/dist/esm/package.json +3 -0
  115. package/dist/esm/paginateHelper.d.ts +43 -0
  116. package/dist/esm/paginateHelper.d.ts.map +1 -0
  117. package/dist/esm/paginateHelper.js +70 -0
  118. package/dist/esm/paginateHelper.js.map +1 -0
  119. package/dist/esm/parameters.d.ts +330 -0
  120. package/dist/esm/parameters.d.ts.map +1 -0
  121. package/dist/esm/parameters.js +4 -0
  122. package/dist/esm/parameters.js.map +1 -0
  123. package/dist/esm/pollingHelper.d.ts +88 -0
  124. package/dist/esm/pollingHelper.d.ts.map +1 -0
  125. package/dist/esm/pollingHelper.js +118 -0
  126. package/dist/esm/pollingHelper.js.map +1 -0
  127. package/dist/esm/responses.d.ts +448 -0
  128. package/dist/esm/responses.d.ts.map +1 -0
  129. package/dist/esm/responses.js +4 -0
  130. package/dist/esm/responses.js.map +1 -0
  131. package/dist/react-native/clientDefinitions.d.ts +165 -0
  132. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  133. package/dist/react-native/clientDefinitions.js +4 -0
  134. package/dist/react-native/clientDefinitions.js.map +1 -0
  135. package/dist/react-native/documentIntelligence.d.ts +16 -0
  136. package/dist/react-native/documentIntelligence.d.ts.map +1 -0
  137. package/dist/react-native/documentIntelligence.js +44 -0
  138. package/dist/react-native/documentIntelligence.js.map +1 -0
  139. package/dist/react-native/index.d.ts +12 -0
  140. package/dist/react-native/index.d.ts.map +1 -0
  141. package/dist/react-native/index.js +14 -0
  142. package/dist/react-native/index.js.map +1 -0
  143. package/dist/react-native/isUnexpected.d.ts +33 -0
  144. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  145. package/dist/react-native/isUnexpected.js +101 -0
  146. package/dist/react-native/isUnexpected.js.map +1 -0
  147. package/dist/react-native/logger.d.ts +2 -0
  148. package/dist/react-native/logger.d.ts.map +1 -0
  149. package/dist/react-native/logger.js +5 -0
  150. package/dist/react-native/logger.js.map +1 -0
  151. package/dist/react-native/models.d.ts +254 -0
  152. package/dist/react-native/models.d.ts.map +1 -0
  153. package/dist/react-native/models.js +4 -0
  154. package/dist/react-native/models.js.map +1 -0
  155. package/dist/react-native/outputModels.d.ts +887 -0
  156. package/dist/react-native/outputModels.d.ts.map +1 -0
  157. package/dist/react-native/outputModels.js +4 -0
  158. package/dist/react-native/outputModels.js.map +1 -0
  159. package/dist/react-native/package.json +3 -0
  160. package/dist/react-native/paginateHelper.d.ts +43 -0
  161. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  162. package/dist/react-native/paginateHelper.js +70 -0
  163. package/dist/react-native/paginateHelper.js.map +1 -0
  164. package/dist/react-native/parameters.d.ts +330 -0
  165. package/dist/react-native/parameters.d.ts.map +1 -0
  166. package/dist/react-native/parameters.js +4 -0
  167. package/dist/react-native/parameters.js.map +1 -0
  168. package/dist/react-native/pollingHelper.d.ts +88 -0
  169. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  170. package/dist/react-native/pollingHelper.js +118 -0
  171. package/dist/react-native/pollingHelper.js.map +1 -0
  172. package/dist/react-native/responses.d.ts +448 -0
  173. package/dist/react-native/responses.d.ts.map +1 -0
  174. package/dist/react-native/responses.js +4 -0
  175. package/dist/react-native/responses.js.map +1 -0
  176. package/package.json +113 -87
  177. package/review/ai-document-intelligence.api.md +569 -80
  178. package/dist/index.js +0 -252
  179. package/dist/index.js.map +0 -1
  180. package/dist-esm/src/clientDefinitions.js.map +0 -1
  181. package/dist-esm/src/documentIntelligence.js +0 -30
  182. package/dist-esm/src/documentIntelligence.js.map +0 -1
  183. package/dist-esm/src/index.js +0 -14
  184. package/dist-esm/src/index.js.map +0 -1
  185. package/dist-esm/src/isUnexpected.js.map +0 -1
  186. package/dist-esm/src/models.js.map +0 -1
  187. package/dist-esm/src/outputModels.js.map +0 -1
  188. package/dist-esm/src/parameters.js.map +0 -1
  189. package/dist-esm/src/pollingHelper.js +0 -43
  190. package/dist-esm/src/pollingHelper.js.map +0 -1
  191. package/dist-esm/src/responses.js.map +0 -1
  192. package/types/ai-document-intelligence.d.ts +0 -2003
  193. /package/{dist-esm/src → dist/browser}/clientDefinitions.js +0 -0
  194. /package/{dist-esm/src → dist/browser}/logger.js +0 -0
  195. /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
  196. /package/{dist-esm/src → dist/browser}/models.js +0 -0
  197. /package/{dist-esm/src → dist/browser}/outputModels.js +0 -0
  198. /package/{dist-esm/src → dist/browser}/paginateHelper.js +0 -0
  199. /package/{dist-esm/src → dist/browser}/paginateHelper.js.map +0 -0
  200. /package/{dist-esm/src → dist/browser}/parameters.js +0 -0
  201. /package/{dist-esm/src → dist/browser}/responses.js +0 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,154 @@
1
+ # Release History
2
+
3
+ ## 1.0.0-beta.3 (2024-08-20)
4
+
5
+ ### Features Added
6
+
7
+ - Added support for the Analyze Batch Documents API with the long-running operations, `/documentModels/{modelId}:analyzeBatch`.
8
+ - Added support for method `/documentModels/{modelId}/analyzeResults/{resultId}/pdf`.
9
+ - Added support for method `/documentModels/{modelId}/analyzeResults/{resultId}/figures/{figureId}`.
10
+ - Added support for the analysis method to specify other kinds of output through `AnalyzeDocumentFromStreamBodyParam#output` param : can be `pdf` and `figures`.
11
+ - Added property `id` to `Output` model.
12
+ - Added support for the Copy Classifier API with method `/documentClassifiers:authorizeCopy`.
13
+ - Added method `/documentClassifiers/{classifierId}:copyTo`.
14
+ - Added new enum type to `DocumentBuildMode`: `generative`.
15
+ - Added property `warnings` to `AnalyzeResultOutput ` model.
16
+ - Added properties `classifierId`, `split`, and `trainingHours` to `DocumentModelDetailsOutput` model.
17
+ - Added properties `confidenceThreshold`, `features`, `maxDocumentsToAnalyze`, `modelId`, and `queryFields` to `DocumentTypeDetailsOutput` model.
18
+ - Added properties `allowOverwrite` and `maxTrainingHours` to `BuildDocumentModelRequest` model.
19
+ - Added parameter `pages` to `ClassifyDocument` overloads.
20
+ - Added properties `classifierId`, `docTypes`, and `split` to `ComposeDocumentModelRequest`.
21
+ - Added property `allowOverwrite` to `BuildDocumentClassifierRequest`.
22
+ - Added property `getOperationId()` method to the pollers.
23
+
24
+ ### Other Changes
25
+
26
+ - The `@azure-rest/ai-document-intelligence` Rest Level Client Library, now targets the Azure AI Document Intelligence service API version `2024-07-31-preview`. Support for `2024-02-29-preview` has been removed.
27
+ - Removed support for extracting lists from analyzed documents:
28
+ - Removed models `DocumentListOutput` and `DocumentListItemOutput`.
29
+ - Removed property `lists` from `AnalyzeResultOutput`.
30
+ - Changes to the Compose Document API:
31
+ - Removed model `ComponentDocumentModelDetails`.
32
+ - Removed property `componentModels` from `ComposeDocumentModelRequest`.
33
+ - `ComposeDocumentModelRequest` now requires a map of `DocumentTypeDetails` and a classifier ID.
34
+ - Removed model `QuotaDetailsOutput`.
35
+ - Removed property `customNeuralDocumentModelBuilds` from `ResourceDetailsOutput`.
36
+ - Removed required property `fieldSchema` and from `DocumentTypeDetailsOuput`.
37
+ - `DocumentFieldType` is now a required property of `DocumentFieldSchema`.
38
+
39
+ ## 1.0.0-beta.2 (2024-03-06)
40
+
41
+ ### Features Added
42
+
43
+ - Support for "retry-after" header has been added for long-running operations, including `/documentModels/{modelId}:analyze`, `/documentModels:build`, and `/documentClassifiers:build`.
44
+ - `BuildDocumentClassifierContent` now includes a new property, `baseClassifierId`.
45
+ - `DocumentClassifierDetailsOutput` now includes a new property, `baseClassifierId`.
46
+ - A new property, `warnings`, has been added to `DocumentModelDetailsOutput` and `DocumentClassifierDetailsOutput`, represents an array of objects with `code`, `message`, and `target`.
47
+ - `DocumentFieldOutput` now includes a new property, `valueSelectionGroup`.
48
+ - A new member, `"completed"`, has been added to `OperationDetails#status`.
49
+
50
+ ### Breaking Changes
51
+
52
+ - The `@azure-rest/ai-document-intelligence` Rest Level Client Library, previously known as Form Recognizer, now targets the Azure AI Document Intelligence service API version `"2024-02-29-preview"`. Please note that support for `2023-10-31-preview` has been discontinued.
53
+
54
+ ## 1.0.0-beta.1 (2023-11-16)
55
+
56
+ ### Features Added
57
+
58
+ This marks the first preview of `@azure-rest/ai-document-intelligence` Rest Level Client Library for the Azure AI Document Intelligence service (formerly known as Form Recognizer), targeting service API version `"2023-10-31-preview"`.
59
+
60
+ _**Note: Form Recognizer has been rebranded to Document Intelligence.**_
61
+
62
+ - Updates all REST API operation paths from `{endpoint}/formrecognizer` to `{endpoint}/documentintelligence`. SDK would handle this change automatically, users would not have to do additional work to support this.
63
+ - `@azure-rest/ai-document-intelligence` is the new package, replacing `@azure/ai-form-recognizer` package. The new package supports a Rest Level Client, which is part of the new generation of Azure SDKs to simplify the development experience. The new package is not compatible with the previous `@azure/ai-form-recognizer` package without necessary changes to your code.
64
+ - **Breaking Changes (with the `@azure/ai-form-recognizer` SDK)** - API shapes have been designed from scratch to support the new Rest Level Client for the Document Intelligence service. Please refer to the [Readme](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/documentintelligence/ai-document-intelligence-rest/README.md) and [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documentintelligence/ai-document-intelligence-rest/samples) for more understanding.
65
+
66
+ ### `"2023-10-31-preview"` Service API version
67
+
68
+ The new `"2023-10-31-preview"` service version comes with some new features and a few breaking changes when compared to the API versions supported by the `@azure/ai-form-recognizer` library.
69
+
70
+ **New Features**
71
+
72
+ - **Markdown content format**
73
+
74
+ Supports output with Markdown content format along with the default plain _text_. For now, this is only supported for "prebuilt-layout". Markdown content format is deemed a more friendly format for LLM consumption in a chat or automation use scenario.
75
+
76
+ Service follows the GFM spec ([GitHub Flavored Markdown](https://github.github.com/gfm/)) for the Markdown format. Also introduces a new _contentFormat_ property with value "text" or "markdown" to indicate the result content format.
77
+
78
+ ```ts
79
+ import DocumentIntelligence from "@azure-rest/ai-document-intelligence";
80
+ const client = DocumentIntelligence(process.env["DOCUMENT_INTELLIGENCE_ENDPOINT"], {
81
+ key: process.env["DOCUMENT_INTELLIGENCE_API_KEY"],
82
+ });
83
+
84
+ const initialResponse = await client
85
+ .path("/documentModels/{modelId}:analyze", "prebuilt-layout")
86
+ .post({
87
+ contentType: "application/json",
88
+ body: {
89
+ urlSource:
90
+ "https://raw.githubusercontent.com/Azure/azure-sdk-for-js/6704eff082aaaf2d97c1371a28461f512f8d748a/sdk/formrecognizer/ai-form-recognizer/assets/forms/Invoice_1.pdf",
91
+ },
92
+ queryParameters: { outputContentFormat: "markdown" }, // <-- new query parameter
93
+ });
94
+ ```
95
+
96
+ - **Query Fields**
97
+
98
+ When this feature flag is specified, the service will further extract the values of the fields specified via the queryFields query parameter to supplement any existing fields defined by the model as fallback.
99
+
100
+ ```ts
101
+ await client.path("/documentModels/{modelId}:analyze", "prebuilt-layout").post({
102
+ contentType: "application/json",
103
+ body: { urlSource: "..." },
104
+ queryParameters: {
105
+ features: ["queryFields"],
106
+ queryFields: ["NumberOfGuests", "StoreNumber"],
107
+ }, // <-- new query parameter
108
+ });
109
+ ```
110
+
111
+ - **Split Options**
112
+
113
+ In the previous API versions supported by the older `@azure/ai-form-recognizer` library, document splitting and classification operation (`"/documentClassifiers/{classifierId}:analyze"`) always tried to split the input file into multiple documents.
114
+
115
+ To enable a wider set of scenarios, service introduces a "split" query parameter with the new "2023-10-31-preview" service version. The following values are supported:
116
+
117
+ - `split: "auto"`
118
+
119
+ Let service determine where to split.
120
+
121
+ - `split: "none"`
122
+
123
+ The entire file is treated as a single document. No splitting is performed.
124
+
125
+ - `split: "perPage"`
126
+
127
+ Each page is treated as a separate document. Each empty page is kept as its own document.
128
+
129
+ **Breaking Changes**
130
+
131
+ - **prebuilt-receipt** - Currency related fields have been updated. Currency symbol ("$") and code ("USD") are returned along with the amount as shown below.
132
+
133
+ ```json
134
+ {
135
+ "content": "$123.45",
136
+ "confidence": 0.995,
137
+ "type": "currency",
138
+ "valueCurrency": {
139
+ "amount": 123.45,
140
+ "currencySymbol": "$",
141
+ "currencyCode": "USD"
142
+ },
143
+ ...
144
+ }
145
+ ```
146
+
147
+ **Retirements/Deprecations**
148
+
149
+ - `"prebuilt-businessCard"` model is retired.
150
+ - `"prebuilt-document"` model is retired, this model is essentially `"prebuilt-layout"` with `features: ["keyValuePairs"]` specified. _(This is only supported as an optional feature for "prebuilt-layout" and "prebuilt-invoice".)_
151
+
152
+ If you wish to still use these models, please rely on the older `@azure/ai-form-recognizer` library through the older service API versions.
153
+
154
+ If you were using the old `@azure/ai-form-recognizer` package, please refer [MIGRATION_GUIDE.MD](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/documentintelligence/ai-document-intelligence-rest/MIGRATION-FR_v4-DI_v1.md) for more details.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Microsoft
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -15,12 +15,13 @@ Key links:
15
15
  - [Changelog](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documentintelligence/ai-document-intelligence-rest/CHANGELOG.md)
16
16
  - [Migration Guide from Form Recognizer](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documentintelligence/ai-document-intelligence-rest/MIGRATION-FR_v4-DI_v1.md)
17
17
 
18
- > This version of the client library defaults to the `"2024-02-29-preview"` version of the service.
18
+ > This version of the client library defaults to the `"2024-07-31-preview"` version of the service.
19
19
 
20
20
  This table shows the relationship between SDK versions and supported API versions of the service:
21
21
 
22
22
  | SDK version | Supported API version of service |
23
23
  | ------------ | -------------------------------- |
24
+ | 1.0.0-beta.3 | 2024-07-31-preview |
24
25
  | 1.0.0-beta.2 | 2024-02-29-preview |
25
26
  | 1.0.0-beta.1 | 2023-10-31-preview |
26
27
 
@@ -30,6 +31,7 @@ The below table describes the relationship of each client and its supported API
30
31
 
31
32
  | Service API version | Supported clients | Package |
32
33
  | ------------------- | ------------------------------------------------------------ | ------------------------------------------------------------- |
34
+ | 2024-07-31-preview | DocumentIntelligenceClient | `@azure-rest/ai-document-intelligence` version `1.0.0-beta.3` |
33
35
  | 2024-02-29-preview | DocumentIntelligenceClient | `@azure-rest/ai-document-intelligence` version `1.0.0-beta.2` |
34
36
  | 2023-10-31-preview | DocumentIntelligenceClient | `@azure-rest/ai-document-intelligence` version `1.0.0-beta.1` |
35
37
  | 2023-07-31 | DocumentAnalysisClient and DocumentModelAdministrationClient | `@azure/ai-form-recognizer` version `^5.0.0` |
@@ -75,7 +77,7 @@ import DocumentIntelligence from "@azure-rest/ai-document-intelligence";
75
77
 
76
78
  const client = DocumentIntelligence(
77
79
  process.env["DOCUMENT_INTELLIGENCE_ENDPOINT"],
78
- new DefaultAzureCredential()
80
+ new DefaultAzureCredential(),
79
81
  );
80
82
  ```
81
83
 
@@ -0,0 +1,165 @@
1
+ import { ListOperationsParameters, GetDocumentModelBuildOperationParameters, GetDocumentModelComposeOperationParameters, GetDocumentModelCopyToOperationParameters, GetDocumentClassifierCopyToOperationParameters, GetDocumentClassifierBuildOperationParameters, GetOperationParameters, GetResourceInfoParameters, GetAnalyzeResultParameters, GetAnalyzeResultPdfParameters, GetAnalyzeResultFigureParameters, AnalyzeDocumentFromStreamParameters, AnalyzeDocumentParameters, GetAnalyzeBatchResultParameters, AnalyzeBatchDocumentsParameters, GetModelParameters, DeleteModelParameters, BuildModelParameters, ComposeModelParameters, AuthorizeModelCopyParameters, CopyModelToParameters, ListModelsParameters, BuildClassifierParameters, ListClassifiersParameters, GetClassifierParameters, DeleteClassifierParameters, ClassifyDocumentFromStreamParameters, ClassifyDocumentParameters, GetClassifyResultParameters, AuthorizeClassifierCopyParameters, CopyClassifierToParameters } from "./parameters.js";
2
+ import { ListOperations200Response, ListOperationsDefaultResponse, GetDocumentModelBuildOperation200Response, GetDocumentModelBuildOperationDefaultResponse, GetDocumentModelComposeOperation200Response, GetDocumentModelComposeOperationDefaultResponse, GetDocumentModelCopyToOperation200Response, GetDocumentModelCopyToOperationDefaultResponse, GetDocumentClassifierCopyToOperation200Response, GetDocumentClassifierCopyToOperationDefaultResponse, GetDocumentClassifierBuildOperation200Response, GetDocumentClassifierBuildOperationDefaultResponse, GetOperation200Response, GetOperationDefaultResponse, GetResourceInfo200Response, GetResourceInfoDefaultResponse, GetAnalyzeResult200Response, GetAnalyzeResultDefaultResponse, GetAnalyzeResultPdf200Response, GetAnalyzeResultPdfDefaultResponse, GetAnalyzeResultFigure200Response, GetAnalyzeResultFigureDefaultResponse, AnalyzeDocumentFromStream202Response, AnalyzeDocumentFromStreamDefaultResponse, AnalyzeDocument202Response, AnalyzeDocumentDefaultResponse, GetAnalyzeBatchResult200Response, GetAnalyzeBatchResultDefaultResponse, AnalyzeBatchDocuments202Response, AnalyzeBatchDocumentsDefaultResponse, GetModel200Response, GetModelDefaultResponse, DeleteModel204Response, DeleteModelDefaultResponse, BuildModel202Response, BuildModelDefaultResponse, ComposeModel202Response, ComposeModelDefaultResponse, AuthorizeModelCopy200Response, AuthorizeModelCopyDefaultResponse, CopyModelTo202Response, CopyModelToDefaultResponse, ListModels200Response, ListModelsDefaultResponse, BuildClassifier202Response, BuildClassifierDefaultResponse, ListClassifiers200Response, ListClassifiersDefaultResponse, GetClassifier200Response, GetClassifierDefaultResponse, DeleteClassifier204Response, DeleteClassifierDefaultResponse, ClassifyDocumentFromStream202Response, ClassifyDocumentFromStreamDefaultResponse, ClassifyDocument202Response, ClassifyDocumentDefaultResponse, GetClassifyResult200Response, GetClassifyResultDefaultResponse, AuthorizeClassifierCopy200Response, AuthorizeClassifierCopyDefaultResponse, CopyClassifierTo202Response, CopyClassifierToDefaultResponse } from "./responses.js";
3
+ import { Client, StreamableMethod } from "@azure-rest/core-client";
4
+ export interface ListOperations {
5
+ /** Lists all operations. */
6
+ get(options?: ListOperationsParameters): StreamableMethod<ListOperations200Response | ListOperationsDefaultResponse>;
7
+ }
8
+ export interface GetDocumentModelBuildOperation {
9
+ /** Gets operation info. */
10
+ get(options?: GetDocumentModelBuildOperationParameters): StreamableMethod<GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse>;
11
+ /** Gets operation info. */
12
+ get(options?: GetDocumentModelComposeOperationParameters): StreamableMethod<GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse>;
13
+ /** Gets operation info. */
14
+ get(options?: GetDocumentModelCopyToOperationParameters): StreamableMethod<GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse>;
15
+ /** Gets operation info. */
16
+ get(options?: GetDocumentClassifierCopyToOperationParameters): StreamableMethod<GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse>;
17
+ /** Gets operation info. */
18
+ get(options?: GetDocumentClassifierBuildOperationParameters): StreamableMethod<GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse>;
19
+ /** Gets operation info. */
20
+ get(options?: GetOperationParameters): StreamableMethod<GetOperation200Response | GetOperationDefaultResponse>;
21
+ }
22
+ export interface GetResourceInfo {
23
+ /** Return information about the current resource. */
24
+ get(options?: GetResourceInfoParameters): StreamableMethod<GetResourceInfo200Response | GetResourceInfoDefaultResponse>;
25
+ }
26
+ export interface GetAnalyzeResult {
27
+ /** Gets the result of document analysis. */
28
+ get(options?: GetAnalyzeResultParameters): StreamableMethod<GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse>;
29
+ }
30
+ export interface GetAnalyzeResultPdf {
31
+ /** Gets the generated searchable PDF output from document analysis. */
32
+ get(options?: GetAnalyzeResultPdfParameters): StreamableMethod<GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse>;
33
+ }
34
+ export interface GetAnalyzeResultFigure {
35
+ /** Gets the generated cropped image of specified figure from document analysis. */
36
+ get(options?: GetAnalyzeResultFigureParameters): StreamableMethod<GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse>;
37
+ }
38
+ export interface AnalyzeDocumentFromStream {
39
+ /** Analyzes document with document model. */
40
+ post(options: AnalyzeDocumentFromStreamParameters): StreamableMethod<AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse>;
41
+ /** Analyzes document with document model. */
42
+ post(options: AnalyzeDocumentParameters): StreamableMethod<AnalyzeDocument202Response | AnalyzeDocumentDefaultResponse>;
43
+ }
44
+ export interface GetAnalyzeBatchResult {
45
+ /** Gets the result of batch document analysis. */
46
+ get(options?: GetAnalyzeBatchResultParameters): StreamableMethod<GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse>;
47
+ }
48
+ export interface AnalyzeBatchDocuments {
49
+ /** Analyzes batch documents with document model. */
50
+ post(options: AnalyzeBatchDocumentsParameters): StreamableMethod<AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse>;
51
+ }
52
+ export interface GetModel {
53
+ /** Gets detailed document model information. */
54
+ get(options?: GetModelParameters): StreamableMethod<GetModel200Response | GetModelDefaultResponse>;
55
+ /** Deletes document model. */
56
+ delete(options?: DeleteModelParameters): StreamableMethod<DeleteModel204Response | DeleteModelDefaultResponse>;
57
+ }
58
+ export interface BuildModel {
59
+ /** Builds a custom document analysis model. */
60
+ post(options: BuildModelParameters): StreamableMethod<BuildModel202Response | BuildModelDefaultResponse>;
61
+ }
62
+ export interface ComposeModel {
63
+ /** Creates a new document model from document types of existing document models. */
64
+ post(options: ComposeModelParameters): StreamableMethod<ComposeModel202Response | ComposeModelDefaultResponse>;
65
+ }
66
+ export interface AuthorizeModelCopy {
67
+ /**
68
+ * Generates authorization to copy a document model to this location with
69
+ * specified modelId and optional description.
70
+ */
71
+ post(options: AuthorizeModelCopyParameters): StreamableMethod<AuthorizeModelCopy200Response | AuthorizeModelCopyDefaultResponse>;
72
+ }
73
+ export interface CopyModelTo {
74
+ /** Copies document model to the target resource, region, and modelId. */
75
+ post(options: CopyModelToParameters): StreamableMethod<CopyModelTo202Response | CopyModelToDefaultResponse>;
76
+ }
77
+ export interface ListModels {
78
+ /** List all document models */
79
+ get(options?: ListModelsParameters): StreamableMethod<ListModels200Response | ListModelsDefaultResponse>;
80
+ }
81
+ export interface BuildClassifier {
82
+ /** Builds a custom document classifier. */
83
+ post(options: BuildClassifierParameters): StreamableMethod<BuildClassifier202Response | BuildClassifierDefaultResponse>;
84
+ }
85
+ export interface ListClassifiers {
86
+ /** List all document classifiers. */
87
+ get(options?: ListClassifiersParameters): StreamableMethod<ListClassifiers200Response | ListClassifiersDefaultResponse>;
88
+ }
89
+ export interface GetClassifier {
90
+ /** Gets detailed document classifier information. */
91
+ get(options?: GetClassifierParameters): StreamableMethod<GetClassifier200Response | GetClassifierDefaultResponse>;
92
+ /** Deletes document classifier. */
93
+ delete(options?: DeleteClassifierParameters): StreamableMethod<DeleteClassifier204Response | DeleteClassifierDefaultResponse>;
94
+ }
95
+ export interface ClassifyDocumentFromStream {
96
+ /** Classifies document with document classifier. */
97
+ post(options: ClassifyDocumentFromStreamParameters): StreamableMethod<ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse>;
98
+ /** Classifies document with document classifier. */
99
+ post(options: ClassifyDocumentParameters): StreamableMethod<ClassifyDocument202Response | ClassifyDocumentDefaultResponse>;
100
+ }
101
+ export interface GetClassifyResult {
102
+ /** Gets the result of document classifier. */
103
+ get(options?: GetClassifyResultParameters): StreamableMethod<GetClassifyResult200Response | GetClassifyResultDefaultResponse>;
104
+ }
105
+ export interface AuthorizeClassifierCopy {
106
+ /**
107
+ * Generates authorization to copy a document classifier to this location with
108
+ * specified classifierId and optional description.
109
+ */
110
+ post(options: AuthorizeClassifierCopyParameters): StreamableMethod<AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse>;
111
+ }
112
+ export interface CopyClassifierTo {
113
+ /** Copies document classifier to the target resource, region, and classifierId. */
114
+ post(options: CopyClassifierToParameters): StreamableMethod<CopyClassifierTo202Response | CopyClassifierToDefaultResponse>;
115
+ }
116
+ export interface Routes {
117
+ /** Resource for '/operations' has methods for the following verbs: get */
118
+ (path: "/operations"): ListOperations;
119
+ /** Resource for '/operations/\{operationId\}' has methods for the following verbs: get */
120
+ (path: "/operations/{operationId}", operationId: string): GetDocumentModelBuildOperation;
121
+ /** Resource for '/info' has methods for the following verbs: get */
122
+ (path: "/info"): GetResourceInfo;
123
+ /** Resource for '/documentModels/\{modelId\}/analyzeResults/\{resultId\}' has methods for the following verbs: get */
124
+ (path: "/documentModels/{modelId}/analyzeResults/{resultId}", modelId: string, resultId: string): GetAnalyzeResult;
125
+ /** Resource for '/documentModels/\{modelId\}/analyzeResults/\{resultId\}/pdf' has methods for the following verbs: get */
126
+ (path: "/documentModels/{modelId}/analyzeResults/{resultId}/pdf", modelId: string, resultId: string): GetAnalyzeResultPdf;
127
+ /** Resource for '/documentModels/\{modelId\}/analyzeResults/\{resultId\}/figures/\{figureId\}' has methods for the following verbs: get */
128
+ (path: "/documentModels/{modelId}/analyzeResults/{resultId}/figures/{figureId}", modelId: string, resultId: string, figureId: string): GetAnalyzeResultFigure;
129
+ /** Resource for '/documentModels/\{modelId\}:analyze' has methods for the following verbs: post */
130
+ (path: "/documentModels/{modelId}:analyze", modelId: string): AnalyzeDocumentFromStream;
131
+ /** Resource for '/documentModels/\{modelId\}/analyzeBatchResults/\{resultId\}' has methods for the following verbs: get */
132
+ (path: "/documentModels/{modelId}/analyzeBatchResults/{resultId}", modelId: string, resultId: string): GetAnalyzeBatchResult;
133
+ /** Resource for '/documentModels/\{modelId\}:analyzeBatch' has methods for the following verbs: post */
134
+ (path: "/documentModels/{modelId}:analyzeBatch", modelId: string): AnalyzeBatchDocuments;
135
+ /** Resource for '/documentModels/\{modelId\}' has methods for the following verbs: get, delete */
136
+ (path: "/documentModels/{modelId}", modelId: string): GetModel;
137
+ /** Resource for '/documentModels:build' has methods for the following verbs: post */
138
+ (path: "/documentModels:build"): BuildModel;
139
+ /** Resource for '/documentModels:compose' has methods for the following verbs: post */
140
+ (path: "/documentModels:compose"): ComposeModel;
141
+ /** Resource for '/documentModels:authorizeCopy' has methods for the following verbs: post */
142
+ (path: "/documentModels:authorizeCopy"): AuthorizeModelCopy;
143
+ /** Resource for '/documentModels/\{modelId\}:copyTo' has methods for the following verbs: post */
144
+ (path: "/documentModels/{modelId}:copyTo", modelId: string): CopyModelTo;
145
+ /** Resource for '/documentModels' has methods for the following verbs: get */
146
+ (path: "/documentModels"): ListModels;
147
+ /** Resource for '/documentClassifiers:build' has methods for the following verbs: post */
148
+ (path: "/documentClassifiers:build"): BuildClassifier;
149
+ /** Resource for '/documentClassifiers' has methods for the following verbs: get */
150
+ (path: "/documentClassifiers"): ListClassifiers;
151
+ /** Resource for '/documentClassifiers/\{classifierId\}' has methods for the following verbs: get, delete */
152
+ (path: "/documentClassifiers/{classifierId}", classifierId: string): GetClassifier;
153
+ /** Resource for '/documentClassifiers/\{classifierId\}:analyze' has methods for the following verbs: post */
154
+ (path: "/documentClassifiers/{classifierId}:analyze", classifierId: string): ClassifyDocumentFromStream;
155
+ /** Resource for '/documentClassifiers/\{classifierId\}/analyzeResults/\{resultId\}' has methods for the following verbs: get */
156
+ (path: "/documentClassifiers/{classifierId}/analyzeResults/{resultId}", classifierId: string, resultId: string): GetClassifyResult;
157
+ /** Resource for '/documentClassifiers:authorizeCopy' has methods for the following verbs: post */
158
+ (path: "/documentClassifiers:authorizeCopy"): AuthorizeClassifierCopy;
159
+ /** Resource for '/documentClassifiers/\{classifierId\}:copyTo' has methods for the following verbs: post */
160
+ (path: "/documentClassifiers/{classifierId}:copyTo", classifierId: string): CopyClassifierTo;
161
+ }
162
+ export type DocumentIntelligenceClient = Client & {
163
+ path: Routes;
164
+ };
165
+ //# sourceMappingURL=clientDefinitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientDefinitions.d.ts","sourceRoot":"","sources":["../../src/clientDefinitions.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,wBAAwB,EACxB,wCAAwC,EACxC,0CAA0C,EAC1C,yCAAyC,EACzC,8CAA8C,EAC9C,6CAA6C,EAC7C,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,gCAAgC,EAChC,mCAAmC,EACnC,yBAAyB,EACzB,+BAA+B,EAC/B,+BAA+B,EAC/B,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,4BAA4B,EAC5B,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,0BAA0B,EAC1B,oCAAoC,EACpC,0BAA0B,EAC1B,2BAA2B,EAC3B,iCAAiC,EACjC,0BAA0B,EAC3B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,yCAAyC,EACzC,6CAA6C,EAC7C,2CAA2C,EAC3C,+CAA+C,EAC/C,0CAA0C,EAC1C,8CAA8C,EAC9C,+CAA+C,EAC/C,mDAAmD,EACnD,8CAA8C,EAC9C,kDAAkD,EAClD,uBAAuB,EACvB,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,EAC9B,2BAA2B,EAC3B,+BAA+B,EAC/B,8BAA8B,EAC9B,kCAA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;IACzE,8EAA8E;IAC9E,CAAC,IAAI,EAAE,iBAAiB,GAAG,UAAU,CAAC;IACtC,0FAA0F;IAC1F,CAAC,IAAI,EAAE,4BAA4B,GAAG,eAAe,CAAC;IACtD,mFAAmF;IACnF,CAAC,IAAI,EAAE,sBAAsB,GAAG,eAAe,CAAC;IAChD,4GAA4G;IAC5G,CAAC,IAAI,EAAE,qCAAqC,EAAE,YAAY,EAAE,MAAM,GAAG,aAAa,CAAC;IACnF,6GAA6G;IAC7G,CACE,IAAI,EAAE,6CAA6C,EACnD,YAAY,EAAE,MAAM,GACnB,0BAA0B,CAAC;IAC9B,gIAAgI;IAChI,CACE,IAAI,EAAE,+DAA+D,EACrE,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,GACf,iBAAiB,CAAC;IACrB,kGAAkG;IAClG,CAAC,IAAI,EAAE,oCAAoC,GAAG,uBAAuB,CAAC;IACtE,4GAA4G;IAC5G,CAAC,IAAI,EAAE,4CAA4C,EAAE,YAAY,EAAE,MAAM,GAAG,gBAAgB,CAAC;CAC9F;AAED,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientDefinitions.js","sourceRoot":"","sources":["../../src/clientDefinitions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n ListOperationsParameters,\n GetDocumentModelBuildOperationParameters,\n GetDocumentModelComposeOperationParameters,\n GetDocumentModelCopyToOperationParameters,\n GetDocumentClassifierCopyToOperationParameters,\n GetDocumentClassifierBuildOperationParameters,\n GetOperationParameters,\n GetResourceInfoParameters,\n GetAnalyzeResultParameters,\n GetAnalyzeResultPdfParameters,\n GetAnalyzeResultFigureParameters,\n AnalyzeDocumentFromStreamParameters,\n AnalyzeDocumentParameters,\n GetAnalyzeBatchResultParameters,\n AnalyzeBatchDocumentsParameters,\n GetModelParameters,\n DeleteModelParameters,\n BuildModelParameters,\n ComposeModelParameters,\n AuthorizeModelCopyParameters,\n CopyModelToParameters,\n ListModelsParameters,\n BuildClassifierParameters,\n ListClassifiersParameters,\n GetClassifierParameters,\n DeleteClassifierParameters,\n ClassifyDocumentFromStreamParameters,\n ClassifyDocumentParameters,\n GetClassifyResultParameters,\n AuthorizeClassifierCopyParameters,\n CopyClassifierToParameters,\n} from \"./parameters.js\";\nimport {\n ListOperations200Response,\n ListOperationsDefaultResponse,\n GetDocumentModelBuildOperation200Response,\n GetDocumentModelBuildOperationDefaultResponse,\n GetDocumentModelComposeOperation200Response,\n GetDocumentModelComposeOperationDefaultResponse,\n GetDocumentModelCopyToOperation200Response,\n GetDocumentModelCopyToOperationDefaultResponse,\n GetDocumentClassifierCopyToOperation200Response,\n GetDocumentClassifierCopyToOperationDefaultResponse,\n GetDocumentClassifierBuildOperation200Response,\n GetDocumentClassifierBuildOperationDefaultResponse,\n GetOperation200Response,\n GetOperationDefaultResponse,\n GetResourceInfo200Response,\n GetResourceInfoDefaultResponse,\n GetAnalyzeResult200Response,\n GetAnalyzeResultDefaultResponse,\n GetAnalyzeResultPdf200Response,\n GetAnalyzeResultPdfDefaultResponse,\n GetAnalyzeResultFigure200Response,\n GetAnalyzeResultFigureDefaultResponse,\n AnalyzeDocumentFromStream202Response,\n AnalyzeDocumentFromStreamDefaultResponse,\n AnalyzeDocument202Response,\n AnalyzeDocumentDefaultResponse,\n GetAnalyzeBatchResult200Response,\n GetAnalyzeBatchResultDefaultResponse,\n AnalyzeBatchDocuments202Response,\n AnalyzeBatchDocumentsDefaultResponse,\n GetModel200Response,\n GetModelDefaultResponse,\n DeleteModel204Response,\n DeleteModelDefaultResponse,\n BuildModel202Response,\n BuildModelDefaultResponse,\n ComposeModel202Response,\n ComposeModelDefaultResponse,\n AuthorizeModelCopy200Response,\n AuthorizeModelCopyDefaultResponse,\n CopyModelTo202Response,\n CopyModelToDefaultResponse,\n ListModels200Response,\n ListModelsDefaultResponse,\n BuildClassifier202Response,\n BuildClassifierDefaultResponse,\n ListClassifiers200Response,\n ListClassifiersDefaultResponse,\n GetClassifier200Response,\n GetClassifierDefaultResponse,\n DeleteClassifier204Response,\n DeleteClassifierDefaultResponse,\n ClassifyDocumentFromStream202Response,\n ClassifyDocumentFromStreamDefaultResponse,\n ClassifyDocument202Response,\n ClassifyDocumentDefaultResponse,\n GetClassifyResult200Response,\n GetClassifyResultDefaultResponse,\n AuthorizeClassifierCopy200Response,\n AuthorizeClassifierCopyDefaultResponse,\n CopyClassifierTo202Response,\n CopyClassifierToDefaultResponse,\n} from \"./responses.js\";\nimport { Client, StreamableMethod } from \"@azure-rest/core-client\";\n\nexport interface ListOperations {\n /** Lists all operations. */\n get(\n options?: ListOperationsParameters,\n ): StreamableMethod<ListOperations200Response | ListOperationsDefaultResponse>;\n}\n\nexport interface GetDocumentModelBuildOperation {\n /** Gets operation info. */\n get(\n options?: GetDocumentModelBuildOperationParameters,\n ): StreamableMethod<\n GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse\n >;\n /** Gets operation info. */\n get(\n options?: GetDocumentModelComposeOperationParameters,\n ): StreamableMethod<\n GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse\n >;\n /** Gets operation info. */\n get(\n options?: GetDocumentModelCopyToOperationParameters,\n ): StreamableMethod<\n GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse\n >;\n /** Gets operation info. */\n get(\n options?: GetDocumentClassifierCopyToOperationParameters,\n ): StreamableMethod<\n | GetDocumentClassifierCopyToOperation200Response\n | GetDocumentClassifierCopyToOperationDefaultResponse\n >;\n /** Gets operation info. */\n get(\n options?: GetDocumentClassifierBuildOperationParameters,\n ): StreamableMethod<\n | GetDocumentClassifierBuildOperation200Response\n | GetDocumentClassifierBuildOperationDefaultResponse\n >;\n /** Gets operation info. */\n get(\n options?: GetOperationParameters,\n ): StreamableMethod<GetOperation200Response | GetOperationDefaultResponse>;\n}\n\nexport interface GetResourceInfo {\n /** Return information about the current resource. */\n get(\n options?: GetResourceInfoParameters,\n ): StreamableMethod<GetResourceInfo200Response | GetResourceInfoDefaultResponse>;\n}\n\nexport interface GetAnalyzeResult {\n /** Gets the result of document analysis. */\n get(\n options?: GetAnalyzeResultParameters,\n ): StreamableMethod<GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse>;\n}\n\nexport interface GetAnalyzeResultPdf {\n /** Gets the generated searchable PDF output from document analysis. */\n get(\n options?: GetAnalyzeResultPdfParameters,\n ): StreamableMethod<GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse>;\n}\n\nexport interface GetAnalyzeResultFigure {\n /** Gets the generated cropped image of specified figure from document analysis. */\n get(\n options?: GetAnalyzeResultFigureParameters,\n ): StreamableMethod<GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse>;\n}\n\nexport interface AnalyzeDocumentFromStream {\n /** Analyzes document with document model. */\n post(\n options: AnalyzeDocumentFromStreamParameters,\n ): StreamableMethod<\n AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse\n >;\n /** Analyzes document with document model. */\n post(\n options: AnalyzeDocumentParameters,\n ): StreamableMethod<AnalyzeDocument202Response | AnalyzeDocumentDefaultResponse>;\n}\n\nexport interface GetAnalyzeBatchResult {\n /** Gets the result of batch document analysis. */\n get(\n options?: GetAnalyzeBatchResultParameters,\n ): StreamableMethod<GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse>;\n}\n\nexport interface AnalyzeBatchDocuments {\n /** Analyzes batch documents with document model. */\n post(\n options: AnalyzeBatchDocumentsParameters,\n ): StreamableMethod<AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse>;\n}\n\nexport interface GetModel {\n /** Gets detailed document model information. */\n get(\n options?: GetModelParameters,\n ): StreamableMethod<GetModel200Response | GetModelDefaultResponse>;\n /** Deletes document model. */\n delete(\n options?: DeleteModelParameters,\n ): StreamableMethod<DeleteModel204Response | DeleteModelDefaultResponse>;\n}\n\nexport interface BuildModel {\n /** Builds a custom document analysis model. */\n post(\n options: BuildModelParameters,\n ): StreamableMethod<BuildModel202Response | BuildModelDefaultResponse>;\n}\n\nexport interface ComposeModel {\n /** Creates a new document model from document types of existing document models. */\n post(\n options: ComposeModelParameters,\n ): StreamableMethod<ComposeModel202Response | ComposeModelDefaultResponse>;\n}\n\nexport interface AuthorizeModelCopy {\n /**\n * Generates authorization to copy a document model to this location with\n * specified modelId and optional description.\n */\n post(\n options: AuthorizeModelCopyParameters,\n ): StreamableMethod<AuthorizeModelCopy200Response | AuthorizeModelCopyDefaultResponse>;\n}\n\nexport interface CopyModelTo {\n /** Copies document model to the target resource, region, and modelId. */\n post(\n options: CopyModelToParameters,\n ): StreamableMethod<CopyModelTo202Response | CopyModelToDefaultResponse>;\n}\n\nexport interface ListModels {\n /** List all document models */\n get(\n options?: ListModelsParameters,\n ): StreamableMethod<ListModels200Response | ListModelsDefaultResponse>;\n}\n\nexport interface BuildClassifier {\n /** Builds a custom document classifier. */\n post(\n options: BuildClassifierParameters,\n ): StreamableMethod<BuildClassifier202Response | BuildClassifierDefaultResponse>;\n}\n\nexport interface ListClassifiers {\n /** List all document classifiers. */\n get(\n options?: ListClassifiersParameters,\n ): StreamableMethod<ListClassifiers200Response | ListClassifiersDefaultResponse>;\n}\n\nexport interface GetClassifier {\n /** Gets detailed document classifier information. */\n get(\n options?: GetClassifierParameters,\n ): StreamableMethod<GetClassifier200Response | GetClassifierDefaultResponse>;\n /** Deletes document classifier. */\n delete(\n options?: DeleteClassifierParameters,\n ): StreamableMethod<DeleteClassifier204Response | DeleteClassifierDefaultResponse>;\n}\n\nexport interface ClassifyDocumentFromStream {\n /** Classifies document with document classifier. */\n post(\n options: ClassifyDocumentFromStreamParameters,\n ): StreamableMethod<\n ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse\n >;\n /** Classifies document with document classifier. */\n post(\n options: ClassifyDocumentParameters,\n ): StreamableMethod<ClassifyDocument202Response | ClassifyDocumentDefaultResponse>;\n}\n\nexport interface GetClassifyResult {\n /** Gets the result of document classifier. */\n get(\n options?: GetClassifyResultParameters,\n ): StreamableMethod<GetClassifyResult200Response | GetClassifyResultDefaultResponse>;\n}\n\nexport interface AuthorizeClassifierCopy {\n /**\n * Generates authorization to copy a document classifier to this location with\n * specified classifierId and optional description.\n */\n post(\n options: AuthorizeClassifierCopyParameters,\n ): StreamableMethod<AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse>;\n}\n\nexport interface CopyClassifierTo {\n /** Copies document classifier to the target resource, region, and classifierId. */\n post(\n options: CopyClassifierToParameters,\n ): StreamableMethod<CopyClassifierTo202Response | CopyClassifierToDefaultResponse>;\n}\n\nexport interface Routes {\n /** Resource for '/operations' has methods for the following verbs: get */\n (path: \"/operations\"): ListOperations;\n /** Resource for '/operations/\\{operationId\\}' has methods for the following verbs: get */\n (path: \"/operations/{operationId}\", operationId: string): GetDocumentModelBuildOperation;\n /** Resource for '/info' has methods for the following verbs: get */\n (path: \"/info\"): GetResourceInfo;\n /** Resource for '/documentModels/\\{modelId\\}/analyzeResults/\\{resultId\\}' has methods for the following verbs: get */\n (\n path: \"/documentModels/{modelId}/analyzeResults/{resultId}\",\n modelId: string,\n resultId: string,\n ): GetAnalyzeResult;\n /** Resource for '/documentModels/\\{modelId\\}/analyzeResults/\\{resultId\\}/pdf' has methods for the following verbs: get */\n (\n path: \"/documentModels/{modelId}/analyzeResults/{resultId}/pdf\",\n modelId: string,\n resultId: string,\n ): GetAnalyzeResultPdf;\n /** Resource for '/documentModels/\\{modelId\\}/analyzeResults/\\{resultId\\}/figures/\\{figureId\\}' has methods for the following verbs: get */\n (\n path: \"/documentModels/{modelId}/analyzeResults/{resultId}/figures/{figureId}\",\n modelId: string,\n resultId: string,\n figureId: string,\n ): GetAnalyzeResultFigure;\n /** Resource for '/documentModels/\\{modelId\\}:analyze' has methods for the following verbs: post */\n (path: \"/documentModels/{modelId}:analyze\", modelId: string): AnalyzeDocumentFromStream;\n /** Resource for '/documentModels/\\{modelId\\}/analyzeBatchResults/\\{resultId\\}' has methods for the following verbs: get */\n (\n path: \"/documentModels/{modelId}/analyzeBatchResults/{resultId}\",\n modelId: string,\n resultId: string,\n ): GetAnalyzeBatchResult;\n /** Resource for '/documentModels/\\{modelId\\}:analyzeBatch' has methods for the following verbs: post */\n (path: \"/documentModels/{modelId}:analyzeBatch\", modelId: string): AnalyzeBatchDocuments;\n /** Resource for '/documentModels/\\{modelId\\}' has methods for the following verbs: get, delete */\n (path: \"/documentModels/{modelId}\", modelId: string): GetModel;\n /** Resource for '/documentModels:build' has methods for the following verbs: post */\n (path: \"/documentModels:build\"): BuildModel;\n /** Resource for '/documentModels:compose' has methods for the following verbs: post */\n (path: \"/documentModels:compose\"): ComposeModel;\n /** Resource for '/documentModels:authorizeCopy' has methods for the following verbs: post */\n (path: \"/documentModels:authorizeCopy\"): AuthorizeModelCopy;\n /** Resource for '/documentModels/\\{modelId\\}:copyTo' has methods for the following verbs: post */\n (path: \"/documentModels/{modelId}:copyTo\", modelId: string): CopyModelTo;\n /** Resource for '/documentModels' has methods for the following verbs: get */\n (path: \"/documentModels\"): ListModels;\n /** Resource for '/documentClassifiers:build' has methods for the following verbs: post */\n (path: \"/documentClassifiers:build\"): BuildClassifier;\n /** Resource for '/documentClassifiers' has methods for the following verbs: get */\n (path: \"/documentClassifiers\"): ListClassifiers;\n /** Resource for '/documentClassifiers/\\{classifierId\\}' has methods for the following verbs: get, delete */\n (path: \"/documentClassifiers/{classifierId}\", classifierId: string): GetClassifier;\n /** Resource for '/documentClassifiers/\\{classifierId\\}:analyze' has methods for the following verbs: post */\n (\n path: \"/documentClassifiers/{classifierId}:analyze\",\n classifierId: string,\n ): ClassifyDocumentFromStream;\n /** Resource for '/documentClassifiers/\\{classifierId\\}/analyzeResults/\\{resultId\\}' has methods for the following verbs: get */\n (\n path: \"/documentClassifiers/{classifierId}/analyzeResults/{resultId}\",\n classifierId: string,\n resultId: string,\n ): GetClassifyResult;\n /** Resource for '/documentClassifiers:authorizeCopy' has methods for the following verbs: post */\n (path: \"/documentClassifiers:authorizeCopy\"): AuthorizeClassifierCopy;\n /** Resource for '/documentClassifiers/\\{classifierId\\}:copyTo' has methods for the following verbs: post */\n (path: \"/documentClassifiers/{classifierId}:copyTo\", classifierId: string): CopyClassifierTo;\n}\n\nexport type DocumentIntelligenceClient = Client & {\n path: Routes;\n};\n"]}
@@ -0,0 +1,16 @@
1
+ import { ClientOptions } from "@azure-rest/core-client";
2
+ import { TokenCredential, KeyCredential } from "@azure/core-auth";
3
+ import { DocumentIntelligenceClient } from "./clientDefinitions.js";
4
+ /** The optional parameters for the client */
5
+ export interface DocumentIntelligenceClientOptions extends ClientOptions {
6
+ /** The api version option of the client */
7
+ apiVersion?: string;
8
+ }
9
+ /**
10
+ * Initialize a new instance of `DocumentIntelligenceClient`
11
+ * @param endpointParam - The Document Intelligence service endpoint.
12
+ * @param credentials - uniquely identify client credential
13
+ * @param options - the parameter for all optional parameters
14
+ */
15
+ export default function createClient(endpointParam: string, credentials: TokenCredential | KeyCredential, { apiVersion, ...options }?: DocumentIntelligenceClientOptions): DocumentIntelligenceClient;
16
+ //# sourceMappingURL=documentIntelligence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documentIntelligence.d.ts","sourceRoot":"","sources":["../../src/documentIntelligence.ts"],"names":[],"mappings":"AAGA,OAAO,EAAa,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE,6CAA6C;AAC7C,MAAM,WAAW,iCAAkC,SAAQ,aAAa;IACtE,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,eAAe,GAAG,aAAa,EAC5C,EAAE,UAAiC,EAAE,GAAG,OAAO,EAAE,GAAE,iCAAsC,GACxF,0BAA0B,CAyC5B"}
@@ -0,0 +1,44 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT license.
3
+ import { __rest } from "tslib";
4
+ import { getClient } from "@azure-rest/core-client";
5
+ import { logger } from "./logger.js";
6
+ /**
7
+ * Initialize a new instance of `DocumentIntelligenceClient`
8
+ * @param endpointParam - The Document Intelligence service endpoint.
9
+ * @param credentials - uniquely identify client credential
10
+ * @param options - the parameter for all optional parameters
11
+ */
12
+ export default function createClient(endpointParam, credentials, _a = {}) {
13
+ var _b, _c, _d, _e, _f, _g, _h, _j;
14
+ var { apiVersion = "2024-07-31-preview" } = _a, options = __rest(_a, ["apiVersion"]);
15
+ const endpointUrl = (_c = (_b = options.endpoint) !== null && _b !== void 0 ? _b : options.baseUrl) !== null && _c !== void 0 ? _c : `${endpointParam}/documentintelligence`;
16
+ const userAgentInfo = `azsdk-js-ai-document-intelligence-rest/1.0.0-beta.1`;
17
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
18
+ ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
19
+ : `${userAgentInfo}`;
20
+ options = Object.assign(Object.assign({}, options), { userAgentOptions: {
21
+ userAgentPrefix,
22
+ }, loggingOptions: {
23
+ logger: (_e = (_d = options.loggingOptions) === null || _d === void 0 ? void 0 : _d.logger) !== null && _e !== void 0 ? _e : logger.info,
24
+ }, credentials: {
25
+ scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : ["https://cognitiveservices.azure.com/.default"],
26
+ apiKeyHeaderName: (_j = (_h = options.credentials) === null || _h === void 0 ? void 0 : _h.apiKeyHeaderName) !== null && _j !== void 0 ? _j : "Ocp-Apim-Subscription-Key",
27
+ } });
28
+ const client = getClient(endpointUrl, credentials, options);
29
+ client.pipeline.removePolicy({ name: "ApiVersionPolicy" });
30
+ client.pipeline.addPolicy({
31
+ name: "ClientApiVersionPolicy",
32
+ sendRequest: (req, next) => {
33
+ // Use the apiVersion defined in request url directly
34
+ // Append one if there is no apiVersion and we have one at client options
35
+ const url = new URL(req.url);
36
+ if (!url.searchParams.get("api-version") && apiVersion) {
37
+ req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
38
+ }
39
+ return next(req);
40
+ },
41
+ });
42
+ return client;
43
+ }
44
+ //# sourceMappingURL=documentIntelligence.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documentIntelligence.js","sourceRoot":"","sources":["../../src/documentIntelligence.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,SAAS,EAAiB,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAUrC;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAqB,EACrB,WAA4C,EAC5C,KAAuF,EAAE;;QAAzF,EAAE,UAAU,GAAG,oBAAoB,OAAsD,EAAjD,OAAO,cAA/C,cAAiD,CAAF;IAE/C,MAAM,WAAW,GACf,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,GAAG,aAAa,uBAAuB,CAAC;IACjF,MAAM,aAAa,GAAG,qDAAqD,CAAC;IAC5E,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,aAAa,EAAE;QAChE,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC;IACzB,OAAO,mCACF,OAAO,KACV,gBAAg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Options } from \"@azure-rest/core-client\";\nimport { logger } from \"./logger.js\";\nimport { TokenCredential, KeyCredential } from \"@azure/core-auth\";\nimport { DocumentIntelligenceClient } from \"./clientDefinitions.js\";\n\n/** The optional parameters for the client */\nexport interface DocumentIntelligenceClientOptions extends ClientOptions {\n /** The api version option of the client */\n apiVersion?: string;\n}\n\n/**\n * Initialize a new instance of `DocumentIntelligenceClient`\n * @param endpointParam - The Document Intelligence service endpoint.\n * @param credentials - uniquely identify client credential\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n endpointParam: string,\n credentials: TokenCredential | KeyCredential,\n { apiVersion = \"2024-07-31-preview\", ...options }: DocumentIntelligenceClientOptions = {},\n): DocumentIntelligenceClient {\n const endpointUrl =\n options.endpoint ?? options.baseUrl ?? `${endpointParam}/documentintelligence`;\n const userAgentInfo = `azsdk-js-ai-document-intelligence-rest/1.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n loggingOptions: {\n logger: options.loggingOptions?.logger ?? logger.info,\n },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://cognitiveservices.azure.com/.default\"],\n apiKeyHeaderName: options.credentials?.apiKeyHeaderName ?? \"Ocp-Apim-Subscription-Key\",\n },\n };\n const client = getClient(endpointUrl, credentials, options) as DocumentIntelligenceClient;\n\n client.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n client.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\") && apiVersion) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n\n return client;\n}\n"]}
@@ -0,0 +1,12 @@
1
+ import DocumentIntelligence from "./documentIntelligence.js";
2
+ export * from "./documentIntelligence.js";
3
+ export * from "./parameters.js";
4
+ export * from "./responses.js";
5
+ export * from "./clientDefinitions.js";
6
+ export * from "./isUnexpected.js";
7
+ export * from "./models.js";
8
+ export * from "./outputModels.js";
9
+ export * from "./paginateHelper.js";
10
+ export * from "./pollingHelper.js";
11
+ export default DocumentIntelligence;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAE7D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AAEnC,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,14 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT license.
3
+ import DocumentIntelligence from "./documentIntelligence.js";
4
+ export * from "./documentIntelligence.js";
5
+ export * from "./parameters.js";
6
+ export * from "./responses.js";
7
+ export * from "./clientDefinitions.js";
8
+ export * from "./isUnexpected.js";
9
+ export * from "./models.js";
10
+ export * from "./outputModels.js";
11
+ export * from "./paginateHelper.js";
12
+ export * from "./pollingHelper.js";
13
+ export default DocumentIntelligence;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAE7D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AAEnC,eAAe,oBAAoB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport DocumentIntelligence from \"./documentIntelligence.js\";\n\nexport * from \"./documentIntelligence.js\";\nexport * from \"./parameters.js\";\nexport * from \"./responses.js\";\nexport * from \"./clientDefinitions.js\";\nexport * from \"./isUnexpected.js\";\nexport * from \"./models.js\";\nexport * from \"./outputModels.js\";\nexport * from \"./paginateHelper.js\";\nexport * from \"./pollingHelper.js\";\n\nexport default DocumentIntelligence;\n"]}
@@ -0,0 +1,33 @@
1
+ import { ListOperations200Response, ListOperationsDefaultResponse, GetDocumentModelBuildOperation200Response, GetDocumentModelBuildOperationDefaultResponse, GetDocumentModelComposeOperation200Response, GetDocumentModelComposeOperationDefaultResponse, GetDocumentModelCopyToOperation200Response, GetDocumentModelCopyToOperationDefaultResponse, GetDocumentClassifierCopyToOperation200Response, GetDocumentClassifierCopyToOperationDefaultResponse, GetDocumentClassifierBuildOperation200Response, GetDocumentClassifierBuildOperationDefaultResponse, GetOperation200Response, GetOperationDefaultResponse, GetResourceInfo200Response, GetResourceInfoDefaultResponse, GetAnalyzeResult200Response, GetAnalyzeResultDefaultResponse, GetAnalyzeResultPdf200Response, GetAnalyzeResultPdfDefaultResponse, GetAnalyzeResultFigure200Response, GetAnalyzeResultFigureDefaultResponse, AnalyzeDocumentFromStream202Response, AnalyzeDocumentFromStreamLogicalResponse, AnalyzeDocumentFromStreamDefaultResponse, AnalyzeDocument202Response, AnalyzeDocumentLogicalResponse, AnalyzeDocumentDefaultResponse, GetAnalyzeBatchResult200Response, GetAnalyzeBatchResultDefaultResponse, AnalyzeBatchDocuments202Response, AnalyzeBatchDocumentsLogicalResponse, AnalyzeBatchDocumentsDefaultResponse, GetModel200Response, GetModelDefaultResponse, DeleteModel204Response, DeleteModelDefaultResponse, BuildModel202Response, BuildModelLogicalResponse, BuildModelDefaultResponse, ComposeModel202Response, ComposeModelLogicalResponse, ComposeModelDefaultResponse, AuthorizeModelCopy200Response, AuthorizeModelCopyDefaultResponse, CopyModelTo202Response, CopyModelToLogicalResponse, CopyModelToDefaultResponse, ListModels200Response, ListModelsDefaultResponse, BuildClassifier202Response, BuildClassifierLogicalResponse, BuildClassifierDefaultResponse, ListClassifiers200Response, ListClassifiersDefaultResponse, GetClassifier200Response, GetClassifierDefaultResponse, DeleteClassifier204Response, DeleteClassifierDefaultResponse, ClassifyDocumentFromStream202Response, ClassifyDocumentFromStreamLogicalResponse, ClassifyDocumentFromStreamDefaultResponse, ClassifyDocument202Response, ClassifyDocumentLogicalResponse, ClassifyDocumentDefaultResponse, GetClassifyResult200Response, GetClassifyResultDefaultResponse, AuthorizeClassifierCopy200Response, AuthorizeClassifierCopyDefaultResponse, CopyClassifierTo202Response, CopyClassifierToLogicalResponse, CopyClassifierToDefaultResponse } from "./responses.js";
2
+ export declare function isUnexpected(response: ListOperations200Response | ListOperationsDefaultResponse): response is ListOperationsDefaultResponse;
3
+ export declare function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response is GetDocumentModelBuildOperationDefaultResponse;
4
+ export declare function isUnexpected(response: GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse): response is GetDocumentModelComposeOperationDefaultResponse;
5
+ export declare function isUnexpected(response: GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse): response is GetDocumentModelCopyToOperationDefaultResponse;
6
+ export declare function isUnexpected(response: GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse): response is GetDocumentClassifierCopyToOperationDefaultResponse;
7
+ export declare function isUnexpected(response: GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse): response is GetDocumentClassifierBuildOperationDefaultResponse;
8
+ export declare function isUnexpected(response: GetOperation200Response | GetOperationDefaultResponse): response is GetOperationDefaultResponse;
9
+ export declare function isUnexpected(response: GetResourceInfo200Response | GetResourceInfoDefaultResponse): response is GetResourceInfoDefaultResponse;
10
+ export declare function isUnexpected(response: GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse): response is GetAnalyzeResultDefaultResponse;
11
+ export declare function isUnexpected(response: GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse): response is GetAnalyzeResultPdfDefaultResponse;
12
+ export declare function isUnexpected(response: GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse): response is GetAnalyzeResultFigureDefaultResponse;
13
+ export declare function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamLogicalResponse | AnalyzeDocumentFromStreamDefaultResponse): response is AnalyzeDocumentFromStreamDefaultResponse;
14
+ export declare function isUnexpected(response: AnalyzeDocument202Response | AnalyzeDocumentLogicalResponse | AnalyzeDocumentDefaultResponse): response is AnalyzeDocumentDefaultResponse;
15
+ export declare function isUnexpected(response: GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse): response is GetAnalyzeBatchResultDefaultResponse;
16
+ export declare function isUnexpected(response: AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsLogicalResponse | AnalyzeBatchDocumentsDefaultResponse): response is AnalyzeBatchDocumentsDefaultResponse;
17
+ export declare function isUnexpected(response: GetModel200Response | GetModelDefaultResponse): response is GetModelDefaultResponse;
18
+ export declare function isUnexpected(response: DeleteModel204Response | DeleteModelDefaultResponse): response is DeleteModelDefaultResponse;
19
+ export declare function isUnexpected(response: BuildModel202Response | BuildModelLogicalResponse | BuildModelDefaultResponse): response is BuildModelDefaultResponse;
20
+ export declare function isUnexpected(response: ComposeModel202Response | ComposeModelLogicalResponse | ComposeModelDefaultResponse): response is ComposeModelDefaultResponse;
21
+ export declare function isUnexpected(response: AuthorizeModelCopy200Response | AuthorizeModelCopyDefaultResponse): response is AuthorizeModelCopyDefaultResponse;
22
+ export declare function isUnexpected(response: CopyModelTo202Response | CopyModelToLogicalResponse | CopyModelToDefaultResponse): response is CopyModelToDefaultResponse;
23
+ export declare function isUnexpected(response: ListModels200Response | ListModelsDefaultResponse): response is ListModelsDefaultResponse;
24
+ export declare function isUnexpected(response: BuildClassifier202Response | BuildClassifierLogicalResponse | BuildClassifierDefaultResponse): response is BuildClassifierDefaultResponse;
25
+ export declare function isUnexpected(response: ListClassifiers200Response | ListClassifiersDefaultResponse): response is ListClassifiersDefaultResponse;
26
+ export declare function isUnexpected(response: GetClassifier200Response | GetClassifierDefaultResponse): response is GetClassifierDefaultResponse;
27
+ export declare function isUnexpected(response: DeleteClassifier204Response | DeleteClassifierDefaultResponse): response is DeleteClassifierDefaultResponse;
28
+ export declare function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamLogicalResponse | ClassifyDocumentFromStreamDefaultResponse): response is ClassifyDocumentFromStreamDefaultResponse;
29
+ export declare function isUnexpected(response: ClassifyDocument202Response | ClassifyDocumentLogicalResponse | ClassifyDocumentDefaultResponse): response is ClassifyDocumentDefaultResponse;
30
+ export declare function isUnexpected(response: GetClassifyResult200Response | GetClassifyResultDefaultResponse): response is GetClassifyResultDefaultResponse;
31
+ export declare function isUnexpected(response: AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse): response is AuthorizeClassifierCopyDefaultResponse;
32
+ export declare function isUnexpected(response: CopyClassifierTo202Response | CopyClassifierToLogicalResponse | CopyClassifierToDefaultResponse): response is CopyClassifierToDefaultResponse;
33
+ //# sourceMappingURL=isUnexpected.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isUnexpected.d.ts","sourceRoot":"","sources":["../../src/isUnexpected.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,yBAAyB,EACzB,6BAA6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