@azure-rest/ai-document-intelligence 1.0.0-beta.3 → 1.1.0-alpha.20250513.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +137 -0
- package/LICENSE +4 -4
- package/README.md +274 -75
- package/dist/browser/audience.d.ts +19 -0
- package/dist/browser/audience.d.ts.map +1 -0
- package/dist/browser/audience.js +22 -0
- package/dist/browser/audience.js.map +1 -0
- package/dist/browser/clientDefinitions.d.ts +18 -8
- package/dist/browser/clientDefinitions.d.ts.map +1 -1
- package/dist/browser/clientDefinitions.js +1 -1
- package/dist/browser/clientDefinitions.js.map +1 -1
- package/dist/browser/documentIntelligence.d.ts +3 -3
- package/dist/browser/documentIntelligence.d.ts.map +1 -1
- package/dist/browser/documentIntelligence.js +9 -4
- package/dist/browser/documentIntelligence.js.map +1 -1
- package/dist/browser/index.d.ts +2 -0
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +3 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/isUnexpected.d.ts +5 -2
- package/dist/browser/isUnexpected.d.ts.map +1 -1
- package/dist/browser/isUnexpected.js +4 -1
- package/dist/browser/isUnexpected.js.map +1 -1
- package/dist/browser/logger.js +1 -1
- package/dist/browser/logger.js.map +1 -1
- package/dist/browser/models.d.ts +5 -5
- package/dist/browser/models.d.ts.map +1 -1
- package/dist/browser/models.js +1 -1
- package/dist/browser/models.js.map +1 -1
- package/dist/browser/outputModels.d.ts +85 -58
- package/dist/browser/outputModels.d.ts.map +1 -1
- package/dist/browser/outputModels.js +1 -1
- package/dist/browser/outputModels.js.map +1 -1
- package/dist/browser/paginateHelper.d.ts +28 -3
- package/dist/browser/paginateHelper.d.ts.map +1 -1
- package/dist/browser/paginateHelper.js +99 -2
- package/dist/browser/paginateHelper.js.map +1 -1
- package/dist/browser/parameters.d.ts +108 -24
- package/dist/browser/parameters.d.ts.map +1 -1
- package/dist/browser/parameters.js +1 -1
- package/dist/browser/parameters.js.map +1 -1
- package/dist/browser/pollingHelper.d.ts +25 -73
- package/dist/browser/pollingHelper.d.ts.map +1 -1
- package/dist/browser/pollingHelper.js +13 -51
- package/dist/browser/pollingHelper.js.map +1 -1
- package/dist/browser/responses.d.ts +68 -43
- package/dist/browser/responses.d.ts.map +1 -1
- package/dist/browser/responses.js +1 -1
- package/dist/browser/responses.js.map +1 -1
- package/dist/browser/utils.d.ts +5 -0
- package/dist/browser/utils.d.ts.map +1 -0
- package/dist/browser/utils.js +33 -0
- package/dist/browser/utils.js.map +1 -0
- package/dist/commonjs/audience.d.ts +19 -0
- package/dist/commonjs/audience.d.ts.map +1 -0
- package/dist/commonjs/audience.js +25 -0
- package/dist/commonjs/audience.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +18 -8
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -1
- package/dist/commonjs/clientDefinitions.js +1 -1
- package/dist/commonjs/clientDefinitions.js.map +1 -1
- package/dist/commonjs/documentIntelligence.d.ts +3 -3
- package/dist/commonjs/documentIntelligence.d.ts.map +1 -1
- package/dist/commonjs/documentIntelligence.js +9 -4
- package/dist/commonjs/documentIntelligence.js.map +1 -1
- package/dist/commonjs/index.d.ts +2 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +5 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/isUnexpected.d.ts +5 -2
- package/dist/commonjs/isUnexpected.d.ts.map +1 -1
- package/dist/commonjs/isUnexpected.js +4 -1
- package/dist/commonjs/isUnexpected.js.map +1 -1
- package/dist/commonjs/logger.js +1 -1
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/models.d.ts +5 -5
- package/dist/commonjs/models.d.ts.map +1 -1
- package/dist/commonjs/models.js +1 -1
- package/dist/commonjs/models.js.map +1 -1
- package/dist/commonjs/outputModels.d.ts +85 -58
- package/dist/commonjs/outputModels.d.ts.map +1 -1
- package/dist/commonjs/outputModels.js +1 -1
- package/dist/commonjs/outputModels.js.map +1 -1
- package/dist/commonjs/paginateHelper.d.ts +28 -3
- package/dist/commonjs/paginateHelper.d.ts.map +1 -1
- package/dist/commonjs/paginateHelper.js +100 -3
- package/dist/commonjs/paginateHelper.js.map +1 -1
- package/dist/commonjs/parameters.d.ts +108 -24
- package/dist/commonjs/parameters.d.ts.map +1 -1
- package/dist/commonjs/parameters.js +1 -1
- package/dist/commonjs/parameters.js.map +1 -1
- package/dist/commonjs/pollingHelper.d.ts +25 -73
- package/dist/commonjs/pollingHelper.d.ts.map +1 -1
- package/dist/commonjs/pollingHelper.js +13 -50
- package/dist/commonjs/pollingHelper.js.map +1 -1
- package/dist/commonjs/responses.d.ts +68 -43
- package/dist/commonjs/responses.d.ts.map +1 -1
- package/dist/commonjs/responses.js +1 -1
- package/dist/commonjs/responses.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/utils.d.ts +5 -0
- package/dist/commonjs/utils.d.ts.map +1 -0
- package/dist/commonjs/utils.js +36 -0
- package/dist/commonjs/utils.js.map +1 -0
- package/dist/esm/audience.d.ts +19 -0
- package/dist/esm/audience.d.ts.map +1 -0
- package/dist/esm/audience.js +22 -0
- package/dist/esm/audience.js.map +1 -0
- package/dist/esm/clientDefinitions.d.ts +18 -8
- package/dist/esm/clientDefinitions.d.ts.map +1 -1
- package/dist/esm/clientDefinitions.js +1 -1
- package/dist/esm/clientDefinitions.js.map +1 -1
- package/dist/esm/documentIntelligence.d.ts +3 -3
- package/dist/esm/documentIntelligence.d.ts.map +1 -1
- package/dist/esm/documentIntelligence.js +9 -4
- package/dist/esm/documentIntelligence.js.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/isUnexpected.d.ts +5 -2
- package/dist/esm/isUnexpected.d.ts.map +1 -1
- package/dist/esm/isUnexpected.js +4 -1
- package/dist/esm/isUnexpected.js.map +1 -1
- package/dist/esm/logger.js +1 -1
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/models.d.ts +5 -5
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/models.js +1 -1
- package/dist/esm/models.js.map +1 -1
- package/dist/esm/outputModels.d.ts +85 -58
- package/dist/esm/outputModels.d.ts.map +1 -1
- package/dist/esm/outputModels.js +1 -1
- package/dist/esm/outputModels.js.map +1 -1
- package/dist/esm/paginateHelper.d.ts +28 -3
- package/dist/esm/paginateHelper.d.ts.map +1 -1
- package/dist/esm/paginateHelper.js +99 -2
- package/dist/esm/paginateHelper.js.map +1 -1
- package/dist/esm/parameters.d.ts +108 -24
- package/dist/esm/parameters.d.ts.map +1 -1
- package/dist/esm/parameters.js +1 -1
- package/dist/esm/parameters.js.map +1 -1
- package/dist/esm/pollingHelper.d.ts +25 -73
- package/dist/esm/pollingHelper.d.ts.map +1 -1
- package/dist/esm/pollingHelper.js +13 -51
- package/dist/esm/pollingHelper.js.map +1 -1
- package/dist/esm/responses.d.ts +68 -43
- package/dist/esm/responses.d.ts.map +1 -1
- package/dist/esm/responses.js +1 -1
- package/dist/esm/responses.js.map +1 -1
- package/dist/esm/utils.d.ts +5 -0
- package/dist/esm/utils.d.ts.map +1 -0
- package/dist/esm/utils.js +33 -0
- package/dist/esm/utils.js.map +1 -0
- package/dist/react-native/audience.d.ts +19 -0
- package/dist/react-native/audience.d.ts.map +1 -0
- package/dist/react-native/audience.js +22 -0
- package/dist/react-native/audience.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +18 -8
- package/dist/react-native/clientDefinitions.d.ts.map +1 -1
- package/dist/react-native/clientDefinitions.js +1 -1
- package/dist/react-native/clientDefinitions.js.map +1 -1
- package/dist/react-native/documentIntelligence.d.ts +3 -3
- package/dist/react-native/documentIntelligence.d.ts.map +1 -1
- package/dist/react-native/documentIntelligence.js +9 -4
- package/dist/react-native/documentIntelligence.js.map +1 -1
- package/dist/react-native/index.d.ts +2 -0
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +3 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/isUnexpected.d.ts +5 -2
- package/dist/react-native/isUnexpected.d.ts.map +1 -1
- package/dist/react-native/isUnexpected.js +4 -1
- package/dist/react-native/isUnexpected.js.map +1 -1
- package/dist/react-native/logger.js +1 -1
- package/dist/react-native/logger.js.map +1 -1
- package/dist/react-native/models.d.ts +5 -5
- package/dist/react-native/models.d.ts.map +1 -1
- package/dist/react-native/models.js +1 -1
- package/dist/react-native/models.js.map +1 -1
- package/dist/react-native/outputModels.d.ts +85 -58
- package/dist/react-native/outputModels.d.ts.map +1 -1
- package/dist/react-native/outputModels.js +1 -1
- package/dist/react-native/outputModels.js.map +1 -1
- package/dist/react-native/paginateHelper.d.ts +28 -3
- package/dist/react-native/paginateHelper.d.ts.map +1 -1
- package/dist/react-native/paginateHelper.js +99 -2
- package/dist/react-native/paginateHelper.js.map +1 -1
- package/dist/react-native/parameters.d.ts +108 -24
- package/dist/react-native/parameters.d.ts.map +1 -1
- package/dist/react-native/parameters.js +1 -1
- package/dist/react-native/parameters.js.map +1 -1
- package/dist/react-native/pollingHelper.d.ts +25 -73
- package/dist/react-native/pollingHelper.d.ts.map +1 -1
- package/dist/react-native/pollingHelper.js +13 -51
- package/dist/react-native/pollingHelper.js.map +1 -1
- package/dist/react-native/responses.d.ts +68 -43
- package/dist/react-native/responses.d.ts.map +1 -1
- package/dist/react-native/responses.js +1 -1
- package/dist/react-native/responses.js.map +1 -1
- package/dist/react-native/utils.d.ts +5 -0
- package/dist/react-native/utils.d.ts.map +1 -0
- package/dist/react-native/utils.js +33 -0
- package/dist/react-native/utils.js.map +1 -0
- package/package.json +44 -58
- package/review/ai-document-intelligence.api.md +380 -221
package/dist/esm/responses.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RawHttpHeaders } from "@azure/core-rest-pipeline";
|
|
2
|
-
import { HttpResponse } from "@azure-rest/core-client";
|
|
3
|
-
import {
|
|
1
|
+
import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
|
|
2
|
+
import type { HttpResponse } from "@azure-rest/core-client";
|
|
3
|
+
import type { PagedDocumentIntelligenceOperationDetailsOutput, DocumentIntelligenceErrorResponseOutput, DocumentModelBuildOperationDetailsOutput, DocumentModelComposeOperationDetailsOutput, DocumentModelCopyToOperationDetailsOutput, DocumentClassifierCopyToOperationDetailsOutput, DocumentClassifierBuildOperationDetailsOutput, DocumentIntelligenceOperationDetailsOutput, DocumentIntelligenceResourceDetailsOutput, AnalyzeOperationOutput, AnalyzeBatchOperationOutput, PagedAnalyzeBatchOperationOutput, DocumentModelDetailsOutput, ModelCopyAuthorizationOutput, PagedDocumentModelDetailsOutput, PagedDocumentClassifierDetailsOutput, DocumentClassifierDetailsOutput, ClassifierCopyAuthorizationOutput } from "./outputModels.js";
|
|
4
4
|
export interface ListOperations200Headers {
|
|
5
5
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
6
6
|
"x-ms-client-request-id"?: string;
|
|
@@ -8,12 +8,12 @@ export interface ListOperations200Headers {
|
|
|
8
8
|
/** The request has succeeded. */
|
|
9
9
|
export interface ListOperations200Response extends HttpResponse {
|
|
10
10
|
status: "200";
|
|
11
|
-
body:
|
|
11
|
+
body: PagedDocumentIntelligenceOperationDetailsOutput;
|
|
12
12
|
headers: RawHttpHeaders & ListOperations200Headers;
|
|
13
13
|
}
|
|
14
14
|
export interface ListOperationsDefaultResponse extends HttpResponse {
|
|
15
15
|
status: string;
|
|
16
|
-
body:
|
|
16
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
17
17
|
}
|
|
18
18
|
export interface GetDocumentModelBuildOperation200Headers {
|
|
19
19
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
@@ -27,7 +27,7 @@ export interface GetDocumentModelBuildOperation200Response extends HttpResponse
|
|
|
27
27
|
}
|
|
28
28
|
export interface GetDocumentModelBuildOperationDefaultResponse extends HttpResponse {
|
|
29
29
|
status: string;
|
|
30
|
-
body:
|
|
30
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
31
31
|
}
|
|
32
32
|
export interface GetDocumentModelComposeOperation200Headers {
|
|
33
33
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
@@ -41,7 +41,7 @@ export interface GetDocumentModelComposeOperation200Response extends HttpRespons
|
|
|
41
41
|
}
|
|
42
42
|
export interface GetDocumentModelComposeOperationDefaultResponse extends HttpResponse {
|
|
43
43
|
status: string;
|
|
44
|
-
body:
|
|
44
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
45
45
|
}
|
|
46
46
|
export interface GetDocumentModelCopyToOperation200Headers {
|
|
47
47
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
@@ -55,7 +55,7 @@ export interface GetDocumentModelCopyToOperation200Response extends HttpResponse
|
|
|
55
55
|
}
|
|
56
56
|
export interface GetDocumentModelCopyToOperationDefaultResponse extends HttpResponse {
|
|
57
57
|
status: string;
|
|
58
|
-
body:
|
|
58
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
59
59
|
}
|
|
60
60
|
export interface GetDocumentClassifierCopyToOperation200Headers {
|
|
61
61
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
@@ -69,7 +69,7 @@ export interface GetDocumentClassifierCopyToOperation200Response extends HttpRes
|
|
|
69
69
|
}
|
|
70
70
|
export interface GetDocumentClassifierCopyToOperationDefaultResponse extends HttpResponse {
|
|
71
71
|
status: string;
|
|
72
|
-
body:
|
|
72
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
73
73
|
}
|
|
74
74
|
export interface GetDocumentClassifierBuildOperation200Headers {
|
|
75
75
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
@@ -83,7 +83,7 @@ export interface GetDocumentClassifierBuildOperation200Response extends HttpResp
|
|
|
83
83
|
}
|
|
84
84
|
export interface GetDocumentClassifierBuildOperationDefaultResponse extends HttpResponse {
|
|
85
85
|
status: string;
|
|
86
|
-
body:
|
|
86
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
87
87
|
}
|
|
88
88
|
export interface GetOperation200Headers {
|
|
89
89
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
@@ -92,30 +92,30 @@ export interface GetOperation200Headers {
|
|
|
92
92
|
/** The request has succeeded. */
|
|
93
93
|
export interface GetOperation200Response extends HttpResponse {
|
|
94
94
|
status: "200";
|
|
95
|
-
body:
|
|
95
|
+
body: DocumentIntelligenceOperationDetailsOutput;
|
|
96
96
|
headers: RawHttpHeaders & GetOperation200Headers;
|
|
97
97
|
}
|
|
98
98
|
export interface GetOperationDefaultResponse extends HttpResponse {
|
|
99
99
|
status: string;
|
|
100
|
-
body:
|
|
100
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
101
101
|
}
|
|
102
102
|
/** The request has succeeded. */
|
|
103
|
-
export interface
|
|
103
|
+
export interface GetResourceDetails200Response extends HttpResponse {
|
|
104
104
|
status: "200";
|
|
105
|
-
body:
|
|
105
|
+
body: DocumentIntelligenceResourceDetailsOutput;
|
|
106
106
|
}
|
|
107
|
-
export interface
|
|
107
|
+
export interface GetResourceDetailsDefaultResponse extends HttpResponse {
|
|
108
108
|
status: string;
|
|
109
|
-
body:
|
|
109
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
110
110
|
}
|
|
111
111
|
/** The request has succeeded. */
|
|
112
112
|
export interface GetAnalyzeResult200Response extends HttpResponse {
|
|
113
113
|
status: "200";
|
|
114
|
-
body:
|
|
114
|
+
body: AnalyzeOperationOutput;
|
|
115
115
|
}
|
|
116
116
|
export interface GetAnalyzeResultDefaultResponse extends HttpResponse {
|
|
117
117
|
status: string;
|
|
118
|
-
body:
|
|
118
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
119
119
|
}
|
|
120
120
|
export interface GetAnalyzeResultPdf200Headers {
|
|
121
121
|
/** Response content type. */
|
|
@@ -130,7 +130,7 @@ export interface GetAnalyzeResultPdf200Response extends HttpResponse {
|
|
|
130
130
|
}
|
|
131
131
|
export interface GetAnalyzeResultPdfDefaultResponse extends HttpResponse {
|
|
132
132
|
status: string;
|
|
133
|
-
body:
|
|
133
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
134
134
|
}
|
|
135
135
|
export interface GetAnalyzeResultFigure200Headers {
|
|
136
136
|
/** Response content type. */
|
|
@@ -145,7 +145,15 @@ export interface GetAnalyzeResultFigure200Response extends HttpResponse {
|
|
|
145
145
|
}
|
|
146
146
|
export interface GetAnalyzeResultFigureDefaultResponse extends HttpResponse {
|
|
147
147
|
status: string;
|
|
148
|
-
body:
|
|
148
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
149
|
+
}
|
|
150
|
+
/** There is no content to send for this request, but the headers may be useful. */
|
|
151
|
+
export interface DeleteAnalyzeResult204Response extends HttpResponse {
|
|
152
|
+
status: "204";
|
|
153
|
+
}
|
|
154
|
+
export interface DeleteAnalyzeResultDefaultResponse extends HttpResponse {
|
|
155
|
+
status: string;
|
|
156
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
149
157
|
}
|
|
150
158
|
export interface AnalyzeDocumentFromStream202Headers {
|
|
151
159
|
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
@@ -159,7 +167,7 @@ export interface AnalyzeDocumentFromStream202Response extends HttpResponse {
|
|
|
159
167
|
}
|
|
160
168
|
export interface AnalyzeDocumentFromStreamDefaultResponse extends HttpResponse {
|
|
161
169
|
status: string;
|
|
162
|
-
body:
|
|
170
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
163
171
|
}
|
|
164
172
|
/** The final response for long-running analyzeDocumentFromStream operation */
|
|
165
173
|
export interface AnalyzeDocumentFromStreamLogicalResponse extends HttpResponse {
|
|
@@ -177,7 +185,7 @@ export interface AnalyzeDocument202Response extends HttpResponse {
|
|
|
177
185
|
}
|
|
178
186
|
export interface AnalyzeDocumentDefaultResponse extends HttpResponse {
|
|
179
187
|
status: string;
|
|
180
|
-
body:
|
|
188
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
181
189
|
}
|
|
182
190
|
/** The final response for long-running analyzeDocument operation */
|
|
183
191
|
export interface AnalyzeDocumentLogicalResponse extends HttpResponse {
|
|
@@ -186,11 +194,11 @@ export interface AnalyzeDocumentLogicalResponse extends HttpResponse {
|
|
|
186
194
|
/** The request has succeeded. */
|
|
187
195
|
export interface GetAnalyzeBatchResult200Response extends HttpResponse {
|
|
188
196
|
status: "200";
|
|
189
|
-
body:
|
|
197
|
+
body: AnalyzeBatchOperationOutput;
|
|
190
198
|
}
|
|
191
199
|
export interface GetAnalyzeBatchResultDefaultResponse extends HttpResponse {
|
|
192
200
|
status: string;
|
|
193
|
-
body:
|
|
201
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
194
202
|
}
|
|
195
203
|
export interface AnalyzeBatchDocuments202Headers {
|
|
196
204
|
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
@@ -204,12 +212,29 @@ export interface AnalyzeBatchDocuments202Response extends HttpResponse {
|
|
|
204
212
|
}
|
|
205
213
|
export interface AnalyzeBatchDocumentsDefaultResponse extends HttpResponse {
|
|
206
214
|
status: string;
|
|
207
|
-
body:
|
|
215
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
208
216
|
}
|
|
209
217
|
/** The final response for long-running analyzeBatchDocuments operation */
|
|
210
218
|
export interface AnalyzeBatchDocumentsLogicalResponse extends HttpResponse {
|
|
211
219
|
status: "200";
|
|
212
220
|
}
|
|
221
|
+
/** The request has succeeded. */
|
|
222
|
+
export interface ListAnalyzeBatchResults200Response extends HttpResponse {
|
|
223
|
+
status: "200";
|
|
224
|
+
body: PagedAnalyzeBatchOperationOutput;
|
|
225
|
+
}
|
|
226
|
+
export interface ListAnalyzeBatchResultsDefaultResponse extends HttpResponse {
|
|
227
|
+
status: string;
|
|
228
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
229
|
+
}
|
|
230
|
+
/** There is no content to send for this request, but the headers may be useful. */
|
|
231
|
+
export interface DeleteAnalyzeBatchResult204Response extends HttpResponse {
|
|
232
|
+
status: "204";
|
|
233
|
+
}
|
|
234
|
+
export interface DeleteAnalyzeBatchResultDefaultResponse extends HttpResponse {
|
|
235
|
+
status: string;
|
|
236
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
237
|
+
}
|
|
213
238
|
export interface GetModel200Headers {
|
|
214
239
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
215
240
|
"x-ms-client-request-id"?: string;
|
|
@@ -222,7 +247,7 @@ export interface GetModel200Response extends HttpResponse {
|
|
|
222
247
|
}
|
|
223
248
|
export interface GetModelDefaultResponse extends HttpResponse {
|
|
224
249
|
status: string;
|
|
225
|
-
body:
|
|
250
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
226
251
|
}
|
|
227
252
|
export interface BuildModel202Headers {
|
|
228
253
|
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
@@ -236,7 +261,7 @@ export interface BuildModel202Response extends HttpResponse {
|
|
|
236
261
|
}
|
|
237
262
|
export interface BuildModelDefaultResponse extends HttpResponse {
|
|
238
263
|
status: string;
|
|
239
|
-
body:
|
|
264
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
240
265
|
}
|
|
241
266
|
/** The final response for long-running buildModel operation */
|
|
242
267
|
export interface BuildModelLogicalResponse extends HttpResponse {
|
|
@@ -254,7 +279,7 @@ export interface ComposeModel202Response extends HttpResponse {
|
|
|
254
279
|
}
|
|
255
280
|
export interface ComposeModelDefaultResponse extends HttpResponse {
|
|
256
281
|
status: string;
|
|
257
|
-
body:
|
|
282
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
258
283
|
}
|
|
259
284
|
/** The final response for long-running composeModel operation */
|
|
260
285
|
export interface ComposeModelLogicalResponse extends HttpResponse {
|
|
@@ -263,11 +288,11 @@ export interface ComposeModelLogicalResponse extends HttpResponse {
|
|
|
263
288
|
/** The request has succeeded. */
|
|
264
289
|
export interface AuthorizeModelCopy200Response extends HttpResponse {
|
|
265
290
|
status: "200";
|
|
266
|
-
body:
|
|
291
|
+
body: ModelCopyAuthorizationOutput;
|
|
267
292
|
}
|
|
268
293
|
export interface AuthorizeModelCopyDefaultResponse extends HttpResponse {
|
|
269
294
|
status: string;
|
|
270
|
-
body:
|
|
295
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
271
296
|
}
|
|
272
297
|
export interface CopyModelTo202Headers {
|
|
273
298
|
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
@@ -281,7 +306,7 @@ export interface CopyModelTo202Response extends HttpResponse {
|
|
|
281
306
|
}
|
|
282
307
|
export interface CopyModelToDefaultResponse extends HttpResponse {
|
|
283
308
|
status: string;
|
|
284
|
-
body:
|
|
309
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
285
310
|
}
|
|
286
311
|
/** The final response for long-running copyModelTo operation */
|
|
287
312
|
export interface CopyModelToLogicalResponse extends HttpResponse {
|
|
@@ -299,7 +324,7 @@ export interface ListModels200Response extends HttpResponse {
|
|
|
299
324
|
}
|
|
300
325
|
export interface ListModelsDefaultResponse extends HttpResponse {
|
|
301
326
|
status: string;
|
|
302
|
-
body:
|
|
327
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
303
328
|
}
|
|
304
329
|
export interface DeleteModel204Headers {
|
|
305
330
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
@@ -312,7 +337,7 @@ export interface DeleteModel204Response extends HttpResponse {
|
|
|
312
337
|
}
|
|
313
338
|
export interface DeleteModelDefaultResponse extends HttpResponse {
|
|
314
339
|
status: string;
|
|
315
|
-
body:
|
|
340
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
316
341
|
}
|
|
317
342
|
export interface BuildClassifier202Headers {
|
|
318
343
|
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
@@ -326,7 +351,7 @@ export interface BuildClassifier202Response extends HttpResponse {
|
|
|
326
351
|
}
|
|
327
352
|
export interface BuildClassifierDefaultResponse extends HttpResponse {
|
|
328
353
|
status: string;
|
|
329
|
-
body:
|
|
354
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
330
355
|
}
|
|
331
356
|
/** The final response for long-running buildClassifier operation */
|
|
332
357
|
export interface BuildClassifierLogicalResponse extends HttpResponse {
|
|
@@ -344,7 +369,7 @@ export interface ListClassifiers200Response extends HttpResponse {
|
|
|
344
369
|
}
|
|
345
370
|
export interface ListClassifiersDefaultResponse extends HttpResponse {
|
|
346
371
|
status: string;
|
|
347
|
-
body:
|
|
372
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
348
373
|
}
|
|
349
374
|
export interface GetClassifier200Headers {
|
|
350
375
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
@@ -358,7 +383,7 @@ export interface GetClassifier200Response extends HttpResponse {
|
|
|
358
383
|
}
|
|
359
384
|
export interface GetClassifierDefaultResponse extends HttpResponse {
|
|
360
385
|
status: string;
|
|
361
|
-
body:
|
|
386
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
362
387
|
}
|
|
363
388
|
export interface DeleteClassifier204Headers {
|
|
364
389
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
@@ -371,7 +396,7 @@ export interface DeleteClassifier204Response extends HttpResponse {
|
|
|
371
396
|
}
|
|
372
397
|
export interface DeleteClassifierDefaultResponse extends HttpResponse {
|
|
373
398
|
status: string;
|
|
374
|
-
body:
|
|
399
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
375
400
|
}
|
|
376
401
|
export interface ClassifyDocumentFromStream202Headers {
|
|
377
402
|
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
@@ -385,7 +410,7 @@ export interface ClassifyDocumentFromStream202Response extends HttpResponse {
|
|
|
385
410
|
}
|
|
386
411
|
export interface ClassifyDocumentFromStreamDefaultResponse extends HttpResponse {
|
|
387
412
|
status: string;
|
|
388
|
-
body:
|
|
413
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
389
414
|
}
|
|
390
415
|
/** The final response for long-running classifyDocumentFromStream operation */
|
|
391
416
|
export interface ClassifyDocumentFromStreamLogicalResponse extends HttpResponse {
|
|
@@ -403,7 +428,7 @@ export interface ClassifyDocument202Response extends HttpResponse {
|
|
|
403
428
|
}
|
|
404
429
|
export interface ClassifyDocumentDefaultResponse extends HttpResponse {
|
|
405
430
|
status: string;
|
|
406
|
-
body:
|
|
431
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
407
432
|
}
|
|
408
433
|
/** The final response for long-running classifyDocument operation */
|
|
409
434
|
export interface ClassifyDocumentLogicalResponse extends HttpResponse {
|
|
@@ -412,11 +437,11 @@ export interface ClassifyDocumentLogicalResponse extends HttpResponse {
|
|
|
412
437
|
/** The request has succeeded. */
|
|
413
438
|
export interface GetClassifyResult200Response extends HttpResponse {
|
|
414
439
|
status: "200";
|
|
415
|
-
body:
|
|
440
|
+
body: AnalyzeOperationOutput;
|
|
416
441
|
}
|
|
417
442
|
export interface GetClassifyResultDefaultResponse extends HttpResponse {
|
|
418
443
|
status: string;
|
|
419
|
-
body:
|
|
444
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
420
445
|
}
|
|
421
446
|
/** The request has succeeded. */
|
|
422
447
|
export interface AuthorizeClassifierCopy200Response extends HttpResponse {
|
|
@@ -425,7 +450,7 @@ export interface AuthorizeClassifierCopy200Response extends HttpResponse {
|
|
|
425
450
|
}
|
|
426
451
|
export interface AuthorizeClassifierCopyDefaultResponse extends HttpResponse {
|
|
427
452
|
status: string;
|
|
428
|
-
body:
|
|
453
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
429
454
|
}
|
|
430
455
|
export interface CopyClassifierTo202Headers {
|
|
431
456
|
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
@@ -439,7 +464,7 @@ export interface CopyClassifierTo202Response extends HttpResponse {
|
|
|
439
464
|
}
|
|
440
465
|
export interface CopyClassifierToDefaultResponse extends HttpResponse {
|
|
441
466
|
status: string;
|
|
442
|
-
body:
|
|
467
|
+
body: DocumentIntelligenceErrorResponseOutput;
|
|
443
468
|
}
|
|
444
469
|
/** The final response for long-running copyClassifierTo operation */
|
|
445
470
|
export interface CopyClassifierToLogicalResponse extends HttpResponse {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EACL,2BAA2B,EAC3B,mBAAmB,EACnB,wCAAwC,EACxC,0CAA0C,EAC1C,yCAAyC,EACzC,8CAA8C,EAC9C,6CAA6C,EAC7C,sBAAsB,EACtB,qBAAqB,EACrB,4BAA4B,EAC5B,iCAAiC,EACjC,0BAA0B,EAC1B,uBAAuB,EACvB,+BAA+B,EAC/B,oCAAoC,EACpC,+BAA+B,EAC/B,iCAAiC,EAClC,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,wBAAwB;IACvC,sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,iCAAiC;AACjC,MAAM,WAAW,yBAA0B,SAAQ,YAAY;IAC7D,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,2BAA2B,CAAC;IAClC,OAAO,EAAE,cAAc,GAAG,wBAAwB,CAAC;CACpD;AAED,MAAM,WAAW,6BAA8B,SAAQ,YAAY;IACjE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,MAAM,WAAW,wCAAwC;IACvD,sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,iCAAiC;AACjC,MAAM,WAAW,yCAA0C,SAAQ,YAAY;IAC7E,MAA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9B;AAED,MAAM,WAAW,gCAAiC,SAAQ,YAAY;IACpE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,uCAAuC,CAAC;CAC/C;AAED,iCAAiC;AACjC,MAAM,WAAW,kCAAmC,SAAQ,YAAY;IACtE,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,iCAAiC,CAAC;CACzC;AAED,MAAM,WAAW,sCAAuC,SAAQ,YAAY;IAC1E,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,uCAAuC,CAAC;CAC/C;AAED,MAAM,WAAW,0BAA0B;IACzC,+GAA+G;IAC/G,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,0FAA0F;AAC1F,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAC/D,MAAM,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,cAAc,GAAG,0BAA0B,CAAC;CACtD;AAED,MAAM,WAAW,+BAAgC,SAAQ,YAAY;IACnE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,uCAAuC,CAAC;CAC/C;AAED,qEAAqE;AACrE,MAAM,WAAW,+BAAgC,SAAQ,YAAY;IACnE,MAAM,EAAE,KAAK,CAAC;CACf"}
|
package/dist/esm/responses.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport { HttpResponse } from \"@azure-rest/core-client\";\nimport {\n PagedOperationDetailsOutput,\n ErrorResponseOutput,\n DocumentModelBuildOperationDetailsOutput,\n DocumentModelComposeOperationDetailsOutput,\n DocumentModelCopyToOperationDetailsOutput,\n DocumentClassifierCopyToOperationDetailsOutput,\n DocumentClassifierBuildOperationDetailsOutput,\n OperationDetailsOutput,\n ResourceDetailsOutput,\n AnalyzeResultOperationOutput,\n AnalyzeBatchResultOperationOutput,\n DocumentModelDetailsOutput,\n CopyAuthorizationOutput,\n PagedDocumentModelDetailsOutput,\n PagedDocumentClassifierDetailsOutput,\n DocumentClassifierDetailsOutput,\n ClassifierCopyAuthorizationOutput,\n} from \"./outputModels.js\";\n\nexport interface ListOperations200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListOperations200Response extends HttpResponse {\n status: \"200\";\n body: PagedOperationDetailsOutput;\n headers: RawHttpHeaders & ListOperations200Headers;\n}\n\nexport interface ListOperationsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface GetDocumentModelBuildOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDocumentModelBuildOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentModelBuildOperationDetailsOutput;\n headers: RawHttpHeaders & GetDocumentModelBuildOperation200Headers;\n}\n\nexport interface GetDocumentModelBuildOperationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface GetDocumentModelComposeOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDocumentModelComposeOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentModelComposeOperationDetailsOutput;\n headers: RawHttpHeaders & GetDocumentModelComposeOperation200Headers;\n}\n\nexport interface GetDocumentModelComposeOperationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface GetDocumentModelCopyToOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDocumentModelCopyToOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentModelCopyToOperationDetailsOutput;\n headers: RawHttpHeaders & GetDocumentModelCopyToOperation200Headers;\n}\n\nexport interface GetDocumentModelCopyToOperationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface GetDocumentClassifierCopyToOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDocumentClassifierCopyToOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentClassifierCopyToOperationDetailsOutput;\n headers: RawHttpHeaders & GetDocumentClassifierCopyToOperation200Headers;\n}\n\nexport interface GetDocumentClassifierCopyToOperationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface GetDocumentClassifierBuildOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDocumentClassifierBuildOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentClassifierBuildOperationDetailsOutput;\n headers: RawHttpHeaders & GetDocumentClassifierBuildOperation200Headers;\n}\n\nexport interface GetDocumentClassifierBuildOperationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface GetOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetOperation200Response extends HttpResponse {\n status: \"200\";\n body: OperationDetailsOutput;\n headers: RawHttpHeaders & GetOperation200Headers;\n}\n\nexport interface GetOperationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The request has succeeded. */\nexport interface GetResourceInfo200Response extends HttpResponse {\n status: \"200\";\n body: ResourceDetailsOutput;\n}\n\nexport interface GetResourceInfoDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The request has succeeded. */\nexport interface GetAnalyzeResult200Response extends HttpResponse {\n status: \"200\";\n body: AnalyzeResultOperationOutput;\n}\n\nexport interface GetAnalyzeResultDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface GetAnalyzeResultPdf200Headers {\n /** Response content type. */\n \"content-type\": \"application/pdf\";\n}\n\n/** The request has succeeded. */\nexport interface GetAnalyzeResultPdf200Response extends HttpResponse {\n status: \"200\";\n /** Value may contain any sequence of octets */\n body: Uint8Array;\n headers: RawHttpHeaders & GetAnalyzeResultPdf200Headers;\n}\n\nexport interface GetAnalyzeResultPdfDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface GetAnalyzeResultFigure200Headers {\n /** Response content type. */\n \"content-type\": \"image/png\";\n}\n\n/** The request has succeeded. */\nexport interface GetAnalyzeResultFigure200Response extends HttpResponse {\n status: \"200\";\n /** Value may contain any sequence of octets */\n body: Uint8Array;\n headers: RawHttpHeaders & GetAnalyzeResultFigure200Headers;\n}\n\nexport interface GetAnalyzeResultFigureDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface AnalyzeDocumentFromStream202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface AnalyzeDocumentFromStream202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & AnalyzeDocumentFromStream202Headers;\n}\n\nexport interface AnalyzeDocumentFromStreamDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The final response for long-running analyzeDocumentFromStream operation */\nexport interface AnalyzeDocumentFromStreamLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface AnalyzeDocument202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface AnalyzeDocument202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & AnalyzeDocument202Headers;\n}\n\nexport interface AnalyzeDocumentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The final response for long-running analyzeDocument operation */\nexport interface AnalyzeDocumentLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface GetAnalyzeBatchResult200Response extends HttpResponse {\n status: \"200\";\n body: AnalyzeBatchResultOperationOutput;\n}\n\nexport interface GetAnalyzeBatchResultDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface AnalyzeBatchDocuments202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface AnalyzeBatchDocuments202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & AnalyzeBatchDocuments202Headers;\n}\n\nexport interface AnalyzeBatchDocumentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The final response for long-running analyzeBatchDocuments operation */\nexport interface AnalyzeBatchDocumentsLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface GetModel200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetModel200Response extends HttpResponse {\n status: \"200\";\n body: DocumentModelDetailsOutput;\n headers: RawHttpHeaders & GetModel200Headers;\n}\n\nexport interface GetModelDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface BuildModel202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface BuildModel202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & BuildModel202Headers;\n}\n\nexport interface BuildModelDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The final response for long-running buildModel operation */\nexport interface BuildModelLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface ComposeModel202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface ComposeModel202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & ComposeModel202Headers;\n}\n\nexport interface ComposeModelDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The final response for long-running composeModel operation */\nexport interface ComposeModelLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface AuthorizeModelCopy200Response extends HttpResponse {\n status: \"200\";\n body: CopyAuthorizationOutput;\n}\n\nexport interface AuthorizeModelCopyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface CopyModelTo202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface CopyModelTo202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & CopyModelTo202Headers;\n}\n\nexport interface CopyModelToDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The final response for long-running copyModelTo operation */\nexport interface CopyModelToLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface ListModels200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListModels200Response extends HttpResponse {\n status: \"200\";\n body: PagedDocumentModelDetailsOutput;\n headers: RawHttpHeaders & ListModels200Headers;\n}\n\nexport interface ListModelsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface DeleteModel204Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteModel204Response extends HttpResponse {\n status: \"204\";\n headers: RawHttpHeaders & DeleteModel204Headers;\n}\n\nexport interface DeleteModelDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface BuildClassifier202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface BuildClassifier202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & BuildClassifier202Headers;\n}\n\nexport interface BuildClassifierDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The final response for long-running buildClassifier operation */\nexport interface BuildClassifierLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface ListClassifiers200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListClassifiers200Response extends HttpResponse {\n status: \"200\";\n body: PagedDocumentClassifierDetailsOutput;\n headers: RawHttpHeaders & ListClassifiers200Headers;\n}\n\nexport interface ListClassifiersDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface GetClassifier200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetClassifier200Response extends HttpResponse {\n status: \"200\";\n body: DocumentClassifierDetailsOutput;\n headers: RawHttpHeaders & GetClassifier200Headers;\n}\n\nexport interface GetClassifierDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface DeleteClassifier204Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteClassifier204Response extends HttpResponse {\n status: \"204\";\n headers: RawHttpHeaders & DeleteClassifier204Headers;\n}\n\nexport interface DeleteClassifierDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface ClassifyDocumentFromStream202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface ClassifyDocumentFromStream202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & ClassifyDocumentFromStream202Headers;\n}\n\nexport interface ClassifyDocumentFromStreamDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The final response for long-running classifyDocumentFromStream operation */\nexport interface ClassifyDocumentFromStreamLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface ClassifyDocument202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface ClassifyDocument202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & ClassifyDocument202Headers;\n}\n\nexport interface ClassifyDocumentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The final response for long-running classifyDocument operation */\nexport interface ClassifyDocumentLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface GetClassifyResult200Response extends HttpResponse {\n status: \"200\";\n body: AnalyzeResultOperationOutput;\n}\n\nexport interface GetClassifyResultDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The request has succeeded. */\nexport interface AuthorizeClassifierCopy200Response extends HttpResponse {\n status: \"200\";\n body: ClassifierCopyAuthorizationOutput;\n}\n\nexport interface AuthorizeClassifierCopyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface CopyClassifierTo202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface CopyClassifierTo202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & CopyClassifierTo202Headers;\n}\n\nexport interface CopyClassifierToDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** The final response for long-running copyClassifierTo operation */\nexport interface CopyClassifierToLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n"]}
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse } from \"@azure-rest/core-client\";\nimport type {\n PagedDocumentIntelligenceOperationDetailsOutput,\n DocumentIntelligenceErrorResponseOutput,\n DocumentModelBuildOperationDetailsOutput,\n DocumentModelComposeOperationDetailsOutput,\n DocumentModelCopyToOperationDetailsOutput,\n DocumentClassifierCopyToOperationDetailsOutput,\n DocumentClassifierBuildOperationDetailsOutput,\n DocumentIntelligenceOperationDetailsOutput,\n DocumentIntelligenceResourceDetailsOutput,\n AnalyzeOperationOutput,\n AnalyzeBatchOperationOutput,\n PagedAnalyzeBatchOperationOutput,\n DocumentModelDetailsOutput,\n ModelCopyAuthorizationOutput,\n PagedDocumentModelDetailsOutput,\n PagedDocumentClassifierDetailsOutput,\n DocumentClassifierDetailsOutput,\n ClassifierCopyAuthorizationOutput,\n} from \"./outputModels.js\";\n\nexport interface ListOperations200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListOperations200Response extends HttpResponse {\n status: \"200\";\n body: PagedDocumentIntelligenceOperationDetailsOutput;\n headers: RawHttpHeaders & ListOperations200Headers;\n}\n\nexport interface ListOperationsDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface GetDocumentModelBuildOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDocumentModelBuildOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentModelBuildOperationDetailsOutput;\n headers: RawHttpHeaders & GetDocumentModelBuildOperation200Headers;\n}\n\nexport interface GetDocumentModelBuildOperationDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface GetDocumentModelComposeOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDocumentModelComposeOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentModelComposeOperationDetailsOutput;\n headers: RawHttpHeaders & GetDocumentModelComposeOperation200Headers;\n}\n\nexport interface GetDocumentModelComposeOperationDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface GetDocumentModelCopyToOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDocumentModelCopyToOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentModelCopyToOperationDetailsOutput;\n headers: RawHttpHeaders & GetDocumentModelCopyToOperation200Headers;\n}\n\nexport interface GetDocumentModelCopyToOperationDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface GetDocumentClassifierCopyToOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDocumentClassifierCopyToOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentClassifierCopyToOperationDetailsOutput;\n headers: RawHttpHeaders & GetDocumentClassifierCopyToOperation200Headers;\n}\n\nexport interface GetDocumentClassifierCopyToOperationDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface GetDocumentClassifierBuildOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDocumentClassifierBuildOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentClassifierBuildOperationDetailsOutput;\n headers: RawHttpHeaders & GetDocumentClassifierBuildOperation200Headers;\n}\n\nexport interface GetDocumentClassifierBuildOperationDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface GetOperation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetOperation200Response extends HttpResponse {\n status: \"200\";\n body: DocumentIntelligenceOperationDetailsOutput;\n headers: RawHttpHeaders & GetOperation200Headers;\n}\n\nexport interface GetOperationDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The request has succeeded. */\nexport interface GetResourceDetails200Response extends HttpResponse {\n status: \"200\";\n body: DocumentIntelligenceResourceDetailsOutput;\n}\n\nexport interface GetResourceDetailsDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The request has succeeded. */\nexport interface GetAnalyzeResult200Response extends HttpResponse {\n status: \"200\";\n body: AnalyzeOperationOutput;\n}\n\nexport interface GetAnalyzeResultDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface GetAnalyzeResultPdf200Headers {\n /** Response content type. */\n \"content-type\": \"application/pdf\";\n}\n\n/** The request has succeeded. */\nexport interface GetAnalyzeResultPdf200Response extends HttpResponse {\n status: \"200\";\n /** Value may contain any sequence of octets */\n body: Uint8Array;\n headers: RawHttpHeaders & GetAnalyzeResultPdf200Headers;\n}\n\nexport interface GetAnalyzeResultPdfDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface GetAnalyzeResultFigure200Headers {\n /** Response content type. */\n \"content-type\": \"image/png\";\n}\n\n/** The request has succeeded. */\nexport interface GetAnalyzeResultFigure200Response extends HttpResponse {\n status: \"200\";\n /** Value may contain any sequence of octets */\n body: Uint8Array;\n headers: RawHttpHeaders & GetAnalyzeResultFigure200Headers;\n}\n\nexport interface GetAnalyzeResultFigureDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteAnalyzeResult204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteAnalyzeResultDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface AnalyzeDocumentFromStream202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface AnalyzeDocumentFromStream202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & AnalyzeDocumentFromStream202Headers;\n}\n\nexport interface AnalyzeDocumentFromStreamDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The final response for long-running analyzeDocumentFromStream operation */\nexport interface AnalyzeDocumentFromStreamLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface AnalyzeDocument202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface AnalyzeDocument202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & AnalyzeDocument202Headers;\n}\n\nexport interface AnalyzeDocumentDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The final response for long-running analyzeDocument operation */\nexport interface AnalyzeDocumentLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface GetAnalyzeBatchResult200Response extends HttpResponse {\n status: \"200\";\n body: AnalyzeBatchOperationOutput;\n}\n\nexport interface GetAnalyzeBatchResultDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface AnalyzeBatchDocuments202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface AnalyzeBatchDocuments202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & AnalyzeBatchDocuments202Headers;\n}\n\nexport interface AnalyzeBatchDocumentsDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The final response for long-running analyzeBatchDocuments operation */\nexport interface AnalyzeBatchDocumentsLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface ListAnalyzeBatchResults200Response extends HttpResponse {\n status: \"200\";\n body: PagedAnalyzeBatchOperationOutput;\n}\n\nexport interface ListAnalyzeBatchResultsDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteAnalyzeBatchResult204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteAnalyzeBatchResultDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface GetModel200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetModel200Response extends HttpResponse {\n status: \"200\";\n body: DocumentModelDetailsOutput;\n headers: RawHttpHeaders & GetModel200Headers;\n}\n\nexport interface GetModelDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface BuildModel202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface BuildModel202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & BuildModel202Headers;\n}\n\nexport interface BuildModelDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The final response for long-running buildModel operation */\nexport interface BuildModelLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface ComposeModel202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface ComposeModel202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & ComposeModel202Headers;\n}\n\nexport interface ComposeModelDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The final response for long-running composeModel operation */\nexport interface ComposeModelLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface AuthorizeModelCopy200Response extends HttpResponse {\n status: \"200\";\n body: ModelCopyAuthorizationOutput;\n}\n\nexport interface AuthorizeModelCopyDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface CopyModelTo202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface CopyModelTo202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & CopyModelTo202Headers;\n}\n\nexport interface CopyModelToDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The final response for long-running copyModelTo operation */\nexport interface CopyModelToLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface ListModels200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListModels200Response extends HttpResponse {\n status: \"200\";\n body: PagedDocumentModelDetailsOutput;\n headers: RawHttpHeaders & ListModels200Headers;\n}\n\nexport interface ListModelsDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface DeleteModel204Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteModel204Response extends HttpResponse {\n status: \"204\";\n headers: RawHttpHeaders & DeleteModel204Headers;\n}\n\nexport interface DeleteModelDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface BuildClassifier202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface BuildClassifier202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & BuildClassifier202Headers;\n}\n\nexport interface BuildClassifierDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The final response for long-running buildClassifier operation */\nexport interface BuildClassifierLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface ListClassifiers200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListClassifiers200Response extends HttpResponse {\n status: \"200\";\n body: PagedDocumentClassifierDetailsOutput;\n headers: RawHttpHeaders & ListClassifiers200Headers;\n}\n\nexport interface ListClassifiersDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface GetClassifier200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetClassifier200Response extends HttpResponse {\n status: \"200\";\n body: DocumentClassifierDetailsOutput;\n headers: RawHttpHeaders & GetClassifier200Headers;\n}\n\nexport interface GetClassifierDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface DeleteClassifier204Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteClassifier204Response extends HttpResponse {\n status: \"204\";\n headers: RawHttpHeaders & DeleteClassifier204Headers;\n}\n\nexport interface DeleteClassifierDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface ClassifyDocumentFromStream202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface ClassifyDocumentFromStream202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & ClassifyDocumentFromStream202Headers;\n}\n\nexport interface ClassifyDocumentFromStreamDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The final response for long-running classifyDocumentFromStream operation */\nexport interface ClassifyDocumentFromStreamLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\nexport interface ClassifyDocument202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface ClassifyDocument202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & ClassifyDocument202Headers;\n}\n\nexport interface ClassifyDocumentDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The final response for long-running classifyDocument operation */\nexport interface ClassifyDocumentLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface GetClassifyResult200Response extends HttpResponse {\n status: \"200\";\n body: AnalyzeOperationOutput;\n}\n\nexport interface GetClassifyResultDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The request has succeeded. */\nexport interface AuthorizeClassifierCopy200Response extends HttpResponse {\n status: \"200\";\n body: ClassifierCopyAuthorizationOutput;\n}\n\nexport interface AuthorizeClassifierCopyDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\nexport interface CopyClassifierTo202Headers {\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n \"retry-after\"?: number;\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface CopyClassifierTo202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & CopyClassifierTo202Headers;\n}\n\nexport interface CopyClassifierToDefaultResponse extends HttpResponse {\n status: string;\n body: DocumentIntelligenceErrorResponseOutput;\n}\n\n/** The final response for long-running copyClassifierTo operation */\nexport interface CopyClassifierToLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,CA0BrF"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { RestError } from "@azure/core-rest-pipeline";
|
|
4
|
+
/**
|
|
5
|
+
* Converts a NodeJS.ReadableStream to a Uint8Array.
|
|
6
|
+
*/
|
|
7
|
+
export function streamToUint8Array(stream) {
|
|
8
|
+
return new Promise((resolve, reject) => {
|
|
9
|
+
const chunks = [];
|
|
10
|
+
stream.on("data", (chunk) => {
|
|
11
|
+
if (Buffer.isBuffer(chunk)) {
|
|
12
|
+
chunks.push(chunk);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
chunks.push(Buffer.from(chunk));
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
stream.on("end", () => {
|
|
19
|
+
resolve(new Uint8Array(Buffer.concat(chunks)));
|
|
20
|
+
});
|
|
21
|
+
stream.on("error", (e) => {
|
|
22
|
+
if (e && (e === null || e === void 0 ? void 0 : e.name) === "AbortError") {
|
|
23
|
+
reject(e);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
reject(new RestError(`Error reading response as text: ${e.message}`, {
|
|
27
|
+
code: RestError.PARSE_ERROR,
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,MAA6B;IAC9D,OAAO,IAAI,OAAO,CAAa,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACjD,MAAM,MAAM,GAAa,EAAE,CAAC;QAE5B,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE;YAC1B,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC3B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACrB,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YAClC,CAAC;QACH,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;YACpB,OAAO,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QACjD,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACvB,IAAI,CAAC,IAAI,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,IAAI,MAAK,YAAY,EAAE,CAAC;gBAClC,MAAM,CAAC,CAAC,CAAC,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,MAAM,CACJ,IAAI,SAAS,CAAC,mCAAmC,CAAC,CAAC,OAAO,EAAE,EAAE;oBAC5D,IAAI,EAAE,SAAS,CAAC,WAAW;iBAC5B,CAAC,CACH,CAAC;YACJ,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RestError } from \"@azure/core-rest-pipeline\";\n\n/**\n * Converts a NodeJS.ReadableStream to a Uint8Array.\n */\nexport function streamToUint8Array(stream: NodeJS.ReadableStream): Promise<Uint8Array> {\n return new Promise<Uint8Array>((resolve, reject) => {\n const chunks: Buffer[] = [];\n\n stream.on(\"data\", (chunk) => {\n if (Buffer.isBuffer(chunk)) {\n chunks.push(chunk);\n } else {\n chunks.push(Buffer.from(chunk));\n }\n });\n stream.on(\"end\", () => {\n resolve(new Uint8Array(Buffer.concat(chunks)));\n });\n stream.on(\"error\", (e) => {\n if (e && e?.name === \"AbortError\") {\n reject(e);\n } else {\n reject(\n new RestError(`Error reading response as text: ${e.message}`, {\n code: RestError.PARSE_ERROR,\n }),\n );\n }\n });\n });\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the known cloud audiences for Document Intelligence.
|
|
3
|
+
*
|
|
4
|
+
* To authenticate with Entra Id (using a `TokenCredential`) in a [Sovereign Cloud](https://learn.microsoft.com/en-us/entra/identity-platform/authentication-national-cloud)
|
|
5
|
+
* environment, provide the appropriate value below as the `audience` option when creating a
|
|
6
|
+
* `Document Intelligence` client.
|
|
7
|
+
*
|
|
8
|
+
* The default value is suitable for Document Intelligence resources created in the Azure Public Cloud, so this value
|
|
9
|
+
* is only required to use Document Intelligence in a different cloud environment.
|
|
10
|
+
*/
|
|
11
|
+
export declare enum KnownDocumentIntelligenceAudience {
|
|
12
|
+
/** Azure China */
|
|
13
|
+
AzureChina = "https://cognitiveservices.azure.cn",
|
|
14
|
+
/** Azure Government */
|
|
15
|
+
AzureGovernment = "https://cognitiveservices.azure.us",
|
|
16
|
+
/** Azure Public Cloud */
|
|
17
|
+
AzurePublicCloud = "https://cognitiveservices.azure.com"
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=audience.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audience.d.ts","sourceRoot":"","sources":["../../src/audience.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,oBAAY,iCAAiC;IAC3C,kBAAkB;IAClB,UAAU,uCAAuC;IACjD,uBAAuB;IACvB,eAAe,uCAAuC;IACtD,yBAAyB;IACzB,gBAAgB,wCAAwC;CACzD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
/**
|
|
4
|
+
* Defines the known cloud audiences for Document Intelligence.
|
|
5
|
+
*
|
|
6
|
+
* To authenticate with Entra Id (using a `TokenCredential`) in a [Sovereign Cloud](https://learn.microsoft.com/en-us/entra/identity-platform/authentication-national-cloud)
|
|
7
|
+
* environment, provide the appropriate value below as the `audience` option when creating a
|
|
8
|
+
* `Document Intelligence` client.
|
|
9
|
+
*
|
|
10
|
+
* The default value is suitable for Document Intelligence resources created in the Azure Public Cloud, so this value
|
|
11
|
+
* is only required to use Document Intelligence in a different cloud environment.
|
|
12
|
+
*/
|
|
13
|
+
export var KnownDocumentIntelligenceAudience;
|
|
14
|
+
(function (KnownDocumentIntelligenceAudience) {
|
|
15
|
+
/** Azure China */
|
|
16
|
+
KnownDocumentIntelligenceAudience["AzureChina"] = "https://cognitiveservices.azure.cn";
|
|
17
|
+
/** Azure Government */
|
|
18
|
+
KnownDocumentIntelligenceAudience["AzureGovernment"] = "https://cognitiveservices.azure.us";
|
|
19
|
+
/** Azure Public Cloud */
|
|
20
|
+
KnownDocumentIntelligenceAudience["AzurePublicCloud"] = "https://cognitiveservices.azure.com";
|
|
21
|
+
})(KnownDocumentIntelligenceAudience || (KnownDocumentIntelligenceAudience = {}));
|
|
22
|
+
//# sourceMappingURL=audience.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audience.js","sourceRoot":"","sources":["../../src/audience.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,iCAOX;AAPD,WAAY,iCAAiC;IAC3C,kBAAkB;IAClB,sFAAiD,CAAA;IACjD,uBAAuB;IACvB,2FAAsD,CAAA;IACtD,yBAAyB;IACzB,6FAAwD,CAAA;AAC1D,CAAC,EAPW,iCAAiC,KAAjC,iCAAiC,QAO5C","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Defines the known cloud audiences for Document Intelligence.\n *\n * To authenticate with Entra Id (using a `TokenCredential`) in a [Sovereign Cloud](https://learn.microsoft.com/en-us/entra/identity-platform/authentication-national-cloud)\n * environment, provide the appropriate value below as the `audience` option when creating a\n * `Document Intelligence` client.\n *\n * The default value is suitable for Document Intelligence resources created in the Azure Public Cloud, so this value\n * is only required to use Document Intelligence in a different cloud environment.\n */\nexport enum KnownDocumentIntelligenceAudience {\n /** Azure China */\n AzureChina = \"https://cognitiveservices.azure.cn\",\n /** Azure Government */\n AzureGovernment = \"https://cognitiveservices.azure.us\",\n /** Azure Public Cloud */\n AzurePublicCloud = \"https://cognitiveservices.azure.com\",\n}\n"]}
|